[02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [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:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08:24]OFD Sender: No OFD packet to send [03:08:29]OFD Sender: No OFD packet to send [03:08:34]OFD Sender: No OFD packet to send [03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:19]OFD Sender: No OFD packet to send [03:09:24]OFD Sender: No OFD packet to send [03:09:29]OFD Sender: No OFD packet to send [03:09:34]OFD Sender: No OFD packet to send [03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:34]OFD Sender: No OFD packet to send [03:13:39]OFD Sender: No OFD packet to send [03:13:44]OFD Sender: No OFD packet to send [03:13:49]OFD Sender: No OFD packet to send [03:13:54]OFD Sender: No OFD packet to send [03:13:59]OFD Sender: No OFD packet to send [03:14:04]OFD Sender: No OFD packet to send [03:14:09]OFD Sender: No OFD packet to send [03:14:14]OFD Sender: No OFD packet to send [03:14:19]OFD Sender: No OFD packet to send [03:14:24]OFD Sender: No OFD packet to send [03:14:29]OFD Sender: No OFD packet to send [03:14:34]OFD Sender: No OFD packet to send [03:14:39]OFD Sender: No OFD packet to send [03:14:44]OFD Sender: No OFD packet to send [03:14:49]OFD Sender: No OFD packet to send [03:14:54]OFD Sender: No OFD packet to send [03:14:59]OFD Sender: No OFD packet to send [03:15:04]OFD Sender: No OFD packet to send [03:15:09]OFD Sender: No OFD packet to send [03:15:14]OFD Sender: No OFD packet to send [03:15:19]OFD Sender: No OFD packet to send [03:15:24]OFD Sender: No OFD packet to send [03:15:29]OFD Sender: No OFD packet to send [03:15:34]OFD Sender: No OFD packet to send [03:15:39]OFD Sender: No OFD packet to send [03:15:44]OFD Sender: No OFD packet to send [03:15:49]OFD Sender: No OFD packet to send [03:15:54]OFD Sender: No OFD packet to send [03:15:59]OFD Sender: No OFD packet to send [03:16:04]OFD Sender: No OFD packet to send [03:16:09]OFD Sender: No OFD packet to send [03:16:14]OFD Sender: No OFD packet to send [03:16:19]OFD Sender: No OFD packet to send [03:16:24]OFD Sender: No OFD packet to send [03:16:29]OFD Sender: No OFD packet to send [03:16:34]OFD Sender: No OFD packet to send [03:16:39]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send [03:17:09]OFD Sender: No OFD packet to send [03:17:14]OFD Sender: No OFD packet to send [03:17:19]OFD Sender: No OFD packet to send [03:17:24]OFD Sender: No OFD packet to send [03:17:29]OFD Sender: No OFD packet to send [03:17:34]OFD Sender: No OFD packet to send [03:17:39]OFD Sender: No OFD packet to send [03:17:44]OFD Sender: No OFD packet to send [03:17:49]OFD Sender: No OFD packet to send [03:17:54]OFD Sender: No OFD packet to send [03:17:59]OFD Sender: No OFD packet to send [03:18:04]OFD Sender: No OFD packet to send [03:18:09]OFD Sender: No OFD packet to send [03:18:14]OFD Sender: No OFD packet to send [03:18:19]OFD Sender: No OFD packet to send [03:18:24]OFD Sender: No OFD packet to send [03:18:29]OFD Sender: No OFD packet to send [03:18:34]OFD Sender: No OFD packet to send [03:18:39]OFD Sender: No OFD packet to send [03:18:44]OFD Sender: No OFD packet to send [03:18:49]OFD Sender: No OFD packet to send [03:18:54]OFD Sender: No OFD packet to send [03:18:59]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:45]OFD Sender: No OFD packet to send [03:25:50]OFD Sender: No OFD packet to send [03:25:55]OFD Sender: No OFD packet to send [03:26:00]OFD Sender: No OFD packet to send [03:26:05]OFD Sender: No OFD packet to send [03:26:10]OFD Sender: No OFD packet to send [03:26:15]OFD Sender: No OFD packet to send [03:26:20]OFD Sender: No OFD packet to send [03:26:24]recv_with_timeout no data received [03:26:25]OFD Sender: No OFD packet to send [03:26:30]OFD Sender: No OFD packet to send [03:26:35]OFD Sender: No OFD packet to send [03:26:40]OFD Sender: No OFD packet to send [03:26:45]OFD Sender: No OFD packet to send [03:26:50]OFD Sender: No OFD packet to send [03:26:55]OFD Sender: No OFD packet to send [03:27:00]OFD Sender: No OFD packet to send [03:27:05]OFD Sender: No OFD packet to send [03:27:10]OFD Sender: No OFD packet to send [03:27:15]OFD Sender: No OFD packet to send [03:27:20]OFD Sender: No OFD packet to send [03:27:25]OFD Sender: No OFD packet to send [03:27:30]OFD Sender: No OFD packet to send [03:27:35]OFD Sender: No OFD packet to send [03:27:40]OFD Sender: No OFD packet to send [03:27:45]OFD Sender: No OFD packet to send [03:27:50]OFD Sender: No OFD packet to send [03:27:55]OFD Sender: No OFD packet to send [03:28:00]OFD Sender: No OFD packet to send [03:28:05]OFD Sender: No OFD packet to send [03:28:10]OFD Sender: No OFD packet to send [03:28:15]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:40]OFD Sender: No OFD packet to send [03:28:45]OFD Sender: No OFD packet to send [03:28:50]OFD Sender: No OFD packet to send [03:28:55]OFD Sender: No OFD packet to send [03:29:00]OFD Sender: No OFD packet to send [03:29:05]OFD Sender: No OFD packet to send [03:29:10]OFD Sender: No OFD packet to send [03:29:15]OFD Sender: No OFD packet to send [03:29:20]OFD Sender: No OFD packet to send [03:29:25]OFD Sender: No OFD packet to send [03:29:30]OFD Sender: No OFD packet to send [03:29:35]OFD Sender: No OFD packet to send [03:29:40]OFD Sender: No OFD packet to send [03:29:45]OFD Sender: No OFD packet to send [03:29:50]OFD Sender: No OFD packet to send [03:29:55]OFD Sender: No OFD packet to send [03:30:00]OFD Sender: No OFD packet to send [03:30:05]OFD Sender: No OFD packet to send [03:30:10]OFD Sender: No OFD packet to send [03:30:15]OFD Sender: No OFD packet to send [03:30:20]OFD Sender: No OFD packet to send [03:30:25]OFD Sender: No OFD packet to send [03:30:30]OFD Sender: No OFD packet to send [03:30:35]OFD Sender: No OFD packet to send [03:30:40]OFD Sender: No OFD packet to send [03:30:45]OFD Sender: No OFD packet to send [03:30:50]OFD Sender: No OFD packet to send [03:30:55]OFD Sender: No OFD packet to send [03:31:00]OFD Sender: No OFD packet to send [03:31:05]OFD Sender: No OFD packet to send [03:31:10]OFD Sender: No OFD packet to send [03:31:15]OFD Sender: No OFD packet to send [03:31:20]OFD Sender: No OFD packet to send [03:31:25]OFD Sender: No OFD packet to send [03:31:30]OFD Sender: No OFD packet to send [03:31:35]OFD Sender: No OFD packet to send [03:31:40]OFD Sender: No OFD packet to send [03:31:45]OFD Sender: No OFD packet to send [03:31:50]OFD Sender: No OFD packet to send [03:31:55]OFD Sender: No OFD packet to send [03:32:00]OFD Sender: No OFD packet to send [03:32:05]OFD Sender: No OFD packet to send [03:32:10]OFD Sender: No OFD packet to send [03:32:15]OFD Sender: No OFD packet to send [03:32:20]OFD Sender: No OFD packet to send [03:32:25]OFD Sender: No OFD packet to send [03:32:30]OFD Sender: No OFD packet to send [03:32:35]OFD Sender: No OFD packet to send [03:32:40]OFD Sender: No OFD packet to send [03:32:45]OFD Sender: No OFD packet to send [03:32:50]OFD Sender: No OFD packet to send [03:32:55]OFD Sender: No OFD packet to send [03:33:00]OFD Sender: No OFD packet to send [03:33:05]OFD Sender: No OFD packet to send [03:33:10]OFD Sender: No OFD packet to send [03:33:15]OFD Sender: No OFD packet to send [03:33:20]OFD Sender: No OFD packet to send [03:33:25]OFD Sender: No OFD packet to send [03:33:30]OFD Sender: No OFD packet to send [03:33:35]OFD Sender: No OFD packet to send [03:33:40]OFD Sender: No OFD packet to send [03:33:45]OFD Sender: No OFD packet to send [03:33:50]OFD Sender: No OFD packet to send [03:33:55]OFD Sender: No OFD packet to send [03:34:00]OFD Sender: No OFD packet to send [03:34:05]OFD Sender: No OFD packet to send [03:34:10]OFD Sender: No OFD packet to send [03:34:15]OFD Sender: No OFD packet to send [03:34:20]OFD Sender: No OFD packet to send [03:34:25]OFD Sender: No OFD packet to send [03:34:30]OFD Sender: No OFD packet to send [03:34:35]OFD Sender: No OFD packet to send [03:34:40]OFD Sender: No OFD packet to send [03:34:45]OFD Sender: No OFD packet to send [03:34:50]OFD Sender: No OFD packet to send [03:34:55]OFD Sender: No OFD packet to send [03:35:00]OFD Sender: No OFD packet to send [03:35:05]OFD Sender: No OFD packet to send [03:35:10]OFD Sender: No OFD packet to send [03:35:15]OFD Sender: No OFD packet to send [03:35:20]OFD Sender: No OFD packet to send [03:35:25]OFD Sender: No OFD packet to send [03:35:30]OFD Sender: No OFD packet to send [03:35:35]OFD Sender: No OFD packet to send [03:35:40]OFD Sender: No OFD packet to send [03:35:45]OFD Sender: No OFD packet to send [03:35:50]OFD Sender: No OFD packet to send [03:35:55]OFD Sender: No OFD packet to send [03:36:00]OFD Sender: No OFD packet to send [03:36:05]OFD Sender: No OFD packet to send [03:36:10]OFD Sender: No OFD packet to send [03:36:15]OFD Sender: No OFD packet to send [03:36:20]OFD Sender: No OFD packet to send [03:36:25]OFD Sender: No OFD packet to send [03:36:30]OFD Sender: No OFD packet to send [03:36:35]OFD Sender: No OFD packet to send [03:36:40]OFD Sender: No OFD packet to send [03:36:45]OFD Sender: No OFD packet to send [03:36:50]OFD Sender: No OFD packet to send [03:36:55]OFD Sender: No OFD packet to send [03:37:00]OFD Sender: No OFD packet to send [03:37:05]OFD Sender: No OFD packet to send [03:37:10]OFD Sender: No OFD packet to send [03:37:15]OFD Sender: No OFD packet to send [03:37:20]OFD Sender: No OFD packet to send [03:37:25]OFD Sender: No OFD packet to send [03:37:30]OFD Sender: No OFD packet to send [03:37:35]OFD Sender: No OFD packet to send [03:37:40]OFD Sender: No OFD packet to send [03:37:45]OFD Sender: No OFD packet to send [03:37:50]OFD Sender: No OFD packet to send [03:37:55]OFD Sender: No OFD packet to send [03:38:00]OFD Sender: No OFD packet to send [03:38:05]OFD Sender: No OFD packet to send [03:38:10]OFD Sender: No OFD packet to send [03:38:15]OFD Sender: No OFD packet to send [03:38:20]OFD Sender: No OFD packet to send [03:38:25]OFD Sender: No OFD packet to send [03:38:30]OFD Sender: No OFD packet to send [03:38:35]OFD Sender: No OFD packet to send [03:38:40]OFD Sender: No OFD packet to send [03:38:45]OFD Sender: No OFD packet to send [03:38:50]OFD Sender: No OFD packet to send [03:38:55]OFD Sender: No OFD packet to send [03:39:00]OFD Sender: No OFD packet to send [03:39:05]OFD Sender: No OFD packet to send [03:39:10]OFD Sender: No OFD packet to send [03:39:15]OFD Sender: No OFD packet to send [03:39:20]OFD Sender: No OFD packet to send [03:39:25]OFD Sender: No OFD packet to send [03:39:30]OFD Sender: No OFD packet to send [03:39:35]OFD Sender: No OFD packet to send [03:39:40]OFD Sender: No OFD packet to send [03:39:45]OFD Sender: No OFD packet to send [03:39:50]OFD Sender: No OFD packet to send [03:39:55]OFD Sender: No OFD packet to send [03:40:00]OFD Sender: No OFD packet to send [03:40:05]OFD Sender: No OFD packet to send [03:40:10]OFD Sender: No OFD packet to send [03:40:15]OFD Sender: No OFD packet to send [03:40:20]OFD Sender: No OFD packet to send [03:40:25]OFD Sender: No OFD packet to send [03:40:30]OFD Sender: No OFD packet to send [03:40:35]OFD Sender: No OFD packet to send [03:40:40]OFD Sender: No OFD packet to send [03:40:45]OFD Sender: No OFD packet to send [03:40:50]OFD Sender: No OFD packet to send [03:40:55]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:56]OFD Sender: No OFD packet to send [03:48:01]OFD Sender: No OFD packet to send [03:48:06]OFD Sender: No OFD packet to send [03:48:11]OFD Sender: No OFD packet to send [03:48:16]OFD Sender: No OFD packet to send [03:48:21]OFD Sender: No OFD packet to send [03:48:26]OFD Sender: No OFD packet to send [03:48:31]OFD Sender: No OFD packet to send [03:48:36]OFD Sender: No OFD packet to send [03:48:41]OFD Sender: No OFD packet to send [03:48:46]OFD Sender: No OFD packet to send [03:48:51]OFD Sender: No OFD packet to send [03:48:56]OFD Sender: No OFD packet to send [03:49:01]OFD Sender: No OFD packet to send [03:49:06]OFD Sender: No OFD packet to send [03:49:11]OFD Sender: No OFD packet to send [03:49:16]OFD Sender: No OFD packet to send [03:49:21]OFD Sender: No OFD packet to send [03:49:26]OFD Sender: No OFD packet to send [03:49:31]OFD Sender: No OFD packet to send [03:49:36]OFD Sender: No OFD packet to send [03:49:41]OFD Sender: No OFD packet to send [03:49:46]OFD Sender: No OFD packet to send [03:49:51]OFD Sender: No OFD packet to send [03:49:56]OFD Sender: No OFD packet to send [03:50:01]OFD Sender: No OFD packet to send [03:50:06]OFD Sender: No OFD packet to send [03:50:11]OFD Sender: No OFD packet to send [03:50:16]OFD Sender: No OFD packet to send [03:50:21]OFD Sender: No OFD packet to send [03:50:26]OFD Sender: No OFD packet to send [03:50:31]OFD Sender: No OFD packet to send [03:50:36]OFD Sender: No OFD packet to send [03:50:41]OFD Sender: No OFD packet to send [03:50:46]OFD Sender: No OFD packet to send [03:50:51]OFD Sender: No OFD packet to send [03:50:56]OFD Sender: No OFD packet to send [03:51:01]OFD Sender: No OFD packet to send [03:51:06]OFD Sender: No OFD packet to send [03:51:11]OFD Sender: No OFD packet to send [03:51:16]OFD Sender: No OFD packet to send [03:51:21]OFD Sender: No OFD packet to send [03:51:26]OFD Sender: No OFD packet to send [03:51:31]OFD Sender: No OFD packet to send [03:51:36]OFD Sender: No OFD packet to send [03:51:41]OFD Sender: No OFD packet to send [03:51:46]OFD Sender: No OFD packet to send [03:51:51]OFD Sender: No OFD packet to send [03:51:56]OFD Sender: No OFD packet to send [03:52:01]OFD Sender: No OFD packet to send [03:52:06]OFD Sender: No OFD packet to send [03:52:11]OFD Sender: No OFD packet to send [03:52:16]OFD Sender: No OFD packet to send [03:52:21]OFD Sender: No OFD packet to send [03:52:26]OFD Sender: No OFD packet to send [03:52:31]OFD Sender: No OFD packet to send [03:52:36]OFD Sender: No OFD packet to send [03:52:41]OFD Sender: No OFD packet to send [03:52:46]OFD Sender: No OFD packet to send [03:52:51]OFD Sender: No OFD packet to send [03:52:56]OFD Sender: No OFD packet to send [03:53:01]OFD Sender: No OFD packet to send [03:53:06]OFD Sender: No OFD packet to send [03:53:11]OFD Sender: No OFD packet to send [03:53:16]OFD Sender: No OFD packet to send [03:53:21]OFD Sender: No OFD packet to send [03:53:26]OFD Sender: No OFD packet to send [03:53:31]OFD Sender: No OFD packet to send [03:53:36]OFD Sender: No OFD packet to send [03:53:41]OFD Sender: No OFD packet to send [03:53:46]OFD Sender: No OFD packet to send [03:53:51]OFD Sender: No OFD packet to send [03:53:56]OFD Sender: No OFD packet to send [03:54:01]OFD Sender: No OFD packet to send [03:54:06]OFD Sender: No OFD packet to send [03:54:11]OFD Sender: No OFD packet to send [03:54:16]OFD Sender: No OFD packet to send [03:54:21]OFD Sender: No OFD packet to send [03:54:26]OFD Sender: No OFD packet to send [03:54:31]OFD Sender: No OFD packet to send [03:54:36]OFD Sender: No OFD packet to send [03:54:41]OFD Sender: No OFD packet to send [03:54:46]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [03:54:56]OFD Sender: No OFD packet to send [03:55:01]OFD Sender: No OFD packet to send [03:55:06]OFD Sender: No OFD packet to send [03:55:11]OFD Sender: No OFD packet to send [03:55:16]OFD Sender: No OFD packet to send [03:55:21]OFD Sender: No OFD packet to send [03:55:26]OFD Sender: No OFD packet to send [03:55:31]OFD Sender: No OFD packet to send [03:55:36]OFD Sender: No OFD packet to send [03:55:41]OFD Sender: No OFD packet to send [03:55:46]OFD Sender: No OFD packet to send [03:55:51]OFD Sender: No OFD packet to send [03:55:56]OFD Sender: No OFD packet to send [03:56:01]OFD Sender: No OFD packet to send [03:56:06]OFD Sender: No OFD packet to send [03:56:11]OFD Sender: No OFD packet to send [03:56:16]OFD Sender: No OFD packet to send [03:56:21]OFD Sender: No OFD packet to send [03:56:26]OFD Sender: No OFD packet to send [03:56:31]OFD Sender: No OFD packet to send [03:56:36]OFD Sender: No OFD packet to send [03:56:41]OFD Sender: No OFD packet to send [03:56:46]OFD Sender: No OFD packet to send [03:56:51]OFD Sender: No OFD packet to send [03:56:56]OFD Sender: No OFD packet to send [03:57:01]OFD Sender: No OFD packet to send [03:57:06]OFD Sender: No OFD packet to send [03:57:11]OFD Sender: No OFD packet to send [03:57:16]OFD Sender: No OFD packet to send [03:57:21]OFD Sender: No OFD packet to send [03:57:26]OFD Sender: No OFD packet to send [03:57:31]OFD Sender: No OFD packet to send [03:57:36]OFD Sender: No OFD packet to send [03:57:41]OFD Sender: No OFD packet to send [03:57:46]OFD Sender: No OFD packet to send [03:57:51]OFD Sender: No OFD packet to send [03:57:56]OFD Sender: No OFD packet to send [03:58:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:01]OFD Sender: No OFD packet to send [04:00:06]OFD Sender: No OFD packet to send [04:00:11]OFD Sender: No OFD packet to send [04:00:16]OFD Sender: No OFD packet to send [04:00:21]OFD Sender: No OFD packet to send [04:00:26]OFD Sender: No OFD packet to send [04:00:31]OFD Sender: No OFD packet to send [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:03]accept exits with 9 [04:02:03]New connection [04:02:03]New thread 3067227492 created [04:02:03]Thread 3067370852 joined [04:02:03]Waiting for new connection... [04:02:03] Sock 9.Parse request [04:02:03]Sock 9.Check first char [04:02:03]Sock 9.First char is OK [04:02:03]request: POST /json_proto HTTP/1.0 [04:02:03]Method: POST [04:02:03]URL: /json_proto [04:02:03]Method is POST - this is cgi request [04:02:03]url: /json_proto [04:02:03]query_string will be loaded in cgi processing [04:02:03]execute_cgi json_proto POST (null) [04:02:03]execute_cgi path=json_proto method=POST [04:02:03]POST find Content-Length [04:02:03]Host: 172.17.56.68:8080 [04:02:03]Content-Length: 803 [04:02:03]Content-Type: application/json [04:02:03] [04:02:03]POST finish read [04:02:03]Found Content-Length = 803 [04:02:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4276", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:02:03]execute_script... [04:02: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)4276", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:02:03]POST & json_proto [04:02:03]process_json_proto [04:02:03]json parsed OK: [04:02:03]protocol is kg_v1.0 [04:02:03]action value=close_receipt [04:02:03]process_action close_receipt [04:02:03]cmd_close_receipt [04:02:03]MH_GetDate [04:02:03]Write to MH i2c: F0 00 00 70 02 61 [04:02:03]Write i2c OK [04:02:03]MH_I2C_Read... [04:02:03]Read from MH i2c: F0 [04:02:03]MH_I2C_Read... [04:02:03]Read from MH i2c: F0 09 00 [04:02:03]MH_I2C_Read... [04:02:03]Read from MH i2c: F0 09 00 70 02 00 3D 40 5D 66 42 69 5C 66 17 [04:02:03]GetLastDocTimeStamp 1717383082 [04:02:03]current date 1717387325 [04:02:03]FM_GetShiftState [04:02:03]SAM_PROTO_GetShiftState [04:02:03]wFMCommunicate request_size=4 [04:02:03]MH_SAM_APDU [04:02:03]CAPDU: 80 13 01 00 [04:02:03]Write to MH i2c: E2 08 00 71 02 80 13 01 00 00 00 00 00 F0 [04:02:03]Write i2c OK [04:02:03]MH_I2C_Read... [04:02:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:02:03]Read from MH i2c: E2 [04:02:03]MH_I2C_Read... [04:02:03]Read from MH i2c: E2 0E 00 [04:02:03]MH_I2C_Read... [04:02:03]Read from MH i2c: E2 0E 00 71 02 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 7E [04:02:03]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [04:02:03]wFMCommunicate OK [04:02:03]SAM_PROTO_GetShiftState done [04:02:03]FM_GetShiftState done [04:02:03]opened in 1717372856 [04:02:03]opened+sec_in_day 1717459256 [04:02:03]quantity*price = 13500 [04:02:03]sum+1 = 13501 [04:02:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 3 03.06.2024 04:02 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4022 ФПД: 20975466381106 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T040205&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4022&fm=20975466381106&tin=02508201610067®Number=0000000000145775&sum=13500 0 [04:02:04]StoreToDocumentArchive [04:02:04]shift 82 fd 4022 [04:02:04]save to /storage/0082/doc_00004022 [04:02:04]save last doc name /storage/0082/doc_00004022 to /storage/kkm_last_doc_name [04:02:04]save OK [04:02:04]Clear old archive folders... [04:02:04]ProcessDocumentItem done err = 0, tmpTLVsize=280 [04:02:04]tlvbuf is 00764C10 [04:02:04]SAM_PROTO_ClearQueue [04:02:04]wFMCommunicate request_size=4 [04:02:04]MH_SAM_APDU [04:02:04]CAPDU: 80 09 00 00 [04:02:04]Write to MH i2c: E2 08 00 7E 02 80 09 00 00 00 00 00 00 F2 [04:02:04]Write i2c OK [04:02:04]MH_I2C_Read... [04:02:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:02:04]Read from MH i2c: E2 [04:02:04]MH_I2C_Read... [04:02:04]Read from MH i2c: E2 03 00 [04:02:04]MH_I2C_Read... [04:02:04]Read from MH i2c: E2 03 00 7E 02 00 90 00 F4 [04:02:04]RAPDU: 90 00 [04:02:04]wFMCommunicate OK [04:02:04]SAM_PROTO_ClearQueue done [04:02:04]KKMCreateOFDPacket [04:02:04]OFDProtocolAddRootSTLVToBuf [04:02:04]FM_MakeSignedData [04:02:04]FM_MakeSignedData [04:02:04]SAM_PROTO_SignData [04:02:04]wFMCommunicate request_size=4 [04:02:04]MH_SAM_APDU [04:02:04]CAPDU: 80 0D 01 02 [04:02:04]Write to MH i2c: E2 08 00 7F 02 80 0D 01 02 00 00 00 00 FA [04:02:04]Write i2c OK [04:02:04]MH_I2C_Read... [04:02:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:02:04]Read from MH i2c: E2 [04:02:04]MH_I2C_Read... [04:02:04]Read from MH i2c: E2 03 00 [04:02:04]MH_I2C_Read... [04:02:04]Read from MH i2c: E2 03 00 7F 02 00 90 00 F5 [04:02:04]RAPDU: 90 00 [04:02:04]wFMCommunicate OK [04:02:04]wFMCommunicate request_size=255 [04:02:04]MH_SAM_APDU [04:02:04]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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 3D 40 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [04:02:04]Write to MH i2c: E2 02 01 80 02 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 3D 40 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 EE [04:02:04]Write i2c OK [04:02:04]MH_I2C_Read... [04:02:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:02:05]Read from MH i2c: E2 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: E2 03 00 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: E2 03 00 80 02 00 90 00 F6 [04:02:05]RAPDU: 90 00 [04:02:05]wFMCommunicate OK [04:02:05]wFMCommunicate request_size=39 [04:02:05]MH_SAM_APDU [04:02:05]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B6 0F 00 00 35 04 06 00 13 13 BB 38 FF 32 [04:02:05]Write to MH i2c: E2 2A 00 81 02 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B6 0F 00 00 35 04 06 00 13 13 BB 38 FF 32 00 00 C7 [04:02:05]Write i2c OK [04:02:05]MH_I2C_Read... [04:02:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:02:05]Read from MH i2c: E2 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: E2 03 00 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: E2 03 00 81 02 00 90 00 F7 [04:02:05]RAPDU: 90 00 [04:02:05]wFMCommunicate OK [04:02:05]wFMCommunicate request_size=4 [04:02:05]MH_SAM_APDU [04:02:05]CAPDU: 80 0D 03 02 [04:02:05]Write to MH i2c: E2 08 00 82 02 80 0D 03 02 00 00 00 00 FF [04:02:05]Write i2c OK [04:02:05]MH_I2C_Read... [04:02:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:02:05]Read from MH i2c: E2 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: E2 0B 00 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: E2 0B 00 82 02 00 69 9F 6B 51 1F 85 08 62 90 00 D2 [04:02:05]RAPDU: 69 9F 6B 51 1F 85 08 62 90 00 [04:02:05]wFMCommunicate OK [04:02:05]SAM_PROTO_SignData done [04:02:05]FM_MakeSignedData done [04:02:05]CreateOFDProtocolMessage [04:02:05]wFMCommunicate request_size=4 [04:02:05]MH_SAM_APDU [04:02:05]CAPDU: 80 11 00 00 [04:02:05]Write to MH i2c: E2 08 00 83 02 80 11 00 00 00 00 00 00 FF [04:02:05]Write i2c OK [04:02:05]MH_I2C_Read... [04:02:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:02:05]Read from MH i2c: E2 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: E2 17 00 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: E2 17 00 83 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 52 [04:02:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [04:02:05]wFMCommunicate OK [04:02:05]CreateOFDProtocolMessage done [04:02:05]OFDSenderStorePacket 4022 [04:02:05]StoreOFDPacket docnum=4022 [04:02:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 22 32 24 01 64 F7 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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 3D 40 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B6 0F 00 00 35 04 06 00 13 13 BB 38 FF 32 69 9F 6B 51 1F 85 08 62 [04:02:05]CheckFolder [04:02:05]dirname=/storage/ofd_packets [04:02:05]CheckFolder done [04:02:05]ProducePacketName [04:02:05]name=ofd_packets/00004022 [04:02:05]NVStorageSaveData ofd_packets/00004022 [04:02:05]File name is /storage/ofd_packets/00004022 [04:02:05]Write 330 bytes [04:02:05]NVStorageSaveData done [04:02:05]OFDSenderStorePacket done [04:02:05]KKMCreateOFDPacket done [04:02:05]NVStorageSaveData kkm_last_timestamp [04:02:05]File name is /storage/kkm_last_timestamp [04:02:05]Write 4 bytes [04:02:05]NVStorageSaveData done [04:02:05]ExternCall_PrintAddStr [04:02:05]wPrintStart [04:02:05]Write to MH i2c: 01 00 00 84 02 86 [04:02:05]Write i2c OK [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: 01 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: 01 07 00 [04:02:05]MH_I2C_Read... [04:02:05]Read from MH i2c: 01 07 00 84 02 00 00 00 00 00 FF 0F 9B [04:02:05]RasterBufferAndPrint [04:02:05]line Счет N : (3)4276 [04:02:05]line ИНН: 02508201610067 [04:02:05]line Контрольно-Кассовый Чек [04:02:05]line ПРОДАЖА [04:02:05]line Товар: 48741231 [04:02:05]line Сигареты Winston Super Slims Silver [04:02:05]line 1.000 * 135.00 [04:02:05]line = 135.00 [04:02:05]line НДС 12% НСП 1% [04:02:05]line > о реализуемом товаре [04:02:05]line ИТОГО: 135.00 [04:02:05]line НСП 1% : 1.19 [04:02:05]line НДС 12% : 14.34 [04:02:05]line Наличными: 0.00 [04:02:05]line Безнал.: 135.00 [04:02:05]line Место: АЗС № 116 "Партнер Нефть" [04:02:05]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [04:02:05]line СНО: Общий режим [04:02:05]line Чек 3 03.06.2024 04:02 [04:02:05]line Смена: 82 ФФД: 1.0 [04:02:05]line ЗНМ: 0300000233 [04:02:05]line РНМ: 0000000000145775 [04:02:05]line Версия ККМ: v1.0 [04:02:05]line Платежная система: Бакай Банк [04:02:05]line ФМ: 0000000000959360 [04:02:05]line ФД: 4022 [04:02:05]line ФПД: 20975466381106 [04:02:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T040205&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4022&fm=20975466381106&tin=02508201610067®Number=0000000000145775&sum=13500 [04:02:05]line 0 [04:02:05]OFD Sender: Processing packet 4022 [packets to send 2, broken 1] [04:02:05]ProducePacketName [04:02:05]name=ofd_packets/00004022 [04:02:05]OFD Sender: To server: pG, [04:02:05]CommunicateWithHost lk.salyk.kg:30040 [04:02:05]ConnectInit lk.salyk.kg [04:02:05]written 0, free lines is 4095 [04:02:05]Connected sock=10 [04:02:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 22 32 24 01 64 F7 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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 3D 40 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B6 0F 00 00 35 04 06 00 13 13 BB 38 FF 32 69 9F 6B 51 1F 85 08 62 [04:02:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 3A C5 47 00 48 AA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B6 0F 00 00 F4 03 04 00 42 EC 5C 66 B6 04 01 00 00 62 96 5F 59 74 4D 2E 94 [04:02:05]CommunicateWithHost err = 0 [04:02:05]CheckOFDResponse [04:02:05]1017 (14) - 77093643461234 [04:02:05]1041 (16) - 0000000000959360 [04:02:05]1040 (4) - 4022 [04:02:05]1012 (4) - 02.06.2024 22:03 [04:02:05]1206 (1) - 0 [04:02:05]OFD Sender: Remove packet 4022 [04:02:05]ProducePacketName [04:02:05]name=ofd_packets/00004022 [04:02:05]NVStorageDeleteData [04:02:06]Write to MH i2c: 01 00 00 AF 02 B1 [04:02:06]Write i2c OK [04:02:06]MH_I2C_Read... [04:02:06]Read from MH i2c: 01 [04:02:06]MH_I2C_Read... [04:02:06]Read from MH i2c: 01 07 00 [04:02:06]MH_I2C_Read... [04:02:06]Read from MH i2c: 01 07 00 AF 02 00 00 00 00 00 82 0C 46 [04:02:06]RasterBufferAndPrint [04:02:06]line [04:02:06]line [04:02:06]line [04:02:06]line [04:02:06]line [04:02:06]written 0, free lines is 3205 [04:02:06]MH_Cut [04:02:06]Write to MH i2c: D1 01 00 B6 02 01 8A [04:02:06]Write i2c OK [04:02:06]MH_I2C_Read... [04:02:06]Read from MH i2c: D1 [04:02:06]MH_I2C_Read... [04:02:06]Read from MH i2c: D1 01 00 [04:02:06]MH_I2C_Read... [04:02:06]Read from MH i2c: D1 01 00 B6 02 00 89 [04:02:06]Write to MH i2c: 01 00 00 B7 02 B9 [04:02:06]Write i2c OK [04:02:06]MH_I2C_Read... [04:02:06]OFD Sender: No OFD packet to send [04:02:07]*** Cut start [04:02:07]*** Partial cut [04:02:07]*** CUTSNS_PIN = 1 [04:02:07]*** CUTSNS_PIN = 0 [04:02:07]*** Brake cut motor [04:02:07]Read from MH i2c: 01 [04:02:07]MH_I2C_Read... [04:02:07]*** Stop cut motor [04:02:07]*** Cut end [04:02:07]Read from MH i2c: 01 07 00 [04:02:07]MH_I2C_Read... [04:02:07]Read from MH i2c: 01 07 00 B7 02 00 00 00 00 00 FF 0F CE [04:02:07]process_action close_receipt done [04:02:07]requested_data is exist [04:02:07]produce_requested_data [04:02:07]requested_item fm.sn is exist - process it [04:02:07]wFMCommunicate request_size=4 [04:02:07]MH_SAM_APDU [04:02:07]CAPDU: 80 11 00 00 [04:02:07]Write to MH i2c: E2 08 00 B8 02 80 11 00 00 00 00 00 00 34 [04:02:07]Write i2c OK [04:02:07]MH_I2C_Read... [04:02:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:02:07]Read from MH i2c: E2 [04:02:07]MH_I2C_Read... [04:02:07]Read from MH i2c: E2 17 00 [04:02:07]MH_I2C_Read... [04:02:07]Read from MH i2c: E2 17 00 B8 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 87 [04:02:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [04:02:07]wFMCommunicate OK [04:02:07]requested_item fd.num is exist - process it [04:02:07]SAM_PROTO_GetFieldsCounters [04:02:07]wFMCommunicate request_size=4 [04:02:07]MH_SAM_APDU [04:02:07]CAPDU: 80 13 00 00 [04:02:07]Write to MH i2c: E2 08 00 B9 02 80 13 00 00 00 00 00 00 37 [04:02:07]Write i2c OK [04:02:07]MH_I2C_Read... [04:02:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:02:07]Read from MH i2c: E2 [04:02:07]MH_I2C_Read... [04:02:07]Read from MH i2c: E2 62 00 [04:02:07]MH_I2C_Read... [04:02:07]Read from MH i2c: E2 62 00 B9 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 B6 0F 00 00 0E 04 04 00 52 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 7C [04:02:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 B6 0F 00 00 0E 04 04 00 52 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 [04:02:07]wFMCommunicate OK [04:02:07]SAM_PROTO_GetFieldsCounters done [04:02:07]requested_item shift.num is exist - process it [04:02:07]requested_item shift.opened is exist - process it [04:02:07]req_shift_opened [04:02:07]FM_GetShiftState [04:02:07]SAM_PROTO_GetShiftState [04:02:07]wFMCommunicate request_size=4 [04:02:07]MH_SAM_APDU [04:02:07]CAPDU: 80 13 01 00 [04:02:07]Write to MH i2c: E2 08 00 BA 02 80 13 01 00 00 00 00 00 39 [04:02:07]Write i2c OK [04:02:07]MH_I2C_Read... [04:02:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:02:07]Read from MH i2c: E2 [04:02:07]MH_I2C_Read... [04:02:07]Read from MH i2c: E2 0E 00 [04:02:07]MH_I2C_Read... [04:02:07]Read from MH i2c: E2 0E 00 BA 02 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 C7 [04:02:07]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [04:02:07]wFMCommunicate OK [04:02:07]SAM_PROTO_GetShiftState done [04:02:07]FM_GetShiftState done [04:02:07]req_shift_opened done [04:02:07]requested_item shift.open_date is exist - process it [04:02:07]req_shift_open_date [04:02:07]req_shift_open_date done [04:02:07]produce_requested_data done [04:02:07]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4022,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [04:02:07]process_action_free close_receipt [04:02:07]json_value_free [04:02:07]json_value_free done [04:02:07]process_json_proto returns [04:02:07]Send response to host [04:02:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4022,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [04:02:07]free response buf [04:02:07]execute_script done [04:02:07]execute_script returns [04:02:07]free content buf [04:02:07]Sock 9.Close socket [04:02:07]Sock 9.Thread stoped [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:46]OFD Sender: No OFD packet to send [04:03:51]OFD Sender: No OFD packet to send [04:03:56]OFD Sender: No OFD packet to send [04:04:01]OFD Sender: No OFD packet to send [04:04:06]OFD Sender: No OFD packet to send [04:04:11]OFD Sender: No OFD packet to send [04:04:16]OFD Sender: No OFD packet to send [04:04:21]OFD Sender: No OFD packet to send [04:04:26]OFD Sender: No OFD packet to send [04:04:31]OFD Sender: No OFD packet to send [04:04:36]OFD Sender: No OFD packet to send [04:04:41]OFD Sender: No OFD packet to send [04:04:46]OFD Sender: No OFD packet to send [04:04:51]OFD Sender: No OFD packet to send [04:04:56]OFD Sender: No OFD packet to send [04:05:01]OFD Sender: No OFD packet to send [04:05:06]OFD Sender: No OFD packet to send [04:05:11]OFD Sender: No OFD packet to send [04:05:16]OFD Sender: No OFD packet to send [04:05:21]OFD Sender: No OFD packet to send [04:05:26]OFD Sender: No OFD packet to send [04:05:31]OFD Sender: No OFD packet to send [04:05:36]OFD Sender: No OFD packet to send [04:05:41]OFD Sender: No OFD packet to send [04:05:46]OFD Sender: No OFD packet to send [04:05:51]OFD Sender: No OFD packet to send [04:05:56]OFD Sender: No OFD packet to send [04:06:01]OFD Sender: No OFD packet to send [04:06:06]OFD Sender: No OFD packet to send [04:06:11]OFD Sender: No OFD packet to send [04:06:16]OFD Sender: No OFD packet to send [04:06:21]OFD Sender: No OFD packet to send [04:06:26]OFD Sender: No OFD packet to send [04:06:31]OFD Sender: No OFD packet to send [04:06:36]OFD Sender: No OFD packet to send [04:06:41]OFD Sender: No OFD packet to send [04:06:46]OFD Sender: No OFD packet to send [04:06:51]OFD Sender: No OFD packet to send [04:06:56]OFD Sender: No OFD packet to send [04:07:01]OFD Sender: No OFD packet to send [04:07:06]OFD Sender: No OFD packet to send [04:07:11]OFD Sender: No OFD packet to send [04:07:16]OFD Sender: No OFD packet to send [04:07:21]OFD Sender: No OFD packet to send [04:07:26]OFD Sender: No OFD packet to send [04:07:31]OFD Sender: No OFD packet to send [04:07:36]OFD Sender: No OFD packet to send [04:07:41]OFD Sender: No OFD packet to send [04:07:46]OFD Sender: No OFD packet to send [04:07:51]OFD Sender: No OFD packet to send [04:07:56]OFD Sender: No OFD packet to send [04:08:01]OFD Sender: No OFD packet to send [04:08:06]OFD Sender: No OFD packet to send [04:08:11]OFD Sender: No OFD packet to send [04:08:16]OFD Sender: No OFD packet to send [04:08:21]OFD Sender: No OFD packet to send [04:08:26]OFD Sender: No OFD packet to send [04:08:31]OFD Sender: No OFD packet to send [04:08:36]OFD Sender: No OFD packet to send [04:08:41]OFD Sender: No OFD packet to send [04:08:46]OFD Sender: No OFD packet to send [04:08:51]OFD Sender: No OFD packet to send [04:08:56]OFD Sender: No OFD packet to send [04:09:01]OFD Sender: No OFD packet to send [04:09:06]OFD Sender: No OFD packet to send [04:09:11]OFD Sender: No OFD packet to send [04:09:16]OFD Sender: No OFD packet to send [04:09:21]OFD Sender: No OFD packet to send [04:09:26]OFD Sender: No OFD packet to send [04:09:31]OFD Sender: No OFD packet to send [04:09:36]OFD Sender: No OFD packet to send [04:09:41]OFD Sender: No OFD packet to send [04:09:46]OFD Sender: No OFD packet to send [04:09:51]OFD Sender: No OFD packet to send [04:09:56]OFD Sender: No OFD packet to send [04:10:01]OFD Sender: No OFD packet to send [04:10:06]OFD Sender: No OFD packet to send [04:10:11]OFD Sender: No OFD packet to send [04:10:16]OFD Sender: No OFD packet to send [04:10:21]OFD Sender: No OFD packet to send [04:10:26]OFD Sender: No OFD packet to send [04:10:31]OFD Sender: No OFD packet to send [04:10:36]OFD Sender: No OFD packet to send [04:10:41]OFD Sender: No OFD packet to send [04:10:46]OFD Sender: No OFD packet to send [04:10:51]OFD Sender: No OFD packet to send [04:10:56]OFD Sender: No OFD packet to send [04:11:01]OFD Sender: No OFD packet to send [04:11:06]OFD Sender: No OFD packet to send [04:11:11]OFD Sender: No OFD packet to send [04:11:16]OFD Sender: No OFD packet to send [04:11:21]OFD Sender: No OFD packet to send [04:11:26]OFD Sender: No OFD packet to send [04:11:31]OFD Sender: No OFD packet to send [04:11:36]OFD Sender: No OFD packet to send [04:11:41]OFD Sender: No OFD packet to send [04:11:46]OFD Sender: No OFD packet to send [04:11:51]OFD Sender: No OFD packet to send [04:11:56]OFD Sender: No OFD packet to send [04:12:01]OFD Sender: No OFD packet to send [04:12:06]OFD Sender: No OFD packet to send [04:12:11]OFD Sender: No OFD packet to send [04:12:16]OFD Sender: No OFD packet to send [04:12:21]OFD Sender: No OFD packet to send [04:12:26]OFD Sender: No OFD packet to send [04:12:31]OFD Sender: No OFD packet to send [04:12:36]OFD Sender: No OFD packet to send [04:12:41]OFD Sender: No OFD packet to send [04:12:46]OFD Sender: No OFD packet to send [04:12:51]OFD Sender: No OFD packet to send [04:12:56]OFD Sender: No OFD packet to send [04:13:01]OFD Sender: No OFD packet to send [04:13:06]OFD Sender: No OFD packet to send [04:13:11]OFD Sender: No OFD packet to send [04:13:16]OFD Sender: No OFD packet to send [04:13:21]OFD Sender: No OFD packet to send [04:13:26]OFD Sender: No OFD packet to send [04:13:31]OFD Sender: No OFD packet to send [04:13:36]OFD Sender: No OFD packet to send [04:13:41]OFD Sender: No OFD packet to send [04:13:46]OFD Sender: No OFD packet to send [04:13:51]OFD Sender: No OFD packet to send [04:13:56]OFD Sender: No OFD packet to send [04:14:01]OFD Sender: No OFD packet to send [04:14:06]OFD Sender: No OFD packet to send [04:14:11]OFD Sender: No OFD packet to send [04:14:16]OFD Sender: No OFD packet to send [04:14:21]OFD Sender: No OFD packet to send [04:14:26]OFD Sender: No OFD packet to send [04:14:32]OFD Sender: No OFD packet to send [04:14:37]OFD Sender: No OFD packet to send [04:14:42]OFD Sender: No OFD packet to send [04:14:47]OFD Sender: No OFD packet to send [04:14:52]OFD Sender: No OFD packet to send [04:14:57]OFD Sender: No OFD packet to send [04:15:02]OFD Sender: No OFD packet to send [04:15:07]OFD Sender: No OFD packet to send [04:15:12]OFD Sender: No OFD packet to send [04:15:17]OFD Sender: No OFD packet to send [04:15:22]OFD Sender: No OFD packet to send [04:15:27]OFD Sender: No OFD packet to send [04:15:32]OFD Sender: No OFD packet to send [04:15:37]OFD Sender: No OFD packet to send [04:15:42]OFD Sender: No OFD packet to send [04:15:47]OFD Sender: No OFD packet to send [04:15:52]OFD Sender: No OFD packet to send [04:15:57]OFD Sender: No OFD packet to send [04:16:02]OFD Sender: No OFD packet to send [04:16:07]OFD Sender: No OFD packet to send [04:16:12]OFD Sender: No OFD packet to send [04:16:17]OFD Sender: No OFD packet to send [04:16:22]OFD Sender: No OFD packet to send [04:16:27]OFD Sender: No OFD packet to send [04:16:32]OFD Sender: No OFD packet to send [04:16:37]OFD Sender: No OFD packet to send [04:16:42]OFD Sender: No OFD packet to send [04:16:47]OFD Sender: No OFD packet to send [04:16:52]OFD Sender: No OFD packet to send [04:16:57]OFD Sender: No OFD packet to send [04:17:02]OFD Sender: No OFD packet to send [04:17:07]OFD Sender: No OFD packet to send [04:17:12]OFD Sender: No OFD packet to send [04:17:17]OFD Sender: No OFD packet to send [04:17:22]OFD Sender: No OFD packet to send [04:17:27]OFD Sender: No OFD packet to send [04:17:32]OFD Sender: No OFD packet to send [04:17:37]OFD Sender: No OFD packet to send [04:17:42]OFD Sender: No OFD packet to send [04:17:47]OFD Sender: No OFD packet to send [04:17:52]OFD Sender: No OFD packet to send [04:17:57]OFD Sender: No OFD packet to send [04:18:02]OFD Sender: No OFD packet to send [04:18:07]OFD Sender: No OFD packet to send [04:18:12]OFD Sender: No OFD packet to send [04:18:17]OFD Sender: No OFD packet to send [04:18:22]OFD Sender: No OFD packet to send [04:18:27]OFD Sender: No OFD packet to send [04:18:32]OFD Sender: No OFD packet to send [04:18:37]OFD Sender: No OFD packet to send [04:18:42]OFD Sender: No OFD packet to send [04:18:47]OFD Sender: No OFD packet to send [04:18:52]OFD Sender: No OFD packet to send [04:18:57]OFD Sender: No OFD packet to send [04:19:02]OFD Sender: No OFD packet to send [04:19:07]OFD Sender: No OFD packet to send [04:19:12]OFD Sender: No OFD packet to send [04:19:17]OFD Sender: No OFD packet to send [04:19:22]OFD Sender: No OFD packet to send [04:19:27]OFD Sender: No OFD packet to send [04:19:32]OFD Sender: No OFD packet to send [04:19:37]OFD Sender: No OFD packet to send [04:19:42]OFD Sender: No OFD packet to send [04:19:47]OFD Sender: No OFD packet to send [04:19:52]OFD Sender: No OFD packet to send [04:19:57]OFD Sender: No OFD packet to send [04:20:02]OFD Sender: No OFD packet to send [04:20:07]OFD Sender: No OFD packet to send [04:20:12]OFD Sender: No OFD packet to send [04:20:17]OFD Sender: No OFD packet to send [04:20:22]OFD Sender: No OFD packet to send [04:20:27]OFD Sender: No OFD packet to send [04:20:32]OFD Sender: No OFD packet to send [04:20:37]OFD Sender: No OFD packet to send [04:20:42]OFD Sender: No OFD packet to send [04:20:47]OFD Sender: No OFD packet to send [04:20:52]OFD Sender: No OFD packet to send [04:20:57]OFD Sender: No OFD packet to send [04:21:02]OFD Sender: No OFD packet to send [04:21:07]OFD Sender: No OFD packet to send [04:21:12]OFD Sender: No OFD packet to send [04:21:17]OFD Sender: No OFD packet to send [04:21:22]OFD Sender: No OFD packet to send [04:21:27]OFD Sender: No OFD packet to send [04:21:32]OFD Sender: No OFD packet to send [04:21:37]OFD Sender: No OFD packet to send [04:21:42]OFD Sender: No OFD packet to send [04:21:47]OFD Sender: No OFD packet to send [04:21:52]OFD Sender: No OFD packet to send [04:21:57]OFD Sender: No OFD packet to send [04:22:02]OFD Sender: No OFD packet to send [04:22:07]OFD Sender: No OFD packet to send [04:22:12]OFD Sender: No OFD packet to send [04:22:17]OFD Sender: No OFD packet to send [04:22:22]OFD Sender: No OFD packet to send [04:22:27]OFD Sender: No OFD packet to send [04:22:32]OFD Sender: No OFD packet to send [04:22:37]OFD Sender: No OFD packet to send [04:22:42]OFD Sender: No OFD packet to send [04:22:47]OFD Sender: No OFD packet to send [04:22:52]OFD Sender: No OFD packet to send [04:22:57]OFD Sender: No OFD packet to send [04:23:02]OFD Sender: No OFD packet to send [04:23:07]OFD Sender: No OFD packet to send [04:23:12]OFD Sender: No OFD packet to send [04:23:17]OFD Sender: No OFD packet to send [04:23:22]OFD Sender: No OFD packet to send [04:23:27]OFD Sender: No OFD packet to send [04:23:32]OFD Sender: No OFD packet to send [04:23:37]OFD Sender: No OFD packet to send [04:23:42]OFD Sender: No OFD packet to send [04:23:47]OFD Sender: No OFD packet to send [04:23:52]OFD Sender: No OFD packet to send [04:23:57]OFD Sender: No OFD packet to send [04:24:02]OFD Sender: No OFD packet to send [04:24:07]OFD Sender: No OFD packet to send [04:24:12]OFD Sender: No OFD packet to send [04:24:17]OFD Sender: No OFD packet to send [04:24:22]OFD Sender: No OFD packet to send [04:24:27]OFD Sender: No OFD packet to send [04:24:32]OFD Sender: No OFD packet to send [04:24:37]OFD Sender: No OFD packet to send [04:24:42]OFD Sender: No OFD packet to send [04:24:47]OFD Sender: No OFD packet to send [04:24:52]OFD Sender: No OFD packet to send [04:24:57]OFD Sender: No OFD packet to send [04:25:02]OFD Sender: No OFD packet to send [04:25:07]OFD Sender: No OFD packet to send [04:25:12]OFD Sender: No OFD packet to send [04:25:17]OFD Sender: No OFD packet to send [04:25:22]OFD Sender: No OFD packet to send [04:25:27]OFD Sender: No OFD packet to send [04:25:32]OFD Sender: No OFD packet to send [04:25:37]OFD Sender: No OFD packet to send [04:25:42]OFD Sender: No OFD packet to send [04:25:47]OFD Sender: No OFD packet to send [04:25:52]OFD Sender: No OFD packet to send [04:25:57]OFD Sender: No OFD packet to send [04:26:02]OFD Sender: No OFD packet to send [04:26:07]OFD Sender: No OFD packet to send [04:26:12]OFD Sender: No OFD packet to send [04:26:17]OFD Sender: No OFD packet to send [04:26:22]OFD Sender: No OFD packet to send [04:26:27]OFD Sender: No OFD packet to send [04:26:32]OFD Sender: No OFD packet to send [04:26:37]OFD Sender: No OFD packet to send [04:26:42]OFD Sender: No OFD packet to send [04:26:47]OFD Sender: No OFD packet to send [04:26:52]OFD Sender: No OFD packet to send [04:26:57]OFD Sender: No OFD packet to send [04:27:02]OFD Sender: No OFD packet to send [04:27:07]OFD Sender: No OFD packet to send [04:27:12]OFD Sender: No OFD packet to send [04:27:17]OFD Sender: No OFD packet to send [04:27:22]OFD Sender: No OFD packet to send [04:27:27]OFD Sender: No OFD packet to send [04:27:32]OFD Sender: No OFD packet to send [04:27:37]OFD Sender: No OFD packet to send [04:27:42]OFD Sender: No OFD packet to send [04:27:47]OFD Sender: No OFD packet to send [04:27:52]OFD Sender: No OFD packet to send [04:27:57]OFD Sender: No OFD packet to send [04:28:02]OFD Sender: No OFD packet to send [04:28:07]OFD Sender: No OFD packet to send [04:28:12]OFD Sender: No OFD packet to send [04:28:17]OFD Sender: No OFD packet to send [04:28:22]OFD Sender: No OFD packet to send [04:28:27]OFD Sender: No OFD packet to send [04:28:32]OFD Sender: No OFD packet to send [04:28:37]OFD Sender: No OFD packet to send [04:28:42]OFD Sender: No OFD packet to send [04:28:47]OFD Sender: No OFD packet to send [04:28:52]OFD Sender: No OFD packet to send [04:28:57]OFD Sender: No OFD packet to send [04:29:02]OFD Sender: No OFD packet to send [04:29:07]OFD Sender: No OFD packet to send [04:29:12]OFD Sender: No OFD packet to send [04:29:17]OFD Sender: No OFD packet to send [04:29:22]OFD Sender: No OFD packet to send [04:29:27]OFD Sender: No OFD packet to send [04:29:32]OFD Sender: No OFD packet to send [04:29:37]OFD Sender: No OFD packet to send [04:29:42]OFD Sender: No OFD packet to send [04:29:47]OFD Sender: No OFD packet to send [04:29:52]OFD Sender: No OFD packet to send [04:29:57]OFD Sender: No OFD packet to send [04:30:02]OFD Sender: No OFD packet to send [04:30:07]OFD Sender: No OFD packet to send [04:30:12]OFD Sender: No OFD packet to send [04:30:17]OFD Sender: No OFD packet to send [04:30:22]OFD Sender: No OFD packet to send [04:30:27]OFD Sender: No OFD packet to send [04:30:32]OFD Sender: No OFD packet to send [04:30:37]OFD Sender: No OFD packet to send [04:30:42]OFD Sender: No OFD packet to send [04:30:47]OFD Sender: No OFD packet to send [04:30:52]OFD Sender: No OFD packet to send [04:30:57]OFD Sender: No OFD packet to send [04:31:02]OFD Sender: No OFD packet to send [04:31:07]OFD Sender: No OFD packet to send [04:31:12]OFD Sender: No OFD packet to send [04:31:17]OFD Sender: No OFD packet to send [04:31:22]OFD Sender: No OFD packet to send [04:31:27]OFD Sender: No OFD packet to send [04:31:32]OFD Sender: No OFD packet to send [04:31:37]OFD Sender: No OFD packet to send [04:31:42]OFD Sender: No OFD packet to send [04:31:47]OFD Sender: No OFD packet to send [04:31:52]OFD Sender: No OFD packet to send [04:31:57]OFD Sender: No OFD packet to send [04:32:02]OFD Sender: No OFD packet to send [04:32:07]OFD Sender: No OFD packet to send [04:32:12]OFD Sender: No OFD packet to send [04:32:17]OFD Sender: No OFD packet to send [04:32:22]OFD Sender: No OFD packet to send [04:32:27]OFD Sender: No OFD packet to send [04:32:32]OFD Sender: No OFD packet to send [04:32:37]OFD Sender: No OFD packet to send [04:32:42]OFD Sender: No OFD packet to send [04:32:47]OFD Sender: No OFD packet to send [04:32:52]OFD Sender: No OFD packet to send [04:32:57]OFD Sender: No OFD packet to send [04:33:02]OFD Sender: No OFD packet to send [04:33:07]OFD Sender: No OFD packet to send [04:33:12]OFD Sender: No OFD packet to send [04:33:17]OFD Sender: No OFD packet to send [04:33:22]OFD Sender: No OFD packet to send [04:33:27]OFD Sender: No OFD packet to send [04:33:32]OFD Sender: No OFD packet to send [04:33:37]OFD Sender: No OFD packet to send [04:33:42]OFD Sender: No OFD packet to send [04:33:47]OFD Sender: No OFD packet to send [04:33:52]OFD Sender: No OFD packet to send [04:33:57]OFD Sender: No OFD packet to send [04:34:02]OFD Sender: No OFD packet to send [04:34:07]OFD Sender: No OFD packet to send [04:34:12]OFD Sender: No OFD packet to send [04:34:17]OFD Sender: No OFD packet to send [04:34:22]OFD Sender: No OFD packet to send [04:34:27]OFD Sender: No OFD packet to send [04:34:32]OFD Sender: No OFD packet to send [04:34:37]OFD Sender: No OFD packet to send [04:34:42]OFD Sender: No OFD packet to send [04:34:47]OFD Sender: No OFD packet to send [04:34:52]OFD Sender: No OFD packet to send [04:34:57]OFD Sender: No OFD packet to send [04:35:02]OFD Sender: No OFD packet to send [04:35:07]OFD Sender: No OFD packet to send [04:35:12]OFD Sender: No OFD packet to send [04:35:17]OFD Sender: No OFD packet to send [04:35:22]OFD Sender: No OFD packet to send [04:35:27]OFD Sender: No OFD packet to send [04:35:32]OFD Sender: No OFD packet to send [04:35:37]OFD Sender: No OFD packet to send [04:35:42]OFD Sender: No OFD packet to send [04:35:47]OFD Sender: No OFD packet to send [04:35:52]OFD Sender: No OFD packet to send [04:35:57]OFD Sender: No OFD packet to send [04:36:02]OFD Sender: No OFD packet to send [04:36:07]OFD Sender: No OFD packet to send [04:36:12]OFD Sender: No OFD packet to send [04:36:18]OFD Sender: No OFD packet to send [04:36:23]OFD Sender: No OFD packet to send [04:36:28]OFD Sender: No OFD packet to send [04:36:33]OFD Sender: No OFD packet to send [04:36:38]OFD Sender: No OFD packet to send [04:36:43]OFD Sender: No OFD packet to send [04:36:48]OFD Sender: No OFD packet to send [04:36:53]OFD Sender: No OFD packet to send [04:36:58]OFD Sender: No OFD packet to send [04:37:03]OFD Sender: No OFD packet to send [04:37:08]OFD Sender: No OFD packet to send [04:37:13]OFD Sender: No OFD packet to send [04:37:18]OFD Sender: No OFD packet to send [04:37:23]OFD Sender: No OFD packet to send [04:37:28]OFD Sender: No OFD packet to send [04:37:33]OFD Sender: No OFD packet to send [04:37:38]OFD Sender: No OFD packet to send [04:37:43]OFD Sender: No OFD packet to send [04:37:48]OFD Sender: No OFD packet to send [04:37:53]OFD Sender: No OFD packet to send [04:37:58]OFD Sender: No OFD packet to send [04:38:03]OFD Sender: No OFD packet to send [04:38:08]OFD Sender: No OFD packet to send [04:38:13]OFD Sender: No OFD packet to send [04:38:18]OFD Sender: No OFD packet to send [04:38:23]OFD Sender: No OFD packet to send [04:38:28]OFD Sender: No OFD packet to send [04:38:33]OFD Sender: No OFD packet to send [04:38:38]OFD Sender: No OFD packet to send [04:38:43]OFD Sender: No OFD packet to send [04:38:48]OFD Sender: No OFD packet to send [04:38:53]OFD Sender: No OFD packet to send [04:38:58]OFD Sender: No OFD packet to send [04:39:03]OFD Sender: No OFD packet to send [04:39:08]OFD Sender: No OFD packet to send [04:39:13]OFD Sender: No OFD packet to send [04:39:18]OFD Sender: No OFD packet to send [04:39:23]OFD Sender: No OFD packet to send [04:39:28]OFD Sender: No OFD packet to send [04:39:33]OFD Sender: No OFD packet to send [04:39:38]OFD Sender: No OFD packet to send [04:39:43]OFD Sender: No OFD packet to send [04:39:48]OFD Sender: No OFD packet to send [04:39:53]OFD Sender: No OFD packet to send [04:39:58]OFD Sender: No OFD packet to send [04:40:03]OFD Sender: No OFD packet to send [04:40:08]OFD Sender: No OFD packet to send [04:40:13]OFD Sender: No OFD packet to send [04:40:18]OFD Sender: No OFD packet to send [04:40:23]OFD Sender: No OFD packet to send [04:40:28]OFD Sender: No OFD packet to send [04:40:33]OFD Sender: No OFD packet to send [04:40:38]OFD Sender: No OFD packet to send [04:40:43]OFD Sender: No OFD packet to send [04:40:48]OFD Sender: No OFD packet to send [04:40:53]OFD Sender: No OFD packet to send [04:40:58]OFD Sender: No OFD packet to send [04:41:03]OFD Sender: No OFD packet to send [04:41:08]OFD Sender: No OFD packet to send [04:41:13]OFD Sender: No OFD packet to send [04:41:18]OFD Sender: No OFD packet to send [04:41:23]OFD Sender: No OFD packet to send [04:41:28]OFD Sender: No OFD packet to send [04:41:33]OFD Sender: No OFD packet to send [04:41:38]OFD Sender: No OFD packet to send [04:41:43]OFD Sender: No OFD packet to send [04:41:48]OFD Sender: No OFD packet to send [04:41:53]OFD Sender: No OFD packet to send [04:41:58]OFD Sender: No OFD packet to send [04:42:03]OFD Sender: No OFD packet to send [04:42:08]OFD Sender: No OFD packet to send [04:42:13]OFD Sender: No OFD packet to send [04:42:18]OFD Sender: No OFD packet to send [04:42:23]OFD Sender: No OFD packet to send [04:42:28]OFD Sender: No OFD packet to send [04:42:33]OFD Sender: No OFD packet to send [04:42:38]OFD Sender: No OFD packet to send [04:42:43]OFD Sender: No OFD packet to send [04:42:48]OFD Sender: No OFD packet to send [04:42:53]OFD Sender: No OFD packet to send [04:42:58]OFD Sender: No OFD packet to send [04:43:03]OFD Sender: No OFD packet to send [04:43:08]OFD Sender: No OFD packet to send [04:43:13]OFD Sender: No OFD packet to send [04:43:18]OFD Sender: No OFD packet to send [04:43:23]OFD Sender: No OFD packet to send [04:43:28]OFD Sender: No OFD packet to send [04:43:33]OFD Sender: No OFD packet to send [04:43:38]OFD Sender: No OFD packet to send [04:43:43]OFD Sender: No OFD packet to send [04:43:48]OFD Sender: No OFD packet to send [04:43:53]OFD Sender: No OFD packet to send [04:43:58]OFD Sender: No OFD packet to send [04:44:03]OFD Sender: No OFD packet to send [04:44:08]OFD Sender: No OFD packet to send [04:44:13]OFD Sender: No OFD packet to send [04:44:18]OFD Sender: No OFD packet to send [04:44:23]OFD Sender: No OFD packet to send [04:44:28]OFD Sender: No OFD packet to send [04:44:33]OFD Sender: No OFD packet to send [04:44:38]OFD Sender: No OFD packet to send [04:44:43]OFD Sender: No OFD packet to send [04:44:48]OFD Sender: No OFD packet to send [04:44:53]OFD Sender: No OFD packet to send [04:44:58]OFD Sender: No OFD packet to send [04:45:03]OFD Sender: No OFD packet to send [04:45:08]OFD Sender: No OFD packet to send [04:45:13]OFD Sender: No OFD packet to send [04:45:18]OFD Sender: No OFD packet to send [04:45:23]OFD Sender: No OFD packet to send [04:45:28]OFD Sender: No OFD packet to send [04:45:33]OFD Sender: No OFD packet to send [04:45:38]OFD Sender: No OFD packet to send [04:45:43]OFD Sender: No OFD packet to send [04:45:48]OFD Sender: No OFD packet to send [04:45:53]OFD Sender: No OFD packet to send [04:45:58]OFD Sender: No OFD packet to send [04:46:03]OFD Sender: No OFD packet to send [04:46:08]OFD Sender: No OFD packet to send [04:46:13]OFD Sender: No OFD packet to send [04:46:18]OFD Sender: No OFD packet to send [04:46:23]OFD Sender: No OFD packet to send [04:46:28]OFD Sender: No OFD packet to send [04:46:33]OFD Sender: No OFD packet to send [04:46:38]OFD Sender: No OFD packet to send [04:46:43]OFD Sender: No OFD packet to send [04:46:48]OFD Sender: No OFD packet to send [04:46:53]OFD Sender: No OFD packet to send [04:46:58]OFD Sender: No OFD packet to send [04:47:03]OFD Sender: No OFD packet to send [04:47:08]OFD Sender: No OFD packet to send [04:47:13]OFD Sender: No OFD packet to send [04:47:18]OFD Sender: No OFD packet to send [04:47:23]OFD Sender: No OFD packet to send [04:47:28]OFD Sender: No OFD packet to send [04:47:33]OFD Sender: No OFD packet to send [04:47:38]OFD Sender: No OFD packet to send [04:47:43]OFD Sender: No OFD packet to send [04:47:48]OFD Sender: No OFD packet to send [04:47:53]OFD Sender: No OFD packet to send [04:47:58]OFD Sender: No OFD packet to send [04:48:03]OFD Sender: No OFD packet to send [04:48:08]OFD Sender: No OFD packet to send [04:48:13]OFD Sender: No OFD packet to send [04:48:18]OFD Sender: No OFD packet to send [04:48:23]OFD Sender: No OFD packet to send [04:48:28]OFD Sender: No OFD packet to send [04:48:33]OFD Sender: No OFD packet to send [04:48:38]OFD Sender: No OFD packet to send [04:48:43]OFD Sender: No OFD packet to send [04:48:48]OFD Sender: No OFD packet to send [04:48:53]OFD Sender: No OFD packet to send [04:48:58]OFD Sender: No OFD packet to send [04:49:03]OFD Sender: No OFD packet to send [04:49:08]OFD Sender: No OFD packet to send [04:49:13]OFD Sender: No OFD packet to send [04:49:18]OFD Sender: No OFD packet to send [04:49:23]OFD Sender: No OFD packet to send [04:49:28]OFD Sender: No OFD packet to send [04:49:33]OFD Sender: No OFD packet to send [04:49:38]OFD Sender: No OFD packet to send [04:49:43]OFD Sender: No OFD packet to send [04:49:48]OFD Sender: No OFD packet to send [04:49:53]OFD Sender: No OFD packet to send [04:49:58]OFD Sender: No OFD packet to send [04:50:03]OFD Sender: No OFD packet to send [04:50:08]OFD Sender: No OFD packet to send [04:50:13]OFD Sender: No OFD packet to send [04:50:18]OFD Sender: No OFD packet to send [04:50:23]OFD Sender: No OFD packet to send [04:50:28]OFD Sender: No OFD packet to send [04:50:33]OFD Sender: No OFD packet to send [04:50:38]OFD Sender: No OFD packet to send [04:50:43]OFD Sender: No OFD packet to send [04:50:48]OFD Sender: No OFD packet to send [04:50:53]OFD Sender: No OFD packet to send [04:50:58]OFD Sender: No OFD packet to send [04:51:03]OFD Sender: No OFD packet to send [04:51:08]OFD Sender: No OFD packet to send [04:51:13]OFD Sender: No OFD packet to send [04:51:18]OFD Sender: No OFD packet to send [04:51:23]OFD Sender: No OFD packet to send [04:51:28]OFD Sender: No OFD packet to send [04:51:33]OFD Sender: No OFD packet to send [04:51:38]OFD Sender: No OFD packet to send [04:51:43]OFD Sender: No OFD packet to send [04:51:48]OFD Sender: No OFD packet to send [04:51:53]OFD Sender: No OFD packet to send [04:51:58]OFD Sender: No OFD packet to send [04:52:03]OFD Sender: No OFD packet to send [04:52:08]OFD Sender: No OFD packet to send [04:52:13]OFD Sender: No OFD packet to send [04:52:18]OFD Sender: No OFD packet to send [04:52:23]OFD Sender: No OFD packet to send [04:52:28]OFD Sender: No OFD packet to send [04:52:33]OFD Sender: No OFD packet to send [04:52:38]OFD Sender: No OFD packet to send [04:52:43]OFD Sender: No OFD packet to send [04:52:48]OFD Sender: No OFD packet to send [04:52:53]OFD Sender: No OFD packet to send [04:52:58]OFD Sender: No OFD packet to send [04:53:03]OFD Sender: No OFD packet to send [04:53:08]OFD Sender: No OFD packet to send [04:53:13]OFD Sender: No OFD packet to send [04:53:18]OFD Sender: No OFD packet to send [04:53:23]OFD Sender: No OFD packet to send [04:53:28]OFD Sender: No OFD packet to send [04:53:33]OFD Sender: No OFD packet to send [04:53:38]OFD Sender: No OFD packet to send [04:53:43]OFD Sender: No OFD packet to send [04:53:48]OFD Sender: No OFD packet to send [04:53:53]OFD Sender: No OFD packet to send [04:53:58]OFD Sender: No OFD packet to send [04:54:03]OFD Sender: No OFD packet to send [04:54:08]OFD Sender: No OFD packet to send [04:54:13]OFD Sender: No OFD packet to send [04:54:18]OFD Sender: No OFD packet to send [04:54:23]OFD Sender: No OFD packet to send [04:54:28]OFD Sender: No OFD packet to send [04:54:33]OFD Sender: No OFD packet to send [04:54:38]OFD Sender: No OFD packet to send [04:54:43]OFD Sender: No OFD packet to send [04:54:48]OFD Sender: No OFD packet to send [04:54:53]OFD Sender: No OFD packet to send [04:54:58]OFD Sender: No OFD packet to send [04:55:03]OFD Sender: No OFD packet to send [04:55:08]OFD Sender: No OFD packet to send [04:55:13]OFD Sender: No OFD packet to send [04:55:18]OFD Sender: No OFD packet to send [04:55:23]OFD Sender: No OFD packet to send [04:55:28]OFD Sender: No OFD packet to send [04:55:33]OFD Sender: No OFD packet to send [04:55:38]OFD Sender: No OFD packet to send [04:55:43]OFD Sender: No OFD packet to send [04:55:48]OFD Sender: No OFD packet to send [04:55:53]OFD Sender: No OFD packet to send [04:55:58]OFD Sender: No OFD packet to send [04:56:03]OFD Sender: No OFD packet to send [04:56:08]OFD Sender: No OFD packet to send [04:56:13]OFD Sender: No OFD packet to send [04:56:18]OFD Sender: No OFD packet to send [04:56:23]OFD Sender: No OFD packet to send [04:56:28]OFD Sender: No OFD packet to send [04:56:33]OFD Sender: No OFD packet to send [04:56:38]OFD Sender: No OFD packet to send [04:56:43]OFD Sender: No OFD packet to send [04:56:48]OFD Sender: No OFD packet to send [04:56:53]OFD Sender: No OFD packet to send [04:56:58]OFD Sender: No OFD packet to send [04:57:03]OFD Sender: No OFD packet to send [04:57:08]OFD Sender: No OFD packet to send [04:57:13]OFD Sender: No OFD packet to send [04:57:18]OFD Sender: No OFD packet to send [04:57:23]OFD Sender: No OFD packet to send [04:57:28]OFD Sender: No OFD packet to send [04:57:33]OFD Sender: No OFD packet to send [04:57:38]OFD Sender: No OFD packet to send [04:57:43]OFD Sender: No OFD packet to send [04:57:48]OFD Sender: No OFD packet to send [04:57:53]OFD Sender: No OFD packet to send [04:57:59]OFD Sender: No OFD packet to send [04:58:04]OFD Sender: No OFD packet to send [04:58:09]OFD Sender: No OFD packet to send [04:58:14]OFD Sender: No OFD packet to send [04:58:19]OFD Sender: No OFD packet to send [04:58:24]OFD Sender: No OFD packet to send [04:58:29]OFD Sender: No OFD packet to send [04:58:34]OFD Sender: No OFD packet to send [04:58:39]OFD Sender: No OFD packet to send [04:58:44]OFD Sender: No OFD packet to send [04:58:49]OFD Sender: No OFD packet to send [04:58:54]OFD Sender: No OFD packet to send [04:58:59]OFD Sender: No OFD packet to send [04:59:04]OFD Sender: No OFD packet to send [04:59:09]OFD Sender: No OFD packet to send [04:59:14]OFD Sender: No OFD packet to send [04:59:19]OFD Sender: No OFD packet to send [04:59:24]OFD Sender: No OFD packet to send [04:59:29]OFD Sender: No OFD packet to send [04:59:34]OFD Sender: No OFD packet to send [04:59:39]OFD Sender: No OFD packet to send [04:59:44]OFD Sender: No OFD packet to send [04:59:49]OFD Sender: No OFD packet to send [04:59:54]OFD Sender: No OFD packet to send [04:59:59]OFD Sender: No OFD packet to send [05:00:04]OFD Sender: No OFD packet to send [05:00:09]OFD Sender: No OFD packet to send [05:00:14]OFD Sender: No OFD packet to send [05:00:19]OFD Sender: No OFD packet to send [05:00:24]OFD Sender: No OFD packet to send [05:00:29]OFD Sender: No OFD packet to send [05:00:34]OFD Sender: No OFD packet to send [05:00:39]OFD Sender: No OFD packet to send [05:00:44]OFD Sender: No OFD packet to send [05:00:49]OFD Sender: No OFD packet to send [05:00:54]OFD Sender: No OFD packet to send [05:00:59]OFD Sender: No OFD packet to send [05:01:04]OFD Sender: No OFD packet to send [05:01:09]OFD Sender: No OFD packet to send [05:01:14]OFD Sender: No OFD packet to send [05:01:19]OFD Sender: No OFD packet to send [05:01:24]OFD Sender: No OFD packet to send [05:01:29]OFD Sender: No OFD packet to send [05:01:34]OFD Sender: No OFD packet to send [05:01:39]OFD Sender: No OFD packet to send [05:01:44]OFD Sender: No OFD packet to send [05:01:49]OFD Sender: No OFD packet to send [05:01:54]OFD Sender: No OFD packet to send [05:01:59]OFD Sender: No OFD packet to send [05:02:04]OFD Sender: No OFD packet to send [05:02:09]OFD Sender: No OFD packet to send [05:02:14]OFD Sender: No OFD packet to send [05:02:19]OFD Sender: No OFD packet to send [05:02:24]OFD Sender: No OFD packet to send [05:02:29]OFD Sender: No OFD packet to send [05:02:34]OFD Sender: No OFD packet to send [05:02:39]OFD Sender: No OFD packet to send [05:02:44]OFD Sender: No OFD packet to send [05:02:49]OFD Sender: No OFD packet to send [05:02:54]OFD Sender: No OFD packet to send [05:02:59]OFD Sender: No OFD packet to send [05:03:04]OFD Sender: No OFD packet to send [05:03:09]OFD Sender: No OFD packet to send [05:03:14]OFD Sender: No OFD packet to send [05:03:19]OFD Sender: No OFD packet to send [05:03:24]OFD Sender: No OFD packet to send [05:03:29]OFD Sender: No OFD packet to send [05:03:34]OFD Sender: No OFD packet to send [05:03:39]OFD Sender: No OFD packet to send [05:03:44]OFD Sender: No OFD packet to send [05:03:49]OFD Sender: No OFD packet to send [05:03:54]OFD Sender: No OFD packet to send [05:03:59]OFD Sender: No OFD packet to send [05:04:04]OFD Sender: No OFD packet to send [05:04:09]OFD Sender: No OFD packet to send [05:04:14]OFD Sender: No OFD packet to send [05:04:19]OFD Sender: No OFD packet to send [05:04:24]OFD Sender: No OFD packet to send [05:04:29]OFD Sender: No OFD packet to send [05:04:34]OFD Sender: No OFD packet to send [05:04:39]OFD Sender: No OFD packet to send [05:04:44]OFD Sender: No OFD packet to send [05:04:49]OFD Sender: No OFD packet to send [05:04:54]OFD Sender: No OFD packet to send [05:04:59]OFD Sender: No OFD packet to send [05:05:04]OFD Sender: No OFD packet to send [05:05:09]OFD Sender: No OFD packet to send [05:05:14]OFD Sender: No OFD packet to send [05:05:19]OFD Sender: No OFD packet to send [05:05:24]OFD Sender: No OFD packet to send [05:05:29]OFD Sender: No OFD packet to send [05:05:34]OFD Sender: No OFD packet to send [05:05:39]OFD Sender: No OFD packet to send [05:05:44]OFD Sender: No OFD packet to send [05:05:49]OFD Sender: No OFD packet to send [05:05:54]OFD Sender: No OFD packet to send [05:05:59]OFD Sender: No OFD packet to send [05:06:04]OFD Sender: No OFD packet to send [05:06:09]OFD Sender: No OFD packet to send [05:06:14]OFD Sender: No OFD packet to send [05:06:19]OFD Sender: No OFD packet to send [05:06:24]OFD Sender: No OFD packet to send [05:06:29]OFD Sender: No OFD packet to send [05:06:34]OFD Sender: No OFD packet to send [05:06:39]OFD Sender: No OFD packet to send [05:06:44]OFD Sender: No OFD packet to send [05:06:49]OFD Sender: No OFD packet to send [05:06:54]OFD Sender: No OFD packet to send [05:06:59]OFD Sender: No OFD packet to send [05:07:04]OFD Sender: No OFD packet to send [05:07:09]OFD Sender: No OFD packet to send [05:07:14]OFD Sender: No OFD packet to send [05:07:19]OFD Sender: No OFD packet to send [05:07:24]OFD Sender: No OFD packet to send [05:07:29]OFD Sender: No OFD packet to send [05:07:34]OFD Sender: No OFD packet to send [05:07:39]OFD Sender: No OFD packet to send [05:07:44]OFD Sender: No OFD packet to send [05:07:49]OFD Sender: No OFD packet to send [05:07:54]OFD Sender: No OFD packet to send [05:07:59]OFD Sender: No OFD packet to send [05:08:04]OFD Sender: No OFD packet to send [05:08:09]OFD Sender: No OFD packet to send [05:08:14]OFD Sender: No OFD packet to send [05:08:19]OFD Sender: No OFD packet to send [05:08:24]OFD Sender: No OFD packet to send [05:08:29]OFD Sender: No OFD packet to send [05:08:34]OFD Sender: No OFD packet to send [05:08:39]OFD Sender: No OFD packet to send [05:08:44]OFD Sender: No OFD packet to send [05:08:49]OFD Sender: No OFD packet to send [05:08:54]OFD Sender: No OFD packet to send [05:08:59]OFD Sender: No OFD packet to send [05:09:04]OFD Sender: No OFD packet to send [05:09:09]OFD Sender: No OFD packet to send [05:09:14]OFD Sender: No OFD packet to send [05:09:19]OFD Sender: No OFD packet to send [05:09:24]OFD Sender: No OFD packet to send [05:09:29]OFD Sender: No OFD packet to send [05:09:34]OFD Sender: No OFD packet to send [05:09:39]OFD Sender: No OFD packet to send [05:09:44]OFD Sender: No OFD packet to send [05:09:49]OFD Sender: No OFD packet to send [05:09:54]OFD Sender: No OFD packet to send [05:09:59]OFD Sender: No OFD packet to send [05:10:04]OFD Sender: No OFD packet to send [05:10:09]OFD Sender: No OFD packet to send [05:10:14]OFD Sender: No OFD packet to send [05:10:19]OFD Sender: No OFD packet to send [05:10:24]OFD Sender: No OFD packet to send [05:10:29]OFD Sender: No OFD packet to send [05:10:34]OFD Sender: No OFD packet to send [05:10:39]OFD Sender: No OFD packet to send [05:10:44]OFD Sender: No OFD packet to send [05:10:49]OFD Sender: No OFD packet to send [05:10:54]OFD Sender: No OFD packet to send [05:10:59]OFD Sender: No OFD packet to send [05:11:04]OFD Sender: No OFD packet to send [05:11:09]OFD Sender: No OFD packet to send [05:11:14]OFD Sender: No OFD packet to send [05:11:19]OFD Sender: No OFD packet to send [05:11:24]OFD Sender: No OFD packet to send [05:11:29]OFD Sender: No OFD packet to send [05:11:34]OFD Sender: No OFD packet to send [05:11:39]OFD Sender: No OFD packet to send [05:11:44]OFD Sender: No OFD packet to send [05:11:49]OFD Sender: No OFD packet to send [05:11:54]OFD Sender: No OFD packet to send [05:11:59]OFD Sender: No OFD packet to send [05:12:04]OFD Sender: No OFD packet to send [05:12:09]OFD Sender: No OFD packet to send [05:12:14]OFD Sender: No OFD packet to send [05:12:19]OFD Sender: No OFD packet to send [05:12:24]OFD Sender: No OFD packet to send [05:12:29]OFD Sender: No OFD packet to send [05:12:34]OFD Sender: No OFD packet to send [05:12:39]OFD Sender: No OFD packet to send [05:12:44]OFD Sender: No OFD packet to send [05:12:49]OFD Sender: No OFD packet to send [05:12:54]OFD Sender: No OFD packet to send [05:12:59]OFD Sender: No OFD packet to send [05:13:04]OFD Sender: No OFD packet to send [05:13:09]OFD Sender: No OFD packet to send [05:13:14]OFD Sender: No OFD packet to send [05:13:19]OFD Sender: No OFD packet to send [05:13:24]OFD Sender: No OFD packet to send [05:13:29]OFD Sender: No OFD packet to send [05:13:34]OFD Sender: No OFD packet to send [05:13:39]OFD Sender: No OFD packet to send [05:13:44]OFD Sender: No OFD packet to send [05:13:49]OFD Sender: No OFD packet to send [05:13:54]OFD Sender: No OFD packet to send [05:13:59]OFD Sender: No OFD packet to send [05:14:04]OFD Sender: No OFD packet to send [05:14:09]OFD Sender: No OFD packet to send [05:14:14]OFD Sender: No OFD packet to send [05:14:19]OFD Sender: No OFD packet to send [05:14:24]OFD Sender: No OFD packet to send [05:14:29]OFD Sender: No OFD packet to send [05:14:34]OFD Sender: No OFD packet to send [05:14:39]OFD Sender: No OFD packet to send [05:14:44]OFD Sender: No OFD packet to send [05:14:49]OFD Sender: No OFD packet to send [05:14:54]OFD Sender: No OFD packet to send [05:14:59]OFD Sender: No OFD packet to send [05:15:04]OFD Sender: No OFD packet to send [05:15:09]OFD Sender: No OFD packet to send [05:15:14]OFD Sender: No OFD packet to send [05:15:19]OFD Sender: No OFD packet to send [05:15:24]OFD Sender: No OFD packet to send [05:15:29]OFD Sender: No OFD packet to send [05:15:34]OFD Sender: No OFD packet to send [05:15:39]OFD Sender: No OFD packet to send [05:15:44]OFD Sender: No OFD packet to send [05:15:49]OFD Sender: No OFD packet to send [05:15:54]OFD Sender: No OFD packet to send [05:15:59]OFD Sender: No OFD packet to send [05:16:04]OFD Sender: No OFD packet to send [05:16:09]OFD Sender: No OFD packet to send [05:16:14]OFD Sender: No OFD packet to send [05:16:19]OFD Sender: No OFD packet to send [05:16:24]OFD Sender: No OFD packet to send [05:16:29]OFD Sender: No OFD packet to send [05:16:34]OFD Sender: No OFD packet to send [05:16:39]OFD Sender: No OFD packet to send [05:16:44]OFD Sender: No OFD packet to send [05:16:49]OFD Sender: No OFD packet to send [05:16:54]OFD Sender: No OFD packet to send [05:16:59]OFD Sender: No OFD packet to send [05:17:04]OFD Sender: No OFD packet to send [05:17:09]OFD Sender: No OFD packet to send [05:17:14]OFD Sender: No OFD packet to send [05:17:19]OFD Sender: No OFD packet to send [05:17:24]OFD Sender: No OFD packet to send [05:17:29]OFD Sender: No OFD packet to send [05:17:34]OFD Sender: No OFD packet to send [05:17:39]OFD Sender: No OFD packet to send [05:17:44]OFD Sender: No OFD packet to send [05:17:49]OFD Sender: No OFD packet to send [05:17:54]OFD Sender: No OFD packet to send [05:17:59]OFD Sender: No OFD packet to send [05:18:04]OFD Sender: No OFD packet to send [05:18:09]OFD Sender: No OFD packet to send [05:18:14]OFD Sender: No OFD packet to send [05:18:19]OFD Sender: No OFD packet to send [05:18:24]OFD Sender: No OFD packet to send [05:18:29]OFD Sender: No OFD packet to send [05:18:34]OFD Sender: No OFD packet to send [05:18:39]OFD Sender: No OFD packet to send [05:18:44]OFD Sender: No OFD packet to send [05:18:49]OFD Sender: No OFD packet to send [05:18:54]OFD Sender: No OFD packet to send [05:18:59]OFD Sender: No OFD packet to send [05:19:04]OFD Sender: No OFD packet to send [05:19:09]OFD Sender: No OFD packet to send [05:19:14]OFD Sender: No OFD packet to send [05:19:19]OFD Sender: No OFD packet to send [05:19:24]OFD Sender: No OFD packet to send [05:19:29]OFD Sender: No OFD packet to send [05:19:34]OFD Sender: No OFD packet to send [05:19:39]OFD Sender: No OFD packet to send [05:19:44]OFD Sender: No OFD packet to send [05:19:50]OFD Sender: No OFD packet to send [05:19:55]OFD Sender: No OFD packet to send [05:20:00]OFD Sender: No OFD packet to send [05:20:05]OFD Sender: No OFD packet to send [05:20:10]OFD Sender: No OFD packet to send [05:20:15]OFD Sender: No OFD packet to send [05:20:20]OFD Sender: No OFD packet to send [05:20:25]OFD Sender: No OFD packet to send [05:20:30]OFD Sender: No OFD packet to send [05:20:35]OFD Sender: No OFD packet to send [05:20:40]OFD Sender: No OFD packet to send [05:20:45]OFD Sender: No OFD packet to send [05:20:50]OFD Sender: No OFD packet to send [05:20:55]OFD Sender: No OFD packet to send [05:21:00]OFD Sender: No OFD packet to send [05:21:05]OFD Sender: No OFD packet to send [05:21:10]OFD Sender: No OFD packet to send [05:21:15]OFD Sender: No OFD packet to send [05:21:20]OFD Sender: No OFD packet to send [05:21:25]OFD Sender: No OFD packet to send [05:21:30]OFD Sender: No OFD packet to send [05:21:35]OFD Sender: No OFD packet to send [05:21:40]OFD Sender: No OFD packet to send [05:21:45]OFD Sender: No OFD packet to send [05:21:50]OFD Sender: No OFD packet to send [05:21:55]OFD Sender: No OFD packet to send [05:22:00]OFD Sender: No OFD packet to send [05:22:05]OFD Sender: No OFD packet to send [05:22:10]OFD Sender: No OFD packet to send [05:22:15]OFD Sender: No OFD packet to send [05:22:20]OFD Sender: No OFD packet to send [05:22:25]OFD Sender: No OFD packet to send [05:22:30]OFD Sender: No OFD packet to send [05:22:35]OFD Sender: No OFD packet to send [05:22:40]OFD Sender: No OFD packet to send [05:22:45]OFD Sender: No OFD packet to send [05:22:50]OFD Sender: No OFD packet to send [05:22:55]OFD Sender: No OFD packet to send [05:23:00]OFD Sender: No OFD packet to send [05:23:05]OFD Sender: No OFD packet to send [05:23:10]OFD Sender: No OFD packet to send [05:23:15]OFD Sender: No OFD packet to send [05:23:20]OFD Sender: No OFD packet to send [05:23:25]OFD Sender: No OFD packet to send [05:23:30]OFD Sender: No OFD packet to send [05:23:35]OFD Sender: No OFD packet to send [05:23:40]OFD Sender: No OFD packet to send [05:23:45]OFD Sender: No OFD packet to send [05:23:50]OFD Sender: No OFD packet to send [05:23:55]OFD Sender: No OFD packet to send [05:24:00]OFD Sender: No OFD packet to send [05:24:05]OFD Sender: No OFD packet to send [05:24:10]OFD Sender: No OFD packet to send [05:24:15]OFD Sender: No OFD packet to send [05:24:20]OFD Sender: No OFD packet to send [05:24:25]OFD Sender: No OFD packet to send [05:24:30]OFD Sender: No OFD packet to send [05:24:35]OFD Sender: No OFD packet to send [05:24:40]OFD Sender: No OFD packet to send [05:24:45]OFD Sender: No OFD packet to send [05:24:50]OFD Sender: No OFD packet to send [05:24:55]OFD Sender: No OFD packet to send [05:25:00]OFD Sender: No OFD packet to send [05:25:05]OFD Sender: No OFD packet to send [05:25:10]OFD Sender: No OFD packet to send [05:25:15]OFD Sender: No OFD packet to send [05:25:20]OFD Sender: No OFD packet to send [05:25:25]OFD Sender: No OFD packet to send [05:25:30]OFD Sender: No OFD packet to send [05:25:35]OFD Sender: No OFD packet to send [05:25:40]OFD Sender: No OFD packet to send [05:25:45]OFD Sender: No OFD packet to send [05:25:50]OFD Sender: No OFD packet to send [05:25:55]OFD Sender: No OFD packet to send [05:26:00]OFD Sender: No OFD packet to send [05:26:05]OFD Sender: No OFD packet to send [05:26:10]OFD Sender: No OFD packet to send [05:26:15]OFD Sender: No OFD packet to send [05:26:20]OFD Sender: No OFD packet to send [05:26:25]OFD Sender: No OFD packet to send [05:26:30]OFD Sender: No OFD packet to send [05:26:35]OFD Sender: No OFD packet to send [05:26:40]OFD Sender: No OFD packet to send [05:26:45]OFD Sender: No OFD packet to send [05:26:50]OFD Sender: No OFD packet to send [05:26:55]OFD Sender: No OFD packet to send [05:27:00]OFD Sender: No OFD packet to send [05:27:05]OFD Sender: No OFD packet to send [05:27:10]OFD Sender: No OFD packet to send [05:27:15]OFD Sender: No OFD packet to send [05:27:20]OFD Sender: No OFD packet to send [05:27:25]OFD Sender: No OFD packet to send [05:27:30]OFD Sender: No OFD packet to send [05:27:35]OFD Sender: No OFD packet to send [05:27:40]OFD Sender: No OFD packet to send [05:27:45]OFD Sender: No OFD packet to send [05:27:50]OFD Sender: No OFD packet to send [05:27:55]OFD Sender: No OFD packet to send [05:28:00]OFD Sender: No OFD packet to send [05:28:05]OFD Sender: No OFD packet to send [05:28:10]OFD Sender: No OFD packet to send [05:28:15]OFD Sender: No OFD packet to send [05:28:20]OFD Sender: No OFD packet to send [05:28:25]OFD Sender: No OFD packet to send [05:28:30]OFD Sender: No OFD packet to send [05:28:35]OFD Sender: No OFD packet to send [05:28:40]OFD Sender: No OFD packet to send [05:28:45]OFD Sender: No OFD packet to send [05:28:50]OFD Sender: No OFD packet to send [05:28:55]OFD Sender: No OFD packet to send [05:29:00]OFD Sender: No OFD packet to send [05:29:05]OFD Sender: No OFD packet to send [05:29:10]OFD Sender: No OFD packet to send [05:29:15]OFD Sender: No OFD packet to send [05:29:20]OFD Sender: No OFD packet to send [05:29:25]OFD Sender: No OFD packet to send [05:29:30]OFD Sender: No OFD packet to send [05:29:35]OFD Sender: No OFD packet to send [05:29:40]OFD Sender: No OFD packet to send [05:29:45]OFD Sender: No OFD packet to send [05:29:50]OFD Sender: No OFD packet to send [05:29:55]OFD Sender: No OFD packet to send [05:30:00]OFD Sender: No OFD packet to send [05:30:05]OFD Sender: No OFD packet to send [05:30:10]OFD Sender: No OFD packet to send [05:30:15]OFD Sender: No OFD packet to send [05:30:20]OFD Sender: No OFD packet to send [05:30:25]OFD Sender: No OFD packet to send [05:30:30]OFD Sender: No OFD packet to send [05:30:35]OFD Sender: No OFD packet to send [05:30:40]OFD Sender: No OFD packet to send [05:30:45]OFD Sender: No OFD packet to send [05:30:50]OFD Sender: No OFD packet to send [05:30:55]OFD Sender: No OFD packet to send [05:31:00]OFD Sender: No OFD packet to send [05:31:05]OFD Sender: No OFD packet to send [05:31:10]OFD Sender: No OFD packet to send [05:31:15]OFD Sender: No OFD packet to send [05:31:20]OFD Sender: No OFD packet to send [05:31:25]OFD Sender: No OFD packet to send [05:31:30]OFD Sender: No OFD packet to send [05:31:35]OFD Sender: No OFD packet to send [05:31:40]OFD Sender: No OFD packet to send [05:31:45]OFD Sender: No OFD packet to send [05:31:50]OFD Sender: No OFD packet to send [05:31:55]OFD Sender: No OFD packet to send [05:32:00]OFD Sender: No OFD packet to send [05:32:05]OFD Sender: No OFD packet to send [05:32:10]OFD Sender: No OFD packet to send [05:32:15]OFD Sender: No OFD packet to send [05:32:20]OFD Sender: No OFD packet to send [05:32:25]OFD Sender: No OFD packet to send [05:32:30]OFD Sender: No OFD packet to send [05:32:35]OFD Sender: No OFD packet to send [05:32:40]OFD Sender: No OFD packet to send [05:32:45]OFD Sender: No OFD packet to send [05:32:50]OFD Sender: No OFD packet to send [05:32:55]OFD Sender: No OFD packet to send [05:33:00]OFD Sender: No OFD packet to send [05:33:05]OFD Sender: No OFD packet to send [05:33:10]OFD Sender: No OFD packet to send [05:33:15]OFD Sender: No OFD packet to send [05:33:20]OFD Sender: No OFD packet to send [05:33:25]OFD Sender: No OFD packet to send [05:33:30]OFD Sender: No OFD packet to send [05:33:35]OFD Sender: No OFD packet to send [05:33:40]OFD Sender: No OFD packet to send [05:33:45]OFD Sender: No OFD packet to send [05:33:50]OFD Sender: No OFD packet to send [05:33:55]OFD Sender: No OFD packet to send [05:34:00]OFD Sender: No OFD packet to send [05:34:05]OFD Sender: No OFD packet to send [05:34:10]OFD Sender: No OFD packet to send [05:34:15]OFD Sender: No OFD packet to send [05:34:20]OFD Sender: No OFD packet to send [05:34:25]OFD Sender: No OFD packet to send [05:34:30]OFD Sender: No OFD packet to send [05:34:35]OFD Sender: No OFD packet to send [05:34:40]OFD Sender: No OFD packet to send [05:34:45]OFD Sender: No OFD packet to send [05:34:50]OFD Sender: No OFD packet to send [05:34:55]OFD Sender: No OFD packet to send [05:35:00]OFD Sender: No OFD packet to send [05:35:05]OFD Sender: No OFD packet to send [05:35:10]OFD Sender: No OFD packet to send [05:35:15]OFD Sender: No OFD packet to send [05:35:20]OFD Sender: No OFD packet to send [05:35:25]OFD Sender: No OFD packet to send [05:35:30]OFD Sender: No OFD packet to send [05:35:35]OFD Sender: No OFD packet to send [05:35:40]OFD Sender: No OFD packet to send [05:35:45]OFD Sender: No OFD packet to send [05:35:50]OFD Sender: No OFD packet to send [05:35:55]OFD Sender: No OFD packet to send [05:36:00]OFD Sender: No OFD packet to send [05:36:05]OFD Sender: No OFD packet to send [05:36:10]OFD Sender: No OFD packet to send [05:36:15]OFD Sender: No OFD packet to send [05:36:20]OFD Sender: No OFD packet to send [05:36:25]OFD Sender: No OFD packet to send [05:36:30]OFD Sender: No OFD packet to send [05:36:35]OFD Sender: No OFD packet to send [05:36:40]OFD Sender: No OFD packet to send [05:36:45]OFD Sender: No OFD packet to send [05:36:50]OFD Sender: No OFD packet to send [05:36:55]OFD Sender: No OFD packet to send [05:37:00]OFD Sender: No OFD packet to send [05:37:05]OFD Sender: No OFD packet to send [05:37:10]OFD Sender: No OFD packet to send [05:37:15]OFD Sender: No OFD packet to send [05:37:20]OFD Sender: No OFD packet to send [05:37:25]OFD Sender: No OFD packet to send [05:37:30]OFD Sender: No OFD packet to send [05:37:35]OFD Sender: No OFD packet to send [05:37:40]OFD Sender: No OFD packet to send [05:37:45]OFD Sender: No OFD packet to send [05:37:50]OFD Sender: No OFD packet to send [05:37:55]OFD Sender: No OFD packet to send [05:38:00]OFD Sender: No OFD packet to send [05:38:05]OFD Sender: No OFD packet to send [05:38:10]OFD Sender: No OFD packet to send [05:38:15]OFD Sender: No OFD packet to send [05:38:20]OFD Sender: No OFD packet to send [05:38:25]OFD Sender: No OFD packet to send [05:38:30]OFD Sender: No OFD packet to send [05:38:35]OFD Sender: No OFD packet to send [05:38:40]OFD Sender: No OFD packet to send [05:38:45]OFD Sender: No OFD packet to send [05:38:50]OFD Sender: No OFD packet to send [05:38:55]OFD Sender: No OFD packet to send [05:39:00]OFD Sender: No OFD packet to send [05:39:05]OFD Sender: No OFD packet to send [05:39:10]OFD Sender: No OFD packet to send [05:39:15]OFD Sender: No OFD packet to send [05:39:20]OFD Sender: No OFD packet to send [05:39:25]OFD Sender: No OFD packet to send [05:39:30]OFD Sender: No OFD packet to send [05:39:35]OFD Sender: No OFD packet to send [05:39:40]OFD Sender: No OFD packet to send [05:39:45]OFD Sender: No OFD packet to send [05:39:50]OFD Sender: No OFD packet to send [05:39:55]OFD Sender: No OFD packet to send [05:40:00]OFD Sender: No OFD packet to send [05:40:05]OFD Sender: No OFD packet to send [05:40:10]OFD Sender: No OFD packet to send [05:40:15]OFD Sender: No OFD packet to send [05:40:20]OFD Sender: No OFD packet to send [05:40:25]OFD Sender: No OFD packet to send [05:40:30]OFD Sender: No OFD packet to send [05:40:35]OFD Sender: No OFD packet to send [05:40:40]OFD Sender: No OFD packet to send [05:40:45]OFD Sender: No OFD packet to send [05:40:50]OFD Sender: No OFD packet to send [05:40:55]OFD Sender: No OFD packet to send [05:41:00]OFD Sender: No OFD packet to send [05:41:05]OFD Sender: No OFD packet to send [05:41:10]OFD Sender: No OFD packet to send [05:41:15]OFD Sender: No OFD packet to send [05:41:20]OFD Sender: No OFD packet to send [05:41:25]OFD Sender: No OFD packet to send [05:41:30]OFD Sender: No OFD packet to send [05:41:35]OFD Sender: No OFD packet to send [05:41:40]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:41]OFD Sender: No OFD packet to send [05:53:46]OFD Sender: No OFD packet to send [05:53:51]OFD Sender: No OFD packet to send [05:53:56]OFD Sender: No OFD packet to send [05:54:01]OFD Sender: No OFD packet to send [05:54:06]OFD Sender: No OFD packet to send [05:54:11]OFD Sender: No OFD packet to send [05:54:16]OFD Sender: No OFD packet to send [05:54:21]OFD Sender: No OFD packet to send [05:54:26]OFD Sender: No OFD packet to send [05:54:31]OFD Sender: No OFD packet to send [05:54:36]OFD Sender: No OFD packet to send [05:54:41]OFD Sender: No OFD packet to send [05:54:46]OFD Sender: No OFD packet to send [05:54:51]OFD Sender: No OFD packet to send [05:54:56]OFD Sender: No OFD packet to send [05:55:01]OFD Sender: No OFD packet to send [05:55:06]OFD Sender: No OFD packet to send [05:55:11]OFD Sender: No OFD packet to send [05:55:16]OFD Sender: No OFD packet to send [05:55:21]OFD Sender: No OFD packet to send [05:55:26]OFD Sender: No OFD packet to send [05:55:31]OFD Sender: No OFD packet to send [05:55:36]OFD Sender: No OFD packet to send [05:55:41]OFD Sender: No OFD packet to send [05:55:46]OFD Sender: No OFD packet to send [05:55:51]OFD Sender: No OFD packet to send [05:55:56]OFD Sender: No OFD packet to send [05:56:01]OFD Sender: No OFD packet to send [05:56:06]OFD Sender: No OFD packet to send [05:56:11]OFD Sender: No OFD packet to send [05:56:16]OFD Sender: No OFD packet to send [05:56:21]OFD Sender: No OFD packet to send [05:56:26]OFD Sender: No OFD packet to send [05:56:31]OFD Sender: No OFD packet to send [05:56:36]OFD Sender: No OFD packet to send [05:56:41]OFD Sender: No OFD packet to send [05:56:46]OFD Sender: No OFD packet to send [05:56:51]OFD Sender: No OFD packet to send [05:56:56]OFD Sender: No OFD packet to send [05:57:01]OFD Sender: No OFD packet to send [05:57:06]OFD Sender: No OFD packet to send [05:57:11]OFD Sender: No OFD packet to send [05:57:16]OFD Sender: No OFD packet to send [05:57:21]OFD Sender: No OFD packet to send [05:57:26]OFD Sender: No OFD packet to send [05:57:31]OFD Sender: No OFD packet to send [05:57:36]OFD Sender: No OFD packet to send [05:57:41]OFD Sender: No OFD packet to send [05:57:46]OFD Sender: No OFD packet to send [05:57:51]OFD Sender: No OFD packet to send [05:57:56]OFD Sender: No OFD packet to send [05:58:01]OFD Sender: No OFD packet to send [05:58:06]OFD Sender: No OFD packet to send [05:58:11]OFD Sender: No OFD packet to send [05:58:16]OFD Sender: No OFD packet to send [05:58:21]OFD Sender: No OFD packet to send [05:58:26]OFD Sender: No OFD packet to send [05:58:31]OFD Sender: No OFD packet to send [05:58:36]OFD Sender: No OFD packet to send [05:58:41]OFD Sender: No OFD packet to send [05:58:46]OFD Sender: No OFD packet to send [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59:01]OFD Sender: No OFD packet to send [05:59:06]OFD Sender: No OFD packet to send [05:59:11]OFD Sender: No OFD packet to send [05:59:16]OFD Sender: No OFD packet to send [05:59:21]OFD Sender: No OFD packet to send [05:59:26]OFD Sender: No OFD packet to send [05:59:31]OFD Sender: No OFD packet to send [05:59:36]OFD Sender: No OFD packet to send [05:59:41]OFD Sender: No OFD packet to send [05:59:46]OFD Sender: No OFD packet to send [05:59:51]OFD Sender: No OFD packet to send [05:59:56]OFD Sender: No OFD packet to send [06:00:01]OFD Sender: No OFD packet to send [06:00:06]OFD Sender: No OFD packet to send [06:00:11]OFD Sender: No OFD packet to send [06:00:16]OFD Sender: No OFD packet to send [06:00:21]OFD Sender: No OFD packet to send [06:00:26]OFD Sender: No OFD packet to send [06:00:31]OFD Sender: No OFD packet to send [06:00:36]OFD Sender: No OFD packet to send [06:00:41]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:42]OFD Sender: No OFD packet to send [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:07]OFD Sender: No OFD packet to send [06:10:12]OFD Sender: No OFD packet to send [06:10:17]OFD Sender: No OFD packet to send [06:10:22]OFD Sender: No OFD packet to send [06:10:27]OFD Sender: No OFD packet to send [06:10:32]OFD Sender: No OFD packet to send [06:10:37]OFD Sender: No OFD packet to send [06:10:42]OFD Sender: No OFD packet to send [06:10:47]OFD Sender: No OFD packet to send [06:10:52]OFD Sender: No OFD packet to send [06:10:57]OFD Sender: No OFD packet to send [06:11:02]OFD Sender: No OFD packet to send [06:11:07]OFD Sender: No OFD packet to send [06:11:12]OFD Sender: No OFD packet to send [06:11:17]OFD Sender: No OFD packet to send [06:11:22]OFD Sender: No OFD packet to send [06:11:27]OFD Sender: No OFD packet to send [06:11:32]OFD Sender: No OFD packet to send [06:11:37]OFD Sender: No OFD packet to send [06:11:42]OFD Sender: No OFD packet to send [06:11:47]OFD Sender: No OFD packet to send [06:11:52]OFD Sender: No OFD packet to send [06:11:57]OFD Sender: No OFD packet to send [06:12:02]OFD Sender: No OFD packet to send [06:12:07]OFD Sender: No OFD packet to send [06:12:12]OFD Sender: No OFD packet to send [06:12:17]OFD Sender: No OFD packet to send [06:12:22]OFD Sender: No OFD packet to send [06:12:27]OFD Sender: No OFD packet to send [06:12:32]OFD Sender: No OFD packet to send [06:12:37]OFD Sender: No OFD packet to send [06:12:42]OFD Sender: No OFD packet to send [06:12:47]OFD Sender: No OFD packet to send [06:12:52]OFD Sender: No OFD packet to send [06:12:57]OFD Sender: No OFD packet to send [06:13:02]OFD Sender: No OFD packet to send [06:13:07]OFD Sender: No OFD packet to send [06:13:12]OFD Sender: No OFD packet to send [06:13:17]OFD Sender: No OFD packet to send [06:13:22]OFD Sender: No OFD packet to send [06:13:27]OFD Sender: No OFD packet to send [06:13:32]OFD Sender: No OFD packet to send [06:13:37]OFD Sender: No OFD packet to send [06:13:42]OFD Sender: No OFD packet to send [06:13:47]OFD Sender: No OFD packet to send [06:13:52]OFD Sender: No OFD packet to send [06:13:57]OFD Sender: No OFD packet to send [06:14:02]OFD Sender: No OFD packet to send [06:14:07]OFD Sender: No OFD packet to send [06:14:12]OFD Sender: No OFD packet to send [06:14:17]OFD Sender: No OFD packet to send [06:14:22]OFD Sender: No OFD packet to send [06:14:27]OFD Sender: No OFD packet to send [06:14:32]OFD Sender: No OFD packet to send [06:14:37]OFD Sender: No OFD packet to send [06:14:42]OFD Sender: No OFD packet to send [06:14:47]OFD Sender: No OFD packet to send [06:14:52]OFD Sender: No OFD packet to send [06:14:57]OFD Sender: No OFD packet to send [06:15:02]OFD Sender: No OFD packet to send [06:15:07]OFD Sender: No OFD packet to send [06:15:08]accept exits with 8 [06:15:08]New connection [06:15:08]New thread 3067370852 created [06:15:08]Thread 3067227492 joined [06:15:08]Waiting for new connection... [06:15:08] Sock 8.Parse request [06:15:08]Sock 8.Check first char [06:15:08]Sock 8.First char is OK [06:15:08]request: POST /json_proto HTTP/1.0 [06:15:08]Method: POST [06:15:08]URL: /json_proto [06:15:08]Method is POST - this is cgi request [06:15:08]url: /json_proto [06:15:08]query_string will be loaded in cgi processing [06:15:08]execute_cgi json_proto POST (null) [06:15:08]execute_cgi path=json_proto method=POST [06:15:08]POST find Content-Length [06:15:08]Host: 172.17.56.68:8080 [06:15:08]Content-Length: 668 [06:15:08]Content-Type: application/json [06:15:08] [06:15:08]POST finish read [06:15:08]Found Content-Length = 668 [06:15:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4277", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\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" ] } } [06:15:08]execute_script... [06:15:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4277", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\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" ] } } [06:15:08]POST & json_proto [06:15:08]process_json_proto [06:15:08]json parsed OK: [06:15:08]protocol is kg_v1.0 [06:15:08]action value=close_receipt [06:15:08]process_action close_receipt [06:15:08]cmd_close_receipt [06:15:08]MH_GetDate [06:15:08]Write to MH i2c: F0 00 00 BB 02 AC [06:15:08]Write i2c OK [06:15:08]MH_I2C_Read... [06:15:08]Read from MH i2c: F0 [06:15:08]MH_I2C_Read... [06:15:08]Read from MH i2c: F0 09 00 [06:15:08]MH_I2C_Read... [06:15:08]Read from MH i2c: F0 09 00 BB 02 00 6F 5F 5D 66 42 69 5C 66 B3 [06:15:08]GetLastDocTimeStamp 1717387325 [06:15:08]current date 1717395311 [06:15:08]FM_GetShiftState [06:15:08]SAM_PROTO_GetShiftState [06:15:08]wFMCommunicate request_size=4 [06:15:08]MH_SAM_APDU [06:15:08]CAPDU: 80 13 01 00 [06:15:08]Write to MH i2c: E2 08 00 BC 02 80 13 01 00 00 00 00 00 3B [06:15:09]Write i2c OK [06:15:09]MH_I2C_Read... [06:15:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:15:09]Read from MH i2c: E2 [06:15:09]MH_I2C_Read... [06:15:09]Read from MH i2c: E2 0E 00 [06:15:09]MH_I2C_Read... [06:15:09]Read from MH i2c: E2 0E 00 BC 02 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 C9 [06:15:09]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [06:15:09]wFMCommunicate OK [06:15:09]SAM_PROTO_GetShiftState done [06:15:09]FM_GetShiftState done [06:15:09]opened in 1717372856 [06:15:09]opened+sec_in_day 1717459256 [06:15:09]quantity*price = 9500 [06:15:09]sum+1 = 9501 [06:15:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 4 03.06.2024 06:15 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4023 ФПД: 151216841576923 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T061511&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4023&fm=151216841576923&tin=02508201610067®Number=0000000000145775&sum=9500 0 [06:15:10]StoreToDocumentArchive [06:15:10]shift 82 fd 4023 [06:15:10]save to /storage/0082/doc_00004023 [06:15:10]save last doc name /storage/0082/doc_00004023 to /storage/kkm_last_doc_name [06:15:10]save OK [06:15:10]Clear old archive folders... [06:15:10]ProcessDocumentItem done err = 0, tmpTLVsize=293 [06:15:10]tlvbuf is 007761B0 [06:15:10]SAM_PROTO_ClearQueue [06:15:10]wFMCommunicate request_size=4 [06:15:10]MH_SAM_APDU [06:15:10]CAPDU: 80 09 00 00 [06:15:10]Write to MH i2c: E2 08 00 C9 02 80 09 00 00 00 00 00 00 3D [06:15:10]Write i2c OK [06:15:10]MH_I2C_Read... [06:15:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:15:10]Read from MH i2c: E2 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 03 00 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 03 00 C9 02 00 90 00 3F [06:15:10]RAPDU: 90 00 [06:15:10]wFMCommunicate OK [06:15:10]SAM_PROTO_ClearQueue done [06:15:10]KKMCreateOFDPacket [06:15:10]OFDProtocolAddRootSTLVToBuf [06:15:10]FM_MakeSignedData [06:15:10]FM_MakeSignedData [06:15:10]SAM_PROTO_SignData [06:15:10]wFMCommunicate request_size=4 [06:15:10]MH_SAM_APDU [06:15:10]CAPDU: 80 0D 01 02 [06:15:10]Write to MH i2c: E2 08 00 CA 02 80 0D 01 02 00 00 00 00 45 [06:15:10]Write i2c OK [06:15:10]MH_I2C_Read... [06:15:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:15:10]Read from MH i2c: E2 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 03 00 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 03 00 CA 02 00 90 00 40 [06:15:10]RAPDU: 90 00 [06:15:10]wFMCommunicate OK [06:15:10]wFMCommunicate request_size=255 [06:15:10]MH_SAM_APDU [06:15:10]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 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 04 00 00 00 F4 03 04 00 6F 5F 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [06:15:10]Write to MH i2c: E2 02 01 CB 02 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 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 04 00 00 00 F4 03 04 00 6F 5F 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 24 [06:15:10]Write i2c OK [06:15:10]MH_I2C_Read... [06:15:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:15:10]Read from MH i2c: E2 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 03 00 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 03 00 CB 02 00 90 00 41 [06:15:10]RAPDU: 90 00 [06:15:10]wFMCommunicate OK [06:15:10]wFMCommunicate request_size=52 [06:15:10]MH_SAM_APDU [06:15:10]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B7 0F 00 00 35 04 06 00 89 87 EA 20 51 DB [06:15:10]Write to MH i2c: E2 37 00 CC 02 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B7 0F 00 00 35 04 06 00 89 87 EA 20 51 DB 00 00 1B [06:15:10]Write i2c OK [06:15:10]MH_I2C_Read... [06:15:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:15:10]Read from MH i2c: E2 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 03 00 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 03 00 CC 02 00 90 00 42 [06:15:10]RAPDU: 90 00 [06:15:10]wFMCommunicate OK [06:15:10]wFMCommunicate request_size=4 [06:15:10]MH_SAM_APDU [06:15:10]CAPDU: 80 0D 03 02 [06:15:10]Write to MH i2c: E2 08 00 CD 02 80 0D 03 02 00 00 00 00 4A [06:15:10]Write i2c OK [06:15:10]MH_I2C_Read... [06:15:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:15:10]Read from MH i2c: E2 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 0B 00 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 0B 00 CD 02 00 6C A7 CA FC BE 95 26 68 90 00 05 [06:15:10]RAPDU: 6C A7 CA FC BE 95 26 68 90 00 [06:15:10]wFMCommunicate OK [06:15:10]SAM_PROTO_SignData done [06:15:10]FM_MakeSignedData done [06:15:10]CreateOFDProtocolMessage [06:15:10]wFMCommunicate request_size=4 [06:15:10]MH_SAM_APDU [06:15:10]CAPDU: 80 11 00 00 [06:15:10]Write to MH i2c: E2 08 00 CE 02 80 11 00 00 00 00 00 00 4A [06:15:10]Write i2c OK [06:15:10]MH_I2C_Read... [06:15:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:15:10]Read from MH i2c: E2 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 17 00 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: E2 17 00 CE 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 9D [06:15:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [06:15:10]wFMCommunicate OK [06:15:10]CreateOFDProtocolMessage done [06:15:10]OFDSenderStorePacket 4023 [06:15:10]StoreOFDPacket docnum=4023 [06:15:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 EF 29 31 01 80 C9 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 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 04 00 00 00 F4 03 04 00 6F 5F 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B7 0F 00 00 35 04 06 00 89 87 EA 20 51 DB 6C A7 CA FC BE 95 26 68 [06:15:10]CheckFolder [06:15:10]dirname=/storage/ofd_packets [06:15:10]CheckFolder done [06:15:10]ProducePacketName [06:15:10]name=ofd_packets/00004023 [06:15:10]NVStorageSaveData ofd_packets/00004023 [06:15:10]File name is /storage/ofd_packets/00004023 [06:15:10]Write 343 bytes [06:15:10]NVStorageSaveData done [06:15:10]OFDSenderStorePacket done [06:15:10]KKMCreateOFDPacket done [06:15:10]NVStorageSaveData kkm_last_timestamp [06:15:10]File name is /storage/kkm_last_timestamp [06:15:10]Write 4 bytes [06:15:10]NVStorageSaveData done [06:15:10]ExternCall_PrintAddStr [06:15:10]wPrintStart [06:15:10]Write to MH i2c: 01 00 00 CF 02 D1 [06:15:10]Write i2c OK [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: 01 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: 01 07 00 [06:15:10]MH_I2C_Read... [06:15:10]Read from MH i2c: 01 07 00 CF 02 00 00 00 00 00 FF 0F E6 [06:15:10]RasterBufferAndPrint [06:15:10]line Счет N : (3)4277 [06:15:10]line ИНН: 02508201610067 [06:15:10]line Контрольно-Кассовый Чек [06:15:10]line ПРОДАЖА [06:15:10]line Товар: 4700003010056 [06:15:10]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [06:15:10]line 1.000 * 95.00 [06:15:10]line = 95.00 [06:15:10]line НДС 12% НСП 1% [06:15:10]line > о реализуемом товаре [06:15:10]line ИТОГО: 95.00 [06:15:10]line НСП 1% : 0.84 [06:15:10]line НДС 12% : 10.09 [06:15:10]line Наличными: 95.00 [06:15:10]line Безнал.: 0.00 [06:15:10]line Место: АЗС № 116 "Партнер Нефть" [06:15:10]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [06:15:10]line СНО: Общий режим [06:15:10]line Чек 4 03.06.2024 06:15 [06:15:10]line Смена: 82 ФФД: 1.0 [06:15:10]line ЗНМ: 0300000233 [06:15:10]line РНМ: 0000000000145775 [06:15:10]line Версия ККМ: v1.0 [06:15:10]line ФМ: 0000000000959360 [06:15:10]line ФД: 4023 [06:15:10]line ФПД: 151216841576923 [06:15:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T061511&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4023&fm=151216841576923&tin=02508201610067®Number=0000000000145775&sum=9500 [06:15:11]line 0 [06:15:11]OFD Sender: Processing packet 4023 [packets to send 2, broken 1] [06:15:11]ProducePacketName [06:15:11]name=ofd_packets/00004023 [06:15:11]OFD Sender: To server: pG, [06:15:11]CommunicateWithHost lk.salyk.kg:30040 [06:15:11]ConnectInit lk.salyk.kg [06:15:11]written 0, free lines is 4095 [06:15:11]Connected sock=10 [06:15:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 EF 29 31 01 80 C9 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 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 04 00 00 00 F4 03 04 00 6F 5F 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B7 0F 00 00 35 04 06 00 89 87 EA 20 51 DB 6C A7 CA FC BE 95 26 68 [06:15:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 34 A1 47 00 AA 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B7 0F 00 00 F4 03 04 00 73 0B 5D 66 B6 04 01 00 00 4F 74 72 34 A0 91 27 93 [06:15:11]CommunicateWithHost err = 0 [06:15:11]CheckOFDResponse [06:15:11]1017 (14) - 77093643461234 [06:15:11]1041 (16) - 0000000000959360 [06:15:11]1040 (4) - 4023 [06:15:11]1012 (4) - 03.06.2024 00:16 [06:15:11]1206 (1) - 0 [06:15:11]OFD Sender: Remove packet 4023 [06:15:11]ProducePacketName [06:15:11]name=ofd_packets/00004023 [06:15:11]NVStorageDeleteData [06:15:11]Write to MH i2c: 01 00 00 F8 02 FA [06:15:11]Write i2c OK [06:15:11]MH_I2C_Read... [06:15:11]Read from MH i2c: 01 [06:15:11]MH_I2C_Read... [06:15:11]Read from MH i2c: 01 07 00 [06:15:11]MH_I2C_Read... [06:15:11]Read from MH i2c: 01 07 00 F8 02 00 00 00 00 00 B8 0C C5 [06:15:11]RasterBufferAndPrint [06:15:11]line [06:15:11]line [06:15:11]line [06:15:11]line [06:15:11]line [06:15:11]written 0, free lines is 3260 [06:15:11]MH_Cut [06:15:11]Write to MH i2c: D1 01 00 FF 02 01 D3 [06:15:11]Write i2c OK [06:15:11]MH_I2C_Read... [06:15:11]Read from MH i2c: D1 [06:15:11]MH_I2C_Read... [06:15:11]Read from MH i2c: D1 01 00 [06:15:11]MH_I2C_Read... [06:15:11]Read from MH i2c: D1 01 00 FF 02 00 D2 [06:15:11]Write to MH i2c: 01 00 00 00 03 03 [06:15:11]Write i2c OK [06:15:11]MH_I2C_Read... [06:15:11]OFD Sender: No OFD packet to send [06:15:12]*** Cut start [06:15:12]*** Partial cut [06:15:12]*** CUTSNS_PIN = 1 [06:15:12]*** CUTSNS_PIN = 0 [06:15:12]*** Brake cut motor [06:15:13]Read from MH i2c: 01 [06:15:13]MH_I2C_Read... [06:15:13]*** Stop cut motor [06:15:13]*** Cut end [06:15:13]Read from MH i2c: 01 07 00 [06:15:13]MH_I2C_Read... [06:15:13]Read from MH i2c: 01 07 00 00 03 00 00 00 00 00 FF 0F 18 [06:15:13]process_action close_receipt done [06:15:13]requested_data is exist [06:15:13]produce_requested_data [06:15:13]requested_item fm.sn is exist - process it [06:15:13]wFMCommunicate request_size=4 [06:15:13]MH_SAM_APDU [06:15:13]CAPDU: 80 11 00 00 [06:15:13]Write to MH i2c: E2 08 00 01 03 80 11 00 00 00 00 00 00 7E [06:15:13]Write i2c OK [06:15:13]MH_I2C_Read... [06:15:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:15:13]Read from MH i2c: E2 [06:15:13]MH_I2C_Read... [06:15:13]Read from MH i2c: E2 17 00 [06:15:13]MH_I2C_Read... [06:15:13]Read from MH i2c: E2 17 00 01 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D1 [06:15:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [06:15:13]wFMCommunicate OK [06:15:13]requested_item fd.num is exist - process it [06:15:13]SAM_PROTO_GetFieldsCounters [06:15:13]wFMCommunicate request_size=4 [06:15:13]MH_SAM_APDU [06:15:13]CAPDU: 80 13 00 00 [06:15:13]Write to MH i2c: E2 08 00 02 03 80 13 00 00 00 00 00 00 81 [06:15:13]Write i2c OK [06:15:13]MH_I2C_Read... [06:15:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:15:13]Read from MH i2c: E2 [06:15:13]MH_I2C_Read... [06:15:13]Read from MH i2c: E2 62 00 [06:15:13]MH_I2C_Read... [06:15:13]Read from MH i2c: E2 62 00 02 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 B7 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 CA [06:15:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 B7 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:15:13]wFMCommunicate OK [06:15:13]SAM_PROTO_GetFieldsCounters done [06:15:13]requested_item shift.num is exist - process it [06:15:13]requested_item shift.opened is exist - process it [06:15:13]req_shift_opened [06:15:13]FM_GetShiftState [06:15:13]SAM_PROTO_GetShiftState [06:15:13]wFMCommunicate request_size=4 [06:15:13]MH_SAM_APDU [06:15:13]CAPDU: 80 13 01 00 [06:15:13]Write to MH i2c: E2 08 00 03 03 80 13 01 00 00 00 00 00 83 [06:15:13]Write i2c OK [06:15:13]MH_I2C_Read... [06:15:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:15:13]Read from MH i2c: E2 [06:15:13]MH_I2C_Read... [06:15:13]Read from MH i2c: E2 0E 00 [06:15:13]MH_I2C_Read... [06:15:13]Read from MH i2c: E2 0E 00 03 03 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 11 [06:15:13]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [06:15:13]wFMCommunicate OK [06:15:13]SAM_PROTO_GetShiftState done [06:15:13]FM_GetShiftState done [06:15:13]req_shift_opened done [06:15:13]requested_item shift.open_date is exist - process it [06:15:13]req_shift_open_date [06:15:13]req_shift_open_date done [06:15:13]produce_requested_data done [06:15:13]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4023,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [06:15:13]process_action_free close_receipt [06:15:13]json_value_free [06:15:13]json_value_free done [06:15:13]process_json_proto returns [06:15:13]Send response to host [06:15:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4023,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [06:15:13]free response buf [06:15:13]execute_script done [06:15:13]execute_script returns [06:15:13]free content buf [06:15:13]Sock 8.Close socket [06:15:13]Sock 8.Thread stoped [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15:51]OFD Sender: No OFD packet to send [06:15:56]OFD Sender: No OFD packet to send [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16:36]OFD Sender: No OFD packet to send [06:16:41]OFD Sender: No OFD packet to send [06:16:46]OFD Sender: No OFD packet to send [06:16:51]OFD Sender: No OFD packet to send [06:16:56]OFD Sender: No OFD packet to send [06:17:01]OFD Sender: No OFD packet to send [06:17:06]OFD Sender: No OFD packet to send [06:17:11]OFD Sender: No OFD packet to send [06:17:16]OFD Sender: No OFD packet to send [06:17:21]OFD Sender: No OFD packet to send [06:17:26]OFD Sender: No OFD packet to send [06:17:31]OFD Sender: No OFD packet to send [06:17:36]OFD Sender: No OFD packet to send [06:17:41]OFD Sender: No OFD packet to send [06:17:46]OFD Sender: No OFD packet to send [06:17:51]OFD Sender: No OFD packet to send [06:17:56]OFD Sender: No OFD packet to send [06:18:01]OFD Sender: No OFD packet to send [06:18:06]OFD Sender: No OFD packet to send [06:18:12]OFD Sender: No OFD packet to send [06:18:17]OFD Sender: No OFD packet to send [06:18:22]OFD Sender: No OFD packet to send [06:18:27]OFD Sender: No OFD packet to send [06:18:32]OFD Sender: No OFD packet to send [06:18:37]OFD Sender: No OFD packet to send [06:18:42]OFD Sender: No OFD packet to send [06:18:47]OFD Sender: No OFD packet to send [06:18:52]OFD Sender: No OFD packet to send [06:18:57]OFD Sender: No OFD packet to send [06:19:02]OFD Sender: No OFD packet to send [06:19:07]OFD Sender: No OFD packet to send [06:19:12]OFD Sender: No OFD packet to send [06:19:17]OFD Sender: No OFD packet to send [06:19:22]OFD Sender: No OFD packet to send [06:19:27]OFD Sender: No OFD packet to send [06:19:32]OFD Sender: No OFD packet to send [06:19:37]OFD Sender: No OFD packet to send [06:19:42]OFD Sender: No OFD packet to send [06:19:47]OFD Sender: No OFD packet to send [06:19:52]OFD Sender: No OFD packet to send [06:19:57]OFD Sender: No OFD packet to send [06:20:02]OFD Sender: No OFD packet to send [06:20:07]OFD Sender: No OFD packet to send [06:20:12]OFD Sender: No OFD packet to send [06:20:17]OFD Sender: No OFD packet to send [06:20:22]OFD Sender: No OFD packet to send [06:20:27]OFD Sender: No OFD packet to send [06:20:32]OFD Sender: No OFD packet to send [06:20:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]accept exits with 9 [06:23:52]New connection [06:23:52]New thread 3067227492 created [06:23:52]Thread 3067370852 joined [06:23:52]Waiting for new connection... [06:23:52] Sock 9.Parse request [06:23:52]Sock 9.Check first char [06:23:52]Sock 9.First char is OK [06:23:52]request: POST /json_proto HTTP/1.0 [06:23:52]Method: POST [06:23:52]URL: /json_proto [06:23:52]Method is POST - this is cgi request [06:23:52]url: /json_proto [06:23:52]query_string will be loaded in cgi processing [06:23:52]execute_cgi json_proto POST (null) [06:23:52]execute_cgi path=json_proto method=POST [06:23:52]POST find Content-Length [06:23:52]Host: 172.17.56.68:8080 [06:23:52]Content-Length: 773 [06:23:52]Content-Type: application/json [06:23:52] [06:23:52]POST finish read [06:23:52]Found Content-Length = 773 [06:23:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4278", "tax_sys" : 0, "items" : [ { "code": "4700002083327", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,5", "price" : 510.00, "quantity" : 1.000, "sum" : 510.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" : 510.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:23:52]execute_script... [06:23:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4278", "tax_sys" : 0, "items" : [ { "code": "4700002083327", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,5", "price" : 510.00, "quantity" : 1.000, "sum" : 510.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" : 510.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:23:52]POST & json_proto [06:23:52]process_json_proto [06:23:52]json parsed OK: [06:23:52]protocol is kg_v1.0 [06:23:52]action value=close_receipt [06:23:52]process_action close_receipt [06:23:52]cmd_close_receipt [06:23:52]MH_GetDate [06:23:52]Write to MH i2c: F0 00 00 04 03 F6 [06:23:52]Write i2c OK [06:23:52]MH_I2C_Read... [06:23:52]Read from MH i2c: F0 [06:23:52]MH_I2C_Read... [06:23:52]Read from MH i2c: F0 09 00 [06:23:52]MH_I2C_Read... [06:23:52]Read from MH i2c: F0 09 00 04 03 00 7A 61 5D 66 42 69 5C 66 0A [06:23:52]GetLastDocTimeStamp 1717395311 [06:23:52]current date 1717395834 [06:23:52]FM_GetShiftState [06:23:52]SAM_PROTO_GetShiftState [06:23:52]wFMCommunicate request_size=4 [06:23:52]MH_SAM_APDU [06:23:52]CAPDU: 80 13 01 00 [06:23:52]Write to MH i2c: E2 08 00 05 03 80 13 01 00 00 00 00 00 85 [06:23:52]Write i2c OK [06:23:52]MH_I2C_Read... [06:23:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:23:52]Read from MH i2c: E2 [06:23:52]MH_I2C_Read... [06:23:52]Read from MH i2c: E2 0E 00 [06:23:52]MH_I2C_Read... [06:23:52]Read from MH i2c: E2 0E 00 05 03 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 13 [06:23:52]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [06:23:52]wFMCommunicate OK [06:23:52]SAM_PROTO_GetShiftState done [06:23:52]FM_GetShiftState done [06:23:52]opened in 1717372856 [06:23:52]opened+sec_in_day 1717459256 [06:23:52]quantity*price = 51000 [06:23:52]sum+1 = 51001 [06:23:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 510.00 НСП 1% : 4.51 НДС 12% : 54.16 Наличными: 0.00 Безнал.: 510.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 5 03.06.2024 06:23 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4024 ФПД: 115901287148036 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T062354&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4024&fm=115901287148036&tin=02508201610067®Number=0000000000145775&sum=51000 0 [06:23:53]StoreToDocumentArchive [06:23:53]shift 82 fd 4024 [06:23:53]save to /storage/0082/doc_00004024 [06:23:53]save last doc name /storage/0082/doc_00004024 to /storage/kkm_last_doc_name [06:23:53]save OK [06:23:53]Clear old archive folders... [06:23:53]ProcessDocumentItem done err = 0, tmpTLVsize=262 [06:23:53]tlvbuf is 0076ED20 [06:23:53]SAM_PROTO_ClearQueue [06:23:53]wFMCommunicate request_size=4 [06:23:53]MH_SAM_APDU [06:23:53]CAPDU: 80 09 00 00 [06:23:53]Write to MH i2c: E2 08 00 12 03 80 09 00 00 00 00 00 00 87 [06:23:53]Write i2c OK [06:23:53]MH_I2C_Read... [06:23:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:23:53]Read from MH i2c: E2 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 03 00 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 03 00 12 03 00 90 00 89 [06:23:53]RAPDU: 90 00 [06:23:53]wFMCommunicate OK [06:23:53]SAM_PROTO_ClearQueue done [06:23:53]KKMCreateOFDPacket [06:23:53]OFDProtocolAddRootSTLVToBuf [06:23:53]FM_MakeSignedData [06:23:53]FM_MakeSignedData [06:23:53]SAM_PROTO_SignData [06:23:53]wFMCommunicate request_size=4 [06:23:53]MH_SAM_APDU [06:23:53]CAPDU: 80 0D 01 02 [06:23:53]Write to MH i2c: E2 08 00 13 03 80 0D 01 02 00 00 00 00 8F [06:23:53]Write i2c OK [06:23:53]MH_I2C_Read... [06:23:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:23:53]Read from MH i2c: E2 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 03 00 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 03 00 13 03 00 90 00 8A [06:23:53]RAPDU: 90 00 [06:23:53]wFMCommunicate OK [06:23:53]wFMCommunicate request_size=255 [06:23:53]MH_SAM_APDU [06:23:53]CAPDU: 80 0D 02 02 FA 03 00 06 01 1E 04 01 00 01 23 04 58 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 32 37 06 04 14 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 C7 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 C7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 C7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7A 61 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 [06:23:53]Write to MH i2c: E2 02 01 14 03 80 0D 02 02 FA 00 03 00 06 01 1E 04 01 00 01 23 04 58 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 32 37 06 04 14 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 C7 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 C7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 C7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7A 61 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 00 00 C6 [06:23:53]Write i2c OK [06:23:53]MH_I2C_Read... [06:23:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:23:53]Read from MH i2c: E2 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 03 00 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 03 00 14 03 00 90 00 8B [06:23:53]RAPDU: 90 00 [06:23:53]wFMCommunicate OK [06:23:53]wFMCommunicate request_size=21 [06:23:53]MH_SAM_APDU [06:23:53]CAPDU: 80 0D 02 02 10 04 00 B8 0F 00 00 35 04 06 00 69 69 5F 0C AA 04 [06:23:53]Write to MH i2c: E2 18 00 15 03 80 0D 02 02 10 00 04 00 B8 0F 00 00 35 04 06 00 69 69 5F 0C AA 04 00 00 A7 [06:23:53]Write i2c OK [06:23:53]MH_I2C_Read... [06:23:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:23:53]Read from MH i2c: E2 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 03 00 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 03 00 15 03 00 90 00 8C [06:23:53]RAPDU: 90 00 [06:23:53]wFMCommunicate OK [06:23:53]wFMCommunicate request_size=4 [06:23:53]MH_SAM_APDU [06:23:53]CAPDU: 80 0D 03 02 [06:23:53]Write to MH i2c: E2 08 00 16 03 80 0D 03 02 00 00 00 00 94 [06:23:53]Write i2c OK [06:23:53]MH_I2C_Read... [06:23:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:23:53]Read from MH i2c: E2 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 0B 00 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 0B 00 16 03 00 49 C4 2D F6 E7 4C 17 B5 90 00 C4 [06:23:53]RAPDU: 49 C4 2D F6 E7 4C 17 B5 90 00 [06:23:53]wFMCommunicate OK [06:23:53]SAM_PROTO_SignData done [06:23:53]FM_MakeSignedData done [06:23:53]CreateOFDProtocolMessage [06:23:53]wFMCommunicate request_size=4 [06:23:53]MH_SAM_APDU [06:23:53]CAPDU: 80 11 00 00 [06:23:53]Write to MH i2c: E2 08 00 17 03 80 11 00 00 00 00 00 00 94 [06:23:53]Write i2c OK [06:23:53]MH_I2C_Read... [06:23:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:23:53]Read from MH i2c: E2 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 17 00 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: E2 17 00 17 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E7 [06:23:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [06:23:53]wFMCommunicate OK [06:23:53]CreateOFDProtocolMessage done [06:23:53]OFDSenderStorePacket 4024 [06:23:53]StoreOFDPacket docnum=4024 [06:23:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1A 01 00 00 32 EB 12 01 D2 BD 5A 03 01 00 03 00 06 01 1E 04 01 00 01 23 04 58 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 32 37 06 04 14 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 C7 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 C7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 C7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7A 61 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B8 0F 00 00 35 04 06 00 69 69 5F 0C AA 04 49 C4 2D F6 E7 4C 17 B5 [06:23:53]CheckFolder [06:23:53]dirname=/storage/ofd_packets [06:23:53]CheckFolder done [06:23:53]ProducePacketName [06:23:53]name=ofd_packets/00004024 [06:23:53]NVStorageSaveData ofd_packets/00004024 [06:23:53]File name is /storage/ofd_packets/00004024 [06:23:53]Write 312 bytes [06:23:53]NVStorageSaveData done [06:23:53]OFDSenderStorePacket done [06:23:53]KKMCreateOFDPacket done [06:23:53]NVStorageSaveData kkm_last_timestamp [06:23:53]File name is /storage/kkm_last_timestamp [06:23:53]Write 4 bytes [06:23:53]NVStorageSaveData done [06:23:53]ExternCall_PrintAddStr [06:23:53]wPrintStart [06:23:53]Write to MH i2c: 01 00 00 18 03 1B [06:23:53]Write i2c OK [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: 01 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: 01 07 00 [06:23:53]MH_I2C_Read... [06:23:53]Read from MH i2c: 01 07 00 18 03 00 00 00 00 00 FF 0F 30 [06:23:53]RasterBufferAndPrint [06:23:53]line Счет N : (3)4278 [06:23:53]line ИНН: 02508201610067 [06:23:53]line Контрольно-Кассовый Чек [06:23:53]line ПРОДАЖА [06:23:53]line Товар: 4700002083327 [06:23:53]line Водка Level 0,5 [06:23:53]line 1.000 * 510.00 [06:23:53]line = 510.00 [06:23:53]line НДС 12% НСП 1% [06:23:53]line > о реализуемом товаре [06:23:53]line ИТОГО: 510.00 [06:23:53]line НСП 1% : 4.51 [06:23:53]line НДС 12% : 54.16 [06:23:53]line Наличными: 0.00 [06:23:53]line Безнал.: 510.00 [06:23:53]line Место: АЗС № 116 "Партнер Нефть" [06:23:53]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [06:23:53]line СНО: Общий режим [06:23:53]line Чек 5 03.06.2024 06:23 [06:23:53]line Смена: 82 ФФД: 1.0 [06:23:54]line ЗНМ: 0300000233 [06:23:54]line РНМ: 0000000000145775 [06:23:54]line Версия ККМ: v1.0 [06:23:54]line Платежная система: Бакай Банк [06:23:54]line ФМ: 0000000000959360 [06:23:54]line ФД: 4024 [06:23:54]line ФПД: 115901287148036 [06:23:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T062354&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4024&fm=115901287148036&tin=02508201610067®Number=0000000000145775&sum=51000 [06:23:54]line 0 [06:23:54]OFD Sender: Processing packet 4024 [packets to send 2, broken 1] [06:23:54]ProducePacketName [06:23:54]name=ofd_packets/00004024 [06:23:54]OFD Sender: To server: pG, [06:23:54]CommunicateWithHost lk.salyk.kg:30040 [06:23:54]ConnectInit lk.salyk.kg [06:23:54]written 0, free lines is 4095 [06:23:54]Connected sock=10 [06:23:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1A 01 00 00 32 EB 12 01 D2 BD 5A 03 01 00 03 00 06 01 1E 04 01 00 01 23 04 58 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 32 37 06 04 14 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 C7 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 C7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 C7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7A 61 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B8 0F 00 00 35 04 06 00 69 69 5F 0C AA 04 49 C4 2D F6 E7 4C 17 B5 [06:23:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 46 5D 47 00 C3 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B8 0F 00 00 F4 03 04 00 7E 0D 5D 66 B6 04 01 00 00 A7 C7 24 4C 4B A8 23 12 [06:23:54]CommunicateWithHost err = 0 [06:23:54]CheckOFDResponse [06:23:54]1017 (14) - 77093643461234 [06:23:54]1041 (16) - 0000000000959360 [06:23:54]1040 (4) - 4024 [06:23:54]1012 (4) - 03.06.2024 00:25 [06:23:54]1206 (1) - 0 [06:23:54]OFD Sender: Remove packet 4024 [06:23:54]ProducePacketName [06:23:54]name=ofd_packets/00004024 [06:23:54]NVStorageDeleteData [06:23:54]Write to MH i2c: 01 00 00 42 03 45 [06:23:54]Write i2c OK [06:23:54]MH_I2C_Read... [06:23:54]Read from MH i2c: 01 [06:23:54]MH_I2C_Read... [06:23:54]Read from MH i2c: 01 07 00 [06:23:54]MH_I2C_Read... [06:23:54]Read from MH i2c: 01 07 00 42 03 00 00 00 00 00 B2 0C 0A [06:23:54]RasterBufferAndPrint [06:23:54]line [06:23:54]line [06:23:54]line [06:23:54]line [06:23:54]line [06:23:54]written 0, free lines is 3255 [06:23:54]MH_Cut [06:23:54]Write to MH i2c: D1 01 00 49 03 01 1E [06:23:54]Write i2c OK [06:23:54]MH_I2C_Read... [06:23:54]Read from MH i2c: D1 [06:23:54]MH_I2C_Read... [06:23:54]Read from MH i2c: D1 01 00 [06:23:54]MH_I2C_Read... [06:23:54]Read from MH i2c: D1 01 00 49 03 00 1D [06:23:54]Write to MH i2c: 01 00 00 4A 03 4D [06:23:54]Write i2c OK [06:23:54]MH_I2C_Read... [06:23:54]OFD Sender: No OFD packet to send [06:23:55]*** Cut start [06:23:55]*** Partial cut [06:23:55]*** CUTSNS_PIN = 1 [06:23:55]*** CUTSNS_PIN = 0 [06:23:55]*** Brake cut motor [06:23:56]Read from MH i2c: 01 [06:23:56]MH_I2C_Read... [06:23:56]*** Stop cut motor [06:23:56]*** Cut end [06:23:56]Read from MH i2c: 01 07 00 [06:23:56]MH_I2C_Read... [06:23:56]Read from MH i2c: 01 07 00 4A 03 00 00 00 00 00 FF 0F 62 [06:23:56]process_action close_receipt done [06:23:56]requested_data is exist [06:23:56]produce_requested_data [06:23:56]requested_item fm.sn is exist - process it [06:23:56]wFMCommunicate request_size=4 [06:23:56]MH_SAM_APDU [06:23:56]CAPDU: 80 11 00 00 [06:23:56]Write to MH i2c: E2 08 00 4B 03 80 11 00 00 00 00 00 00 C8 [06:23:56]Write i2c OK [06:23:56]MH_I2C_Read... [06:23:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:23:56]Read from MH i2c: E2 [06:23:56]MH_I2C_Read... [06:23:56]Read from MH i2c: E2 17 00 [06:23:56]MH_I2C_Read... [06:23:56]Read from MH i2c: E2 17 00 4B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1B [06:23:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [06:23:56]wFMCommunicate OK [06:23:56]requested_item fd.num is exist - process it [06:23:56]SAM_PROTO_GetFieldsCounters [06:23:56]wFMCommunicate request_size=4 [06:23:56]MH_SAM_APDU [06:23:56]CAPDU: 80 13 00 00 [06:23:56]Write to MH i2c: E2 08 00 4C 03 80 13 00 00 00 00 00 00 CB [06:23:56]Write i2c OK [06:23:56]MH_I2C_Read... [06:23:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:23:56]Read from MH i2c: E2 [06:23:56]MH_I2C_Read... [06:23:56]Read from MH i2c: E2 62 00 [06:23:56]MH_I2C_Read... [06:23:56]Read from MH i2c: E2 62 00 4C 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 B8 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 18 [06:23:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 B8 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:23:56]wFMCommunicate OK [06:23:56]SAM_PROTO_GetFieldsCounters done [06:23:56]requested_item shift.num is exist - process it [06:23:56]requested_item shift.opened is exist - process it [06:23:56]req_shift_opened [06:23:56]FM_GetShiftState [06:23:56]SAM_PROTO_GetShiftState [06:23:56]wFMCommunicate request_size=4 [06:23:56]MH_SAM_APDU [06:23:56]CAPDU: 80 13 01 00 [06:23:56]Write to MH i2c: E2 08 00 4D 03 80 13 01 00 00 00 00 00 CD [06:23:56]Write i2c OK [06:23:56]MH_I2C_Read... [06:23:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:23:56]Read from MH i2c: E2 [06:23:56]MH_I2C_Read... [06:23:56]Read from MH i2c: E2 0E 00 [06:23:56]MH_I2C_Read... [06:23:56]Read from MH i2c: E2 0E 00 4D 03 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 5B [06:23:56]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [06:23:56]wFMCommunicate OK [06:23:56]SAM_PROTO_GetShiftState done [06:23:56]FM_GetShiftState done [06:23:56]req_shift_opened done [06:23:56]requested_item shift.open_date is exist - process it [06:23:56]req_shift_open_date [06:23:56]req_shift_open_date done [06:23:56]produce_requested_data done [06:23:56]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4024,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [06:23:56]process_action_free close_receipt [06:23:56]json_value_free [06:23:56]json_value_free done [06:23:56]process_json_proto returns [06:23:56]Send response to host [06:23:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4024,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [06:23:56]free response buf [06:23:56]execute_script done [06:23:56]execute_script returns [06:23:56]free content buf [06:23:56]Sock 9.Close socket [06:23:56]Sock 9.Thread stoped [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:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:05]OFD Sender: No OFD packet to send [06:27:10]OFD Sender: No OFD packet to send [06:27:15]OFD Sender: No OFD packet to send [06:27:20]OFD Sender: No OFD packet to send [06:27:25]OFD Sender: No OFD packet to send [06:27:30]OFD Sender: No OFD packet to send [06:27:35]OFD Sender: No OFD packet to send [06:27:40]OFD Sender: No OFD packet to send [06:27:45]OFD Sender: No OFD packet to send [06:27:50]OFD Sender: No OFD packet to send [06:27:55]OFD Sender: No OFD packet to send [06:28:00]OFD Sender: No OFD packet to send [06:28:05]OFD Sender: No OFD packet to send [06:28:10]OFD Sender: No OFD packet to send [06:28:15]OFD Sender: No OFD packet to send [06:28:20]OFD Sender: No OFD packet to send [06:28:25]OFD Sender: No OFD packet to send [06:28:30]OFD Sender: No OFD packet to send [06:28:35]OFD Sender: No OFD packet to send [06:28:40]OFD Sender: No OFD packet to send [06:28:45]OFD Sender: No OFD packet to send [06:28:50]OFD Sender: No OFD packet to send [06:28:55]OFD Sender: No OFD packet to send [06:29:00]OFD Sender: No OFD packet to send [06:29:05]OFD Sender: No OFD packet to send [06:29:10]OFD Sender: No OFD packet to send [06:29:15]OFD Sender: No OFD packet to send [06:29:20]OFD Sender: No OFD packet to send [06:29:25]OFD Sender: No OFD packet to send [06:29:30]OFD Sender: No OFD packet to send [06:29:35]OFD Sender: No OFD packet to send [06:29:40]OFD Sender: No OFD packet to send [06:29:45]OFD Sender: No OFD packet to send [06:29:50]OFD Sender: No OFD packet to send [06:29:55]OFD Sender: No OFD packet to send [06:30:00]OFD Sender: No OFD packet to send [06:30:05]OFD Sender: No OFD packet to send [06:30:10]OFD Sender: No OFD packet to send [06:30:15]OFD Sender: No OFD packet to send [06:30:20]OFD Sender: No OFD packet to send [06:30:25]OFD Sender: No OFD packet to send [06:30:30]OFD Sender: No OFD packet to send [06:30:35]OFD Sender: No OFD packet to send [06:30:40]OFD Sender: No OFD packet to send [06:30:45]OFD Sender: No OFD packet to send [06:30:50]OFD Sender: No OFD packet to send [06:30:55]OFD Sender: No OFD packet to send [06:31:00]OFD Sender: No OFD packet to send [06:31:05]OFD Sender: No OFD packet to send [06:31:10]OFD Sender: No OFD packet to send [06:31:15]OFD Sender: No OFD packet to send [06:31:20]OFD Sender: No OFD packet to send [06:31:25]OFD Sender: No OFD packet to send [06:31:30]OFD Sender: No OFD packet to send [06:31:35]OFD Sender: No OFD packet to send [06:31:40]OFD Sender: No OFD packet to send [06:31:45]OFD Sender: No OFD packet to send [06:31:50]OFD Sender: No OFD packet to send [06:31:55]OFD Sender: No OFD packet to send [06:32:00]OFD Sender: No OFD packet to send [06:32:05]OFD Sender: No OFD packet to send [06:32:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:50]OFD Sender: No OFD packet to send [06:34:55]OFD Sender: No OFD packet to send [06:35:00]OFD Sender: No OFD packet to send [06:35:05]OFD Sender: No OFD packet to send [06:35:10]OFD Sender: No OFD packet to send [06:35:15]OFD Sender: No OFD packet to send [06:35:20]OFD Sender: No OFD packet to send [06:35:25]OFD Sender: No OFD packet to send [06:35:30]OFD Sender: No OFD packet to send [06:35:35]OFD Sender: No OFD packet to send [06:35:40]OFD Sender: No OFD packet to send [06:35:45]OFD Sender: No OFD packet to send [06:35:50]OFD Sender: No OFD packet to send [06:35:55]OFD Sender: No OFD packet to send [06:36:00]OFD Sender: No OFD packet to send [06:36:05]OFD Sender: No OFD packet to send [06:36:10]OFD Sender: No OFD packet to send [06:36:15]OFD Sender: No OFD packet to send [06:36:20]OFD Sender: No OFD packet to send [06:36:25]OFD Sender: No OFD packet to send [06:36:30]OFD Sender: No OFD packet to send [06:36:35]OFD Sender: No OFD packet to send [06:36:40]OFD Sender: No OFD packet to send [06:36:45]OFD Sender: No OFD packet to send [06:36:50]OFD Sender: No OFD packet to send [06:36:55]OFD Sender: No OFD packet to send [06:37:00]OFD Sender: No OFD packet to send [06:37:05]OFD Sender: No OFD packet to send [06:37:10]OFD Sender: No OFD packet to send [06:37:15]OFD Sender: No OFD packet to send [06:37:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:45]OFD Sender: No OFD packet to send [06:37:50]OFD Sender: No OFD packet to send [06:37:55]OFD Sender: No OFD packet to send [06:38:00]OFD Sender: No OFD packet to send [06:38:05]OFD Sender: No OFD packet to send [06:38:10]OFD Sender: No OFD packet to send [06:38:15]OFD Sender: No OFD packet to send [06:38:20]OFD Sender: No OFD packet to send [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]OFD Sender: No OFD packet to send [06:39:15]OFD Sender: No OFD packet to send [06:39:20]OFD Sender: No OFD packet to send [06:39:25]OFD Sender: No OFD packet to send [06:39:30]OFD Sender: No OFD packet to send [06:39:35]OFD Sender: No OFD packet to send [06:39:40]OFD Sender: No OFD packet to send [06:39:45]OFD Sender: No OFD packet to send [06:39:50]OFD Sender: No OFD packet to send [06:39:55]OFD Sender: No OFD packet to send [06:40:00]OFD Sender: No OFD packet to send [06:40:05]OFD Sender: No OFD packet to send [06:40:10]OFD Sender: No OFD packet to send [06:40:15]OFD Sender: No OFD packet to send [06:40:20]OFD Sender: No OFD packet to send [06:40:25]OFD Sender: No OFD packet to send [06:40:30]OFD Sender: No OFD packet to send [06:40:35]OFD Sender: No OFD packet to send [06:40:40]OFD Sender: No OFD packet to send [06:40:45]OFD Sender: No OFD packet to send [06:40:50]OFD Sender: No OFD packet to send [06:40:55]OFD Sender: No OFD packet to send [06:41:00]OFD Sender: No OFD packet to send [06:41:05]OFD Sender: No OFD packet to send [06:41:10]OFD Sender: No OFD packet to send [06:41:15]OFD Sender: No OFD packet to send [06:41:20]OFD Sender: No OFD packet to send [06:41:25]OFD Sender: No OFD packet to send [06:41:30]OFD Sender: No OFD packet to send [06:41:35]OFD Sender: No OFD packet to send [06:41:40]OFD Sender: No OFD packet to send [06:41:45]OFD Sender: No OFD packet to send [06:41:50]OFD Sender: No OFD packet to send [06:41:55]OFD Sender: No OFD packet to send [06:42:00]OFD Sender: No OFD packet to send [06:42:05]OFD Sender: No OFD packet to send [06:42:10]OFD Sender: No OFD packet to send [06:42:15]OFD Sender: No OFD packet to send [06:42:20]OFD Sender: No OFD packet to send [06:42:25]OFD Sender: No OFD packet to send [06:42:30]OFD Sender: No OFD packet to send [06:42:35]OFD Sender: No OFD packet to send [06:42:40]OFD Sender: No OFD packet to send [06:42:45]OFD Sender: No OFD packet to send [06:42:50]OFD Sender: No OFD packet to send [06:42:55]OFD Sender: No OFD packet to send [06:43:00]OFD Sender: No OFD packet to send [06:43:05]OFD Sender: No OFD packet to send [06:43:10]OFD Sender: No OFD packet to send [06:43:15]OFD Sender: No OFD packet to send [06:43:20]OFD Sender: No OFD packet to send [06:43:25]OFD Sender: No OFD packet to send [06:43:30]OFD Sender: No OFD packet to send [06:43:35]OFD Sender: No OFD packet to send [06:43:40]OFD Sender: No OFD packet to send [06:43:45]OFD Sender: No OFD packet to send [06:43:50]OFD Sender: No OFD packet to send [06:43:55]OFD Sender: No OFD packet to send [06:44:00]OFD Sender: No OFD packet to send [06:44:05]OFD Sender: No OFD packet to send [06:44:10]OFD Sender: No OFD packet to send [06:44:15]OFD Sender: No OFD packet to send [06:44:20]OFD Sender: No OFD packet to send [06:44:25]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:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:06]OFD Sender: No OFD packet to send [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:46]OFD Sender: No OFD packet to send [06:50:51]OFD Sender: No OFD packet to send [06:50:56]OFD Sender: No OFD packet to send [06:51:01]OFD Sender: No OFD packet to send [06:51:06]OFD Sender: No OFD packet to send [06:51:11]OFD Sender: No OFD packet to send [06:51:16]OFD Sender: No OFD packet to send [06:51:21]OFD Sender: No OFD packet to send [06:51:26]OFD Sender: No OFD packet to send [06:51:31]OFD Sender: No OFD packet to send [06:51:36]OFD Sender: No OFD packet to send [06:51:41]OFD Sender: No OFD packet to send [06:51:46]OFD Sender: No OFD packet to send [06:51:51]OFD Sender: No OFD packet to send [06:51:56]OFD Sender: No OFD packet to send [06:52:01]OFD Sender: No OFD packet to send [06:52:06]OFD Sender: No OFD packet to send [06:52:11]OFD Sender: No OFD packet to send [06:52:16]OFD Sender: No OFD packet to send [06:52:21]OFD Sender: No OFD packet to send [06:52:26]OFD Sender: No OFD packet to send [06:52:31]OFD Sender: No OFD packet to send [06:52:36]OFD Sender: No OFD packet to send [06:52:41]OFD Sender: No OFD packet to send [06:52:46]OFD Sender: No OFD packet to send [06:52:51]OFD Sender: No OFD packet to send [06:52:56]OFD Sender: No OFD packet to send [06:53:01]OFD Sender: No OFD packet to send [06:53:06]OFD Sender: No OFD packet to send [06:53:11]OFD Sender: No OFD packet to send [06:53:16]OFD Sender: No OFD packet to send [06:53:21]OFD Sender: No OFD packet to send [06:53:26]OFD Sender: No OFD packet to send [06:53:31]OFD Sender: No OFD packet to send [06:53:36]OFD Sender: No OFD packet to send [06:53:41]OFD Sender: No OFD packet to send [06:53:46]OFD Sender: No OFD packet to send [06:53:51]OFD Sender: No OFD packet to send [06:53:56]OFD Sender: No OFD packet to send [06:54:01]OFD Sender: No OFD packet to send [06:54:06]OFD Sender: No OFD packet to send [06:54:11]OFD Sender: No OFD packet to send [06:54:16]OFD Sender: No OFD packet to send [06:54:21]OFD Sender: No OFD packet to send [06:54:26]OFD Sender: No OFD packet to send [06:54:31]OFD Sender: No OFD packet to send [06:54:36]OFD Sender: No OFD packet to send [06:54:41]OFD Sender: No OFD packet to send [06:54:46]OFD Sender: No OFD packet to send [06:54:51]OFD Sender: No OFD packet to send [06:54:56]OFD Sender: No OFD packet to send [06:55:01]OFD Sender: No OFD packet to send [06:55:06]OFD Sender: No OFD packet to send [06:55:11]OFD Sender: No OFD packet to send [06:55:16]OFD Sender: No OFD packet to send [06:55:21]OFD Sender: No OFD packet to send [06:55:26]OFD Sender: No OFD packet to send [06:55:31]OFD Sender: No OFD packet to send [06:55:36]OFD Sender: No OFD packet to send [06:55:41]OFD Sender: No OFD packet to send [06:55:46]OFD Sender: No OFD packet to send [06:55:51]OFD Sender: No OFD packet to send [06:55:56]OFD Sender: No OFD packet to send [06:56:01]OFD Sender: No OFD packet to send [06:56:06]OFD Sender: No OFD packet to send [06:56:11]OFD Sender: No OFD packet to send [06:56:16]OFD Sender: No OFD packet to send [06:56:21]OFD Sender: No OFD packet to send [06:56:26]OFD Sender: No OFD packet to send [06:56:31]OFD Sender: No OFD packet to send [06:56:36]OFD Sender: No OFD packet to send [06:56:41]OFD Sender: No OFD packet to send [06:56:46]OFD Sender: No OFD packet to send [06:56:51]OFD Sender: No OFD packet to send [06:56:56]OFD Sender: No OFD packet to send [06:57:01]OFD Sender: No OFD packet to send [06:57:06]OFD Sender: No OFD packet to send [06:57:11]OFD Sender: No OFD packet to send [06:57:16]OFD Sender: No OFD packet to send [06:57:21]OFD Sender: No OFD packet to send [06:57:26]OFD Sender: No OFD packet to send [06:57:31]OFD Sender: No OFD packet to send [06:57:36]OFD Sender: No OFD packet to send [06:57:41]OFD Sender: No OFD packet to send [06:57:46]OFD Sender: No OFD packet to send [06:57:51]OFD Sender: No OFD packet to send [06:57:56]OFD Sender: No OFD packet to send [06:58:01]OFD Sender: No OFD packet to send [06:58:06]OFD Sender: No OFD packet to send [06:58:11]OFD Sender: No OFD packet to send [06:58:16]OFD Sender: No OFD packet to send [06:58:21]OFD Sender: No OFD packet to send [06:58:26]OFD Sender: No OFD packet to send [06:58:31]OFD Sender: No OFD packet to send [06:58:36]OFD Sender: No OFD packet to send [06:58:41]OFD Sender: No OFD packet to send [06:58:46]OFD Sender: No OFD packet to send [06:58:51]OFD Sender: No OFD packet to send [06:58:56]OFD Sender: No OFD packet to send [06:59:01]OFD Sender: No OFD packet to send [06:59:06]OFD Sender: No OFD packet to send [06:59:11]OFD Sender: No OFD packet to send [06:59:16]OFD Sender: No OFD packet to send [06:59:21]OFD Sender: No OFD packet to send [06:59:26]OFD Sender: No OFD packet to send [06:59:31]OFD Sender: No OFD packet to send [06:59:36]OFD Sender: No OFD packet to send [06:59:41]OFD Sender: No OFD packet to send [06:59:46]OFD Sender: No OFD packet to send [06:59:51]OFD Sender: No OFD packet to send [06:59:56]OFD Sender: No OFD packet to send [07:00:01]OFD Sender: No OFD packet to send [07:00:06]OFD Sender: No OFD packet to send [07:00:11]OFD Sender: No OFD packet to send [07:00:16]OFD Sender: No OFD packet to send [07:00:21]OFD Sender: No OFD packet to send [07:00:26]OFD Sender: No OFD packet to send [07:00:31]OFD Sender: No OFD packet to send [07:00:36]OFD Sender: No OFD packet to send [07:00:41]OFD Sender: No OFD packet to send [07:00:46]OFD Sender: No OFD packet to send [07:00:51]OFD Sender: No OFD packet to send [07:00:56]OFD Sender: No OFD packet to send [07:01:01]OFD Sender: No OFD packet to send [07:01:06]OFD Sender: No OFD packet to send [07:01:11]OFD Sender: No OFD packet to send [07:01:16]OFD Sender: No OFD packet to send [07:01:21]OFD Sender: No OFD packet to send [07:01:26]OFD Sender: No OFD packet to send [07:01:30]accept exits with 8 [07:01:30]New connection [07:01:30]New thread 3067370852 created [07:01:30]Thread 3067227492 joined [07:01:30]Waiting for new connection... [07:01:30] Sock 8.Parse request [07:01:30]Sock 8.Check first char [07:01:30]Sock 8.First char is OK [07:01:30]request: POST /json_proto HTTP/1.0 [07:01:30]Method: POST [07:01:30]URL: /json_proto [07:01:30]Method is POST - this is cgi request [07:01:30]url: /json_proto [07:01:30]query_string will be loaded in cgi processing [07:01:30]execute_cgi json_proto POST (null) [07:01:30]execute_cgi path=json_proto method=POST [07:01:30]POST find Content-Length [07:01:30]Host: 172.17.56.68:8080 [07:01:30]Content-Length: 621 [07:01:30]Content-Type: application/json [07:01:30] [07:01:30]POST finish read [07:01:30]Found Content-Length = 621 [07:01:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4279", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:01:30]execute_script... [07:01:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4279", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:01:30]POST & json_proto [07:01:30]process_json_proto [07:01:30]json parsed OK: [07:01:30]protocol is kg_v1.0 [07:01:30]action value=close_receipt [07:01:30]process_action close_receipt [07:01:30]cmd_close_receipt [07:01:30]MH_GetDate [07:01:30]Write to MH i2c: F0 00 00 4E 03 40 [07:01:30]Write i2c OK [07:01:30]MH_I2C_Read... [07:01:30]Read from MH i2c: F0 [07:01:30]MH_I2C_Read... [07:01:30]Read from MH i2c: F0 09 00 [07:01:30]MH_I2C_Read... [07:01:30]Read from MH i2c: F0 09 00 4E 03 00 4D 6A 5D 66 42 69 5C 66 30 [07:01:30]GetLastDocTimeStamp 1717395834 [07:01:30]current date 1717398093 [07:01:30]FM_GetShiftState [07:01:30]SAM_PROTO_GetShiftState [07:01:30]wFMCommunicate request_size=4 [07:01:30]MH_SAM_APDU [07:01:30]CAPDU: 80 13 01 00 [07:01:30]Write to MH i2c: E2 08 00 4F 03 80 13 01 00 00 00 00 00 CF [07:01:30]Write i2c OK [07:01:30]MH_I2C_Read... [07:01:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:01:30]Read from MH i2c: E2 [07:01:30]MH_I2C_Read... [07:01:30]Read from MH i2c: E2 0E 00 [07:01:30]MH_I2C_Read... [07:01:30]Read from MH i2c: E2 0E 00 4F 03 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 5D [07:01:30]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:01:30]wFMCommunicate OK [07:01:30]SAM_PROTO_GetShiftState done [07:01:30]FM_GetShiftState done [07:01:30]opened in 1717372856 [07:01:30]opened+sec_in_day 1717459256 [07:01:30]quantity*price = 14000 [07:01:30]sum+1 = 14001 [07:01:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 6 03.06.2024 07:01 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4025 ФПД: 29353736661398 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T070133&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4025&fm=29353736661398&tin=02508201610067®Number=0000000000145775&sum=14000 0 [07:01:32]StoreToDocumentArchive [07:01:32]shift 82 fd 4025 [07:01:32]save to /storage/0082/doc_00004025 [07:01:32]save last doc name /storage/0082/doc_00004025 to /storage/kkm_last_doc_name [07:01:32]save OK [07:01:32]Clear old archive folders... [07:01:32]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:01:32]tlvbuf is B6FBB180 [07:01:32]SAM_PROTO_ClearQueue [07:01:32]wFMCommunicate request_size=4 [07:01:32]MH_SAM_APDU [07:01:32]CAPDU: 80 09 00 00 [07:01:32]Write to MH i2c: E2 08 00 5C 03 80 09 00 00 00 00 00 00 D1 [07:01:32]Write i2c OK [07:01:32]MH_I2C_Read... [07:01:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:01:32]Read from MH i2c: E2 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 03 00 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 03 00 5C 03 00 90 00 D3 [07:01:32]RAPDU: 90 00 [07:01:32]wFMCommunicate OK [07:01:32]SAM_PROTO_ClearQueue done [07:01:32]KKMCreateOFDPacket [07:01:32]OFDProtocolAddRootSTLVToBuf [07:01:32]FM_MakeSignedData [07:01:32]FM_MakeSignedData [07:01:32]SAM_PROTO_SignData [07:01:32]wFMCommunicate request_size=4 [07:01:32]MH_SAM_APDU [07:01:32]CAPDU: 80 0D 01 02 [07:01:32]Write to MH i2c: E2 08 00 5D 03 80 0D 01 02 00 00 00 00 D9 [07:01:32]Write i2c OK [07:01:32]MH_I2C_Read... [07:01:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:01:32]Read from MH i2c: E2 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 03 00 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 03 00 5D 03 00 90 00 D4 [07:01:32]RAPDU: 90 00 [07:01:32]wFMCommunicate OK [07:01:32]wFMCommunicate request_size=255 [07:01:32]MH_SAM_APDU [07:01:32]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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 4D 6A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 [07:01:32]Write to MH i2c: E2 02 01 5E 03 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 4D 6A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 00 00 3F [07:01:32]Write i2c OK [07:01:32]MH_I2C_Read... [07:01:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:01:32]Read from MH i2c: E2 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 03 00 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 03 00 5E 03 00 90 00 D5 [07:01:32]RAPDU: 90 00 [07:01:32]wFMCommunicate OK [07:01:32]wFMCommunicate request_size=34 [07:01:32]MH_SAM_APDU [07:01:32]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B9 0F 00 00 35 04 06 00 1A B2 73 0B E9 96 [07:01:32]Write to MH i2c: E2 25 00 5F 03 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B9 0F 00 00 35 04 06 00 1A B2 73 0B E9 96 00 00 2E [07:01:32]Write i2c OK [07:01:32]MH_I2C_Read... [07:01:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:01:32]Read from MH i2c: E2 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 03 00 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 03 00 5F 03 00 90 00 D6 [07:01:32]RAPDU: 90 00 [07:01:32]wFMCommunicate OK [07:01:32]wFMCommunicate request_size=4 [07:01:32]MH_SAM_APDU [07:01:32]CAPDU: 80 0D 03 02 [07:01:32]Write to MH i2c: E2 08 00 60 03 80 0D 03 02 00 00 00 00 DE [07:01:32]Write i2c OK [07:01:32]MH_I2C_Read... [07:01:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:01:32]Read from MH i2c: E2 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 0B 00 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 0B 00 60 03 00 8C B9 94 38 CA D4 A2 E0 90 00 10 [07:01:32]RAPDU: 8C B9 94 38 CA D4 A2 E0 90 00 [07:01:32]wFMCommunicate OK [07:01:32]SAM_PROTO_SignData done [07:01:32]FM_MakeSignedData done [07:01:32]CreateOFDProtocolMessage [07:01:32]wFMCommunicate request_size=4 [07:01:32]MH_SAM_APDU [07:01:32]CAPDU: 80 11 00 00 [07:01:32]Write to MH i2c: E2 08 00 61 03 80 11 00 00 00 00 00 00 DE [07:01:32]Write i2c OK [07:01:32]MH_I2C_Read... [07:01:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:01:32]Read from MH i2c: E2 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 17 00 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: E2 17 00 61 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 31 [07:01:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:01:32]wFMCommunicate OK [07:01:32]CreateOFDProtocolMessage done [07:01:32]OFDSenderStorePacket 4025 [07:01:32]StoreOFDPacket docnum=4025 [07:01:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 27 01 00 00 82 6A 1F 01 1C F2 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 4D 6A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B9 0F 00 00 35 04 06 00 1A B2 73 0B E9 96 8C B9 94 38 CA D4 A2 E0 [07:01:32]CheckFolder [07:01:32]dirname=/storage/ofd_packets [07:01:32]CheckFolder done [07:01:32]ProducePacketName [07:01:32]name=ofd_packets/00004025 [07:01:32]NVStorageSaveData ofd_packets/00004025 [07:01:32]File name is /storage/ofd_packets/00004025 [07:01:32]Write 325 bytes [07:01:32]NVStorageSaveData done [07:01:32]OFDSenderStorePacket done [07:01:32]KKMCreateOFDPacket done [07:01:32]NVStorageSaveData kkm_last_timestamp [07:01:32]File name is /storage/kkm_last_timestamp [07:01:32]Write 4 bytes [07:01:32]NVStorageSaveData done [07:01:32]ExternCall_PrintAddStr [07:01:32]wPrintStart [07:01:32]Write to MH i2c: 01 00 00 62 03 65 [07:01:32]Write i2c OK [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: 01 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: 01 07 00 [07:01:32]MH_I2C_Read... [07:01:32]Read from MH i2c: 01 07 00 62 03 00 00 00 00 00 FF 0F 7A [07:01:32]RasterBufferAndPrint [07:01:32]line Счет N : (3)4279 [07:01:32]line ИНН: 02508201610067 [07:01:32]line Контрольно-Кассовый Чек [07:01:32]line ПРОДАЖА [07:01:32]line Товар: 48743587 [07:01:32]line Сигареты Winston XStyle Silver [07:01:32]line 1.000 * 140.00 [07:01:32]line = 140.00 [07:01:32]line НДС 12% НСП 1% [07:01:32]line > о реализуемом товаре [07:01:32]line ИТОГО: 140.00 [07:01:32]line НСП 1% : 1.24 [07:01:32]line НДС 12% : 14.87 [07:01:32]line Наличными: 140.00 [07:01:32]line Безнал.: 0.00 [07:01:32]line Место: АЗС № 116 "Партнер Нефть" [07:01:32]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:01:32]line СНО: Общий режим [07:01:32]line Чек 6 03.06.2024 07:01 [07:01:32]line Смена: 82 ФФД: 1.0 [07:01:32]line ЗНМ: 0300000233 [07:01:32]line РНМ: 0000000000145775 [07:01:32]line Версия ККМ: v1.0 [07:01:32]line ФМ: 0000000000959360 [07:01:32]line ФД: 4025 [07:01:32]line ФПД: 29353736661398 [07:01:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T070133&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4025&fm=29353736661398&tin=02508201610067®Number=0000000000145775&sum=14000 [07:01:32]line 0 [07:01:32]OFD Sender: Processing packet 4025 [packets to send 2, broken 1] [07:01:32]ProducePacketName [07:01:32]name=ofd_packets/00004025 [07:01:32]OFD Sender: To server: pG, [07:01:32]CommunicateWithHost lk.salyk.kg:30040 [07:01:32]ConnectInit lk.salyk.kg [07:01:32]written 0, free lines is 4095 [07:01:32]Connected sock=10 [07:01:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 27 01 00 00 82 6A 1F 01 1C F2 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 4D 6A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 B9 0F 00 00 35 04 06 00 1A B2 73 0B E9 96 8C B9 94 38 CA D4 A2 E0 [07:01:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 2D B4 47 00 7D 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 30 39 35 39 33 36 30 10 04 04 00 B9 0F 00 00 F4 03 04 00 51 16 5D 66 B6 04 01 00 00 F5 23 14 A9 F9 AE BC 92 [07:01:33]CommunicateWithHost err = 0 [07:01:33]CheckOFDResponse [07:01:33]1017 (14) - 77093643461234 [07:01:33]1041 (16) - 0000000000959360 [07:01:33]1040 (4) - 4025 [07:01:33]1012 (4) - 03.06.2024 01:03 [07:01:33]1206 (1) - 0 [07:01:33]OFD Sender: Remove packet 4025 [07:01:33]ProducePacketName [07:01:33]name=ofd_packets/00004025 [07:01:33]NVStorageDeleteData [07:01:33]Write to MH i2c: 01 00 00 8B 03 8E [07:01:33]Write i2c OK [07:01:33]MH_I2C_Read... [07:01:33]Read from MH i2c: 01 [07:01:33]MH_I2C_Read... [07:01:33]Read from MH i2c: 01 07 00 [07:01:33]MH_I2C_Read... [07:01:33]Read from MH i2c: 01 07 00 8B 03 00 00 00 00 00 BB 0C 5C [07:01:33]RasterBufferAndPrint [07:01:33]line [07:01:33]line [07:01:33]line [07:01:33]line [07:01:33]line [07:01:33]written 0, free lines is 3262 [07:01:33]MH_Cut [07:01:33]Write to MH i2c: D1 01 00 92 03 01 67 [07:01:33]Write i2c OK [07:01:33]MH_I2C_Read... [07:01:33]Read from MH i2c: D1 [07:01:33]MH_I2C_Read... [07:01:33]Read from MH i2c: D1 01 00 [07:01:33]MH_I2C_Read... [07:01:33]Read from MH i2c: D1 01 00 92 03 00 66 [07:01:33]Write to MH i2c: 01 00 00 93 03 96 [07:01:33]Write i2c OK [07:01:33]MH_I2C_Read... [07:01:33]OFD Sender: No OFD packet to send [07:01:34]*** Cut start [07:01:34]*** Partial cut [07:01:34]*** CUTSNS_PIN = 1 [07:01:34]*** CUTSNS_PIN = 0 [07:01:34]*** Brake cut motor [07:01:34]Read from MH i2c: 01 [07:01:34]MH_I2C_Read... [07:01:34]*** Stop cut motor [07:01:34]*** Cut end [07:01:34]Read from MH i2c: 01 07 00 [07:01:34]MH_I2C_Read... [07:01:34]Read from MH i2c: 01 07 00 93 03 00 00 00 00 00 FF 0F AB [07:01:34]process_action close_receipt done [07:01:34]requested_data is exist [07:01:34]produce_requested_data [07:01:34]requested_item fm.sn is exist - process it [07:01:34]wFMCommunicate request_size=4 [07:01:34]MH_SAM_APDU [07:01:34]CAPDU: 80 11 00 00 [07:01:34]Write to MH i2c: E2 08 00 94 03 80 11 00 00 00 00 00 00 11 [07:01:34]Write i2c OK [07:01:34]MH_I2C_Read... [07:01:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:01:34]Read from MH i2c: E2 [07:01:34]MH_I2C_Read... [07:01:34]Read from MH i2c: E2 17 00 [07:01:34]MH_I2C_Read... [07:01:34]Read from MH i2c: E2 17 00 94 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 64 [07:01:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:01:34]wFMCommunicate OK [07:01:34]requested_item fd.num is exist - process it [07:01:34]SAM_PROTO_GetFieldsCounters [07:01:34]wFMCommunicate request_size=4 [07:01:34]MH_SAM_APDU [07:01:34]CAPDU: 80 13 00 00 [07:01:34]Write to MH i2c: E2 08 00 95 03 80 13 00 00 00 00 00 00 14 [07:01:34]Write i2c OK [07:01:34]MH_I2C_Read... [07:01:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:01:35]Read from MH i2c: E2 [07:01:35]MH_I2C_Read... [07:01:35]Read from MH i2c: E2 62 00 [07:01:35]MH_I2C_Read... [07:01:35]Read from MH i2c: E2 62 00 95 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 B9 0F 00 00 0E 04 04 00 52 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 65 [07:01:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 B9 0F 00 00 0E 04 04 00 52 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 [07:01:35]wFMCommunicate OK [07:01:35]SAM_PROTO_GetFieldsCounters done [07:01:35]requested_item shift.num is exist - process it [07:01:35]requested_item shift.opened is exist - process it [07:01:35]req_shift_opened [07:01:35]FM_GetShiftState [07:01:35]SAM_PROTO_GetShiftState [07:01:35]wFMCommunicate request_size=4 [07:01:35]MH_SAM_APDU [07:01:35]CAPDU: 80 13 01 00 [07:01:35]Write to MH i2c: E2 08 00 96 03 80 13 01 00 00 00 00 00 16 [07:01:35]Write i2c OK [07:01:35]MH_I2C_Read... [07:01:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:01:35]Read from MH i2c: E2 [07:01:35]MH_I2C_Read... [07:01:35]Read from MH i2c: E2 0E 00 [07:01:35]MH_I2C_Read... [07:01:35]Read from MH i2c: E2 0E 00 96 03 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 A4 [07:01:35]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:01:35]wFMCommunicate OK [07:01:35]SAM_PROTO_GetShiftState done [07:01:35]FM_GetShiftState done [07:01:35]req_shift_opened done [07:01:35]requested_item shift.open_date is exist - process it [07:01:35]req_shift_open_date [07:01:35]req_shift_open_date done [07:01:35]produce_requested_data done [07:01:35]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4025,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [07:01:35]process_action_free close_receipt [07:01:35]json_value_free [07:01:35]json_value_free done [07:01:35]process_json_proto returns [07:01:35]Send response to host [07:01:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4025,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [07:01:35]free response buf [07:01:35]execute_script done [07:01:35]execute_script returns [07:01:35]free content buf [07:01:35]Sock 8.Close socket [07:01:35]Sock 8.Thread stoped [07:01:38]OFD Sender: No OFD packet to send [07:01:43]OFD Sender: No OFD packet to send [07:01:48]OFD Sender: No OFD packet to send [07:01:53]OFD Sender: No OFD packet to send [07:01:58]OFD Sender: No OFD packet to send [07:02:00]accept exits with 9 [07:02:00]New connection [07:02:00]New thread 3067227492 created [07:02:00]Thread 3067370852 joined [07:02:00]Waiting for new connection... [07:02:00] Sock 9.Parse request [07:02:00]Sock 9.Check first char [07:02:00]Sock 9.First char is OK [07:02:00]request: POST /json_proto HTTP/1.0 [07:02:00]Method: POST [07:02:00]URL: /json_proto [07:02:00]Method is POST - this is cgi request [07:02:00]url: /json_proto [07:02:00]query_string will be loaded in cgi processing [07:02:00]execute_cgi json_proto POST (null) [07:02:00]execute_cgi path=json_proto method=POST [07:02:00]POST find Content-Length [07:02:00]Host: 172.17.56.68:8080 [07:02:00]Content-Length: 857 [07:02:00]Content-Type: application/json [07:02:00] [07:02:00]POST finish read [07:02:00]Found Content-Length = 857 [07:02:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4280", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:02:00]execute_script... [07:02: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)4280", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:02:00]POST & json_proto [07:02:00]process_json_proto [07:02:00]json parsed OK: [07:02:00]protocol is kg_v1.0 [07:02:00]action value=close_receipt [07:02:00]process_action close_receipt [07:02:00]cmd_close_receipt [07:02:00]MH_GetDate [07:02:00]Write to MH i2c: F0 00 00 97 03 89 [07:02:00]Write i2c OK [07:02:00]MH_I2C_Read... [07:02:00]Read from MH i2c: F0 [07:02:00]MH_I2C_Read... [07:02:00]Read from MH i2c: F0 09 00 [07:02:00]MH_I2C_Read... [07:02:00]Read from MH i2c: F0 09 00 97 03 00 6A 6A 5D 66 42 69 5C 66 96 [07:02:00]GetLastDocTimeStamp 1717398093 [07:02:00]current date 1717398122 [07:02:00]FM_GetShiftState [07:02:00]SAM_PROTO_GetShiftState [07:02:00]wFMCommunicate request_size=4 [07:02:00]MH_SAM_APDU [07:02:00]CAPDU: 80 13 01 00 [07:02:00]Write to MH i2c: E2 08 00 98 03 80 13 01 00 00 00 00 00 18 [07:02:00]Write i2c OK [07:02:00]MH_I2C_Read... [07:02:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:02:00]Read from MH i2c: E2 [07:02:00]MH_I2C_Read... [07:02:00]Read from MH i2c: E2 0E 00 [07:02:00]MH_I2C_Read... [07:02:00]Read from MH i2c: E2 0E 00 98 03 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 A6 [07:02:00]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:02:00]wFMCommunicate OK [07:02:00]SAM_PROTO_GetShiftState done [07:02:00]FM_GetShiftState done [07:02:00]opened in 1717372856 [07:02:00]opened+sec_in_day 1717459256 [07:02:00]quantity*price = 14000 [07:02:00]sum+1 = 14001 [07:02:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 7 03.06.2024 07:02 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4026 ФПД: 93583098504904 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T070202&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4026&fm=93583098504904&tin=02508201610067®Number=0000000000145775&sum=27800 0 [07:02:01]StoreToDocumentArchive [07:02:01]shift 82 fd 4026 [07:02:01]save to /storage/0082/doc_00004026 [07:02:01]save last doc name /storage/0082/doc_00004026 to /storage/kkm_last_doc_name [07:02:01]save OK [07:02:01]Clear old archive folders... [07:02:01]ProcessDocumentItem done err = 0, tmpTLVsize=377 [07:02:01]tlvbuf is 00765B70 [07:02:01]SAM_PROTO_ClearQueue [07:02:01]wFMCommunicate request_size=4 [07:02:01]MH_SAM_APDU [07:02:01]CAPDU: 80 09 00 00 [07:02:01]Write to MH i2c: E2 08 00 A5 03 80 09 00 00 00 00 00 00 1A [07:02:01]Write i2c OK [07:02:01]MH_I2C_Read... [07:02:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:02:01]Read from MH i2c: E2 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 03 00 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 03 00 A5 03 00 90 00 1C [07:02:01]RAPDU: 90 00 [07:02:01]wFMCommunicate OK [07:02:01]SAM_PROTO_ClearQueue done [07:02:01]KKMCreateOFDPacket [07:02:01]OFDProtocolAddRootSTLVToBuf [07:02:01]FM_MakeSignedData [07:02:01]FM_MakeSignedData [07:02:01]SAM_PROTO_SignData [07:02:01]wFMCommunicate request_size=4 [07:02:01]MH_SAM_APDU [07:02:01]CAPDU: 80 0D 01 02 [07:02:01]Write to MH i2c: E2 08 00 A6 03 80 0D 01 02 00 00 00 00 22 [07:02:01]Write i2c OK [07:02:01]MH_I2C_Read... [07:02:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:02:01]Read from MH i2c: E2 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 03 00 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 03 00 A6 03 00 90 00 1D [07:02:01]RAPDU: 90 00 [07:02:01]wFMCommunicate OK [07:02:01]wFMCommunicate request_size=255 [07:02:01]MH_SAM_APDU [07:02:01]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [07:02:01]Write to MH i2c: E2 02 01 A7 03 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 F4 [07:02:01]Write i2c OK [07:02:01]MH_I2C_Read... [07:02:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:02:01]Read from MH i2c: E2 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 03 00 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 03 00 A7 03 00 90 00 1E [07:02:01]RAPDU: 90 00 [07:02:01]wFMCommunicate OK [07:02:01]wFMCommunicate request_size=136 [07:02:01]MH_SAM_APDU [07:02:01]CAPDU: 80 0D 02 02 83 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 07 00 00 00 F4 03 04 00 6A 6A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BA 0F 00 00 35 04 06 00 55 1D 03 57 E6 C8 [07:02:01]Write to MH i2c: E2 8B 00 A8 03 80 0D 02 02 83 00 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 07 00 00 00 F4 03 04 00 6A 6A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BA 0F 00 00 35 04 06 00 55 1D 03 57 E6 C8 00 00 38 [07:02:01]Write i2c OK [07:02:01]MH_I2C_Read... [07:02:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:02:01]Read from MH i2c: E2 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 03 00 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 03 00 A8 03 00 90 00 1F [07:02:01]RAPDU: 90 00 [07:02:01]wFMCommunicate OK [07:02:01]wFMCommunicate request_size=4 [07:02:01]MH_SAM_APDU [07:02:01]CAPDU: 80 0D 03 02 [07:02:01]Write to MH i2c: E2 08 00 A9 03 80 0D 03 02 00 00 00 00 27 [07:02:01]Write i2c OK [07:02:01]MH_I2C_Read... [07:02:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:02:01]Read from MH i2c: E2 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 0B 00 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 0B 00 A9 03 00 16 71 E1 48 9C BF 2D 73 90 00 D3 [07:02:01]RAPDU: 16 71 E1 48 9C BF 2D 73 90 00 [07:02:01]wFMCommunicate OK [07:02:01]SAM_PROTO_SignData done [07:02:01]FM_MakeSignedData done [07:02:01]CreateOFDProtocolMessage [07:02:01]wFMCommunicate request_size=4 [07:02:01]MH_SAM_APDU [07:02:01]CAPDU: 80 11 00 00 [07:02:01]Write to MH i2c: E2 08 00 AA 03 80 11 00 00 00 00 00 00 27 [07:02:01]Write i2c OK [07:02:01]MH_I2C_Read... [07:02:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:02:01]Read from MH i2c: E2 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 17 00 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: E2 17 00 AA 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 7A [07:02:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:02:01]wFMCommunicate OK [07:02:01]CreateOFDProtocolMessage done [07:02:01]OFDSenderStorePacket 4026 [07:02:01]StoreOFDPacket docnum=4026 [07:02:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8D 01 00 00 83 8C 85 01 38 74 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 07 00 00 00 F4 03 04 00 6A 6A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BA 0F 00 00 35 04 06 00 55 1D 03 57 E6 C8 16 71 E1 48 9C BF 2D 73 [07:02:01]CheckFolder [07:02:01]dirname=/storage/ofd_packets [07:02:01]CheckFolder done [07:02:01]ProducePacketName [07:02:01]name=ofd_packets/00004026 [07:02:01]NVStorageSaveData ofd_packets/00004026 [07:02:01]File name is /storage/ofd_packets/00004026 [07:02:01]Write 427 bytes [07:02:01]NVStorageSaveData done [07:02:01]OFDSenderStorePacket done [07:02:01]KKMCreateOFDPacket done [07:02:01]NVStorageSaveData kkm_last_timestamp [07:02:01]File name is /storage/kkm_last_timestamp [07:02:01]Write 4 bytes [07:02:01]NVStorageSaveData done [07:02:01]ExternCall_PrintAddStr [07:02:01]wPrintStart [07:02:01]Write to MH i2c: 01 00 00 AB 03 AE [07:02:01]Write i2c OK [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: 01 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: 01 07 00 [07:02:01]MH_I2C_Read... [07:02:01]Read from MH i2c: 01 07 00 AB 03 00 00 00 00 00 FF 0F C3 [07:02:01]RasterBufferAndPrint [07:02:01]line Счет N : (3)4280 [07:02:02]line ИНН: 02508201610067 [07:02:02]line Контрольно-Кассовый Чек [07:02:02]line ПРОДАЖА [07:02:02]line Товар: 48743570 [07:02:02]line Сигареты Winston XStyle Blue [07:02:02]line 1.000 * 140.00 [07:02:02]line = 140.00 [07:02:02]line НДС 12% НСП 1% [07:02:02]line > о реализуемом товаре [07:02:02]line Товар: 4640030091645 [07:02:02]line Сигареты ESSE Exchange M [07:02:02]line 1.000 * 138.00 [07:02:02]line = 138.00 [07:02:02]line НДС 12% НСП 1% [07:02:02]line > о реализуемом товаре [07:02:02]line ИТОГО: 278.00 [07:02:02]line НСП 1% : 2.46 [07:02:02]line НДС 12% : 29.52 [07:02:02]line Наличными: 278.00 [07:02:02]line Безнал.: 0.00 [07:02:02]line Место: АЗС № 116 "Партнер Нефть" [07:02:02]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:02:02]line СНО: Общий режим [07:02:02]line Чек 7 03.06.2024 07:02 [07:02:02]line Смена: 82 ФФД: 1.0 [07:02:02]line ЗНМ: 0300000233 [07:02:02]line РНМ: 0000000000145775 [07:02:02]line Версия ККМ: v1.0 [07:02:02]line ФМ: 0000000000959360 [07:02:02]line ФД: 4026 [07:02:02]line ФПД: 93583098504904 [07:02:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T070202&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4026&fm=93583098504904&tin=02508201610067®Number=0000000000145775&sum=27800 [07:02:02]OFD Sender: Processing packet 4026 [packets to send 2, broken 1] [07:02:02]ProducePacketName [07:02:02]name=ofd_packets/00004026 [07:02:02]OFD Sender: To server: pG, [07:02:02]CommunicateWithHost lk.salyk.kg:30040 [07:02:02]ConnectInit lk.salyk.kg [07:02:02]line 0 [07:02:02]written 0, free lines is 4095 [07:02:02]Connected sock=10 [07:02:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8D 01 00 00 83 8C 85 01 38 74 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 07 00 00 00 F4 03 04 00 6A 6A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BA 0F 00 00 35 04 06 00 55 1D 03 57 E6 C8 16 71 E1 48 9C BF 2D 73 [07:02:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 76 FD 47 00 90 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 30 39 35 39 33 36 30 10 04 04 00 BA 0F 00 00 F4 03 04 00 6E 16 5D 66 B6 04 01 00 00 EE F5 58 00 67 5D 71 65 [07:02:02]CommunicateWithHost err = 0 [07:02:02]CheckOFDResponse [07:02:02]1017 (14) - 77093643461234 [07:02:02]1041 (16) - 0000000000959360 [07:02:02]1040 (4) - 4026 [07:02:02]1012 (4) - 03.06.2024 01:03 [07:02:02]1206 (1) - 0 [07:02:02]OFD Sender: Remove packet 4026 [07:02:02]ProducePacketName [07:02:02]name=ofd_packets/00004026 [07:02:02]NVStorageDeleteData [07:02:02]Write to MH i2c: 01 00 00 D9 03 DC [07:02:02]Write i2c OK [07:02:02]MH_I2C_Read... [07:02:02]Read from MH i2c: 01 [07:02:02]MH_I2C_Read... [07:02:02]Read from MH i2c: 01 07 00 [07:02:02]MH_I2C_Read... [07:02:02]Read from MH i2c: 01 07 00 D9 03 00 00 00 00 00 78 0C 67 [07:02:02]RasterBufferAndPrint [07:02:02]line [07:02:02]line [07:02:02]line [07:02:02]line [07:02:02]line [07:02:02]written 0, free lines is 3198 [07:02:02]MH_Cut [07:02:02]Write to MH i2c: D1 01 00 E0 03 01 B5 [07:02:02]Write i2c OK [07:02:02]MH_I2C_Read... [07:02:02]Read from MH i2c: D1 [07:02:02]MH_I2C_Read... [07:02:02]Read from MH i2c: D1 01 00 [07:02:02]MH_I2C_Read... [07:02:02]Read from MH i2c: D1 01 00 E0 03 00 B4 [07:02:02]Write to MH i2c: 01 00 00 E1 03 E4 [07:02:02]Write i2c OK [07:02:02]MH_I2C_Read... [07:02:03]OFD Sender: No OFD packet to send [07:02:03]*** Cut start [07:02:03]*** Partial cut [07:02:03]*** CUTSNS_PIN = 1 [07:02:03]*** CUTSNS_PIN = 0 [07:02:03]*** Brake cut motor [07:02:04]Read from MH i2c: 01 [07:02:04]MH_I2C_Read... [07:02:04]*** Stop cut motor [07:02:04]Read from MH i2c: 01 07 00 [07:02:04]MH_I2C_Read... [07:02:04]*** Cut end [07:02:04]Read from MH i2c: 01 07 00 E1 03 00 00 00 00 00 FF 0F F9 [07:02:04]process_action close_receipt done [07:02:04]requested_data is exist [07:02:04]produce_requested_data [07:02:04]requested_item fm.sn is exist - process it [07:02:04]wFMCommunicate request_size=4 [07:02:04]MH_SAM_APDU [07:02:04]CAPDU: 80 11 00 00 [07:02:04]Write to MH i2c: E2 08 00 E2 03 80 11 00 00 00 00 00 00 5F [07:02:04]Write i2c OK [07:02:04]MH_I2C_Read... [07:02:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:02:04]Read from MH i2c: E2 [07:02:04]MH_I2C_Read... [07:02:04]Read from MH i2c: E2 17 00 [07:02:04]MH_I2C_Read... [07:02:04]Read from MH i2c: E2 17 00 E2 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B2 [07:02:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:02:04]wFMCommunicate OK [07:02:04]requested_item fd.num is exist - process it [07:02:04]SAM_PROTO_GetFieldsCounters [07:02:04]wFMCommunicate request_size=4 [07:02:04]MH_SAM_APDU [07:02:04]CAPDU: 80 13 00 00 [07:02:04]Write to MH i2c: E2 08 00 E3 03 80 13 00 00 00 00 00 00 62 [07:02:04]Write i2c OK [07:02:04]MH_I2C_Read... [07:02:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:02:04]Read from MH i2c: E2 [07:02:04]MH_I2C_Read... [07:02:04]Read from MH i2c: E2 62 00 [07:02:04]MH_I2C_Read... [07:02:04]Read from MH i2c: E2 62 00 E3 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BA 0F 00 00 0E 04 04 00 52 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 B7 [07:02:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BA 0F 00 00 0E 04 04 00 52 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:02:04]wFMCommunicate OK [07:02:04]SAM_PROTO_GetFieldsCounters done [07:02:04]requested_item shift.num is exist - process it [07:02:04]requested_item shift.opened is exist - process it [07:02:04]req_shift_opened [07:02:04]FM_GetShiftState [07:02:04]SAM_PROTO_GetShiftState [07:02:04]wFMCommunicate request_size=4 [07:02:04]MH_SAM_APDU [07:02:04]CAPDU: 80 13 01 00 [07:02:04]Write to MH i2c: E2 08 00 E4 03 80 13 01 00 00 00 00 00 64 [07:02:04]Write i2c OK [07:02:04]MH_I2C_Read... [07:02:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:02:04]Read from MH i2c: E2 [07:02:04]MH_I2C_Read... [07:02:04]Read from MH i2c: E2 0E 00 [07:02:04]MH_I2C_Read... [07:02:04]Read from MH i2c: E2 0E 00 E4 03 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 F2 [07:02:04]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:02:04]wFMCommunicate OK [07:02:04]SAM_PROTO_GetShiftState done [07:02:04]FM_GetShiftState done [07:02:04]req_shift_opened done [07:02:04]requested_item shift.open_date is exist - process it [07:02:04]req_shift_open_date [07:02:04]req_shift_open_date done [07:02:04]produce_requested_data done [07:02:04]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4026,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [07:02:04]process_action_free close_receipt [07:02:04]json_value_free [07:02:04]json_value_free done [07:02:04]process_json_proto returns [07:02:04]Send response to host [07:02:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4026,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [07:02:04]free response buf [07:02:04]execute_script done [07:02:04]execute_script returns [07:02:04]free content buf [07:02:04]Sock 9.Close socket [07:02:04]Sock 9.Thread stoped [07:02:08]OFD Sender: No OFD packet to send [07:02:13]OFD Sender: No OFD packet to send [07:02:18]OFD Sender: No OFD packet to send [07:02:23]OFD Sender: No OFD packet to send [07:02:28]OFD Sender: No OFD packet to send [07:02:33]OFD Sender: No OFD packet to send [07:02:38]OFD Sender: No OFD packet to send [07:02:43]OFD Sender: No OFD packet to send [07:02:48]OFD Sender: No OFD packet to send [07:02:53]OFD Sender: No OFD packet to send [07:02:58]OFD Sender: No OFD packet to send [07:03:03]OFD Sender: No OFD packet to send [07:03:08]OFD Sender: No OFD packet to send [07:03:13]OFD Sender: No OFD packet to send [07:03:18]OFD Sender: No OFD packet to send [07:03:23]OFD Sender: No OFD packet to send [07:03:28]OFD Sender: No OFD packet to send [07:03:33]OFD Sender: No OFD packet to send [07:03:38]OFD Sender: No OFD packet to send [07:03:43]OFD Sender: No OFD packet to send [07:03:48]OFD Sender: No OFD packet to send [07:03:53]OFD Sender: No OFD packet to send [07:03:58]OFD Sender: No OFD packet to send [07:04:03]OFD Sender: No OFD packet to send [07:04:08]OFD Sender: No OFD packet to send [07:04:13]OFD Sender: No OFD packet to send [07:04:18]OFD Sender: No OFD packet to send [07:04:23]OFD Sender: No OFD packet to send [07:04:28]OFD Sender: No OFD packet to send [07:04:33]OFD Sender: No OFD packet to send [07:04:38]OFD Sender: No OFD packet to send [07:04:43]OFD Sender: No OFD packet to send [07:04:48]OFD Sender: No OFD packet to send [07:04:53]OFD Sender: No OFD packet to send [07:04:58]OFD Sender: No OFD packet to send [07:05:03]OFD Sender: No OFD packet to send [07:05:08]OFD Sender: No OFD packet to send [07:05:13]OFD Sender: No OFD packet to send [07:05:18]OFD Sender: No OFD packet to send [07:05:23]OFD Sender: No OFD packet to send [07:05:28]OFD Sender: No OFD packet to send [07:05:33]OFD Sender: No OFD packet to send [07:05:38]OFD Sender: No OFD packet to send [07:05:43]OFD Sender: No OFD packet to send [07:05:48]OFD Sender: No OFD packet to send [07:05:53]OFD Sender: No OFD packet to send [07:05:58]OFD Sender: No OFD packet to send [07:06:03]OFD Sender: No OFD packet to send [07:06:08]accept exits with 8 [07:06:08]New connection [07:06:08]New thread 3067370852 created [07:06:08]Thread 3067227492 joined [07:06:08]Waiting for new connection... [07:06:08] Sock 8.Parse request [07:06:08]Sock 8.Check first char [07:06:08]Sock 8.First char is OK [07:06:08]request: POST /json_proto HTTP/1.0 [07:06:08]Method: POST [07:06:08]URL: /json_proto [07:06:08]Method is POST - this is cgi request [07:06:08]url: /json_proto [07:06:08]query_string will be loaded in cgi processing [07:06:08]execute_cgi json_proto POST (null) [07:06:08]execute_cgi path=json_proto method=POST [07:06:08]POST find Content-Length [07:06:08]Host: 172.17.56.68:8080 [07:06:08]Content-Length: 892 [07:06:08]Content-Type: application/json [07:06:08] [07:06:08]POST finish read [07:06:08]Found Content-Length = 892 [07:06:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4281", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 248.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:06:08]execute_script... [07:06:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4281", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 248.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:06:08]POST & json_proto [07:06:08]process_json_proto [07:06:08]json parsed OK: [07:06:08]protocol is kg_v1.0 [07:06:08]action value=close_receipt [07:06:08]process_action close_receipt [07:06:08]cmd_close_receipt [07:06:08]MH_GetDate [07:06:08]Write to MH i2c: F0 00 00 E5 03 D7 [07:06:08]Write i2c OK [07:06:08]MH_I2C_Read... [07:06:08]Read from MH i2c: F0 [07:06:08]MH_I2C_Read... [07:06:08]Read from MH i2c: F0 09 00 [07:06:08]MH_I2C_Read... [07:06:08]Read from MH i2c: F0 09 00 E5 03 00 62 6B 5D 66 42 69 5C 66 DD [07:06:08]GetLastDocTimeStamp 1717398122 [07:06:08]current date 1717398370 [07:06:08]FM_GetShiftState [07:06:08]SAM_PROTO_GetShiftState [07:06:08]wFMCommunicate request_size=4 [07:06:08]MH_SAM_APDU [07:06:08]CAPDU: 80 13 01 00 [07:06:08]Write to MH i2c: E2 08 00 E6 03 80 13 01 00 00 00 00 00 66 [07:06:08]Write i2c OK [07:06:08]MH_I2C_Read... [07:06:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:06:08]Read from MH i2c: E2 [07:06:08]MH_I2C_Read... [07:06:08]Read from MH i2c: E2 0E 00 [07:06:08]MH_I2C_Read... [07:06:08]Read from MH i2c: E2 0E 00 E6 03 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 F4 [07:06:08]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:06:08]wFMCommunicate OK [07:06:08]SAM_PROTO_GetShiftState done [07:06:08]FM_GetShiftState done [07:06:08]opened in 1717372856 [07:06:08]opened+sec_in_day 1717459256 [07:06:08]quantity*price = 13800 [07:06:08]sum+1 = 13801 [07:06:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034250011 Горячий шоколад (GABB trade) 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 248.00 НСП 1% : 2.19 НДС 12% : 26.33 Наличными: 248.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 8 03.06.2024 07:06 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4027 ФПД: 37833868579298 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T070610&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4027&fm=37833868579298&tin=02508201610067®Number=0000000000145775&sum=24800 0 [07:06:09]StoreToDocumentArchive [07:06:09]shift 82 fd 4027 [07:06:09]save to /storage/0082/doc_00004027 [07:06:09]save last doc name /storage/0082/doc_00004027 to /storage/kkm_last_doc_name [07:06:09]save OK [07:06:09]Clear old archive folders... [07:06:09]ProcessDocumentItem done err = 0, tmpTLVsize=388 [07:06:09]tlvbuf is 007749E0 [07:06:09]SAM_PROTO_ClearQueue [07:06:09]wFMCommunicate request_size=4 [07:06:09]MH_SAM_APDU [07:06:09]CAPDU: 80 09 00 00 [07:06:09]Write to MH i2c: E2 08 00 F3 03 80 09 00 00 00 00 00 00 68 [07:06:09]Write i2c OK [07:06:09]MH_I2C_Read... [07:06:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:06:09]Read from MH i2c: E2 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 03 00 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 03 00 F3 03 00 90 00 6A [07:06:09]RAPDU: 90 00 [07:06:09]wFMCommunicate OK [07:06:09]SAM_PROTO_ClearQueue done [07:06:09]KKMCreateOFDPacket [07:06:09]OFDProtocolAddRootSTLVToBuf [07:06:09]FM_MakeSignedData [07:06:09]FM_MakeSignedData [07:06:09]SAM_PROTO_SignData [07:06:09]wFMCommunicate request_size=4 [07:06:09]MH_SAM_APDU [07:06:09]CAPDU: 80 0D 01 02 [07:06:09]Write to MH i2c: E2 08 00 F4 03 80 0D 01 02 00 00 00 00 70 [07:06:09]Write i2c OK [07:06:09]MH_I2C_Read... [07:06:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:06:09]Read from MH i2c: E2 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 03 00 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 03 00 F4 03 00 90 00 6B [07:06:09]RAPDU: 90 00 [07:06:09]wFMCommunicate OK [07:06:09]wFMCommunicate request_size=255 [07:06:09]MH_SAM_APDU [07:06:09]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [07:06:09]Write to MH i2c: E2 02 01 F5 03 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 B1 [07:06:09]Write i2c OK [07:06:09]MH_I2C_Read... [07:06:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:06:09]Read from MH i2c: E2 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 03 00 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 03 00 F5 03 00 90 00 6C [07:06:09]RAPDU: 90 00 [07:06:09]wFMCommunicate OK [07:06:09]wFMCommunicate request_size=147 [07:06:09]MH_SAM_APDU [07:06:09]CAPDU: 80 0D 02 02 8E F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 62 6B 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BB 0F 00 00 35 04 06 00 22 68 E2 4C 11 E2 [07:06:09]Write to MH i2c: E2 96 00 F6 03 80 0D 02 02 8E 00 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 62 6B 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BB 0F 00 00 35 04 06 00 22 68 E2 4C 11 E2 00 00 8D [07:06:09]Write i2c OK [07:06:09]MH_I2C_Read... [07:06:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:06:09]Read from MH i2c: E2 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 03 00 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 03 00 F6 03 00 90 00 6D [07:06:09]RAPDU: 90 00 [07:06:09]wFMCommunicate OK [07:06:09]wFMCommunicate request_size=4 [07:06:09]MH_SAM_APDU [07:06:09]CAPDU: 80 0D 03 02 [07:06:09]Write to MH i2c: E2 08 00 F7 03 80 0D 03 02 00 00 00 00 75 [07:06:09]Write i2c OK [07:06:09]MH_I2C_Read... [07:06:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:06:09]Read from MH i2c: E2 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 0B 00 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 0B 00 F7 03 00 DA CD 1D D2 32 77 3D EF 90 00 E1 [07:06:09]RAPDU: DA CD 1D D2 32 77 3D EF 90 00 [07:06:09]wFMCommunicate OK [07:06:09]SAM_PROTO_SignData done [07:06:09]FM_MakeSignedData done [07:06:09]CreateOFDProtocolMessage [07:06:09]wFMCommunicate request_size=4 [07:06:09]MH_SAM_APDU [07:06:09]CAPDU: 80 11 00 00 [07:06:09]Write to MH i2c: E2 08 00 F8 03 80 11 00 00 00 00 00 00 75 [07:06:09]Write i2c OK [07:06:09]MH_I2C_Read... [07:06:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:06:09]Read from MH i2c: E2 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 17 00 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: E2 17 00 F8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C8 [07:06:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:06:09]wFMCommunicate OK [07:06:09]CreateOFDProtocolMessage done [07:06:09]OFDSenderStorePacket 4027 [07:06:09]StoreOFDPacket docnum=4027 [07:06:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 98 01 00 00 CB 74 90 01 A1 23 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 62 6B 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BB 0F 00 00 35 04 06 00 22 68 E2 4C 11 E2 DA CD 1D D2 32 77 3D EF [07:06:09]CheckFolder [07:06:09]dirname=/storage/ofd_packets [07:06:09]CheckFolder done [07:06:09]ProducePacketName [07:06:09]name=ofd_packets/00004027 [07:06:09]NVStorageSaveData ofd_packets/00004027 [07:06:09]File name is /storage/ofd_packets/00004027 [07:06:09]Write 438 bytes [07:06:09]NVStorageSaveData done [07:06:09]OFDSenderStorePacket done [07:06:09]KKMCreateOFDPacket done [07:06:09]NVStorageSaveData kkm_last_timestamp [07:06:09]File name is /storage/kkm_last_timestamp [07:06:09]Write 4 bytes [07:06:09]NVStorageSaveData done [07:06:09]ExternCall_PrintAddStr [07:06:09]wPrintStart [07:06:09]Write to MH i2c: 01 00 00 F9 03 FC [07:06:09]Write i2c OK [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: 01 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: 01 07 00 [07:06:09]MH_I2C_Read... [07:06:09]Read from MH i2c: 01 07 00 F9 03 00 00 00 00 00 FF 0F 11 [07:06:10]RasterBufferAndPrint [07:06:10]line Счет N : (3)4281 [07:06:10]line ИНН: 02508201610067 [07:06:10]line Контрольно-Кассовый Чек [07:06:10]line ПРОДАЖА [07:06:10]line Товар: 4640030091645 [07:06:10]line Сигареты ESSE Exchange M [07:06:10]line 1.000 * 138.00 [07:06:10]line = 138.00 [07:06:10]line НДС 12% НСП 1% [07:06:10]line > о реализуемом товаре [07:06:10]line Товар: 2000034250011 [07:06:10]line Горячий шоколад (GABB trade) [07:06:10]line 1.000 * 110.00 [07:06:10]line = 110.00 [07:06:10]line НДС 12% НСП 1% [07:06:10]line > о реализуемом товаре [07:06:10]line ИТОГО: 248.00 [07:06:10]line НСП 1% : 2.19 [07:06:10]line НДС 12% : 26.33 [07:06:10]line Наличными: 248.00 [07:06:10]line Безнал.: 0.00 [07:06:10]line Место: АЗС № 116 "Партнер Нефть" [07:06:10]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:06:10]line СНО: Общий режим [07:06:10]line Чек 8 03.06.2024 07:06 [07:06:10]line Смена: 82 ФФД: 1.0 [07:06:10]line ЗНМ: 0300000233 [07:06:10]line РНМ: 0000000000145775 [07:06:10]line Версия ККМ: v1.0 [07:06:10]line ФМ: 0000000000959360 [07:06:10]line ФД: 4027 [07:06:10]line ФПД: 37833868579298 [07:06:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T070610&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4027&fm=37833868579298&tin=02508201610067®Number=0000000000145775&sum=24800 [07:06:10]line 0 [07:06:10]OFD Sender: Processing packet 4027 [packets to send 2, broken 1] [07:06:10]ProducePacketName [07:06:10]name=ofd_packets/00004027 [07:06:10]OFD Sender: To server: pG, [07:06:10]CommunicateWithHost lk.salyk.kg:30040 [07:06:10]ConnectInit lk.salyk.kg [07:06:10]written 0, free lines is 4095 [07:06:10]Connected sock=10 [07:06:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 98 01 00 00 CB 74 90 01 A1 23 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 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 62 6B 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BB 0F 00 00 35 04 06 00 22 68 E2 4C 11 E2 DA CD 1D D2 32 77 3D EF [07:06:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 2D B4 47 00 5E 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BB 0F 00 00 F4 03 04 00 66 17 5D 66 B6 04 01 00 00 90 D6 66 5F 39 0F 00 8F [07:06:10]CommunicateWithHost err = 0 [07:06:10]CheckOFDResponse [07:06:10]1017 (14) - 77093643461234 [07:06:10]1041 (16) - 0000000000959360 [07:06:10]1040 (4) - 4027 [07:06:10]1012 (4) - 03.06.2024 01:07 [07:06:10]1206 (1) - 0 [07:06:10]OFD Sender: Remove packet 4027 [07:06:10]ProducePacketName [07:06:10]name=ofd_packets/00004027 [07:06:10]NVStorageDeleteData [07:06:10]Write to MH i2c: 01 00 00 28 04 2C [07:06:10]Write i2c OK [07:06:10]MH_I2C_Read... [07:06:10]Read from MH i2c: 01 [07:06:10]MH_I2C_Read... [07:06:10]Read from MH i2c: 01 07 00 [07:06:10]MH_I2C_Read... [07:06:10]Read from MH i2c: 01 07 00 28 04 00 00 00 00 00 3B 0C 7A [07:06:10]RasterBufferAndPrint [07:06:10]line [07:06:10]line [07:06:10]line [07:06:10]line [07:06:10]line [07:06:10]written 0, free lines is 3135 [07:06:10]MH_Cut [07:06:10]Write to MH i2c: D1 01 00 2F 04 01 05 [07:06:10]Write i2c OK [07:06:10]MH_I2C_Read... [07:06:10]Read from MH i2c: D1 [07:06:10]MH_I2C_Read... [07:06:10]Read from MH i2c: D1 01 00 [07:06:10]MH_I2C_Read... [07:06:10]Read from MH i2c: D1 01 00 2F 04 00 04 [07:06:10]Write to MH i2c: 01 00 00 30 04 34 [07:06:10]Write i2c OK [07:06:10]MH_I2C_Read... [07:06:10]OFD Sender: No OFD packet to send [07:06:11]*** Cut start [07:06:11]*** Partial cut [07:06:11]*** CUTSNS_PIN = 1 [07:06:11]*** CUTSNS_PIN = 0 [07:06:11]*** Brake cut motor [07:06:12]Read from MH i2c: 01 [07:06:12]MH_I2C_Read... [07:06:12]*** Stop cut motor [07:06:12]*** Cut end [07:06:12]Read from MH i2c: 01 07 00 [07:06:12]MH_I2C_Read... [07:06:12]Read from MH i2c: 01 07 00 30 04 00 00 00 00 00 FF 0F 49 [07:06:12]process_action close_receipt done [07:06:12]requested_data is exist [07:06:12]produce_requested_data [07:06:12]requested_item fm.sn is exist - process it [07:06:12]wFMCommunicate request_size=4 [07:06:12]MH_SAM_APDU [07:06:12]CAPDU: 80 11 00 00 [07:06:12]Write to MH i2c: E2 08 00 31 04 80 11 00 00 00 00 00 00 AF [07:06:12]Write i2c OK [07:06:12]MH_I2C_Read... [07:06:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:06:12]Read from MH i2c: E2 [07:06:12]MH_I2C_Read... [07:06:12]Read from MH i2c: E2 17 00 [07:06:12]MH_I2C_Read... [07:06:12]Read from MH i2c: E2 17 00 31 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 02 [07:06:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:06:12]wFMCommunicate OK [07:06:12]requested_item fd.num is exist - process it [07:06:12]SAM_PROTO_GetFieldsCounters [07:06:12]wFMCommunicate request_size=4 [07:06:12]MH_SAM_APDU [07:06:12]CAPDU: 80 13 00 00 [07:06:12]Write to MH i2c: E2 08 00 32 04 80 13 00 00 00 00 00 00 B2 [07:06:12]Write i2c OK [07:06:12]MH_I2C_Read... [07:06:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:06:12]Read from MH i2c: E2 [07:06:12]MH_I2C_Read... [07:06:12]Read from MH i2c: E2 62 00 [07:06:12]MH_I2C_Read... [07:06:12]Read from MH i2c: E2 62 00 32 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BB 0F 00 00 0E 04 04 00 52 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 0B [07:06:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BB 0F 00 00 0E 04 04 00 52 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 [07:06:12]wFMCommunicate OK [07:06:12]SAM_PROTO_GetFieldsCounters done [07:06:12]requested_item shift.num is exist - process it [07:06:12]requested_item shift.opened is exist - process it [07:06:12]req_shift_opened [07:06:12]FM_GetShiftState [07:06:12]SAM_PROTO_GetShiftState [07:06:12]wFMCommunicate request_size=4 [07:06:12]MH_SAM_APDU [07:06:12]CAPDU: 80 13 01 00 [07:06:12]Write to MH i2c: E2 08 00 33 04 80 13 01 00 00 00 00 00 B4 [07:06:12]Write i2c OK [07:06:12]MH_I2C_Read... [07:06:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:06:12]Read from MH i2c: E2 [07:06:12]MH_I2C_Read... [07:06:12]Read from MH i2c: E2 0E 00 [07:06:12]MH_I2C_Read... [07:06:12]Read from MH i2c: E2 0E 00 33 04 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 42 [07:06:12]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:06:12]wFMCommunicate OK [07:06:12]SAM_PROTO_GetShiftState done [07:06:12]FM_GetShiftState done [07:06:12]req_shift_opened done [07:06:12]requested_item shift.open_date is exist - process it [07:06:12]req_shift_open_date [07:06:12]req_shift_open_date done [07:06:12]produce_requested_data done [07:06:12]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4027,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [07:06:12]process_action_free close_receipt [07:06:12]json_value_free [07:06:12]json_value_free done [07:06:12]process_json_proto returns [07:06:12]Send response to host [07:06:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4027,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [07:06:12]free response buf [07:06:12]execute_script done [07:06:12]execute_script returns [07:06:12]free content buf [07:06:12]Sock 8.Close socket [07:06:12]Sock 8.Thread stoped [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:40]accept exits with 9 [07:06:40]New connection [07:06:40]New thread 3067227492 created [07:06:40]Thread 3067370852 joined [07:06:40]Waiting for new connection... [07:06:40] Sock 9.Parse request [07:06:40]Sock 9.Check first char [07:06:40]Sock 9.First char is OK [07:06:40]request: POST /json_proto HTTP/1.0 [07:06:40]Method: POST [07:06:40]URL: /json_proto [07:06:40]Method is POST - this is cgi request [07:06:40]url: /json_proto [07:06:40]query_string will be loaded in cgi processing [07:06:40]execute_cgi json_proto POST (null) [07:06:40]execute_cgi path=json_proto method=POST [07:06:40]POST find Content-Length [07:06:40]Host: 172.17.56.68:8080 [07:06:40]Content-Length: 709 [07:06:40]Content-Type: application/json [07:06:40] [07:06:40]POST finish read [07:06:40]Found Content-Length = 709 [07:06:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4282", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:06:40]execute_script... [07:06: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)4282", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:06:40]POST & json_proto [07:06:40]process_json_proto [07:06:40]json parsed OK: [07:06:40]protocol is kg_v1.0 [07:06:40]action value=close_receipt [07:06:40]process_action close_receipt [07:06:40]cmd_close_receipt [07:06:40]MH_GetDate [07:06:40]Write to MH i2c: F0 00 00 34 04 27 [07:06:40]Write i2c OK [07:06:40]MH_I2C_Read... [07:06:40]Read from MH i2c: F0 [07:06:40]MH_I2C_Read... [07:06:40]Read from MH i2c: F0 09 00 [07:06:40]MH_I2C_Read... [07:06:40]Read from MH i2c: F0 09 00 34 04 00 83 6B 5D 66 42 69 5C 66 4E [07:06:40]GetLastDocTimeStamp 1717398370 [07:06:40]current date 1717398403 [07:06:40]FM_GetShiftState [07:06:40]SAM_PROTO_GetShiftState [07:06:40]wFMCommunicate request_size=4 [07:06:40]MH_SAM_APDU [07:06:40]CAPDU: 80 13 01 00 [07:06:40]Write to MH i2c: E2 08 00 35 04 80 13 01 00 00 00 00 00 B6 [07:06:40]Write i2c OK [07:06:40]MH_I2C_Read... [07:06:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:06:40]Read from MH i2c: E2 [07:06:40]MH_I2C_Read... [07:06:40]Read from MH i2c: E2 0E 00 [07:06:40]MH_I2C_Read... [07:06:40]Read from MH i2c: E2 0E 00 35 04 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 44 [07:06:40]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:06:40]wFMCommunicate OK [07:06:40]SAM_PROTO_GetShiftState done [07:06:40]FM_GetShiftState done [07:06:40]opened in 1717372856 [07:06:40]opened+sec_in_day 1717459256 [07:06:40]quantity*price = 8500 [07:06:40]sum+1 = 8501 [07:06:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 9 03.06.2024 07:06 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4028 ФПД: 43328246475051 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T070643&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4028&fm=43328246475051&tin=02508201610067®Number=0000000000145775&sum=8500 0 [07:06:41]StoreToDocumentArchive [07:06:41]shift 82 fd 4028 [07:06:41]save to /storage/0082/doc_00004028 [07:06:41]save last doc name /storage/0082/doc_00004028 to /storage/kkm_last_doc_name [07:06:41]save OK [07:06:41]Clear old archive folders... [07:06:41]ProcessDocumentItem done err = 0, tmpTLVsize=302 [07:06:41]tlvbuf is B6F40770 [07:06:41]SAM_PROTO_ClearQueue [07:06:41]wFMCommunicate request_size=4 [07:06:41]MH_SAM_APDU [07:06:41]CAPDU: 80 09 00 00 [07:06:41]Write to MH i2c: E2 08 00 42 04 80 09 00 00 00 00 00 00 B8 [07:06:41]Write i2c OK [07:06:41]MH_I2C_Read... [07:06:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:06:42]Read from MH i2c: E2 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 03 00 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 03 00 42 04 00 90 00 BA [07:06:42]RAPDU: 90 00 [07:06:42]wFMCommunicate OK [07:06:42]SAM_PROTO_ClearQueue done [07:06:42]KKMCreateOFDPacket [07:06:42]OFDProtocolAddRootSTLVToBuf [07:06:42]FM_MakeSignedData [07:06:42]FM_MakeSignedData [07:06:42]SAM_PROTO_SignData [07:06:42]wFMCommunicate request_size=4 [07:06:42]MH_SAM_APDU [07:06:42]CAPDU: 80 0D 01 02 [07:06:42]Write to MH i2c: E2 08 00 43 04 80 0D 01 02 00 00 00 00 C0 [07:06:42]Write i2c OK [07:06:42]MH_I2C_Read... [07:06:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:06:42]Read from MH i2c: E2 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 03 00 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 03 00 43 04 00 90 00 BB [07:06:42]RAPDU: 90 00 [07:06:42]wFMCommunicate OK [07:06:42]wFMCommunicate request_size=255 [07:06:42]MH_SAM_APDU [07:06:42]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 83 6B 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 [07:06:42]Write to MH i2c: E2 02 01 44 04 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 83 6B 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 00 00 0A [07:06:42]Write i2c OK [07:06:42]MH_I2C_Read... [07:06:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:06:42]Read from MH i2c: E2 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 03 00 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 03 00 44 04 00 90 00 BC [07:06:42]RAPDU: 90 00 [07:06:42]wFMCommunicate OK [07:06:42]wFMCommunicate request_size=61 [07:06:42]MH_SAM_APDU [07:06:42]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BC 0F 00 00 35 04 06 00 27 68 24 BD 69 2B [07:06:42]Write to MH i2c: E2 40 00 45 04 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BC 0F 00 00 35 04 06 00 27 68 24 BD 69 2B 00 00 CB [07:06:42]Write i2c OK [07:06:42]MH_I2C_Read... [07:06:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:06:42]Read from MH i2c: E2 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 03 00 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 03 00 45 04 00 90 00 BD [07:06:42]RAPDU: 90 00 [07:06:42]wFMCommunicate OK [07:06:42]wFMCommunicate request_size=4 [07:06:42]MH_SAM_APDU [07:06:42]CAPDU: 80 0D 03 02 [07:06:42]Write to MH i2c: E2 08 00 46 04 80 0D 03 02 00 00 00 00 C5 [07:06:42]Write i2c OK [07:06:42]MH_I2C_Read... [07:06:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:06:42]Read from MH i2c: E2 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 0B 00 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 0B 00 46 04 00 03 91 74 F5 3B 35 8B D2 90 00 90 [07:06:42]RAPDU: 03 91 74 F5 3B 35 8B D2 90 00 [07:06:42]wFMCommunicate OK [07:06:42]SAM_PROTO_SignData done [07:06:42]FM_MakeSignedData done [07:06:42]CreateOFDProtocolMessage [07:06:42]wFMCommunicate request_size=4 [07:06:42]MH_SAM_APDU [07:06:42]CAPDU: 80 11 00 00 [07:06:42]Write to MH i2c: E2 08 00 47 04 80 11 00 00 00 00 00 00 C5 [07:06:42]Write i2c OK [07:06:42]MH_I2C_Read... [07:06:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:06:42]Read from MH i2c: E2 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 17 00 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: E2 17 00 47 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 18 [07:06:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:06:42]wFMCommunicate OK [07:06:42]CreateOFDProtocolMessage done [07:06:42]OFDSenderStorePacket 4028 [07:06:42]StoreOFDPacket docnum=4028 [07:06:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 42 01 00 00 E9 34 3A 01 C2 51 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 83 6B 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BC 0F 00 00 35 04 06 00 27 68 24 BD 69 2B 03 91 74 F5 3B 35 8B D2 [07:06:42]CheckFolder [07:06:42]dirname=/storage/ofd_packets [07:06:42]CheckFolder done [07:06:42]ProducePacketName [07:06:42]name=ofd_packets/00004028 [07:06:42]NVStorageSaveData ofd_packets/00004028 [07:06:42]File name is /storage/ofd_packets/00004028 [07:06:42]Write 352 bytes [07:06:42]NVStorageSaveData done [07:06:42]OFDSenderStorePacket done [07:06:42]KKMCreateOFDPacket done [07:06:42]NVStorageSaveData kkm_last_timestamp [07:06:42]File name is /storage/kkm_last_timestamp [07:06:42]Write 4 bytes [07:06:42]NVStorageSaveData done [07:06:42]ExternCall_PrintAddStr [07:06:42]wPrintStart [07:06:42]Write to MH i2c: 01 00 00 48 04 4C [07:06:42]Write i2c OK [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: 01 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: 01 07 00 [07:06:42]MH_I2C_Read... [07:06:42]Read from MH i2c: 01 07 00 48 04 00 00 00 00 00 FF 0F 61 [07:06:42]RasterBufferAndPrint [07:06:42]line Счет N : (3)4282 [07:06:42]line ИНН: 02508201610067 [07:06:42]line Контрольно-Кассовый Чек [07:06:42]line ПРОДАЖА [07:06:42]line Товар: 4870001571030 [07:06:42]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [07:06:42]line 1.000 * 85.00 [07:06:42]line = 85.00 [07:06:42]line НДС 12% НСП 1% [07:06:42]line > о реализуемом товаре [07:06:42]line ИТОГО: 85.00 [07:06:42]line НСП 1% : 0.75 [07:06:42]line НДС 12% : 9.03 [07:06:42]line Наличными: 85.00 [07:06:42]line Безнал.: 0.00 [07:06:42]line Место: АЗС № 116 "Партнер Нефть" [07:06:42]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:06:42]line СНО: Общий режим [07:06:42]line Чек 9 03.06.2024 07:06 [07:06:42]line Смена: 82 ФФД: 1.0 [07:06:42]line ЗНМ: 0300000233 [07:06:42]line РНМ: 0000000000145775 [07:06:42]line Версия ККМ: v1.0 [07:06:42]line ФМ: 0000000000959360 [07:06:42]line ФД: 4028 [07:06:42]line ФПД: 43328246475051 [07:06:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T070643&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4028&fm=43328246475051&tin=02508201610067®Number=0000000000145775&sum=8500 [07:06:42]line 0 [07:06:42]OFD Sender: Processing packet 4028 [packets to send 2, broken 1] [07:06:42]ProducePacketName [07:06:42]name=ofd_packets/00004028 [07:06:42]OFD Sender: To server: pG, [07:06:42]CommunicateWithHost lk.salyk.kg:30040 [07:06:42]ConnectInit lk.salyk.kg [07:06:42]written 0, free lines is 4095 [07:06:42]Connected sock=10 [07:06:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 42 01 00 00 E9 34 3A 01 C2 51 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 83 6B 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BC 0F 00 00 35 04 06 00 27 68 24 BD 69 2B 03 91 74 F5 3B 35 8B D2 [07:06:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 2F 34 47 00 B9 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BC 0F 00 00 F4 03 04 00 87 17 5D 66 B6 04 01 00 00 7B F2 E1 6A BE 7C EB 7D [07:06:43]CommunicateWithHost err = 0 [07:06:43]CheckOFDResponse [07:06:43]1017 (14) - 77093643461234 [07:06:43]1041 (16) - 0000000000959360 [07:06:43]1040 (4) - 4028 [07:06:43]1012 (4) - 03.06.2024 01:08 [07:06:43]1206 (1) - 0 [07:06:43]OFD Sender: Remove packet 4028 [07:06:43]ProducePacketName [07:06:43]name=ofd_packets/00004028 [07:06:43]NVStorageDeleteData [07:06:43]Write to MH i2c: 01 00 00 71 04 75 [07:06:43]Write i2c OK [07:06:43]MH_I2C_Read... [07:06:43]Read from MH i2c: 01 [07:06:43]MH_I2C_Read... [07:06:43]Read from MH i2c: 01 07 00 [07:06:43]MH_I2C_Read... [07:06:43]Read from MH i2c: 01 07 00 71 04 00 00 00 00 00 BB 0C 43 [07:06:43]RasterBufferAndPrint [07:06:43]line [07:06:43]line [07:06:43]line [07:06:43]line [07:06:43]line [07:06:43]written 0, free lines is 3263 [07:06:43]MH_Cut [07:06:43]Write to MH i2c: D1 01 00 78 04 01 4E [07:06:43]Write i2c OK [07:06:43]MH_I2C_Read... [07:06:43]Read from MH i2c: D1 [07:06:43]MH_I2C_Read... [07:06:43]Read from MH i2c: D1 01 00 [07:06:43]MH_I2C_Read... [07:06:43]Read from MH i2c: D1 01 00 78 04 00 4D [07:06:43]Write to MH i2c: 01 00 00 79 04 7D [07:06:43]Write i2c OK [07:06:43]MH_I2C_Read... [07:06:43]OFD Sender: No OFD packet to send [07:06:44]*** Cut start [07:06:44]*** Partial cut [07:06:44]*** CUTSNS_PIN = 1 [07:06:44]*** CUTSNS_PIN = 0 [07:06:44]*** Brake cut motor [07:06:44]Read from MH i2c: 01 [07:06:44]MH_I2C_Read... [07:06:44]*** Stop cut motor [07:06:44]*** Cut end [07:06:44]Read from MH i2c: 01 07 00 [07:06:44]MH_I2C_Read... [07:06:44]Read from MH i2c: 01 07 00 79 04 00 00 00 00 00 FF 0F 92 [07:06:44]process_action close_receipt done [07:06:44]requested_data is exist [07:06:44]produce_requested_data [07:06:44]requested_item fm.sn is exist - process it [07:06:44]wFMCommunicate request_size=4 [07:06:44]MH_SAM_APDU [07:06:44]CAPDU: 80 11 00 00 [07:06:44]Write to MH i2c: E2 08 00 7A 04 80 11 00 00 00 00 00 00 F8 [07:06:44]Write i2c OK [07:06:44]MH_I2C_Read... [07:06:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:06:44]Read from MH i2c: E2 [07:06:44]MH_I2C_Read... [07:06:44]Read from MH i2c: E2 17 00 [07:06:44]MH_I2C_Read... [07:06:44]Read from MH i2c: E2 17 00 7A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4B [07:06:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:06:44]wFMCommunicate OK [07:06:44]requested_item fd.num is exist - process it [07:06:44]SAM_PROTO_GetFieldsCounters [07:06:44]wFMCommunicate request_size=4 [07:06:44]MH_SAM_APDU [07:06:44]CAPDU: 80 13 00 00 [07:06:44]Write to MH i2c: E2 08 00 7B 04 80 13 00 00 00 00 00 00 FB [07:06:44]Write i2c OK [07:06:44]MH_I2C_Read... [07:06:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:06:44]Read from MH i2c: E2 [07:06:44]MH_I2C_Read... [07:06:44]Read from MH i2c: E2 62 00 [07:06:44]MH_I2C_Read... [07:06:44]Read from MH i2c: E2 62 00 7B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BC 0F 00 00 0E 04 04 00 52 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 58 [07:06:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BC 0F 00 00 0E 04 04 00 52 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 [07:06:44]wFMCommunicate OK [07:06:44]SAM_PROTO_GetFieldsCounters done [07:06:44]requested_item shift.num is exist - process it [07:06:44]requested_item shift.opened is exist - process it [07:06:44]req_shift_opened [07:06:44]FM_GetShiftState [07:06:44]SAM_PROTO_GetShiftState [07:06:44]wFMCommunicate request_size=4 [07:06:44]MH_SAM_APDU [07:06:44]CAPDU: 80 13 01 00 [07:06:44]Write to MH i2c: E2 08 00 7C 04 80 13 01 00 00 00 00 00 FD [07:06:44]Write i2c OK [07:06:44]MH_I2C_Read... [07:06:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:06:45]Read from MH i2c: E2 [07:06:45]MH_I2C_Read... [07:06:45]Read from MH i2c: E2 0E 00 [07:06:45]MH_I2C_Read... [07:06:45]Read from MH i2c: E2 0E 00 7C 04 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 8B [07:06:45]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:06:45]wFMCommunicate OK [07:06:45]SAM_PROTO_GetShiftState done [07:06:45]FM_GetShiftState done [07:06:45]req_shift_opened done [07:06:45]requested_item shift.open_date is exist - process it [07:06:45]req_shift_open_date [07:06:45]req_shift_open_date done [07:06:45]produce_requested_data done [07:06:45]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4028,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [07:06:45]process_action_free close_receipt [07:06:45]json_value_free [07:06:45]json_value_free done [07:06:45]process_json_proto returns [07:06:45]Send response to host [07:06:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4028,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [07:06:45]free response buf [07:06:45]execute_script done [07:06:45]execute_script returns [07:06:45]free content buf [07:06:45]Sock 9.Close socket [07:06:45]Sock 9.Thread stoped [07:06:48]OFD Sender: No OFD packet to send [07:06:53]OFD Sender: No OFD packet to send [07:06:58]OFD Sender: No OFD packet to send [07:07:03]OFD Sender: No OFD packet to send [07:07:08]OFD Sender: No OFD packet to send [07:07:13]OFD Sender: No OFD packet to send [07:07:18]OFD Sender: No OFD packet to send [07:07:23]OFD Sender: No OFD packet to send [07:07:28]OFD Sender: No OFD packet to send [07:07:33]OFD Sender: No OFD packet to send [07:07:38]OFD Sender: No OFD packet to send [07:07:43]OFD Sender: No OFD packet to send [07:07:48]OFD Sender: No OFD packet to send [07:07:53]OFD Sender: No OFD packet to send [07:07:58]OFD Sender: No OFD packet to send [07:08:03]OFD Sender: No OFD packet to send [07:08:08]OFD Sender: No OFD packet to send [07:08:13]OFD Sender: No OFD packet to send [07:08:18]OFD Sender: No OFD packet to send [07:08:23]OFD Sender: No OFD packet to send [07:08:28]OFD Sender: No OFD packet to send [07:08:33]OFD Sender: No OFD packet to send [07:08:38]OFD Sender: No OFD packet to send [07:08:43]OFD Sender: No OFD packet to send [07:08:48]OFD Sender: No OFD packet to send [07:08:53]OFD Sender: No OFD packet to send [07:08:58]OFD Sender: No OFD packet to send [07:09:03]OFD Sender: No OFD packet to send [07:09:08]OFD Sender: No OFD packet to send [07:09:13]OFD Sender: No OFD packet to send [07:09:18]OFD Sender: No OFD packet to send [07:09:23]OFD Sender: No OFD packet to send [07:09:28]OFD Sender: No OFD packet to send [07:09:33]OFD Sender: No OFD packet to send [07:09:38]OFD Sender: No OFD packet to send [07:09:43]OFD Sender: No OFD packet to send [07:09:48]OFD Sender: No OFD packet to send [07:09:53]OFD Sender: No OFD packet to send [07:09:58]OFD Sender: No OFD packet to send [07:10:03]OFD Sender: No OFD packet to send [07:10:08]OFD Sender: No OFD packet to send [07:10:13]OFD Sender: No OFD packet to send [07:10:18]OFD Sender: No OFD packet to send [07:10:23]OFD Sender: No OFD packet to send [07:10:28]OFD Sender: No OFD packet to send [07:10:33]OFD Sender: No OFD packet to send [07:10:38]OFD Sender: No OFD packet to send [07:10:43]OFD Sender: No OFD packet to send [07:10:48]OFD Sender: No OFD packet to send [07:10:53]OFD Sender: No OFD packet to send [07:10:58]OFD Sender: No OFD packet to send [07:11:03]OFD Sender: No OFD packet to send [07:11:08]OFD Sender: No OFD packet to send [07:11:13]OFD Sender: No OFD packet to send [07:11:18]OFD Sender: No OFD packet to send [07:11:23]OFD Sender: No OFD packet to send [07:11:28]OFD Sender: No OFD packet to send [07:11:33]OFD Sender: No OFD packet to send [07:11:38]OFD Sender: No OFD packet to send [07:11:43]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14: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:09]OFD Sender: No OFD packet to send [07:18:14]OFD Sender: No OFD packet to send [07:18:19]OFD Sender: No OFD packet to send [07:18:24]OFD Sender: No OFD packet to send [07:18:29]OFD Sender: No OFD packet to send [07:18:34]OFD Sender: No OFD packet to send [07:18:39]OFD Sender: No OFD packet to send [07:18:44]OFD Sender: No OFD packet to send [07:18:49]OFD Sender: No OFD packet to send [07:18:54]OFD Sender: No OFD packet to send [07:18:59]OFD Sender: No OFD packet to send [07:19:04]OFD Sender: No OFD packet to send [07:19:09]OFD Sender: No OFD packet to send [07:19:14]OFD Sender: No OFD packet to send [07:19:19]OFD Sender: No OFD packet to send [07:19:24]OFD Sender: No OFD packet to send [07:19:29]OFD Sender: No OFD packet to send [07:19:34]OFD Sender: No OFD packet to send [07:19:39]OFD Sender: No OFD packet to send [07:19:44]OFD Sender: No OFD packet to send [07:19:49]OFD Sender: No OFD packet to send [07:19:54]OFD Sender: No OFD packet to send [07:19:59]OFD Sender: No OFD packet to send [07:20:04]OFD Sender: No OFD packet to send [07:20:09]OFD Sender: No OFD packet to send [07:20:14]OFD Sender: No OFD packet to send [07:20:19]OFD Sender: No OFD packet to send [07:20:24]OFD Sender: No OFD packet to send [07:20:29]OFD Sender: No OFD packet to send [07:20:34]OFD Sender: No OFD packet to send [07:20:39]OFD Sender: No OFD packet to send [07:20:44]OFD Sender: No OFD packet to send [07:20:49]OFD Sender: No OFD packet to send [07:20:54]OFD Sender: No OFD packet to send [07:20:59]OFD Sender: No OFD packet to send [07:21:04]OFD Sender: No OFD packet to send [07:21:09]OFD Sender: No OFD packet to send [07:21:14]OFD Sender: No OFD packet to send [07:21:19]OFD Sender: No OFD packet to send [07:21:24]OFD Sender: No OFD packet to send [07:21:29]OFD Sender: No OFD packet to send [07:21:34]OFD Sender: No OFD packet to send [07:21:39]OFD Sender: No OFD packet to send [07:21:44]OFD Sender: No OFD packet to send [07:21:49]OFD Sender: No OFD packet to send [07:21:54]OFD Sender: No OFD packet to send [07:21:59]OFD Sender: No OFD packet to send [07:22:04]OFD Sender: No OFD packet to send [07:22:09]OFD Sender: No OFD packet to send [07:22:14]OFD Sender: No OFD packet to send [07:22:19]OFD Sender: No OFD packet to send [07:22:24]OFD Sender: No OFD packet to send [07:22:29]OFD Sender: No OFD packet to send [07:22:34]OFD Sender: No OFD packet to send [07:22:39]OFD Sender: No OFD packet to send [07:22:44]OFD Sender: No OFD packet to send [07:22:49]OFD Sender: No OFD packet to send [07:22:54]OFD Sender: No OFD packet to send [07:22:59]OFD Sender: No OFD packet to send [07:23:04]OFD Sender: No OFD packet to send [07:23:09]OFD Sender: No OFD packet to send [07:23:14]OFD Sender: No OFD packet to send [07:23:19]OFD Sender: No OFD packet to send [07:23:24]OFD Sender: No OFD packet to send [07:23:29]OFD Sender: No OFD packet to send [07:23:34]OFD Sender: No OFD packet to send [07:23:39]OFD Sender: No OFD packet to send [07:23:44]OFD Sender: No OFD packet to send [07:23:49]OFD Sender: No OFD packet to send [07:23:54]OFD Sender: No OFD packet to send [07:23:59]OFD Sender: No OFD packet to send [07:24:04]OFD Sender: No OFD packet to send [07:24:09]OFD Sender: No OFD packet to send [07:24:14]OFD Sender: No OFD packet to send [07:24:19]OFD Sender: No OFD packet to send [07:24:24]OFD Sender: No OFD packet to send [07:24:29]OFD Sender: No OFD packet to send [07:24:34]OFD Sender: No OFD packet to send [07:24:39]OFD Sender: No OFD packet to send [07:24:44]OFD Sender: No OFD packet to send [07:24:49]OFD Sender: No OFD packet to send [07:24:54]OFD Sender: No OFD packet to send [07:24:59]OFD Sender: No OFD packet to send [07:25:04]OFD Sender: No OFD packet to send [07:25:09]OFD Sender: No OFD packet to send [07:25:14]OFD Sender: No OFD packet to send [07:25:19]OFD Sender: No OFD packet to send [07:25:24]OFD Sender: No OFD packet to send [07:25:29]OFD Sender: No OFD packet to send [07:25:34]OFD Sender: No OFD packet to send [07:25:39]OFD Sender: No OFD packet to send [07:25:44]OFD Sender: No OFD packet to send [07:25:49]OFD Sender: No OFD packet to send [07:25:54]OFD Sender: No OFD packet to send [07:25:59]OFD Sender: No OFD packet to send [07:26:04]OFD Sender: No OFD packet to send [07:26:09]OFD Sender: No OFD packet to send [07:26:14]OFD Sender: No OFD packet to send [07:26:19]OFD Sender: No OFD packet to send [07:26:24]OFD Sender: No OFD packet to send [07:26:29]OFD Sender: No OFD packet to send [07:26:34]OFD Sender: No OFD packet to send [07:26:39]OFD Sender: No OFD packet to send [07:26:44]OFD Sender: No OFD packet to send [07:26:49]OFD Sender: No OFD packet to send [07:26:54]OFD Sender: No OFD packet to send [07:26:59]OFD Sender: No OFD packet to send [07:27:04]OFD Sender: No OFD packet to send [07:27:09]OFD Sender: No OFD packet to send [07:27:14]OFD Sender: No OFD packet to send [07:27:19]OFD Sender: No OFD packet to send [07:27:24]OFD Sender: No OFD packet to send [07:27:29]OFD Sender: No OFD packet to send [07:27:34]OFD Sender: No OFD packet to send [07:27:39]OFD Sender: No OFD packet to send [07:27:44]OFD Sender: No OFD packet to send [07:27:49]OFD Sender: No OFD packet to send [07:27:54]OFD Sender: No OFD packet to send [07:27:59]OFD Sender: No OFD packet to send [07:28:04]OFD Sender: No OFD packet to send [07:28:09]OFD Sender: No OFD packet to send [07:28:14]OFD Sender: No OFD packet to send [07:28:19]OFD Sender: No OFD packet to send [07:28:24]OFD Sender: No OFD packet to send [07:28:29]OFD Sender: No OFD packet to send [07:28:34]OFD Sender: No OFD packet to send [07:28:39]OFD Sender: No OFD packet to send [07:28:44]OFD Sender: No OFD packet to send [07:28:49]OFD Sender: No OFD packet to send [07:28:54]OFD Sender: No OFD packet to send [07:28:59]OFD Sender: No OFD packet to send [07:29:04]OFD Sender: No OFD packet to send [07:29:09]OFD Sender: No OFD packet to send [07:29:14]OFD Sender: No OFD packet to send [07:29:19]OFD Sender: No OFD packet to send [07:29:24]OFD Sender: No OFD packet to send [07:29:29]OFD Sender: No OFD packet to send [07:29:34]OFD Sender: No OFD packet to send [07:29:39]OFD Sender: No OFD packet to send [07:29:44]OFD Sender: No OFD packet to send [07:29:49]OFD Sender: No OFD packet to send [07:29:54]OFD Sender: No OFD packet to send [07:29:59]OFD Sender: No OFD packet to send [07:30:04]OFD Sender: No OFD packet to send [07:30:09]OFD Sender: No OFD packet to send [07:30:14]OFD Sender: No OFD packet to send [07:30:19]OFD Sender: No OFD packet to send [07:30:24]OFD Sender: No OFD packet to send [07:30:29]OFD Sender: No OFD packet to send [07:30:34]OFD Sender: No OFD packet to send [07:30:39]OFD Sender: No OFD packet to send [07:30:44]OFD Sender: No OFD packet to send [07:30:49]OFD Sender: No OFD packet to send [07:30:54]OFD Sender: No OFD packet to send [07:30:59]OFD Sender: No OFD packet to send [07:31:04]OFD Sender: No OFD packet to send [07:31:09]OFD Sender: No OFD packet to send [07:31:14]OFD Sender: No OFD packet to send [07:31:19]OFD Sender: No OFD packet to send [07:31:24]OFD Sender: No OFD packet to send [07:31:29]OFD Sender: No OFD packet to send [07:31:34]OFD Sender: No OFD packet to send [07:31:39]OFD Sender: No OFD packet to send [07:31:44]OFD Sender: No OFD packet to send [07:31:49]OFD Sender: No OFD packet to send [07:31:54]OFD Sender: No OFD packet to send [07:31:59]OFD Sender: No OFD packet to send [07:32:04]OFD Sender: No OFD packet to send [07:32:09]OFD Sender: No OFD packet to send [07:32:14]OFD Sender: No OFD packet to send [07:32:19]OFD Sender: No OFD packet to send [07:32:24]OFD Sender: No OFD packet to send [07:32:29]OFD Sender: No OFD packet to send [07:32:34]OFD Sender: No OFD packet to send [07:32:39]OFD Sender: No OFD packet to send [07:32:44]OFD Sender: No OFD packet to send [07:32:49]OFD Sender: No OFD packet to send [07:32:54]OFD Sender: No OFD packet to send [07:32:59]OFD Sender: No OFD packet to send [07:33:04]OFD Sender: No OFD packet to send [07:33:09]OFD Sender: No OFD packet to send [07:33:14]OFD Sender: No OFD packet to send [07:33:19]OFD Sender: No OFD packet to send [07:33:24]OFD Sender: No OFD packet to send [07:33:29]OFD Sender: No OFD packet to send [07:33:34]OFD Sender: No OFD packet to send [07:33:39]OFD Sender: No OFD packet to send [07:33:44]OFD Sender: No OFD packet to send [07:33:49]OFD Sender: No OFD packet to send [07:33:54]OFD Sender: No OFD packet to send [07:33:59]OFD Sender: No OFD packet to send [07:34:04]OFD Sender: No OFD packet to send [07:34:09]OFD Sender: No OFD packet to send [07:34:14]OFD Sender: No OFD packet to send [07:34:19]OFD Sender: No OFD packet to send [07:34:24]OFD Sender: No OFD packet to send [07:34:29]OFD Sender: No OFD packet to send [07:34:34]OFD Sender: No OFD packet to send [07:34:39]OFD Sender: No OFD packet to send [07:34:44]OFD Sender: No OFD packet to send [07:34:49]OFD Sender: No OFD packet to send [07:34:54]OFD Sender: No OFD packet to send [07:34:59]OFD Sender: No OFD packet to send [07:35:04]OFD Sender: No OFD packet to send [07:35:09]OFD Sender: No OFD packet to send [07:35:14]OFD Sender: No OFD packet to send [07:35:19]OFD Sender: No OFD packet to send [07:35:24]OFD Sender: No OFD packet to send [07:35:29]OFD Sender: No OFD packet to send [07:35:34]OFD Sender: No OFD packet to send [07:35:39]OFD Sender: No OFD packet to send [07:35:44]OFD Sender: No OFD packet to send [07:35:49]OFD Sender: No OFD packet to send [07:35:54]OFD Sender: No OFD packet to send [07:35:59]OFD Sender: No OFD packet to send [07:36:04]OFD Sender: No OFD packet to send [07:36:09]OFD Sender: No OFD packet to send [07:36:14]OFD Sender: No OFD packet to send [07:36:19]OFD Sender: No OFD packet to send [07:36:24]OFD Sender: No OFD packet to send [07:36:29]OFD Sender: No OFD packet to send [07:36:34]OFD Sender: No OFD packet to send [07:36:39]OFD Sender: No OFD packet to send [07:36:44]OFD Sender: No OFD packet to send [07:36:49]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07: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:29]accept exits with 8 [07:37:29]New connection [07:37:29]New thread 3067370852 created [07:37:29]Thread 3067227492 joined [07:37:29]Waiting for new connection... [07:37:29] Sock 8.Parse request [07:37:29]Sock 8.Check first char [07:37:29]Sock 8.First char is OK [07:37:29]request: POST /json_proto HTTP/1.0 [07:37:29]Method: POST [07:37:29]URL: /json_proto [07:37:29]Method is POST - this is cgi request [07:37:29]url: /json_proto [07:37:29]query_string will be loaded in cgi processing [07:37:29]execute_cgi json_proto POST (null) [07:37:29]execute_cgi path=json_proto method=POST [07:37:29]POST find Content-Length [07:37:29]Host: 172.17.56.68:8080 [07:37:29]Content-Length: 1002 [07:37:29]Content-Type: application/json [07:37:29] [07:37:29]POST finish read [07:37:29]Found Content-Length = 1002 [07:37:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4283", "tax_sys" : 0, "items" : [ { "code": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:37:29]execute_script... [07:37:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4283", "tax_sys" : 0, "items" : [ { "code": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:37:29]POST & json_proto [07:37:29]process_json_proto [07:37:29]json parsed OK: [07:37:29]protocol is kg_v1.0 [07:37:29]action value=close_receipt [07:37:29]process_action close_receipt [07:37:29]cmd_close_receipt [07:37:29]MH_GetDate [07:37:29]Write to MH i2c: F0 00 00 7D 04 70 [07:37:29]Write i2c OK [07:37:29]MH_I2C_Read... [07:37:29]Read from MH i2c: F0 [07:37:29]MH_I2C_Read... [07:37:29]Read from MH i2c: F0 09 00 [07:37:29]MH_I2C_Read... [07:37:29]Read from MH i2c: F0 09 00 7D 04 00 BC 72 5D 66 42 69 5C 66 D7 [07:37:29]GetLastDocTimeStamp 1717398403 [07:37:29]current date 1717400252 [07:37:29]FM_GetShiftState [07:37:29]SAM_PROTO_GetShiftState [07:37:29]wFMCommunicate request_size=4 [07:37:29]MH_SAM_APDU [07:37:29]CAPDU: 80 13 01 00 [07:37:29]Write to MH i2c: E2 08 00 7E 04 80 13 01 00 00 00 00 00 FF [07:37:29]Write i2c OK [07:37:29]MH_I2C_Read... [07:37:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:29]Read from MH i2c: E2 [07:37:29]MH_I2C_Read... [07:37:29]Read from MH i2c: E2 0E 00 [07:37:29]MH_I2C_Read... [07:37:29]Read from MH i2c: E2 0E 00 7E 04 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 8D [07:37:29]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:37:29]wFMCommunicate OK [07:37:29]SAM_PROTO_GetShiftState done [07:37:29]FM_GetShiftState done [07:37:29]opened in 1717372856 [07:37:29]opened+sec_in_day 1717459256 [07:37:29]quantity*price = 11000 [07:37:29]sum+1 = 11001 [07:37:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001571030 Вода ASU пит н.газ клубн,киви ПЭТ 1л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.72 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 10 03.06.2024 07:37 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4029 ФПД: 155692391158683 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T073732&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4029&fm=155692391158683&tin=02508201610067®Number=0000000000145775&sum=19500 0 [07:37:30]StoreToDocumentArchive [07:37:30]shift 82 fd 4029 [07:37:30]save to /storage/0082/doc_00004029 [07:37:30]save last doc name /storage/0082/doc_00004029 to /storage/kkm_last_doc_name [07:37:30]save OK [07:37:30]Clear old archive folders... [07:37:30]ProcessDocumentItem done err = 0, tmpTLVsize=416 [07:37:30]tlvbuf is B6F270E0 [07:37:30]SAM_PROTO_ClearQueue [07:37:30]wFMCommunicate request_size=4 [07:37:30]MH_SAM_APDU [07:37:30]CAPDU: 80 09 00 00 [07:37:30]Write to MH i2c: E2 08 00 8B 04 80 09 00 00 00 00 00 00 01 [07:37:30]Write i2c OK [07:37:30]MH_I2C_Read... [07:37:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:37:31]Read from MH i2c: E2 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 03 00 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 03 00 8B 04 00 90 00 03 [07:37:31]RAPDU: 90 00 [07:37:31]wFMCommunicate OK [07:37:31]SAM_PROTO_ClearQueue done [07:37:31]KKMCreateOFDPacket [07:37:31]OFDProtocolAddRootSTLVToBuf [07:37:31]FM_MakeSignedData [07:37:31]FM_MakeSignedData [07:37:31]SAM_PROTO_SignData [07:37:31]wFMCommunicate request_size=4 [07:37:31]MH_SAM_APDU [07:37:31]CAPDU: 80 0D 01 02 [07:37:31]Write to MH i2c: E2 08 00 8C 04 80 0D 01 02 00 00 00 00 09 [07:37:31]Write i2c OK [07:37:31]MH_I2C_Read... [07:37:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:37:31]Read from MH i2c: E2 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 03 00 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 03 00 8C 04 00 90 00 04 [07:37:31]RAPDU: 90 00 [07:37:31]wFMCommunicate OK [07:37:31]wFMCommunicate request_size=255 [07:37:31]MH_SAM_APDU [07:37:31]CAPDU: 80 0D 02 02 FA 03 00 A0 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 [07:37:31]Write to MH i2c: E2 02 01 8D 04 80 0D 02 02 FA 00 03 00 A0 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 00 00 E8 [07:37:31]Write i2c OK [07:37:31]MH_I2C_Read... [07:37:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:31]Read from MH i2c: E2 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 03 00 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 03 00 8D 04 00 90 00 05 [07:37:31]RAPDU: 90 00 [07:37:31]wFMCommunicate OK [07:37:31]wFMCommunicate request_size=175 [07:37:31]MH_SAM_APDU [07:37:31]CAPDU: 80 0D 02 02 AA 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 AC 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 0A 00 00 00 F4 03 04 00 BC 72 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BD 0F 00 00 35 04 06 00 8D 99 F5 AB 53 9B [07:37:31]Write to MH i2c: E2 B2 00 8E 04 80 0D 02 02 AA 00 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 AC 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 0A 00 00 00 F4 03 04 00 BC 72 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BD 0F 00 00 35 04 06 00 8D 99 F5 AB 53 9B 00 00 F0 [07:37:31]Write i2c OK [07:37:31]MH_I2C_Read... [07:37:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:31]Read from MH i2c: E2 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 03 00 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 03 00 8E 04 00 90 00 06 [07:37:31]RAPDU: 90 00 [07:37:31]wFMCommunicate OK [07:37:31]wFMCommunicate request_size=4 [07:37:31]MH_SAM_APDU [07:37:31]CAPDU: 80 0D 03 02 [07:37:31]Write to MH i2c: E2 08 00 8F 04 80 0D 03 02 00 00 00 00 0E [07:37:31]Write i2c OK [07:37:31]MH_I2C_Read... [07:37:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:37:31]Read from MH i2c: E2 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 0B 00 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 0B 00 8F 04 00 B4 A9 09 31 35 73 B9 AB 90 00 B2 [07:37:31]RAPDU: B4 A9 09 31 35 73 B9 AB 90 00 [07:37:31]wFMCommunicate OK [07:37:31]SAM_PROTO_SignData done [07:37:31]FM_MakeSignedData done [07:37:31]CreateOFDProtocolMessage [07:37:31]wFMCommunicate request_size=4 [07:37:31]MH_SAM_APDU [07:37:31]CAPDU: 80 11 00 00 [07:37:31]Write to MH i2c: E2 08 00 90 04 80 11 00 00 00 00 00 00 0E [07:37:31]Write i2c OK [07:37:31]MH_I2C_Read... [07:37:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:31]Read from MH i2c: E2 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 17 00 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: E2 17 00 90 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 61 [07:37:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:37:31]wFMCommunicate OK [07:37:31]CreateOFDProtocolMessage done [07:37:31]OFDSenderStorePacket 4029 [07:37:31]StoreOFDPacket docnum=4029 [07:37:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B4 01 00 00 75 61 AC 01 BF 3E 5A 03 01 00 03 00 A0 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 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 0A 00 00 00 F4 03 04 00 BC 72 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BD 0F 00 00 35 04 06 00 8D 99 F5 AB 53 9B B4 A9 09 31 35 73 B9 AB [07:37:31]CheckFolder [07:37:31]dirname=/storage/ofd_packets [07:37:31]CheckFolder done [07:37:31]ProducePacketName [07:37:31]name=ofd_packets/00004029 [07:37:31]NVStorageSaveData ofd_packets/00004029 [07:37:31]File name is /storage/ofd_packets/00004029 [07:37:31]Write 466 bytes [07:37:31]NVStorageSaveData done [07:37:31]OFDSenderStorePacket done [07:37:31]KKMCreateOFDPacket done [07:37:31]NVStorageSaveData kkm_last_timestamp [07:37:31]File name is /storage/kkm_last_timestamp [07:37:31]Write 4 bytes [07:37:31]NVStorageSaveData done [07:37:31]ExternCall_PrintAddStr [07:37:31]wPrintStart [07:37:31]Write to MH i2c: 01 00 00 91 04 95 [07:37:31]OFD Sender: Processing packet 4029 [packets to send 2, broken 1] [07:37:31]ProducePacketName [07:37:31]name=ofd_packets/00004029 [07:37:31]OFD Sender: To server: pG, [07:37:31]CommunicateWithHost lk.salyk.kg:30040 [07:37:31]ConnectInit lk.salyk.kg [07:37:31]Write i2c OK [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: 01 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: 01 07 00 [07:37:31]MH_I2C_Read... [07:37:31]Read from MH i2c: 01 07 00 91 04 00 00 00 00 00 FF 0F AA [07:37:31]RasterBufferAndPrint [07:37:31]line Счет N : (3)4283 [07:37:31]line ИНН: 02508201610067 [07:37:31]line Контрольно-Кассовый Чек [07:37:31]line ПРОДАЖА [07:37:31]line Товар: 4700003241276 [07:37:31]line Напиток Молочный ТАН 1л [07:37:31]line 1.000 * 110.00 [07:37:31]line = 110.00 [07:37:31]line НДС 12% НСП 1% [07:37:31]line > о реализуемом товаре [07:37:31]line Товар: 4870001571030 [07:37:31]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [07:37:31]line 1.000 * 85.00 [07:37:31]line = 85.00 [07:37:31]line НДС 12% НСП 1% [07:37:31]line > о реализуемом товаре [07:37:31]line ИТОГО: 195.00 [07:37:31]line НСП 1% : 1.72 [07:37:31]line НДС 12% : 20.71 [07:37:31]line Наличными: 195.00 [07:37:31]line Безнал.: 0.00 [07:37:31]line Место: АЗС № 116 "Партнер Нефть" [07:37:31]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:37:31]line СНО: Общий режим [07:37:31]line Чек 10 03.06.2024 07:37 [07:37:31]line Смена: 82 ФФД: 1.0 [07:37:31]line ЗНМ: 0300000233 [07:37:31]line РНМ: 0000000000145775 [07:37:31]line Версия ККМ: v1.0 [07:37:31]line ФМ: 0000000000959360 [07:37:31]line ФД: 4029 [07:37:31]line ФПД: 155692391158683 [07:37:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T073732&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4029&fm=155692391158683&tin=02508201610067®Number=0000000000145775&sum=19500 [07:37:31]line 0 [07:37:31]written 0, free lines is 4095 [07:37:32]Connected sock=11 [07:37:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B4 01 00 00 75 61 AC 01 BF 3E 5A 03 01 00 03 00 A0 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 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 0A 00 00 00 F4 03 04 00 BC 72 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BD 0F 00 00 35 04 06 00 8D 99 F5 AB 53 9B B4 A9 09 31 35 73 B9 AB [07:37:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 B7 42 47 00 2B 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BD 0F 00 00 F4 03 04 00 C0 1E 5D 66 B6 04 01 00 00 ED 38 19 76 E9 03 8C 4B [07:37:32]CommunicateWithHost err = 0 [07:37:32]CheckOFDResponse [07:37:32]1017 (14) - 77093643461234 [07:37:32]1041 (16) - 0000000000959360 [07:37:32]1040 (4) - 4029 [07:37:32]1012 (4) - 03.06.2024 01:39 [07:37:32]1206 (1) - 0 [07:37:32]OFD Sender: Remove packet 4029 [07:37:32]ProducePacketName [07:37:32]name=ofd_packets/00004029 [07:37:32]NVStorageDeleteData [07:37:32]Write to MH i2c: 01 00 00 C0 04 C4 [07:37:32]Write i2c OK [07:37:32]MH_I2C_Read... [07:37:32]Read from MH i2c: 01 [07:37:32]MH_I2C_Read... [07:37:32]Read from MH i2c: 01 07 00 [07:37:32]MH_I2C_Read... [07:37:32]Read from MH i2c: 01 07 00 C0 04 00 00 00 00 00 54 0C 2B [07:37:32]RasterBufferAndPrint [07:37:32]line [07:37:32]line [07:37:32]line [07:37:32]line [07:37:32]line [07:37:32]written 0, free lines is 3162 [07:37:32]MH_Cut [07:37:32]Write to MH i2c: D1 01 00 C7 04 01 9D [07:37:32]Write i2c OK [07:37:32]MH_I2C_Read... [07:37:32]Read from MH i2c: D1 [07:37:32]MH_I2C_Read... [07:37:32]Read from MH i2c: D1 01 00 [07:37:32]MH_I2C_Read... [07:37:32]Read from MH i2c: D1 01 00 C7 04 00 9C [07:37:32]Write to MH i2c: 01 00 00 C8 04 CC [07:37:32]Write i2c OK [07:37:32]MH_I2C_Read... [07:37:32]OFD Sender: No OFD packet to send [07:37:33]*** Cut start [07:37:33]*** Partial cut [07:37:33]*** CUTSNS_PIN = 1 [07:37:33]*** CUTSNS_PIN = 0 [07:37:33]*** Brake cut motor [07:37:34]Read from MH i2c: 01 [07:37:34]MH_I2C_Read... [07:37:34]*** Stop cut motor [07:37:34]*** Cut end [07:37:34]Read from MH i2c: 01 07 00 [07:37:34]MH_I2C_Read... [07:37:34]Read from MH i2c: 01 07 00 C8 04 00 00 00 00 00 FF 0F E1 [07:37:34]process_action close_receipt done [07:37:34]requested_data is exist [07:37:34]produce_requested_data [07:37:34]requested_item fm.sn is exist - process it [07:37:34]wFMCommunicate request_size=4 [07:37:34]MH_SAM_APDU [07:37:34]CAPDU: 80 11 00 00 [07:37:34]Write to MH i2c: E2 08 00 C9 04 80 11 00 00 00 00 00 00 47 [07:37:34]Write i2c OK [07:37:34]MH_I2C_Read... [07:37:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:34]Read from MH i2c: E2 [07:37:34]MH_I2C_Read... [07:37:34]Read from MH i2c: E2 17 00 [07:37:34]MH_I2C_Read... [07:37:34]Read from MH i2c: E2 17 00 C9 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 9A [07:37:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:37:34]wFMCommunicate OK [07:37:34]requested_item fd.num is exist - process it [07:37:34]SAM_PROTO_GetFieldsCounters [07:37:34]wFMCommunicate request_size=4 [07:37:34]MH_SAM_APDU [07:37:34]CAPDU: 80 13 00 00 [07:37:34]Write to MH i2c: E2 08 00 CA 04 80 13 00 00 00 00 00 00 4A [07:37:34]Write i2c OK [07:37:34]MH_I2C_Read... [07:37:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:37:34]Read from MH i2c: E2 [07:37:34]MH_I2C_Read... [07:37:34]Read from MH i2c: E2 62 00 [07:37:34]MH_I2C_Read... [07:37:34]Read from MH i2c: E2 62 00 CA 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BD 0F 00 00 0E 04 04 00 52 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 AB [07:37:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BD 0F 00 00 0E 04 04 00 52 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 [07:37:34]wFMCommunicate OK [07:37:34]SAM_PROTO_GetFieldsCounters done [07:37:34]requested_item shift.num is exist - process it [07:37:34]requested_item shift.opened is exist - process it [07:37:34]req_shift_opened [07:37:34]FM_GetShiftState [07:37:34]SAM_PROTO_GetShiftState [07:37:34]wFMCommunicate request_size=4 [07:37:34]MH_SAM_APDU [07:37:34]CAPDU: 80 13 01 00 [07:37:34]Write to MH i2c: E2 08 00 CB 04 80 13 01 00 00 00 00 00 4C [07:37:34]Write i2c OK [07:37:34]MH_I2C_Read... [07:37:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:34]Read from MH i2c: E2 [07:37:34]MH_I2C_Read... [07:37:34]Read from MH i2c: E2 0E 00 [07:37:34]MH_I2C_Read... [07:37:34]Read from MH i2c: E2 0E 00 CB 04 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 DA [07:37:34]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:37:34]wFMCommunicate OK [07:37:34]SAM_PROTO_GetShiftState done [07:37:34]FM_GetShiftState done [07:37:34]req_shift_opened done [07:37:34]requested_item shift.open_date is exist - process it [07:37:34]req_shift_open_date [07:37:34]req_shift_open_date done [07:37:34]produce_requested_data done [07:37:34]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4029,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [07:37:34]process_action_free close_receipt [07:37:34]json_value_free [07:37:34]json_value_free done [07:37:34]process_json_proto returns [07:37:34]Send response to host [07:37:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4029,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [07:37:34]free response buf [07:37:34]execute_script done [07:37:34]execute_script returns [07:37:34]free content buf [07:37:34]Sock 8.Close socket [07:37:34]Sock 8.Thread stoped [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:00]accept exits with 9 [07:38:00]New connection [07:38:00]New thread 3067227492 created [07:38:00]Thread 3067370852 joined [07:38:00]Waiting for new connection... [07:38:00] Sock 9.Parse request [07:38:00]Sock 9.Check first char [07:38:00]Sock 9.First char is OK [07:38:00]request: POST /json_proto HTTP/1.0 [07:38:00]Method: POST [07:38:00]URL: /json_proto [07:38:00]Method is POST - this is cgi request [07:38:00]url: /json_proto [07:38:00]query_string will be loaded in cgi processing [07:38:00]execute_cgi json_proto POST (null) [07:38:00]execute_cgi path=json_proto method=POST [07:38:00]POST find Content-Length [07:38:00]Host: 172.17.56.68:8080 [07:38:00]Content-Length: 931 [07:38:00]Content-Type: application/json [07:38:00] [07:38:00]POST finish read [07:38:00]Found Content-Length = 931 [07:38:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4284", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010476", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:38:00]execute_script... [07:38: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)4284", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010476", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:38:00]POST & json_proto [07:38:00]process_json_proto [07:38:00]json parsed OK: [07:38:00]protocol is kg_v1.0 [07:38:00]action value=close_receipt [07:38:00]process_action close_receipt [07:38:00]cmd_close_receipt [07:38:00]MH_GetDate [07:38:00]Write to MH i2c: F0 00 00 CC 04 BF [07:38:00]Write i2c OK [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: F0 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: F0 09 00 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: F0 09 00 CC 04 00 DB 72 5D 66 42 69 5C 66 45 [07:38:00]GetLastDocTimeStamp 1717400252 [07:38:00]current date 1717400283 [07:38:00]FM_GetShiftState [07:38:00]SAM_PROTO_GetShiftState [07:38:00]wFMCommunicate request_size=4 [07:38:00]MH_SAM_APDU [07:38:00]CAPDU: 80 13 01 00 [07:38:00]Write to MH i2c: E2 08 00 CD 04 80 13 01 00 00 00 00 00 4E [07:38:00]Write i2c OK [07:38:00]MH_I2C_Read... [07:38:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:38:00]Read from MH i2c: E2 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: E2 0E 00 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: E2 0E 00 CD 04 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 DC [07:38:00]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:38:00]wFMCommunicate OK [07:38:00]SAM_PROTO_GetShiftState done [07:38:00]FM_GetShiftState done [07:38:00]opened in 1717372856 [07:38:00]opened+sec_in_day 1717459256 [07:38:00]quantity*price = 4500 [07:38:00]sum+1 = 4501 [07:38:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010476 Напиток Let`s Go! с/с яблоко ПЭТ 1л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.28 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 11 03.06.2024 07:38 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4030 ФПД: 105321309159516 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T073803&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4030&fm=105321309159516&tin=02508201610067®Number=0000000000145775&sum=12500 0 [07:38:02]StoreToDocumentArchive [07:38:02]shift 82 fd 4030 [07:38:02]save to /storage/0082/doc_00004030 [07:38:02]save last doc name /storage/0082/doc_00004030 to /storage/kkm_last_doc_name [07:38:02]save OK [07:38:02]Clear old archive folders... [07:38:02]ProcessDocumentItem done err = 0, tmpTLVsize=395 [07:38:02]tlvbuf is 00769190 [07:38:02]SAM_PROTO_ClearQueue [07:38:02]wFMCommunicate request_size=4 [07:38:02]MH_SAM_APDU [07:38:02]CAPDU: 80 09 00 00 [07:38:02]Write to MH i2c: E2 08 00 DA 04 80 09 00 00 00 00 00 00 50 [07:38:02]Write i2c OK [07:38:02]MH_I2C_Read... [07:38:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:38:02]Read from MH i2c: E2 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 03 00 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 03 00 DA 04 00 90 00 52 [07:38:02]RAPDU: 90 00 [07:38:02]wFMCommunicate OK [07:38:02]SAM_PROTO_ClearQueue done [07:38:02]KKMCreateOFDPacket [07:38:02]OFDProtocolAddRootSTLVToBuf [07:38:02]FM_MakeSignedData [07:38:02]FM_MakeSignedData [07:38:02]SAM_PROTO_SignData [07:38:02]wFMCommunicate request_size=4 [07:38:02]MH_SAM_APDU [07:38:02]CAPDU: 80 0D 01 02 [07:38:02]Write to MH i2c: E2 08 00 DB 04 80 0D 01 02 00 00 00 00 58 [07:38:02]Write i2c OK [07:38:02]MH_I2C_Read... [07:38:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:38:02]Read from MH i2c: E2 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 03 00 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 03 00 DB 04 00 90 00 53 [07:38:02]RAPDU: 90 00 [07:38:02]wFMCommunicate OK [07:38:02]wFMCommunicate request_size=255 [07:38:02]MH_SAM_APDU [07:38:02]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 D4 30 00 00 00 00 EB 03 26 00 EF 03 [07:38:02]Write to MH i2c: E2 02 01 DC 04 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 D4 30 00 00 00 00 EB 03 26 00 EF 03 00 00 87 [07:38:02]Write i2c OK [07:38:02]MH_I2C_Read... [07:38:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:38:02]Read from MH i2c: E2 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 03 00 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 03 00 DC 04 00 90 00 54 [07:38:02]RAPDU: 90 00 [07:38:02]wFMCommunicate OK [07:38:02]wFMCommunicate request_size=154 [07:38:02]MH_SAM_APDU [07:38:02]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 DB 72 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BE 0F 00 00 35 04 06 00 5F CA 07 38 40 5C [07:38:02]Write to MH i2c: E2 9D 00 DD 04 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 DB 72 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BE 0F 00 00 35 04 06 00 5F CA 07 38 40 5C 00 00 A6 [07:38:02]Write i2c OK [07:38:02]MH_I2C_Read... [07:38:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:38:02]Read from MH i2c: E2 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 03 00 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 03 00 DD 04 00 90 00 55 [07:38:02]RAPDU: 90 00 [07:38:02]wFMCommunicate OK [07:38:02]wFMCommunicate request_size=4 [07:38:02]MH_SAM_APDU [07:38:02]CAPDU: 80 0D 03 02 [07:38:02]Write to MH i2c: E2 08 00 DE 04 80 0D 03 02 00 00 00 00 5D [07:38:02]Write i2c OK [07:38:02]MH_I2C_Read... [07:38:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:38:02]Read from MH i2c: E2 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 0B 00 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 0B 00 DE 04 00 27 E0 F0 B6 9A 18 93 65 90 00 B5 [07:38:02]RAPDU: 27 E0 F0 B6 9A 18 93 65 90 00 [07:38:02]wFMCommunicate OK [07:38:02]SAM_PROTO_SignData done [07:38:02]FM_MakeSignedData done [07:38:02]CreateOFDProtocolMessage [07:38:02]wFMCommunicate request_size=4 [07:38:02]MH_SAM_APDU [07:38:02]CAPDU: 80 11 00 00 [07:38:02]Write to MH i2c: E2 08 00 DF 04 80 11 00 00 00 00 00 00 5D [07:38:02]Write i2c OK [07:38:02]MH_I2C_Read... [07:38:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:38:02]Read from MH i2c: E2 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 17 00 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: E2 17 00 DF 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B0 [07:38:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:38:02]wFMCommunicate OK [07:38:02]CreateOFDProtocolMessage done [07:38:02]OFDSenderStorePacket 4030 [07:38:02]StoreOFDPacket docnum=4030 [07:38:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9F 01 00 00 AF E2 97 01 E9 87 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 DB 72 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BE 0F 00 00 35 04 06 00 5F CA 07 38 40 5C 27 E0 F0 B6 9A 18 93 65 [07:38:02]CheckFolder [07:38:02]dirname=/storage/ofd_packets [07:38:02]CheckFolder done [07:38:02]ProducePacketName [07:38:02]name=ofd_packets/00004030 [07:38:02]NVStorageSaveData ofd_packets/00004030 [07:38:02]File name is /storage/ofd_packets/00004030 [07:38:02]Write 445 bytes [07:38:02]NVStorageSaveData done [07:38:02]OFDSenderStorePacket done [07:38:02]KKMCreateOFDPacket done [07:38:02]NVStorageSaveData kkm_last_timestamp [07:38:02]File name is /storage/kkm_last_timestamp [07:38:02]Write 4 bytes [07:38:02]NVStorageSaveData done [07:38:02]ExternCall_PrintAddStr [07:38:02]wPrintStart [07:38:02]Write to MH i2c: 01 00 00 E0 04 E4 [07:38:02]Write i2c OK [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: 01 [07:38:02]MH_I2C_Read... [07:38:02]Read from MH i2c: 01 07 00 [07:38:03]MH_I2C_Read... [07:38:03]OFD Sender: Processing packet 4030 [packets to send 2, broken 1] [07:38:03]ProducePacketName [07:38:03]name=ofd_packets/00004030 [07:38:03]Read from MH i2c: 01 07 00 E0 OFD Sender: To server: pG, [07:38:03]04 CommunicateWithHost lk.salyk.kg:30040 [07:38:03]00 ConnectInit lk.salyk.kg [07:38:03]00 00 00 00 FF 0F F9 [07:38:03]RasterBufferAndPrint [07:38:03]line Счет N : (3)4284 [07:38:03]line ИНН: 02508201610067 [07:38:03]line Контрольно-Кассовый Чек [07:38:03]line ПРОДАЖА [07:38:03]line Товар: 4700000160358 [07:38:03]line Вода Легенда 1л [07:38:03]line 1.000 * 45.00 [07:38:03]line = 45.00 [07:38:03]line НДС 12% НСП 1% [07:38:03]line > о реализуемом товаре [07:38:03]line Товар: 4700003010476 [07:38:03]line Напиток Let`s Go! с/с яблоко ПЭТ 1л [07:38:03]line 1.000 * 80.00 [07:38:03]line = 80.00 [07:38:03]line НДС 12% НСП 1% [07:38:03]line > о реализуемом товаре [07:38:03]line ИТОГО: 125.00 [07:38:03]line НСП 1% : 1.11 [07:38:03]line НДС 12% : 13.28 [07:38:03]line Наличными: 125.00 [07:38:03]line Безнал.: 0.00 [07:38:03]line Место: АЗС № 116 "Партнер Нефть" [07:38:03]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:38:03]line СНО: Общий режим [07:38:03]line Чек 11 03.06.2024 07:38 [07:38:03]line Смена: 82 ФФД: 1.0 [07:38:03]line ЗНМ: 0300000233 [07:38:03]line РНМ: 0000000000145775 [07:38:03]line Версия ККМ: v1.0 [07:38:03]line ФМ: 0000000000959360 [07:38:03]line ФД: 4030 [07:38:03]line ФПД: 105321309159516 [07:38:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T073803&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4030&fm=105321309159516&tin=02508201610067®Number=0000000000145775&sum=12500 [07:38:03]line 0 [07:38:03]written 0, free lines is 4095 [07:38:03]Connected sock=10 [07:38:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9F 01 00 00 AF E2 97 01 E9 87 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 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 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 DB 72 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BE 0F 00 00 35 04 06 00 5F CA 07 38 40 5C 27 E0 F0 B6 9A 18 93 65 [07:38:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F6 1E 47 00 96 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BE 0F 00 00 F4 03 04 00 DF 1E 5D 66 B6 04 01 00 00 04 94 10 98 CD 65 8E D8 [07:38:03]CommunicateWithHost err = 0 [07:38:03]CheckOFDResponse [07:38:03]1017 (14) - 77093643461234 [07:38:03]1041 (16) - 0000000000959360 [07:38:03]1040 (4) - 4030 [07:38:03]1012 (4) - 03.06.2024 01:39 [07:38:03]1206 (1) - 0 [07:38:03]OFD Sender: Remove packet 4030 [07:38:03]ProducePacketName [07:38:03]name=ofd_packets/00004030 [07:38:03]NVStorageDeleteData [07:38:03]Write to MH i2c: 01 00 00 0F 05 14 [07:38:03]Write i2c OK [07:38:03]MH_I2C_Read... [07:38:03]Read from MH i2c: 01 [07:38:03]MH_I2C_Read... [07:38:03]Read from MH i2c: 01 07 00 [07:38:03]MH_I2C_Read... [07:38:03]Read from MH i2c: 01 07 00 0F 05 00 00 00 00 00 57 0C 7E [07:38:03]RasterBufferAndPrint [07:38:03]line [07:38:03]line [07:38:03]line [07:38:03]line [07:38:03]line [07:38:03]written 0, free lines is 3165 [07:38:03]MH_Cut [07:38:03]Write to MH i2c: D1 01 00 16 05 01 ED [07:38:03]Write i2c OK [07:38:03]MH_I2C_Read... [07:38:03]Read from MH i2c: D1 [07:38:03]MH_I2C_Read... [07:38:03]Read from MH i2c: D1 01 00 [07:38:03]MH_I2C_Read... [07:38:03]Read from MH i2c: D1 01 00 16 05 00 EC [07:38:03]Write to MH i2c: 01 00 00 17 05 1C [07:38:03]Write i2c OK [07:38:03]MH_I2C_Read... [07:38:03]OFD Sender: No OFD packet to send [07:38:04]*** Cut start [07:38:04]*** Partial cut [07:38:04]*** CUTSNS_PIN = 1 [07:38:04]*** CUTSNS_PIN = 0 [07:38:04]*** Brake cut motor [07:38:05]Read from MH i2c: 01 [07:38:05]MH_I2C_Read... [07:38:05]*** Stop cut motor [07:38:05]*** Cut end [07:38:05]Read from MH i2c: 01 07 00 [07:38:05]MH_I2C_Read... [07:38:05]Read from MH i2c: 01 07 00 17 05 00 00 00 00 00 FF 0F 31 [07:38:05]process_action close_receipt done [07:38:05]requested_data is exist [07:38:05]produce_requested_data [07:38:05]requested_item fm.sn is exist - process it [07:38:05]wFMCommunicate request_size=4 [07:38:05]MH_SAM_APDU [07:38:05]CAPDU: 80 11 00 00 [07:38:05]Write to MH i2c: E2 08 00 18 05 80 11 00 00 00 00 00 00 97 [07:38:05]Write i2c OK [07:38:05]MH_I2C_Read... [07:38:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:38:05]Read from MH i2c: E2 [07:38:05]MH_I2C_Read... [07:38:05]Read from MH i2c: E2 17 00 [07:38:05]MH_I2C_Read... [07:38:05]Read from MH i2c: E2 17 00 18 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 EA [07:38:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:38:05]wFMCommunicate OK [07:38:05]requested_item fd.num is exist - process it [07:38:05]SAM_PROTO_GetFieldsCounters [07:38:05]wFMCommunicate request_size=4 [07:38:05]MH_SAM_APDU [07:38:05]CAPDU: 80 13 00 00 [07:38:05]Write to MH i2c: E2 08 00 19 05 80 13 00 00 00 00 00 00 9A [07:38:05]Write i2c OK [07:38:05]MH_I2C_Read... [07:38:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:38:05]Read from MH i2c: E2 [07:38:05]MH_I2C_Read... [07:38:05]Read from MH i2c: E2 62 00 [07:38:05]MH_I2C_Read... [07:38:05]Read from MH i2c: E2 62 00 19 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BE 0F 00 00 0E 04 04 00 52 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 FF [07:38:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BE 0F 00 00 0E 04 04 00 52 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 [07:38:05]wFMCommunicate OK [07:38:05]SAM_PROTO_GetFieldsCounters done [07:38:05]requested_item shift.num is exist - process it [07:38:05]requested_item shift.opened is exist - process it [07:38:05]req_shift_opened [07:38:05]FM_GetShiftState [07:38:05]SAM_PROTO_GetShiftState [07:38:05]wFMCommunicate request_size=4 [07:38:05]MH_SAM_APDU [07:38:05]CAPDU: 80 13 01 00 [07:38:05]Write to MH i2c: E2 08 00 1A 05 80 13 01 00 00 00 00 00 9C [07:38:05]Write i2c OK [07:38:05]MH_I2C_Read... [07:38:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:38:05]Read from MH i2c: E2 [07:38:05]MH_I2C_Read... [07:38:05]Read from MH i2c: E2 0E 00 [07:38:05]MH_I2C_Read... [07:38:05]Read from MH i2c: E2 0E 00 1A 05 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 2A [07:38:05]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:38:05]wFMCommunicate OK [07:38:05]SAM_PROTO_GetShiftState done [07:38:05]FM_GetShiftState done [07:38:05]req_shift_opened done [07:38:05]requested_item shift.open_date is exist - process it [07:38:05]req_shift_open_date [07:38:05]req_shift_open_date done [07:38:05]produce_requested_data done [07:38:05]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4030,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [07:38:05]process_action_free close_receipt [07:38:05]json_value_free [07:38:05]json_value_free done [07:38:05]process_json_proto returns [07:38:05]Send response to host [07:38:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4030,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [07:38:05]free response buf [07:38:05]execute_script done [07:38:05]execute_script returns [07:38:05]free content buf [07:38:05]Sock 9.Close socket [07:38:05]Sock 9.Thread stoped [07:38:08]OFD Sender: No OFD packet to send [07:38:13]OFD Sender: No OFD packet to send [07:38:18]OFD Sender: No OFD packet to send [07:38:23]OFD Sender: No OFD packet to send [07:38:28]OFD Sender: No OFD packet to send [07:38:33]OFD Sender: No OFD packet to send [07:38:38]OFD Sender: No OFD packet to send [07:38:43]OFD Sender: No OFD packet to send [07:38:48]OFD Sender: No OFD packet to send [07:38:53]OFD Sender: No OFD packet to send [07:38:58]OFD Sender: No OFD packet to send [07:39:03]OFD Sender: No OFD packet to send [07:39:08]OFD Sender: No OFD packet to send [07:39:13]OFD Sender: No OFD packet to send [07:39:18]OFD Sender: No OFD packet to send [07:39:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:38]OFD Sender: No OFD packet to send [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40:58]OFD Sender: No OFD packet to send [07:41:03]OFD Sender: No OFD packet to send [07:41:08]OFD Sender: No OFD packet to send [07:41:13]OFD Sender: No OFD packet to send [07:41:18]OFD Sender: No OFD packet to send [07:41:23]OFD Sender: No OFD packet to send [07:41:28]OFD Sender: No OFD packet to send [07:41:33]OFD Sender: No OFD packet to send [07:41:38]OFD Sender: No OFD packet to send [07:41:43]OFD Sender: No OFD packet to send [07:41:48]OFD Sender: No OFD packet to send [07:41:53]OFD Sender: No OFD packet to send [07:41:58]OFD Sender: No OFD packet to send [07:42:03]OFD Sender: No OFD packet to send [07:42:08]OFD Sender: No OFD packet to send [07:42:13]OFD Sender: No OFD packet to send [07:42:18]OFD Sender: No OFD packet to send [07:42:23]OFD Sender: No OFD packet to send [07:42:28]OFD Sender: No OFD packet to send [07:42:33]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:12]accept exits with 8 [07:45:12]New connection [07:45:12]New thread 3067370852 created [07:45:12]Thread 3067227492 joined [07:45:12]Waiting for new connection... [07:45:12] Sock 8.Parse request [07:45:12]Sock 8.Check first char [07:45:12]Sock 8.First char is OK [07:45:12]request: POST /json_proto HTTP/1.0 [07:45:12]Method: POST [07:45:12]URL: /json_proto [07:45:12]Method is POST - this is cgi request [07:45:12]url: /json_proto [07:45:12]query_string will be loaded in cgi processing [07:45:12]execute_cgi json_proto POST (null) [07:45:12]execute_cgi path=json_proto method=POST [07:45:12]POST find Content-Length [07:45:12]Host: 172.17.56.68:8080 [07:45:12]Content-Length: 606 [07:45:12]Content-Type: application/json [07:45:12] [07:45:12]POST finish read [07:45:12]Found Content-Length = 606 [07:45:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4285", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:45:12]execute_script... [07:45: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)4285", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:45:12]POST & json_proto [07:45:12]process_json_proto [07:45:12]json parsed OK: [07:45:12]protocol is kg_v1.0 [07:45:12]action value=close_receipt [07:45:12]process_action close_receipt [07:45:12]cmd_close_receipt [07:45:12]MH_GetDate [07:45:12]Write to MH i2c: F0 00 00 1B 05 0F [07:45:12]Write i2c OK [07:45:12]MH_I2C_Read... [07:45:12]Read from MH i2c: F0 [07:45:12]MH_I2C_Read... [07:45:12]Read from MH i2c: F0 09 00 [07:45:12]MH_I2C_Read... [07:45:12]Read from MH i2c: F0 09 00 1B 05 00 8B 74 5D 66 42 69 5C 66 47 [07:45:12]GetLastDocTimeStamp 1717400283 [07:45:12]current date 1717400715 [07:45:12]FM_GetShiftState [07:45:12]SAM_PROTO_GetShiftState [07:45:12]wFMCommunicate request_size=4 [07:45:12]MH_SAM_APDU [07:45:12]CAPDU: 80 13 01 00 [07:45:12]Write to MH i2c: E2 08 00 1C 05 80 13 01 00 00 00 00 00 9E [07:45:12]Write i2c OK [07:45:12]MH_I2C_Read... [07:45:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:45:12]Read from MH i2c: E2 [07:45:12]MH_I2C_Read... [07:45:12]Read from MH i2c: E2 0E 00 [07:45:12]MH_I2C_Read... [07:45:12]Read from MH i2c: E2 0E 00 1C 05 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 2C [07:45:12]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:45:12]wFMCommunicate OK [07:45:12]SAM_PROTO_GetShiftState done [07:45:12]FM_GetShiftState done [07:45:12]opened in 1717372856 [07:45:12]opened+sec_in_day 1717459256 [07:45:12]quantity*price = 2000 [07:45:12]sum+1 = 2001 [07:45:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 12 03.06.2024 07:45 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4031 ФПД: 208242853790326 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T074515&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4031&fm=208242853790326&tin=02508201610067®Number=0000000000145775&sum=2000 0 [07:45:13]StoreToDocumentArchive [07:45:13]shift 82 fd 4031 [07:45:13]save to /storage/0082/doc_00004031 [07:45:13]save last doc name /storage/0082/doc_00004031 to /storage/kkm_last_doc_name [07:45:13]save OK [07:45:13]Clear old archive folders... [07:45:13]ProcessDocumentItem done err = 0, tmpTLVsize=267 [07:45:13]tlvbuf is 00788860 [07:45:13]SAM_PROTO_ClearQueue [07:45:13]wFMCommunicate request_size=4 [07:45:13]MH_SAM_APDU [07:45:13]CAPDU: 80 09 00 00 [07:45:13]Write to MH i2c: E2 08 00 29 05 80 09 00 00 00 00 00 00 A0 [07:45:13]Write i2c OK [07:45:13]MH_I2C_Read... [07:45:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:45:13]Read from MH i2c: E2 [07:45:13]MH_I2C_Read... [07:45:13]Read from MH i2c: E2 03 00 [07:45:13]MH_I2C_Read... [07:45:13]Read from MH i2c: E2 03 00 29 05 00 90 00 A2 [07:45:13]RAPDU: 90 00 [07:45:13]wFMCommunicate OK [07:45:13]SAM_PROTO_ClearQueue done [07:45:13]KKMCreateOFDPacket [07:45:13]OFDProtocolAddRootSTLVToBuf [07:45:13]FM_MakeSignedData [07:45:13]FM_MakeSignedData [07:45:13]SAM_PROTO_SignData [07:45:13]wFMCommunicate request_size=4 [07:45:13]MH_SAM_APDU [07:45:13]CAPDU: 80 0D 01 02 [07:45:13]Write to MH i2c: E2 08 00 2A 05 80 0D 01 02 00 00 00 00 A8 [07:45:13]Write i2c OK [07:45:13]MH_I2C_Read... [07:45:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:45:13]Read from MH i2c: E2 [07:45:13]MH_I2C_Read... [07:45:13]Read from MH i2c: E2 03 00 [07:45:13]MH_I2C_Read... [07:45:13]Read from MH i2c: E2 03 00 2A 05 00 90 00 A3 [07:45:13]RAPDU: 90 00 [07:45:13]wFMCommunicate OK [07:45:13]wFMCommunicate request_size=255 [07:45:13]MH_SAM_APDU [07:45:13]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 8B 74 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 [07:45:13]Write to MH i2c: E2 02 01 2B 05 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 8B 74 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 00 00 89 [07:45:13]Write i2c OK [07:45:13]MH_I2C_Read... [07:45:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:45:14]Read from MH i2c: E2 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: E2 03 00 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: E2 03 00 2B 05 00 90 00 A4 [07:45:14]RAPDU: 90 00 [07:45:14]wFMCommunicate OK [07:45:14]wFMCommunicate request_size=26 [07:45:14]MH_SAM_APDU [07:45:14]CAPDU: 80 0D 02 02 15 33 36 30 10 04 04 00 BF 0F 00 00 35 04 06 00 BD 65 51 53 C2 76 [07:45:14]Write to MH i2c: E2 1D 00 2C 05 80 0D 02 02 15 00 33 36 30 10 04 04 00 BF 0F 00 00 35 04 06 00 BD 65 51 53 C2 76 00 00 91 [07:45:14]Write i2c OK [07:45:14]MH_I2C_Read... [07:45:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:45:14]Read from MH i2c: E2 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: E2 03 00 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: E2 03 00 2C 05 00 90 00 A5 [07:45:14]RAPDU: 90 00 [07:45:14]wFMCommunicate OK [07:45:14]wFMCommunicate request_size=4 [07:45:14]MH_SAM_APDU [07:45:14]CAPDU: 80 0D 03 02 [07:45:14]Write to MH i2c: E2 08 00 2D 05 80 0D 03 02 00 00 00 00 AD [07:45:14]Write i2c OK [07:45:14]MH_I2C_Read... [07:45:14]OFD Sender: No OFD packet to send [07:45:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:45:14]Read from MH i2c: E2 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: E2 0B 00 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: E2 0B 00 2D 05 00 F8 46 F2 FC D2 79 FE 15 90 00 38 [07:45:14]RAPDU: F8 46 F2 FC D2 79 FE 15 90 00 [07:45:14]wFMCommunicate OK [07:45:14]SAM_PROTO_SignData done [07:45:14]FM_MakeSignedData done [07:45:14]CreateOFDProtocolMessage [07:45:14]wFMCommunicate request_size=4 [07:45:14]MH_SAM_APDU [07:45:14]CAPDU: 80 11 00 00 [07:45:14]Write to MH i2c: E2 08 00 2E 05 80 11 00 00 00 00 00 00 AD [07:45:14]Write i2c OK [07:45:14]MH_I2C_Read... [07:45:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:45:14]Read from MH i2c: E2 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: E2 17 00 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: E2 17 00 2E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 00 [07:45:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:45:14]wFMCommunicate OK [07:45:14]CreateOFDProtocolMessage done [07:45:14]OFDSenderStorePacket 4031 [07:45:14]StoreOFDPacket docnum=4031 [07:45:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 23 D1 17 01 20 08 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 8B 74 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BF 0F 00 00 35 04 06 00 BD 65 51 53 C2 76 F8 46 F2 FC D2 79 FE 15 [07:45:14]CheckFolder [07:45:14]dirname=/storage/ofd_packets [07:45:14]CheckFolder done [07:45:14]ProducePacketName [07:45:14]name=ofd_packets/00004031 [07:45:14]NVStorageSaveData ofd_packets/00004031 [07:45:14]File name is /storage/ofd_packets/00004031 [07:45:14]Write 317 bytes [07:45:14]NVStorageSaveData done [07:45:14]OFDSenderStorePacket done [07:45:14]KKMCreateOFDPacket done [07:45:14]NVStorageSaveData kkm_last_timestamp [07:45:14]File name is /storage/kkm_last_timestamp [07:45:14]Write 4 bytes [07:45:14]NVStorageSaveData done [07:45:14]ExternCall_PrintAddStr [07:45:14]wPrintStart [07:45:14]Write to MH i2c: 01 00 00 2F 05 34 [07:45:14]Write i2c OK [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: 01 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: 01 07 00 [07:45:14]MH_I2C_Read... [07:45:14]Read from MH i2c: 01 07 00 2F 05 00 00 00 00 00 FF 0F 49 [07:45:14]RasterBufferAndPrint [07:45:14]line Счет N : (3)4285 [07:45:14]line ИНН: 02508201610067 [07:45:14]line Контрольно-Кассовый Чек [07:45:14]line ПРОДАЖА [07:45:14]line Товар: 46231529 [07:45:14]line Mentos ПФ Арбуз 6*100*2 [07:45:14]line 2.000 * 10.00 [07:45:14]line = 20.00 [07:45:14]line НДС 12% НСП 1% [07:45:14]line > о реализуемом товаре [07:45:14]line ИТОГО: 20.00 [07:45:14]line НСП 1% : 0.18 [07:45:14]line НДС 12% : 2.12 [07:45:14]line Наличными: 20.00 [07:45:14]line Безнал.: 0.00 [07:45:14]line Место: АЗС № 116 "Партнер Нефть" [07:45:14]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:45:14]line СНО: Общий режим [07:45:14]line Чек 12 03.06.2024 07:45 [07:45:14]line Смена: 82 ФФД: 1.0 [07:45:14]line ЗНМ: 0300000233 [07:45:14]line РНМ: 0000000000145775 [07:45:14]line Версия ККМ: v1.0 [07:45:14]line ФМ: 0000000000959360 [07:45:14]line ФД: 4031 [07:45:14]line ФПД: 208242853790326 [07:45:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T074515&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4031&fm=208242853790326&tin=02508201610067®Number=0000000000145775&sum=2000 [07:45:14]line 0 [07:45:14]OFD Sender: Processing packet 4031 [packets to send 2, broken 1] [07:45:14]ProducePacketName [07:45:14]name=ofd_packets/00004031 [07:45:14]OFD Sender: To server: pG, [07:45:14]CommunicateWithHost lk.salyk.kg:30040 [07:45:14]ConnectInit lk.salyk.kg [07:45:14]written 0, free lines is 4095 [07:45:14]Connected sock=10 [07:45:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 23 D1 17 01 20 08 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 8B 74 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BF 0F 00 00 35 04 06 00 BD 65 51 53 C2 76 F8 46 F2 FC D2 79 FE 15 [07:45:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 82 72 47 00 B3 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 BF 0F 00 00 F4 03 04 00 8F 20 5D 66 B6 04 01 00 00 BB AB 3B 3C F1 21 C4 21 [07:45:14]CommunicateWithHost err = 0 [07:45:14]CheckOFDResponse [07:45:14]1017 (14) - 77093643461234 [07:45:14]1041 (16) - 0000000000959360 [07:45:14]1040 (4) - 4031 [07:45:14]1012 (4) - 03.06.2024 01:46 [07:45:14]1206 (1) - 0 [07:45:14]OFD Sender: Remove packet 4031 [07:45:14]ProducePacketName [07:45:14]name=ofd_packets/00004031 [07:45:14]NVStorageDeleteData [07:45:15]Write to MH i2c: 01 00 00 57 05 5C [07:45:15]Write i2c OK [07:45:15]MH_I2C_Read... [07:45:15]Read from MH i2c: 01 [07:45:15]MH_I2C_Read... [07:45:15]Read from MH i2c: 01 07 00 [07:45:15]MH_I2C_Read... [07:45:15]Read from MH i2c: 01 07 00 57 05 00 00 00 00 00 D0 0C 3F [07:45:15]RasterBufferAndPrint [07:45:15]line [07:45:15]line [07:45:15]line [07:45:15]line [07:45:15]line [07:45:15]written 0, free lines is 3284 [07:45:15]MH_Cut [07:45:15]Write to MH i2c: D1 01 00 5E 05 01 35 [07:45:15]Write i2c OK [07:45:15]MH_I2C_Read... [07:45:15]Read from MH i2c: D1 [07:45:15]MH_I2C_Read... [07:45:15]Read from MH i2c: D1 01 00 [07:45:15]MH_I2C_Read... [07:45:15]Read from MH i2c: D1 01 00 5E 05 00 34 [07:45:15]Write to MH i2c: 01 00 00 5F 05 64 [07:45:15]Write i2c OK [07:45:15]MH_I2C_Read... [07:45:15]OFD Sender: No OFD packet to send [07:45:15]*** Cut start [07:45:15]*** Partial cut [07:45:15]*** CUTSNS_PIN = 1 [07:45:15]*** CUTSNS_PIN = 0 [07:45:16]*** Brake cut motor [07:45:16]Read from MH i2c: 01 [07:45:16]MH_I2C_Read... [07:45:16]*** Stop cut motor [07:45:16]*** Cut end [07:45:16]Read from MH i2c: 01 07 00 [07:45:16]MH_I2C_Read... [07:45:16]Read from MH i2c: 01 07 00 5F 05 00 00 00 00 00 FF 0F 79 [07:45:16]process_action close_receipt done [07:45:16]requested_data is exist [07:45:16]produce_requested_data [07:45:16]requested_item fm.sn is exist - process it [07:45:16]wFMCommunicate request_size=4 [07:45:16]MH_SAM_APDU [07:45:16]CAPDU: 80 11 00 00 [07:45:16]Write to MH i2c: E2 08 00 60 05 80 11 00 00 00 00 00 00 DF [07:45:16]Write i2c OK [07:45:16]MH_I2C_Read... [07:45:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:45:16]Read from MH i2c: E2 [07:45:16]MH_I2C_Read... [07:45:16]Read from MH i2c: E2 17 00 [07:45:16]MH_I2C_Read... [07:45:16]Read from MH i2c: E2 17 00 60 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 32 [07:45:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:45:16]wFMCommunicate OK [07:45:16]requested_item fd.num is exist - process it [07:45:16]SAM_PROTO_GetFieldsCounters [07:45:16]wFMCommunicate request_size=4 [07:45:16]MH_SAM_APDU [07:45:16]CAPDU: 80 13 00 00 [07:45:16]Write to MH i2c: E2 08 00 61 05 80 13 00 00 00 00 00 00 E2 [07:45:16]Write i2c OK [07:45:16]MH_I2C_Read... [07:45:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:45:16]Read from MH i2c: E2 [07:45:16]MH_I2C_Read... [07:45:16]Read from MH i2c: E2 62 00 [07:45:16]MH_I2C_Read... [07:45:16]Read from MH i2c: E2 62 00 61 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BF 0F 00 00 0E 04 04 00 52 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 4B [07:45:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 BF 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:45:16]wFMCommunicate OK [07:45:16]SAM_PROTO_GetFieldsCounters done [07:45:16]requested_item shift.num is exist - process it [07:45:16]requested_item shift.opened is exist - process it [07:45:16]req_shift_opened [07:45:16]FM_GetShiftState [07:45:16]SAM_PROTO_GetShiftState [07:45:16]wFMCommunicate request_size=4 [07:45:16]MH_SAM_APDU [07:45:16]CAPDU: 80 13 01 00 [07:45:16]Write to MH i2c: E2 08 00 62 05 80 13 01 00 00 00 00 00 E4 [07:45:16]Write i2c OK [07:45:16]MH_I2C_Read... [07:45:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:45:16]Read from MH i2c: E2 [07:45:16]MH_I2C_Read... [07:45:16]Read from MH i2c: E2 0E 00 [07:45:16]MH_I2C_Read... [07:45:16]Read from MH i2c: E2 0E 00 62 05 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 72 [07:45:16]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [07:45:16]wFMCommunicate OK [07:45:16]SAM_PROTO_GetShiftState done [07:45:16]FM_GetShiftState done [07:45:16]req_shift_opened done [07:45:16]requested_item shift.open_date is exist - process it [07:45:16]req_shift_open_date [07:45:16]req_shift_open_date done [07:45:16]produce_requested_data done [07:45:16]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4031,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [07:45:16]process_action_free close_receipt [07:45:16]json_value_free [07:45:16]json_value_free done [07:45:16]process_json_proto returns [07:45:16]Send response to host [07:45:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4031,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [07:45:16]free response buf [07:45:16]execute_script done [07:45:16]execute_script returns [07:45:16]free content buf [07:45:16]Sock 8.Close socket [07:45:16]Sock 8.Thread stoped [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46:50]OFD Sender: No OFD packet to send [07:46:55]OFD Sender: No OFD packet to send [07:47:00]OFD Sender: No OFD packet to send [07:47:05]OFD Sender: No OFD packet to send [07:47:10]OFD Sender: No OFD packet to send [07:47:15]OFD Sender: No OFD packet to send [07:47:20]OFD Sender: No OFD packet to send [07:47:25]OFD Sender: No OFD packet to send [07:47:30]OFD Sender: No OFD packet to send [07:47:35]OFD Sender: No OFD packet to send [07:47:40]OFD Sender: No OFD packet to send [07:47:45]OFD Sender: No OFD packet to send [07:47:50]OFD Sender: No OFD packet to send [07:47:55]OFD Sender: No OFD packet to send [07:48:00]OFD Sender: No OFD packet to send [07:48:05]OFD Sender: No OFD packet to send [07:48:10]OFD Sender: No OFD packet to send [07:48:15]OFD Sender: No OFD packet to send [07:48:20]OFD Sender: No OFD packet to send [07:48:25]OFD Sender: No OFD packet to send [07:48:30]OFD Sender: No OFD packet to send [07:48:35]OFD Sender: No OFD packet to send [07:48:40]OFD Sender: No OFD packet to send [07:48:45]OFD Sender: No OFD packet to send [07:48:50]OFD Sender: No OFD packet to send [07:48:55]OFD Sender: No OFD packet to send [07:49:00]OFD Sender: No OFD packet to send [07:49:05]OFD Sender: No OFD packet to send [07:49:10]OFD Sender: No OFD packet to send [07:49:15]OFD Sender: No OFD packet to send [07:49:20]OFD Sender: No OFD packet to send [07:49:25]OFD Sender: No OFD packet to send [07:49:30]OFD Sender: No OFD packet to send [07:49:35]OFD Sender: No OFD packet to send [07:49:40]OFD Sender: No OFD packet to send [07:49:45]OFD Sender: No OFD packet to send [07:49:50]OFD Sender: No OFD packet to send [07:49:55]OFD Sender: No OFD packet to send [07:50:00]OFD Sender: No OFD packet to send [07:50:05]OFD Sender: No OFD packet to send [07:50:10]OFD Sender: No OFD packet to send [07:50:15]OFD Sender: No OFD packet to send [07:50:20]OFD Sender: No OFD packet to send [07:50:25]OFD Sender: No OFD packet to send [07:50:30]OFD Sender: No OFD packet to send [07:50:35]OFD Sender: No OFD packet to send [07:50:40]OFD Sender: No OFD packet to send [07:50:45]OFD Sender: No OFD packet to send [07:50:50]OFD Sender: No OFD packet to send [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:45]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:53:00]OFD Sender: No OFD packet to send [07:53:05]OFD Sender: No OFD packet to send [07:53:10]OFD Sender: No OFD packet to send [07:53:15]OFD Sender: No OFD packet to send [07:53:20]OFD Sender: No OFD packet to send [07:53:25]OFD Sender: No OFD packet to send [07:53:30]OFD Sender: No OFD packet to send [07:53:35]OFD Sender: No OFD packet to send [07:53:40]OFD Sender: No OFD packet to send [07:53:45]OFD Sender: No OFD packet to send [07:53:50]OFD Sender: No OFD packet to send [07:53:55]OFD Sender: No OFD packet to send [07:54:00]OFD Sender: No OFD packet to send [07:54:05]OFD Sender: No OFD packet to send [07:54:10]OFD Sender: No OFD packet to send [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:30]OFD Sender: No OFD packet to send [07:54:35]OFD Sender: No OFD packet to send [07:54:40]OFD Sender: No OFD packet to send [07:54:45]OFD Sender: No OFD packet to send [07:54:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:10]OFD Sender: No OFD packet to send [07:55:15]OFD Sender: No OFD packet to send [07:55:20]OFD Sender: No OFD packet to send [07:55:25]OFD Sender: No OFD packet to send [07:55:30]OFD Sender: No OFD packet to send [07:55:35]OFD Sender: No OFD packet to send [07:55:40]OFD Sender: No OFD packet to send [07:55:45]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]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:51]OFD Sender: No OFD packet to send [08:06:56]OFD Sender: No OFD packet to send [08:07:01]OFD Sender: No OFD packet to send [08:07:06]OFD Sender: No OFD packet to send [08:07:11]OFD Sender: No OFD packet to send [08:07:16]OFD Sender: No OFD packet to send [08:07:21]OFD Sender: No OFD packet to send [08:07:26]OFD Sender: No OFD packet to send [08:07:31]OFD Sender: No OFD packet to send [08:07:36]OFD Sender: No OFD packet to send [08:07:41]OFD Sender: No OFD packet to send [08:07:46]OFD Sender: No OFD packet to send [08:07:51]OFD Sender: No OFD packet to send [08:07:56]OFD Sender: No OFD packet to send [08:08:01]OFD Sender: No OFD packet to send [08:08:06]OFD Sender: No OFD packet to send [08:08:11]OFD Sender: No OFD packet to send [08:08:16]OFD Sender: No OFD packet to send [08:08:21]OFD Sender: No OFD packet to send [08:08:26]OFD Sender: No OFD packet to send [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:06]OFD Sender: No OFD packet to send [08:10:11]OFD Sender: No OFD packet to send [08:10:16]OFD Sender: No OFD packet to send [08:10:21]OFD Sender: No OFD packet to send [08:10:26]OFD Sender: No OFD packet to send [08:10:31]OFD Sender: No OFD packet to send [08:10:36]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:06]OFD Sender: No OFD packet to send [08:11:11]OFD Sender: No OFD packet to send [08:11:16]OFD Sender: No OFD packet to send [08:11:21]OFD Sender: No OFD packet to send [08:11:26]OFD Sender: No OFD packet to send [08:11:31]OFD Sender: No OFD packet to send [08:11:36]OFD Sender: No OFD packet to send [08:11:41]OFD Sender: No OFD packet to send [08:11:46]OFD Sender: No OFD packet to send [08:11:51]OFD Sender: No OFD packet to send [08:11:56]OFD Sender: No OFD packet to send [08:12:01]OFD Sender: No OFD packet to send [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19: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:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:45]accept exits with 9 [08:20:45]New connection [08:20:45]New thread 3067227492 created [08:20:45]Thread 3067370852 joined [08:20:45]Waiting for new connection... [08:20:45] Sock 9.Parse request [08:20:45]Sock 9.Check first char [08:20:45]Sock 9.First char is OK [08:20:45]request: POST /json_proto HTTP/1.0 [08:20:45]Method: POST [08:20:45]URL: /json_proto [08:20:45]Method is POST - this is cgi request [08:20:45]url: /json_proto [08:20:45]query_string will be loaded in cgi processing [08:20:45]execute_cgi json_proto POST (null) [08:20:45]execute_cgi path=json_proto method=POST [08:20:45]POST find Content-Length [08:20:45]Host: 172.17.56.68:8080 [08:20:45]Content-Length: 2528 [08:20:45]Content-Type: application/json [08:20:45] [08:20:45]POST finish read [08:20:45]Found Content-Length = 2528 [08:20:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4286", "tax_sys" : 0, "items" : [ { "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 55.00, "quantity" : 3.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1005.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:20:45]execute_script... [08:20:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4286", "tax_sys" : 0, "items" : [ { "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 55.00, "quantity" : 3.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1005.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:20:46]POST & json_proto [08:20:46]process_json_proto [08:20:46]json parsed OK: [08:20:46]protocol is kg_v1.0 [08:20:46]action value=close_receipt [08:20:46]process_action close_receipt [08:20:46]cmd_close_receipt [08:20:46]MH_GetDate [08:20:46]Write to MH i2c: F0 00 00 63 05 57 [08:20:46]Write i2c OK [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: F0 [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: F0 09 00 [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: F0 09 00 63 05 00 E0 7C 5D 66 42 69 5C 66 EC [08:20:46]GetLastDocTimeStamp 1717400715 [08:20:46]current date 1717402848 [08:20:46]FM_GetShiftState [08:20:46]SAM_PROTO_GetShiftState [08:20:46]wFMCommunicate request_size=4 [08:20:46]MH_SAM_APDU [08:20:46]CAPDU: 80 13 01 00 [08:20:46]Write to MH i2c: E2 08 00 64 05 80 13 01 00 00 00 00 00 E6 [08:20:46]Write i2c OK [08:20:46]MH_I2C_Read... [08:20:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:46]Read from MH i2c: E2 [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: E2 0E 00 [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: E2 0E 00 64 05 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 74 [08:20:46]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [08:20:46]wFMCommunicate OK [08:20:46]SAM_PROTO_GetShiftState done [08:20:46]FM_GetShiftState done [08:20:46]opened in 1717372856 [08:20:46]opened+sec_in_day 1717459256 [08:20:46]quantity*price = 11000 [08:20:46]sum+1 = 11001 [08:20:46]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 о реализуемом товаре Товар: 4650243871224 Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000996 Напиток Кока-Кола 0,33л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 3.000 * 55.00 = 165.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 2.000 * 125.00 = 250.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1005.00 НСП 1% : 8.88 НДС 12% : 106.72 Наличными: 1005.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 13 03.06.2024 08:20 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4032 ФПД: 121505343643985 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T082049&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4032&fm=121505343643985&tin=02508201610067®Number=0000000000145775&sum=100500 0 [08:20:47]StoreToDocumentArchive [08:20:47]shift 82 fd 4032 [08:20:47]save to /storage/0082/doc_00004032 [08:20:47]save last doc name /storage/0082/doc_00004032 to /storage/kkm_last_doc_name [08:20:47]save OK [08:20:47]Clear old archive folders... [08:20:47]ProcessDocumentItem done err = 0, tmpTLVsize=1066 [08:20:47]tlvbuf is 00775C40 [08:20:47]SAM_PROTO_ClearQueue [08:20:47]wFMCommunicate request_size=4 [08:20:47]MH_SAM_APDU [08:20:47]CAPDU: 80 09 00 00 [08:20:47]Write to MH i2c: E2 08 00 71 05 80 09 00 00 00 00 00 00 E8 [08:20:47]Write i2c OK [08:20:47]MH_I2C_Read... [08:20:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:20:47]Read from MH i2c: E2 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 03 00 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 03 00 71 05 00 90 00 EA [08:20:47]RAPDU: 90 00 [08:20:47]wFMCommunicate OK [08:20:47]SAM_PROTO_ClearQueue done [08:20:47]KKMCreateOFDPacket [08:20:47]OFDProtocolAddRootSTLVToBuf [08:20:47]FM_MakeSignedData [08:20:47]FM_MakeSignedData [08:20:47]SAM_PROTO_SignData [08:20:47]wFMCommunicate request_size=4 [08:20:47]MH_SAM_APDU [08:20:47]CAPDU: 80 0D 01 02 [08:20:47]Write to MH i2c: E2 08 00 72 05 80 0D 01 02 00 00 00 00 F0 [08:20:47]Write i2c OK [08:20:47]MH_I2C_Read... [08:20:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:20:47]Read from MH i2c: E2 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 03 00 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 03 00 72 05 00 90 00 EB [08:20:47]RAPDU: 90 00 [08:20:47]wFMCommunicate OK [08:20:47]wFMCommunicate request_size=255 [08:20:47]MH_SAM_APDU [08:20:47]CAPDU: 80 0D 02 02 FA 03 00 2A 04 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 [08:20:47]Write to MH i2c: E2 02 01 73 05 80 0D 02 02 FA 00 03 00 2A 04 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 D0 [08:20:48]Write i2c OK [08:20:48]MH_I2C_Read... [08:20:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:48]Read from MH i2c: E2 [08:20:48]MH_I2C_Read... [08:20:48]Read from MH i2c: E2 03 00 [08:20:48]MH_I2C_Read... [08:20:48]Read from MH i2c: E2 03 00 73 05 00 90 00 EC [08:20:48]RAPDU: 90 00 [08:20:48]wFMCommunicate OK [08:20:48]wFMCommunicate request_size=255 [08:20:48]MH_SAM_APDU [08:20:48]CAPDU: 80 0D 02 02 FA 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 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 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 [08:20:48]Write to MH i2c: E2 02 01 74 05 80 0D 02 02 FA 00 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 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 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 00 00 AC [08:20:48]Write i2c OK [08:20:48]MH_I2C_Read... [08:20:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:48]Read from MH i2c: E2 [08:20:48]MH_I2C_Read... [08:20:48]Read from MH i2c: E2 03 00 [08:20:48]MH_I2C_Read... [08:20:48]Read from MH i2c: E2 03 00 74 05 00 90 00 ED [08:20:48]RAPDU: 90 00 [08:20:48]wFMCommunicate OK [08:20:48]wFMCommunicate request_size=255 [08:20:48]MH_SAM_APDU [08:20:48]CAPDU: 80 0D 02 02 FA B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 [08:20:48]Write to MH i2c: E2 02 01 75 05 80 0D 02 02 FA 00 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 00 00 90 [08:20:48]Write i2c OK [08:20:48]MH_I2C_Read... [08:20:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:48]Read from MH i2c: E2 [08:20:48]MH_I2C_Read... [08:20:48]Read from MH i2c: E2 03 00 [08:20:48]MH_I2C_Read... [08:20:48]Read from MH i2c: E2 03 00 75 05 00 90 00 EE [08:20:48]RAPDU: 90 00 [08:20:48]wFMCommunicate OK [08:20:48]wFMCommunicate request_size=255 [08:20:48]MH_SAM_APDU [08:20:48]CAPDU: 80 0D 02 02 FA 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 29 00 00 00 00 07 04 06 00 94 88 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 E1 7C 5D 66 0E [08:20:48]Write to MH i2c: E2 02 01 76 05 80 0D 02 02 FA 00 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 29 00 00 00 00 07 04 06 00 94 88 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 E1 7C 5D 66 0E 00 00 1F [08:20:49]Write i2c OK [08:20:49]MH_I2C_Read... [08:20:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:49]Read from MH i2c: E2 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 03 00 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 03 00 76 05 00 90 00 EF [08:20:49]RAPDU: 90 00 [08:20:49]wFMCommunicate OK [08:20:49]wFMCommunicate request_size=75 [08:20:49]MH_SAM_APDU [08:20:49]CAPDU: 80 0D 02 02 46 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C0 0F 00 00 35 04 06 00 6E 82 2A D8 A1 51 [08:20:49]Write to MH i2c: E2 4E 00 77 05 80 0D 02 02 46 00 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C0 0F 00 00 35 04 06 00 6E 82 2A D8 A1 51 00 00 28 [08:20:49]Write i2c OK [08:20:49]MH_I2C_Read... [08:20:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:49]Read from MH i2c: E2 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 03 00 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 03 00 77 05 00 90 00 F0 [08:20:49]RAPDU: 90 00 [08:20:49]wFMCommunicate OK [08:20:49]wFMCommunicate request_size=4 [08:20:49]MH_SAM_APDU [08:20:49]CAPDU: 80 0D 03 02 [08:20:49]Write to MH i2c: E2 08 00 78 05 80 0D 03 02 00 00 00 00 F8 [08:20:49]Write i2c OK [08:20:49]MH_I2C_Read... [08:20:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:20:49]Read from MH i2c: E2 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 0B 00 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 0B 00 78 05 00 27 BC 9C 79 BD AE FD FC 90 00 55 [08:20:49]RAPDU: 27 BC 9C 79 BD AE FD FC 90 00 [08:20:49]wFMCommunicate OK [08:20:49]SAM_PROTO_SignData done [08:20:49]FM_MakeSignedData done [08:20:49]CreateOFDProtocolMessage [08:20:49]wFMCommunicate request_size=4 [08:20:49]MH_SAM_APDU [08:20:49]CAPDU: 80 11 00 00 [08:20:49]Write to MH i2c: E2 08 00 79 05 80 11 00 00 00 00 00 00 F8 [08:20:49]Write i2c OK [08:20:49]MH_I2C_Read... [08:20:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:49]Read from MH i2c: E2 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 17 00 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 17 00 79 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4B [08:20:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:20:49]wFMCommunicate OK [08:20:49]CreateOFDProtocolMessage done [08:20:49]OFDSenderStorePacket 4032 [08:20:49]StoreOFDPacket docnum=4032 [08:20:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3E 04 00 00 31 71 36 04 D1 FB 5A 03 01 00 03 00 2A 04 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 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 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 29 00 00 00 00 07 04 06 00 94 88 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 E1 7C 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C0 0F 00 00 35 04 06 00 6E 82 2A D8 A1 51 27 BC 9C 79 BD AE FD FC [08:20:49]CheckFolder [08:20:49]dirname=/storage/ofd_packets [08:20:49]CheckFolder done [08:20:49]ProducePacketName [08:20:49]name=ofd_packets/00004032 [08:20:49]NVStorageSaveData ofd_packets/00004032 [08:20:49]File name is /storage/ofd_packets/00004032 [08:20:49]Write 1116 bytes [08:20:49]NVStorageSaveData done [08:20:49]OFDSenderStorePacket done [08:20:49]KKMCreateOFDPacket done [08:20:49]NVStorageSaveData kkm_last_timestamp [08:20:49]File name is /storage/kkm_last_timestamp [08:20:49]Write 4 bytes [08:20:49]NVStorageSaveData done [08:20:49]ExternCall_PrintAddStr [08:20:49]wPrintStart [08:20:49]Write to MH i2c: 01 00 00 7A 05 7F [08:20:49]Write i2c OK [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: 01 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: 01 07 00 [08:20:49]MH_I2C_Read... [08:20:49]OFD Sender: Processing packet 4032 [packets to send 2, broken 1] [08:20:49]ProducePacketName [08:20:49]Read from MH i2c: name=ofd_packets/00004032 [08:20:49]01 OFD Sender: To server: pG, [08:20:49]07 CommunicateWithHost lk.salyk.kg:30040 [08:20:49]00 ConnectInit lk.salyk.kg [08:20:49]7A 05 00 00 00 00 00 FF 0F 94 [08:20:49]RasterBufferAndPrint [08:20:49]line Счет N : (3)4286 [08:20:49]line ИНН: 02508201610067 [08:20:49]line Контрольно-Кассовый Чек [08:20:49]line ПРОДАЖА [08:20:49]line Товар: 4650243871781 [08:20:49]line Gorilla эн нап Orange 0,45 ж/б [08:20:49]line 1.000 * 110.00 [08:20:49]line = 110.00 [08:20:49]line НДС 12% НСП 1% [08:20:49]line > о реализуемом товаре [08:20:49]line Товар: 4650243871224 [08:20:49]line Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС [08:20:49]line 1.000 * 110.00 [08:20:49]line = 110.00 [08:20:49]line НДС 12% НСП 1% [08:20:49]line > о реализуемом товаре [08:20:49]line Товар: 5449000000996 [08:20:49]line Напиток Кока-Кола 0,33л [08:20:49]line 1.000 * 85.00 [08:20:49]line = 85.00 [08:20:49]line НДС 12% НСП 1% [08:20:49]line > о реализуемом товаре [08:20:49]line Товар: 54491472 [08:20:49]line Напиток Кока-Кола 0,5л [08:20:49]line 1.000 * 75.00 [08:20:49]line = 75.00 [08:20:49]line НДС 12% НСП 1% [08:20:49]line > о реализуемом товаре [08:20:49]line Товар: 4700000160204 [08:20:49]line Вода Легенда 1,5л [08:20:49]line 3.000 * 55.00 [08:20:49]line = 165.00 [08:20:49]line НДС 12% НСП 1% [08:20:49]line > о реализуемом товаре [08:20:49]line Товар: 2000036220012 [08:20:49]line Кофе Капучино XL(GABB TRADE) [08:20:49]line 2.000 * 125.00 [08:20:49]line = 250.00 [08:20:49]line НДС 12% НСП 1% [08:20:49]line > о реализуемом товаре [08:20:49]line Товар: 2000036210013 [08:20:49]line Кофе Капучино (GABB TRADE) [08:20:49]line 1.000 * 115.00 [08:20:49]line = 115.00 [08:20:49]line НДС 12% НСП 1% [08:20:49]line > о реализуемом товаре [08:20:49]line Товар: 2000036190018 [08:20:49]line Кофе Американо XL(GABB TRADE) [08:20:49]line 1.000 * 95.00 [08:20:49]line = 95.00 [08:20:49]line НДС 12% НСП 1% [08:20:49]line > о реализуемом товаре [08:20:49]line ИТОГО: 1005.00 [08:20:49]line НСП 1% : 8.88 [08:20:49]line НДС 12% : 106.72 [08:20:49]line Наличными: 1005.00 [08:20:49]line Безнал.: 0.00 [08:20:49]line Место: АЗС № 116 "Партнер Нефть" [08:20:49]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:20:49]line СНО: Общий режим [08:20:49]line Чек 13 03.06.2024 08:20 [08:20:49]line Смена: 82 ФФД: 1.0 [08:20:49]line ЗНМ: 0300000233 [08:20:49]line РНМ: 0000000000145775 [08:20:49]line Версия ККМ: v1.0 [08:20:49]line ФМ: 0000000000959360 [08:20:49]line ФД: 4032 [08:20:49]line ФПД: 121505343643985 [08:20:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T082049&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4032&fm=121505343643985&tin=02508201610067®Number=0000000000145775&sum=100500 [08:20:49]line 0 [08:20:49]written 0, free lines is 4095 [08:20:49]Connected sock=11 [08:20:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3E 04 00 00 31 71 36 04 D1 FB 5A 03 01 00 03 00 2A 04 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 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 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 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 29 00 00 00 00 07 04 06 00 94 88 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 E1 7C 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C0 0F 00 00 35 04 06 00 6E 82 2A D8 A1 51 27 BC 9C 79 BD AE FD FC [08:20:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 96 FA 47 00 BF 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C0 0F 00 00 F4 03 04 00 E6 28 5D 66 B6 04 01 00 00 6F 41 AC 93 C9 06 D9 CF [08:20:50]CommunicateWithHost err = 0 [08:20:50]CheckOFDResponse [08:20:50]1017 (14) - 77093643461234 [08:20:50]1041 (16) - 0000000000959360 [08:20:50]1040 (4) - 4032 [08:20:50]1012 (4) - 03.06.2024 02:22 [08:20:50]1206 (1) - 0 [08:20:50]OFD Sender: Remove packet 4032 [08:20:50]ProducePacketName [08:20:50]name=ofd_packets/00004032 [08:20:50]NVStorageDeleteData [08:20:50]OFD Sender: No OFD packet to send [08:20:50]Write to MH i2c: 01 00 00 CF 05 D4 [08:20:50]Write i2c OK [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: 01 [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: 01 07 00 [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: 01 07 00 CF 05 00 00 00 00 00 D1 09 B5 [08:20:50]RasterBufferAndPrint [08:20:50]line [08:20:50]line [08:20:50]line [08:20:50]line [08:20:50]line [08:20:50]written 0, free lines is 2522 [08:20:50]MH_Cut [08:20:50]Write to MH i2c: D1 01 00 D6 05 01 AD [08:20:50]Write i2c OK [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: D1 [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: D1 01 00 [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: D1 01 00 D6 05 00 AC [08:20:50]Write to MH i2c: 01 00 00 D7 05 DC [08:20:50]Write i2c OK [08:20:50]MH_I2C_Read... [08:20:52]*** Cut start [08:20:52]*** Partial cut [08:20:52]*** CUTSNS_PIN = 1 [08:20:52]*** CUTSNS_PIN = 0 [08:20:52]*** Brake cut motor [08:20:52]Read from MH i2c: 01 [08:20:52]MH_I2C_Read... [08:20:52]*** Stop cut motor [08:20:52]*** Cut end [08:20:52]Read from MH i2c: 01 07 00 [08:20:52]MH_I2C_Read... [08:20:52]Read from MH i2c: 01 07 00 D7 05 00 00 00 00 00 FF 0F F1 [08:20:52]process_action close_receipt done [08:20:52]requested_data is exist [08:20:52]produce_requested_data [08:20:52]requested_item fm.sn is exist - process it [08:20:52]wFMCommunicate request_size=4 [08:20:52]MH_SAM_APDU [08:20:52]CAPDU: 80 11 00 00 [08:20:52]Write to MH i2c: E2 08 00 D8 05 80 11 00 00 00 00 00 00 57 [08:20:52]Write i2c OK [08:20:52]MH_I2C_Read... [08:20:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:52]Read from MH i2c: E2 [08:20:52]MH_I2C_Read... [08:20:52]Read from MH i2c: E2 17 00 [08:20:52]MH_I2C_Read... [08:20:52]Read from MH i2c: E2 17 00 D8 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AA [08:20:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:20:52]wFMCommunicate OK [08:20:52]requested_item fd.num is exist - process it [08:20:52]SAM_PROTO_GetFieldsCounters [08:20:52]wFMCommunicate request_size=4 [08:20:52]MH_SAM_APDU [08:20:52]CAPDU: 80 13 00 00 [08:20:52]Write to MH i2c: E2 08 00 D9 05 80 13 00 00 00 00 00 00 5A [08:20:52]Write i2c OK [08:20:52]MH_I2C_Read... [08:20:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:20:53]Read from MH i2c: E2 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 62 00 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 62 00 D9 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C0 0F 00 00 0E 04 04 00 52 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 C7 [08:20:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C0 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:20:53]wFMCommunicate OK [08:20:53]SAM_PROTO_GetFieldsCounters done [08:20:53]requested_item shift.num is exist - process it [08:20:53]requested_item shift.opened is exist - process it [08:20:53]req_shift_opened [08:20:53]FM_GetShiftState [08:20:53]SAM_PROTO_GetShiftState [08:20:53]wFMCommunicate request_size=4 [08:20:53]MH_SAM_APDU [08:20:53]CAPDU: 80 13 01 00 [08:20:53]Write to MH i2c: E2 08 00 DA 05 80 13 01 00 00 00 00 00 5C [08:20:53]Write i2c OK [08:20:53]MH_I2C_Read... [08:20:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:53]Read from MH i2c: E2 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 0E 00 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 0E 00 DA 05 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 EA [08:20:53]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [08:20:53]wFMCommunicate OK [08:20:53]SAM_PROTO_GetShiftState done [08:20:53]FM_GetShiftState done [08:20:53]req_shift_opened done [08:20:53]requested_item shift.open_date is exist - process it [08:20:53]req_shift_open_date [08:20:53]req_shift_open_date done [08:20:53]produce_requested_data done [08:20:53]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4032,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [08:20:53]process_action_free close_receipt [08:20:53]json_value_free [08:20:53]json_value_free done [08:20:53]process_json_proto returns [08:20:53]Send response to host [08:20:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4032,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [08:20:53]free response buf [08:20:53]execute_script done [08:20:53]execute_script returns [08:20:53]free content buf [08:20:53]Sock 9.Close socket [08:20:53]Sock 9.Thread stoped [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:55]OFD Sender: No OFD packet to send [08:23:00]OFD Sender: No OFD packet to send [08:23:05]OFD Sender: No OFD packet to send [08:23:10]OFD Sender: No OFD packet to send [08:23:15]OFD Sender: No OFD packet to send [08:23:20]OFD Sender: No OFD packet to send [08:23:25]OFD Sender: No OFD packet to send [08:23:30]OFD Sender: No OFD packet to send [08:23:35]OFD Sender: No OFD packet to send [08:23:40]OFD Sender: No OFD packet to send [08:23:45]OFD Sender: No OFD packet to send [08:23:50]OFD Sender: No OFD packet to send [08:23:55]OFD Sender: No OFD packet to send [08:24:00]OFD Sender: No OFD packet to send [08:24:05]OFD Sender: No OFD packet to send [08:24:10]OFD Sender: No OFD packet to send [08:24:15]OFD Sender: No OFD packet to send [08:24:20]OFD Sender: No OFD packet to send [08:24:25]OFD Sender: No OFD packet to send [08:24:30]OFD Sender: No OFD packet to send [08:24:35]OFD Sender: No OFD packet to send [08:24:40]OFD Sender: No OFD packet to send [08:24:45]OFD Sender: No OFD packet to send [08:24:47]int [08:24:47]Write to MH i2c: 01 00 00 DB 05 E0 [08:24:47]*** FLAG_PRN_KEY set [08:24:47]Write i2c OK [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 DB 05 00 08 00 00 00 FF 0F FD [08:24:47]state=0 [08:24:47]Key pressed [08:24:47]Feed [08:24:47]Write to MH i2c: D8 00 00 DC 05 B8 [08:24:47]Write i2c OK [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: D8 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: D8 01 00 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: D8 01 00 DC 05 00 B9 [08:24:47]int [08:24:47]Write to MH i2c: 01 00 00 DD 05 E2 [08:24:47]Write i2c OK [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 DD 05 00 48 00 00 00 3C 00 6D [08:24:47]state=2 [08:24:47]Key pressed [08:24:47]int [08:24:47]Write to MH i2c: 01 00 00 DE 05 E3 [08:24:47]*** FLAG_PRN_KEY reset [08:24:47]Write i2c OK [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 DE 05 00 00 00 00 00 F5 0F EE [08:24:47]state=2 [08:24:47]Stop feed [08:24:47]int [08:24:47]Write to MH i2c: 01 00 00 DF 05 E4 [08:24:47]*** FLAG_PRN_KEY set [08:24:47]Write i2c OK [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 DF 05 00 08 00 00 00 FF 0F 01 [08:24:47]state=0 [08:24:47]Key pressed [08:24:47]Feed [08:24:47]Write to MH i2c: D8 00 00 E0 05 BC [08:24:47]Write i2c OK [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: D8 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: D8 01 00 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: D8 01 00 E0 05 00 BD [08:24:47]int [08:24:47]Write to MH i2c: 01 00 00 E1 05 E6 [08:24:47]Write i2c OK [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 [08:24:47]MH_I2C_Read... [08:24:47]Read from MH i2c: 01 07 00 E1 05 00 48 00 00 00 3C 00 71 [08:24:47]state=2 [08:24:47]Key pressed [08:24:48]int [08:24:48]Write to MH i2c: 01 00 00 E2 05 E7 [08:24:48]*** FLAG_PRN_KEY reset [08:24:48]Write i2c OK [08:24:48]MH_I2C_Read... [08:24:48]Read from MH i2c: 01 [08:24:48]MH_I2C_Read... [08:24:48]Read from MH i2c: 01 07 00 [08:24:48]MH_I2C_Read... [08:24:48]Read from MH i2c: 01 07 00 E2 05 00 00 00 00 00 F6 0F F3 [08:24:48]state=2 [08:24:48]Stop feed [08:24:50]OFD Sender: No OFD packet to send [08:24:55]OFD Sender: No OFD packet to send [08:25:00]OFD Sender: No OFD packet to send [08:25:05]OFD Sender: No OFD packet to send [08:25:10]OFD Sender: No OFD packet to send [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:35]OFD Sender: No OFD packet to send [08:25:40]OFD Sender: No OFD packet to send [08:25:45]OFD Sender: No OFD packet to send [08:25:50]OFD Sender: No OFD packet to send [08:25:55]OFD Sender: No OFD packet to send [08:26:00]OFD Sender: No OFD packet to send [08:26:05]OFD Sender: No OFD packet to send [08:26:10]OFD Sender: No OFD packet to send [08:26:15]OFD Sender: No OFD packet to send [08:26:20]OFD Sender: No OFD packet to send [08:26: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:23]accept exits with 8 [08:27:23]New connection [08:27:23]New thread 3067370852 created [08:27:23]Thread 3067227492 joined [08:27:23]Waiting for new connection... [08:27:23] Sock 8.Parse request [08:27:23]Sock 8.Check first char [08:27:23]Sock 8.First char is OK [08:27:23]request: POST /json_proto HTTP/1.0 [08:27:23]Method: POST [08:27:23]URL: /json_proto [08:27:23]Method is POST - this is cgi request [08:27:23]url: /json_proto [08:27:23]query_string will be loaded in cgi processing [08:27:23]execute_cgi json_proto POST (null) [08:27:23]execute_cgi path=json_proto method=POST [08:27:23]POST find Content-Length [08:27:23]Host: 172.17.56.68:8080 [08:27:23]Content-Length: 647 [08:27:23]Content-Type: application/json [08:27:23] [08:27:23]POST finish read [08:27:23]Found Content-Length = 647 [08:27:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4287", "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 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:27:23]execute_script... [08:27: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)4287", "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 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:27:23]POST & json_proto [08:27:23]process_json_proto [08:27:23]json parsed OK: [08:27:23]protocol is kg_v1.0 [08:27:23]action value=close_receipt [08:27:23]process_action close_receipt [08:27:23]cmd_close_receipt [08:27:23]MH_GetDate [08:27:23]Write to MH i2c: F0 00 00 E3 05 D7 [08:27:23]Write i2c OK [08:27:23]MH_I2C_Read... [08:27:23]Read from MH i2c: F0 [08:27:23]MH_I2C_Read... [08:27:23]Read from MH i2c: F0 09 00 [08:27:23]MH_I2C_Read... [08:27:23]Read from MH i2c: F0 09 00 E3 05 00 6E 7E 5D 66 42 69 5C 66 FC [08:27:23]GetLastDocTimeStamp 1717402849 [08:27:23]current date 1717403246 [08:27:23]FM_GetShiftState [08:27:23]SAM_PROTO_GetShiftState [08:27:23]wFMCommunicate request_size=4 [08:27:23]MH_SAM_APDU [08:27:23]CAPDU: 80 13 01 00 [08:27:23]Write to MH i2c: E2 08 00 E4 05 80 13 01 00 00 00 00 00 66 [08:27:23]Write i2c OK [08:27:23]MH_I2C_Read... [08:27:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:27:23]Read from MH i2c: E2 [08:27:23]MH_I2C_Read... [08:27:23]Read from MH i2c: E2 0E 00 [08:27:23]MH_I2C_Read... [08:27:23]Read from MH i2c: E2 0E 00 E4 05 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 F4 [08:27:23]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [08:27:23]wFMCommunicate OK [08:27:23]SAM_PROTO_GetShiftState done [08:27:23]FM_GetShiftState done [08:27:23]opened in 1717372856 [08:27:23]opened+sec_in_day 1717459256 [08:27:23]quantity*price = 8500 [08:27:23]sum+1 = 8501 [08:27:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 14 03.06.2024 08:27 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4033 ФПД: 57384197301841 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T082726&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4033&fm=57384197301841&tin=02508201610067®Number=0000000000145775&sum=8500 0 [08:27:24]StoreToDocumentArchive [08:27:24]shift 82 fd 4033 [08:27:24]save to /storage/0082/doc_00004033 [08:27:24]save last doc name /storage/0082/doc_00004033 to /storage/kkm_last_doc_name [08:27:24]save OK [08:27:24]Clear old archive folders... [08:27:24]ProcessDocumentItem done err = 0, tmpTLVsize=280 [08:27:24]tlvbuf is 0076E780 [08:27:24]SAM_PROTO_ClearQueue [08:27:24]wFMCommunicate request_size=4 [08:27:24]MH_SAM_APDU [08:27:24]CAPDU: 80 09 00 00 [08:27:24]Write to MH i2c: E2 08 00 F1 05 80 09 00 00 00 00 00 00 68 [08:27:24]Write i2c OK [08:27:24]MH_I2C_Read... [08:27:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:27:24]Read from MH i2c: E2 [08:27:24]MH_I2C_Read... [08:27:24]Read from MH i2c: E2 03 00 [08:27:24]MH_I2C_Read... [08:27:24]Read from MH i2c: E2 03 00 F1 05 00 90 00 6A [08:27:24]RAPDU: 90 00 [08:27:24]wFMCommunicate OK [08:27:24]SAM_PROTO_ClearQueue done [08:27:24]KKMCreateOFDPacket [08:27:24]OFDProtocolAddRootSTLVToBuf [08:27:24]FM_MakeSignedData [08:27:24]FM_MakeSignedData [08:27:24]SAM_PROTO_SignData [08:27:24]wFMCommunicate request_size=4 [08:27:24]MH_SAM_APDU [08:27:24]CAPDU: 80 0D 01 02 [08:27:24]Write to MH i2c: E2 08 00 F2 05 80 0D 01 02 00 00 00 00 70 [08:27:24]Write i2c OK [08:27:24]MH_I2C_Read... [08:27:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:27:24]Read from MH i2c: E2 [08:27:24]MH_I2C_Read... [08:27:24]Read from MH i2c: E2 03 00 [08:27:24]MH_I2C_Read... [08:27:24]Read from MH i2c: E2 03 00 F2 05 00 90 00 6B [08:27:24]RAPDU: 90 00 [08:27:24]wFMCommunicate OK [08:27:24]wFMCommunicate request_size=255 [08:27:24]MH_SAM_APDU [08:27:24]CAPDU: 80 0D 02 02 FA 03 00 18 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 6E 7E 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [08:27:24]Write to MH i2c: E2 02 01 F3 05 80 0D 02 02 FA 00 03 00 18 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 6E 7E 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 5F [08:27:24]Write i2c OK [08:27:24]MH_I2C_Read... [08:27:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:27:25]Read from MH i2c: E2 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: E2 03 00 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: E2 03 00 F3 05 00 90 00 6C [08:27:25]RAPDU: 90 00 [08:27:25]wFMCommunicate OK [08:27:25]wFMCommunicate request_size=39 [08:27:25]MH_SAM_APDU [08:27:25]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C1 0F 00 00 35 04 06 00 34 30 CC B2 26 51 [08:27:25]Write to MH i2c: E2 2A 00 F4 05 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C1 0F 00 00 35 04 06 00 34 30 CC B2 26 51 00 00 57 [08:27:25]Write i2c OK [08:27:25]MH_I2C_Read... [08:27:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:27:25]Read from MH i2c: E2 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: E2 03 00 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: E2 03 00 F4 05 00 90 00 6D [08:27:25]RAPDU: 90 00 [08:27:25]wFMCommunicate OK [08:27:25]wFMCommunicate request_size=4 [08:27:25]MH_SAM_APDU [08:27:25]CAPDU: 80 0D 03 02 [08:27:25]Write to MH i2c: E2 08 00 F5 05 80 0D 03 02 00 00 00 00 75 [08:27:25]Write i2c OK [08:27:25]MH_I2C_Read... [08:27:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:27:25]Read from MH i2c: E2 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: E2 0B 00 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: E2 0B 00 F5 05 00 B8 48 A3 2D 1A 8C B9 D0 90 00 75 [08:27:25]RAPDU: B8 48 A3 2D 1A 8C B9 D0 90 00 [08:27:25]wFMCommunicate OK [08:27:25]SAM_PROTO_SignData done [08:27:25]FM_MakeSignedData done [08:27:25]CreateOFDProtocolMessage [08:27:25]wFMCommunicate request_size=4 [08:27:25]MH_SAM_APDU [08:27:25]CAPDU: 80 11 00 00 [08:27:25]Write to MH i2c: E2 08 00 F6 05 80 11 00 00 00 00 00 00 75 [08:27:25]Write i2c OK [08:27:25]MH_I2C_Read... [08:27:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:27:25]Read from MH i2c: E2 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: E2 17 00 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: E2 17 00 F6 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C8 [08:27:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:27:25]wFMCommunicate OK [08:27:25]CreateOFDProtocolMessage done [08:27:25]OFDSenderStorePacket 4033 [08:27:25]StoreOFDPacket docnum=4033 [08:27:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 70 11 24 01 B2 BD 5A 03 01 00 03 00 18 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 6E 7E 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C1 0F 00 00 35 04 06 00 34 30 CC B2 26 51 B8 48 A3 2D 1A 8C B9 D0 [08:27:25]CheckFolder [08:27:25]dirname=/storage/ofd_packets [08:27:25]CheckFolder done [08:27:25]ProducePacketName [08:27:25]name=ofd_packets/00004033 [08:27:25]NVStorageSaveData ofd_packets/00004033 [08:27:25]File name is /storage/ofd_packets/00004033 [08:27:25]Write 330 bytes [08:27:25]NVStorageSaveData done [08:27:25]OFDSenderStorePacket done [08:27:25]KKMCreateOFDPacket done [08:27:25]NVStorageSaveData kkm_last_timestamp [08:27:25]File name is /storage/kkm_last_timestamp [08:27:25]Write 4 bytes [08:27:25]NVStorageSaveData done [08:27:25]ExternCall_PrintAddStr [08:27:25]wPrintStart [08:27:25]Write to MH i2c: 01 00 00 F7 05 FC [08:27:25]Write i2c OK [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: 01 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: 01 07 00 [08:27:25]MH_I2C_Read... [08:27:25]Read from MH i2c: 01 07 00 F7 05 00 00 00 00 00 FF 0F 11 [08:27:25]RasterBufferAndPrint [08:27:25]line Счет N : (3)4287 [08:27:25]line ИНН: 02508201610067 [08:27:25]line Контрольно-Кассовый Чек [08:27:25]line ПРОДАЖА [08:27:25]line Товар: 4870227272957 [08:27:25]line Лимонад Sunbel Тархун 1л [08:27:25]line 1.000 * 85.00 [08:27:25]line = 85.00 [08:27:25]line НДС 12% НСП 1% [08:27:25]line > о реализуемом товаре [08:27:25]line ИТОГО: 85.00 [08:27:25]line НСП 1% : 0.75 [08:27:25]line НДС 12% : 9.03 [08:27:25]line Наличными: 85.00 [08:27:25]line Безнал.: 0.00 [08:27:25]line Место: АЗС № 116 "Партнер Нефть" [08:27:25]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:27:25]line СНО: Общий режим [08:27:25]line Чек 14 03.06.2024 08:27 [08:27:25]line Смена: 82 ФФД: 1.0 [08:27:25]line ЗНМ: 0300000233 [08:27:25]line РНМ: 0000000000145775 [08:27:25]line Версия ККМ: v1.0 [08:27:25]line ФМ: 0000000000959360 [08:27:25]line ФД: 4033 [08:27:25]line ФПД: 57384197301841 [08:27:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T082726&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4033&fm=57384197301841&tin=02508201610067®Number=0000000000145775&sum=8500 [08:27:25]line 0 [08:27:25]OFD Sender: Processing packet 4033 [packets to send 2, broken 1] [08:27:25]ProducePacketName [08:27:25]name=ofd_packets/00004033 [08:27:25]OFD Sender: To server: pG, [08:27:25]CommunicateWithHost lk.salyk.kg:30040 [08:27:25]ConnectInit lk.salyk.kg [08:27:25]written 0, free lines is 4095 [08:27:25]Connected sock=10 [08:27:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 70 11 24 01 B2 BD 5A 03 01 00 03 00 18 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 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 6E 7E 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C1 0F 00 00 35 04 06 00 34 30 CC B2 26 51 B8 48 A3 2D 1A 8C B9 D0 [08:27:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F9 50 47 00 EA 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C1 0F 00 00 F4 03 04 00 72 2A 5D 66 B6 04 01 00 00 27 4A 61 FF 5B 75 79 93 [08:27:25]CommunicateWithHost err = 0 [08:27:25]CheckOFDResponse [08:27:25]1017 (14) - 77093643461234 [08:27:25]1041 (16) - 0000000000959360 [08:27:25]1040 (4) - 4033 [08:27:25]1012 (4) - 03.06.2024 02:29 [08:27:25]1206 (1) - 0 [08:27:25]OFD Sender: Remove packet 4033 [08:27:25]ProducePacketName [08:27:25]name=ofd_packets/00004033 [08:27:25]NVStorageDeleteData [08:27:26]Write to MH i2c: 01 00 00 1F 06 25 [08:27:26]Write i2c OK [08:27:26]MH_I2C_Read... [08:27:26]Read from MH i2c: 01 [08:27:26]MH_I2C_Read... [08:27:26]Read from MH i2c: 01 07 00 [08:27:26]MH_I2C_Read... [08:27:26]Read from MH i2c: 01 07 00 1F 06 00 00 00 00 00 D8 0C 10 [08:27:26]RasterBufferAndPrint [08:27:26]line [08:27:26]line [08:27:26]line [08:27:26]line [08:27:26]line [08:27:26]written 0, free lines is 3294 [08:27:26]MH_Cut [08:27:26]Write to MH i2c: D1 01 00 26 06 01 FE [08:27:26]Write i2c OK [08:27:26]MH_I2C_Read... [08:27:26]Read from MH i2c: D1 [08:27:26]MH_I2C_Read... [08:27:26]Read from MH i2c: D1 01 00 [08:27:26]MH_I2C_Read... [08:27:26]Read from MH i2c: D1 01 00 26 06 00 FD [08:27:26]Write to MH i2c: 01 00 00 27 06 2D [08:27:26]Write i2c OK [08:27:26]MH_I2C_Read... [08:27:26]OFD Sender: No OFD packet to send [08:27:26]*** Cut start [08:27:26]*** Partial cut [08:27:26]*** CUTSNS_PIN = 1 [08:27:26]*** CUTSNS_PIN = 0 [08:27:27]*** Brake cut motor [08:27:27]Read from MH i2c: 01 [08:27:27]MH_I2C_Read... [08:27:27]*** Stop cut motor [08:27:27]*** Cut end [08:27:27]Read from MH i2c: 01 07 00 [08:27:27]MH_I2C_Read... [08:27:27]Read from MH i2c: 01 07 00 27 06 00 00 00 00 00 FF 0F 42 [08:27:27]process_action close_receipt done [08:27:27]requested_data is exist [08:27:27]produce_requested_data [08:27:27]requested_item fm.sn is exist - process it [08:27:27]wFMCommunicate request_size=4 [08:27:27]MH_SAM_APDU [08:27:27]CAPDU: 80 11 00 00 [08:27:27]Write to MH i2c: E2 08 00 28 06 80 11 00 00 00 00 00 00 A8 [08:27:27]Write i2c OK [08:27:27]MH_I2C_Read... [08:27:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:27:27]Read from MH i2c: E2 [08:27:27]MH_I2C_Read... [08:27:27]Read from MH i2c: E2 17 00 [08:27:27]MH_I2C_Read... [08:27:27]Read from MH i2c: E2 17 00 28 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 FB [08:27:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:27:27]wFMCommunicate OK [08:27:27]requested_item fd.num is exist - process it [08:27:27]SAM_PROTO_GetFieldsCounters [08:27:27]wFMCommunicate request_size=4 [08:27:27]MH_SAM_APDU [08:27:27]CAPDU: 80 13 00 00 [08:27:27]Write to MH i2c: E2 08 00 29 06 80 13 00 00 00 00 00 00 AB [08:27:27]Write i2c OK [08:27:27]MH_I2C_Read... [08:27:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:27:27]Read from MH i2c: E2 [08:27:27]MH_I2C_Read... [08:27:27]Read from MH i2c: E2 62 00 [08:27:27]MH_I2C_Read... [08:27:27]Read from MH i2c: E2 62 00 29 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C1 0F 00 00 0E 04 04 00 52 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 1C [08:27:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C1 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:27:27]wFMCommunicate OK [08:27:27]SAM_PROTO_GetFieldsCounters done [08:27:27]requested_item shift.num is exist - process it [08:27:27]requested_item shift.opened is exist - process it [08:27:27]req_shift_opened [08:27:27]FM_GetShiftState [08:27:27]SAM_PROTO_GetShiftState [08:27:27]wFMCommunicate request_size=4 [08:27:27]MH_SAM_APDU [08:27:27]CAPDU: 80 13 01 00 [08:27:27]Write to MH i2c: E2 08 00 2A 06 80 13 01 00 00 00 00 00 AD [08:27:27]Write i2c OK [08:27:27]MH_I2C_Read... [08:27:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:27:27]Read from MH i2c: E2 [08:27:27]MH_I2C_Read... [08:27:27]Read from MH i2c: E2 0E 00 [08:27:27]MH_I2C_Read... [08:27:27]Read from MH i2c: E2 0E 00 2A 06 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 3B [08:27:27]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [08:27:27]wFMCommunicate OK [08:27:27]SAM_PROTO_GetShiftState done [08:27:27]FM_GetShiftState done [08:27:27]req_shift_opened done [08:27:27]requested_item shift.open_date is exist - process it [08:27:27]req_shift_open_date [08:27:27]req_shift_open_date done [08:27:27]produce_requested_data done [08:27:27]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4033,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [08:27:27]process_action_free close_receipt [08:27:27]json_value_free [08:27:27]json_value_free done [08:27:27]process_json_proto returns [08:27:27]Send response to host [08:27:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4033,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [08:27:27]free response buf [08:27:27]execute_script done [08:27:27]execute_script returns [08:27:27]free content buf [08:27:27]Sock 8.Close socket [08:27:27]Sock 8.Thread stoped [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:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:26]OFD Sender: No OFD packet to send [08:30:31]OFD Sender: No OFD packet to send [08:30:36]OFD Sender: No OFD packet to send [08:30:41]OFD Sender: No OFD packet to send [08:30:46]OFD Sender: No OFD packet to send [08:30:51]OFD Sender: No OFD packet to send [08:30:56]OFD Sender: No OFD packet to send [08:31:01]OFD Sender: No OFD packet to send [08:31:06]OFD Sender: No OFD packet to send [08:31:11]OFD Sender: No OFD packet to send [08:31:16]OFD Sender: No OFD packet to send [08:31:21]OFD Sender: No OFD packet to send [08:31:26]OFD Sender: No OFD packet to send [08:31:31]OFD Sender: No OFD packet to send [08:31:36]OFD Sender: No OFD packet to send [08:31:41]OFD Sender: No OFD packet to send [08:31:46]OFD Sender: No OFD packet to send [08:31:51]OFD Sender: No OFD packet to send [08:31:56]OFD Sender: No OFD packet to send [08:32:01]OFD Sender: No OFD packet to send [08:32:06]OFD Sender: No OFD packet to send [08:32:11]OFD Sender: No OFD packet to send [08:32:16]OFD Sender: No OFD packet to send [08:32:21]OFD Sender: No OFD packet to send [08:32:26]OFD Sender: No OFD packet to send [08:32:31]OFD Sender: No OFD packet to send [08:32:36]OFD Sender: No OFD packet to send [08:32:41]OFD Sender: No OFD packet to send [08:32:46]OFD Sender: No OFD packet to send [08:32:51]OFD Sender: No OFD packet to send [08:32:56]OFD Sender: No OFD packet to send [08:33:01]OFD Sender: No OFD packet to send [08:33:06]OFD Sender: No OFD packet to send [08:33:11]OFD Sender: No OFD packet to send [08:33:16]OFD Sender: No OFD packet to send [08:33:21]OFD Sender: No OFD packet to send [08:33:26]OFD Sender: No OFD packet to send [08:33:31]OFD Sender: No OFD packet to send [08:33:36]OFD Sender: No OFD packet to send [08:33:41]OFD Sender: No OFD packet to send [08:33:46]OFD Sender: No OFD packet to send [08:33:51]OFD Sender: No OFD packet to send [08:33:56]OFD Sender: No OFD packet to send [08:34:01]OFD Sender: No OFD packet to send [08:34:06]OFD Sender: No OFD packet to send [08:34:11]OFD Sender: No OFD packet to send [08:34:16]OFD Sender: No OFD packet to send [08:34:21]OFD Sender: No OFD packet to send [08:34:26]OFD Sender: No OFD packet to send [08:34:31]OFD Sender: No OFD packet to send [08:34:36]OFD Sender: No OFD packet to send [08:34:41]OFD Sender: No OFD packet to send [08:34:46]OFD Sender: No OFD packet to send [08:34:51]OFD Sender: No OFD packet to send [08:34:56]OFD Sender: No OFD packet to send [08:35:01]OFD Sender: No OFD packet to send [08:35:06]OFD Sender: No OFD packet to send [08:35:11]OFD Sender: No OFD packet to send [08:35:16]OFD Sender: No OFD packet to send [08:35:21]OFD Sender: No OFD packet to send [08:35:26]OFD Sender: No OFD packet to send [08:35:31]OFD Sender: No OFD packet to send [08:35:36]OFD Sender: No OFD packet to send [08:35:41]OFD Sender: No OFD packet to send [08:35:46]OFD Sender: No OFD packet to send [08:35:51]OFD Sender: No OFD packet to send [08:35:56]OFD Sender: No OFD packet to send [08:36:01]OFD Sender: No OFD packet to send [08:36:06]OFD Sender: No OFD packet to send [08:36:11]OFD Sender: No OFD packet to send [08:36:16]OFD Sender: No OFD packet to send [08:36:21]OFD Sender: No OFD packet to send [08:36:26]OFD Sender: No OFD packet to send [08:36:31]OFD Sender: No OFD packet to send [08:36:36]OFD Sender: No OFD packet to send [08:36:41]OFD Sender: No OFD packet to send [08:36:46]OFD Sender: No OFD packet to send [08:36:51]OFD Sender: No OFD packet to send [08:36:56]OFD Sender: No OFD packet to send [08:37:01]OFD Sender: No OFD packet to send [08:37:06]OFD Sender: No OFD packet to send [08:37:11]OFD Sender: No OFD packet to send [08:37:16]OFD Sender: No OFD packet to send [08:37:21]OFD Sender: No OFD packet to send [08:37:26]OFD Sender: No OFD packet to send [08:37:31]OFD Sender: No OFD packet to send [08:37:36]OFD Sender: No OFD packet to send [08:37:41]OFD Sender: No OFD packet to send [08:37:46]OFD Sender: No OFD packet to send [08:37:51]OFD Sender: No OFD packet to send [08:37:56]OFD Sender: No OFD packet to send [08:38:01]OFD Sender: No OFD packet to send [08:38:06]OFD Sender: No OFD packet to send [08:38:11]OFD Sender: No OFD packet to send [08:38:16]OFD Sender: No OFD packet to send [08:38:21]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:21]OFD Sender: No OFD packet to send [08:39:26]OFD Sender: No OFD packet to send [08:39:31]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43:37]OFD Sender: No OFD packet to send [08:43:42]OFD Sender: No OFD packet to send [08:43:47]OFD Sender: No OFD packet to send [08:43:52]OFD Sender: No OFD packet to send [08:43:57]OFD Sender: No OFD packet to send [08:44:02]OFD Sender: No OFD packet to send [08:44:07]OFD Sender: No OFD packet to send [08:44:12]OFD Sender: No OFD packet to send [08:44:17]OFD Sender: No OFD packet to send [08:44:22]OFD Sender: No OFD packet to send [08:44:27]OFD Sender: No OFD packet to send [08:44:32]OFD Sender: No OFD packet to send [08:44:37]OFD Sender: No OFD packet to send [08:44:42]OFD Sender: No OFD packet to send [08:44:47]OFD Sender: No OFD packet to send [08:44:52]OFD Sender: No OFD packet to send [08:44:57]OFD Sender: No OFD packet to send [08:45:02]OFD Sender: No OFD packet to send [08:45:07]OFD Sender: No OFD packet to send [08:45:12]OFD Sender: No OFD packet to send [08:45:17]OFD Sender: No OFD packet to send [08:45:22]OFD Sender: No OFD packet to send [08:45:27]OFD Sender: No OFD packet to send [08:45:32]OFD Sender: No OFD packet to send [08:45:37]OFD Sender: No OFD packet to send [08:45:42]OFD Sender: No OFD packet to send [08:45:47]OFD Sender: No OFD packet to send [08:45:52]OFD Sender: No OFD packet to send [08:45:57]OFD Sender: No OFD packet to send [08:46:02]OFD Sender: No OFD packet to send [08:46:07]OFD Sender: No OFD packet to send [08:46:12]OFD Sender: No OFD packet to send [08:46:17]OFD Sender: No OFD packet to send [08:46:22]OFD Sender: No OFD packet to send [08:46:27]OFD Sender: No OFD packet to send [08:46:32]OFD Sender: No OFD packet to send [08:46:37]OFD Sender: No OFD packet to send [08:46:42]OFD Sender: No OFD packet to send [08:46:47]OFD Sender: No OFD packet to send [08:46:52]OFD Sender: No OFD packet to send [08:46:57]OFD Sender: No OFD packet to send [08:47:02]OFD Sender: No OFD packet to send [08:47:07]OFD Sender: No OFD packet to send [08:47:12]OFD Sender: No OFD packet to send [08:47:17]OFD Sender: No OFD packet to send [08:47:22]OFD Sender: No OFD packet to send [08:47:27]OFD Sender: No OFD packet to send [08:47:32]OFD Sender: No OFD packet to send [08:47:37]OFD Sender: No OFD packet to send [08:47:42]OFD Sender: No OFD packet to send [08:47:47]OFD Sender: No OFD packet to send [08:47:52]OFD Sender: No OFD packet to send [08:47:57]OFD Sender: No OFD packet to send [08:48:02]OFD Sender: No OFD packet to send [08:48:07]OFD Sender: No OFD packet to send [08:48:12]OFD Sender: No OFD packet to send [08:48:17]OFD Sender: No OFD packet to send [08:48:22]OFD Sender: No OFD packet to send [08:48:27]OFD Sender: No OFD packet to send [08:48:32]OFD Sender: No OFD packet to send [08:48:37]OFD Sender: No OFD packet to send [08:48:42]OFD Sender: No OFD packet to send [08:48:47]OFD Sender: No OFD packet to send [08:48:52]OFD Sender: No OFD packet to send [08:48:57]OFD Sender: No OFD packet to send [08:49:02]OFD Sender: No OFD packet to send [08:49:07]OFD Sender: No OFD packet to send [08:49:12]OFD Sender: No OFD packet to send [08:49:17]OFD Sender: No OFD packet to send [08:49:22]OFD Sender: No OFD packet to send [08:49:27]OFD Sender: No OFD packet to send [08:49:32]OFD Sender: No OFD packet to send [08:49:37]OFD Sender: No OFD packet to send [08:49:42]OFD Sender: No OFD packet to send [08:49:47]OFD Sender: No OFD packet to send [08:49:52]OFD Sender: No OFD packet to send [08:49:57]OFD Sender: No OFD packet to send [08:50:02]OFD Sender: No OFD packet to send [08:50:07]OFD Sender: No OFD packet to send [08:50:12]OFD Sender: No OFD packet to send [08:50:17]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:37]OFD Sender: No OFD packet to send [08:50:42]OFD Sender: No OFD packet to send [08:50:47]OFD Sender: No OFD packet to send [08:50:49]accept exits with 9 [08:50:49]New connection [08:50:49]New thread 3067227492 created [08:50:49]Thread 3067370852 joined [08:50:49]Waiting for new connection... [08:50:49] Sock 9.Parse request [08:50:49]Sock 9.Check first char [08:50:49]Sock 9.First char is OK [08:50:49]request: POST /json_proto HTTP/1.0 [08:50:49]Method: POST [08:50:49]URL: /json_proto [08:50:49]Method is POST - this is cgi request [08:50:49]url: /json_proto [08:50:49]query_string will be loaded in cgi processing [08:50:49]execute_cgi json_proto POST (null) [08:50:49]execute_cgi path=json_proto method=POST [08:50:49]POST find Content-Length [08:50:49]Host: 172.17.56.68:8080 [08:50:49]Content-Length: 877 [08:50:49]Content-Type: application/json [08:50:49] [08:50:49]POST finish read [08:50:49]Found Content-Length = 877 [08:50:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4288", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 256.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:50:49]execute_script... [08:50: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)4288", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 256.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:50:49]POST & json_proto [08:50:49]process_json_proto [08:50:49]json parsed OK: [08:50:49]protocol is kg_v1.0 [08:50:49]action value=close_receipt [08:50:49]process_action close_receipt [08:50:49]cmd_close_receipt [08:50:49]MH_GetDate [08:50:49]Write to MH i2c: F0 00 00 2B 06 20 [08:50:49]Write i2c OK [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: F0 [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: F0 09 00 [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: F0 09 00 2B 06 00 EC 83 5D 66 42 69 5C 66 C8 [08:50:49]GetLastDocTimeStamp 1717403246 [08:50:49]current date 1717404652 [08:50:49]FM_GetShiftState [08:50:49]SAM_PROTO_GetShiftState [08:50:49]wFMCommunicate request_size=4 [08:50:49]MH_SAM_APDU [08:50:49]CAPDU: 80 13 01 00 [08:50:49]Write to MH i2c: E2 08 00 2C 06 80 13 01 00 00 00 00 00 AF [08:50:49]Write i2c OK [08:50:49]MH_I2C_Read... [08:50:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:49]Read from MH i2c: E2 [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: E2 0E 00 [08:50:49]MH_I2C_Read... [08:50:49]Read from MH i2c: E2 0E 00 2C 06 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 3D [08:50:49]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [08:50:49]wFMCommunicate OK [08:50:49]SAM_PROTO_GetShiftState done [08:50:49]FM_GetShiftState done [08:50:49]opened in 1717372856 [08:50:49]opened+sec_in_day 1717459256 [08:50:49]quantity*price = 14300 [08:50:49]sum+1 = 14301 [08:50:49]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000006271 Напиток Фанта 1л 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 256.00 НСП 1% : 2.26 НДС 12% : 27.19 Наличными: 256.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 15 03.06.2024 08:50 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4034 ФПД: 172147453025836 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T085052&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4034&fm=172147453025836&tin=02508201610067®Number=0000000000145775&sum=25600 0 [08:50:50]StoreToDocumentArchive [08:50:50]shift 82 fd 4034 [08:50:50]save to /storage/0082/doc_00004034 [08:50:50]save last doc name /storage/0082/doc_00004034 to /storage/kkm_last_doc_name [08:50:50]save OK [08:50:50]Clear old archive folders... [08:50:50]ProcessDocumentItem done err = 0, tmpTLVsize=377 [08:50:50]tlvbuf is 0076E090 [08:50:50]SAM_PROTO_ClearQueue [08:50:50]wFMCommunicate request_size=4 [08:50:50]MH_SAM_APDU [08:50:50]CAPDU: 80 09 00 00 [08:50:50]Write to MH i2c: E2 08 00 39 06 80 09 00 00 00 00 00 00 B1 [08:50:50]Write i2c OK [08:50:50]MH_I2C_Read... [08:50:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:50:50]Read from MH i2c: E2 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 03 00 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 03 00 39 06 00 90 00 B3 [08:50:50]RAPDU: 90 00 [08:50:50]wFMCommunicate OK [08:50:50]SAM_PROTO_ClearQueue done [08:50:50]KKMCreateOFDPacket [08:50:50]OFDProtocolAddRootSTLVToBuf [08:50:50]FM_MakeSignedData [08:50:50]FM_MakeSignedData [08:50:50]SAM_PROTO_SignData [08:50:50]wFMCommunicate request_size=4 [08:50:50]MH_SAM_APDU [08:50:50]CAPDU: 80 0D 01 02 [08:50:50]Write to MH i2c: E2 08 00 3A 06 80 0D 01 02 00 00 00 00 B9 [08:50:50]Write i2c OK [08:50:50]MH_I2C_Read... [08:50:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:50:50]Read from MH i2c: E2 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 03 00 [08:50:50]MH_I2C_Read... [08:50:50]Read from MH i2c: E2 03 00 3A 06 00 90 00 B4 [08:50:50]RAPDU: 90 00 [08:50:50]wFMCommunicate OK [08:50:50]wFMCommunicate request_size=255 [08:50:50]MH_SAM_APDU [08:50:50]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [08:50:51]Write to MH i2c: E2 02 01 3B 06 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 DC [08:50:51]Write i2c OK [08:50:51]MH_I2C_Read... [08:50:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:50:51]Read from MH i2c: E2 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 03 00 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 03 00 3B 06 00 90 00 B5 [08:50:51]RAPDU: 90 00 [08:50:51]wFMCommunicate OK [08:50:51]wFMCommunicate request_size=136 [08:50:51]MH_SAM_APDU [08:50:51]CAPDU: 80 0D 02 02 83 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 0F 00 00 00 F4 03 04 00 EC 83 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C2 0F 00 00 35 04 06 00 9C 91 33 C9 5E 2C [08:50:51]Write to MH i2c: E2 8B 00 3C 06 80 0D 02 02 83 00 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 0F 00 00 00 F4 03 04 00 EC 83 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C2 0F 00 00 35 04 06 00 9C 91 33 C9 5E 2C 00 00 29 [08:50:51]Write i2c OK [08:50:51]MH_I2C_Read... [08:50:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:50:51]Read from MH i2c: E2 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 03 00 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 03 00 3C 06 00 90 00 B6 [08:50:51]RAPDU: 90 00 [08:50:51]wFMCommunicate OK [08:50:51]wFMCommunicate request_size=4 [08:50:51]MH_SAM_APDU [08:50:51]CAPDU: 80 0D 03 02 [08:50:51]Write to MH i2c: E2 08 00 3D 06 80 0D 03 02 00 00 00 00 BE [08:50:51]Write i2c OK [08:50:51]MH_I2C_Read... [08:50:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:50:51]Read from MH i2c: E2 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 0B 00 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 0B 00 3D 06 00 64 D3 07 19 FB 9D 05 55 90 00 08 [08:50:51]RAPDU: 64 D3 07 19 FB 9D 05 55 90 00 [08:50:51]wFMCommunicate OK [08:50:51]SAM_PROTO_SignData done [08:50:51]FM_MakeSignedData done [08:50:51]CreateOFDProtocolMessage [08:50:51]wFMCommunicate request_size=4 [08:50:51]MH_SAM_APDU [08:50:51]CAPDU: 80 11 00 00 [08:50:51]Write to MH i2c: E2 08 00 3E 06 80 11 00 00 00 00 00 00 BE [08:50:51]Write i2c OK [08:50:51]MH_I2C_Read... [08:50:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:51]Read from MH i2c: E2 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 17 00 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: E2 17 00 3E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 11 [08:50:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:50:51]wFMCommunicate OK [08:50:51]CreateOFDProtocolMessage done [08:50:51]OFDSenderStorePacket 4034 [08:50:51]StoreOFDPacket docnum=4034 [08:50:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8D 01 00 00 C9 1E 85 01 C9 44 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 0F 00 00 00 F4 03 04 00 EC 83 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C2 0F 00 00 35 04 06 00 9C 91 33 C9 5E 2C 64 D3 07 19 FB 9D 05 55 [08:50:51]CheckFolder [08:50:51]dirname=/storage/ofd_packets [08:50:51]CheckFolder done [08:50:51]ProducePacketName [08:50:51]name=ofd_packets/00004034 [08:50:51]NVStorageSaveData ofd_packets/00004034 [08:50:51]File name is /storage/ofd_packets/00004034 [08:50:51]Write 427 bytes [08:50:51]NVStorageSaveData done [08:50:51]OFDSenderStorePacket done [08:50:51]KKMCreateOFDPacket done [08:50:51]NVStorageSaveData kkm_last_timestamp [08:50:51]File name is /storage/kkm_last_timestamp [08:50:51]Write 4 bytes [08:50:51]NVStorageSaveData done [08:50:51]ExternCall_PrintAddStr [08:50:51]wPrintStart [08:50:51]Write to MH i2c: 01 00 00 3F 06 45 [08:50:51]Write i2c OK [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: 01 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: 01 07 00 [08:50:51]MH_I2C_Read... [08:50:51]Read from MH i2c: 01 07 00 3F 06 00 00 00 00 00 FF 0F 5A [08:50:51]RasterBufferAndPrint [08:50:51]line Счет N : (3)4288 [08:50:51]line ИНН: 02508201610067 [08:50:51]line Контрольно-Кассовый Чек [08:50:51]line ПРОДАЖА [08:50:51]line Товар: 48744683 [08:50:51]line Сигареты Winston XStyle Caster+ [08:50:51]line 1.000 * 143.00 [08:50:51]line = 143.00 [08:50:51]line НДС 12% НСП 1% [08:50:51]line > о реализуемом товаре [08:50:51]line Товар: 5449000006271 [08:50:51]line Напиток Фанта 1л [08:50:51]line 1.000 * 113.00 [08:50:51]line = 113.00 [08:50:51]line НДС 12% НСП 1% [08:50:51]line > о реализуемом товаре [08:50:51]line ИТОГО: 256.00 [08:50:51]line НСП 1% : 2.26 [08:50:51]line НДС 12% : 27.19 [08:50:51]line Наличными: 256.00 [08:50:51]line Безнал.: 0.00 [08:50:51]line Место: АЗС № 116 "Партнер Нефть" [08:50:51]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:50:51]line СНО: Общий режим [08:50:51]line Чек 15 03.06.2024 08:50 [08:50:51]line Смена: 82 ФФД: 1.0 [08:50:51]line ЗНМ: 0300000233 [08:50:51]line РНМ: 0000000000145775 [08:50:51]line Версия ККМ: v1.0 [08:50:51]line ФМ: 0000000000959360 [08:50:51]line ФД: 4034 [08:50:51]line ФПД: 172147453025836 [08:50:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T085052&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4034&fm=172147453025836&tin=02508201610067®Number=0000000000145775&sum=25600 [08:50:51]OFD Sender: Processing packet 4034 [packets to send 2, broken 1] [08:50:51]ProducePacketName [08:50:51]name=ofd_packets/00004034 [08:50:51]OFD Sender: To server: pG, [08:50:51]CommunicateWithHost lk.salyk.kg:30040 [08:50:51]ConnectInit lk.salyk.kg [08:50:51]line 0 [08:50:51]written 0, free lines is 4095 [08:50:51]Connected sock=10 [08:50:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8D 01 00 00 C9 1E 85 01 C9 44 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 0F 00 00 00 F4 03 04 00 EC 83 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C2 0F 00 00 35 04 06 00 9C 91 33 C9 5E 2C 64 D3 07 19 FB 9D 05 55 [08:50:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 35 69 47 00 0E 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 30 39 35 39 33 36 30 10 04 04 00 C2 0F 00 00 F4 03 04 00 F0 2F 5D 66 B6 04 01 00 00 6D 45 69 BE B6 48 5E E1 [08:50:52]CommunicateWithHost err = 0 [08:50:52]CheckOFDResponse [08:50:52]1017 (14) - 77093643461234 [08:50:52]1041 (16) - 0000000000959360 [08:50:52]1040 (4) - 4034 [08:50:52]1012 (4) - 03.06.2024 02:52 [08:50:52]1206 (1) - 0 [08:50:52]OFD Sender: Remove packet 4034 [08:50:52]ProducePacketName [08:50:52]name=ofd_packets/00004034 [08:50:52]NVStorageDeleteData [08:50:52]Write to MH i2c: 01 00 00 6E 06 74 [08:50:52]Write i2c OK [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: 01 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: 01 07 00 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: 01 07 00 6E 06 00 00 00 00 00 65 0C EC [08:50:52]RasterBufferAndPrint [08:50:52]line [08:50:52]line [08:50:52]line [08:50:52]line [08:50:52]line [08:50:52]written 0, free lines is 3178 [08:50:52]MH_Cut [08:50:52]Write to MH i2c: D1 01 00 75 06 01 4D [08:50:52]Write i2c OK [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: D1 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: D1 01 00 [08:50:52]MH_I2C_Read... [08:50:52]Read from MH i2c: D1 01 00 75 06 00 4C [08:50:52]Write to MH i2c: 01 00 00 76 06 7C [08:50:52]Write i2c OK [08:50:52]MH_I2C_Read... [08:50:52]OFD Sender: No OFD packet to send [08:50:53]*** Cut start [08:50:53]*** Partial cut [08:50:53]*** CUTSNS_PIN = 1 [08:50:53]*** CUTSNS_PIN = 0 [08:50:53]*** Brake cut motor [08:50:53]Read from MH i2c: 01 [08:50:53]MH_I2C_Read... [08:50:53]*** Stop cut motor [08:50:53]*** Cut end [08:50:53]Read from MH i2c: 01 07 00 [08:50:53]MH_I2C_Read... [08:50:53]Read from MH i2c: 01 07 00 76 06 00 00 00 00 00 FF 0F 91 [08:50:53]process_action close_receipt done [08:50:53]requested_data is exist [08:50:53]produce_requested_data [08:50:53]requested_item fm.sn is exist - process it [08:50:53]wFMCommunicate request_size=4 [08:50:53]MH_SAM_APDU [08:50:53]CAPDU: 80 11 00 00 [08:50:53]Write to MH i2c: E2 08 00 77 06 80 11 00 00 00 00 00 00 F7 [08:50:53]Write i2c OK [08:50:53]MH_I2C_Read... [08:50:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:54]Read from MH i2c: E2 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 17 00 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 17 00 77 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4A [08:50:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:50:54]wFMCommunicate OK [08:50:54]requested_item fd.num is exist - process it [08:50:54]SAM_PROTO_GetFieldsCounters [08:50:54]wFMCommunicate request_size=4 [08:50:54]MH_SAM_APDU [08:50:54]CAPDU: 80 13 00 00 [08:50:54]Write to MH i2c: E2 08 00 78 06 80 13 00 00 00 00 00 00 FA [08:50:54]Write i2c OK [08:50:54]MH_I2C_Read... [08:50:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:50:54]Read from MH i2c: E2 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 62 00 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 62 00 78 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C2 0F 00 00 0E 04 04 00 52 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 6F [08:50:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C2 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:50:54]wFMCommunicate OK [08:50:54]SAM_PROTO_GetFieldsCounters done [08:50:54]requested_item shift.num is exist - process it [08:50:54]requested_item shift.opened is exist - process it [08:50:54]req_shift_opened [08:50:54]FM_GetShiftState [08:50:54]SAM_PROTO_GetShiftState [08:50:54]wFMCommunicate request_size=4 [08:50:54]MH_SAM_APDU [08:50:54]CAPDU: 80 13 01 00 [08:50:54]Write to MH i2c: E2 08 00 79 06 80 13 01 00 00 00 00 00 FC [08:50:54]Write i2c OK [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 [08:50:54]MH_I2C_Read... [08:50:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:54]Read from MH i2c: E2 0E 00 [08:50:54]MH_I2C_Read... [08:50:54]Read from MH i2c: E2 0E 00 79 06 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 8A [08:50:54]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [08:50:54]wFMCommunicate OK [08:50:54]SAM_PROTO_GetShiftState done [08:50:54]FM_GetShiftState done [08:50:54]req_shift_opened done [08:50:54]requested_item shift.open_date is exist - process it [08:50:54]req_shift_open_date [08:50:54]req_shift_open_date done [08:50:54]produce_requested_data done [08:50:54]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4034,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [08:50:54]process_action_free close_receipt [08:50:54]json_value_free [08:50:54]json_value_free done [08:50:54]process_json_proto returns [08:50:54]Send response to host [08:50:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4034,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [08:50:54]free response buf [08:50:54]execute_script done [08:50:54]execute_script returns [08:50:54]free content buf [08:50:54]Sock 9.Close socket [08:50:54]Sock 9.Thread stoped [08:50:57]OFD Sender: No OFD packet to send [08:51:02]OFD Sender: No OFD packet to send [08:51:07]OFD Sender: No OFD packet to send [08:51:12]OFD Sender: No OFD packet to send [08:51:17]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57: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:46]accept exits with 8 [08:58:46]New connection [08:58:46]New thread 3067370852 created [08:58:46]Thread 3067227492 joined [08:58:46]Waiting for new connection... [08:58:46] Sock 8.Parse request [08:58:46]Sock 8.Check first char [08:58:46]Sock 8.First char is OK [08:58:46]request: POST /json_proto HTTP/1.0 [08:58:46]Method: POST [08:58:46]URL: /json_proto [08:58:46]Method is POST - this is cgi request [08:58:46]url: /json_proto [08:58:46]query_string will be loaded in cgi processing [08:58:46]execute_cgi json_proto POST (null) [08:58:46]execute_cgi path=json_proto method=POST [08:58:46]POST find Content-Length [08:58:46]Host: 172.17.56.68:8080 [08:58:46]Content-Length: 624 [08:58:46]Content-Type: application/json [08:58:46] [08:58:46]POST finish read [08:58:46]Found Content-Length = 624 [08:58:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4289", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:58:46]execute_script... [08:58:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4289", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:58:46]POST & json_proto [08:58:46]process_json_proto [08:58:46]json parsed OK: [08:58:46]protocol is kg_v1.0 [08:58:46]action value=close_receipt [08:58:46]process_action close_receipt [08:58:46]cmd_close_receipt [08:58:46]MH_GetDate [08:58:46]Write to MH i2c: F0 00 00 7A 06 6F [08:58:46]Write i2c OK [08:58:46]MH_I2C_Read... [08:58:46]Read from MH i2c: F0 [08:58:46]MH_I2C_Read... [08:58:46]Read from MH i2c: F0 09 00 [08:58:46]MH_I2C_Read... [08:58:46]Read from MH i2c: F0 09 00 7A 06 00 C9 85 5D 66 42 69 5C 66 F6 [08:58:46]GetLastDocTimeStamp 1717404652 [08:58:46]current date 1717405129 [08:58:46]FM_GetShiftState [08:58:46]SAM_PROTO_GetShiftState [08:58:46]wFMCommunicate request_size=4 [08:58:46]MH_SAM_APDU [08:58:46]CAPDU: 80 13 01 00 [08:58:46]Write to MH i2c: E2 08 00 7B 06 80 13 01 00 00 00 00 00 FE [08:58:46]Write i2c OK [08:58:46]MH_I2C_Read... [08:58:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:58:46]Read from MH i2c: E2 [08:58:46]MH_I2C_Read... [08:58:46]Read from MH i2c: E2 0E 00 [08:58:46]MH_I2C_Read... [08:58:46]Read from MH i2c: E2 0E 00 7B 06 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 8C [08:58:46]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [08:58:46]wFMCommunicate OK [08:58:46]SAM_PROTO_GetShiftState done [08:58:46]FM_GetShiftState done [08:58:46]opened in 1717372856 [08:58:46]opened+sec_in_day 1717459256 [08:58:46]quantity*price = 13800 [08:58:46]sum+1 = 13801 [08:58:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 16 03.06.2024 08:58 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4035 ФПД: 94058412172989 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T085849&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4035&fm=94058412172989&tin=02508201610067®Number=0000000000145775&sum=13800 0 [08:58:47]StoreToDocumentArchive [08:58:47]shift 82 fd 4035 [08:58:47]save to /storage/0082/doc_00004035 [08:58:47]save last doc name /storage/0082/doc_00004035 to /storage/kkm_last_doc_name [08:58:47]save OK [08:58:47]Clear old archive folders... [08:58:47]ProcessDocumentItem done err = 0, tmpTLVsize=278 [08:58:47]tlvbuf is 007888B0 [08:58:47]SAM_PROTO_ClearQueue [08:58:47]wFMCommunicate request_size=4 [08:58:47]MH_SAM_APDU [08:58:47]CAPDU: 80 09 00 00 [08:58:47]Write to MH i2c: E2 08 00 88 06 80 09 00 00 00 00 00 00 00 [08:58:47]Write i2c OK [08:58:47]MH_I2C_Read... [08:58:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:58:47]Read from MH i2c: E2 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 03 00 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 03 00 88 06 00 90 00 02 [08:58:47]RAPDU: 90 00 [08:58:47]wFMCommunicate OK [08:58:47]SAM_PROTO_ClearQueue done [08:58:47]KKMCreateOFDPacket [08:58:47]OFDProtocolAddRootSTLVToBuf [08:58:47]FM_MakeSignedData [08:58:47]FM_MakeSignedData [08:58:47]SAM_PROTO_SignData [08:58:47]wFMCommunicate request_size=4 [08:58:47]MH_SAM_APDU [08:58:47]CAPDU: 80 0D 01 02 [08:58:47]Write to MH i2c: E2 08 00 89 06 80 0D 01 02 00 00 00 00 08 [08:58:47]Write i2c OK [08:58:47]MH_I2C_Read... [08:58:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:58:47]Read from MH i2c: E2 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 03 00 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 03 00 89 06 00 90 00 03 [08:58:47]RAPDU: 90 00 [08:58:47]wFMCommunicate OK [08:58:47]wFMCommunicate request_size=255 [08:58:47]MH_SAM_APDU [08:58:47]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 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 10 00 00 00 F4 03 04 00 C9 85 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 [08:58:47]Write to MH i2c: E2 02 01 8A 06 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 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 10 00 00 00 F4 03 04 00 C9 85 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 00 00 44 [08:58:47]Write i2c OK [08:58:47]MH_I2C_Read... [08:58:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:58:47]Read from MH i2c: E2 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 03 00 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 03 00 8A 06 00 90 00 04 [08:58:47]RAPDU: 90 00 [08:58:47]wFMCommunicate OK [08:58:47]wFMCommunicate request_size=37 [08:58:47]MH_SAM_APDU [08:58:47]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C3 0F 00 00 35 04 06 00 55 8B AE 3E E6 BD [08:58:47]Write to MH i2c: E2 28 00 8B 06 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C3 0F 00 00 35 04 06 00 55 8B AE 3E E6 BD 00 00 A3 [08:58:47]Write i2c OK [08:58:47]MH_I2C_Read... [08:58:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:58:47]Read from MH i2c: E2 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 03 00 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 03 00 8B 06 00 90 00 05 [08:58:47]RAPDU: 90 00 [08:58:47]wFMCommunicate OK [08:58:47]wFMCommunicate request_size=4 [08:58:47]MH_SAM_APDU [08:58:47]CAPDU: 80 0D 03 02 [08:58:47]Write to MH i2c: E2 08 00 8C 06 80 0D 03 02 00 00 00 00 0D [08:58:47]Write i2c OK [08:58:47]MH_I2C_Read... [08:58:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:58:47]Read from MH i2c: E2 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 0B 00 [08:58:47]MH_I2C_Read... [08:58:47]Read from MH i2c: E2 0B 00 8C 06 00 DC 61 D5 1A 85 2F 2F E7 90 00 04 [08:58:47]RAPDU: DC 61 D5 1A 85 2F 2F E7 90 00 [08:58:47]wFMCommunicate OK [08:58:47]SAM_PROTO_SignData done [08:58:47]FM_MakeSignedData done [08:58:47]CreateOFDProtocolMessage [08:58:47]wFMCommunicate request_size=4 [08:58:47]MH_SAM_APDU [08:58:47]CAPDU: 80 11 00 00 [08:58:47]Write to MH i2c: E2 08 00 8D 06 80 11 00 00 00 00 00 00 0D [08:58:47]Write i2c OK [08:58:47]MH_I2C_Read... [08:58:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:58:48]Read from MH i2c: E2 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: E2 17 00 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: E2 17 00 8D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 60 [08:58:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:58:48]wFMCommunicate OK [08:58:48]CreateOFDProtocolMessage done [08:58:48]OFDSenderStorePacket 4035 [08:58:48]StoreOFDPacket docnum=4035 [08:58:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 50 9B 22 01 8E CE 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 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 10 00 00 00 F4 03 04 00 C9 85 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C3 0F 00 00 35 04 06 00 55 8B AE 3E E6 BD DC 61 D5 1A 85 2F 2F E7 [08:58:48]CheckFolder [08:58:48]dirname=/storage/ofd_packets [08:58:48]CheckFolder done [08:58:48]ProducePacketName [08:58:48]name=ofd_packets/00004035 [08:58:48]NVStorageSaveData ofd_packets/00004035 [08:58:48]File name is /storage/ofd_packets/00004035 [08:58:48]Write 328 bytes [08:58:48]NVStorageSaveData done [08:58:48]OFDSenderStorePacket done [08:58:48]KKMCreateOFDPacket done [08:58:48]NVStorageSaveData kkm_last_timestamp [08:58:48]File name is /storage/kkm_last_timestamp [08:58:48]Write 4 bytes [08:58:48]NVStorageSaveData done [08:58:48]ExternCall_PrintAddStr [08:58:48]wPrintStart [08:58:48]Write to MH i2c: 01 00 00 8E 06 94 [08:58:48]Write i2c OK [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: 01 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: 01 07 00 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: 01 07 00 8E 06 00 00 00 00 00 FF 0F A9 [08:58:48]RasterBufferAndPrint [08:58:48]line Счет N : (3)4289 [08:58:48]line ИНН: 02508201610067 [08:58:48]line Контрольно-Кассовый Чек [08:58:48]line ПРОДАЖА [08:58:48]line Товар: 4640030092499 [08:58:48]line Сигареты ESSE SENSE Himalaya [08:58:48]line 1.000 * 138.00 [08:58:48]line = 138.00 [08:58:48]line НДС 12% НСП 1% [08:58:48]line > о реализуемом товаре [08:58:48]line ИТОГО: 138.00 [08:58:48]line НСП 1% : 1.22 [08:58:48]line НДС 12% : 14.65 [08:58:48]line Наличными: 138.00 [08:58:48]line Безнал.: 0.00 [08:58:48]line Место: АЗС № 116 "Партнер Нефть" [08:58:48]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:58:48]line СНО: Общий режим [08:58:48]line Чек 16 03.06.2024 08:58 [08:58:48]line Смена: 82 ФФД: 1.0 [08:58:48]line ЗНМ: 0300000233 [08:58:48]line РНМ: 0000000000145775 [08:58:48]line Версия ККМ: v1.0 [08:58:48]line ФМ: 0000000000959360 [08:58:48]line ФД: 4035 [08:58:48]line ФПД: 94058412172989 [08:58:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T085849&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4035&fm=94058412172989&tin=02508201610067®Number=0000000000145775&sum=13800 [08:58:48]line 0 [08:58:48]OFD Sender: Processing packet 4035 [packets to send 2, broken 1] [08:58:48]ProducePacketName [08:58:48]name=ofd_packets/00004035 [08:58:48]OFD Sender: To server: pG, [08:58:48]CommunicateWithHost lk.salyk.kg:30040 [08:58:48]ConnectInit lk.salyk.kg [08:58:48]written 0, free lines is 4095 [08:58:48]Connected sock=10 [08:58:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 50 9B 22 01 8E CE 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 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 10 00 00 00 F4 03 04 00 C9 85 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C3 0F 00 00 35 04 06 00 55 8B AE 3E E6 BD DC 61 D5 1A 85 2F 2F E7 [08:58:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 1A E5 47 00 CC 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C3 0F 00 00 F4 03 04 00 CD 31 5D 66 B6 04 01 00 00 3E 98 C4 59 F1 A6 11 AB [08:58:48]CommunicateWithHost err = 0 [08:58:48]CheckOFDResponse [08:58:48]1017 (14) - 77093643461234 [08:58:48]1041 (16) - 0000000000959360 [08:58:48]1040 (4) - 4035 [08:58:48]1012 (4) - 03.06.2024 03:00 [08:58:48]1206 (1) - 0 [08:58:48]OFD Sender: Remove packet 4035 [08:58:48]ProducePacketName [08:58:48]name=ofd_packets/00004035 [08:58:48]NVStorageDeleteData [08:58:48]Write to MH i2c: 01 00 00 B7 06 BD [08:58:48]Write i2c OK [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: 01 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: 01 07 00 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: 01 07 00 B7 06 00 00 00 00 00 B0 0C 80 [08:58:48]RasterBufferAndPrint [08:58:48]line [08:58:48]line [08:58:48]line [08:58:48]line [08:58:48]line [08:58:48]written 0, free lines is 3253 [08:58:48]MH_Cut [08:58:48]Write to MH i2c: D1 01 00 BE 06 01 96 [08:58:48]Write i2c OK [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: D1 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: D1 01 00 [08:58:48]MH_I2C_Read... [08:58:48]Read from MH i2c: D1 01 00 BE 06 00 95 [08:58:48]Write to MH i2c: 01 00 00 BF 06 C5 [08:58:48]Write i2c OK [08:58:48]MH_I2C_Read... [08:58:49]OFD Sender: No OFD packet to send [08:58:49]*** Cut start [08:58:49]*** Partial cut [08:58:49]*** CUTSNS_PIN = 1 [08:58:49]*** CUTSNS_PIN = 0 [08:58:50]*** Brake cut motor [08:58:50]Read from MH i2c: 01 [08:58:50]MH_I2C_Read... [08:58:50]*** Stop cut motor [08:58:50]*** Cut end [08:58:50]Read from MH i2c: 01 07 00 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: 01 07 00 BF 06 00 00 00 00 00 FF 0F DA [08:58:50]process_action close_receipt done [08:58:50]requested_data is exist [08:58:50]produce_requested_data [08:58:50]requested_item fm.sn is exist - process it [08:58:50]wFMCommunicate request_size=4 [08:58:50]MH_SAM_APDU [08:58:50]CAPDU: 80 11 00 00 [08:58:50]Write to MH i2c: E2 08 00 C0 06 80 11 00 00 00 00 00 00 40 [08:58:50]Write i2c OK [08:58:50]MH_I2C_Read... [08:58:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:58:50]Read from MH i2c: E2 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: E2 17 00 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: E2 17 00 C0 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 93 [08:58:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:58:50]wFMCommunicate OK [08:58:50]requested_item fd.num is exist - process it [08:58:50]SAM_PROTO_GetFieldsCounters [08:58:50]wFMCommunicate request_size=4 [08:58:50]MH_SAM_APDU [08:58:50]CAPDU: 80 13 00 00 [08:58:50]Write to MH i2c: E2 08 00 C1 06 80 13 00 00 00 00 00 00 43 [08:58:50]Write i2c OK [08:58:50]MH_I2C_Read... [08:58:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:58:50]Read from MH i2c: E2 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: E2 62 00 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: E2 62 00 C1 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C3 0F 00 00 0E 04 04 00 52 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 [08:58:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C3 0F 00 00 0E 04 04 00 52 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 [08:58:50]wFMCommunicate OK [08:58:50]SAM_PROTO_GetFieldsCounters done [08:58:50]requested_item shift.num is exist - process it [08:58:50]requested_item shift.opened is exist - process it [08:58:50]req_shift_opened [08:58:50]FM_GetShiftState [08:58:50]SAM_PROTO_GetShiftState [08:58:50]wFMCommunicate request_size=4 [08:58:50]MH_SAM_APDU [08:58:50]CAPDU: 80 13 01 00 [08:58:50]Write to MH i2c: E2 08 00 C2 06 80 13 01 00 00 00 00 00 45 [08:58:50]Write i2c OK [08:58:50]MH_I2C_Read... [08:58:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:58:50]Read from MH i2c: E2 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: E2 0E 00 [08:58:50]MH_I2C_Read... [08:58:50]Read from MH i2c: E2 0E 00 C2 06 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 D3 [08:58:50]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [08:58:50]wFMCommunicate OK [08:58:50]SAM_PROTO_GetShiftState done [08:58:50]FM_GetShiftState done [08:58:50]req_shift_opened done [08:58:50]requested_item shift.open_date is exist - process it [08:58:50]req_shift_open_date [08:58:50]req_shift_open_date done [08:58:50]produce_requested_data done [08:58:50]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4035,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [08:58:50]process_action_free close_receipt [08:58:50]json_value_free [08:58:50]json_value_free done [08:58:50]process_json_proto returns [08:58:50]Send response to host [08:58:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4035,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [08:58:50]free response buf [08:58:50]execute_script done [08:58:50]execute_script returns [08:58:50]free content buf [08:58:50]Sock 8.Close socket [08:58:50]Sock 8.Thread stoped [08:58:54]OFD Sender: No OFD packet to send [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [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:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:19]OFD Sender: No OFD packet to send [09:01:24]OFD Sender: No OFD packet to send [09:01:29]OFD Sender: No OFD packet to send [09:01:34]OFD Sender: No OFD packet to send [09:01:39]OFD Sender: No OFD packet to send [09:01:44]OFD Sender: No OFD packet to send [09:01:49]OFD Sender: No OFD packet to send [09:01:54]OFD Sender: No OFD packet to send [09:01:59]OFD Sender: No OFD packet to send [09:02:04]OFD Sender: No OFD packet to send [09:02:09]OFD Sender: No OFD packet to send [09:02:14]OFD Sender: No OFD packet to send [09:02:19]OFD Sender: No OFD packet to send [09:02:24]OFD Sender: No OFD packet to send [09:02:29]OFD Sender: No OFD packet to send [09:02:34]OFD Sender: No OFD packet to send [09:02:39]OFD Sender: No OFD packet to send [09:02:44]OFD Sender: No OFD packet to send [09:02:49]OFD Sender: No OFD packet to send [09:02:54]OFD Sender: No OFD packet to send [09:02:59]OFD Sender: No OFD packet to send [09:03:04]OFD Sender: No OFD packet to send [09:03:09]OFD Sender: No OFD packet to send [09:03:14]OFD Sender: No OFD packet to send [09:03:19]OFD Sender: No OFD packet to send [09:03:24]OFD Sender: No OFD packet to send [09:03:29]OFD Sender: No OFD packet to send [09:03:34]OFD Sender: No OFD packet to send [09:03:39]OFD Sender: No OFD packet to send [09:03:44]OFD Sender: No OFD packet to send [09:03:49]OFD Sender: No OFD packet to send [09:03:54]OFD Sender: No OFD packet to send [09:03:59]OFD Sender: No OFD packet to send [09:04:04]OFD Sender: No OFD packet to send [09:04:09]OFD Sender: No OFD packet to send [09:04:14]OFD Sender: No OFD packet to send [09:04:19]OFD Sender: No OFD packet to send [09:04:24]OFD Sender: No OFD packet to send [09:04:29]OFD Sender: No OFD packet to send [09:04:34]OFD Sender: No OFD packet to send [09:04:39]OFD Sender: No OFD packet to send [09:04:44]OFD Sender: No OFD packet to send [09:04:49]OFD Sender: No OFD packet to send [09:04:54]OFD Sender: No OFD packet to send [09:04:59]OFD Sender: No OFD packet to send [09:05:04]OFD Sender: No OFD packet to send [09:05:09]OFD Sender: No OFD packet to send [09:05:14]OFD Sender: No OFD packet to send [09:05:19]OFD Sender: No OFD packet to send [09:05:24]OFD Sender: No OFD packet to send [09:05:29]OFD Sender: No OFD packet to send [09:05:34]OFD Sender: No OFD packet to send [09:05:39]OFD Sender: No OFD packet to send [09:05:44]OFD Sender: No OFD packet to send [09:05:49]OFD Sender: No OFD packet to send [09:05:54]OFD Sender: No OFD packet to send [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:09]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:09]OFD Sender: No OFD packet to send [09:08:14]OFD Sender: No OFD packet to send [09:08:19]OFD Sender: No OFD packet to send [09:08:24]OFD Sender: No OFD packet to send [09:08:29]OFD Sender: No OFD packet to send [09:08:34]OFD Sender: No OFD packet to send [09:08:39]OFD Sender: No OFD packet to send [09:08:44]OFD Sender: No OFD packet to send [09:08:49]OFD Sender: No OFD packet to send [09:08:54]OFD Sender: No OFD packet to send [09:08:59]OFD Sender: No OFD packet to send [09:09:03]accept exits with 9 [09:09:03]New connection [09:09:03]New thread 3067227492 created [09:09:03]Thread 3067370852 joined [09:09:03]Waiting for new connection... [09:09:03] Sock 9.Parse request [09:09:03]Sock 9.Check first char [09:09:03]Sock 9.First char is OK [09:09:03]request: POST /json_proto HTTP/1.0 [09:09:03]Method: POST [09:09:03]URL: /json_proto [09:09:03]Method is POST - this is cgi request [09:09:03]url: /json_proto [09:09:03]query_string will be loaded in cgi processing [09:09:03]execute_cgi json_proto POST (null) [09:09:03]execute_cgi path=json_proto method=POST [09:09:03]POST find Content-Length [09:09:03]Host: 172.17.56.68:8080 [09:09:03]Content-Length: 643 [09:09:03]Content-Type: application/json [09:09:03] [09:09:03]POST finish read [09:09:03]Found Content-Length = 643 [09:09:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4290", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:03]execute_script... [09:09: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)4290", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:03]POST & json_proto [09:09:03]process_json_proto [09:09:03]json parsed OK: [09:09:03]protocol is kg_v1.0 [09:09:03]action value=close_receipt [09:09:03]process_action close_receipt [09:09:03]cmd_close_receipt [09:09:03]MH_GetDate [09:09:03]Write to MH i2c: F0 00 00 C3 06 B8 [09:09:03]Write i2c OK [09:09:03]MH_I2C_Read... [09:09:03]Read from MH i2c: F0 [09:09:03]MH_I2C_Read... [09:09:03]Read from MH i2c: F0 09 00 [09:09:03]MH_I2C_Read... [09:09:03]Read from MH i2c: F0 09 00 C3 06 00 32 88 5D 66 42 69 5C 66 AB [09:09:03]GetLastDocTimeStamp 1717405129 [09:09:03]current date 1717405746 [09:09:03]FM_GetShiftState [09:09:03]SAM_PROTO_GetShiftState [09:09:03]wFMCommunicate request_size=4 [09:09:03]MH_SAM_APDU [09:09:03]CAPDU: 80 13 01 00 [09:09:03]Write to MH i2c: E2 08 00 C4 06 80 13 01 00 00 00 00 00 47 [09:09:03]Write i2c OK [09:09:03]MH_I2C_Read... [09:09:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:03]Read from MH i2c: E2 [09:09:03]MH_I2C_Read... [09:09:03]Read from MH i2c: E2 0E 00 [09:09:03]MH_I2C_Read... [09:09:03]Read from MH i2c: E2 0E 00 C4 06 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 D5 [09:09:03]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:09:03]wFMCommunicate OK [09:09:03]SAM_PROTO_GetShiftState done [09:09:03]FM_GetShiftState done [09:09:03]opened in 1717372856 [09:09:03]opened+sec_in_day 1717459256 [09:09:03]quantity*price = 1000 [09:09:03]sum+1 = 1001 [09:09:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 17 03.06.2024 09:09 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4036 ФПД: 34179707477228 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T090906&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4036&fm=34179707477228&tin=02508201610067®Number=0000000000145775&sum=1000 0 [09:09:04]StoreToDocumentArchive [09:09:04]shift 82 fd 4036 [09:09:04]save to /storage/0082/doc_00004036 [09:09:04]save last doc name /storage/0082/doc_00004036 to /storage/kkm_last_doc_name [09:09:04]save OK [09:09:04]Clear old archive folders... [09:09:04]ProcessDocumentItem done err = 0, tmpTLVsize=280 [09:09:04]tlvbuf is 00779AD0 [09:09:04]SAM_PROTO_ClearQueue [09:09:04]wFMCommunicate request_size=4 [09:09:04]MH_SAM_APDU [09:09:04]CAPDU: 80 09 00 00 [09:09:04]Write to MH i2c: E2 08 00 D1 06 80 09 00 00 00 00 00 00 49 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:09:04]Read from MH i2c: E2 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 03 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 03 00 D1 06 00 90 00 4B [09:09:04]RAPDU: 90 00 [09:09:04]wFMCommunicate OK [09:09:04]SAM_PROTO_ClearQueue done [09:09:04]KKMCreateOFDPacket [09:09:04]OFDProtocolAddRootSTLVToBuf [09:09:04]FM_MakeSignedData [09:09:04]FM_MakeSignedData [09:09:04]SAM_PROTO_SignData [09:09:04]wFMCommunicate request_size=4 [09:09:04]MH_SAM_APDU [09:09:04]CAPDU: 80 0D 01 02 [09:09:04]Write to MH i2c: E2 08 00 D2 06 80 0D 01 02 00 00 00 00 51 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:09:04]Read from MH i2c: E2 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 03 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 03 00 D2 06 00 90 00 4C [09:09:04]RAPDU: 90 00 [09:09:04]wFMCommunicate OK [09:09:04]wFMCommunicate request_size=255 [09:09:04]MH_SAM_APDU [09:09:04]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 32 88 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [09:09:04]Write to MH i2c: E2 02 01 D3 06 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 32 88 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 79 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]OFD Sender: No OFD packet to send [09:09:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:04]Read from MH i2c: E2 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 03 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 03 00 D3 06 00 90 00 4D [09:09:04]RAPDU: 90 00 [09:09:04]wFMCommunicate OK [09:09:04]wFMCommunicate request_size=39 [09:09:04]MH_SAM_APDU [09:09:04]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C4 0F 00 00 35 04 06 00 1F 16 15 52 9C EC [09:09:04]Write to MH i2c: E2 2A 00 D4 06 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C4 0F 00 00 35 04 06 00 1F 16 15 52 9C EC 00 00 06 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:04]Read from MH i2c: E2 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 03 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 03 00 D4 06 00 90 00 4E [09:09:04]RAPDU: 90 00 [09:09:04]wFMCommunicate OK [09:09:04]wFMCommunicate request_size=4 [09:09:04]MH_SAM_APDU [09:09:04]CAPDU: 80 0D 03 02 [09:09:04]Write to MH i2c: E2 08 00 D5 06 80 0D 03 02 00 00 00 00 56 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:09:04]Read from MH i2c: E2 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 0B 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 0B 00 D5 06 00 CB EC 3E 59 25 BF 03 C4 90 00 50 [09:09:04]RAPDU: CB EC 3E 59 25 BF 03 C4 90 00 [09:09:04]wFMCommunicate OK [09:09:04]SAM_PROTO_SignData done [09:09:04]FM_MakeSignedData done [09:09:04]CreateOFDProtocolMessage [09:09:04]wFMCommunicate request_size=4 [09:09:04]MH_SAM_APDU [09:09:04]CAPDU: 80 11 00 00 [09:09:04]Write to MH i2c: E2 08 00 D6 06 80 11 00 00 00 00 00 00 56 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:04]Read from MH i2c: E2 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 17 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 17 00 D6 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A9 [09:09:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:09:04]wFMCommunicate OK [09:09:04]CreateOFDProtocolMessage done [09:09:04]OFDSenderStorePacket 4036 [09:09:04]StoreOFDPacket docnum=4036 [09:09:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 32 AF 24 01 33 AC 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 32 88 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C4 0F 00 00 35 04 06 00 1F 16 15 52 9C EC CB EC 3E 59 25 BF 03 C4 [09:09:04]CheckFolder [09:09:04]dirname=/storage/ofd_packets [09:09:04]CheckFolder done [09:09:04]ProducePacketName [09:09:04]name=ofd_packets/00004036 [09:09:04]NVStorageSaveData ofd_packets/00004036 [09:09:04]File name is /storage/ofd_packets/00004036 [09:09:04]Write 330 bytes [09:09:04]NVStorageSaveData done [09:09:04]OFDSenderStorePacket done [09:09:04]KKMCreateOFDPacket done [09:09:04]NVStorageSaveData kkm_last_timestamp [09:09:04]File name is /storage/kkm_last_timestamp [09:09:04]Write 4 bytes [09:09:04]NVStorageSaveData done [09:09:04]ExternCall_PrintAddStr [09:09:04]wPrintStart [09:09:04]Write to MH i2c: 01 00 00 D7 06 DD [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: 01 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: 01 07 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: 01 07 00 D7 06 00 00 00 00 00 FF 0F F2 [09:09:04]RasterBufferAndPrint [09:09:04]line Счет N : (3)4290 [09:09:04]line ИНН: 02508201610067 [09:09:04]line Контрольно-Кассовый Чек [09:09:04]line ПРОДАЖА [09:09:04]line Товар: 46226617 [09:09:04]line Mentos ПВ Нежная Мята 6*100*2г [09:09:04]line 1.000 * 10.00 [09:09:04]line = 10.00 [09:09:04]line НДС 12% НСП 1% [09:09:04]line > о реализуемом товаре [09:09:04]line ИТОГО: 10.00 [09:09:04]line НСП 1% : 0.09 [09:09:04]line НДС 12% : 1.06 [09:09:04]line Наличными: 10.00 [09:09:04]line Безнал.: 0.00 [09:09:04]line Место: АЗС № 116 "Партнер Нефть" [09:09:04]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:09:04]line СНО: Общий режим [09:09:04]line Чек 17 03.06.2024 09:09 [09:09:04]line Смена: 82 ФФД: 1.0 [09:09:04]line ЗНМ: 0300000233 [09:09:04]line РНМ: 0000000000145775 [09:09:04]line Версия ККМ: v1.0 [09:09:04]line ФМ: 0000000000959360 [09:09:04]line ФД: 4036 [09:09:04]line ФПД: 34179707477228 [09:09:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T090906&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4036&fm=34179707477228&tin=02508201610067®Number=0000000000145775&sum=1000 [09:09:05]line 0 [09:09:05]OFD Sender: Processing packet 4036 [packets to send 2, broken 1] [09:09:05]ProducePacketName [09:09:05]name=ofd_packets/00004036 [09:09:05]OFD Sender: To server: pG, [09:09:05]CommunicateWithHost lk.salyk.kg:30040 [09:09:05]ConnectInit lk.salyk.kg [09:09:05]written 0, free lines is 4095 [09:09:05]Connected sock=10 [09:09:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 32 AF 24 01 33 AC 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 32 88 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C4 0F 00 00 35 04 06 00 1F 16 15 52 9C EC CB EC 3E 59 25 BF 03 C4 [09:09:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 28 3F 47 00 11 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C4 0F 00 00 F4 03 04 00 36 34 5D 66 B6 04 01 00 00 76 B9 F2 0A 40 EE 45 3F [09:09:05]CommunicateWithHost err = 0 [09:09:05]CheckOFDResponse [09:09:05]1017 (14) - 77093643461234 [09:09:05]1041 (16) - 0000000000959360 [09:09:05]1040 (4) - 4036 [09:09:05]1012 (4) - 03.06.2024 03:10 [09:09:05]1206 (1) - 0 [09:09:05]OFD Sender: Remove packet 4036 [09:09:05]ProducePacketName [09:09:05]name=ofd_packets/00004036 [09:09:05]NVStorageDeleteData [09:09:05]Write to MH i2c: 01 00 00 00 07 07 [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: 01 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: 01 07 00 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: 01 07 00 00 07 00 00 00 00 00 C3 0C DD [09:09:05]RasterBufferAndPrint [09:09:05]line [09:09:05]line [09:09:05]line [09:09:05]line [09:09:05]line [09:09:05]written 0, free lines is 3271 [09:09:05]MH_Cut [09:09:05]Write to MH i2c: D1 01 00 07 07 01 E0 [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: D1 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: D1 01 00 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: D1 01 00 07 07 00 DF [09:09:05]Write to MH i2c: 01 00 00 08 07 0F [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:06]OFD Sender: No OFD packet to send [09:09:06]*** Cut start [09:09:06]*** Partial cut [09:09:06]*** CUTSNS_PIN = 1 [09:09:06]*** CUTSNS_PIN = 0 [09:09:06]*** Brake cut motor [09:09:07]Read from MH i2c: 01 [09:09:07]MH_I2C_Read... [09:09:07]*** Stop cut motor [09:09:07]*** Cut end [09:09:07]Read from MH i2c: 01 07 00 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: 01 07 00 08 07 00 00 00 00 00 FF 0F 24 [09:09:07]process_action close_receipt done [09:09:07]requested_data is exist [09:09:07]produce_requested_data [09:09:07]requested_item fm.sn is exist - process it [09:09:07]wFMCommunicate request_size=4 [09:09:07]MH_SAM_APDU [09:09:07]CAPDU: 80 11 00 00 [09:09:07]Write to MH i2c: E2 08 00 09 07 80 11 00 00 00 00 00 00 8A [09:09:07]Write i2c OK [09:09:07]MH_I2C_Read... [09:09:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:07]Read from MH i2c: E2 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 17 00 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 17 00 09 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DD [09:09:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:09:07]wFMCommunicate OK [09:09:07]requested_item fd.num is exist - process it [09:09:07]SAM_PROTO_GetFieldsCounters [09:09:07]wFMCommunicate request_size=4 [09:09:07]MH_SAM_APDU [09:09:07]CAPDU: 80 13 00 00 [09:09:07]Write to MH i2c: E2 08 00 0A 07 80 13 00 00 00 00 00 00 8D [09:09:07]Write i2c OK [09:09:07]MH_I2C_Read... [09:09:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:09:07]Read from MH i2c: E2 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 62 00 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 62 00 0A 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C4 0F 00 00 0E 04 04 00 52 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 0A [09:09:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C4 0F 00 00 0E 04 04 00 52 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:09:07]wFMCommunicate OK [09:09:07]SAM_PROTO_GetFieldsCounters done [09:09:07]requested_item shift.num is exist - process it [09:09:07]requested_item shift.opened is exist - process it [09:09:07]req_shift_opened [09:09:07]FM_GetShiftState [09:09:07]SAM_PROTO_GetShiftState [09:09:07]wFMCommunicate request_size=4 [09:09:07]MH_SAM_APDU [09:09:07]CAPDU: 80 13 01 00 [09:09:07]Write to MH i2c: E2 08 00 0B 07 80 13 01 00 00 00 00 00 8F [09:09:07]Write i2c OK [09:09:07]MH_I2C_Read... [09:09:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:07]Read from MH i2c: E2 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 0E 00 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 0E 00 0B 07 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 1D [09:09:07]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:09:07]wFMCommunicate OK [09:09:07]SAM_PROTO_GetShiftState done [09:09:07]FM_GetShiftState done [09:09:07]req_shift_opened done [09:09:07]requested_item shift.open_date is exist - process it [09:09:07]req_shift_open_date [09:09:07]req_shift_open_date done [09:09:07]produce_requested_data done [09:09:07]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4036,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [09:09:07]process_action_free close_receipt [09:09:07]json_value_free [09:09:07]json_value_free done [09:09:07]process_json_proto returns [09:09:07]Send response to host [09:09:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4036,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [09:09:07]free response buf [09:09:07]execute_script done [09:09:07]execute_script returns [09:09:07]free content buf [09:09:07]Sock 9.Close socket [09:09:07]Sock 9.Thread stoped [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:51]OFD Sender: No OFD packet to send [09:09:56]OFD Sender: No OFD packet to send [09:10:01]OFD Sender: No OFD packet to send [09:10:06]OFD Sender: No OFD packet to send [09:10:11]OFD Sender: No OFD packet to send [09:10:16]OFD Sender: No OFD packet to send [09:10:21]OFD Sender: No OFD packet to send [09:10:26]OFD Sender: No OFD packet to send [09:10:31]OFD Sender: No OFD packet to send [09:10:36]OFD Sender: No OFD packet to send [09:10:41]OFD Sender: No OFD packet to send [09:10:46]OFD Sender: No OFD packet to send [09:10:51]OFD Sender: No OFD packet to send [09:10:56]OFD Sender: No OFD packet to send [09:11:01]OFD Sender: No OFD packet to send [09:11:06]OFD Sender: No OFD packet to send [09:11:11]OFD Sender: No OFD packet to send [09:11:16]OFD Sender: No OFD packet to send [09:11:21]OFD Sender: No OFD packet to send [09:11:26]OFD Sender: No OFD packet to send [09:11:31]OFD Sender: No OFD packet to send [09:11:36]OFD Sender: No OFD packet to send [09:11:41]OFD Sender: No OFD packet to send [09:11:46]OFD Sender: No OFD packet to send [09:11:51]OFD Sender: No OFD packet to send [09:11:56]OFD Sender: No OFD packet to send [09:12:01]OFD Sender: No OFD packet to send [09:12:06]OFD Sender: No OFD packet to send [09:12:11]OFD Sender: No OFD packet to send [09:12:16]OFD Sender: No OFD packet to send [09:12:21]OFD Sender: No OFD packet to send [09:12:26]OFD Sender: No OFD packet to send [09:12:31]OFD Sender: No OFD packet to send [09:12:36]OFD Sender: No OFD packet to send [09:12:41]OFD Sender: No OFD packet to send [09:12:46]OFD Sender: No OFD packet to send [09:12:51]OFD Sender: No OFD packet to send [09:12:56]OFD Sender: No OFD packet to send [09:13:01]OFD Sender: No OFD packet to send [09:13:06]OFD Sender: No OFD packet to send [09:13:11]OFD Sender: No OFD packet to send [09:13:16]OFD Sender: No OFD packet to send [09:13:21]OFD Sender: No OFD packet to send [09:13:26]OFD Sender: No OFD packet to send [09:13:31]OFD Sender: No OFD packet to send [09:13:36]OFD Sender: No OFD packet to send [09:13:41]OFD Sender: No OFD packet to send [09:13:46]OFD Sender: No OFD packet to send [09:13:51]OFD Sender: No OFD packet to send [09:13:56]OFD Sender: No OFD packet to send [09:14:01]OFD Sender: No OFD packet to send [09:14:06]OFD Sender: No OFD packet to send [09:14:11]OFD Sender: No OFD packet to send [09:14:16]OFD Sender: No OFD packet to send [09:14:21]OFD Sender: No OFD packet to send [09:14:26]OFD Sender: No OFD packet to send [09:14:31]OFD Sender: No OFD packet to send [09:14:36]OFD Sender: No OFD packet to send [09:14:41]OFD Sender: No OFD packet to send [09:14:46]OFD Sender: No OFD packet to send [09:14:51]OFD Sender: No OFD packet to send [09:14:56]OFD Sender: No OFD packet to send [09:15:01]OFD Sender: No OFD packet to send [09:15:06]OFD Sender: No OFD packet to send [09:15:11]OFD Sender: No OFD packet to send [09:15:16]OFD Sender: No OFD packet to send [09:15:21]OFD Sender: No OFD packet to send [09:15:26]OFD Sender: No OFD packet to send [09:15:31]OFD Sender: No OFD packet to send [09:15:36]OFD Sender: No OFD packet to send [09:15:41]OFD Sender: No OFD packet to send [09:15:46]OFD Sender: No OFD packet to send [09:15:51]OFD Sender: No OFD packet to send [09:15:56]OFD Sender: No OFD packet to send [09:16:01]OFD Sender: No OFD packet to send [09:16:06]OFD Sender: No OFD packet to send [09:16:11]OFD Sender: No OFD packet to send [09:16:16]OFD Sender: No OFD packet to send [09:16:21]OFD Sender: No OFD packet to send [09:16:26]OFD Sender: No OFD packet to send [09:16:31]OFD Sender: No OFD packet to send [09:16:36]OFD Sender: No OFD packet to send [09:16:41]OFD Sender: No OFD packet to send [09:16:46]OFD Sender: No OFD packet to send [09:16:51]OFD Sender: No OFD packet to send [09:16:56]OFD Sender: No OFD packet to send [09:17:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:21]OFD Sender: No OFD packet to send [09:18:26]OFD Sender: No OFD packet to send [09:18:31]OFD Sender: No OFD packet to send [09:18:36]OFD Sender: No OFD packet to send [09:18:41]OFD Sender: No OFD packet to send [09:18:46]OFD Sender: No OFD packet to send [09:18:51]OFD Sender: No OFD packet to send [09:18:56]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:11]OFD Sender: No OFD packet to send [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]accept exits with 8 [09:20:26]New connection [09:20:26]New thread 3067370852 created [09:20:26]Thread 3067227492 joined [09:20:26]Waiting for new connection... [09:20:26] Sock 8.Parse request [09:20:26]Sock 8.Check first char [09:20:26]Sock 8.First char is OK [09:20:26]request: POST /json_proto HTTP/1.0 [09:20:26]Method: POST [09:20:26]URL: /json_proto [09:20:26]Method is POST - this is cgi request [09:20:26]url: /json_proto [09:20:26]query_string will be loaded in cgi processing [09:20:26]execute_cgi json_proto POST (null) [09:20:26]execute_cgi path=json_proto method=POST [09:20:26]POST find Content-Length [09:20:26]Host: 172.17.56.68:8080 [09:20:26]Content-Length: 652 [09:20:26]Content-Type: application/json [09:20:26] [09:20:26]POST finish read [09:20:26]Found Content-Length = 652 [09:20:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4291", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:20:26]execute_script... [09:20:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4291", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:20:26]POST & json_proto [09:20:26]process_json_proto [09:20:26]json parsed OK: [09:20:26]protocol is kg_v1.0 [09:20:26]action value=close_receipt [09:20:26]process_action close_receipt [09:20:26]cmd_close_receipt [09:20:26]MH_GetDate [09:20:26]Write to MH i2c: F0 00 00 0C 07 02 [09:20:26]Write i2c OK [09:20:26]MH_I2C_Read... [09:20:26]Read from MH i2c: F0 [09:20:26]MH_I2C_Read... [09:20:26]Read from MH i2c: F0 09 00 [09:20:26]MH_I2C_Read... [09:20:26]Read from MH i2c: F0 09 00 0C 07 00 DD 8A 5D 66 42 69 5C 66 A2 [09:20:26]GetLastDocTimeStamp 1717405746 [09:20:26]current date 1717406429 [09:20:26]FM_GetShiftState [09:20:26]SAM_PROTO_GetShiftState [09:20:26]wFMCommunicate request_size=4 [09:20:26]MH_SAM_APDU [09:20:26]CAPDU: 80 13 01 00 [09:20:26]Write to MH i2c: E2 08 00 0D 07 80 13 01 00 00 00 00 00 91 [09:20:26]Write i2c OK [09:20:26]MH_I2C_Read... [09:20:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:26]Read from MH i2c: E2 [09:20:26]MH_I2C_Read... [09:20:26]Read from MH i2c: E2 0E 00 [09:20:26]MH_I2C_Read... [09:20:26]Read from MH i2c: E2 0E 00 0D 07 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 1F [09:20:26]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:20:26]wFMCommunicate OK [09:20:26]SAM_PROTO_GetShiftState done [09:20:26]FM_GetShiftState done [09:20:26]opened in 1717372856 [09:20:26]opened+sec_in_day 1717459256 [09:20:26]quantity*price = 9500 [09:20:26]sum+1 = 9501 [09:20:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 18 03.06.2024 09:20 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4037 ФПД: 147548649733619 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T092029&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4037&fm=147548649733619&tin=02508201610067®Number=0000000000145775&sum=9500 0 [09:20:27]StoreToDocumentArchive [09:20:27]shift 82 fd 4037 [09:20:27]save to /storage/0082/doc_00004037 [09:20:27]save last doc name /storage/0082/doc_00004037 to /storage/kkm_last_doc_name [09:20:27]save OK [09:20:27]Clear old archive folders... [09:20:27]ProcessDocumentItem done err = 0, tmpTLVsize=293 [09:20:27]tlvbuf is 0078E310 [09:20:27]SAM_PROTO_ClearQueue [09:20:27]wFMCommunicate request_size=4 [09:20:27]MH_SAM_APDU [09:20:27]CAPDU: 80 09 00 00 [09:20:27]Write to MH i2c: E2 08 00 1A 07 80 09 00 00 00 00 00 00 93 [09:20:27]Write i2c OK [09:20:27]MH_I2C_Read... [09:20:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:20:27]Read from MH i2c: E2 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 03 00 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 03 00 1A 07 00 90 00 95 [09:20:27]RAPDU: 90 00 [09:20:27]wFMCommunicate OK [09:20:27]SAM_PROTO_ClearQueue done [09:20:27]KKMCreateOFDPacket [09:20:27]OFDProtocolAddRootSTLVToBuf [09:20:27]FM_MakeSignedData [09:20:27]FM_MakeSignedData [09:20:27]SAM_PROTO_SignData [09:20:27]wFMCommunicate request_size=4 [09:20:27]MH_SAM_APDU [09:20:27]CAPDU: 80 0D 01 02 [09:20:27]Write to MH i2c: E2 08 00 1B 07 80 0D 01 02 00 00 00 00 9B [09:20:27]Write i2c OK [09:20:27]MH_I2C_Read... [09:20:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:20:27]Read from MH i2c: E2 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 03 00 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 03 00 1B 07 00 90 00 96 [09:20:27]RAPDU: 90 00 [09:20:27]wFMCommunicate OK [09:20:27]wFMCommunicate request_size=255 [09:20:27]MH_SAM_APDU [09:20:27]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 DD 8A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [09:20:27]Write to MH i2c: E2 02 01 1C 07 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 DD 8A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 C9 [09:20:27]Write i2c OK [09:20:27]MH_I2C_Read... [09:20:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:27]Read from MH i2c: E2 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 03 00 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 03 00 1C 07 00 90 00 97 [09:20:27]RAPDU: 90 00 [09:20:27]wFMCommunicate OK [09:20:27]wFMCommunicate request_size=52 [09:20:27]MH_SAM_APDU [09:20:27]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C5 0F 00 00 35 04 06 00 86 31 D8 DA BD F3 [09:20:27]Write to MH i2c: E2 37 00 1D 07 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C5 0F 00 00 35 04 06 00 86 31 D8 DA BD F3 00 00 52 [09:20:27]Write i2c OK [09:20:27]MH_I2C_Read... [09:20:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:27]Read from MH i2c: E2 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 03 00 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 03 00 1D 07 00 90 00 98 [09:20:27]RAPDU: 90 00 [09:20:27]wFMCommunicate OK [09:20:27]wFMCommunicate request_size=4 [09:20:27]MH_SAM_APDU [09:20:27]CAPDU: 80 0D 03 02 [09:20:27]Write to MH i2c: E2 08 00 1E 07 80 0D 03 02 00 00 00 00 A0 [09:20:27]Write i2c OK [09:20:27]MH_I2C_Read... [09:20:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:20:27]Read from MH i2c: E2 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 0B 00 [09:20:27]MH_I2C_Read... [09:20:27]Read from MH i2c: E2 0B 00 1E 07 00 46 D2 10 7F 8D 11 F8 C2 90 00 A0 [09:20:27]RAPDU: 46 D2 10 7F 8D 11 F8 C2 90 00 [09:20:27]wFMCommunicate OK [09:20:27]SAM_PROTO_SignData done [09:20:27]FM_MakeSignedData done [09:20:27]CreateOFDProtocolMessage [09:20:27]wFMCommunicate request_size=4 [09:20:27]MH_SAM_APDU [09:20:27]CAPDU: 80 11 00 00 [09:20:27]Write to MH i2c: E2 08 00 1F 07 80 11 00 00 00 00 00 00 A0 [09:20:27]Write i2c OK [09:20:27]MH_I2C_Read... [09:20:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:28]Read from MH i2c: E2 [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: E2 17 00 [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: E2 17 00 1F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F3 [09:20:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:20:28]wFMCommunicate OK [09:20:28]CreateOFDProtocolMessage done [09:20:28]OFDSenderStorePacket 4037 [09:20:28]StoreOFDPacket docnum=4037 [09:20:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 AD 16 31 01 3B 8A 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 DD 8A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C5 0F 00 00 35 04 06 00 86 31 D8 DA BD F3 46 D2 10 7F 8D 11 F8 C2 [09:20:28]CheckFolder [09:20:28]dirname=/storage/ofd_packets [09:20:28]CheckFolder done [09:20:28]ProducePacketName [09:20:28]name=ofd_packets/00004037 [09:20:28]NVStorageSaveData ofd_packets/00004037 [09:20:28]File name is /storage/ofd_packets/00004037 [09:20:28]Write 343 bytes [09:20:28]NVStorageSaveData done [09:20:28]OFDSenderStorePacket done [09:20:28]KKMCreateOFDPacket done [09:20:28]NVStorageSaveData kkm_last_timestamp [09:20:28]File name is /storage/kkm_last_timestamp [09:20:28]Write 4 bytes [09:20:28]NVStorageSaveData done [09:20:28]ExternCall_PrintAddStr [09:20:28]wPrintStart [09:20:28]Write to MH i2c: 01 00 00 20 07 27 [09:20:28]Write i2c OK [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: 01 [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: 01 07 00 [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: 01 07 00 20 07 00 00 00 00 00 FF 0F 3C [09:20:28]RasterBufferAndPrint [09:20:28]line Счет N : (3)4291 [09:20:28]line ИНН: 02508201610067 [09:20:28]line Контрольно-Кассовый Чек [09:20:28]line ПРОДАЖА [09:20:28]line Товар: 4700000480050 [09:20:28]line Напиток Nitro Energy эн green ж/б 0,45л [09:20:28]line 1.000 * 95.00 [09:20:28]line = 95.00 [09:20:28]line НДС 12% НСП 1% [09:20:28]line > о реализуемом товаре [09:20:28]line ИТОГО: 95.00 [09:20:28]line НСП 1% : 0.84 [09:20:28]line НДС 12% : 10.09 [09:20:28]line Наличными: 95.00 [09:20:28]line Безнал.: 0.00 [09:20:28]line Место: АЗС № 116 "Партнер Нефть" [09:20:28]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:20:28]line СНО: Общий режим [09:20:28]line Чек 18 03.06.2024 09:20 [09:20:28]line Смена: 82 ФФД: 1.0 [09:20:28]line ЗНМ: 0300000233 [09:20:28]line РНМ: 0000000000145775 [09:20:28]line Версия ККМ: v1.0 [09:20:28]line ФМ: 0000000000959360 [09:20:28]line ФД: 4037 [09:20:28]line ФПД: 147548649733619 [09:20:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T092029&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4037&fm=147548649733619&tin=02508201610067®Number=0000000000145775&sum=9500 [09:20:28]OFD Sender: Processing packet 4037 [packets to send 2, broken 1] [09:20:28]ProducePacketName [09:20:28]name=ofd_packets/00004037 [09:20:28]OFD Sender: To server: pG, [09:20:28]CommunicateWithHost lk.salyk.kg:30040 [09:20:28]ConnectInit lk.salyk.kg [09:20:28]line 0 [09:20:28]written 0, free lines is 4095 [09:20:28]Connected sock=10 [09:20:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 AD 16 31 01 3B 8A 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 DD 8A 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C5 0F 00 00 35 04 06 00 86 31 D8 DA BD F3 46 D2 10 7F 8D 11 F8 C2 [09:20:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 70 19 47 00 4C 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C5 0F 00 00 F4 03 04 00 E1 36 5D 66 B6 04 01 00 00 59 43 CC 6F 46 05 CA B3 [09:20:28]CommunicateWithHost err = 0 [09:20:28]CheckOFDResponse [09:20:28]1017 (14) - 77093643461234 [09:20:28]1041 (16) - 0000000000959360 [09:20:28]1040 (4) - 4037 [09:20:28]1012 (4) - 03.06.2024 03:22 [09:20:28]1206 (1) - 0 [09:20:28]OFD Sender: Remove packet 4037 [09:20:28]ProducePacketName [09:20:28]name=ofd_packets/00004037 [09:20:28]NVStorageDeleteData [09:20:28]Write to MH i2c: 01 00 00 49 07 50 [09:20:28]Write i2c OK [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: 01 [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: 01 07 00 [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: 01 07 00 49 07 00 00 00 00 00 B9 0C 1C [09:20:28]RasterBufferAndPrint [09:20:28]line [09:20:28]line [09:20:28]line [09:20:28]line [09:20:28]line [09:20:28]written 0, free lines is 3260 [09:20:28]MH_Cut [09:20:28]Write to MH i2c: D1 01 00 50 07 01 29 [09:20:28]Write i2c OK [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: D1 [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: D1 01 00 [09:20:28]MH_I2C_Read... [09:20:28]Read from MH i2c: D1 01 00 50 07 00 28 [09:20:28]Write to MH i2c: 01 00 00 51 07 58 [09:20:28]Write i2c OK [09:20:28]MH_I2C_Read... [09:20:29]OFD Sender: No OFD packet to send [09:20:29]*** Cut start [09:20:29]*** Partial cut [09:20:29]*** CUTSNS_PIN = 1 [09:20:29]*** CUTSNS_PIN = 0 [09:20:29]*** Brake cut motor [09:20:30]Read from MH i2c: 01 [09:20:30]MH_I2C_Read... [09:20:30]*** Stop cut motor [09:20:30]*** Cut end [09:20:30]Read from MH i2c: 01 07 00 [09:20:30]MH_I2C_Read... [09:20:30]Read from MH i2c: 01 07 00 51 07 00 00 00 00 00 FF 0F 6D [09:20:30]process_action close_receipt done [09:20:30]requested_data is exist [09:20:30]produce_requested_data [09:20:30]requested_item fm.sn is exist - process it [09:20:30]wFMCommunicate request_size=4 [09:20:30]MH_SAM_APDU [09:20:30]CAPDU: 80 11 00 00 [09:20:30]Write to MH i2c: E2 08 00 52 07 80 11 00 00 00 00 00 00 D3 [09:20:30]Write i2c OK [09:20:30]MH_I2C_Read... [09:20:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:30]Read from MH i2c: E2 [09:20:30]MH_I2C_Read... [09:20:30]Read from MH i2c: E2 17 00 [09:20:30]MH_I2C_Read... [09:20:30]Read from MH i2c: E2 17 00 52 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 26 [09:20:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:20:30]wFMCommunicate OK [09:20:30]requested_item fd.num is exist - process it [09:20:30]SAM_PROTO_GetFieldsCounters [09:20:30]wFMCommunicate request_size=4 [09:20:30]MH_SAM_APDU [09:20:30]CAPDU: 80 13 00 00 [09:20:30]Write to MH i2c: E2 08 00 53 07 80 13 00 00 00 00 00 00 D6 [09:20:30]Write i2c OK [09:20:30]MH_I2C_Read... [09:20:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:20:30]Read from MH i2c: E2 [09:20:30]MH_I2C_Read... [09:20:30]Read from MH i2c: E2 62 00 [09:20:30]MH_I2C_Read... [09:20:30]Read from MH i2c: E2 62 00 53 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C5 0F 00 00 0E 04 04 00 52 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 57 [09:20:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C5 0F 00 00 0E 04 04 00 52 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:20:30]wFMCommunicate OK [09:20:30]SAM_PROTO_GetFieldsCounters done [09:20:30]requested_item shift.num is exist - process it [09:20:30]requested_item shift.opened is exist - process it [09:20:30]req_shift_opened [09:20:30]FM_GetShiftState [09:20:30]SAM_PROTO_GetShiftState [09:20:30]wFMCommunicate request_size=4 [09:20:30]MH_SAM_APDU [09:20:30]CAPDU: 80 13 01 00 [09:20:30]Write to MH i2c: E2 08 00 54 07 80 13 01 00 00 00 00 00 D8 [09:20:30]Write i2c OK [09:20:30]MH_I2C_Read... [09:20:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:30]Read from MH i2c: E2 [09:20:30]MH_I2C_Read... [09:20:30]Read from MH i2c: E2 0E 00 [09:20:30]MH_I2C_Read... [09:20:30]Read from MH i2c: E2 0E 00 54 07 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 66 [09:20:30]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:20:30]wFMCommunicate OK [09:20:30]SAM_PROTO_GetShiftState done [09:20:30]FM_GetShiftState done [09:20:30]req_shift_opened done [09:20:30]requested_item shift.open_date is exist - process it [09:20:30]req_shift_open_date [09:20:30]req_shift_open_date done [09:20:30]produce_requested_data done [09:20:30]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4037,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [09:20:30]process_action_free close_receipt [09:20:30]json_value_free [09:20:30]json_value_free done [09:20:30]process_json_proto returns [09:20:30]Send response to host [09:20:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4037,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [09:20:30]free response buf [09:20:30]execute_script done [09:20:30]execute_script returns [09:20:30]free content buf [09:20:30]Sock 8.Close socket [09:20:30]Sock 8.Thread stoped [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:48]accept exits with 9 [09:27:48]New connection [09:27:48]New thread 3067227492 created [09:27:48]Thread 3067370852 joined [09:27:48]Waiting for new connection... [09:27:48] Sock 9.Parse request [09:27:48]Sock 9.Check first char [09:27:48]Sock 9.First char is OK [09:27:48]request: POST /json_proto HTTP/1.0 [09:27:48]Method: POST [09:27:48]URL: /json_proto [09:27:48]Method is POST - this is cgi request [09:27:48]url: /json_proto [09:27:48]query_string will be loaded in cgi processing [09:27:48]execute_cgi json_proto POST (null) [09:27:48]execute_cgi path=json_proto method=POST [09:27:48]POST find Content-Length [09:27:48]Host: 172.17.56.68:8080 [09:27:48]Content-Length: 654 [09:27:48]Content-Type: application/json [09:27:48] [09:27:48]POST finish read [09:27:48]Found Content-Length = 654 [09:27:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4292", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:27:48]execute_script... [09:27: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)4292", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:27:48]POST & json_proto [09:27:48]process_json_proto [09:27:48]json parsed OK: [09:27:48]protocol is kg_v1.0 [09:27:48]action value=close_receipt [09:27:48]process_action close_receipt [09:27:48]cmd_close_receipt [09:27:48]MH_GetDate [09:27:48]Write to MH i2c: F0 00 00 55 07 4B [09:27:48]Write i2c OK [09:27:48]MH_I2C_Read... [09:27:48]Read from MH i2c: F0 [09:27:48]MH_I2C_Read... [09:27:48]Read from MH i2c: F0 09 00 [09:27:48]MH_I2C_Read... [09:27:48]Read from MH i2c: F0 09 00 55 07 00 97 8C 5D 66 42 69 5C 66 A7 [09:27:48]GetLastDocTimeStamp 1717406429 [09:27:48]current date 1717406871 [09:27:48]FM_GetShiftState [09:27:48]SAM_PROTO_GetShiftState [09:27:48]wFMCommunicate request_size=4 [09:27:48]MH_SAM_APDU [09:27:48]CAPDU: 80 13 01 00 [09:27:48]Write to MH i2c: E2 08 00 56 07 80 13 01 00 00 00 00 00 DA [09:27:48]Write i2c OK [09:27:48]MH_I2C_Read... [09:27:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:27:48]Read from MH i2c: E2 [09:27:48]MH_I2C_Read... [09:27:48]Read from MH i2c: E2 0E 00 [09:27:48]MH_I2C_Read... [09:27:48]Read from MH i2c: E2 0E 00 56 07 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 68 [09:27:48]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:27:48]wFMCommunicate OK [09:27:48]SAM_PROTO_GetShiftState done [09:27:48]FM_GetShiftState done [09:27:48]opened in 1717372856 [09:27:48]opened+sec_in_day 1717459256 [09:27:48]quantity*price = 11000 [09:27:48]sum+1 = 11001 [09:27:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 19 03.06.2024 09:27 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4038 ФПД: 184314618374623 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T092751&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4038&fm=184314618374623&tin=02508201610067®Number=0000000000145775&sum=11000 0 [09:27:49]StoreToDocumentArchive [09:27:49]shift 82 fd 4038 [09:27:49]save to /storage/0082/doc_00004038 [09:27:49]save last doc name /storage/0082/doc_00004038 to /storage/kkm_last_doc_name [09:27:49]save OK [09:27:49]Clear old archive folders... [09:27:49]ProcessDocumentItem done err = 0, tmpTLVsize=284 [09:27:49]tlvbuf is 00788860 [09:27:49]SAM_PROTO_ClearQueue [09:27:49]wFMCommunicate request_size=4 [09:27:49]MH_SAM_APDU [09:27:49]CAPDU: 80 09 00 00 [09:27:49]Write to MH i2c: E2 08 00 63 07 80 09 00 00 00 00 00 00 DC [09:27:49]Write i2c OK [09:27:49]MH_I2C_Read... [09:27:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:27:49]Read from MH i2c: E2 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 03 00 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 03 00 63 07 00 90 00 DE [09:27:49]RAPDU: 90 00 [09:27:49]wFMCommunicate OK [09:27:49]SAM_PROTO_ClearQueue done [09:27:49]KKMCreateOFDPacket [09:27:49]OFDProtocolAddRootSTLVToBuf [09:27:49]FM_MakeSignedData [09:27:49]FM_MakeSignedData [09:27:49]SAM_PROTO_SignData [09:27:49]wFMCommunicate request_size=4 [09:27:49]MH_SAM_APDU [09:27:49]CAPDU: 80 0D 01 02 [09:27:49]Write to MH i2c: E2 08 00 64 07 80 0D 01 02 00 00 00 00 E4 [09:27:49]Write i2c OK [09:27:49]MH_I2C_Read... [09:27:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:27:49]Read from MH i2c: E2 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 03 00 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 03 00 64 07 00 90 00 DF [09:27:49]RAPDU: 90 00 [09:27:49]wFMCommunicate OK [09:27:49]wFMCommunicate request_size=255 [09:27:49]MH_SAM_APDU [09:27:49]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 97 8C 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [09:27:49]Write to MH i2c: E2 02 01 65 07 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 97 8C 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 E7 [09:27:49]Write i2c OK [09:27:49]MH_I2C_Read... [09:27:49]OFD Sender: No OFD packet to send [09:27:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:27:49]Read from MH i2c: E2 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 03 00 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 03 00 65 07 00 90 00 E0 [09:27:49]RAPDU: 90 00 [09:27:49]wFMCommunicate OK [09:27:49]wFMCommunicate request_size=43 [09:27:49]MH_SAM_APDU [09:27:49]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C6 0F 00 00 35 04 06 00 A7 A2 17 5A E9 DF [09:27:49]Write to MH i2c: E2 2E 00 66 07 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C6 0F 00 00 35 04 06 00 A7 A2 17 5A E9 DF 00 00 26 [09:27:49]Write i2c OK [09:27:49]MH_I2C_Read... [09:27:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:27:49]Read from MH i2c: E2 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 03 00 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 03 00 66 07 00 90 00 E1 [09:27:49]RAPDU: 90 00 [09:27:49]wFMCommunicate OK [09:27:49]wFMCommunicate request_size=4 [09:27:49]MH_SAM_APDU [09:27:49]CAPDU: 80 0D 03 02 [09:27:49]Write to MH i2c: E2 08 00 67 07 80 0D 03 02 00 00 00 00 E9 [09:27:49]Write i2c OK [09:27:49]MH_I2C_Read... [09:27:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:27:49]Read from MH i2c: E2 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 0B 00 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 0B 00 67 07 00 4D 71 3E 24 71 95 2D EA 90 00 27 [09:27:49]RAPDU: 4D 71 3E 24 71 95 2D EA 90 00 [09:27:49]wFMCommunicate OK [09:27:49]SAM_PROTO_SignData done [09:27:49]FM_MakeSignedData done [09:27:49]CreateOFDProtocolMessage [09:27:49]wFMCommunicate request_size=4 [09:27:49]MH_SAM_APDU [09:27:49]CAPDU: 80 11 00 00 [09:27:49]Write to MH i2c: E2 08 00 68 07 80 11 00 00 00 00 00 00 E9 [09:27:49]Write i2c OK [09:27:49]MH_I2C_Read... [09:27:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:27:49]Read from MH i2c: E2 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 17 00 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: E2 17 00 68 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 3C [09:27:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:27:49]wFMCommunicate OK [09:27:49]CreateOFDProtocolMessage done [09:27:49]OFDSenderStorePacket 4038 [09:27:49]StoreOFDPacket docnum=4038 [09:27:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 D8 0F 28 01 C8 4B 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 97 8C 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C6 0F 00 00 35 04 06 00 A7 A2 17 5A E9 DF 4D 71 3E 24 71 95 2D EA [09:27:49]CheckFolder [09:27:49]dirname=/storage/ofd_packets [09:27:49]CheckFolder done [09:27:49]ProducePacketName [09:27:49]name=ofd_packets/00004038 [09:27:49]NVStorageSaveData ofd_packets/00004038 [09:27:49]File name is /storage/ofd_packets/00004038 [09:27:49]Write 334 bytes [09:27:49]NVStorageSaveData done [09:27:49]OFDSenderStorePacket done [09:27:49]KKMCreateOFDPacket done [09:27:49]NVStorageSaveData kkm_last_timestamp [09:27:49]File name is /storage/kkm_last_timestamp [09:27:49]Write 4 bytes [09:27:49]NVStorageSaveData done [09:27:49]ExternCall_PrintAddStr [09:27:49]wPrintStart [09:27:49]Write to MH i2c: 01 00 00 69 07 70 [09:27:49]Write i2c OK [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: 01 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: 01 07 00 [09:27:49]MH_I2C_Read... [09:27:49]Read from MH i2c: 01 07 00 69 07 00 00 00 00 00 FF 0F 85 [09:27:49]RasterBufferAndPrint [09:27:49]line Счет N : (3)4292 [09:27:49]line ИНН: 02508201610067 [09:27:49]line Контрольно-Кассовый Чек [09:27:49]line ПРОДАЖА [09:27:49]line Товар: 2000034250011 [09:27:49]line Горячий шоколад (GABB trade) [09:27:49]line 1.000 * 110.00 [09:27:49]line = 110.00 [09:27:49]line НДС 12% НСП 1% [09:27:49]line > о реализуемом товаре [09:27:49]line ИТОГО: 110.00 [09:27:49]line НСП 1% : 0.97 [09:27:49]line НДС 12% : 11.68 [09:27:49]line Наличными: 110.00 [09:27:49]line Безнал.: 0.00 [09:27:49]line Место: АЗС № 116 "Партнер Нефть" [09:27:49]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:27:49]line СНО: Общий режим [09:27:49]line Чек 19 03.06.2024 09:27 [09:27:49]line Смена: 82 ФФД: 1.0 [09:27:49]line ЗНМ: 0300000233 [09:27:49]line РНМ: 0000000000145775 [09:27:49]line Версия ККМ: v1.0 [09:27:49]line ФМ: 0000000000959360 [09:27:50]line ФД: 4038 [09:27:50]line ФПД: 184314618374623 [09:27:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T092751&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4038&fm=184314618374623&tin=02508201610067®Number=0000000000145775&sum=11000 [09:27:50]line 0 [09:27:50]OFD Sender: Processing packet 4038 [packets to send 2, broken 1] [09:27:50]ProducePacketName [09:27:50]name=ofd_packets/00004038 [09:27:50]OFD Sender: To server: pG, [09:27:50]CommunicateWithHost lk.salyk.kg:30040 [09:27:50]ConnectInit lk.salyk.kg [09:27:50]written 0, free lines is 4095 [09:27:50]Connected sock=10 [09:27:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 D8 0F 28 01 C8 4B 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 97 8C 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C6 0F 00 00 35 04 06 00 A7 A2 17 5A E9 DF 4D 71 3E 24 71 95 2D EA [09:27:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FE 58 47 00 B6 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 30 39 35 39 33 36 30 10 04 04 00 C6 0F 00 00 F4 03 04 00 9B 38 5D 66 B6 04 01 00 00 F6 36 10 55 47 0B E1 22 [09:27:50]CommunicateWithHost err = 0 [09:27:50]CheckOFDResponse [09:27:50]1017 (14) - 77093643461234 [09:27:50]1041 (16) - 0000000000959360 [09:27:50]1040 (4) - 4038 [09:27:50]1012 (4) - 03.06.2024 03:29 [09:27:50]1206 (1) - 0 [09:27:50]OFD Sender: Remove packet 4038 [09:27:50]ProducePacketName [09:27:50]name=ofd_packets/00004038 [09:27:50]NVStorageDeleteData [09:27:50]Write to MH i2c: 01 00 00 92 07 99 [09:27:50]Write i2c OK [09:27:50]MH_I2C_Read... [09:27:50]Read from MH i2c: 01 [09:27:50]MH_I2C_Read... [09:27:50]Read from MH i2c: 01 07 00 [09:27:50]MH_I2C_Read... [09:27:50]Read from MH i2c: 01 07 00 92 07 00 00 00 00 00 B7 0C 63 [09:27:50]RasterBufferAndPrint [09:27:50]line [09:27:50]line [09:27:50]line [09:27:50]line [09:27:50]line [09:27:50]written 0, free lines is 3259 [09:27:50]MH_Cut [09:27:50]Write to MH i2c: D1 01 00 99 07 01 72 [09:27:50]Write i2c OK [09:27:50]MH_I2C_Read... [09:27:50]Read from MH i2c: D1 [09:27:50]MH_I2C_Read... [09:27:50]Read from MH i2c: D1 01 00 [09:27:50]MH_I2C_Read... [09:27:50]Read from MH i2c: D1 01 00 99 07 00 71 [09:27:50]Write to MH i2c: 01 00 00 9A 07 A1 [09:27:50]Write i2c OK [09:27:50]MH_I2C_Read... [09:27:51]OFD Sender: No OFD packet to send [09:27:51]*** Cut start [09:27:51]*** Partial cut [09:27:51]*** CUTSNS_PIN = 1 [09:27:51]*** CUTSNS_PIN = 0 [09:27:51]*** Brake cut motor [09:27:52]Read from MH i2c: 01 [09:27:52]MH_I2C_Read... [09:27:52]*** Stop cut motor [09:27:52]*** Cut end [09:27:52]Read from MH i2c: 01 07 00 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: 01 07 00 9A 07 00 00 00 00 00 FF 0F B6 [09:27:52]process_action close_receipt done [09:27:52]requested_data is exist [09:27:52]produce_requested_data [09:27:52]requested_item fm.sn is exist - process it [09:27:52]wFMCommunicate request_size=4 [09:27:52]MH_SAM_APDU [09:27:52]CAPDU: 80 11 00 00 [09:27:52]Write to MH i2c: E2 08 00 9B 07 80 11 00 00 00 00 00 00 1C [09:27:52]Write i2c OK [09:27:52]MH_I2C_Read... [09:27:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:27:52]Read from MH i2c: E2 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 17 00 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 17 00 9B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6F [09:27:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:27:52]wFMCommunicate OK [09:27:52]requested_item fd.num is exist - process it [09:27:52]SAM_PROTO_GetFieldsCounters [09:27:52]wFMCommunicate request_size=4 [09:27:52]MH_SAM_APDU [09:27:52]CAPDU: 80 13 00 00 [09:27:52]Write to MH i2c: E2 08 00 9C 07 80 13 00 00 00 00 00 00 1F [09:27:52]Write i2c OK [09:27:52]MH_I2C_Read... [09:27:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:27:52]Read from MH i2c: E2 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 62 00 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 62 00 9C 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C6 0F 00 00 0E 04 04 00 52 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 A4 [09:27:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C6 0F 00 00 0E 04 04 00 52 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 [09:27:52]wFMCommunicate OK [09:27:52]SAM_PROTO_GetFieldsCounters done [09:27:52]requested_item shift.num is exist - process it [09:27:52]requested_item shift.opened is exist - process it [09:27:52]req_shift_opened [09:27:52]FM_GetShiftState [09:27:52]SAM_PROTO_GetShiftState [09:27:52]wFMCommunicate request_size=4 [09:27:52]MH_SAM_APDU [09:27:52]CAPDU: 80 13 01 00 [09:27:52]Write to MH i2c: E2 08 00 9D 07 80 13 01 00 00 00 00 00 21 [09:27:52]Write i2c OK [09:27:52]MH_I2C_Read... [09:27:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:27:52]Read from MH i2c: E2 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 0E 00 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 0E 00 9D 07 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 AF [09:27:52]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:27:52]wFMCommunicate OK [09:27:52]SAM_PROTO_GetShiftState done [09:27:52]FM_GetShiftState done [09:27:52]req_shift_opened done [09:27:52]requested_item shift.open_date is exist - process it [09:27:52]req_shift_open_date [09:27:52]req_shift_open_date done [09:27:52]produce_requested_data done [09:27:52]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4038,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [09:27:52]process_action_free close_receipt [09:27:52]json_value_free [09:27:52]json_value_free done [09:27:52]process_json_proto returns [09:27:52]Send response to host [09:27:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4038,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [09:27:52]free response buf [09:27:52]execute_script done [09:27:52]execute_script returns [09:27:52]free content buf [09:27:52]Sock 9.Close socket [09:27:52]Sock 9.Thread stoped [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:09]accept exits with 8 [09:40:09]New connection [09:40:09]New thread 3067370852 created [09:40:09]Thread 3067227492 joined [09:40:09]Waiting for new connection... [09:40:09] Sock 8.Parse request [09:40:09]Sock 8.Check first char [09:40:09]Sock 8.First char is OK [09:40:09]request: POST /json_proto HTTP/1.0 [09:40:09]Method: POST [09:40:09]URL: /json_proto [09:40:09]Method is POST - this is cgi request [09:40:09]url: /json_proto [09:40:09]query_string will be loaded in cgi processing [09:40:09]execute_cgi json_proto POST (null) [09:40:09]execute_cgi path=json_proto method=POST [09:40:09]POST find Content-Length [09:40:09]Host: 172.17.56.68:8080 [09:40:09]Content-Length: 1101 [09:40:09]Content-Type: application/json [09:40:09] [09:40:09]POST finish read [09:40:09]Found Content-Length = 1101 [09:40:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4293", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:09]execute_script... [09:40: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)4293", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:09]POST & json_proto [09:40:09]process_json_proto [09:40:09]json parsed OK: [09:40:09]protocol is kg_v1.0 [09:40:09]action value=close_receipt [09:40:09]process_action close_receipt [09:40:09]cmd_close_receipt [09:40:09]MH_GetDate [09:40:09]Write to MH i2c: F0 00 00 9E 07 94 [09:40:09]Write i2c OK [09:40:09]MH_I2C_Read... [09:40:09]Read from MH i2c: F0 [09:40:09]MH_I2C_Read... [09:40:09]Read from MH i2c: F0 09 00 [09:40:09]MH_I2C_Read... [09:40:09]Read from MH i2c: F0 09 00 9E 07 00 7C 8F 5D 66 42 69 5C 66 D8 [09:40:09]GetLastDocTimeStamp 1717406871 [09:40:09]current date 1717407612 [09:40:09]FM_GetShiftState [09:40:09]SAM_PROTO_GetShiftState [09:40:09]wFMCommunicate request_size=4 [09:40:09]MH_SAM_APDU [09:40:09]CAPDU: 80 13 01 00 [09:40:09]Write to MH i2c: E2 08 00 9F 07 80 13 01 00 00 00 00 00 23 [09:40:09]Write i2c OK [09:40:09]MH_I2C_Read... [09:40:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:09]Read from MH i2c: E2 [09:40:09]MH_I2C_Read... [09:40:09]Read from MH i2c: E2 0E 00 [09:40:09]MH_I2C_Read... [09:40:09]Read from MH i2c: E2 0E 00 9F 07 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 B1 [09:40:09]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:40:09]wFMCommunicate OK [09:40:09]SAM_PROTO_GetShiftState done [09:40:09]FM_GetShiftState done [09:40:09]opened in 1717372856 [09:40:09]opened+sec_in_day 1717459256 [09:40:09]quantity*price = 9500 [09:40:09]sum+1 = 9501 [09:40:09]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 0.00 Безнал.: 190.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 20 03.06.2024 09:40 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4039 ФПД: 244441469045638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T094012&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4039&fm=244441469045638&tin=02508201610067®Number=0000000000145775&sum=19000 0 [09:40:10]StoreToDocumentArchive [09:40:10]shift 82 fd 4039 [09:40:10]save to /storage/0082/doc_00004039 [09:40:10]save last doc name /storage/0082/doc_00004039 to /storage/kkm_last_doc_name [09:40:10]save OK [09:40:10]Clear old archive folders... [09:40:10]ProcessDocumentItem done err = 0, tmpTLVsize=419 [09:40:10]tlvbuf is 0078DC10 [09:40:10]SAM_PROTO_ClearQueue [09:40:10]wFMCommunicate request_size=4 [09:40:10]MH_SAM_APDU [09:40:10]CAPDU: 80 09 00 00 [09:40:10]Write to MH i2c: E2 08 00 AC 07 80 09 00 00 00 00 00 00 25 [09:40:10]Write i2c OK [09:40:10]MH_I2C_Read... [09:40:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:40:10]Read from MH i2c: E2 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 03 00 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 03 00 AC 07 00 90 00 27 [09:40:10]RAPDU: 90 00 [09:40:10]wFMCommunicate OK [09:40:10]SAM_PROTO_ClearQueue done [09:40:10]KKMCreateOFDPacket [09:40:10]OFDProtocolAddRootSTLVToBuf [09:40:10]FM_MakeSignedData [09:40:10]FM_MakeSignedData [09:40:10]SAM_PROTO_SignData [09:40:10]wFMCommunicate request_size=4 [09:40:10]MH_SAM_APDU [09:40:10]CAPDU: 80 0D 01 02 [09:40:10]Write to MH i2c: E2 08 00 AD 07 80 0D 01 02 00 00 00 00 2D [09:40:10]Write i2c OK [09:40:10]MH_I2C_Read... [09:40:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:40:10]Read from MH i2c: E2 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 03 00 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 03 00 AD 07 00 90 00 28 [09:40:10]RAPDU: 90 00 [09:40:10]wFMCommunicate OK [09:40:10]wFMCommunicate request_size=255 [09:40:10]MH_SAM_APDU [09:40:10]CAPDU: 80 0D 02 02 FA 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 [09:40:10]Write to MH i2c: E2 02 01 AE 07 80 0D 02 02 FA 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 00 00 02 [09:40:10]Write i2c OK [09:40:10]MH_I2C_Read... [09:40:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:10]Read from MH i2c: E2 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 03 00 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 03 00 AE 07 00 90 00 29 [09:40:10]RAPDU: 90 00 [09:40:10]wFMCommunicate OK [09:40:10]wFMCommunicate request_size=178 [09:40:10]MH_SAM_APDU [09:40:10]CAPDU: 80 0D 02 02 AD 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 7C 8F 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C7 0F 00 00 35 04 06 00 DE 51 76 EE 4B 86 [09:40:10]Write to MH i2c: E2 B5 00 AF 07 80 0D 02 02 AD 00 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 7C 8F 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C7 0F 00 00 35 04 06 00 DE 51 76 EE 4B 86 00 00 97 [09:40:10]Write i2c OK [09:40:10]MH_I2C_Read... [09:40:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:10]Read from MH i2c: E2 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 03 00 [09:40:10]MH_I2C_Read... [09:40:10]Read from MH i2c: E2 03 00 AF 07 00 90 00 2A [09:40:10]RAPDU: 90 00 [09:40:10]wFMCommunicate OK [09:40:10]wFMCommunicate request_size=4 [09:40:10]MH_SAM_APDU [09:40:10]CAPDU: 80 0D 03 02 [09:40:10]Write to MH i2c: E2 08 00 B0 07 80 0D 03 02 00 00 00 00 32 [09:40:10]Write i2c OK [09:40:10]MH_I2C_Read... [09:40:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:40:11]Read from MH i2c: E2 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: E2 0B 00 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: E2 0B 00 B0 07 00 38 79 0A 5D 3B E9 39 DF 90 00 87 [09:40:11]RAPDU: 38 79 0A 5D 3B E9 39 DF 90 00 [09:40:11]wFMCommunicate OK [09:40:11]SAM_PROTO_SignData done [09:40:11]FM_MakeSignedData done [09:40:11]CreateOFDProtocolMessage [09:40:11]wFMCommunicate request_size=4 [09:40:11]MH_SAM_APDU [09:40:11]CAPDU: 80 11 00 00 [09:40:11]Write to MH i2c: E2 08 00 B1 07 80 11 00 00 00 00 00 00 32 [09:40:11]Write i2c OK [09:40:11]MH_I2C_Read... [09:40:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:11]Read from MH i2c: E2 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: E2 17 00 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: E2 17 00 B1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 85 [09:40:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:40:11]wFMCommunicate OK [09:40:11]CreateOFDProtocolMessage done [09:40:11]OFDSenderStorePacket 4039 [09:40:11]StoreOFDPacket docnum=4039 [09:40:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B7 01 00 00 B1 63 AF 01 B1 0A 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 7C 8F 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C7 0F 00 00 35 04 06 00 DE 51 76 EE 4B 86 38 79 0A 5D 3B E9 39 DF [09:40:11]CheckFolder [09:40:11]dirname=/storage/ofd_packets [09:40:11]CheckFolder done [09:40:11]ProducePacketName [09:40:11]name=ofd_packets/00004039 [09:40:11]NVStorageSaveData ofd_packets/00004039 [09:40:11]File name is /storage/ofd_packets/00004039 [09:40:11]Write 469 bytes [09:40:11]NVStorageSaveData done [09:40:11]OFDSenderStorePacket done [09:40:11]KKMCreateOFDPacket done [09:40:11]NVStorageSaveData kkm_last_timestamp [09:40:11]File name is /storage/kkm_last_timestamp [09:40:11]Write 4 bytes [09:40:11]NVStorageSaveData done [09:40:11]ExternCall_PrintAddStr [09:40:11]wPrintStart [09:40:11]Write to MH i2c: 01 00 00 B2 07 B9 [09:40:11]Write i2c OK [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: 01 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: 01 07 00 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: 01 07 00 B2 07 00 00 00 00 00 FF 0F CE [09:40:11]RasterBufferAndPrint [09:40:11]line Счет N : (3)4293 [09:40:11]line ИНН: 02508201610067 [09:40:11]line Контрольно-Кассовый Чек [09:40:11]line ПРОДАЖА [09:40:11]line Товар: 4700000480050 [09:40:11]line Напиток Nitro Energy эн green ж/б 0,45л [09:40:11]line 1.000 * 95.00 [09:40:11]line = 95.00 [09:40:11]line НДС 12% НСП 1% [09:40:11]line > о реализуемом товаре [09:40:11]line Товар: 4631150682851 [09:40:11]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [09:40:11]line 1.000 * 95.00 [09:40:11]line = 95.00 [09:40:11]line НДС 12% НСП 1% [09:40:11]line > о реализуемом товаре [09:40:11]line ИТОГО: 190.00 [09:40:11]line НСП 1% : 1.68 [09:40:11]line НДС 12% : 20.18 [09:40:11]line Наличными: 0.00 [09:40:11]line Безнал.: 190.00 [09:40:11]line Место: АЗС № 116 "Партнер Нефть" [09:40:11]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:40:11]line СНО: Общий режим [09:40:11]line Чек 20 03.06.2024 09:40 [09:40:11]line Смена: 82 ФФД: 1.0 [09:40:11]line ЗНМ: 0300000233 [09:40:11]line РНМ: 0000000000145775 [09:40:11]line Версия ККМ: v1.0 [09:40:11]line Платежная система: О! деньги [09:40:11]line ФМ: 0000000000959360 [09:40:11]line ФД: 4039 [09:40:11]line ФПД: 244441469045638 [09:40:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T094012&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4039&fm=244441469045638&tin=02508201610067®Number=0000000000145775&sum=19000 [09:40:11]line 0 [09:40:11]written 0, free lines is 4095 [09:40:11]OFD Sender: Processing packet 4039 [packets to send 2, broken 1] [09:40:11]ProducePacketName [09:40:11]name=ofd_packets/00004039 [09:40:11]OFD Sender: To server: pG, [09:40:11]CommunicateWithHost lk.salyk.kg:30040 [09:40:11]ConnectInit lk.salyk.kg [09:40:11]Connected sock=10 [09:40:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B7 01 00 00 B1 63 AF 01 B1 0A 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 7C 8F 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C7 0F 00 00 35 04 06 00 DE 51 76 EE 4B 86 38 79 0A 5D 3B E9 39 DF [09:40:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FD 67 47 00 B2 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C7 0F 00 00 F4 03 04 00 80 3B 5D 66 B6 04 01 00 00 39 39 48 49 D1 A7 31 83 [09:40:11]CommunicateWithHost err = 0 [09:40:11]CheckOFDResponse [09:40:11]1017 (14) - 77093643461234 [09:40:11]1041 (16) - 0000000000959360 [09:40:11]1040 (4) - 4039 [09:40:11]1012 (4) - 03.06.2024 03:41 [09:40:11]1206 (1) - 0 [09:40:11]OFD Sender: Remove packet 4039 [09:40:11]ProducePacketName [09:40:11]name=ofd_packets/00004039 [09:40:11]NVStorageDeleteData [09:40:11]Write to MH i2c: 01 00 00 E4 07 EB [09:40:11]Write i2c OK [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: 01 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: 01 07 00 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: 01 07 00 E4 07 00 00 00 00 00 13 0C 11 [09:40:11]RasterBufferAndPrint [09:40:11]line [09:40:11]line [09:40:11]line [09:40:11]line [09:40:11]line [09:40:11]written 0, free lines is 3096 [09:40:11]MH_Cut [09:40:11]Write to MH i2c: D1 01 00 EB 07 01 C4 [09:40:11]Write i2c OK [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: D1 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: D1 01 00 [09:40:11]MH_I2C_Read... [09:40:11]Read from MH i2c: D1 01 00 EB 07 00 C3 [09:40:11]Write to MH i2c: 01 00 00 EC 07 F3 [09:40:11]Write i2c OK [09:40:11]MH_I2C_Read... [09:40:12]OFD Sender: No OFD packet to send [09:40:13]*** Cut start [09:40:13]*** Partial cut [09:40:13]*** CUTSNS_PIN = 1 [09:40:13]*** CUTSNS_PIN = 0 [09:40:13]*** Brake cut motor [09:40:13]Read from MH i2c: 01 [09:40:13]MH_I2C_Read... [09:40:13]*** Stop cut motor [09:40:13]*** Cut end [09:40:13]Read from MH i2c: 01 07 00 [09:40:13]MH_I2C_Read... [09:40:13]Read from MH i2c: 01 07 00 EC 07 00 00 00 00 00 FF 0F 08 [09:40:13]process_action close_receipt done [09:40:13]requested_data is exist [09:40:13]produce_requested_data [09:40:13]requested_item fm.sn is exist - process it [09:40:13]wFMCommunicate request_size=4 [09:40:13]MH_SAM_APDU [09:40:13]CAPDU: 80 11 00 00 [09:40:13]Write to MH i2c: E2 08 00 ED 07 80 11 00 00 00 00 00 00 6E [09:40:13]Write i2c OK [09:40:13]MH_I2C_Read... [09:40:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:13]Read from MH i2c: E2 [09:40:13]MH_I2C_Read... [09:40:13]Read from MH i2c: E2 17 00 [09:40:13]MH_I2C_Read... [09:40:13]Read from MH i2c: E2 17 00 ED 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C1 [09:40:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:40:13]wFMCommunicate OK [09:40:13]requested_item fd.num is exist - process it [09:40:13]SAM_PROTO_GetFieldsCounters [09:40:13]wFMCommunicate request_size=4 [09:40:13]MH_SAM_APDU [09:40:13]CAPDU: 80 13 00 00 [09:40:13]Write to MH i2c: E2 08 00 EE 07 80 13 00 00 00 00 00 00 71 [09:40:13]Write i2c OK [09:40:13]MH_I2C_Read... [09:40:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:40:13]Read from MH i2c: E2 [09:40:13]MH_I2C_Read... [09:40:13]Read from MH i2c: E2 62 00 [09:40:13]MH_I2C_Read... [09:40:13]Read from MH i2c: E2 62 00 EE 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C7 0F 00 00 0E 04 04 00 52 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 FA [09:40:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C7 0F 00 00 0E 04 04 00 52 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 [09:40:13]wFMCommunicate OK [09:40:13]SAM_PROTO_GetFieldsCounters done [09:40:13]requested_item shift.num is exist - process it [09:40:13]requested_item shift.opened is exist - process it [09:40:13]req_shift_opened [09:40:13]FM_GetShiftState [09:40:13]SAM_PROTO_GetShiftState [09:40:13]wFMCommunicate request_size=4 [09:40:13]MH_SAM_APDU [09:40:13]CAPDU: 80 13 01 00 [09:40:13]Write to MH i2c: E2 08 00 EF 07 80 13 01 00 00 00 00 00 73 [09:40:13]Write i2c OK [09:40:13]MH_I2C_Read... [09:40:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:13]Read from MH i2c: E2 [09:40:13]MH_I2C_Read... [09:40:13]Read from MH i2c: E2 0E 00 [09:40:13]MH_I2C_Read... [09:40:13]Read from MH i2c: E2 0E 00 EF 07 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 01 [09:40:13]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:40:13]wFMCommunicate OK [09:40:13]SAM_PROTO_GetShiftState done [09:40:13]FM_GetShiftState done [09:40:13]req_shift_opened done [09:40:13]requested_item shift.open_date is exist - process it [09:40:13]req_shift_open_date [09:40:13]req_shift_open_date done [09:40:13]produce_requested_data done [09:40:13]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4039,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [09:40:13]process_action_free close_receipt [09:40:13]json_value_free [09:40:13]json_value_free done [09:40:13]process_json_proto returns [09:40:13]Send response to host [09:40:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4039,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [09:40:13]free response buf [09:40:13]execute_script done [09:40:13]execute_script returns [09:40:13]free content buf [09:40:13]Sock 8.Close socket [09:40:13]Sock 8.Thread stoped [09:40:17]OFD Sender: No OFD packet to send [09:40:22]OFD Sender: No OFD packet to send [09:40:27]OFD Sender: No OFD packet to send [09:40:28]int [09:40:28]Write to MH i2c: 01 00 00 F0 07 F7 [09:40:28]*** FLAG_PRN_PAP1 set [09:40:28]Write i2c OK [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 07 00 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 07 00 F0 07 00 01 00 00 00 FF 0F 0D [09:40:28]state=0 [09:40:28]No paper [09:40:28]int [09:40:28]Write to MH i2c: 01 00 00 F1 07 F8 [09:40:28]*** FLAG_PRN_PAP2 set [09:40:28]Write i2c OK [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 07 00 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 07 00 F1 07 00 03 00 00 00 FF 0F 10 [09:40:28]state=0 [09:40:28]No paper [09:40:28]Cover opened [09:40:32]OFD Sender: No OFD packet to send [09:40:32]int [09:40:32]Write to MH i2c: 01 00 00 F2 07 F9 [09:40:32]*** FLAG_PRN_PAP2 reset [09:40:32]Write i2c OK [09:40:32]MH_I2C_Read... [09:40:32]Read from MH i2c: 01 [09:40:32]MH_I2C_Read... [09:40:32]Read from MH i2c: 01 07 00 [09:40:32]MH_I2C_Read... [09:40:32]Read from MH i2c: 01 07 00 F2 07 00 01 00 00 00 FF 0F 0F [09:40:32]state=3 [09:40:32]No paper [09:40:32]Cover closed [09:40:32]int [09:40:32]Write to MH i2c: 01 00 00 F3 07 FA [09:40:32]*** FLAG_PRN_PAP1 reset [09:40:32]Write i2c OK [09:40:32]MH_I2C_Read... [09:40:32]Read from MH i2c: 01 [09:40:32]MH_I2C_Read... [09:40:32]Read from MH i2c: 01 07 00 [09:40:32]MH_I2C_Read... [09:40:32]Read from MH i2c: 01 07 00 F3 07 00 00 00 00 00 FF 0F 0F [09:40:32]state=0 [09:40:37]OFD Sender: No OFD packet to send [09:40:42]OFD Sender: No OFD packet to send [09:40:47]OFD Sender: No OFD packet to send [09:40:52]OFD Sender: No OFD packet to send [09:40:57]OFD Sender: No OFD packet to send [09:41:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:07]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:37]OFD Sender: No OFD packet to send [09:44:42]OFD Sender: No OFD packet to send [09:44:47]OFD Sender: No OFD packet to send [09:44:52]OFD Sender: No OFD packet to send [09:44:57]OFD Sender: No OFD packet to send [09:45:02]OFD Sender: No OFD packet to send [09:45:07]OFD Sender: No OFD packet to send [09:45:12]OFD Sender: No OFD packet to send [09:45:17]OFD Sender: No OFD packet to send [09:45:22]OFD Sender: No OFD packet to send [09:45:27]OFD Sender: No OFD packet to send [09:45:32]OFD Sender: No OFD packet to send [09:45:37]OFD Sender: No OFD packet to send [09:45:42]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:07]OFD Sender: No OFD packet to send [09:46:12]OFD Sender: No OFD packet to send [09:46:17]OFD Sender: No OFD packet to send [09:46:22]OFD Sender: No OFD packet to send [09:46:27]OFD Sender: No OFD packet to send [09:46:32]OFD Sender: No OFD packet to send [09:46:37]OFD Sender: No OFD packet to send [09:46:42]OFD Sender: No OFD packet to send [09:46:47]OFD Sender: No OFD packet to send [09:46:52]OFD Sender: No OFD packet to send [09:46:57]OFD Sender: No OFD packet to send [09:47:02]OFD Sender: No OFD packet to send [09:47:07]OFD Sender: No OFD packet to send [09:47:12]OFD Sender: No OFD packet to send [09:47:17]OFD Sender: No OFD packet to send [09:47:22]OFD Sender: No OFD packet to send [09:47:27]OFD Sender: No OFD packet to send [09:47:32]OFD Sender: No OFD packet to send [09:47:37]OFD Sender: No OFD packet to send [09:47:42]OFD Sender: No OFD packet to send [09:47:47]OFD Sender: No OFD packet to send [09:47:52]OFD Sender: No OFD packet to send [09:47:57]OFD Sender: No OFD packet to send [09:48:02]OFD Sender: No OFD packet to send [09:48:07]OFD Sender: No OFD packet to send [09:48:12]OFD Sender: No OFD packet to send [09:48:17]OFD Sender: No OFD packet to send [09:48:22]OFD Sender: No OFD packet to send [09:48:27]OFD Sender: No OFD packet to send [09:48:32]OFD Sender: No OFD packet to send [09:48:37]OFD Sender: No OFD packet to send [09:48:42]OFD Sender: No OFD packet to send [09:48:47]OFD Sender: No OFD packet to send [09:48:52]OFD Sender: No OFD packet to send [09:48:57]OFD Sender: No OFD packet to send [09:49:02]OFD Sender: No OFD packet to send [09:49:07]OFD Sender: No OFD packet to send [09:49:12]OFD Sender: No OFD packet to send [09:49:17]OFD Sender: No OFD packet to send [09:49:22]OFD Sender: No OFD packet to send [09:49:27]OFD Sender: No OFD packet to send [09:49:32]OFD Sender: No OFD packet to send [09:49:37]OFD Sender: No OFD packet to send [09:49:42]OFD Sender: No OFD packet to send [09:49:47]OFD Sender: No OFD packet to send [09:49:52]OFD Sender: No OFD packet to send [09:49:57]OFD Sender: No OFD packet to send [09:50:02]OFD Sender: No OFD packet to send [09:50:07]OFD Sender: No OFD packet to send [09:50:12]OFD Sender: No OFD packet to send [09:50:17]OFD Sender: No OFD packet to send [09:50:22]OFD Sender: No OFD packet to send [09:50:27]OFD Sender: No OFD packet to send [09:50:32]OFD Sender: No OFD packet to send [09:50:37]OFD Sender: No OFD packet to send [09:50:42]OFD Sender: No OFD packet to send [09:50:47]OFD Sender: No OFD packet to send [09:50:52]OFD Sender: No OFD packet to send [09:50:57]OFD Sender: No OFD packet to send [09:51:02]OFD Sender: No OFD packet to send [09:51:07]OFD Sender: No OFD packet to send [09:51:12]OFD Sender: No OFD packet to send [09:51:17]OFD Sender: No OFD packet to send [09:51:22]OFD Sender: No OFD packet to send [09:51:27]OFD Sender: No OFD packet to send [09:51:32]OFD Sender: No OFD packet to send [09:51:37]OFD Sender: No OFD packet to send [09:51:42]OFD Sender: No OFD packet to send [09:51:47]OFD Sender: No OFD packet to send [09:51:52]OFD Sender: No OFD packet to send [09:51:57]OFD Sender: No OFD packet to send [09:52:02]OFD Sender: No OFD packet to send [09:52:07]OFD Sender: No OFD packet to send [09:52:12]OFD Sender: No OFD packet to send [09:52:17]OFD Sender: No OFD packet to send [09:52:22]OFD Sender: No OFD packet to send [09:52:27]OFD Sender: No OFD packet to send [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:58]OFD Sender: No OFD packet to send [09:56:03]OFD Sender: No OFD packet to send [09:56:08]OFD Sender: No OFD packet to send [09:56:13]OFD Sender: No OFD packet to send [09:56:18]OFD Sender: No OFD packet to send [09:56:23]OFD Sender: No OFD packet to send [09:56:23]accept exits with 9 [09:56:23]New connection [09:56:23]New thread 3067227492 created [09:56:23]Thread 3067370852 joined [09:56:23]Waiting for new connection... [09:56:23] Sock 9.Parse request [09:56:23]Sock 9.Check first char [09:56:23]Sock 9.First char is OK [09:56:23]request: POST /json_proto HTTP/1.0 [09:56:23]Method: POST [09:56:23]URL: /json_proto [09:56:23]Method is POST - this is cgi request [09:56:23]url: /json_proto [09:56:23]query_string will be loaded in cgi processing [09:56:23]execute_cgi json_proto POST (null) [09:56:23]execute_cgi path=json_proto method=POST [09:56:23]POST find Content-Length [09:56:23]Host: 172.17.56.68:8080 [09:56:23]Content-Length: 612 [09:56:23]Content-Type: application/json [09:56:23] [09:56:23]POST finish read [09:56:23]Found Content-Length = 612 [09:56:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4294", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:56:23]execute_script... [09:56: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)4294", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:56:23]POST & json_proto [09:56:23]process_json_proto [09:56:23]json parsed OK: [09:56:23]protocol is kg_v1.0 [09:56:23]action value=close_receipt [09:56:23]process_action close_receipt [09:56:23]cmd_close_receipt [09:56:23]MH_GetDate [09:56:23]Write to MH i2c: F0 00 00 F4 07 EA [09:56:23]Write i2c OK [09:56:23]MH_I2C_Read... [09:56:23]Read from MH i2c: F0 [09:56:23]MH_I2C_Read... [09:56:23]Read from MH i2c: F0 09 00 [09:56:23]MH_I2C_Read... [09:56:23]Read from MH i2c: F0 09 00 F4 07 00 4A 93 5D 66 42 69 5C 66 00 [09:56:23]GetLastDocTimeStamp 1717407612 [09:56:23]current date 1717408586 [09:56:23]FM_GetShiftState [09:56:23]SAM_PROTO_GetShiftState [09:56:23]wFMCommunicate request_size=4 [09:56:23]MH_SAM_APDU [09:56:23]CAPDU: 80 13 01 00 [09:56:23]Write to MH i2c: E2 08 00 F5 07 80 13 01 00 00 00 00 00 79 [09:56:23]Write i2c OK [09:56:23]MH_I2C_Read... [09:56:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:23]Read from MH i2c: E2 [09:56:23]MH_I2C_Read... [09:56:23]Read from MH i2c: E2 0E 00 [09:56:23]MH_I2C_Read... [09:56:23]Read from MH i2c: E2 0E 00 F5 07 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 07 [09:56:23]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:56:23]wFMCommunicate OK [09:56:23]SAM_PROTO_GetShiftState done [09:56:23]FM_GetShiftState done [09:56:23]opened in 1717372856 [09:56:23]opened+sec_in_day 1717459256 [09:56:23]quantity*price = 11000 [09:56:23]sum+1 = 11001 [09:56:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 21 03.06.2024 09:56 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4040 ФПД: 32919642050252 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T095626&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4040&fm=32919642050252&tin=02508201610067®Number=0000000000145775&sum=11000 0 [09:56:24]StoreToDocumentArchive [09:56:24]shift 82 fd 4040 [09:56:24]save to /storage/0082/doc_00004040 [09:56:24]save last doc name /storage/0082/doc_00004040 to /storage/kkm_last_doc_name [09:56:24]save OK [09:56:24]Clear old archive folders... [09:56:24]ProcessDocumentItem done err = 0, tmpTLVsize=266 [09:56:24]tlvbuf is 0078A240 [09:56:24]SAM_PROTO_ClearQueue [09:56:24]wFMCommunicate request_size=4 [09:56:24]MH_SAM_APDU [09:56:24]CAPDU: 80 09 00 00 [09:56:24]Write to MH i2c: E2 08 00 02 08 80 09 00 00 00 00 00 00 7C [09:56:24]Write i2c OK [09:56:24]MH_I2C_Read... [09:56:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:56:24]Read from MH i2c: E2 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 03 00 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 03 00 02 08 00 90 00 7E [09:56:24]RAPDU: 90 00 [09:56:24]wFMCommunicate OK [09:56:24]SAM_PROTO_ClearQueue done [09:56:24]KKMCreateOFDPacket [09:56:24]OFDProtocolAddRootSTLVToBuf [09:56:24]FM_MakeSignedData [09:56:24]FM_MakeSignedData [09:56:24]SAM_PROTO_SignData [09:56:24]wFMCommunicate request_size=4 [09:56:24]MH_SAM_APDU [09:56:24]CAPDU: 80 0D 01 02 [09:56:24]Write to MH i2c: E2 08 00 03 08 80 0D 01 02 00 00 00 00 84 [09:56:24]Write i2c OK [09:56:24]MH_I2C_Read... [09:56:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:56:24]Read from MH i2c: E2 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 03 00 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 03 00 03 08 00 90 00 7F [09:56:24]RAPDU: 90 00 [09:56:24]wFMCommunicate OK [09:56:24]wFMCommunicate request_size=255 [09:56:24]MH_SAM_APDU [09:56:24]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 4A 93 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [09:56:24]Write to MH i2c: E2 02 01 04 08 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 4A 93 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 08 [09:56:24]Write i2c OK [09:56:24]MH_I2C_Read... [09:56:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:24]Read from MH i2c: E2 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 03 00 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 03 00 04 08 00 90 00 80 [09:56:24]RAPDU: 90 00 [09:56:24]wFMCommunicate OK [09:56:24]wFMCommunicate request_size=25 [09:56:24]MH_SAM_APDU [09:56:24]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 C8 0F 00 00 35 04 06 00 1D F0 B3 92 0E CC [09:56:24]Write to MH i2c: E2 1C 00 05 08 80 0D 02 02 14 00 36 30 10 04 04 00 C8 0F 00 00 35 04 06 00 1D F0 B3 92 0E CC 00 00 6F [09:56:24]Write i2c OK [09:56:24]MH_I2C_Read... [09:56:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:24]Read from MH i2c: E2 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 03 00 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 03 00 05 08 00 90 00 81 [09:56:24]RAPDU: 90 00 [09:56:24]wFMCommunicate OK [09:56:24]wFMCommunicate request_size=4 [09:56:24]MH_SAM_APDU [09:56:24]CAPDU: 80 0D 03 02 [09:56:24]Write to MH i2c: E2 08 00 06 08 80 0D 03 02 00 00 00 00 89 [09:56:24]Write i2c OK [09:56:24]MH_I2C_Read... [09:56:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:56:24]Read from MH i2c: E2 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 0B 00 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 0B 00 06 08 00 C9 67 02 A0 B0 7C 14 6D 90 00 09 [09:56:24]RAPDU: C9 67 02 A0 B0 7C 14 6D 90 00 [09:56:24]wFMCommunicate OK [09:56:24]SAM_PROTO_SignData done [09:56:24]FM_MakeSignedData done [09:56:24]CreateOFDProtocolMessage [09:56:24]wFMCommunicate request_size=4 [09:56:24]MH_SAM_APDU [09:56:24]CAPDU: 80 11 00 00 [09:56:24]Write to MH i2c: E2 08 00 07 08 80 11 00 00 00 00 00 00 89 [09:56:24]Write i2c OK [09:56:24]MH_I2C_Read... [09:56:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:24]Read from MH i2c: E2 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 17 00 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: E2 17 00 07 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DC [09:56:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:56:24]wFMCommunicate OK [09:56:24]CreateOFDProtocolMessage done [09:56:24]OFDSenderStorePacket 4040 [09:56:24]StoreOFDPacket docnum=4040 [09:56:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 7A 16 16 01 DD 03 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 4A 93 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C8 0F 00 00 35 04 06 00 1D F0 B3 92 0E CC C9 67 02 A0 B0 7C 14 6D [09:56:24]CheckFolder [09:56:24]dirname=/storage/ofd_packets [09:56:24]CheckFolder done [09:56:24]ProducePacketName [09:56:24]name=ofd_packets/00004040 [09:56:24]NVStorageSaveData ofd_packets/00004040 [09:56:24]File name is /storage/ofd_packets/00004040 [09:56:24]Write 316 bytes [09:56:24]NVStorageSaveData done [09:56:24]OFDSenderStorePacket done [09:56:24]KKMCreateOFDPacket done [09:56:24]NVStorageSaveData kkm_last_timestamp [09:56:24]File name is /storage/kkm_last_timestamp [09:56:24]Write 4 bytes [09:56:24]NVStorageSaveData done [09:56:24]ExternCall_PrintAddStr [09:56:24]wPrintStart [09:56:24]Write to MH i2c: 01 00 00 08 08 10 [09:56:24]Write i2c OK [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: 01 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: 01 07 00 [09:56:24]MH_I2C_Read... [09:56:24]Read from MH i2c: 01 07 00 08 08 00 00 00 00 00 FF 0F 25 [09:56:24]RasterBufferAndPrint [09:56:24]line Счет N : (3)4294 [09:56:24]line ИНН: 02508201610067 [09:56:24]line Контрольно-Кассовый Чек [09:56:24]line ПРОДАЖА [09:56:24]line Товар: 4870001570071 [09:56:24]line Напиток Pepsi 1л [09:56:24]line 1.000 * 110.00 [09:56:24]line = 110.00 [09:56:24]line НДС 12% НСП 1% [09:56:24]line > о реализуемом товаре [09:56:24]line ИТОГО: 110.00 [09:56:24]line НСП 1% : 0.97 [09:56:24]line НДС 12% : 11.68 [09:56:24]line Наличными: 110.00 [09:56:24]line Безнал.: 0.00 [09:56:24]line Место: АЗС № 116 "Партнер Нефть" [09:56:24]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:56:24]line СНО: Общий режим [09:56:24]line Чек 21 03.06.2024 09:56 [09:56:24]line Смена: 82 ФФД: 1.0 [09:56:24]line ЗНМ: 0300000233 [09:56:24]line РНМ: 0000000000145775 [09:56:24]line Версия ККМ: v1.0 [09:56:24]line ФМ: 0000000000959360 [09:56:24]line ФД: 4040 [09:56:24]line ФПД: 32919642050252 [09:56:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T095626&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4040&fm=32919642050252&tin=02508201610067®Number=0000000000145775&sum=11000 [09:56:25]line 0 [09:56:25]OFD Sender: Processing packet 4040 [packets to send 2, broken 1] [09:56:25]ProducePacketName [09:56:25]name=ofd_packets/00004040 [09:56:25]OFD Sender: To server: pG, [09:56:25]CommunicateWithHost lk.salyk.kg:30040 [09:56:25]ConnectInit lk.salyk.kg [09:56:25]written 0, free lines is 4095 [09:56:25]Connected sock=10 [09:56:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 7A 16 16 01 DD 03 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 4A 93 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C8 0F 00 00 35 04 06 00 1D F0 B3 92 0E CC C9 67 02 A0 B0 7C 14 6D [09:56:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 5B 34 47 00 3A 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C8 0F 00 00 F4 03 04 00 4E 3F 5D 66 B6 04 01 00 00 06 4C 9A 86 9F 7A F4 CD [09:56:25]CommunicateWithHost err = 0 [09:56:25]CheckOFDResponse [09:56:25]1017 (14) - 77093643461234 [09:56:25]1041 (16) - 0000000000959360 [09:56:25]1040 (4) - 4040 [09:56:25]1012 (4) - 03.06.2024 03:58 [09:56:25]1206 (1) - 0 [09:56:25]OFD Sender: Remove packet 4040 [09:56:25]ProducePacketName [09:56:25]name=ofd_packets/00004040 [09:56:25]NVStorageDeleteData [09:56:25]Write to MH i2c: 01 00 00 30 08 38 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: 01 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: 01 07 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: 01 07 00 30 08 00 00 00 00 00 C8 0C 13 [09:56:25]RasterBufferAndPrint [09:56:25]line [09:56:25]line [09:56:25]line [09:56:25]line [09:56:25]line [09:56:25]written 0, free lines is 3277 [09:56:25]MH_Cut [09:56:25]Write to MH i2c: D1 01 00 37 08 01 11 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: D1 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: D1 01 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: D1 01 00 37 08 00 10 [09:56:25]Write to MH i2c: 01 00 00 38 08 40 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]OFD Sender: No OFD packet to send [09:56:26]*** Cut start [09:56:26]*** Partial cut [09:56:26]*** CUTSNS_PIN = 1 [09:56:26]*** CUTSNS_PIN = 0 [09:56:26]*** Brake cut motor [09:56:26]Read from MH i2c: 01 [09:56:26]MH_I2C_Read... [09:56:26]*** Stop cut motor [09:56:26]*** Cut end [09:56:26]Read from MH i2c: 01 07 00 [09:56:26]MH_I2C_Read... [09:56:26]Read from MH i2c: 01 07 00 38 08 00 00 00 00 00 FF 0F 55 [09:56:26]process_action close_receipt done [09:56:26]requested_data is exist [09:56:26]produce_requested_data [09:56:26]requested_item fm.sn is exist - process it [09:56:26]wFMCommunicate request_size=4 [09:56:26]MH_SAM_APDU [09:56:26]CAPDU: 80 11 00 00 [09:56:26]Write to MH i2c: E2 08 00 39 08 80 11 00 00 00 00 00 00 BB [09:56:26]Write i2c OK [09:56:26]MH_I2C_Read... [09:56:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:27]Read from MH i2c: E2 [09:56:27]MH_I2C_Read... [09:56:27]Read from MH i2c: E2 17 00 [09:56:27]MH_I2C_Read... [09:56:27]Read from MH i2c: E2 17 00 39 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0E [09:56:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:56:27]wFMCommunicate OK [09:56:27]requested_item fd.num is exist - process it [09:56:27]SAM_PROTO_GetFieldsCounters [09:56:27]wFMCommunicate request_size=4 [09:56:27]MH_SAM_APDU [09:56:27]CAPDU: 80 13 00 00 [09:56:27]Write to MH i2c: E2 08 00 3A 08 80 13 00 00 00 00 00 00 BE [09:56:27]Write i2c OK [09:56:27]MH_I2C_Read... [09:56:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:27]Read from MH i2c: E2 [09:56:27]MH_I2C_Read... [09:56:27]Read from MH i2c: E2 62 00 [09:56:27]MH_I2C_Read... [09:56:27]Read from MH i2c: E2 62 00 3A 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C8 0F 00 00 0E 04 04 00 52 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 4B [09:56:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C8 0F 00 00 0E 04 04 00 52 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 [09:56:27]wFMCommunicate OK [09:56:27]SAM_PROTO_GetFieldsCounters done [09:56:27]requested_item shift.num is exist - process it [09:56:27]requested_item shift.opened is exist - process it [09:56:27]req_shift_opened [09:56:27]FM_GetShiftState [09:56:27]SAM_PROTO_GetShiftState [09:56:27]wFMCommunicate request_size=4 [09:56:27]MH_SAM_APDU [09:56:27]CAPDU: 80 13 01 00 [09:56:27]Write to MH i2c: E2 08 00 3B 08 80 13 01 00 00 00 00 00 C0 [09:56:27]Write i2c OK [09:56:27]MH_I2C_Read... [09:56:27]Read from MH i2c: E2 [09:56:27]MH_I2C_Read... [09:56:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:27]Read from MH i2c: E2 0E 00 [09:56:27]MH_I2C_Read... [09:56:27]Read from MH i2c: E2 0E 00 3B 08 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 4E [09:56:27]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [09:56:27]wFMCommunicate OK [09:56:27]SAM_PROTO_GetShiftState done [09:56:27]FM_GetShiftState done [09:56:27]req_shift_opened done [09:56:27]requested_item shift.open_date is exist - process it [09:56:27]req_shift_open_date [09:56:27]req_shift_open_date done [09:56:27]produce_requested_data done [09:56:27]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4040,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [09:56:27]process_action_free close_receipt [09:56:27]json_value_free [09:56:27]json_value_free done [09:56:27]process_json_proto returns [09:56:27]Send response to host [09:56:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4040,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [09:56:27]free response buf [09:56:27]execute_script done [09:56:27]execute_script returns [09:56:27]free content buf [09:56:27]Sock 9.Close socket [09:56:27]Sock 9.Thread stoped [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [09:56:40]OFD Sender: No OFD packet to send [09:56:45]OFD Sender: No OFD packet to send [09:56:50]OFD Sender: No OFD packet to send [09:56:55]OFD Sender: No OFD packet to send [09:57:00]OFD Sender: No OFD packet to send [09:57:05]OFD Sender: No OFD packet to send [09:57:10]OFD Sender: No OFD packet to send [09:57:15]OFD Sender: No OFD packet to send [09:57:20]OFD Sender: No OFD packet to send [09:57:25]OFD Sender: No OFD packet to send [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:46]OFD Sender: No OFD packet to send [09:59:51]OFD Sender: No OFD packet to send [09:59:56]OFD Sender: No OFD packet to send [10:00:01]OFD Sender: No OFD packet to send [10:00:06]OFD Sender: No OFD packet to send [10:00:11]OFD Sender: No OFD packet to send [10:00:16]OFD Sender: No OFD packet to send [10:00:21]OFD Sender: No OFD packet to send [10:00:26]OFD Sender: No OFD packet to send [10:00:31]OFD Sender: No OFD packet to send [10:00:36]OFD Sender: No OFD packet to send [10:00:41]OFD Sender: No OFD packet to send [10:00:46]OFD Sender: No OFD packet to send [10:00:51]OFD Sender: No OFD packet to send [10:00:56]OFD Sender: No OFD packet to send [10:01:01]OFD Sender: No OFD packet to send [10:01:06]OFD Sender: No OFD packet to send [10:01:11]OFD Sender: No OFD packet to send [10:01:16]OFD Sender: No OFD packet to send [10:01:21]OFD Sender: No OFD packet to send [10:01:26]OFD Sender: No OFD packet to send [10:01:31]OFD Sender: No OFD packet to send [10:01:36]OFD Sender: No OFD packet to send [10:01:41]OFD Sender: No OFD packet to send [10:01:46]OFD Sender: No OFD packet to send [10:01:51]OFD Sender: No OFD packet to send [10:01:56]OFD Sender: No OFD packet to send [10:02:01]OFD Sender: No OFD packet to send [10:02:06]OFD Sender: No OFD packet to send [10:02:11]OFD Sender: No OFD packet to send [10:02:16]OFD Sender: No OFD packet to send [10:02:21]OFD Sender: No OFD packet to send [10:02:26]OFD Sender: No OFD packet to send [10:02:31]OFD Sender: No OFD packet to send [10:02:36]OFD Sender: No OFD packet to send [10:02:41]OFD Sender: No OFD packet to send [10:02:46]OFD Sender: No OFD packet to send [10:02:51]OFD Sender: No OFD packet to send [10:02:56]OFD Sender: No OFD packet to send [10:03:01]OFD Sender: No OFD packet to send [10:03:06]OFD Sender: No OFD packet to send [10:03:11]OFD Sender: No OFD packet to send [10:03:16]OFD Sender: No OFD packet to send [10:03:21]OFD Sender: No OFD packet to send [10:03:26]OFD Sender: No OFD packet to send [10:03:31]OFD Sender: No OFD packet to send [10:03:36]OFD Sender: No OFD packet to send [10:03:41]OFD Sender: No OFD packet to send [10:03:46]OFD Sender: No OFD packet to send [10:03:51]OFD Sender: No OFD packet to send [10:03:56]OFD Sender: No OFD packet to send [10:04:01]OFD Sender: No OFD packet to send [10:04:06]OFD Sender: No OFD packet to send [10:04:11]OFD Sender: No OFD packet to send [10:04:16]OFD Sender: No OFD packet to send [10:04:21]OFD Sender: No OFD packet to send [10:04:26]OFD Sender: No OFD packet to send [10:04:31]OFD Sender: No OFD packet to send [10:04:36]OFD Sender: No OFD packet to send [10:04:41]OFD Sender: No OFD packet to send [10:04:46]OFD Sender: No OFD packet to send [10:04:51]OFD Sender: No OFD packet to send [10:04:56]OFD Sender: No OFD packet to send [10:05:01]OFD Sender: No OFD packet to send [10:05:06]OFD Sender: No OFD packet to send [10:05:11]OFD Sender: No OFD packet to send [10:05:16]OFD Sender: No OFD packet to send [10:05:21]OFD Sender: No OFD packet to send [10:05:26]OFD Sender: No OFD packet to send [10:05:31]OFD Sender: No OFD packet to send [10:05:36]OFD Sender: No OFD packet to send [10:05:41]OFD Sender: No OFD packet to send [10:05:46]OFD Sender: No OFD packet to send [10:05:51]OFD Sender: No OFD packet to send [10:05:56]OFD Sender: No OFD packet to send [10:06:01]OFD Sender: No OFD packet to send [10:06:06]OFD Sender: No OFD packet to send [10:06:11]OFD Sender: No OFD packet to send [10:06:16]OFD Sender: No OFD packet to send [10:06:21]OFD Sender: No OFD packet to send [10:06:26]OFD Sender: No OFD packet to send [10:06:31]OFD Sender: No OFD packet to send [10:06:36]OFD Sender: No OFD packet to send [10:06:41]OFD Sender: No OFD packet to send [10:06:46]OFD Sender: No OFD packet to send [10:06:51]OFD Sender: No OFD packet to send [10:06:56]OFD Sender: No OFD packet to send [10:07:01]OFD Sender: No OFD packet to send [10:07:06]OFD Sender: No OFD packet to send [10:07:11]OFD Sender: No OFD packet to send [10:07:16]OFD Sender: No OFD packet to send [10:07:21]OFD Sender: No OFD packet to send [10:07:25]accept exits with 8 [10:07:25]New connection [10:07:25]New thread 3067370852 created [10:07:25]Thread 3067227492 joined [10:07:25]Waiting for new connection... [10:07:25] Sock 8.Parse request [10:07:25]Sock 8.Check first char [10:07:25]Sock 8.First char is OK [10:07:25]request: POST /json_proto HTTP/1.0 [10:07:25]Method: POST [10:07:25]URL: /json_proto [10:07:25]Method is POST - this is cgi request [10:07:25]url: /json_proto [10:07:25]query_string will be loaded in cgi processing [10:07:25]execute_cgi json_proto POST (null) [10:07:25]execute_cgi path=json_proto method=POST [10:07:25]POST find Content-Length [10:07:25]Host: 172.17.56.68:8080 [10:07:25]Content-Length: 643 [10:07:25]Content-Type: application/json [10:07:25] [10:07:25]POST finish read [10:07:25]Found Content-Length = 643 [10:07:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4295", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:07:25]execute_script... [10:07:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4295", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:07:25]POST & json_proto [10:07:25]process_json_proto [10:07:25]json parsed OK: [10:07:25]protocol is kg_v1.0 [10:07:25]action value=close_receipt [10:07:25]process_action close_receipt [10:07:25]cmd_close_receipt [10:07:25]MH_GetDate [10:07:25]Write to MH i2c: F0 00 00 3C 08 33 [10:07:25]Write i2c OK [10:07:25]MH_I2C_Read... [10:07:25]Read from MH i2c: F0 [10:07:25]MH_I2C_Read... [10:07:25]Read from MH i2c: F0 09 00 [10:07:25]MH_I2C_Read... [10:07:25]Read from MH i2c: F0 09 00 3C 08 00 E1 95 5D 66 42 69 5C 66 E2 [10:07:25]GetLastDocTimeStamp 1717408586 [10:07:25]current date 1717409249 [10:07:25]FM_GetShiftState [10:07:25]SAM_PROTO_GetShiftState [10:07:25]wFMCommunicate request_size=4 [10:07:25]MH_SAM_APDU [10:07:25]CAPDU: 80 13 01 00 [10:07:25]Write to MH i2c: E2 08 00 3D 08 80 13 01 00 00 00 00 00 C2 [10:07:25]Write i2c OK [10:07:25]MH_I2C_Read... [10:07:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:25]Read from MH i2c: E2 [10:07:25]MH_I2C_Read... [10:07:25]Read from MH i2c: E2 0E 00 [10:07:25]MH_I2C_Read... [10:07:25]Read from MH i2c: E2 0E 00 3D 08 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 50 [10:07:25]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:07:25]wFMCommunicate OK [10:07:25]SAM_PROTO_GetShiftState done [10:07:25]FM_GetShiftState done [10:07:25]opened in 1717372856 [10:07:25]opened+sec_in_day 1717459256 [10:07:25]quantity*price = 5500 [10:07:25]sum+1 = 5501 [10:07:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 55.00 НСП 1% : 0.49 НДС 12% : 5.84 Наличными: 55.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 22 03.06.2024 10:07 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4041 ФПД: 261772307717684 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T100729&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4041&fm=261772307717684&tin=02508201610067®Number=0000000000145775&sum=5500 0 [10:07:27]StoreToDocumentArchive [10:07:27]shift 82 fd 4041 [10:07:27]save to /storage/0082/doc_00004041 [10:07:27]save last doc name /storage/0082/doc_00004041 to /storage/kkm_last_doc_name [10:07:27]save OK [10:07:27]Clear old archive folders... [10:07:27]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:07:27]tlvbuf is 00791810 [10:07:27]SAM_PROTO_ClearQueue [10:07:27]wFMCommunicate request_size=4 [10:07:27]MH_SAM_APDU [10:07:27]CAPDU: 80 09 00 00 [10:07:27]Write to MH i2c: E2 08 00 4A 08 80 09 00 00 00 00 00 00 C4 [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:07:27]Read from MH i2c: E2 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 03 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 03 00 4A 08 00 90 00 C6 [10:07:27]RAPDU: 90 00 [10:07:27]wFMCommunicate OK [10:07:27]SAM_PROTO_ClearQueue done [10:07:27]KKMCreateOFDPacket [10:07:27]OFDProtocolAddRootSTLVToBuf [10:07:27]FM_MakeSignedData [10:07:27]FM_MakeSignedData [10:07:27]SAM_PROTO_SignData [10:07:27]wFMCommunicate request_size=4 [10:07:27]MH_SAM_APDU [10:07:27]CAPDU: 80 0D 01 02 [10:07:27]Write to MH i2c: E2 08 00 4B 08 80 0D 01 02 00 00 00 00 CC [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:07:27]Read from MH i2c: E2 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 03 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 03 00 4B 08 00 90 00 C7 [10:07:27]RAPDU: 90 00 [10:07:27]wFMCommunicate OK [10:07:27]wFMCommunicate request_size=255 [10:07:27]MH_SAM_APDU [10:07:27]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 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 E1 95 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 [10:07:27]Write to MH i2c: E2 02 01 4C 08 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 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 E1 95 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 00 00 9B [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:27]Read from MH i2c: E2 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 03 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 03 00 4C 08 00 90 00 C8 [10:07:27]RAPDU: 90 00 [10:07:27]wFMCommunicate OK [10:07:27]wFMCommunicate request_size=35 [10:07:27]MH_SAM_APDU [10:07:27]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C9 0F 00 00 35 04 06 00 EE 14 9D 69 DE 34 [10:07:27]Write to MH i2c: E2 26 00 4D 08 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C9 0F 00 00 35 04 06 00 EE 14 9D 69 DE 34 00 00 B4 [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:27]Read from MH i2c: E2 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 03 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 03 00 4D 08 00 90 00 C9 [10:07:27]RAPDU: 90 00 [10:07:27]wFMCommunicate OK [10:07:27]wFMCommunicate request_size=4 [10:07:27]MH_SAM_APDU [10:07:27]CAPDU: 80 0D 03 02 [10:07:27]Write to MH i2c: E2 08 00 4E 08 80 0D 03 02 00 00 00 00 D1 [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:07:27]Read from MH i2c: E2 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 0B 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 0B 00 4E 08 00 CF A6 A1 52 90 7E C7 3A 90 00 49 [10:07:27]RAPDU: CF A6 A1 52 90 7E C7 3A 90 00 [10:07:27]wFMCommunicate OK [10:07:27]SAM_PROTO_SignData done [10:07:27]FM_MakeSignedData done [10:07:27]CreateOFDProtocolMessage [10:07:27]wFMCommunicate request_size=4 [10:07:27]MH_SAM_APDU [10:07:27]CAPDU: 80 11 00 00 [10:07:27]Write to MH i2c: E2 08 00 4F 08 80 11 00 00 00 00 00 00 D1 [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:27]Read from MH i2c: E2 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 17 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: E2 17 00 4F 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 24 [10:07:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:07:27]wFMCommunicate OK [10:07:27]CreateOFDProtocolMessage done [10:07:27]OFDSenderStorePacket 4041 [10:07:27]StoreOFDPacket docnum=4041 [10:07:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 A7 9D 20 01 41 DA 5A 03 01 00 03 00 14 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 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 E1 95 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C9 0F 00 00 35 04 06 00 EE 14 9D 69 DE 34 CF A6 A1 52 90 7E C7 3A [10:07:27]CheckFolder [10:07:27]dirname=/storage/ofd_packets [10:07:27]CheckFolder done [10:07:27]ProducePacketName [10:07:27]name=ofd_packets/00004041 [10:07:27]NVStorageSaveData ofd_packets/00004041 [10:07:27]File name is /storage/ofd_packets/00004041 [10:07:27]Write 326 bytes [10:07:27]NVStorageSaveData done [10:07:27]OFDSenderStorePacket done [10:07:27]KKMCreateOFDPacket done [10:07:27]NVStorageSaveData kkm_last_timestamp [10:07:27]File name is /storage/kkm_last_timestamp [10:07:27]Write 4 bytes [10:07:27]NVStorageSaveData done [10:07:27]ExternCall_PrintAddStr [10:07:27]wPrintStart [10:07:27]Write to MH i2c: 01 00 00 50 08 58 [10:07:27]Write i2c OK [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: 01 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: 01 07 00 [10:07:27]MH_I2C_Read... [10:07:27]Read from MH i2c: 01 07 00 50 08 00 00 00 00 00 FF 0F 6D [10:07:27]RasterBufferAndPrint [10:07:27]line Счет N : (3)4295 [10:07:27]line ИНН: 02508201610067 [10:07:27]line Контрольно-Кассовый Чек [10:07:27]line ПРОДАЖА [10:07:27]line Товар: 4700000310043 [10:07:27]line Вода Жалалабат 27 1л [10:07:27]line 1.000 * 55.00 [10:07:27]line = 55.00 [10:07:27]line НДС 12% НСП 1% [10:07:27]line > о реализуемом товаре [10:07:27]line ИТОГО: 55.00 [10:07:27]line НСП 1% : 0.49 [10:07:27]line НДС 12% : 5.84 [10:07:27]line Наличными: 55.00 [10:07:27]line Безнал.: 0.00 [10:07:27]line Место: АЗС № 116 "Партнер Нефть" [10:07:27]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:07:27]line СНО: Общий режим [10:07:27]line Чек 22 03.06.2024 10:07 [10:07:27]line Смена: 82 ФФД: 1.0 [10:07:27]line ЗНМ: 0300000233 [10:07:27]line РНМ: 0000000000145775 [10:07:27]line Версия ККМ: v1.0 [10:07:27]line ФМ: 0000000000959360 [10:07:27]line ФД: 4041 [10:07:27]line ФПД: 261772307717684 [10:07:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T100729&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4041&fm=261772307717684&tin=02508201610067®Number=0000000000145775&sum=5500 [10:07:28]line 0 [10:07:28]OFD Sender: Processing packet 4041 [packets to send 2, broken 1] [10:07:28]ProducePacketName [10:07:28]name=ofd_packets/00004041 [10:07:28]OFD Sender: To server: pG, [10:07:28]CommunicateWithHost lk.salyk.kg:30040 [10:07:28]ConnectInit lk.salyk.kg [10:07:28]written 0, free lines is 4095 [10:07:28]Connected sock=10 [10:07:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 A7 9D 20 01 41 DA 5A 03 01 00 03 00 14 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 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 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 E1 95 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C9 0F 00 00 35 04 06 00 EE 14 9D 69 DE 34 CF A6 A1 52 90 7E C7 3A [10:07:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 BF E9 47 00 FD 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 C9 0F 00 00 F4 03 04 00 E5 41 5D 66 B6 04 01 00 00 21 A7 B5 E8 8C 89 3F FD [10:07:28]CommunicateWithHost err = 0 [10:07:28]CheckOFDResponse [10:07:28]1017 (14) - 77093643461234 [10:07:28]1041 (16) - 0000000000959360 [10:07:28]1040 (4) - 4041 [10:07:28]1012 (4) - 03.06.2024 04:09 [10:07:28]1206 (1) - 0 [10:07:28]OFD Sender: Remove packet 4041 [10:07:28]ProducePacketName [10:07:28]name=ofd_packets/00004041 [10:07:28]NVStorageDeleteData [10:07:28]Write to MH i2c: 01 00 00 78 08 80 [10:07:28]Write i2c OK [10:07:28]MH_I2C_Read... [10:07:28]Read from MH i2c: 01 [10:07:28]MH_I2C_Read... [10:07:28]Read from MH i2c: 01 07 00 [10:07:28]MH_I2C_Read... [10:07:28]Read from MH i2c: 01 07 00 78 08 00 00 00 00 00 D6 0C 69 [10:07:28]RasterBufferAndPrint [10:07:28]line [10:07:28]line [10:07:28]line [10:07:28]line [10:07:28]line [10:07:28]written 0, free lines is 3293 [10:07:28]MH_Cut [10:07:28]Write to MH i2c: D1 01 00 7F 08 01 59 [10:07:28]Write i2c OK [10:07:28]MH_I2C_Read... [10:07:28]Read from MH i2c: D1 [10:07:28]MH_I2C_Read... [10:07:28]Read from MH i2c: D1 01 00 [10:07:28]MH_I2C_Read... [10:07:28]Read from MH i2c: D1 01 00 7F 08 00 58 [10:07:28]Write to MH i2c: 01 00 00 80 08 88 [10:07:28]Write i2c OK [10:07:28]MH_I2C_Read... [10:07:28]OFD Sender: No OFD packet to send [10:07:29]*** Cut start [10:07:29]*** Partial cut [10:07:29]*** CUTSNS_PIN = 1 [10:07:29]*** CUTSNS_PIN = 0 [10:07:29]*** Brake cut motor [10:07:29]Read from MH i2c: 01 [10:07:29]MH_I2C_Read... [10:07:29]*** Stop cut motor [10:07:29]*** Cut end [10:07:29]Read from MH i2c: 01 07 00 [10:07:29]MH_I2C_Read... [10:07:29]Read from MH i2c: 01 07 00 80 08 00 00 00 00 00 FF 0F 9D [10:07:29]process_action close_receipt done [10:07:29]requested_data is exist [10:07:29]produce_requested_data [10:07:29]requested_item fm.sn is exist - process it [10:07:29]wFMCommunicate request_size=4 [10:07:29]MH_SAM_APDU [10:07:29]CAPDU: 80 11 00 00 [10:07:29]Write to MH i2c: E2 08 00 81 08 80 11 00 00 00 00 00 00 03 [10:07:29]Write i2c OK [10:07:29]MH_I2C_Read... [10:07:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:30]Read from MH i2c: E2 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: E2 17 00 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: E2 17 00 81 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 56 [10:07:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:07:30]wFMCommunicate OK [10:07:30]requested_item fd.num is exist - process it [10:07:30]SAM_PROTO_GetFieldsCounters [10:07:30]wFMCommunicate request_size=4 [10:07:30]MH_SAM_APDU [10:07:30]CAPDU: 80 13 00 00 [10:07:30]Write to MH i2c: E2 08 00 82 08 80 13 00 00 00 00 00 00 06 [10:07:30]Write i2c OK [10:07:30]MH_I2C_Read... [10:07:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:07:30]Read from MH i2c: E2 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: E2 62 00 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: E2 62 00 82 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C9 0F 00 00 0E 04 04 00 52 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 97 [10:07:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 C9 0F 00 00 0E 04 04 00 52 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 [10:07:30]wFMCommunicate OK [10:07:30]SAM_PROTO_GetFieldsCounters done [10:07:30]requested_item shift.num is exist - process it [10:07:30]requested_item shift.opened is exist - process it [10:07:30]req_shift_opened [10:07:30]FM_GetShiftState [10:07:30]SAM_PROTO_GetShiftState [10:07:30]wFMCommunicate request_size=4 [10:07:30]MH_SAM_APDU [10:07:30]CAPDU: 80 13 01 00 [10:07:30]Write to MH i2c: E2 08 00 83 08 80 13 01 00 00 00 00 00 08 [10:07:30]Write i2c OK [10:07:30]MH_I2C_Read... [10:07:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:30]Read from MH i2c: E2 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: E2 0E 00 [10:07:30]MH_I2C_Read... [10:07:30]Read from MH i2c: E2 0E 00 83 08 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 96 [10:07:30]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:07:30]wFMCommunicate OK [10:07:30]SAM_PROTO_GetShiftState done [10:07:30]FM_GetShiftState done [10:07:30]req_shift_opened done [10:07:30]requested_item shift.open_date is exist - process it [10:07:30]req_shift_open_date [10:07:30]req_shift_open_date done [10:07:30]produce_requested_data done [10:07:30]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4041,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [10:07:30]process_action_free close_receipt [10:07:30]json_value_free [10:07:30]json_value_free done [10:07:30]process_json_proto returns [10:07:30]Send response to host [10:07:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4041,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [10:07:30]free response buf [10:07:30]execute_script done [10:07:30]execute_script returns [10:07:30]free content buf [10:07:30]Sock 8.Close socket [10:07:30]Sock 8.Thread stoped [10:07:33]OFD Sender: No OFD packet to send [10:07:38]OFD Sender: No OFD packet to send [10:07:43]OFD Sender: No OFD packet to send [10:07:48]OFD Sender: No OFD packet to send [10:07:53]OFD Sender: No OFD packet to send [10:07:58]OFD Sender: No OFD packet to send [10:08:03]OFD Sender: No OFD packet to send [10:08:08]OFD Sender: No OFD packet to send [10:08:13]OFD Sender: No OFD packet to send [10:08:18]OFD Sender: No OFD packet to send [10:08:23]OFD Sender: No OFD packet to send [10:08:28]OFD Sender: No OFD packet to send [10:08:33]OFD Sender: No OFD packet to send [10:08:38]OFD Sender: No OFD packet to send [10:08:43]OFD Sender: No OFD packet to send [10:08:48]OFD Sender: No OFD packet to send [10:08:53]OFD Sender: No OFD packet to send [10:08:58]OFD Sender: No OFD packet to send [10:09:03]OFD Sender: No OFD packet to send [10:09:08]OFD Sender: No OFD packet to send [10:09:13]OFD Sender: No OFD packet to send [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:04]OFD Sender: No OFD packet to send [10:12:09]OFD Sender: No OFD packet to send [10:12:14]OFD Sender: No OFD packet to send [10:12:19]OFD Sender: No OFD packet to send [10:12:24]OFD Sender: No OFD packet to send [10:12:29]OFD Sender: No OFD packet to send [10:12:34]OFD Sender: No OFD packet to send [10:12:39]OFD Sender: No OFD packet to send [10:12:44]OFD Sender: No OFD packet to send [10:12:49]OFD Sender: No OFD packet to send [10:12:54]OFD Sender: No OFD packet to send [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:55]accept exits with 9 [10:13:55]New connection [10:13:55]New thread 3067227492 created [10:13:55]Thread 3067370852 joined [10:13:55]Waiting for new connection... [10:13:55] Sock 9.Parse request [10:13:55]Sock 9.Check first char [10:13:55]Sock 9.First char is OK [10:13:55]request: POST /json_proto HTTP/1.0 [10:13:55]Method: POST [10:13:55]URL: /json_proto [10:13:55]Method is POST - this is cgi request [10:13:55]url: /json_proto [10:13:55]query_string will be loaded in cgi processing [10:13:55]execute_cgi json_proto POST (null) [10:13:55]execute_cgi path=json_proto method=POST [10:13:55]POST find Content-Length [10:13:55]Host: 172.17.56.68:8080 [10:13:55]Content-Length: 652 [10:13:55]Content-Type: application/json [10:13:55] [10:13:55]POST finish read [10:13:55]Found Content-Length = 652 [10:13:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4296", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:13:55]execute_script... [10:13:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4296", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:13:55]POST & json_proto [10:13:55]process_json_proto [10:13:55]json parsed OK: [10:13:55]protocol is kg_v1.0 [10:13:55]action value=close_receipt [10:13:55]process_action close_receipt [10:13:55]cmd_close_receipt [10:13:55]MH_GetDate [10:13:55]Write to MH i2c: F0 00 00 84 08 7B [10:13:55]Write i2c OK [10:13:55]MH_I2C_Read... [10:13:55]Read from MH i2c: F0 [10:13:55]MH_I2C_Read... [10:13:55]Read from MH i2c: F0 09 00 [10:13:55]MH_I2C_Read... [10:13:55]Read from MH i2c: F0 09 00 84 08 00 67 97 5D 66 42 69 5C 66 B2 [10:13:55]GetLastDocTimeStamp 1717409249 [10:13:55]current date 1717409639 [10:13:55]FM_GetShiftState [10:13:55]SAM_PROTO_GetShiftState [10:13:55]wFMCommunicate request_size=4 [10:13:55]MH_SAM_APDU [10:13:55]CAPDU: 80 13 01 00 [10:13:55]Write to MH i2c: E2 08 00 85 08 80 13 01 00 00 00 00 00 0A [10:13:55]Write i2c OK [10:13:55]MH_I2C_Read... [10:13:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:13:55]Read from MH i2c: E2 [10:13:55]MH_I2C_Read... [10:13:55]Read from MH i2c: E2 0E 00 [10:13:55]MH_I2C_Read... [10:13:55]Read from MH i2c: E2 0E 00 85 08 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 98 [10:13:55]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:13:55]wFMCommunicate OK [10:13:55]SAM_PROTO_GetShiftState done [10:13:55]FM_GetShiftState done [10:13:55]opened in 1717372856 [10:13:55]opened+sec_in_day 1717459256 [10:13:55]quantity*price = 9500 [10:13:55]sum+1 = 9501 [10:13:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 23 03.06.2024 10:13 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4042 ФПД: 159148786556125 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T101359&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4042&fm=159148786556125&tin=02508201610067®Number=0000000000145775&sum=9500 0 [10:13:57]StoreToDocumentArchive [10:13:57]shift 82 fd 4042 [10:13:57]save to /storage/0082/doc_00004042 [10:13:57]save last doc name /storage/0082/doc_00004042 to /storage/kkm_last_doc_name [10:13:57]save OK [10:13:57]Clear old archive folders... [10:13:57]ProcessDocumentItem done err = 0, tmpTLVsize=293 [10:13:57]tlvbuf is 00791950 [10:13:57]SAM_PROTO_ClearQueue [10:13:57]wFMCommunicate request_size=4 [10:13:57]MH_SAM_APDU [10:13:57]CAPDU: 80 09 00 00 [10:13:57]Write to MH i2c: E2 08 00 92 08 80 09 00 00 00 00 00 00 0C [10:13:57]Write i2c OK [10:13:57]MH_I2C_Read... [10:13:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:13:57]Read from MH i2c: E2 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 03 00 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 03 00 92 08 00 90 00 0E [10:13:57]RAPDU: 90 00 [10:13:57]wFMCommunicate OK [10:13:57]SAM_PROTO_ClearQueue done [10:13:57]KKMCreateOFDPacket [10:13:57]OFDProtocolAddRootSTLVToBuf [10:13:57]FM_MakeSignedData [10:13:57]FM_MakeSignedData [10:13:57]SAM_PROTO_SignData [10:13:57]wFMCommunicate request_size=4 [10:13:57]MH_SAM_APDU [10:13:57]CAPDU: 80 0D 01 02 [10:13:57]Write to MH i2c: E2 08 00 93 08 80 0D 01 02 00 00 00 00 14 [10:13:57]Write i2c OK [10:13:57]MH_I2C_Read... [10:13:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:13:57]Read from MH i2c: E2 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 03 00 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 03 00 93 08 00 90 00 0F [10:13:57]RAPDU: 90 00 [10:13:57]wFMCommunicate OK [10:13:57]wFMCommunicate request_size=255 [10:13:57]MH_SAM_APDU [10:13:57]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 67 97 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [10:13:57]Write to MH i2c: E2 02 01 94 08 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 67 97 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 DE [10:13:57]Write i2c OK [10:13:57]MH_I2C_Read... [10:13:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:13:57]Read from MH i2c: E2 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 03 00 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 03 00 94 08 00 90 00 10 [10:13:57]RAPDU: 90 00 [10:13:57]wFMCommunicate OK [10:13:57]wFMCommunicate request_size=52 [10:13:57]MH_SAM_APDU [10:13:57]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CA 0F 00 00 35 04 06 00 90 BE B6 E3 9C DD [10:13:57]Write to MH i2c: E2 37 00 95 08 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CA 0F 00 00 35 04 06 00 90 BE B6 E3 9C DD 00 00 17 [10:13:57]Write i2c OK [10:13:57]MH_I2C_Read... [10:13:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:13:57]Read from MH i2c: E2 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 03 00 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 03 00 95 08 00 90 00 11 [10:13:57]RAPDU: 90 00 [10:13:57]wFMCommunicate OK [10:13:57]wFMCommunicate request_size=4 [10:13:57]MH_SAM_APDU [10:13:57]CAPDU: 80 0D 03 02 [10:13:57]Write to MH i2c: E2 08 00 96 08 80 0D 03 02 00 00 00 00 19 [10:13:57]Write i2c OK [10:13:57]MH_I2C_Read... [10:13:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:13:57]Read from MH i2c: E2 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 0B 00 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 0B 00 96 08 00 50 FF 9F FD 64 E8 2A 84 90 00 FF [10:13:57]RAPDU: 50 FF 9F FD 64 E8 2A 84 90 00 [10:13:57]wFMCommunicate OK [10:13:57]SAM_PROTO_SignData done [10:13:57]FM_MakeSignedData done [10:13:57]CreateOFDProtocolMessage [10:13:57]wFMCommunicate request_size=4 [10:13:57]MH_SAM_APDU [10:13:57]CAPDU: 80 11 00 00 [10:13:57]Write to MH i2c: E2 08 00 97 08 80 11 00 00 00 00 00 00 19 [10:13:57]Write i2c OK [10:13:57]MH_I2C_Read... [10:13:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:13:57]Read from MH i2c: E2 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 17 00 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: E2 17 00 97 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6C [10:13:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:13:57]wFMCommunicate OK [10:13:57]CreateOFDProtocolMessage done [10:13:57]OFDSenderStorePacket 4042 [10:13:57]StoreOFDPacket docnum=4042 [10:13:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 95 CA 31 01 87 F0 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 67 97 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CA 0F 00 00 35 04 06 00 90 BE B6 E3 9C DD 50 FF 9F FD 64 E8 2A 84 [10:13:57]CheckFolder [10:13:57]dirname=/storage/ofd_packets [10:13:57]CheckFolder done [10:13:57]ProducePacketName [10:13:57]name=ofd_packets/00004042 [10:13:57]NVStorageSaveData ofd_packets/00004042 [10:13:57]File name is /storage/ofd_packets/00004042 [10:13:57]Write 343 bytes [10:13:57]NVStorageSaveData done [10:13:57]OFDSenderStorePacket done [10:13:57]KKMCreateOFDPacket done [10:13:57]NVStorageSaveData kkm_last_timestamp [10:13:57]File name is /storage/kkm_last_timestamp [10:13:57]Write 4 bytes [10:13:57]NVStorageSaveData done [10:13:57]ExternCall_PrintAddStr [10:13:57]wPrintStart [10:13:57]Write to MH i2c: 01 00 00 98 08 A0 [10:13:57]Write i2c OK [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: 01 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: 01 07 00 [10:13:57]MH_I2C_Read... [10:13:57]Read from MH i2c: 01 07 00 98 08 00 00 00 00 00 FF 0F B5 [10:13:57]RasterBufferAndPrint [10:13:57]line Счет N : (3)4296 [10:13:57]line ИНН: 02508201610067 [10:13:57]line Контрольно-Кассовый Чек [10:13:57]line ПРОДАЖА [10:13:57]line Товар: 4700000480050 [10:13:57]line Напиток Nitro Energy эн green ж/б 0,45л [10:13:57]line 1.000 * 95.00 [10:13:57]line = 95.00 [10:13:57]line НДС 12% НСП 1% [10:13:57]line > о реализуемом товаре [10:13:57]line ИТОГО: 95.00 [10:13:57]line НСП 1% : 0.84 [10:13:57]line НДС 12% : 10.09 [10:13:57]line Наличными: 95.00 [10:13:57]line Безнал.: 0.00 [10:13:57]line Место: АЗС № 116 "Партнер Нефть" [10:13:57]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:13:57]line СНО: Общий режим [10:13:57]line Чек 23 03.06.2024 10:13 [10:13:57]line Смена: 82 ФФД: 1.0 [10:13:57]line ЗНМ: 0300000233 [10:13:57]line РНМ: 0000000000145775 [10:13:57]line Версия ККМ: v1.0 [10:13:57]line ФМ: 0000000000959360 [10:13:57]line ФД: 4042 [10:13:57]line ФПД: 159148786556125 [10:13:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T101359&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4042&fm=159148786556125&tin=02508201610067®Number=0000000000145775&sum=9500 [10:13:57]line 0 [10:13:57]OFD Sender: Processing packet 4042 [packets to send 2, broken 1] [10:13:57]ProducePacketName [10:13:57]name=ofd_packets/00004042 [10:13:57]OFD Sender: To server: pG, [10:13:57]CommunicateWithHost lk.salyk.kg:30040 [10:13:57]ConnectInit lk.salyk.kg [10:13:57]written 0, free lines is 4095 [10:13:58]Connected sock=10 [10:13:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 95 CA 31 01 87 F0 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 67 97 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CA 0F 00 00 35 04 06 00 90 BE B6 E3 9C DD 50 FF 9F FD 64 E8 2A 84 [10:13:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 57 F4 47 00 38 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CA 0F 00 00 F4 03 04 00 6B 43 5D 66 B6 04 01 00 00 1B 9D D7 C3 67 C5 9F 89 [10:13:58]CommunicateWithHost err = 0 [10:13:58]CheckOFDResponse [10:13:58]1017 (14) - 77093643461234 [10:13:58]1041 (16) - 0000000000959360 [10:13:58]1040 (4) - 4042 [10:13:58]1012 (4) - 03.06.2024 04:15 [10:13:58]1206 (1) - 0 [10:13:58]OFD Sender: Remove packet 4042 [10:13:58]ProducePacketName [10:13:58]name=ofd_packets/00004042 [10:13:58]NVStorageDeleteData [10:13:58]Write to MH i2c: 01 00 00 C1 08 C9 [10:13:58]Write i2c OK [10:13:58]MH_I2C_Read... [10:13:58]Read from MH i2c: 01 [10:13:58]MH_I2C_Read... [10:13:58]Read from MH i2c: 01 07 00 [10:13:58]MH_I2C_Read... [10:13:58]Read from MH i2c: 01 07 00 C1 08 00 00 00 00 00 B6 0C 92 [10:13:58]RasterBufferAndPrint [10:13:58]line [10:13:58]line [10:13:58]line [10:13:58]line [10:13:58]line [10:13:58]written 0, free lines is 3258 [10:13:58]MH_Cut [10:13:58]Write to MH i2c: D1 01 00 C8 08 01 A2 [10:13:58]Write i2c OK [10:13:58]MH_I2C_Read... [10:13:58]Read from MH i2c: D1 [10:13:58]MH_I2C_Read... [10:13:58]Read from MH i2c: D1 01 00 [10:13:58]MH_I2C_Read... [10:13:58]Read from MH i2c: D1 01 00 C8 08 00 A1 [10:13:58]Write to MH i2c: 01 00 00 C9 08 D1 [10:13:58]Write i2c OK [10:13:58]MH_I2C_Read... [10:13:58]OFD Sender: No OFD packet to send [10:13:59]*** Cut start [10:13:59]*** Partial cut [10:13:59]*** CUTSNS_PIN = 1 [10:13:59]*** CUTSNS_PIN = 0 [10:13:59]*** Brake cut motor [10:13:59]Read from MH i2c: 01 [10:13:59]MH_I2C_Read... [10:13:59]*** Stop cut motor [10:13:59]*** Cut end [10:13:59]Read from MH i2c: 01 07 00 [10:13:59]MH_I2C_Read... [10:13:59]Read from MH i2c: 01 07 00 C9 08 00 00 00 00 00 FF 0F E6 [10:13:59]process_action close_receipt done [10:13:59]requested_data is exist [10:13:59]produce_requested_data [10:13:59]requested_item fm.sn is exist - process it [10:13:59]wFMCommunicate request_size=4 [10:13:59]MH_SAM_APDU [10:13:59]CAPDU: 80 11 00 00 [10:13:59]Write to MH i2c: E2 08 00 CA 08 80 11 00 00 00 00 00 00 4C [10:13:59]Write i2c OK [10:13:59]MH_I2C_Read... [10:13:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:13:59]Read from MH i2c: E2 [10:13:59]MH_I2C_Read... [10:13:59]Read from MH i2c: E2 17 00 [10:13:59]MH_I2C_Read... [10:13:59]Read from MH i2c: E2 17 00 CA 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 9F [10:13:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:13:59]wFMCommunicate OK [10:13:59]requested_item fd.num is exist - process it [10:13:59]SAM_PROTO_GetFieldsCounters [10:13:59]wFMCommunicate request_size=4 [10:13:59]MH_SAM_APDU [10:13:59]CAPDU: 80 13 00 00 [10:13:59]Write to MH i2c: E2 08 00 CB 08 80 13 00 00 00 00 00 00 4F [10:13:59]Write i2c OK [10:13:59]MH_I2C_Read... [10:14:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:14:00]Read from MH i2c: E2 [10:14:00]MH_I2C_Read... [10:14:00]Read from MH i2c: E2 62 00 [10:14:00]MH_I2C_Read... [10:14:00]Read from MH i2c: E2 62 00 CB 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CA 0F 00 00 0E 04 04 00 52 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 E4 [10:14:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CA 0F 00 00 0E 04 04 00 52 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 [10:14:00]wFMCommunicate OK [10:14:00]SAM_PROTO_GetFieldsCounters done [10:14:00]requested_item shift.num is exist - process it [10:14:00]requested_item shift.opened is exist - process it [10:14:00]req_shift_opened [10:14:00]FM_GetShiftState [10:14:00]SAM_PROTO_GetShiftState [10:14:00]wFMCommunicate request_size=4 [10:14:00]MH_SAM_APDU [10:14:00]CAPDU: 80 13 01 00 [10:14:00]Write to MH i2c: E2 08 00 CC 08 80 13 01 00 00 00 00 00 51 [10:14:00]Write i2c OK [10:14:00]MH_I2C_Read... [10:14:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:14:00]Read from MH i2c: E2 [10:14:00]MH_I2C_Read... [10:14:00]Read from MH i2c: E2 0E 00 [10:14:00]MH_I2C_Read... [10:14:00]Read from MH i2c: E2 0E 00 CC 08 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 DF [10:14:00]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:14:00]wFMCommunicate OK [10:14:00]SAM_PROTO_GetShiftState done [10:14:00]FM_GetShiftState done [10:14:00]req_shift_opened done [10:14:00]requested_item shift.open_date is exist - process it [10:14:00]req_shift_open_date [10:14:00]req_shift_open_date done [10:14:00]produce_requested_data done [10:14:00]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4042,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [10:14:00]process_action_free close_receipt [10:14:00]json_value_free [10:14:00]json_value_free done [10:14:00]process_json_proto returns [10:14:00]Send response to host [10:14:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4042,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [10:14:00]free response buf [10:14:00]execute_script done [10:14:00]execute_script returns [10:14:00]free content buf [10:14:00]Sock 9.Close socket [10:14:00]Sock 9.Thread stoped [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:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]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:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]accept exits with 8 [10:40:19]New connection [10:40:19]New thread 3067370852 created [10:40:19]Thread 3067227492 joined [10:40:19]Waiting for new connection... [10:40:19] Sock 8.Parse request [10:40:19]Sock 8.Check first char [10:40:19]Sock 8.First char is OK [10:40:19]request: POST /json_proto HTTP/1.0 [10:40:19]Method: POST [10:40:19]URL: /json_proto [10:40:19]Method is POST - this is cgi request [10:40:19]url: /json_proto [10:40:19]query_string will be loaded in cgi processing [10:40:19]execute_cgi json_proto POST (null) [10:40:19]execute_cgi path=json_proto method=POST [10:40:19]POST find Content-Length [10:40:19]Host: 172.17.56.68:8080 [10:40:19]Content-Length: 619 [10:40:19]Content-Type: application/json [10:40:19] [10:40:19]POST finish read [10:40:19]Found Content-Length = 619 [10:40:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4297", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:40:19]execute_script... [10:40: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)4297", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:40:19]POST & json_proto [10:40:19]process_json_proto [10:40:19]json parsed OK: [10:40:19]protocol is kg_v1.0 [10:40:19]action value=close_receipt [10:40:19]process_action close_receipt [10:40:19]cmd_close_receipt [10:40:19]MH_GetDate [10:40:19]Write to MH i2c: F0 00 00 CD 08 C4 [10:40:19]Write i2c OK [10:40:19]MH_I2C_Read... [10:40:19]Read from MH i2c: F0 [10:40:19]MH_I2C_Read... [10:40:19]Read from MH i2c: F0 09 00 [10:40:19]MH_I2C_Read... [10:40:19]Read from MH i2c: F0 09 00 CD 08 00 97 9D 5D 66 42 69 5C 66 31 [10:40:19]GetLastDocTimeStamp 1717409639 [10:40:19]current date 1717411223 [10:40:19]FM_GetShiftState [10:40:19]SAM_PROTO_GetShiftState [10:40:19]wFMCommunicate request_size=4 [10:40:19]MH_SAM_APDU [10:40:19]CAPDU: 80 13 01 00 [10:40:19]Write to MH i2c: E2 08 00 CE 08 80 13 01 00 00 00 00 00 53 [10:40:19]Write i2c OK [10:40:19]MH_I2C_Read... [10:40:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:40:19]Read from MH i2c: E2 [10:40:19]MH_I2C_Read... [10:40:19]Read from MH i2c: E2 0E 00 [10:40:19]MH_I2C_Read... [10:40:19]Read from MH i2c: E2 0E 00 CE 08 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 E1 [10:40:19]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:40:19]wFMCommunicate OK [10:40:19]SAM_PROTO_GetShiftState done [10:40:19]FM_GetShiftState done [10:40:19]opened in 1717372856 [10:40:19]opened+sec_in_day 1717459256 [10:40:19]quantity*price = 14000 [10:40:19]sum+1 = 14001 [10:40:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 24 03.06.2024 10:40 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4043 ФПД: 177784700466979 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T104023&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4043&fm=177784700466979&tin=02508201610067®Number=0000000000145775&sum=14000 0 [10:40:21]StoreToDocumentArchive [10:40:21]shift 82 fd 4043 [10:40:21]save to /storage/0082/doc_00004043 [10:40:21]save last doc name /storage/0082/doc_00004043 to /storage/kkm_last_doc_name [10:40:21]save OK [10:40:21]Clear old archive folders... [10:40:21]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:40:21]tlvbuf is 00797420 [10:40:21]SAM_PROTO_ClearQueue [10:40:21]wFMCommunicate request_size=4 [10:40:21]MH_SAM_APDU [10:40:21]CAPDU: 80 09 00 00 [10:40:21]Write to MH i2c: E2 08 00 DB 08 80 09 00 00 00 00 00 00 55 [10:40:21]Write i2c OK [10:40:21]MH_I2C_Read... [10:40:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:40:21]Read from MH i2c: E2 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 03 00 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 03 00 DB 08 00 90 00 57 [10:40:21]RAPDU: 90 00 [10:40:21]wFMCommunicate OK [10:40:21]SAM_PROTO_ClearQueue done [10:40:21]KKMCreateOFDPacket [10:40:21]OFDProtocolAddRootSTLVToBuf [10:40:21]FM_MakeSignedData [10:40:21]FM_MakeSignedData [10:40:21]SAM_PROTO_SignData [10:40:21]wFMCommunicate request_size=4 [10:40:21]MH_SAM_APDU [10:40:21]CAPDU: 80 0D 01 02 [10:40:21]Write to MH i2c: E2 08 00 DC 08 80 0D 01 02 00 00 00 00 5D [10:40:21]Write i2c OK [10:40:21]MH_I2C_Read... [10:40:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:40:21]Read from MH i2c: E2 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 03 00 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 03 00 DC 08 00 90 00 58 [10:40:21]RAPDU: 90 00 [10:40:21]wFMCommunicate OK [10:40:21]wFMCommunicate request_size=255 [10:40:21]MH_SAM_APDU [10:40: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 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 97 9D 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [10:40:21]Write to MH i2c: E2 02 01 DD 08 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 97 9D 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 A3 [10:40:21]Write i2c OK [10:40:21]MH_I2C_Read... [10:40:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:40:21]Read from MH i2c: E2 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 03 00 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 03 00 DD 08 00 90 00 59 [10:40:21]RAPDU: 90 00 [10:40:21]wFMCommunicate OK [10:40:21]wFMCommunicate request_size=32 [10:40:21]MH_SAM_APDU [10:40:21]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 CB 0F 00 00 35 04 06 00 A1 B1 B9 EA F7 23 [10:40:21]Write to MH i2c: E2 23 00 DE 08 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 CB 0F 00 00 35 04 06 00 A1 B1 B9 EA F7 23 00 00 A6 [10:40:21]Write i2c OK [10:40:21]MH_I2C_Read... [10:40:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:40:21]Read from MH i2c: E2 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 03 00 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 03 00 DE 08 00 90 00 5A [10:40:21]RAPDU: 90 00 [10:40:21]wFMCommunicate OK [10:40:21]wFMCommunicate request_size=4 [10:40:21]MH_SAM_APDU [10:40:21]CAPDU: 80 0D 03 02 [10:40:21]Write to MH i2c: E2 08 00 DF 08 80 0D 03 02 00 00 00 00 62 [10:40:21]Write i2c OK [10:40:21]MH_I2C_Read... [10:40:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:40:21]Read from MH i2c: E2 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 0B 00 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 0B 00 DF 08 00 E7 45 4B CF 8C 9A 11 AE 90 00 8E [10:40:21]RAPDU: E7 45 4B CF 8C 9A 11 AE 90 00 [10:40:21]wFMCommunicate OK [10:40:21]SAM_PROTO_SignData done [10:40:21]FM_MakeSignedData done [10:40:21]CreateOFDProtocolMessage [10:40:21]wFMCommunicate request_size=4 [10:40:21]MH_SAM_APDU [10:40:21]CAPDU: 80 11 00 00 [10:40:21]Write to MH i2c: E2 08 00 E0 08 80 11 00 00 00 00 00 00 62 [10:40:21]Write i2c OK [10:40:21]MH_I2C_Read... [10:40:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:21]Read from MH i2c: E2 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 17 00 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: E2 17 00 E0 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B5 [10:40:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:40:21]wFMCommunicate OK [10:40:21]CreateOFDProtocolMessage done [10:40:21]OFDSenderStorePacket 4043 [10:40:21]StoreOFDPacket docnum=4043 [10:40:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 18 AB 1D 01 A6 1B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 97 9D 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CB 0F 00 00 35 04 06 00 A1 B1 B9 EA F7 23 E7 45 4B CF 8C 9A 11 AE [10:40:21]CheckFolder [10:40:21]dirname=/storage/ofd_packets [10:40:21]CheckFolder done [10:40:21]ProducePacketName [10:40:21]name=ofd_packets/00004043 [10:40:21]NVStorageSaveData ofd_packets/00004043 [10:40:21]File name is /storage/ofd_packets/00004043 [10:40:21]Write 323 bytes [10:40:21]NVStorageSaveData done [10:40:21]OFDSenderStorePacket done [10:40:21]KKMCreateOFDPacket done [10:40:21]NVStorageSaveData kkm_last_timestamp [10:40:21]File name is /storage/kkm_last_timestamp [10:40:21]Write 4 bytes [10:40:21]NVStorageSaveData done [10:40:21]ExternCall_PrintAddStr [10:40:21]wPrintStart [10:40:21]Write to MH i2c: 01 00 00 E1 08 E9 [10:40:21]Write i2c OK [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: 01 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: 01 07 00 [10:40:21]MH_I2C_Read... [10:40:21]Read from MH i2c: 01 07 00 E1 08 00 00 00 00 00 FF 0F FE [10:40:21]RasterBufferAndPrint [10:40:21]line Счет N : (3)4297 [10:40:21]line ИНН: 02508201610067 [10:40:21]line Контрольно-Кассовый Чек [10:40:21]line ПРОДАЖА [10:40:21]line Товар: 48747059 [10:40:21]line Сигареты Winston Legend Blue [10:40:21]line 1.000 * 140.00 [10:40:21]line = 140.00 [10:40:21]line НДС 12% НСП 1% [10:40:21]line > о реализуемом товаре [10:40:21]line ИТОГО: 140.00 [10:40:21]line НСП 1% : 1.24 [10:40:21]line НДС 12% : 14.87 [10:40:21]line Наличными: 140.00 [10:40:21]line Безнал.: 0.00 [10:40:21]line Место: АЗС № 116 "Партнер Нефть" [10:40:21]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:40:21]line СНО: Общий режим [10:40:21]line Чек 24 03.06.2024 10:40 [10:40:21]line Смена: 82 ФФД: 1.0 [10:40:21]line ЗНМ: 0300000233 [10:40:21]line РНМ: 0000000000145775 [10:40:21]line Версия ККМ: v1.0 [10:40:21]line ФМ: 0000000000959360 [10:40:21]line ФД: 4043 [10:40:21]line ФПД: 177784700466979 [10:40:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T104023&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4043&fm=177784700466979&tin=02508201610067®Number=0000000000145775&sum=14000 [10:40:21]line 0 [10:40:21]OFD Sender: Processing packet 4043 [packets to send 2, broken 1] [10:40:21]ProducePacketName [10:40:21]name=ofd_packets/00004043 [10:40:21]OFD Sender: To server: pG, [10:40:21]CommunicateWithHost lk.salyk.kg:30040 [10:40:21]ConnectInit lk.salyk.kg [10:40:21]written 0, free lines is 4095 [10:40:22]Connected sock=10 [10:40:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 18 AB 1D 01 A6 1B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 97 9D 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CB 0F 00 00 35 04 06 00 A1 B1 B9 EA F7 23 E7 45 4B CF 8C 9A 11 AE [10:40:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 64 AD 47 00 14 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CB 0F 00 00 F4 03 04 00 9B 49 5D 66 B6 04 01 00 00 14 A5 3A 9C 6B 51 AB 57 [10:40:22]CommunicateWithHost err = 0 [10:40:22]CheckOFDResponse [10:40:22]1017 (14) - 77093643461234 [10:40:22]1041 (16) - 0000000000959360 [10:40:22]1040 (4) - 4043 [10:40:22]1012 (4) - 03.06.2024 04:42 [10:40:22]1206 (1) - 0 [10:40:22]OFD Sender: Remove packet 4043 [10:40:22]ProducePacketName [10:40:22]name=ofd_packets/00004043 [10:40:22]NVStorageDeleteData [10:40:22]Write to MH i2c: 01 00 00 0A 09 13 [10:40:22]Write i2c OK [10:40:22]MH_I2C_Read... [10:40:22]Read from MH i2c: 01 [10:40:22]MH_I2C_Read... [10:40:22]Read from MH i2c: 01 07 00 [10:40:22]MH_I2C_Read... [10:40:22]Read from MH i2c: 01 07 00 0A 09 00 00 00 00 00 B2 0C D8 [10:40:22]RasterBufferAndPrint [10:40:22]line [10:40:22]line [10:40:22]line [10:40:22]line [10:40:22]line [10:40:22]written 0, free lines is 3255 [10:40:22]MH_Cut [10:40:22]Write to MH i2c: D1 01 00 11 09 01 EC [10:40:22]Write i2c OK [10:40:22]MH_I2C_Read... [10:40:22]Read from MH i2c: D1 [10:40:22]MH_I2C_Read... [10:40:22]Read from MH i2c: D1 01 00 [10:40:22]MH_I2C_Read... [10:40:22]Read from MH i2c: D1 01 00 11 09 00 EB [10:40:22]Write to MH i2c: 01 00 00 12 09 1B [10:40:22]Write i2c OK [10:40:22]MH_I2C_Read... [10:40:22]OFD Sender: No OFD packet to send [10:40:23]*** Cut start [10:40:23]*** Partial cut [10:40:23]*** CUTSNS_PIN = 1 [10:40:23]*** CUTSNS_PIN = 0 [10:40:23]*** Brake cut motor [10:40:23]Read from MH i2c: 01 [10:40:23]MH_I2C_Read... [10:40:23]*** Stop cut motor [10:40:23]*** Cut end [10:40:23]Read from MH i2c: 01 07 00 [10:40:23]MH_I2C_Read... [10:40:23]Read from MH i2c: 01 07 00 12 09 00 00 00 00 00 FF 0F 30 [10:40:23]process_action close_receipt done [10:40:23]requested_data is exist [10:40:23]produce_requested_data [10:40:23]requested_item fm.sn is exist - process it [10:40:23]wFMCommunicate request_size=4 [10:40:23]MH_SAM_APDU [10:40:23]CAPDU: 80 11 00 00 [10:40:23]Write to MH i2c: E2 08 00 13 09 80 11 00 00 00 00 00 00 96 [10:40:23]Write i2c OK [10:40:23]MH_I2C_Read... [10:40:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:23]Read from MH i2c: E2 [10:40:23]MH_I2C_Read... [10:40:23]Read from MH i2c: E2 17 00 [10:40:23]MH_I2C_Read... [10:40:23]Read from MH i2c: E2 17 00 13 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E9 [10:40:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:40:23]wFMCommunicate OK [10:40:23]requested_item fd.num is exist - process it [10:40:23]SAM_PROTO_GetFieldsCounters [10:40:23]wFMCommunicate request_size=4 [10:40:23]MH_SAM_APDU [10:40:23]CAPDU: 80 13 00 00 [10:40:23]Write to MH i2c: E2 08 00 14 09 80 13 00 00 00 00 00 00 99 [10:40:23]Write i2c OK [10:40:23]MH_I2C_Read... [10:40:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:40:24]Read from MH i2c: E2 [10:40:24]MH_I2C_Read... [10:40:24]Read from MH i2c: E2 62 00 [10:40:24]MH_I2C_Read... [10:40:24]Read from MH i2c: E2 62 00 14 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CB 0F 00 00 0E 04 04 00 52 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 32 [10:40:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CB 0F 00 00 0E 04 04 00 52 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 [10:40:24]wFMCommunicate OK [10:40:24]SAM_PROTO_GetFieldsCounters done [10:40:24]requested_item shift.num is exist - process it [10:40:24]requested_item shift.opened is exist - process it [10:40:24]req_shift_opened [10:40:24]FM_GetShiftState [10:40:24]SAM_PROTO_GetShiftState [10:40:24]wFMCommunicate request_size=4 [10:40:24]MH_SAM_APDU [10:40:24]CAPDU: 80 13 01 00 [10:40:24]Write to MH i2c: E2 08 00 15 09 80 13 01 00 00 00 00 00 9B [10:40:24]Write i2c OK [10:40:24]MH_I2C_Read... [10:40:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:40:24]Read from MH i2c: E2 [10:40:24]MH_I2C_Read... [10:40:24]Read from MH i2c: E2 0E 00 [10:40:24]MH_I2C_Read... [10:40:24]Read from MH i2c: E2 0E 00 15 09 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 29 [10:40:24]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:40:24]wFMCommunicate OK [10:40:24]SAM_PROTO_GetShiftState done [10:40:24]FM_GetShiftState done [10:40:24]req_shift_opened done [10:40:24]requested_item shift.open_date is exist - process it [10:40:24]req_shift_open_date [10:40:24]req_shift_open_date done [10:40:24]produce_requested_data done [10:40:24]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4043,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [10:40:24]process_action_free close_receipt [10:40:24]json_value_free [10:40:24]json_value_free done [10:40:24]process_json_proto returns [10:40:24]Send response to host [10:40:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4043,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [10:40:24]free response buf [10:40:24]execute_script done [10:40:24]execute_script returns [10:40:24]free content buf [10:40:24]Sock 8.Close socket [10:40:24]Sock 8.Thread stoped [10:40:27]OFD Sender: No OFD packet to send [10:40:32]OFD Sender: No OFD packet to send [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:13]accept exits with 9 [10:41:13]New connection [10:41:13]New thread 3067227492 created [10:41:13]Thread 3067370852 joined [10:41:13]Waiting for new connection... [10:41:13] Sock 9.Parse request [10:41:13]Sock 9.Check first char [10:41:13]Sock 9.First char is OK [10:41:13]request: POST /json_proto HTTP/1.0 [10:41:13]Method: POST [10:41:13]URL: /json_proto [10:41:13]Method is POST - this is cgi request [10:41:13]url: /json_proto [10:41:13]query_string will be loaded in cgi processing [10:41:13]execute_cgi json_proto POST (null) [10:41:13]execute_cgi path=json_proto method=POST [10:41:13]POST find Content-Length [10:41:13]Host: 172.17.56.68:8080 [10:41:13]Content-Length: 659 [10:41:13]Content-Type: application/json [10:41:13] [10:41:13]POST finish read [10:41:13]Found Content-Length = 659 [10:41:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4298", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:41:13]execute_script... [10:41: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)4298", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:41:13]POST & json_proto [10:41:13]process_json_proto [10:41:13]json parsed OK: [10:41:13]protocol is kg_v1.0 [10:41:13]action value=close_receipt [10:41:13]process_action close_receipt [10:41:13]cmd_close_receipt [10:41:13]MH_GetDate [10:41:13]Write to MH i2c: F0 00 00 16 09 0E [10:41:13]Write i2c OK [10:41:13]MH_I2C_Read... [10:41:13]Read from MH i2c: F0 [10:41:13]MH_I2C_Read... [10:41:13]Read from MH i2c: F0 09 00 [10:41:13]MH_I2C_Read... [10:41:13]Read from MH i2c: F0 09 00 16 09 00 CD 9D 5D 66 42 69 5C 66 B1 [10:41:13]GetLastDocTimeStamp 1717411223 [10:41:13]current date 1717411277 [10:41:13]FM_GetShiftState [10:41:13]SAM_PROTO_GetShiftState [10:41:13]wFMCommunicate request_size=4 [10:41:13]MH_SAM_APDU [10:41:13]CAPDU: 80 13 01 00 [10:41:13]Write to MH i2c: E2 08 00 17 09 80 13 01 00 00 00 00 00 9D [10:41:13]Write i2c OK [10:41:13]MH_I2C_Read... [10:41:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:41:13]Read from MH i2c: E2 [10:41:13]MH_I2C_Read... [10:41:13]Read from MH i2c: E2 0E 00 [10:41:13]MH_I2C_Read... [10:41:13]Read from MH i2c: E2 0E 00 17 09 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 2B [10:41:13]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:41:13]wFMCommunicate OK [10:41:13]SAM_PROTO_GetShiftState done [10:41:13]FM_GetShiftState done [10:41:13]opened in 1717372856 [10:41:13]opened+sec_in_day 1717459256 [10:41:13]quantity*price = 6700 [10:41:13]sum+1 = 6701 [10:41:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 67.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 25 03.06.2024 10:41 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4044 ФПД: 5658384517015 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T104117&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4044&fm=5658384517015&tin=02508201610067®Number=0000000000145775&sum=6700 0 [10:41:15]StoreToDocumentArchive [10:41:15]shift 82 fd 4044 [10:41:15]save to /storage/0082/doc_00004044 [10:41:15]save last doc name /storage/0082/doc_00004044 to /storage/kkm_last_doc_name [10:41:15]save OK [10:41:15]Clear old archive folders... [10:41:15]ProcessDocumentItem done err = 0, tmpTLVsize=284 [10:41:15]tlvbuf is 0078E350 [10:41:15]SAM_PROTO_ClearQueue [10:41:15]wFMCommunicate request_size=4 [10:41:15]MH_SAM_APDU [10:41:15]CAPDU: 80 09 00 00 [10:41:15]Write to MH i2c: E2 08 00 24 09 80 09 00 00 00 00 00 00 9F [10:41:15]Write i2c OK [10:41:15]MH_I2C_Read... [10:41:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:41:15]Read from MH i2c: E2 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 03 00 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 03 00 24 09 00 90 00 A1 [10:41:15]RAPDU: 90 00 [10:41:15]wFMCommunicate OK [10:41:15]SAM_PROTO_ClearQueue done [10:41:15]KKMCreateOFDPacket [10:41:15]OFDProtocolAddRootSTLVToBuf [10:41:15]FM_MakeSignedData [10:41:15]FM_MakeSignedData [10:41:15]SAM_PROTO_SignData [10:41:15]wFMCommunicate request_size=4 [10:41:15]MH_SAM_APDU [10:41:15]CAPDU: 80 0D 01 02 [10:41:15]Write to MH i2c: E2 08 00 25 09 80 0D 01 02 00 00 00 00 A7 [10:41:15]Write i2c OK [10:41:15]MH_I2C_Read... [10:41:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:41:15]Read from MH i2c: E2 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 03 00 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 03 00 25 09 00 90 00 A2 [10:41:15]RAPDU: 90 00 [10:41:15]wFMCommunicate OK [10:41:15]wFMCommunicate request_size=255 [10:41:15]MH_SAM_APDU [10:41:15]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 CD 9D 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [10:41:15]Write to MH i2c: E2 02 01 26 09 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 CD 9D 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 64 [10:41:15]Write i2c OK [10:41:15]MH_I2C_Read... [10:41:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:41:15]Read from MH i2c: E2 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 03 00 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 03 00 26 09 00 90 00 A3 [10:41:15]RAPDU: 90 00 [10:41:15]wFMCommunicate OK [10:41:15]wFMCommunicate request_size=43 [10:41:15]MH_SAM_APDU [10:41:15]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CC 0F 00 00 35 04 06 00 05 25 71 FF C7 97 [10:41:15]Write to MH i2c: E2 2E 00 27 09 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CC 0F 00 00 35 04 06 00 05 25 71 FF C7 97 00 00 65 [10:41:15]Write i2c OK [10:41:15]MH_I2C_Read... [10:41:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:41:15]Read from MH i2c: E2 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 03 00 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 03 00 27 09 00 90 00 A4 [10:41:15]RAPDU: 90 00 [10:41:15]wFMCommunicate OK [10:41:15]wFMCommunicate request_size=4 [10:41:15]MH_SAM_APDU [10:41:15]CAPDU: 80 0D 03 02 [10:41:15]Write to MH i2c: E2 08 00 28 09 80 0D 03 02 00 00 00 00 AC [10:41:15]Write i2c OK [10:41:15]MH_I2C_Read... [10:41:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:41:15]Read from MH i2c: E2 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 0B 00 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 0B 00 28 09 00 A5 F3 98 70 A3 DC 41 32 90 00 3F [10:41:15]RAPDU: A5 F3 98 70 A3 DC 41 32 90 00 [10:41:15]wFMCommunicate OK [10:41:15]SAM_PROTO_SignData done [10:41:15]FM_MakeSignedData done [10:41:15]CreateOFDProtocolMessage [10:41:15]wFMCommunicate request_size=4 [10:41:15]MH_SAM_APDU [10:41:15]CAPDU: 80 11 00 00 [10:41:15]Write to MH i2c: E2 08 00 29 09 80 11 00 00 00 00 00 00 AC [10:41:15]Write i2c OK [10:41:15]MH_I2C_Read... [10:41:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:41:15]Read from MH i2c: E2 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 17 00 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: E2 17 00 29 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 FF [10:41:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:41:15]wFMCommunicate OK [10:41:15]CreateOFDProtocolMessage done [10:41:15]OFDSenderStorePacket 4044 [10:41:15]StoreOFDPacket docnum=4044 [10:41:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 42 4B 28 01 5D EF 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 CD 9D 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CC 0F 00 00 35 04 06 00 05 25 71 FF C7 97 A5 F3 98 70 A3 DC 41 32 [10:41:15]CheckFolder [10:41:15]dirname=/storage/ofd_packets [10:41:15]CheckFolder done [10:41:15]ProducePacketName [10:41:15]name=ofd_packets/00004044 [10:41:15]NVStorageSaveData ofd_packets/00004044 [10:41:15]File name is /storage/ofd_packets/00004044 [10:41:15]Write 334 bytes [10:41:15]NVStorageSaveData done [10:41:15]OFDSenderStorePacket done [10:41:15]KKMCreateOFDPacket done [10:41:15]NVStorageSaveData kkm_last_timestamp [10:41:15]File name is /storage/kkm_last_timestamp [10:41:15]Write 4 bytes [10:41:15]NVStorageSaveData done [10:41:15]ExternCall_PrintAddStr [10:41:15]wPrintStart [10:41:15]Write to MH i2c: 01 00 00 2A 09 33 [10:41:15]Write i2c OK [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: 01 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: 01 07 00 [10:41:15]MH_I2C_Read... [10:41:15]Read from MH i2c: 01 07 00 2A 09 00 00 00 00 00 FF 0F 48 [10:41:15]RasterBufferAndPrint [10:41:15]line Счет N : (3)4298 [10:41:15]line ИНН: 02508201610067 [10:41:15]line Контрольно-Кассовый Чек [10:41:15]line ПРОДАЖА [10:41:15]line Товар: 6931280300549 [10:41:15]line Зажигалка Cricket ПН пьезо [10:41:15]line 1.000 * 67.00 [10:41:15]line = 67.00 [10:41:15]line НДС 12% НСП 1% [10:41:15]line > о реализуемом товаре [10:41:15]line ИТОГО: 67.00 [10:41:15]line НСП 1% : 0.59 [10:41:15]line НДС 12% : 7.11 [10:41:15]line Наличными: 67.00 [10:41:15]line Безнал.: 0.00 [10:41:15]line Место: АЗС № 116 "Партнер Нефть" [10:41:15]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:41:15]line СНО: Общий режим [10:41:15]line Чек 25 03.06.2024 10:41 [10:41:15]line Смена: 82 ФФД: 1.0 [10:41:15]line ЗНМ: 0300000233 [10:41:15]line РНМ: 0000000000145775 [10:41:15]line Версия ККМ: v1.0 [10:41:15]line ФМ: 0000000000959360 [10:41:15]line ФД: 4044 [10:41:15]line ФПД: 5658384517015 [10:41:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T104117&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4044&fm=5658384517015&tin=02508201610067®Number=0000000000145775&sum=6700 [10:41:15]line 0 [10:41:15]OFD Sender: Processing packet 4044 [packets to send 2, broken 1] [10:41:15]ProducePacketName [10:41:15]name=ofd_packets/00004044 [10:41:15]OFD Sender: To server: pG, [10:41:15]CommunicateWithHost lk.salyk.kg:30040 [10:41:15]ConnectInit lk.salyk.kg [10:41:15]written 0, free lines is 4095 [10:41:15]Connected sock=10 [10:41:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 42 4B 28 01 5D EF 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 CD 9D 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CC 0F 00 00 35 04 06 00 05 25 71 FF C7 97 A5 F3 98 70 A3 DC 41 32 [10:41:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 09 39 47 00 56 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CC 0F 00 00 F4 03 04 00 D0 49 5D 66 B6 04 01 00 00 1D 06 58 E8 8C 3C AD 4C [10:41:16]CommunicateWithHost err = 0 [10:41:16]CheckOFDResponse [10:41:16]1017 (14) - 77093643461234 [10:41:16]1041 (16) - 0000000000959360 [10:41:16]1040 (4) - 4044 [10:41:16]1012 (4) - 03.06.2024 04:42 [10:41:16]1206 (1) - 0 [10:41:16]OFD Sender: Remove packet 4044 [10:41:16]ProducePacketName [10:41:16]name=ofd_packets/00004044 [10:41:16]NVStorageDeleteData [10:41:16]Write to MH i2c: 01 00 00 52 09 5B [10:41:16]Write i2c OK [10:41:16]MH_I2C_Read... [10:41:16]Read from MH i2c: 01 [10:41:16]MH_I2C_Read... [10:41:16]Read from MH i2c: 01 07 00 [10:41:16]MH_I2C_Read... [10:41:16]Read from MH i2c: 01 07 00 52 09 00 00 00 00 00 D7 0C 45 [10:41:16]RasterBufferAndPrint [10:41:16]line [10:41:16]line [10:41:16]line [10:41:16]line [10:41:16]line [10:41:16]written 0, free lines is 3291 [10:41:16]MH_Cut [10:41:16]Write to MH i2c: D1 01 00 59 09 01 34 [10:41:16]Write i2c OK [10:41:16]MH_I2C_Read... [10:41:16]Read from MH i2c: D1 [10:41:16]MH_I2C_Read... [10:41:16]Read from MH i2c: D1 01 00 [10:41:16]MH_I2C_Read... [10:41:16]Read from MH i2c: D1 01 00 59 09 00 33 [10:41:16]Write to MH i2c: 01 00 00 5A 09 63 [10:41:16]Write i2c OK [10:41:16]MH_I2C_Read... [10:41:16]OFD Sender: No OFD packet to send [10:41:17]*** Cut start [10:41:17]*** Partial cut [10:41:17]*** CUTSNS_PIN = 1 [10:41:17]*** CUTSNS_PIN = 0 [10:41:17]*** Brake cut motor [10:41:17]Read from MH i2c: 01 [10:41:17]MH_I2C_Read... [10:41:17]*** Stop cut motor [10:41:17]*** Cut end [10:41:17]Read from MH i2c: 01 07 00 [10:41:17]MH_I2C_Read... [10:41:17]Read from MH i2c: 01 07 00 5A 09 00 00 00 00 00 FF 0F 78 [10:41:17]process_action close_receipt done [10:41:17]requested_data is exist [10:41:17]produce_requested_data [10:41:17]requested_item fm.sn is exist - process it [10:41:17]wFMCommunicate request_size=4 [10:41:17]MH_SAM_APDU [10:41:17]CAPDU: 80 11 00 00 [10:41:17]Write to MH i2c: E2 08 00 5B 09 80 11 00 00 00 00 00 00 DE [10:41:17]Write i2c OK [10:41:17]MH_I2C_Read... [10:41:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:41:17]Read from MH i2c: E2 [10:41:17]MH_I2C_Read... [10:41:17]Read from MH i2c: E2 17 00 [10:41:17]MH_I2C_Read... [10:41:17]Read from MH i2c: E2 17 00 5B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 31 [10:41:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:41:17]wFMCommunicate OK [10:41:17]requested_item fd.num is exist - process it [10:41:17]SAM_PROTO_GetFieldsCounters [10:41:17]wFMCommunicate request_size=4 [10:41:17]MH_SAM_APDU [10:41:17]CAPDU: 80 13 00 00 [10:41:17]Write to MH i2c: E2 08 00 5C 09 80 13 00 00 00 00 00 00 E1 [10:41:17]Write i2c OK [10:41:17]MH_I2C_Read... [10:41:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:41:17]Read from MH i2c: E2 [10:41:17]MH_I2C_Read... [10:41:17]Read from MH i2c: E2 62 00 [10:41:17]MH_I2C_Read... [10:41:17]Read from MH i2c: E2 62 00 5C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CC 0F 00 00 0E 04 04 00 52 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 7E [10:41:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CC 0F 00 00 0E 04 04 00 52 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 [10:41:17]wFMCommunicate OK [10:41:17]SAM_PROTO_GetFieldsCounters done [10:41:17]requested_item shift.num is exist - process it [10:41:17]requested_item shift.opened is exist - process it [10:41:17]req_shift_opened [10:41:17]FM_GetShiftState [10:41:17]SAM_PROTO_GetShiftState [10:41:17]wFMCommunicate request_size=4 [10:41:17]MH_SAM_APDU [10:41:17]CAPDU: 80 13 01 00 [10:41:17]Write to MH i2c: E2 08 00 5D 09 80 13 01 00 00 00 00 00 E3 [10:41:18]Write i2c OK [10:41:18]MH_I2C_Read... [10:41:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:41:18]Read from MH i2c: E2 [10:41:18]MH_I2C_Read... [10:41:18]Read from MH i2c: E2 0E 00 [10:41:18]MH_I2C_Read... [10:41:18]Read from MH i2c: E2 0E 00 5D 09 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 71 [10:41:18]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:41:18]wFMCommunicate OK [10:41:18]SAM_PROTO_GetShiftState done [10:41:18]FM_GetShiftState done [10:41:18]req_shift_opened done [10:41:18]requested_item shift.open_date is exist - process it [10:41:18]req_shift_open_date [10:41:18]req_shift_open_date done [10:41:18]produce_requested_data done [10:41:18]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4044,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [10:41:18]process_action_free close_receipt [10:41:18]json_value_free [10:41:18]json_value_free done [10:41:18]process_json_proto returns [10:41:18]Send response to host [10:41:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4044,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [10:41:18]free response buf [10:41:18]execute_script done [10:41:18]execute_script returns [10:41:18]free content buf [10:41:18]Sock 9.Close socket [10:41:18]Sock 9.Thread stoped [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]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:39]accept exits with 8 [10:55:39]New connection [10:55:39]New thread 3067370852 created [10:55:39]Thread 3067227492 joined [10:55:39]Waiting for new connection... [10:55:39] Sock 8.Parse request [10:55:39]Sock 8.Check first char [10:55:39]Sock 8.First char is OK [10:55:39]request: POST /json_proto HTTP/1.0 [10:55:39]Method: POST [10:55:39]URL: /json_proto [10:55:39]Method is POST - this is cgi request [10:55:39]url: /json_proto [10:55:39]query_string will be loaded in cgi processing [10:55:39]execute_cgi json_proto POST (null) [10:55:39]execute_cgi path=json_proto method=POST [10:55:39]POST find Content-Length [10:55:39]Host: 172.17.56.68:8080 [10:55:39]Content-Length: 1080 [10:55:39]Content-Type: application/json [10:55:39] [10:55:39]POST finish read [10:55:39]Found Content-Length = 1080 [10:55:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4299", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:55:39]execute_script... [10:55:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4299", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:55:39]POST & json_proto [10:55:39]process_json_proto [10:55:39]json parsed OK: [10:55:39]protocol is kg_v1.0 [10:55:39]action value=close_receipt [10:55:39]process_action close_receipt [10:55:39]cmd_close_receipt [10:55:39]MH_GetDate [10:55:39]Write to MH i2c: F0 00 00 5E 09 56 [10:55:39]Write i2c OK [10:55:39]MH_I2C_Read... [10:55:39]Read from MH i2c: F0 [10:55:39]MH_I2C_Read... [10:55:39]Read from MH i2c: F0 09 00 [10:55:39]MH_I2C_Read... [10:55:39]Read from MH i2c: F0 09 00 5E 09 00 2F A1 5D 66 42 69 5C 66 5F [10:55:39]GetLastDocTimeStamp 1717411277 [10:55:39]current date 1717412143 [10:55:39]FM_GetShiftState [10:55:39]SAM_PROTO_GetShiftState [10:55:39]wFMCommunicate request_size=4 [10:55:39]MH_SAM_APDU [10:55:39]CAPDU: 80 13 01 00 [10:55:39]Write to MH i2c: E2 08 00 5F 09 80 13 01 00 00 00 00 00 E5 [10:55:39]Write i2c OK [10:55:39]MH_I2C_Read... [10:55:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:55:40]Read from MH i2c: E2 [10:55:40]MH_I2C_Read... [10:55:40]Read from MH i2c: E2 0E 00 [10:55:40]MH_I2C_Read... [10:55:40]Read from MH i2c: E2 0E 00 5F 09 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 73 [10:55:40]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:55:40]wFMCommunicate OK [10:55:40]SAM_PROTO_GetShiftState done [10:55:40]FM_GetShiftState done [10:55:40]opened in 1717372856 [10:55:40]opened+sec_in_day 1717459256 [10:55:40]quantity*price = 14000 [10:55:40]sum+1 = 14001 [10:55:40]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 235.00 НСП 1% : 2.08 НДС 12% : 24.96 Наличными: 0.00 Безнал.: 235.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 26 03.06.2024 10:55 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4045 ФПД: 200574373982651 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T105543&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4045&fm=200574373982651&tin=02508201610067®Number=0000000000145775&sum=23500 0 [10:55:41]StoreToDocumentArchive [10:55:41]shift 82 fd 4045 [10:55:41]save to /storage/0082/doc_00004045 [10:55:41]save last doc name /storage/0082/doc_00004045 to /storage/kkm_last_doc_name [10:55:41]save OK [10:55:41]Clear old archive folders... [10:55:41]ProcessDocumentItem done err = 0, tmpTLVsize=401 [10:55:41]tlvbuf is 0078E020 [10:55:41]SAM_PROTO_ClearQueue [10:55:41]wFMCommunicate request_size=4 [10:55:41]MH_SAM_APDU [10:55:41]CAPDU: 80 09 00 00 [10:55:41]Write to MH i2c: E2 08 00 6C 09 80 09 00 00 00 00 00 00 E7 [10:55:41]Write i2c OK [10:55:41]MH_I2C_Read... [10:55:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:55:41]Read from MH i2c: E2 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 03 00 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 03 00 6C 09 00 90 00 E9 [10:55:41]RAPDU: 90 00 [10:55:41]wFMCommunicate OK [10:55:41]SAM_PROTO_ClearQueue done [10:55:41]KKMCreateOFDPacket [10:55:41]OFDProtocolAddRootSTLVToBuf [10:55:41]FM_MakeSignedData [10:55:41]FM_MakeSignedData [10:55:41]SAM_PROTO_SignData [10:55:41]wFMCommunicate request_size=4 [10:55:41]MH_SAM_APDU [10:55:41]CAPDU: 80 0D 01 02 [10:55:41]Write to MH i2c: E2 08 00 6D 09 80 0D 01 02 00 00 00 00 EF [10:55:41]Write i2c OK [10:55:41]MH_I2C_Read... [10:55:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:55:41]Read from MH i2c: E2 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 03 00 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 03 00 6D 09 00 90 00 EA [10:55:41]RAPDU: 90 00 [10:55:41]wFMCommunicate OK [10:55:41]wFMCommunicate request_size=255 [10:55:41]MH_SAM_APDU [10:55:41]CAPDU: 80 0D 02 02 FA 03 00 91 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 [10:55:41]Write to MH i2c: E2 02 01 6E 09 80 0D 02 02 FA 00 03 00 91 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 00 00 74 [10:55:41]Write i2c OK [10:55:41]MH_I2C_Read... [10:55:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:41]Read from MH i2c: E2 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 03 00 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 03 00 6E 09 00 90 00 EB [10:55:41]RAPDU: 90 00 [10:55:41]wFMCommunicate OK [10:55:41]wFMCommunicate request_size=160 [10:55:41]MH_SAM_APDU [10:55:41]CAPDU: 80 0D 02 02 9B 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 00 00 00 00 00 00 39 04 06 00 CC 5B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 2F A1 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CD 0F 00 00 35 04 06 00 B6 6B DC 4F F1 BB [10:55:41]Write to MH i2c: E2 A3 00 6F 09 80 0D 02 02 9B 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 00 00 00 00 00 00 39 04 06 00 CC 5B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 2F A1 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CD 0F 00 00 35 04 06 00 B6 6B DC 4F F1 BB 00 00 FC [10:55:41]Write i2c OK [10:55:41]MH_I2C_Read... [10:55:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:41]Read from MH i2c: E2 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 03 00 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 03 00 6F 09 00 90 00 EC [10:55:41]RAPDU: 90 00 [10:55:41]wFMCommunicate OK [10:55:41]wFMCommunicate request_size=4 [10:55:41]MH_SAM_APDU [10:55:41]CAPDU: 80 0D 03 02 [10:55:41]Write to MH i2c: E2 08 00 70 09 80 0D 03 02 00 00 00 00 F4 [10:55:41]Write i2c OK [10:55:41]MH_I2C_Read... [10:55:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:55:41]Read from MH i2c: E2 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 0B 00 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 0B 00 70 09 00 2A A6 14 6C A1 0B B9 CA 90 00 74 [10:55:41]RAPDU: 2A A6 14 6C A1 0B B9 CA 90 00 [10:55:41]wFMCommunicate OK [10:55:41]SAM_PROTO_SignData done [10:55:41]FM_MakeSignedData done [10:55:41]CreateOFDProtocolMessage [10:55:41]wFMCommunicate request_size=4 [10:55:41]MH_SAM_APDU [10:55:41]CAPDU: 80 11 00 00 [10:55:41]Write to MH i2c: E2 08 00 71 09 80 11 00 00 00 00 00 00 F4 [10:55:41]Write i2c OK [10:55:41]MH_I2C_Read... [10:55:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:55:41]Read from MH i2c: E2 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 17 00 [10:55:41]MH_I2C_Read... [10:55:41]Read from MH i2c: E2 17 00 71 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 47 [10:55:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:55:41]wFMCommunicate OK [10:55:41]CreateOFDProtocolMessage done [10:55:41]OFDSenderStorePacket 4045 [10:55:41]StoreOFDPacket docnum=4045 [10:55:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A5 01 00 00 8E 17 9D 01 F5 D5 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 00 00 00 00 39 04 06 00 CC 5B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 2F A1 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CD 0F 00 00 35 04 06 00 B6 6B DC 4F F1 BB 2A A6 14 6C A1 0B B9 CA [10:55:41]CheckFolder [10:55:41]dirname=/storage/ofd_packets [10:55:41]CheckFolder done [10:55:41]ProducePacketName [10:55:41]name=ofd_packets/00004045 [10:55:41]NVStorageSaveData ofd_packets/00004045 [10:55:41]File name is /storage/ofd_packets/00004045 [10:55:41]Write 451 bytes [10:55:41]NVStorageSaveData done [10:55:41]OFDSenderStorePacket done [10:55:41]KKMCreateOFDPacket done [10:55:41]NVStorageSaveData kkm_last_timestamp [10:55:41]File name is /storage/kkm_last_timestamp [10:55:41]Write 4 bytes [10:55:41]NVStorageSaveData done [10:55:41]ExternCall_PrintAddStr [10:55:41]wPrintStart [10:55:41]Write to MH i2c: 01 00 00 72 09 7B [10:55:42]OFD Sender: Processing packet 4045 [packets to send 2, broken 1] [10:55:42]ProducePacketName [10:55:42]name=ofd_packets/00004045 [10:55:42]OFD Sender: To server: pG, [10:55:42]CommunicateWithHost lk.salyk.kg:30040 [10:55:42]Write i2c OK [10:55:42]ConnectInit lk.salyk.kg [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: 01 [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: 01 07 00 [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: 01 07 00 72 09 00 00 00 00 00 FF 0F 90 [10:55:42]RasterBufferAndPrint [10:55:42]line Счет N : (3)4299 [10:55:42]line ИНН: 02508201610067 [10:55:42]line Контрольно-Кассовый Чек [10:55:42]line ПРОДАЖА [10:55:42]line Товар: 48743587 [10:55:42]line Сигареты Winston XStyle Silver [10:55:42]line 1.000 * 140.00 [10:55:42]line = 140.00 [10:55:42]line НДС 12% НСП 1% [10:55:42]line > о реализуемом товаре [10:55:42]line Товар: 4631150682851 [10:55:42]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [10:55:42]line 1.000 * 95.00 [10:55:42]line = 95.00 [10:55:42]line НДС 12% НСП 1% [10:55:42]line > о реализуемом товаре [10:55:42]line ИТОГО: 235.00 [10:55:42]line НСП 1% : 2.08 [10:55:42]line НДС 12% : 24.96 [10:55:42]line Наличными: 0.00 [10:55:42]line Безнал.: 235.00 [10:55:42]line Место: АЗС № 116 "Партнер Нефть" [10:55:42]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:55:42]line СНО: Общий режим [10:55:42]line Чек 26 03.06.2024 10:55 [10:55:42]line Смена: 82 ФФД: 1.0 [10:55:42]line ЗНМ: 0300000233 [10:55:42]line РНМ: 0000000000145775 [10:55:42]line Версия ККМ: v1.0 [10:55:42]line Платежная система: Бакай Банк [10:55:42]line ФМ: 0000000000959360 [10:55:42]line ФД: 4045 [10:55:42]line ФПД: 200574373982651 [10:55:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T105543&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4045&fm=200574373982651&tin=02508201610067®Number=0000000000145775&sum=23500 [10:55:42]line 0 [10:55:42]written 0, free lines is 4095 [10:55:42]Connected sock=10 [10:55:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A5 01 00 00 8E 17 9D 01 F5 D5 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 00 00 00 00 39 04 06 00 CC 5B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 2F A1 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CD 0F 00 00 35 04 06 00 B6 6B DC 4F F1 BB 2A A6 14 6C A1 0B B9 CA [10:55:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 89 13 47 00 82 B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CD 0F 00 00 F4 03 04 00 33 4D 5D 66 B6 04 01 00 00 FD 3C 63 4E 83 46 95 7B [10:55:42]CommunicateWithHost err = 0 [10:55:42]CheckOFDResponse [10:55:42]1017 (14) - 77093643461234 [10:55:42]1041 (16) - 0000000000959360 [10:55:42]1040 (4) - 4045 [10:55:42]1012 (4) - 03.06.2024 04:57 [10:55:42]1206 (1) - 0 [10:55:42]OFD Sender: Remove packet 4045 [10:55:42]ProducePacketName [10:55:42]name=ofd_packets/00004045 [10:55:42]NVStorageDeleteData [10:55:42]Write to MH i2c: 01 00 00 A4 09 AD [10:55:42]Write i2c OK [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: 01 [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: 01 07 00 [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: 01 07 00 A4 09 00 00 00 00 00 14 0C D4 [10:55:42]RasterBufferAndPrint [10:55:42]line [10:55:42]line [10:55:42]line [10:55:42]line [10:55:42]line [10:55:42]written 0, free lines is 3097 [10:55:42]MH_Cut [10:55:42]Write to MH i2c: D1 01 00 AB 09 01 86 [10:55:42]Write i2c OK [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: D1 [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: D1 01 00 [10:55:42]MH_I2C_Read... [10:55:42]Read from MH i2c: D1 01 00 AB 09 00 85 [10:55:42]Write to MH i2c: 01 00 00 AC 09 B5 [10:55:42]Write i2c OK [10:55:42]MH_I2C_Read... [10:55:42]OFD Sender: No OFD packet to send [10:55:43]*** Cut start [10:55:43]*** Partial cut [10:55:43]*** CUTSNS_PIN = 1 [10:55:43]*** CUTSNS_PIN = 0 [10:55:43]*** Brake cut motor [10:55:44]Read from MH i2c: 01 [10:55:44]MH_I2C_Read... [10:55:44]*** Stop cut motor [10:55:44]*** Cut end [10:55:44]Read from MH i2c: 01 07 00 [10:55:44]MH_I2C_Read... [10:55:44]Read from MH i2c: 01 07 00 AC 09 00 00 00 00 00 FF 0F CA [10:55:44]process_action close_receipt done [10:55:44]requested_data is exist [10:55:44]produce_requested_data [10:55:44]requested_item fm.sn is exist - process it [10:55:44]wFMCommunicate request_size=4 [10:55:44]MH_SAM_APDU [10:55:44]CAPDU: 80 11 00 00 [10:55:44]Write to MH i2c: E2 08 00 AD 09 80 11 00 00 00 00 00 00 30 [10:55:44]Write i2c OK [10:55:44]MH_I2C_Read... [10:55:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:55:44]Read from MH i2c: E2 [10:55:44]MH_I2C_Read... [10:55:44]Read from MH i2c: E2 17 00 [10:55:44]MH_I2C_Read... [10:55:44]Read from MH i2c: E2 17 00 AD 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 83 [10:55:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:55:44]wFMCommunicate OK [10:55:44]requested_item fd.num is exist - process it [10:55:44]SAM_PROTO_GetFieldsCounters [10:55:44]wFMCommunicate request_size=4 [10:55:44]MH_SAM_APDU [10:55:44]CAPDU: 80 13 00 00 [10:55:44]Write to MH i2c: E2 08 00 AE 09 80 13 00 00 00 00 00 00 33 [10:55:44]Write i2c OK [10:55:44]MH_I2C_Read... [10:55:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:55:44]Read from MH i2c: E2 [10:55:44]MH_I2C_Read... [10:55:44]Read from MH i2c: E2 62 00 [10:55:44]MH_I2C_Read... [10:55:44]Read from MH i2c: E2 62 00 AE 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CD 0F 00 00 0E 04 04 00 52 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 D4 [10:55:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CD 0F 00 00 0E 04 04 00 52 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 [10:55:44]wFMCommunicate OK [10:55:44]SAM_PROTO_GetFieldsCounters done [10:55:44]requested_item shift.num is exist - process it [10:55:44]requested_item shift.opened is exist - process it [10:55:44]req_shift_opened [10:55:44]FM_GetShiftState [10:55:44]SAM_PROTO_GetShiftState [10:55:44]wFMCommunicate request_size=4 [10:55:44]MH_SAM_APDU [10:55:44]CAPDU: 80 13 01 00 [10:55:44]Write to MH i2c: E2 08 00 AF 09 80 13 01 00 00 00 00 00 35 [10:55:44]Write i2c OK [10:55:44]MH_I2C_Read... [10:55:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:55:44]Read from MH i2c: E2 [10:55:44]MH_I2C_Read... [10:55:44]Read from MH i2c: E2 0E 00 [10:55:44]MH_I2C_Read... [10:55:44]Read from MH i2c: E2 0E 00 AF 09 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 C3 [10:55:44]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:55:44]wFMCommunicate OK [10:55:44]SAM_PROTO_GetShiftState done [10:55:44]FM_GetShiftState done [10:55:44]req_shift_opened done [10:55:44]requested_item shift.open_date is exist - process it [10:55:44]req_shift_open_date [10:55:44]req_shift_open_date done [10:55:44]produce_requested_data done [10:55:44]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4045,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [10:55:44]process_action_free close_receipt [10:55:44]json_value_free [10:55:44]json_value_free done [10:55:44]process_json_proto returns [10:55:44]Send response to host [10:55:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4045,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [10:55:44]free response buf [10:55:44]execute_script done [10:55:44]execute_script returns [10:55:44]free content buf [10:55:44]Sock 8.Close socket [10:55:44]Sock 8.Thread stoped [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:08]OFD Sender: No OFD packet to send [10:57:13]OFD Sender: No OFD packet to send [10:57:18]OFD Sender: No OFD packet to send [10:57:23]OFD Sender: No OFD packet to send [10:57:23]accept exits with 9 [10:57:23]New connection [10:57:23]New thread 3067227492 created [10:57:23]Thread 3067370852 joined [10:57:23]Waiting for new connection... [10:57:23] Sock 9.Parse request [10:57:23]Sock 9.Check first char [10:57:23]Sock 9.First char is OK [10:57:23]request: POST /json_proto HTTP/1.0 [10:57:23]Method: POST [10:57:23]URL: /json_proto [10:57:23]Method is POST - this is cgi request [10:57:23]url: /json_proto [10:57:23]query_string will be loaded in cgi processing [10:57:23]execute_cgi json_proto POST (null) [10:57:23]execute_cgi path=json_proto method=POST [10:57:23]POST find Content-Length [10:57:23]Host: 172.17.56.68:8080 [10:57:23]Content-Length: 817 [10:57:23]Content-Type: application/json [10:57:23] [10:57:23]POST finish read [10:57:23]Found Content-Length = 817 [10:57:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4300", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 53.00, "quantity" : 1.000, "sum" : 53.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" : 53.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:57:23]execute_script... [10:57: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)4300", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 53.00, "quantity" : 1.000, "sum" : 53.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" : 53.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:57:23]POST & json_proto [10:57:23]process_json_proto [10:57:23]json parsed OK: [10:57:23]protocol is kg_v1.0 [10:57:23]action value=close_receipt [10:57:23]process_action close_receipt [10:57:23]cmd_close_receipt [10:57:23]MH_GetDate [10:57:23]Write to MH i2c: F0 00 00 B0 09 A8 [10:57:23]Write i2c OK [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: F0 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: F0 09 00 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: F0 09 00 B0 09 00 97 A1 5D 66 42 69 5C 66 19 [10:57:23]GetLastDocTimeStamp 1717412143 [10:57:23]current date 1717412247 [10:57:23]FM_GetShiftState [10:57:23]SAM_PROTO_GetShiftState [10:57:23]wFMCommunicate request_size=4 [10:57:23]MH_SAM_APDU [10:57:23]CAPDU: 80 13 01 00 [10:57:23]Write to MH i2c: E2 08 00 B1 09 80 13 01 00 00 00 00 00 37 [10:57:23]Write i2c OK [10:57:23]MH_I2C_Read... [10:57:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:57:23]Read from MH i2c: E2 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: E2 0E 00 [10:57:23]MH_I2C_Read... [10:57:23]Read from MH i2c: E2 0E 00 B1 09 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 C5 [10:57:23]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:57:23]wFMCommunicate OK [10:57:23]SAM_PROTO_GetShiftState done [10:57:23]FM_GetShiftState done [10:57:23]opened in 1717372856 [10:57:23]opened+sec_in_day 1717459256 [10:57:23]quantity*price = 5300 [10:57:23]sum+1 = 5301 [10:57:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 53.00 НСП 1% : 0.47 НДС 12% : 5.63 Наличными: 0.00 Безнал.: 53.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 27 03.06.2024 10:57 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4046 ФПД: 86443053031903 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T105727&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4046&fm=86443053031903&tin=02508201610067®Number=0000000000145775&sum=5300 0 [10:57:24]StoreToDocumentArchive [10:57:24]shift 82 fd 4046 [10:57:24]save to /storage/0082/doc_00004046 [10:57:24]save last doc name /storage/0082/doc_00004046 to /storage/kkm_last_doc_name [10:57:24]save OK [10:57:24]Clear old archive folders... [10:57:24]ProcessDocumentItem done err = 0, tmpTLVsize=281 [10:57:24]tlvbuf is 00776700 [10:57:24]SAM_PROTO_ClearQueue [10:57:24]wFMCommunicate request_size=4 [10:57:24]MH_SAM_APDU [10:57:24]CAPDU: 80 09 00 00 [10:57:24]Write to MH i2c: E2 08 00 BE 09 80 09 00 00 00 00 00 00 39 [10:57:24]Write i2c OK [10:57:24]MH_I2C_Read... [10:57:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:57:24]Read from MH i2c: E2 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 03 00 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 03 00 BE 09 00 90 00 3B [10:57:24]RAPDU: 90 00 [10:57:24]wFMCommunicate OK [10:57:24]SAM_PROTO_ClearQueue done [10:57:24]KKMCreateOFDPacket [10:57:24]OFDProtocolAddRootSTLVToBuf [10:57:24]FM_MakeSignedData [10:57:24]FM_MakeSignedData [10:57:24]SAM_PROTO_SignData [10:57:24]wFMCommunicate request_size=4 [10:57:24]MH_SAM_APDU [10:57:24]CAPDU: 80 0D 01 02 [10:57:24]Write to MH i2c: E2 08 00 BF 09 80 0D 01 02 00 00 00 00 41 [10:57:24]Write i2c OK [10:57:24]MH_I2C_Read... [10:57:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:57:24]Read from MH i2c: E2 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 03 00 [10:57:24]MH_I2C_Read... [10:57:24]Read from MH i2c: E2 03 00 BF 09 00 90 00 3C [10:57:24]RAPDU: 90 00 [10:57:24]wFMCommunicate OK [10:57:24]wFMCommunicate request_size=255 [10:57:24]MH_SAM_APDU [10:57:24]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 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 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 14 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 97 A1 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 [10:57:24]Write to MH i2c: E2 02 01 C0 09 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 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 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 14 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 97 A1 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 8A [10:57:24]Write i2c OK [10:57:24]MH_I2C_Read... [10:57:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:57:25]Read from MH i2c: E2 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 03 00 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 03 00 C0 09 00 90 00 3D [10:57:25]RAPDU: 90 00 [10:57:25]wFMCommunicate OK [10:57:25]wFMCommunicate request_size=40 [10:57:25]MH_SAM_APDU [10:57:25]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CE 0F 00 00 35 04 06 00 4E 9E 97 78 21 DF [10:57:25]Write to MH i2c: E2 2B 00 C1 09 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CE 0F 00 00 35 04 06 00 4E 9E 97 78 21 DF 00 00 D9 [10:57:25]Write i2c OK [10:57:25]MH_I2C_Read... [10:57:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:57:25]Read from MH i2c: E2 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 03 00 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 03 00 C1 09 00 90 00 3E [10:57:25]RAPDU: 90 00 [10:57:25]wFMCommunicate OK [10:57:25]wFMCommunicate request_size=4 [10:57:25]MH_SAM_APDU [10:57:25]CAPDU: 80 0D 03 02 [10:57:25]Write to MH i2c: E2 08 00 C2 09 80 0D 03 02 00 00 00 00 46 [10:57:25]Write i2c OK [10:57:25]MH_I2C_Read... [10:57:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:57:25]Read from MH i2c: E2 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 0B 00 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 0B 00 C2 09 00 CA 24 E3 12 21 D6 8F A1 90 00 51 [10:57:25]RAPDU: CA 24 E3 12 21 D6 8F A1 90 00 [10:57:25]wFMCommunicate OK [10:57:25]SAM_PROTO_SignData done [10:57:25]FM_MakeSignedData done [10:57:25]CreateOFDProtocolMessage [10:57:25]wFMCommunicate request_size=4 [10:57:25]MH_SAM_APDU [10:57:25]CAPDU: 80 11 00 00 [10:57:25]Write to MH i2c: E2 08 00 C3 09 80 11 00 00 00 00 00 00 46 [10:57:25]Write i2c OK [10:57:25]MH_I2C_Read... [10:57:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:57:25]Read from MH i2c: E2 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 17 00 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: E2 17 00 C3 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 99 [10:57:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:57:25]wFMCommunicate OK [10:57:25]CreateOFDProtocolMessage done [10:57:25]OFDSenderStorePacket 4046 [10:57:25]StoreOFDPacket docnum=4046 [10:57:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 06 1D 25 01 E4 2C 5A 03 01 00 03 00 19 01 1E 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 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 14 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 97 A1 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CE 0F 00 00 35 04 06 00 4E 9E 97 78 21 DF CA 24 E3 12 21 D6 8F A1 [10:57:25]CheckFolder [10:57:25]dirname=/storage/ofd_packets [10:57:25]CheckFolder done [10:57:25]ProducePacketName [10:57:25]name=ofd_packets/00004046 [10:57:25]NVStorageSaveData ofd_packets/00004046 [10:57:25]File name is /storage/ofd_packets/00004046 [10:57:25]Write 331 bytes [10:57:25]NVStorageSaveData done [10:57:25]OFDSenderStorePacket done [10:57:25]KKMCreateOFDPacket done [10:57:25]NVStorageSaveData kkm_last_timestamp [10:57:25]File name is /storage/kkm_last_timestamp [10:57:25]Write 4 bytes [10:57:25]NVStorageSaveData done [10:57:25]ExternCall_PrintAddStr [10:57:25]wPrintStart [10:57:25]Write to MH i2c: 01 00 00 C4 09 CD [10:57:25]Write i2c OK [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: 01 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: 01 07 00 [10:57:25]MH_I2C_Read... [10:57:25]Read from MH i2c: 01 07 00 C4 09 00 00 00 00 00 FF 0F E2 [10:57:25]RasterBufferAndPrint [10:57:25]line Счет N : (3)4300 [10:57:25]line ИНН: 02508201610067 [10:57:25]line Контрольно-Кассовый Чек [10:57:25]line ПРОДАЖА [10:57:25]line Товар: 4607065001445 [10:57:25]line Шок батончик Snickers 50,5г [10:57:25]line 1.000 * 53.00 [10:57:25]line = 53.00 [10:57:25]line НДС 12% НСП 1% [10:57:25]line > о реализуемом товаре [10:57:25]line ИТОГО: 53.00 [10:57:25]line НСП 1% : 0.47 [10:57:25]line НДС 12% : 5.63 [10:57:25]line Наличными: 0.00 [10:57:25]line Безнал.: 53.00 [10:57:25]line Место: АЗС № 116 "Партнер Нефть" [10:57:25]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:57:25]line СНО: Общий режим [10:57:25]line Чек 27 03.06.2024 10:57 [10:57:25]line Смена: 82 ФФД: 1.0 [10:57:25]line ЗНМ: 0300000233 [10:57:25]line РНМ: 0000000000145775 [10:57:25]line Версия ККМ: v1.0 [10:57:25]line Платежная система: Бакай Банк [10:57:25]line ФМ: 0000000000959360 [10:57:25]line ФД: 4046 [10:57:25]line ФПД: 86443053031903 [10:57:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T105727&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4046&fm=86443053031903&tin=02508201610067®Number=0000000000145775&sum=5300 [10:57:25]line 0 [10:57:25]OFD Sender: Processing packet 4046 [packets to send 2, broken 1] [10:57:25]ProducePacketName [10:57:25]name=ofd_packets/00004046 [10:57:25]OFD Sender: To server: pG, [10:57:25]CommunicateWithHost lk.salyk.kg:30040 [10:57:25]ConnectInit lk.salyk.kg [10:57:25]written 0, free lines is 4095 [10:57:25]Connected sock=10 [10:57:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 06 1D 25 01 E4 2C 5A 03 01 00 03 00 19 01 1E 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 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 14 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 97 A1 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CE 0F 00 00 35 04 06 00 4E 9E 97 78 21 DF CA 24 E3 12 21 D6 8F A1 [10:57:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 7C DA 47 00 99 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CE 0F 00 00 F4 03 04 00 9A 4D 5D 66 B6 04 01 00 00 2C 31 C3 16 25 2B 0C A4 [10:57:26]CommunicateWithHost err = 0 [10:57:26]CheckOFDResponse [10:57:26]1017 (14) - 77093643461234 [10:57:26]1041 (16) - 0000000000959360 [10:57:26]1040 (4) - 4046 [10:57:26]1012 (4) - 03.06.2024 04:59 [10:57:26]1206 (1) - 0 [10:57:26]OFD Sender: Remove packet 4046 [10:57:26]ProducePacketName [10:57:26]name=ofd_packets/00004046 [10:57:26]NVStorageDeleteData [10:57:26]Write to MH i2c: 01 00 00 EE 09 F7 [10:57:26]Write i2c OK [10:57:26]MH_I2C_Read... [10:57:26]Read from MH i2c: 01 [10:57:26]MH_I2C_Read... [10:57:26]Read from MH i2c: 01 07 00 [10:57:26]MH_I2C_Read... [10:57:26]Read from MH i2c: 01 07 00 EE 09 00 00 00 00 00 A7 0C B1 [10:57:26]RasterBufferAndPrint [10:57:26]line [10:57:26]line [10:57:26]line [10:57:26]line [10:57:26]line [10:57:26]written 0, free lines is 3245 [10:57:26]MH_Cut [10:57:26]Write to MH i2c: D1 01 00 F5 09 01 D0 [10:57:26]Write i2c OK [10:57:26]MH_I2C_Read... [10:57:26]Read from MH i2c: D1 [10:57:26]MH_I2C_Read... [10:57:26]Read from MH i2c: D1 01 00 [10:57:26]MH_I2C_Read... [10:57:26]Read from MH i2c: D1 01 00 F5 09 00 CF [10:57:26]Write to MH i2c: 01 00 00 F6 09 FF [10:57:26]Write i2c OK [10:57:26]MH_I2C_Read... [10:57:26]OFD Sender: No OFD packet to send [10:57:27]*** Cut start [10:57:27]*** Partial cut [10:57:27]*** CUTSNS_PIN = 1 [10:57:27]*** CUTSNS_PIN = 0 [10:57:27]*** Brake cut motor [10:57:27]Read from MH i2c: 01 [10:57:27]MH_I2C_Read... [10:57:27]*** Stop cut motor [10:57:27]*** Cut end [10:57:27]Read from MH i2c: 01 07 00 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: 01 07 00 F6 09 00 00 00 00 00 FF 0F 14 [10:57:27]process_action close_receipt done [10:57:27]requested_data is exist [10:57:27]produce_requested_data [10:57:27]requested_item fm.sn is exist - process it [10:57:27]wFMCommunicate request_size=4 [10:57:27]MH_SAM_APDU [10:57:27]CAPDU: 80 11 00 00 [10:57:27]Write to MH i2c: E2 08 00 F7 09 80 11 00 00 00 00 00 00 7A [10:57:27]Write i2c OK [10:57:27]MH_I2C_Read... [10:57:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:57:27]Read from MH i2c: E2 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: E2 17 00 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: E2 17 00 F7 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 CD [10:57:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:57:27]wFMCommunicate OK [10:57:27]requested_item fd.num is exist - process it [10:57:27]SAM_PROTO_GetFieldsCounters [10:57:27]wFMCommunicate request_size=4 [10:57:27]MH_SAM_APDU [10:57:27]CAPDU: 80 13 00 00 [10:57:27]Write to MH i2c: E2 08 00 F8 09 80 13 00 00 00 00 00 00 7D [10:57:27]Write i2c OK [10:57:27]MH_I2C_Read... [10:57:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:57:27]Read from MH i2c: E2 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: E2 62 00 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: E2 62 00 F8 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CE 0F 00 00 0E 04 04 00 52 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 22 [10:57:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CE 0F 00 00 0E 04 04 00 52 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 [10:57:27]wFMCommunicate OK [10:57:27]SAM_PROTO_GetFieldsCounters done [10:57:27]requested_item shift.num is exist - process it [10:57:27]requested_item shift.opened is exist - process it [10:57:27]req_shift_opened [10:57:27]FM_GetShiftState [10:57:27]SAM_PROTO_GetShiftState [10:57:27]wFMCommunicate request_size=4 [10:57:27]MH_SAM_APDU [10:57:27]CAPDU: 80 13 01 00 [10:57:27]Write to MH i2c: E2 08 00 F9 09 80 13 01 00 00 00 00 00 7F [10:57:27]Write i2c OK [10:57:27]MH_I2C_Read... [10:57:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:57:27]Read from MH i2c: E2 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: E2 0E 00 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: E2 0E 00 F9 09 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 0D [10:57:27]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [10:57:27]wFMCommunicate OK [10:57:27]SAM_PROTO_GetShiftState done [10:57:27]FM_GetShiftState done [10:57:27]req_shift_opened done [10:57:27]requested_item shift.open_date is exist - process it [10:57:27]req_shift_open_date [10:57:27]req_shift_open_date done [10:57:27]produce_requested_data done [10:57:27]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4046,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [10:57:27]process_action_free close_receipt [10:57:27]json_value_free [10:57:27]json_value_free done [10:57:27]process_json_proto returns [10:57:27]Send response to host [10:57:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4046,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [10:57:27]free response buf [10:57:27]execute_script done [10:57:27]execute_script returns [10:57:27]free content buf [10:57:27]Sock 9.Close socket [10:57:27]Sock 9.Thread stoped [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:56]OFD Sender: No OFD packet to send [11:00:01]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:16]OFD Sender: No OFD packet to send [11:00:21]OFD Sender: No OFD packet to send [11:00:26]OFD Sender: No OFD packet to send [11:00:31]OFD Sender: No OFD packet to send [11:00:36]OFD Sender: No OFD packet to send [11:00:41]OFD Sender: No OFD packet to send [11:00:46]OFD Sender: No OFD packet to send [11:00:51]OFD Sender: No OFD packet to send [11:00:56]OFD Sender: No OFD packet to send [11:01:01]OFD Sender: No OFD packet to send [11:01:06]OFD Sender: No OFD packet to send [11:01:11]OFD Sender: No OFD packet to send [11:01:16]OFD Sender: No OFD packet to send [11:01:21]OFD Sender: No OFD packet to send [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:21]OFD Sender: No OFD packet to send [11:02:26]OFD Sender: No OFD packet to send [11:02:31]OFD Sender: No OFD packet to send [11:02:36]OFD Sender: No OFD packet to send [11:02:41]OFD Sender: No OFD packet to send [11:02:46]OFD Sender: No OFD packet to send [11:02:51]OFD Sender: No OFD packet to send [11:02:56]OFD Sender: No OFD packet to send [11:03:01]OFD Sender: No OFD packet to send [11:03:06]OFD Sender: No OFD packet to send [11:03:11]OFD Sender: No OFD packet to send [11:03:16]OFD Sender: No OFD packet to send [11:03:21]OFD Sender: No OFD packet to send [11:03:26]OFD Sender: No OFD packet to send [11:03:31]OFD Sender: No OFD packet to send [11:03:36]OFD Sender: No OFD packet to send [11:03:41]OFD Sender: No OFD packet to send [11:03:46]OFD Sender: No OFD packet to send [11:03:51]OFD Sender: No OFD packet to send [11:03:56]OFD Sender: No OFD packet to send [11:04:01]OFD Sender: No OFD packet to send [11:04:06]OFD Sender: No OFD packet to send [11:04:11]OFD Sender: No OFD packet to send [11:04:16]OFD Sender: No OFD packet to send [11:04:21]OFD Sender: No OFD packet to send [11:04:26]OFD Sender: No OFD packet to send [11:04:31]OFD Sender: No OFD packet to send [11:04:36]OFD Sender: No OFD packet to send [11:04:41]OFD Sender: No OFD packet to send [11:04:46]OFD Sender: No OFD packet to send [11:04:51]OFD Sender: No OFD packet to send [11:04:56]OFD Sender: No OFD packet to send [11:05:01]OFD Sender: No OFD packet to send [11:05:06]OFD Sender: No OFD packet to send [11:05:11]OFD Sender: No OFD packet to send [11:05:16]OFD Sender: No OFD packet to send [11:05:21]OFD Sender: No OFD packet to send [11:05:26]OFD Sender: No OFD packet to send [11:05:31]OFD Sender: No OFD packet to send [11:05:36]OFD Sender: No OFD packet to send [11:05:41]OFD Sender: No OFD packet to send [11:05:46]OFD Sender: No OFD packet to send [11:05:51]OFD Sender: No OFD packet to send [11:05:56]OFD Sender: No OFD packet to send [11:06:01]OFD Sender: No OFD packet to send [11:06:06]OFD Sender: No OFD packet to send [11:06:11]OFD Sender: No OFD packet to send [11:06:16]OFD Sender: No OFD packet to send [11:06:21]OFD Sender: No OFD packet to send [11:06:26]OFD Sender: No OFD packet to send [11:06:31]OFD Sender: No OFD packet to send [11:06:36]OFD Sender: No OFD packet to send [11:06:41]OFD Sender: No OFD packet to send [11:06:46]OFD Sender: No OFD packet to send [11:06:51]OFD Sender: No OFD packet to send [11:06:56]OFD Sender: No OFD packet to send [11:07:01]OFD Sender: No OFD packet to send [11:07:06]OFD Sender: No OFD packet to send [11:07:11]OFD Sender: No OFD packet to send [11:07:16]OFD Sender: No OFD packet to send [11:07:21]OFD Sender: No OFD packet to send [11:07:26]OFD Sender: No OFD packet to send [11:07:31]OFD Sender: No OFD packet to send [11:07:36]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:37]OFD Sender: No OFD packet to send [11:10:38]accept exits with 8 [11:10:38]New connection [11:10:38]New thread 3067370852 created [11:10:38]Thread 3067227492 joined [11:10:38]Waiting for new connection... [11:10:38] Sock 8.Parse request [11:10:38]Sock 8.Check first char [11:10:38]Sock 8.First char is OK [11:10:38]request: POST /json_proto HTTP/1.0 [11:10:38]Method: POST [11:10:38]URL: /json_proto [11:10:38]Method is POST - this is cgi request [11:10:38]url: /json_proto [11:10:38]query_string will be loaded in cgi processing [11:10:38]execute_cgi json_proto POST (null) [11:10:38]execute_cgi path=json_proto method=POST [11:10:38]POST find Content-Length [11:10:38]Host: 172.17.56.68:8080 [11:10:38]Content-Length: 652 [11:10:38]Content-Type: application/json [11:10:38] [11:10:38]POST finish read [11:10:38]Found Content-Length = 652 [11:10:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4301", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:38]execute_script... [11:10: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)4301", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:38]POST & json_proto [11:10:38]process_json_proto [11:10:38]json parsed OK: [11:10:38]protocol is kg_v1.0 [11:10:38]action value=close_receipt [11:10:38]process_action close_receipt [11:10:38]cmd_close_receipt [11:10:38]MH_GetDate [11:10:38]Write to MH i2c: F0 00 00 FA 09 F2 [11:10:38]Write i2c OK [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: F0 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: F0 09 00 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: F0 09 00 FA 09 00 B2 A4 5D 66 42 69 5C 66 81 [11:10:38]GetLastDocTimeStamp 1717412247 [11:10:38]current date 1717413042 [11:10:38]FM_GetShiftState [11:10:38]SAM_PROTO_GetShiftState [11:10:38]wFMCommunicate request_size=4 [11:10:38]MH_SAM_APDU [11:10:38]CAPDU: 80 13 01 00 [11:10:38]Write to MH i2c: E2 08 00 FB 09 80 13 01 00 00 00 00 00 81 [11:10:38]Write i2c OK [11:10:38]MH_I2C_Read... [11:10:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:38]Read from MH i2c: E2 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: E2 0E 00 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: E2 0E 00 FB 09 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 0F [11:10:38]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [11:10:38]wFMCommunicate OK [11:10:38]SAM_PROTO_GetShiftState done [11:10:38]FM_GetShiftState done [11:10:38]opened in 1717372856 [11:10:38]opened+sec_in_day 1717459256 [11:10:38]quantity*price = 9500 [11:10:38]sum+1 = 9501 [11:10:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 28 03.06.2024 11:10 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4047 ФПД: 270602920575601 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T111042&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4047&fm=270602920575601&tin=02508201610067®Number=0000000000145775&sum=9500 0 [11:10:39]StoreToDocumentArchive [11:10:39]shift 82 fd 4047 [11:10:39]save to /storage/0082/doc_00004047 [11:10:39]save last doc name /storage/0082/doc_00004047 to /storage/kkm_last_doc_name [11:10:39]save OK [11:10:39]Clear old archive folders... [11:10:39]ProcessDocumentItem done err = 0, tmpTLVsize=293 [11:10:39]tlvbuf is 007970E0 [11:10:39]SAM_PROTO_ClearQueue [11:10:39]wFMCommunicate request_size=4 [11:10:39]MH_SAM_APDU [11:10:39]CAPDU: 80 09 00 00 [11:10:39]Write to MH i2c: E2 08 00 08 0A 80 09 00 00 00 00 00 00 84 [11:10:39]Write i2c OK [11:10:39]MH_I2C_Read... [11:10:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:10:39]Read from MH i2c: E2 [11:10:39]MH_I2C_Read... [11:10:39]Read from MH i2c: E2 03 00 [11:10:39]MH_I2C_Read... [11:10:39]Read from MH i2c: E2 03 00 08 0A 00 90 00 86 [11:10:39]RAPDU: 90 00 [11:10:39]wFMCommunicate OK [11:10:39]SAM_PROTO_ClearQueue done [11:10:39]KKMCreateOFDPacket [11:10:39]OFDProtocolAddRootSTLVToBuf [11:10:39]FM_MakeSignedData [11:10:39]FM_MakeSignedData [11:10:39]SAM_PROTO_SignData [11:10:39]wFMCommunicate request_size=4 [11:10:39]MH_SAM_APDU [11:10:39]CAPDU: 80 0D 01 02 [11:10:39]Write to MH i2c: E2 08 00 09 0A 80 0D 01 02 00 00 00 00 8C [11:10:39]Write i2c OK [11:10:39]MH_I2C_Read... [11:10:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:10:39]Read from MH i2c: E2 [11:10:39]MH_I2C_Read... [11:10:39]Read from MH i2c: E2 03 00 [11:10:39]MH_I2C_Read... [11:10:39]Read from MH i2c: E2 03 00 09 0A 00 90 00 87 [11:10:39]RAPDU: 90 00 [11:10:39]wFMCommunicate OK [11:10:39]wFMCommunicate request_size=255 [11:10:39]MH_SAM_APDU [11:10:39]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 B2 A4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [11:10:39]Write to MH i2c: E2 02 01 0A 0A 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 B2 A4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 B3 [11:10:39]Write i2c OK [11:10:39]MH_I2C_Read... [11:10:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:40]Read from MH i2c: E2 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: E2 03 00 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: E2 03 00 0A 0A 00 90 00 88 [11:10:40]RAPDU: 90 00 [11:10:40]wFMCommunicate OK [11:10:40]wFMCommunicate request_size=52 [11:10:40]MH_SAM_APDU [11:10:40]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CF 0F 00 00 35 04 06 00 F6 1C A6 F4 C2 71 [11:10:40]Write to MH i2c: E2 37 00 0B 0A 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CF 0F 00 00 35 04 06 00 F6 1C A6 F4 C2 71 00 00 13 [11:10:40]Write i2c OK [11:10:40]MH_I2C_Read... [11:10:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:40]Read from MH i2c: E2 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: E2 03 00 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: E2 03 00 0B 0A 00 90 00 89 [11:10:40]RAPDU: 90 00 [11:10:40]wFMCommunicate OK [11:10:40]wFMCommunicate request_size=4 [11:10:40]MH_SAM_APDU [11:10:40]CAPDU: 80 0D 03 02 [11:10:40]Write to MH i2c: E2 08 00 0C 0A 80 0D 03 02 00 00 00 00 91 [11:10:40]Write i2c OK [11:10:40]MH_I2C_Read... [11:10:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:10:40]Read from MH i2c: E2 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: E2 0B 00 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: E2 0B 00 0C 0A 00 EC B8 03 FB 0F 67 D9 81 90 00 04 [11:10:40]RAPDU: EC B8 03 FB 0F 67 D9 81 90 00 [11:10:40]wFMCommunicate OK [11:10:40]SAM_PROTO_SignData done [11:10:40]FM_MakeSignedData done [11:10:40]CreateOFDProtocolMessage [11:10:40]wFMCommunicate request_size=4 [11:10:40]MH_SAM_APDU [11:10:40]CAPDU: 80 11 00 00 [11:10:40]Write to MH i2c: E2 08 00 0D 0A 80 11 00 00 00 00 00 00 91 [11:10:40]Write i2c OK [11:10:40]MH_I2C_Read... [11:10:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:40]Read from MH i2c: E2 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: E2 17 00 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: E2 17 00 0D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E4 [11:10:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:10:40]wFMCommunicate OK [11:10:40]CreateOFDProtocolMessage done [11:10:40]OFDSenderStorePacket 4047 [11:10:40]StoreOFDPacket docnum=4047 [11:10:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 E7 9C 31 01 42 12 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 B2 A4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CF 0F 00 00 35 04 06 00 F6 1C A6 F4 C2 71 EC B8 03 FB 0F 67 D9 81 [11:10:40]CheckFolder [11:10:40]dirname=/storage/ofd_packets [11:10:40]CheckFolder done [11:10:40]ProducePacketName [11:10:40]name=ofd_packets/00004047 [11:10:40]NVStorageSaveData ofd_packets/00004047 [11:10:40]File name is /storage/ofd_packets/00004047 [11:10:40]Write 343 bytes [11:10:40]NVStorageSaveData done [11:10:40]OFDSenderStorePacket done [11:10:40]KKMCreateOFDPacket done [11:10:40]NVStorageSaveData kkm_last_timestamp [11:10:40]File name is /storage/kkm_last_timestamp [11:10:40]Write 4 bytes [11:10:40]NVStorageSaveData done [11:10:40]ExternCall_PrintAddStr [11:10:40]wPrintStart [11:10:40]Write to MH i2c: 01 00 00 0E 0A 18 [11:10:40]Write i2c OK [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: 01 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: 01 07 00 [11:10:40]MH_I2C_Read... [11:10:40]Read from MH i2c: 01 07 00 0E 0A 00 00 00 00 00 FF 0F 2D [11:10:40]RasterBufferAndPrint [11:10:40]line Счет N : (3)4301 [11:10:40]line ИНН: 02508201610067 [11:10:40]line Контрольно-Кассовый Чек [11:10:40]line ПРОДАЖА [11:10:40]line Товар: 4700000480050 [11:10:40]line Напиток Nitro Energy эн green ж/б 0,45л [11:10:40]line 1.000 * 95.00 [11:10:40]line = 95.00 [11:10:40]line НДС 12% НСП 1% [11:10:40]line > о реализуемом товаре [11:10:40]line ИТОГО: 95.00 [11:10:40]line НСП 1% : 0.84 [11:10:40]line НДС 12% : 10.09 [11:10:40]line Наличными: 95.00 [11:10:40]line Безнал.: 0.00 [11:10:40]line Место: АЗС № 116 "Партнер Нефть" [11:10:40]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:10:40]line СНО: Общий режим [11:10:40]line Чек 28 03.06.2024 11:10 [11:10:40]line Смена: 82 ФФД: 1.0 [11:10:40]line ЗНМ: 0300000233 [11:10:40]line РНМ: 0000000000145775 [11:10:40]line Версия ККМ: v1.0 [11:10:40]line ФМ: 0000000000959360 [11:10:40]line ФД: 4047 [11:10:40]line ФПД: 270602920575601 [11:10:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T111042&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4047&fm=270602920575601&tin=02508201610067®Number=0000000000145775&sum=9500 [11:10:40]line 0 [11:10:40]OFD Sender: Processing packet 4047 [packets to send 2, broken 1] [11:10:40]ProducePacketName [11:10:40]name=ofd_packets/00004047 [11:10:40]OFD Sender: To server: pG, [11:10:40]CommunicateWithHost lk.salyk.kg:30040 [11:10:40]ConnectInit lk.salyk.kg [11:10:40]written 0, free lines is 4095 [11:10:40]Connected sock=10 [11:10:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 E7 9C 31 01 42 12 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 B2 A4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CF 0F 00 00 35 04 06 00 F6 1C A6 F4 C2 71 EC B8 03 FB 0F 67 D9 81 [11:10:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 28 8D 47 00 9F BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 CF 0F 00 00 F4 03 04 00 B5 50 5D 66 B6 04 01 00 00 38 E4 B4 DC 0C 98 F2 D7 [11:10:41]CommunicateWithHost err = 0 [11:10:41]CheckOFDResponse [11:10:41]1017 (14) - 77093643461234 [11:10:41]1041 (16) - 0000000000959360 [11:10:41]1040 (4) - 4047 [11:10:41]1012 (4) - 03.06.2024 05:12 [11:10:41]1206 (1) - 0 [11:10:41]OFD Sender: Remove packet 4047 [11:10:41]ProducePacketName [11:10:41]name=ofd_packets/00004047 [11:10:41]NVStorageDeleteData [11:10:41]Write to MH i2c: 01 00 00 37 0A 41 [11:10:41]Write i2c OK [11:10:41]MH_I2C_Read... [11:10:41]Read from MH i2c: 01 [11:10:41]MH_I2C_Read... [11:10:41]Read from MH i2c: 01 07 00 [11:10:41]MH_I2C_Read... [11:10:41]Read from MH i2c: 01 07 00 37 0A 00 00 00 00 00 B0 0C 04 [11:10:41]RasterBufferAndPrint [11:10:41]line [11:10:41]line [11:10:41]line [11:10:41]line [11:10:41]line [11:10:41]written 0, free lines is 3253 [11:10:41]MH_Cut [11:10:41]Write to MH i2c: D1 01 00 3E 0A 01 1A [11:10:41]Write i2c OK [11:10:41]MH_I2C_Read... [11:10:41]Read from MH i2c: D1 [11:10:41]MH_I2C_Read... [11:10:41]Read from MH i2c: D1 01 00 [11:10:41]MH_I2C_Read... [11:10:41]Read from MH i2c: D1 01 00 3E 0A 00 19 [11:10:41]Write to MH i2c: 01 00 00 3F 0A 49 [11:10:41]Write i2c OK [11:10:41]MH_I2C_Read... [11:10:41]OFD Sender: No OFD packet to send [11:10:42]*** Cut start [11:10:42]*** Partial cut [11:10:42]*** CUTSNS_PIN = 1 [11:10:42]*** CUTSNS_PIN = 0 [11:10:42]*** Brake cut motor [11:10:42]Read from MH i2c: 01 [11:10:42]MH_I2C_Read... [11:10:42]*** Stop cut motor [11:10:42]*** Cut end [11:10:42]Read from MH i2c: 01 07 00 [11:10:42]MH_I2C_Read... [11:10:42]Read from MH i2c: 01 07 00 3F 0A 00 00 00 00 00 FF 0F 5E [11:10:42]process_action close_receipt done [11:10:42]requested_data is exist [11:10:42]produce_requested_data [11:10:42]requested_item fm.sn is exist - process it [11:10:42]wFMCommunicate request_size=4 [11:10:42]MH_SAM_APDU [11:10:42]CAPDU: 80 11 00 00 [11:10:42]Write to MH i2c: E2 08 00 40 0A 80 11 00 00 00 00 00 00 C4 [11:10:42]Write i2c OK [11:10:42]MH_I2C_Read... [11:10:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:42]Read from MH i2c: E2 [11:10:42]MH_I2C_Read... [11:10:42]Read from MH i2c: E2 17 00 [11:10:42]MH_I2C_Read... [11:10:42]Read from MH i2c: E2 17 00 40 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 17 [11:10:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:10:42]wFMCommunicate OK [11:10:42]requested_item fd.num is exist - process it [11:10:42]SAM_PROTO_GetFieldsCounters [11:10:42]wFMCommunicate request_size=4 [11:10:42]MH_SAM_APDU [11:10:42]CAPDU: 80 13 00 00 [11:10:42]Write to MH i2c: E2 08 00 41 0A 80 13 00 00 00 00 00 00 C7 [11:10:42]Write i2c OK [11:10:42]MH_I2C_Read... [11:10:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:10:42]Read from MH i2c: E2 [11:10:42]MH_I2C_Read... [11:10:42]Read from MH i2c: E2 62 00 [11:10:42]MH_I2C_Read... [11:10:42]Read from MH i2c: E2 62 00 41 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CF 0F 00 00 0E 04 04 00 52 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 70 [11:10:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 CF 0F 00 00 0E 04 04 00 52 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:10:42]wFMCommunicate OK [11:10:42]SAM_PROTO_GetFieldsCounters done [11:10:42]requested_item shift.num is exist - process it [11:10:42]requested_item shift.opened is exist - process it [11:10:42]req_shift_opened [11:10:42]FM_GetShiftState [11:10:42]SAM_PROTO_GetShiftState [11:10:42]wFMCommunicate request_size=4 [11:10:42]MH_SAM_APDU [11:10:42]CAPDU: 80 13 01 00 [11:10:42]Write to MH i2c: E2 08 00 42 0A 80 13 01 00 00 00 00 00 C9 [11:10:42]Write i2c OK [11:10:42]MH_I2C_Read... [11:10:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:42]Read from MH i2c: E2 [11:10:42]MH_I2C_Read... [11:10:42]Read from MH i2c: E2 0E 00 [11:10:42]MH_I2C_Read... [11:10:42]Read from MH i2c: E2 0E 00 42 0A 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 57 [11:10:42]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [11:10:42]wFMCommunicate OK [11:10:42]SAM_PROTO_GetShiftState done [11:10:42]FM_GetShiftState done [11:10:42]req_shift_opened done [11:10:42]requested_item shift.open_date is exist - process it [11:10:42]req_shift_open_date [11:10:42]req_shift_open_date done [11:10:42]produce_requested_data done [11:10:42]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4047,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [11:10:42]process_action_free close_receipt [11:10:42]json_value_free [11:10:42]json_value_free done [11:10:42]process_json_proto returns [11:10:42]Send response to host [11:10:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4047,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [11:10:42]free response buf [11:10:42]execute_script done [11:10:42]execute_script returns [11:10:42]free content buf [11:10:42]Sock 8.Close socket [11:10:42]Sock 8.Thread stoped [11:10:46]OFD Sender: No OFD packet to send [11:10:51]OFD Sender: No OFD packet to send [11:10:56]OFD Sender: No OFD packet to send [11:11:01]OFD Sender: No OFD packet to send [11:11:06]OFD Sender: No OFD packet to send [11:11:11]OFD Sender: No OFD packet to send [11:11:16]OFD Sender: No OFD packet to send [11:11:21]OFD Sender: No OFD packet to send [11:11:26]OFD Sender: No OFD packet to send [11:11:31]OFD Sender: No OFD packet to send [11:11:36]OFD Sender: No OFD packet to send [11:11:41]OFD Sender: No OFD packet to send [11:11:46]OFD Sender: No OFD packet to send [11:11:51]OFD Sender: No OFD packet to send [11:11:56]OFD Sender: No OFD packet to send [11:12:01]OFD Sender: No OFD packet to send [11:12:06]OFD Sender: No OFD packet to send [11:12:11]OFD Sender: No OFD packet to send [11:12:16]OFD Sender: No OFD packet to send [11:12:21]OFD Sender: No OFD packet to send [11:12:26]OFD Sender: No OFD packet to send [11:12:31]OFD Sender: No OFD packet to send [11:12:36]OFD Sender: No OFD packet to send [11:12:41]OFD Sender: No OFD packet to send [11:12:46]OFD Sender: No OFD packet to send [11:12:51]OFD Sender: No OFD packet to send [11:12:56]OFD Sender: No OFD packet to send [11:13:01]OFD Sender: No OFD packet to send [11:13:06]OFD Sender: No OFD packet to send [11:13:11]OFD Sender: No OFD packet to send [11:13:16]OFD Sender: No OFD packet to send [11:13:21]OFD Sender: No OFD packet to send [11:13:26]OFD Sender: No OFD packet to send [11:13:31]OFD Sender: No OFD packet to send [11:13:36]OFD Sender: No OFD packet to send [11:13:41]OFD Sender: No OFD packet to send [11:13:46]OFD Sender: No OFD packet to send [11:13:51]OFD Sender: No OFD packet to send [11:13:56]OFD Sender: No OFD packet to send [11:14:01]OFD Sender: No OFD packet to send [11:14:06]OFD Sender: No OFD packet to send [11:14:11]OFD Sender: No OFD packet to send [11:14:16]OFD Sender: No OFD packet to send [11:14:21]OFD Sender: No OFD packet to send [11:14:26]OFD Sender: No OFD packet to send [11:14:31]OFD Sender: No OFD packet to send [11:14:36]OFD Sender: No OFD packet to send [11:14:41]OFD Sender: No OFD packet to send [11:14:46]OFD Sender: No OFD packet to send [11:14:51]OFD Sender: No OFD packet to send [11:14:56]OFD Sender: No OFD packet to send [11:15:01]OFD Sender: No OFD packet to send [11:15:06]OFD Sender: No OFD packet to send [11:15:11]OFD Sender: No OFD packet to send [11:15:16]OFD Sender: No OFD packet to send [11:15:21]OFD Sender: No OFD packet to send [11:15:26]OFD Sender: No OFD packet to send [11:15:31]OFD Sender: No OFD packet to send [11:15:36]OFD Sender: No OFD packet to send [11:15:41]OFD Sender: No OFD packet to send [11:15:46]OFD Sender: No OFD packet to send [11:15:51]OFD Sender: No OFD packet to send [11:15:56]OFD Sender: No OFD packet to send [11:16:01]OFD Sender: No OFD packet to send [11:16:06]OFD Sender: No OFD packet to send [11:16:11]OFD Sender: No OFD packet to send [11:16:16]OFD Sender: No OFD packet to send [11:16:21]OFD Sender: No OFD packet to send [11:16:26]OFD Sender: No OFD packet to send [11:16:31]OFD Sender: No OFD packet to send [11:16:36]OFD Sender: No OFD packet to send [11:16:41]OFD Sender: No OFD packet to send [11:16:46]OFD Sender: No OFD packet to send [11:16:51]OFD Sender: No OFD packet to send [11:16:56]OFD Sender: No OFD packet to send [11:17:01]OFD Sender: No OFD packet to send [11:17:06]OFD Sender: No OFD packet to send [11:17:11]OFD Sender: No OFD packet to send [11:17:16]OFD Sender: No OFD packet to send [11:17:21]OFD Sender: No OFD packet to send [11:17:26]OFD Sender: No OFD packet to send [11:17:31]OFD Sender: No OFD packet to send [11:17:36]OFD Sender: No OFD packet to send [11:17:41]OFD Sender: No OFD packet to send [11:17:46]OFD Sender: No OFD packet to send [11:17:51]OFD Sender: No OFD packet to send [11:17:56]OFD Sender: No OFD packet to send [11:18:01]OFD Sender: No OFD packet to send [11:18:06]OFD Sender: No OFD packet to send [11:18:11]OFD Sender: No OFD packet to send [11:18:16]OFD Sender: No OFD packet to send [11:18:21]OFD Sender: No OFD packet to send [11:18:26]OFD Sender: No OFD packet to send [11:18:31]OFD Sender: No OFD packet to send [11:18:36]OFD Sender: No OFD packet to send [11:18:41]OFD Sender: No OFD packet to send [11:18:46]OFD Sender: No OFD packet to send [11:18:51]OFD Sender: No OFD packet to send [11:18:56]OFD Sender: No OFD packet to send [11:19:01]OFD Sender: No OFD packet to send [11:19:06]OFD Sender: No OFD packet to send [11:19:11]OFD Sender: No OFD packet to send [11:19:16]OFD Sender: No OFD packet to send [11:19:21]OFD Sender: No OFD packet to send [11:19:26]OFD Sender: No OFD packet to send [11:19:31]OFD Sender: No OFD packet to send [11:19:36]OFD Sender: No OFD packet to send [11:19:41]OFD Sender: No OFD packet to send [11:19:46]OFD Sender: No OFD packet to send [11:19:51]OFD Sender: No OFD packet to send [11:19:56]OFD Sender: No OFD packet to send [11:20:01]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:16]OFD Sender: No OFD packet to send [11:20:21]OFD Sender: No OFD packet to send [11:20:26]OFD Sender: No OFD packet to send [11:20:31]OFD Sender: No OFD packet to send [11:20:36]OFD Sender: No OFD packet to send [11:20:41]OFD Sender: No OFD packet to send [11:20:46]OFD Sender: No OFD packet to send [11:20:51]OFD Sender: No OFD packet to send [11:20:56]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:55]accept exits with 9 [11:21:55]New connection [11:21:55]New thread 3067227492 created [11:21:55]Thread 3067370852 joined [11:21:55]Waiting for new connection... [11:21:55] Sock 9.Parse request [11:21:55]Sock 9.Check first char [11:21:55]Sock 9.First char is OK [11:21:55]request: POST /json_proto HTTP/1.0 [11:21:55]Method: POST [11:21:55]URL: /json_proto [11:21:55]Method is POST - this is cgi request [11:21:55]url: /json_proto [11:21:55]query_string will be loaded in cgi processing [11:21:55]execute_cgi json_proto POST (null) [11:21:55]execute_cgi path=json_proto method=POST [11:21:55]POST find Content-Length [11:21:55]Host: 172.17.56.68:8080 [11:21:55]Content-Length: 668 [11:21:55]Content-Type: application/json [11:21:55] [11:21:55]POST finish read [11:21:55]Found Content-Length = 668 [11:21:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4302", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:21:55]execute_script... [11:21:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4302", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:21:55]POST & json_proto [11:21:55]process_json_proto [11:21:55]json parsed OK: [11:21:55]protocol is kg_v1.0 [11:21:55]action value=close_receipt [11:21:55]process_action close_receipt [11:21:55]cmd_close_receipt [11:21:55]MH_GetDate [11:21:55]Write to MH i2c: F0 00 00 43 0A 3C [11:21:55]Write i2c OK [11:21:55]MH_I2C_Read... [11:21:55]Read from MH i2c: F0 [11:21:55]MH_I2C_Read... [11:21:55]Read from MH i2c: F0 09 00 [11:21:55]MH_I2C_Read... [11:21:55]Read from MH i2c: F0 09 00 43 0A 00 57 A7 5D 66 42 69 5C 66 73 [11:21:55]GetLastDocTimeStamp 1717413042 [11:21:55]current date 1717413719 [11:21:55]FM_GetShiftState [11:21:55]SAM_PROTO_GetShiftState [11:21:55]wFMCommunicate request_size=4 [11:21:55]MH_SAM_APDU [11:21:55]CAPDU: 80 13 01 00 [11:21:55]Write to MH i2c: E2 08 00 44 0A 80 13 01 00 00 00 00 00 CB [11:21:55]Write i2c OK [11:21:55]MH_I2C_Read... [11:21:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:21:55]Read from MH i2c: E2 [11:21:55]MH_I2C_Read... [11:21:55]Read from MH i2c: E2 0E 00 [11:21:55]MH_I2C_Read... [11:21:55]Read from MH i2c: E2 0E 00 44 0A 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 59 [11:21:55]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [11:21:55]wFMCommunicate OK [11:21:55]SAM_PROTO_GetShiftState done [11:21:55]FM_GetShiftState done [11:21:55]opened in 1717372856 [11:21:55]opened+sec_in_day 1717459256 [11:21:55]quantity*price = 17000 [11:21:55]sum+1 = 17001 [11:21:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 29 03.06.2024 11:21 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4048 ФПД: 143462041624936 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T112159&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4048&fm=143462041624936&tin=02508201610067®Number=0000000000145775&sum=17000 0 [11:21:56]StoreToDocumentArchive [11:21:56]shift 82 fd 4048 [11:21:56]save to /storage/0082/doc_00004048 [11:21:56]save last doc name /storage/0082/doc_00004048 to /storage/kkm_last_doc_name [11:21:56]save OK [11:21:56]Clear old archive folders... [11:21:56]ProcessDocumentItem done err = 0, tmpTLVsize=282 [11:21:56]tlvbuf is 0077C880 [11:21:56]SAM_PROTO_ClearQueue [11:21:56]wFMCommunicate request_size=4 [11:21:56]MH_SAM_APDU [11:21:56]CAPDU: 80 09 00 00 [11:21:56]Write to MH i2c: E2 08 00 51 0A 80 09 00 00 00 00 00 00 CD [11:21:56]Write i2c OK [11:21:56]MH_I2C_Read... [11:21:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:21:56]Read from MH i2c: E2 [11:21:56]MH_I2C_Read... [11:21:56]Read from MH i2c: E2 03 00 [11:21:56]MH_I2C_Read... [11:21:56]Read from MH i2c: E2 03 00 51 0A 00 90 00 CF [11:21:56]RAPDU: 90 00 [11:21:56]wFMCommunicate OK [11:21:56]SAM_PROTO_ClearQueue done [11:21:56]KKMCreateOFDPacket [11:21:56]OFDProtocolAddRootSTLVToBuf [11:21:56]FM_MakeSignedData [11:21:56]FM_MakeSignedData [11:21:56]SAM_PROTO_SignData [11:21:56]wFMCommunicate request_size=4 [11:21:56]MH_SAM_APDU [11:21:56]CAPDU: 80 0D 01 02 [11:21:56]Write to MH i2c: E2 08 00 52 0A 80 0D 01 02 00 00 00 00 D5 [11:21:56]Write i2c OK [11:21:56]MH_I2C_Read... [11:21:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:21:56]Read from MH i2c: E2 [11:21:56]MH_I2C_Read... [11:21:56]Read from MH i2c: E2 03 00 [11:21:56]MH_I2C_Read... [11:21:56]Read from MH i2c: E2 03 00 52 0A 00 90 00 D0 [11:21:56]RAPDU: 90 00 [11:21:56]wFMCommunicate OK [11:21:56]wFMCommunicate request_size=255 [11:21:56]MH_SAM_APDU [11:21:56]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 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 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 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 57 A7 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 [11:21:56]Write to MH i2c: E2 02 01 53 0A 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 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 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 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 57 A7 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 00 00 17 [11:21:56]Write i2c OK [11:21:56]MH_I2C_Read... [11:21:57]OFD Sender: No OFD packet to send [11:21:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:21:57]Read from MH i2c: E2 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: E2 03 00 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: E2 03 00 53 0A 00 90 00 D1 [11:21:57]RAPDU: 90 00 [11:21:57]wFMCommunicate OK [11:21:57]wFMCommunicate request_size=41 [11:21:57]MH_SAM_APDU [11:21:57]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D0 0F 00 00 35 04 06 00 82 7A 5C 07 A1 68 [11:21:57]Write to MH i2c: E2 2C 00 54 0A 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D0 0F 00 00 35 04 06 00 82 7A 5C 07 A1 68 00 00 EE [11:21:57]Write i2c OK [11:21:57]MH_I2C_Read... [11:21:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:21:57]Read from MH i2c: E2 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: E2 03 00 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: E2 03 00 54 0A 00 90 00 D2 [11:21:57]RAPDU: 90 00 [11:21:57]wFMCommunicate OK [11:21:57]wFMCommunicate request_size=4 [11:21:57]MH_SAM_APDU [11:21:57]CAPDU: 80 0D 03 02 [11:21:57]Write to MH i2c: E2 08 00 55 0A 80 0D 03 02 00 00 00 00 DA [11:21:57]Write i2c OK [11:21:57]MH_I2C_Read... [11:21:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:21:57]Read from MH i2c: E2 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: E2 0B 00 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: E2 0B 00 55 0A 00 BE 51 BE B8 E0 67 2A CC 90 00 9D [11:21:57]RAPDU: BE 51 BE B8 E0 67 2A CC 90 00 [11:21:57]wFMCommunicate OK [11:21:57]SAM_PROTO_SignData done [11:21:57]FM_MakeSignedData done [11:21:57]CreateOFDProtocolMessage [11:21:57]wFMCommunicate request_size=4 [11:21:57]MH_SAM_APDU [11:21:57]CAPDU: 80 11 00 00 [11:21:57]Write to MH i2c: E2 08 00 56 0A 80 11 00 00 00 00 00 00 DA [11:21:57]Write i2c OK [11:21:57]MH_I2C_Read... [11:21:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:21:57]Read from MH i2c: E2 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: E2 17 00 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: E2 17 00 56 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2D [11:21:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:21:57]wFMCommunicate OK [11:21:57]CreateOFDProtocolMessage done [11:21:57]OFDSenderStorePacket 4048 [11:21:57]StoreOFDPacket docnum=4048 [11:21:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 83 C2 26 01 87 ED 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 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 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 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 57 A7 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D0 0F 00 00 35 04 06 00 82 7A 5C 07 A1 68 BE 51 BE B8 E0 67 2A CC [11:21:57]CheckFolder [11:21:57]dirname=/storage/ofd_packets [11:21:57]CheckFolder done [11:21:57]ProducePacketName [11:21:57]name=ofd_packets/00004048 [11:21:57]NVStorageSaveData ofd_packets/00004048 [11:21:57]File name is /storage/ofd_packets/00004048 [11:21:57]Write 332 bytes [11:21:57]NVStorageSaveData done [11:21:57]OFDSenderStorePacket done [11:21:57]KKMCreateOFDPacket done [11:21:57]NVStorageSaveData kkm_last_timestamp [11:21:57]File name is /storage/kkm_last_timestamp [11:21:57]Write 4 bytes [11:21:57]NVStorageSaveData done [11:21:57]ExternCall_PrintAddStr [11:21:57]wPrintStart [11:21:57]Write to MH i2c: 01 00 00 57 0A 61 [11:21:57]Write i2c OK [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: 01 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: 01 07 00 [11:21:57]MH_I2C_Read... [11:21:57]Read from MH i2c: 01 07 00 57 0A 00 00 00 00 00 FF 0F 76 [11:21:57]RasterBufferAndPrint [11:21:57]line Счет N : (3)4302 [11:21:57]line ИНН: 02508201610067 [11:21:57]line Контрольно-Кассовый Чек [11:21:57]line ПРОДАЖА [11:21:57]line Товар: 4700000480357 [11:21:57]line Пиво шахтерское 1л ПЭТ [11:21:57]line 1.000 * 170.00 [11:21:57]line = 170.00 [11:21:57]line НДС 12% НСП 1% [11:21:57]line > о реализуемом товаре [11:21:57]line ИТОГО: 170.00 [11:21:57]line НСП 1% : 1.50 [11:21:57]line НДС 12% : 18.05 [11:21:57]line Наличными: 170.00 [11:21:57]line Безнал.: 0.00 [11:21:57]line Место: АЗС № 116 "Партнер Нефть" [11:21:57]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:21:57]line СНО: Общий режим [11:21:57]line Чек 29 03.06.2024 11:21 [11:21:57]line Смена: 82 ФФД: 1.0 [11:21:57]line ЗНМ: 0300000233 [11:21:57]line РНМ: 0000000000145775 [11:21:57]line Версия ККМ: v1.0 [11:21:57]line ФМ: 0000000000959360 [11:21:57]line ФД: 4048 [11:21:57]line ФПД: 143462041624936 [11:21:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T112159&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4048&fm=143462041624936&tin=02508201610067®Number=0000000000145775&sum=17000 [11:21:57]line 0 [11:21:57]OFD Sender: Processing packet 4048 [packets to send 2, broken 1] [11:21:57]ProducePacketName [11:21:57]name=ofd_packets/00004048 [11:21:57]OFD Sender: To server: pG, [11:21:57]CommunicateWithHost lk.salyk.kg:30040 [11:21:57]ConnectInit lk.salyk.kg [11:21:57]written 0, free lines is 4095 [11:21:57]Connected sock=10 [11:21:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 83 C2 26 01 87 ED 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 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 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 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 57 A7 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D0 0F 00 00 35 04 06 00 82 7A 5C 07 A1 68 BE 51 BE B8 E0 67 2A CC [11:21:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 43 BA 47 00 2A 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D0 0F 00 00 F4 03 04 00 5A 53 5D 66 B6 04 01 00 00 A3 8D D9 FE 77 69 6A DE [11:21:57]CommunicateWithHost err = 0 [11:21:57]CheckOFDResponse [11:21:57]1017 (14) - 77093643461234 [11:21:57]1041 (16) - 0000000000959360 [11:21:57]1040 (4) - 4048 [11:21:57]1012 (4) - 03.06.2024 05:23 [11:21:57]1206 (1) - 0 [11:21:57]OFD Sender: Remove packet 4048 [11:21:57]ProducePacketName [11:21:57]name=ofd_packets/00004048 [11:21:57]NVStorageDeleteData [11:21:58]Write to MH i2c: 01 00 00 7F 0A 89 [11:21:58]Write i2c OK [11:21:58]MH_I2C_Read... [11:21:58]Read from MH i2c: 01 [11:21:58]MH_I2C_Read... [11:21:58]Read from MH i2c: 01 07 00 [11:21:58]MH_I2C_Read... [11:21:58]Read from MH i2c: 01 07 00 7F 0A 00 00 00 00 00 C6 0C 62 [11:21:58]RasterBufferAndPrint [11:21:58]line [11:21:58]line [11:21:58]line [11:21:58]line [11:21:58]line [11:21:58]written 0, free lines is 3273 [11:21:58]MH_Cut [11:21:58]Write to MH i2c: D1 01 00 86 0A 01 62 [11:21:58]Write i2c OK [11:21:58]MH_I2C_Read... [11:21:58]Read from MH i2c: D1 [11:21:58]MH_I2C_Read... [11:21:58]Read from MH i2c: D1 01 00 [11:21:58]MH_I2C_Read... [11:21:58]Read from MH i2c: D1 01 00 86 0A 00 61 [11:21:58]Write to MH i2c: 01 00 00 87 0A 91 [11:21:58]Write i2c OK [11:21:58]MH_I2C_Read... [11:21:58]OFD Sender: No OFD packet to send [11:21:58]*** Cut start [11:21:58]*** Partial cut [11:21:58]*** CUTSNS_PIN = 1 [11:21:58]*** CUTSNS_PIN = 0 [11:21:59]*** Brake cut motor [11:21:59]Read from MH i2c: 01 [11:21:59]MH_I2C_Read... [11:21:59]*** Stop cut motor [11:21:59]*** Cut end [11:21:59]Read from MH i2c: 01 07 00 [11:21:59]MH_I2C_Read... [11:21:59]Read from MH i2c: 01 07 00 87 0A 00 00 00 00 00 FF 0F A6 [11:21:59]process_action close_receipt done [11:21:59]requested_data is exist [11:21:59]produce_requested_data [11:21:59]requested_item fm.sn is exist - process it [11:21:59]wFMCommunicate request_size=4 [11:21:59]MH_SAM_APDU [11:21:59]CAPDU: 80 11 00 00 [11:21:59]Write to MH i2c: E2 08 00 88 0A 80 11 00 00 00 00 00 00 0C [11:21:59]Write i2c OK [11:21:59]MH_I2C_Read... [11:21:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:21:59]Read from MH i2c: E2 [11:21:59]MH_I2C_Read... [11:21:59]Read from MH i2c: E2 17 00 [11:21:59]MH_I2C_Read... [11:21:59]Read from MH i2c: E2 17 00 88 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5F [11:21:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:21:59]wFMCommunicate OK [11:21:59]requested_item fd.num is exist - process it [11:21:59]SAM_PROTO_GetFieldsCounters [11:21:59]wFMCommunicate request_size=4 [11:21:59]MH_SAM_APDU [11:21:59]CAPDU: 80 13 00 00 [11:21:59]Write to MH i2c: E2 08 00 89 0A 80 13 00 00 00 00 00 00 0F [11:21:59]Write i2c OK [11:21:59]MH_I2C_Read... [11:21:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:21:59]Read from MH i2c: E2 [11:21:59]MH_I2C_Read... [11:21:59]Read from MH i2c: E2 62 00 [11:21:59]MH_I2C_Read... [11:21:59]Read from MH i2c: E2 62 00 89 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D0 0F 00 00 0E 04 04 00 52 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 BC [11:21:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D0 0F 00 00 0E 04 04 00 52 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:21:59]wFMCommunicate OK [11:21:59]SAM_PROTO_GetFieldsCounters done [11:21:59]requested_item shift.num is exist - process it [11:21:59]requested_item shift.opened is exist - process it [11:21:59]req_shift_opened [11:21:59]FM_GetShiftState [11:21:59]SAM_PROTO_GetShiftState [11:21:59]wFMCommunicate request_size=4 [11:21:59]MH_SAM_APDU [11:21:59]CAPDU: 80 13 01 00 [11:21:59]Write to MH i2c: E2 08 00 8A 0A 80 13 01 00 00 00 00 00 11 [11:21:59]Write i2c OK [11:21:59]MH_I2C_Read... [11:21:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:21:59]Read from MH i2c: E2 [11:21:59]MH_I2C_Read... [11:21:59]Read from MH i2c: E2 0E 00 [11:21:59]MH_I2C_Read... [11:21:59]Read from MH i2c: E2 0E 00 8A 0A 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 9F [11:21:59]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [11:21:59]wFMCommunicate OK [11:21:59]SAM_PROTO_GetShiftState done [11:21:59]FM_GetShiftState done [11:21:59]req_shift_opened done [11:21:59]requested_item shift.open_date is exist - process it [11:21:59]req_shift_open_date [11:21:59]req_shift_open_date done [11:21:59]produce_requested_data done [11:21:59]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4048,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [11:21:59]process_action_free close_receipt [11:21:59]json_value_free [11:21:59]json_value_free done [11:21:59]process_json_proto returns [11:21:59]Send response to host [11:21:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4048,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [11:21:59]free response buf [11:21:59]execute_script done [11:21:59]execute_script returns [11:21:59]free content buf [11:21:59]Sock 9.Close socket [11:21:59]Sock 9.Thread stoped [11:22:03]OFD Sender: No OFD packet to send [11:22:08]OFD Sender: No OFD packet to send [11:22:13]OFD Sender: No OFD packet to send [11:22:18]OFD Sender: No OFD packet to send [11:22:23]OFD Sender: No OFD packet to send [11:22:28]OFD Sender: No OFD packet to send [11:22:33]OFD Sender: No OFD packet to send [11:22:38]OFD Sender: No OFD packet to send [11:22:43]OFD Sender: No OFD packet to send [11:22:48]OFD Sender: No OFD packet to send [11:22:53]OFD Sender: No OFD packet to send [11:22:58]OFD Sender: No OFD packet to send [11:23:03]OFD Sender: No OFD packet to send [11:23:08]OFD Sender: No OFD packet to send [11:23:13]OFD Sender: No OFD packet to send [11:23:18]OFD Sender: No OFD packet to send [11:23:23]OFD Sender: No OFD packet to send [11:23:28]OFD Sender: No OFD packet to send [11:23:33]OFD Sender: No OFD packet to send [11:23:38]OFD Sender: No OFD packet to send [11:23:43]OFD Sender: No OFD packet to send [11:23:48]OFD Sender: No OFD packet to send [11:23:53]OFD Sender: No OFD packet to send [11:23:58]OFD Sender: No OFD packet to send [11:24:03]OFD Sender: No OFD packet to send [11:24:08]OFD Sender: No OFD packet to send [11:24:13]OFD Sender: No OFD packet to send [11:24:18]OFD Sender: No OFD packet to send [11:24:23]OFD Sender: No OFD packet to send [11:24:28]OFD Sender: No OFD packet to send [11:24:33]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:08]OFD Sender: No OFD packet to send [11:25:13]OFD Sender: No OFD packet to send [11:25:18]OFD Sender: No OFD packet to send [11:25:23]OFD Sender: No OFD packet to send [11:25:28]OFD Sender: No OFD packet to send [11:25:33]OFD Sender: No OFD packet to send [11:25:38]OFD Sender: No OFD packet to send [11:25:43]OFD Sender: No OFD packet to send [11:25:48]OFD Sender: No OFD packet to send [11:25:53]OFD Sender: No OFD packet to send [11:25:58]OFD Sender: No OFD packet to send [11:26:03]OFD Sender: No OFD packet to send [11:26:08]OFD Sender: No OFD packet to send [11:26:13]OFD Sender: No OFD packet to send [11:26:18]OFD Sender: No OFD packet to send [11:26:23]OFD Sender: No OFD packet to send [11:26:28]OFD Sender: No OFD packet to send [11:26:33]OFD Sender: No OFD packet to send [11:26:38]OFD Sender: No OFD packet to send [11:26:43]OFD Sender: No OFD packet to send [11:26:48]OFD Sender: No OFD packet to send [11:26:53]OFD Sender: No OFD packet to send [11:26:58]OFD Sender: No OFD packet to send [11:27:03]OFD Sender: No OFD packet to send [11:27:08]OFD Sender: No OFD packet to send [11:27:13]OFD Sender: No OFD packet to send [11:27:18]OFD Sender: No OFD packet to send [11:27:23]OFD Sender: No OFD packet to send [11:27:28]OFD Sender: No OFD packet to send [11:27:33]OFD Sender: No OFD packet to send [11:27:38]OFD Sender: No OFD packet to send [11:27:43]OFD Sender: No OFD packet to send [11:27:48]OFD Sender: No OFD packet to send [11:27:53]OFD Sender: No OFD packet to send [11:27:58]OFD Sender: No OFD packet to send [11:28:03]OFD Sender: No OFD packet to send [11:28:08]OFD Sender: No OFD packet to send [11:28:13]OFD Sender: No OFD packet to send [11:28:18]OFD Sender: No OFD packet to send [11:28:23]OFD Sender: No OFD packet to send [11:28:28]OFD Sender: No OFD packet to send [11:28:33]OFD Sender: No OFD packet to send [11:28:38]OFD Sender: No OFD packet to send [11:28:43]OFD Sender: No OFD packet to send [11:28:48]OFD Sender: No OFD packet to send [11:28:53]OFD Sender: No OFD packet to send [11:28:58]OFD Sender: No OFD packet to send [11:29:03]OFD Sender: No OFD packet to send [11:29:08]OFD Sender: No OFD packet to send [11:29:13]OFD Sender: No OFD packet to send [11:29:18]OFD Sender: No OFD packet to send [11:29:23]OFD Sender: No OFD packet to send [11:29:28]OFD Sender: No OFD packet to send [11:29:33]OFD Sender: No OFD packet to send [11:29:38]OFD Sender: No OFD packet to send [11:29:43]OFD Sender: No OFD packet to send [11:29:48]OFD Sender: No OFD packet to send [11:29:53]OFD Sender: No OFD packet to send [11:29:58]OFD Sender: No OFD packet to send [11:30:03]OFD Sender: No OFD packet to send [11:30:08]OFD Sender: No OFD packet to send [11:30:13]OFD Sender: No OFD packet to send [11:30:18]OFD Sender: No OFD packet to send [11:30:23]OFD Sender: No OFD packet to send [11:30:28]OFD Sender: No OFD packet to send [11:30:33]OFD Sender: No OFD packet to send [11:30:38]OFD Sender: No OFD packet to send [11:30:43]OFD Sender: No OFD packet to send [11:30:48]OFD Sender: No OFD packet to send [11:30:53]OFD Sender: No OFD packet to send [11:30:58]OFD Sender: No OFD packet to send [11:31:03]OFD Sender: No OFD packet to send [11:31:08]OFD Sender: No OFD packet to send [11:31:13]OFD Sender: No OFD packet to send [11:31:18]OFD Sender: No OFD packet to send [11:31:23]OFD Sender: No OFD packet to send [11:31:28]OFD Sender: No OFD packet to send [11:31:33]OFD Sender: No OFD packet to send [11:31:38]OFD Sender: No OFD packet to send [11:31:43]OFD Sender: No OFD packet to send [11:31:48]OFD Sender: No OFD packet to send [11:31:53]OFD Sender: No OFD packet to send [11:31:58]OFD Sender: No OFD packet to send [11:32:03]OFD Sender: No OFD packet to send [11:32:08]OFD Sender: No OFD packet to send [11:32:13]OFD Sender: No OFD packet to send [11:32:18]OFD Sender: No OFD packet to send [11:32:23]OFD Sender: No OFD packet to send [11:32:28]OFD Sender: No OFD packet to send [11:32:33]OFD Sender: No OFD packet to send [11:32:38]OFD Sender: No OFD packet to send [11:32:43]OFD Sender: No OFD packet to send [11:32:48]OFD Sender: No OFD packet to send [11:32:53]OFD Sender: No OFD packet to send [11:32:58]OFD Sender: No OFD packet to send [11:33:03]OFD Sender: No OFD packet to send [11:33:08]OFD Sender: No OFD packet to send [11:33:13]OFD Sender: No OFD packet to send [11:33:18]OFD Sender: No OFD packet to send [11:33:23]OFD Sender: No OFD packet to send [11:33:28]OFD Sender: No OFD packet to send [11:33:33]OFD Sender: No OFD packet to send [11:33:38]OFD Sender: No OFD packet to send [11:33:43]OFD Sender: No OFD packet to send [11:33:48]OFD Sender: No OFD packet to send [11:33:53]OFD Sender: No OFD packet to send [11:33:58]OFD Sender: No OFD packet to send [11:34:03]OFD Sender: No OFD packet to send [11:34:08]OFD Sender: No OFD packet to send [11:34:13]OFD Sender: No OFD packet to send [11:34:18]OFD Sender: No OFD packet to send [11:34:23]OFD Sender: No OFD packet to send [11:34:28]OFD Sender: No OFD packet to send [11:34:33]OFD Sender: No OFD packet to send [11:34:38]OFD Sender: No OFD packet to send [11:34:43]OFD Sender: No OFD packet to send [11:34:48]OFD Sender: No OFD packet to send [11:34:53]OFD Sender: No OFD packet to send [11:34:58]OFD Sender: No OFD packet to send [11:35:03]OFD Sender: No OFD packet to send [11:35:08]OFD Sender: No OFD packet to send [11:35:13]OFD Sender: No OFD packet to send [11:35:18]OFD Sender: No OFD packet to send [11:35:23]OFD Sender: No OFD packet to send [11:35:28]OFD Sender: No OFD packet to send [11:35:33]OFD Sender: No OFD packet to send [11:35:39]OFD Sender: No OFD packet to send [11:35:44]OFD Sender: No OFD packet to send [11:35:49]OFD Sender: No OFD packet to send [11:35:54]OFD Sender: No OFD packet to send [11:35:59]OFD Sender: No OFD packet to send [11:36:04]OFD Sender: No OFD packet to send [11:36:09]OFD Sender: No OFD packet to send [11:36:14]OFD Sender: No OFD packet to send [11:36:19]OFD Sender: No OFD packet to send [11:36:24]OFD Sender: No OFD packet to send [11:36:29]OFD Sender: No OFD packet to send [11:36:34]OFD Sender: No OFD packet to send [11:36:39]OFD Sender: No OFD packet to send [11:36:44]OFD Sender: No OFD packet to send [11:36:49]OFD Sender: No OFD packet to send [11:36:54]OFD Sender: No OFD packet to send [11:36:59]OFD Sender: No OFD packet to send [11:37:04]OFD Sender: No OFD packet to send [11:37:09]OFD Sender: No OFD packet to send [11:37:14]OFD Sender: No OFD packet to send [11:37:19]OFD Sender: No OFD packet to send [11:37:24]OFD Sender: No OFD packet to send [11:37:29]OFD Sender: No OFD packet to send [11:37:34]OFD Sender: No OFD packet to send [11:37:39]OFD Sender: No OFD packet to send [11:37:44]OFD Sender: No OFD packet to send [11:37:49]OFD Sender: No OFD packet to send [11:37:54]OFD Sender: No OFD packet to send [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]OFD Sender: No OFD packet to send [11:38:24]OFD Sender: No OFD packet to send [11:38:29]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [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]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:24]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:34]OFD Sender: No OFD packet to send [11:41:39]OFD Sender: No OFD packet to send [11:41:44]OFD Sender: No OFD packet to send [11:41:49]OFD Sender: No OFD packet to send [11:41:54]OFD Sender: No OFD packet to send [11:41:59]OFD Sender: No OFD packet to send [11:42:04]OFD Sender: No OFD packet to send [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42:49]OFD Sender: No OFD packet to send [11:42:54]OFD Sender: No OFD packet to send [11:42:59]OFD Sender: No OFD packet to send [11:43:04]OFD Sender: No OFD packet to send [11:43:09]OFD Sender: No OFD packet to send [11:43:14]OFD Sender: No OFD packet to send [11:43:16]accept exits with 8 [11:43:16]New connection [11:43:16]New thread 3067370852 created [11:43:16]Thread 3067227492 joined [11:43:16]Waiting for new connection... [11:43:16] Sock 8.Parse request [11:43:16]Sock 8.Check first char [11:43:16]Sock 8.First char is OK [11:43:16]request: POST /json_proto HTTP/1.0 [11:43:16]Method: POST [11:43:16]URL: /json_proto [11:43:16]Method is POST - this is cgi request [11:43:16]url: /json_proto [11:43:16]query_string will be loaded in cgi processing [11:43:16]execute_cgi json_proto POST (null) [11:43:16]execute_cgi path=json_proto method=POST [11:43:16]POST find Content-Length [11:43:16]Host: 172.17.56.68:8080 [11:43:16]Content-Length: 626 [11:43:16]Content-Type: application/json [11:43:16] [11:43:16]POST finish read [11:43:16]Found Content-Length = 626 [11:43:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4303", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:43:16]execute_script... [11:43: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)4303", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:43:16]POST & json_proto [11:43:16]process_json_proto [11:43:16]json parsed OK: [11:43:16]protocol is kg_v1.0 [11:43:16]action value=close_receipt [11:43:16]process_action close_receipt [11:43:16]cmd_close_receipt [11:43:16]MH_GetDate [11:43:16]Write to MH i2c: F0 00 00 8B 0A 84 [11:43:16]Write i2c OK [11:43:16]MH_I2C_Read... [11:43:16]Read from MH i2c: F0 [11:43:16]MH_I2C_Read... [11:43:16]Read from MH i2c: F0 09 00 [11:43:16]MH_I2C_Read... [11:43:16]Read from MH i2c: F0 09 00 8B 0A 00 58 AC 5D 66 42 69 5C 66 C1 [11:43:16]GetLastDocTimeStamp 1717413719 [11:43:16]current date 1717415000 [11:43:16]FM_GetShiftState [11:43:16]SAM_PROTO_GetShiftState [11:43:16]wFMCommunicate request_size=4 [11:43:16]MH_SAM_APDU [11:43:16]CAPDU: 80 13 01 00 [11:43:16]Write to MH i2c: E2 08 00 8C 0A 80 13 01 00 00 00 00 00 13 [11:43:16]Write i2c OK [11:43:16]MH_I2C_Read... [11:43:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:16]Read from MH i2c: E2 [11:43:16]MH_I2C_Read... [11:43:16]Read from MH i2c: E2 0E 00 [11:43:16]MH_I2C_Read... [11:43:16]Read from MH i2c: E2 0E 00 8C 0A 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 A1 [11:43:16]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [11:43:16]wFMCommunicate OK [11:43:16]SAM_PROTO_GetShiftState done [11:43:16]FM_GetShiftState done [11:43:16]opened in 1717372856 [11:43:16]opened+sec_in_day 1717459256 [11:43:16]quantity*price = 13500 [11:43:16]sum+1 = 13501 [11:43:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 30 03.06.2024 11:43 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4049 ФПД: 180795753355334 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T114320&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4049&fm=180795753355334&tin=02508201610067®Number=0000000000145775&sum=13500 0 [11:43:17]StoreToDocumentArchive [11:43:17]shift 82 fd 4049 [11:43:17]save to /storage/0082/doc_00004049 [11:43:17]save last doc name /storage/0082/doc_00004049 to /storage/kkm_last_doc_name [11:43:17]save OK [11:43:17]Clear old archive folders... [11:43:17]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:43:17]tlvbuf is 00769DA0 [11:43:17]SAM_PROTO_ClearQueue [11:43:17]wFMCommunicate request_size=4 [11:43:17]MH_SAM_APDU [11:43:17]CAPDU: 80 09 00 00 [11:43:17]Write to MH i2c: E2 08 00 99 0A 80 09 00 00 00 00 00 00 15 [11:43:17]Write i2c OK [11:43:17]MH_I2C_Read... [11:43:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:43:17]Read from MH i2c: E2 [11:43:17]MH_I2C_Read... [11:43:17]Read from MH i2c: E2 03 00 [11:43:17]MH_I2C_Read... [11:43:17]Read from MH i2c: E2 03 00 99 0A 00 90 00 17 [11:43:17]RAPDU: 90 00 [11:43:17]wFMCommunicate OK [11:43:17]SAM_PROTO_ClearQueue done [11:43:17]KKMCreateOFDPacket [11:43:17]OFDProtocolAddRootSTLVToBuf [11:43:17]FM_MakeSignedData [11:43:17]FM_MakeSignedData [11:43:17]SAM_PROTO_SignData [11:43:17]wFMCommunicate request_size=4 [11:43:17]MH_SAM_APDU [11:43:17]CAPDU: 80 0D 01 02 [11:43:17]Write to MH i2c: E2 08 00 9A 0A 80 0D 01 02 00 00 00 00 1D [11:43:17]Write i2c OK [11:43:17]MH_I2C_Read... [11:43:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:43:17]Read from MH i2c: E2 [11:43:17]MH_I2C_Read... [11:43:17]Read from MH i2c: E2 03 00 [11:43:17]MH_I2C_Read... [11:43:17]Read from MH i2c: E2 03 00 9A 0A 00 90 00 18 [11:43:17]RAPDU: 90 00 [11:43:17]wFMCommunicate OK [11:43:17]wFMCommunicate request_size=255 [11:43:17]MH_SAM_APDU [11:43:17]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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 58 AC 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [11:43:17]Write to MH i2c: E2 02 01 9B 0A 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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 58 AC 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 B3 [11:43:17]Write i2c OK [11:43:17]MH_I2C_Read... [11:43:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:18]Read from MH i2c: E2 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: E2 03 00 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: E2 03 00 9B 0A 00 90 00 19 [11:43:18]RAPDU: 90 00 [11:43:18]wFMCommunicate OK [11:43:18]wFMCommunicate request_size=39 [11:43:18]MH_SAM_APDU [11:43:18]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D1 0F 00 00 35 04 06 00 A4 6E CA A7 D8 46 [11:43:18]Write to MH i2c: E2 2A 00 9C 0A 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D1 0F 00 00 35 04 06 00 A4 6E CA A7 D8 46 00 00 5C [11:43:18]Write i2c OK [11:43:18]MH_I2C_Read... [11:43:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:18]Read from MH i2c: E2 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: E2 03 00 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: E2 03 00 9C 0A 00 90 00 1A [11:43:18]RAPDU: 90 00 [11:43:18]wFMCommunicate OK [11:43:18]wFMCommunicate request_size=4 [11:43:18]MH_SAM_APDU [11:43:18]CAPDU: 80 0D 03 02 [11:43:18]Write to MH i2c: E2 08 00 9D 0A 80 0D 03 02 00 00 00 00 22 [11:43:18]Write i2c OK [11:43:18]MH_I2C_Read... [11:43:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:43:18]Read from MH i2c: E2 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: E2 0B 00 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: E2 0B 00 9D 0A 00 64 75 87 3A B2 1D 83 8B 90 00 9A [11:43:18]RAPDU: 64 75 87 3A B2 1D 83 8B 90 00 [11:43:18]wFMCommunicate OK [11:43:18]SAM_PROTO_SignData done [11:43:18]FM_MakeSignedData done [11:43:18]CreateOFDProtocolMessage [11:43:18]wFMCommunicate request_size=4 [11:43:18]MH_SAM_APDU [11:43:18]CAPDU: 80 11 00 00 [11:43:18]Write to MH i2c: E2 08 00 9E 0A 80 11 00 00 00 00 00 00 22 [11:43:18]Write i2c OK [11:43:18]MH_I2C_Read... [11:43:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:18]Read from MH i2c: E2 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: E2 17 00 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: E2 17 00 9E 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 75 [11:43:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:43:18]wFMCommunicate OK [11:43:18]CreateOFDProtocolMessage done [11:43:18]OFDSenderStorePacket 4049 [11:43:18]StoreOFDPacket docnum=4049 [11:43:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 96 15 24 01 A4 0A 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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 58 AC 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D1 0F 00 00 35 04 06 00 A4 6E CA A7 D8 46 64 75 87 3A B2 1D 83 8B [11:43:18]CheckFolder [11:43:18]dirname=/storage/ofd_packets [11:43:18]CheckFolder done [11:43:18]ProducePacketName [11:43:18]name=ofd_packets/00004049 [11:43:18]NVStorageSaveData ofd_packets/00004049 [11:43:18]File name is /storage/ofd_packets/00004049 [11:43:18]Write 330 bytes [11:43:18]NVStorageSaveData done [11:43:18]OFDSenderStorePacket done [11:43:18]KKMCreateOFDPacket done [11:43:18]NVStorageSaveData kkm_last_timestamp [11:43:18]File name is /storage/kkm_last_timestamp [11:43:18]Write 4 bytes [11:43:18]NVStorageSaveData done [11:43:18]ExternCall_PrintAddStr [11:43:18]wPrintStart [11:43:18]Write to MH i2c: 01 00 00 9F 0A A9 [11:43:18]Write i2c OK [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: 01 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: 01 07 00 [11:43:18]MH_I2C_Read... [11:43:18]Read from MH i2c: 01 07 00 9F 0A 00 00 00 00 00 FF 0F BE [11:43:18]RasterBufferAndPrint [11:43:18]line Счет N : (3)4303 [11:43:18]line ИНН: 02508201610067 [11:43:18]line Контрольно-Кассовый Чек [11:43:18]line ПРОДАЖА [11:43:18]line Товар: 48741231 [11:43:18]line Сигареты Winston Super Slims Silver [11:43:18]line 1.000 * 135.00 [11:43:18]line = 135.00 [11:43:18]line НДС 12% НСП 1% [11:43:18]line > о реализуемом товаре [11:43:18]line ИТОГО: 135.00 [11:43:18]line НСП 1% : 1.19 [11:43:18]line НДС 12% : 14.34 [11:43:18]line Наличными: 135.00 [11:43:18]line Безнал.: 0.00 [11:43:18]line Место: АЗС № 116 "Партнер Нефть" [11:43:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:43:18]line СНО: Общий режим [11:43:18]line Чек 30 03.06.2024 11:43 [11:43:18]line Смена: 82 ФФД: 1.0 [11:43:18]line ЗНМ: 0300000233 [11:43:18]line РНМ: 0000000000145775 [11:43:18]line Версия ККМ: v1.0 [11:43:18]line ФМ: 0000000000959360 [11:43:18]line ФД: 4049 [11:43:18]line ФПД: 180795753355334 [11:43:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T114320&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4049&fm=180795753355334&tin=02508201610067®Number=0000000000145775&sum=13500 [11:43:18]line 0 [11:43:18]OFD Sender: Processing packet 4049 [packets to send 2, broken 1] [11:43:18]ProducePacketName [11:43:18]name=ofd_packets/00004049 [11:43:18]OFD Sender: To server: pG, [11:43:18]CommunicateWithHost lk.salyk.kg:30040 [11:43:18]ConnectInit lk.salyk.kg [11:43:18]written 0, free lines is 4095 [11:43:18]Connected sock=10 [11:43:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 96 15 24 01 A4 0A 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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 58 AC 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D1 0F 00 00 35 04 06 00 A4 6E CA A7 D8 46 64 75 87 3A B2 1D 83 8B [11:43:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E4 69 47 00 A7 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D1 0F 00 00 F4 03 04 00 5B 58 5D 66 B6 04 01 00 00 06 D0 E2 69 CB A0 54 AF [11:43:18]CommunicateWithHost err = 0 [11:43:18]CheckOFDResponse [11:43:18]1017 (14) - 77093643461234 [11:43:18]1041 (16) - 0000000000959360 [11:43:18]1040 (4) - 4049 [11:43:18]1012 (4) - 03.06.2024 05:44 [11:43:18]1206 (1) - 0 [11:43:18]OFD Sender: Remove packet 4049 [11:43:18]ProducePacketName [11:43:18]name=ofd_packets/00004049 [11:43:18]NVStorageDeleteData [11:43:19]Write to MH i2c: 01 00 00 C8 0A D2 [11:43:19]Write i2c OK [11:43:19]MH_I2C_Read... [11:43:19]Read from MH i2c: 01 [11:43:19]MH_I2C_Read... [11:43:19]Read from MH i2c: 01 07 00 [11:43:19]MH_I2C_Read... [11:43:19]Read from MH i2c: 01 07 00 C8 0A 00 00 00 00 00 B2 0C 97 [11:43:19]RasterBufferAndPrint [11:43:19]line [11:43:19]line [11:43:19]line [11:43:19]line [11:43:19]line [11:43:19]written 0, free lines is 3254 [11:43:19]MH_Cut [11:43:19]Write to MH i2c: D1 01 00 CF 0A 01 AB [11:43:19]Write i2c OK [11:43:19]MH_I2C_Read... [11:43:19]Read from MH i2c: D1 [11:43:19]MH_I2C_Read... [11:43:19]Read from MH i2c: D1 01 00 [11:43:19]MH_I2C_Read... [11:43:19]Read from MH i2c: D1 01 00 CF 0A 00 AA [11:43:19]Write to MH i2c: 01 00 00 D0 0A DA [11:43:19]Write i2c OK [11:43:19]MH_I2C_Read... [11:43:19]OFD Sender: No OFD packet to send [11:43:19]*** Cut start [11:43:19]*** Partial cut [11:43:19]*** CUTSNS_PIN = 1 [11:43:20]*** CUTSNS_PIN = 0 [11:43:20]*** Brake cut motor [11:43:20]Read from MH i2c: 01 [11:43:20]MH_I2C_Read... [11:43:20]*** Stop cut motor [11:43:20]*** Cut end [11:43:20]Read from MH i2c: 01 07 00 [11:43:20]MH_I2C_Read... [11:43:20]Read from MH i2c: 01 07 00 D0 0A 00 00 00 00 00 FF 0F EF [11:43:20]process_action close_receipt done [11:43:20]requested_data is exist [11:43:20]produce_requested_data [11:43:20]requested_item fm.sn is exist - process it [11:43:20]wFMCommunicate request_size=4 [11:43:20]MH_SAM_APDU [11:43:20]CAPDU: 80 11 00 00 [11:43:20]Write to MH i2c: E2 08 00 D1 0A 80 11 00 00 00 00 00 00 55 [11:43:20]Write i2c OK [11:43:20]MH_I2C_Read... [11:43:20]Read from MH i2c: E2 [11:43:20]MH_I2C_Read... [11:43:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:20]Read from MH i2c: E2 17 00 [11:43:20]MH_I2C_Read... [11:43:20]Read from MH i2c: E2 17 00 D1 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A8 [11:43:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:43:20]wFMCommunicate OK [11:43:20]requested_item fd.num is exist - process it [11:43:20]SAM_PROTO_GetFieldsCounters [11:43:20]wFMCommunicate request_size=4 [11:43:20]MH_SAM_APDU [11:43:20]CAPDU: 80 13 00 00 [11:43:20]Write to MH i2c: E2 08 00 D2 0A 80 13 00 00 00 00 00 00 58 [11:43:20]Write i2c OK [11:43:20]MH_I2C_Read... [11:43:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:43:20]Read from MH i2c: E2 [11:43:20]MH_I2C_Read... [11:43:20]Read from MH i2c: E2 62 00 [11:43:20]MH_I2C_Read... [11:43:20]Read from MH i2c: E2 62 00 D2 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D1 0F 00 00 0E 04 04 00 52 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 09 [11:43:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D1 0F 00 00 0E 04 04 00 52 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:43:20]wFMCommunicate OK [11:43:20]SAM_PROTO_GetFieldsCounters done [11:43:20]requested_item shift.num is exist - process it [11:43:20]requested_item shift.opened is exist - process it [11:43:20]req_shift_opened [11:43:20]FM_GetShiftState [11:43:20]SAM_PROTO_GetShiftState [11:43:20]wFMCommunicate request_size=4 [11:43:20]MH_SAM_APDU [11:43:20]CAPDU: 80 13 01 00 [11:43:20]Write to MH i2c: E2 08 00 D3 0A 80 13 01 00 00 00 00 00 5A [11:43:20]Write i2c OK [11:43:20]MH_I2C_Read... [11:43:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:20]Read from MH i2c: E2 [11:43:20]MH_I2C_Read... [11:43:20]Read from MH i2c: E2 0E 00 [11:43:20]MH_I2C_Read... [11:43:20]Read from MH i2c: E2 0E 00 D3 0A 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 E8 [11:43:20]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [11:43:20]wFMCommunicate OK [11:43:20]SAM_PROTO_GetShiftState done [11:43:20]FM_GetShiftState done [11:43:20]req_shift_opened done [11:43:20]requested_item shift.open_date is exist - process it [11:43:20]req_shift_open_date [11:43:20]req_shift_open_date done [11:43:20]produce_requested_data done [11:43:20]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4049,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [11:43:20]process_action_free close_receipt [11:43:20]json_value_free [11:43:20]json_value_free done [11:43:20]process_json_proto returns [11:43:20]Send response to host [11:43:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4049,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [11:43:20]free response buf [11:43:20]execute_script done [11:43:20]execute_script returns [11:43:20]free content buf [11:43:20]Sock 8.Close socket [11:43:20]Sock 8.Thread stoped [11:43:24]OFD Sender: No OFD packet to send [11:43:29]OFD Sender: No OFD packet to send [11:43:34]OFD Sender: No OFD packet to send [11:43:39]OFD Sender: No OFD packet to send [11:43:44]OFD Sender: No OFD packet to send [11:43:49]OFD Sender: No OFD packet to send [11:43:54]OFD Sender: No OFD packet to send [11:43:59]OFD Sender: No OFD packet to send [11:44:04]OFD Sender: No OFD packet to send [11:44:09]OFD Sender: No OFD packet to send [11:44:14]OFD Sender: No OFD packet to send [11:44:19]OFD Sender: No OFD packet to send [11:44:24]OFD Sender: No OFD packet to send [11:44:29]OFD Sender: No OFD packet to send [11:44:34]OFD Sender: No OFD packet to send [11:44:39]OFD Sender: No OFD packet to send [11:44:44]OFD Sender: No OFD packet to send [11:44:49]OFD Sender: No OFD packet to send [11:44:54]OFD Sender: No OFD packet to send [11:44:59]OFD Sender: No OFD packet to send [11:45:04]OFD Sender: No OFD packet to send [11:45:09]OFD Sender: No OFD packet to send [11:45:14]OFD Sender: No OFD packet to send [11:45:19]OFD Sender: No OFD packet to send [11:45:24]OFD Sender: No OFD packet to send [11:45:29]OFD Sender: No OFD packet to send [11:45:34]OFD Sender: No OFD packet to send [11:45:39]OFD Sender: No OFD packet to send [11:45:44]OFD Sender: No OFD packet to send [11:45:49]OFD Sender: No OFD packet to send [11:45:54]OFD Sender: No OFD packet to send [11:45:59]OFD Sender: No OFD packet to send [11:46:04]OFD Sender: No OFD packet to send [11:46:09]OFD Sender: No OFD packet to send [11:46:14]OFD Sender: No OFD packet to send [11:46:19]OFD Sender: No OFD packet to send [11:46:24]OFD Sender: No OFD packet to send [11:46:29]OFD Sender: No OFD packet to send [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:18]accept exits with 9 [11:47:18]New connection [11:47:18]New thread 3067227492 created [11:47:18]Thread 3067370852 joined [11:47:18]Waiting for new connection... [11:47:18] Sock 9.Parse request [11:47:18]Sock 9.Check first char [11:47:18]Sock 9.First char is OK [11:47:18]request: POST /json_proto HTTP/1.0 [11:47:18]Method: POST [11:47:18]URL: /json_proto [11:47:18]Method is POST - this is cgi request [11:47:18]url: /json_proto [11:47:18]query_string will be loaded in cgi processing [11:47:18]execute_cgi json_proto POST (null) [11:47:18]execute_cgi path=json_proto method=POST [11:47:18]POST find Content-Length [11:47:18]Host: 172.17.56.68:8080 [11:47:18]Content-Length: 651 [11:47:18]Content-Type: application/json [11:47:18] [11:47:18]POST finish read [11:47:18]Found Content-Length = 651 [11:47:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4304", "tax_sys" : 0, "items" : [ { "code": "4771173208383", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Jega \u0412\u0430\u0441\u0430\u0431\u0438 200 \u0433\u0440", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:18]execute_script... [11:47:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4304", "tax_sys" : 0, "items" : [ { "code": "4771173208383", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Jega \u0412\u0430\u0441\u0430\u0431\u0438 200 \u0433\u0440", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:47:18]POST & json_proto [11:47:18]process_json_proto [11:47:18]json parsed OK: [11:47:18]protocol is kg_v1.0 [11:47:18]action value=close_receipt [11:47:18]process_action close_receipt [11:47:18]cmd_close_receipt [11:47:18]MH_GetDate [11:47:18]Write to MH i2c: F0 00 00 D4 0A CD [11:47:18]Write i2c OK [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: F0 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: F0 09 00 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: F0 09 00 D4 0A 00 4A AD 5D 66 42 69 5C 66 FD [11:47:18]GetLastDocTimeStamp 1717415000 [11:47:18]current date 1717415242 [11:47:18]FM_GetShiftState [11:47:18]SAM_PROTO_GetShiftState [11:47:18]wFMCommunicate request_size=4 [11:47:18]MH_SAM_APDU [11:47:18]CAPDU: 80 13 01 00 [11:47:18]Write to MH i2c: E2 08 00 D5 0A 80 13 01 00 00 00 00 00 5C [11:47:18]Write i2c OK [11:47:18]MH_I2C_Read... [11:47:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:18]Read from MH i2c: E2 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: E2 0E 00 [11:47:18]MH_I2C_Read... [11:47:18]Read from MH i2c: E2 0E 00 D5 0A 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 EA [11:47:18]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [11:47:18]wFMCommunicate OK [11:47:18]SAM_PROTO_GetShiftState done [11:47:18]FM_GetShiftState done [11:47:18]opened in 1717372856 [11:47:18]opened+sec_in_day 1717459256 [11:47:18]quantity*price = 24500 [11:47:18]sum+1 = 24501 [11:47:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.02 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 31 03.06.2024 11:47 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4050 ФПД: 97617430532661 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T114722&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4050&fm=97617430532661&tin=02508201610067®Number=0000000000145775&sum=24500 0 [11:47:19]StoreToDocumentArchive [11:47:19]shift 82 fd 4050 [11:47:19]save to /storage/0082/doc_00004050 [11:47:19]save last doc name /storage/0082/doc_00004050 to /storage/kkm_last_doc_name [11:47:19]save OK [11:47:19]Clear old archive folders... [11:47:19]ProcessDocumentItem done err = 0, tmpTLVsize=281 [11:47:19]tlvbuf is 007A41D0 [11:47:19]SAM_PROTO_ClearQueue [11:47:19]wFMCommunicate request_size=4 [11:47:19]MH_SAM_APDU [11:47:19]CAPDU: 80 09 00 00 [11:47:19]Write to MH i2c: E2 08 00 E2 0A 80 09 00 00 00 00 00 00 5E [11:47:19]Write i2c OK [11:47:19]MH_I2C_Read... [11:47:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:47:19]Read from MH i2c: E2 [11:47:19]MH_I2C_Read... [11:47:19]Read from MH i2c: E2 03 00 [11:47:19]MH_I2C_Read... [11:47:19]Read from MH i2c: E2 03 00 E2 0A 00 90 00 60 [11:47:19]RAPDU: 90 00 [11:47:19]wFMCommunicate OK [11:47:19]SAM_PROTO_ClearQueue done [11:47:19]KKMCreateOFDPacket [11:47:19]OFDProtocolAddRootSTLVToBuf [11:47:19]FM_MakeSignedData [11:47:19]FM_MakeSignedData [11:47:19]SAM_PROTO_SignData [11:47:19]wFMCommunicate request_size=4 [11:47:19]MH_SAM_APDU [11:47:19]CAPDU: 80 0D 01 02 [11:47:19]Write to MH i2c: E2 08 00 E3 0A 80 0D 01 02 00 00 00 00 66 [11:47:19]Write i2c OK [11:47:19]MH_I2C_Read... [11:47:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:47:19]Read from MH i2c: E2 [11:47:19]MH_I2C_Read... [11:47:19]Read from MH i2c: E2 03 00 [11:47:19]MH_I2C_Read... [11:47:19]Read from MH i2c: E2 03 00 E3 0A 00 90 00 61 [11:47:19]RAPDU: 90 00 [11:47:19]wFMCommunicate OK [11:47:19]wFMCommunicate request_size=255 [11:47:19]MH_SAM_APDU [11:47:19]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 37 31 31 37 33 32 30 38 33 38 33 06 04 27 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D0 92 D0 B0 D1 81 D0 B0 D0 B1 D0 B8 20 32 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 4A AD 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 [11:47:19]Write to MH i2c: E2 02 01 E4 0A 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 37 31 31 37 33 32 30 38 33 38 33 06 04 27 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D0 92 D0 B0 D1 81 D0 B0 D0 B1 D0 B8 20 32 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 4A AD 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 7A [11:47:19]Write i2c OK [11:47:19]MH_I2C_Read... [11:47:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:20]Read from MH i2c: E2 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: E2 03 00 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: E2 03 00 E4 0A 00 90 00 62 [11:47:20]RAPDU: 90 00 [11:47:20]wFMCommunicate OK [11:47:20]wFMCommunicate request_size=40 [11:47:20]MH_SAM_APDU [11:47:20]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D2 0F 00 00 35 04 06 00 58 C8 54 45 52 35 [11:47:20]Write to MH i2c: E2 2B 00 E5 0A 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D2 0F 00 00 35 04 06 00 58 C8 54 45 52 35 00 00 47 [11:47:20]Write i2c OK [11:47:20]MH_I2C_Read... [11:47:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:47:20]Read from MH i2c: E2 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: E2 03 00 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: E2 03 00 E5 0A 00 90 00 63 [11:47:20]RAPDU: 90 00 [11:47:20]wFMCommunicate OK [11:47:20]wFMCommunicate request_size=4 [11:47:20]MH_SAM_APDU [11:47:20]CAPDU: 80 0D 03 02 [11:47:20]Write to MH i2c: E2 08 00 E6 0A 80 0D 03 02 00 00 00 00 6B [11:47:20]Write i2c OK [11:47:20]MH_I2C_Read... [11:47:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:47:20]Read from MH i2c: E2 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: E2 0B 00 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: E2 0B 00 E6 0A 00 53 FB E2 4F 06 2B 4D E4 90 00 4D [11:47:20]RAPDU: 53 FB E2 4F 06 2B 4D E4 90 00 [11:47:20]wFMCommunicate OK [11:47:20]SAM_PROTO_SignData done [11:47:20]FM_MakeSignedData done [11:47:20]CreateOFDProtocolMessage [11:47:20]wFMCommunicate request_size=4 [11:47:20]MH_SAM_APDU [11:47:20]CAPDU: 80 11 00 00 [11:47:20]Write to MH i2c: E2 08 00 E7 0A 80 11 00 00 00 00 00 00 6B [11:47:20]Write i2c OK [11:47:20]MH_I2C_Read... [11:47:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:20]Read from MH i2c: E2 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: E2 17 00 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: E2 17 00 E7 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BE [11:47:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:47:20]wFMCommunicate OK [11:47:20]CreateOFDProtocolMessage done [11:47:20]OFDSenderStorePacket 4050 [11:47:20]StoreOFDPacket docnum=4050 [11:47:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 18 60 25 01 32 CE 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 37 31 31 37 33 32 30 38 33 38 33 06 04 27 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D0 92 D0 B0 D1 81 D0 B0 D0 B1 D0 B8 20 32 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 4A AD 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D2 0F 00 00 35 04 06 00 58 C8 54 45 52 35 53 FB E2 4F 06 2B 4D E4 [11:47:20]CheckFolder [11:47:20]dirname=/storage/ofd_packets [11:47:20]CheckFolder done [11:47:20]ProducePacketName [11:47:20]name=ofd_packets/00004050 [11:47:20]NVStorageSaveData ofd_packets/00004050 [11:47:20]File name is /storage/ofd_packets/00004050 [11:47:20]Write 331 bytes [11:47:20]NVStorageSaveData done [11:47:20]OFDSenderStorePacket done [11:47:20]KKMCreateOFDPacket done [11:47:20]NVStorageSaveData kkm_last_timestamp [11:47:20]File name is /storage/kkm_last_timestamp [11:47:20]Write 4 bytes [11:47:20]NVStorageSaveData done [11:47:20]ExternCall_PrintAddStr [11:47:20]wPrintStart [11:47:20]Write to MH i2c: 01 00 00 E8 0A F2 [11:47:20]Write i2c OK [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: 01 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: 01 07 00 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: 01 07 00 E8 0A 00 00 00 00 00 FF 0F 07 [11:47:20]RasterBufferAndPrint [11:47:20]line Счет N : (3)4304 [11:47:20]line ИНН: 02508201610067 [11:47:20]line Контрольно-Кассовый Чек [11:47:20]line ПРОДАЖА [11:47:20]line Товар: 4771173208383 [11:47:20]line Арахис Jega Васаби 200 гр [11:47:20]line 1.000 * 245.00 [11:47:20]line = 245.00 [11:47:20]line НДС 12% НСП 1% [11:47:20]line > о реализуемом товаре [11:47:20]line ИТОГО: 245.00 [11:47:20]line НСП 1% : 2.17 [11:47:20]line НДС 12% : 26.02 [11:47:20]line Наличными: 245.00 [11:47:20]line Безнал.: 0.00 [11:47:20]line Место: АЗС № 116 "Партнер Нефть" [11:47:20]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:47:20]line СНО: Общий режим [11:47:20]line Чек 31 03.06.2024 11:47 [11:47:20]line Смена: 82 ФФД: 1.0 [11:47:20]line ЗНМ: 0300000233 [11:47:20]line РНМ: 0000000000145775 [11:47:20]line Версия ККМ: v1.0 [11:47:20]line ФМ: 0000000000959360 [11:47:20]line ФД: 4050 [11:47:20]line ФПД: 97617430532661 [11:47:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T114722&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4050&fm=97617430532661&tin=02508201610067®Number=0000000000145775&sum=24500 [11:47:20]line 0 [11:47:20]OFD Sender: Processing packet 4050 [packets to send 2, broken 1] [11:47:20]ProducePacketName [11:47:20]name=ofd_packets/00004050 [11:47:20]OFD Sender: To server: pG, [11:47:20]CommunicateWithHost lk.salyk.kg:30040 [11:47:20]ConnectInit lk.salyk.kg [11:47:20]written 0, free lines is 4095 [11:47:20]Connected sock=10 [11:47:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 18 60 25 01 32 CE 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 37 31 31 37 33 32 30 38 33 38 33 06 04 27 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D0 92 D0 B0 D1 81 D0 B0 D0 B1 D0 B8 20 32 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 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 4A AD 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D2 0F 00 00 35 04 06 00 58 C8 54 45 52 35 53 FB E2 4F 06 2B 4D E4 [11:47:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 27 E7 47 00 81 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D2 0F 00 00 F4 03 04 00 4D 59 5D 66 B6 04 01 00 00 D0 A7 B3 90 8A CC 62 DF [11:47:20]CommunicateWithHost err = 0 [11:47:20]CheckOFDResponse [11:47:20]1017 (14) - 77093643461234 [11:47:20]1041 (16) - 0000000000959360 [11:47:20]1040 (4) - 4050 [11:47:20]1012 (4) - 03.06.2024 05:49 [11:47:20]1206 (1) - 0 [11:47:20]OFD Sender: Remove packet 4050 [11:47:20]ProducePacketName [11:47:20]name=ofd_packets/00004050 [11:47:20]NVStorageDeleteData [11:47:20]Write to MH i2c: 01 00 00 10 0B 1B [11:47:20]Write i2c OK [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: 01 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: 01 07 00 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: 01 07 00 10 0B 00 00 00 00 00 D3 0C 01 [11:47:20]RasterBufferAndPrint [11:47:20]line [11:47:20]line [11:47:20]line [11:47:20]line [11:47:20]line [11:47:20]written 0, free lines is 3288 [11:47:20]MH_Cut [11:47:20]Write to MH i2c: D1 01 00 17 0B 01 F4 [11:47:20]Write i2c OK [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: D1 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: D1 01 00 [11:47:20]MH_I2C_Read... [11:47:20]Read from MH i2c: D1 01 00 17 0B 00 F3 [11:47:20]Write to MH i2c: 01 00 00 18 0B 23 [11:47:20]Write i2c OK [11:47:20]MH_I2C_Read... [11:47:21]OFD Sender: No OFD packet to send [11:47:21]*** Cut start [11:47:21]*** Partial cut [11:47:21]*** CUTSNS_PIN = 1 [11:47:21]*** CUTSNS_PIN = 0 [11:47:22]*** Brake cut motor [11:47:22]Read from MH i2c: 01 [11:47:22]MH_I2C_Read... [11:47:22]*** Stop cut motor [11:47:22]*** Cut end [11:47:22]Read from MH i2c: 01 07 00 [11:47:22]MH_I2C_Read... [11:47:22]Read from MH i2c: 01 07 00 18 0B 00 00 00 00 00 FF 0F 38 [11:47:22]process_action close_receipt done [11:47:22]requested_data is exist [11:47:22]produce_requested_data [11:47:22]requested_item fm.sn is exist - process it [11:47:22]wFMCommunicate request_size=4 [11:47:22]MH_SAM_APDU [11:47:22]CAPDU: 80 11 00 00 [11:47:22]Write to MH i2c: E2 08 00 19 0B 80 11 00 00 00 00 00 00 9E [11:47:22]Write i2c OK [11:47:22]MH_I2C_Read... [11:47:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:47:22]Read from MH i2c: E2 [11:47:22]MH_I2C_Read... [11:47:22]Read from MH i2c: E2 17 00 [11:47:22]MH_I2C_Read... [11:47:22]Read from MH i2c: E2 17 00 19 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F1 [11:47:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:47:22]wFMCommunicate OK [11:47:22]requested_item fd.num is exist - process it [11:47:22]SAM_PROTO_GetFieldsCounters [11:47:22]wFMCommunicate request_size=4 [11:47:22]MH_SAM_APDU [11:47:22]CAPDU: 80 13 00 00 [11:47:22]Write to MH i2c: E2 08 00 1A 0B 80 13 00 00 00 00 00 00 A1 [11:47:22]Write i2c OK [11:47:22]MH_I2C_Read... [11:47:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:47:22]Read from MH i2c: E2 [11:47:22]MH_I2C_Read... [11:47:22]Read from MH i2c: E2 62 00 [11:47:22]MH_I2C_Read... [11:47:22]Read from MH i2c: E2 62 00 1A 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D2 0F 00 00 0E 04 04 00 52 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 56 [11:47:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D2 0F 00 00 0E 04 04 00 52 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:47:22]wFMCommunicate OK [11:47:22]SAM_PROTO_GetFieldsCounters done [11:47:22]requested_item shift.num is exist - process it [11:47:22]requested_item shift.opened is exist - process it [11:47:22]req_shift_opened [11:47:22]FM_GetShiftState [11:47:22]SAM_PROTO_GetShiftState [11:47:22]wFMCommunicate request_size=4 [11:47:22]MH_SAM_APDU [11:47:22]CAPDU: 80 13 01 00 [11:47:22]Write to MH i2c: E2 08 00 1B 0B 80 13 01 00 00 00 00 00 A3 [11:47:22]Write i2c OK [11:47:22]MH_I2C_Read... [11:47:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:47:22]Read from MH i2c: E2 [11:47:22]MH_I2C_Read... [11:47:22]Read from MH i2c: E2 0E 00 [11:47:22]MH_I2C_Read... [11:47:22]Read from MH i2c: E2 0E 00 1B 0B 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 31 [11:47:22]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [11:47:22]wFMCommunicate OK [11:47:22]SAM_PROTO_GetShiftState done [11:47:22]FM_GetShiftState done [11:47:22]req_shift_opened done [11:47:22]requested_item shift.open_date is exist - process it [11:47:22]req_shift_open_date [11:47:22]req_shift_open_date done [11:47:22]produce_requested_data done [11:47:22]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4050,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [11:47:22]process_action_free close_receipt [11:47:22]json_value_free [11:47:22]json_value_free done [11:47:22]process_json_proto returns [11:47:22]Send response to host [11:47:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4050,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [11:47:22]free response buf [11:47:22]execute_script done [11:47:22]execute_script returns [11:47:22]free content buf [11:47:22]Sock 9.Close socket [11:47:22]Sock 9.Thread stoped [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:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:21]OFD Sender: No OFD packet to send [11:53:26]OFD Sender: No OFD packet to send [11:53:31]OFD Sender: No OFD packet to send [11:53:36]OFD Sender: No OFD packet to send [11:53:41]OFD Sender: No OFD packet to send [11:53:46]OFD Sender: No OFD packet to send [11:53:51]OFD Sender: No OFD packet to send [11:53:56]OFD Sender: No OFD packet to send [11:54:01]OFD Sender: No OFD packet to send [11:54:06]OFD Sender: No OFD packet to send [11:54:11]OFD Sender: No OFD packet to send [11:54:16]OFD Sender: No OFD packet to send [11:54:21]OFD Sender: No OFD packet to send [11:54:26]OFD Sender: No OFD packet to send [11:54:31]OFD Sender: No OFD packet to send [11:54:36]OFD Sender: No OFD packet to send [11:54:41]OFD Sender: No OFD packet to send [11:54:46]OFD Sender: No OFD packet to send [11:54:51]OFD Sender: No OFD packet to send [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:11]OFD Sender: No OFD packet to send [11:55:16]OFD Sender: No OFD packet to send [11:55:21]OFD Sender: No OFD packet to send [11:55:26]OFD Sender: No OFD packet to send [11:55:31]OFD Sender: No OFD packet to send [11:55:36]OFD Sender: No OFD packet to send [11:55:41]OFD Sender: No OFD packet to send [11:55:46]OFD Sender: No OFD packet to send [11:55:51]OFD Sender: No OFD packet to send [11:55:56]OFD Sender: No OFD packet to send [11:56:01]OFD Sender: No OFD packet to send [11:56:06]OFD Sender: No OFD packet to send [11:56:11]OFD Sender: No OFD packet to send [11:56:16]OFD Sender: No OFD packet to send [11:56:21]OFD Sender: No OFD packet to send [11:56:26]OFD Sender: No OFD packet to send [11:56:31]OFD Sender: No OFD packet to send [11:56:36]OFD Sender: No OFD packet to send [11:56:41]OFD Sender: No OFD packet to send [11:56:46]OFD Sender: No OFD packet to send [11:56:51]OFD Sender: No OFD packet to send [11:56:56]OFD Sender: No OFD packet to send [11:57:01]OFD Sender: No OFD packet to send [11:57:06]OFD Sender: No OFD packet to send [11:57:11]OFD Sender: No OFD packet to send [11:57:16]OFD Sender: No OFD packet to send [11:57:21]OFD Sender: No OFD packet to send [11:57:26]OFD Sender: No OFD packet to send [11:57:31]OFD Sender: No OFD packet to send [11:57:36]OFD Sender: No OFD packet to send [11:57:41]OFD Sender: No OFD packet to send [11:57:46]OFD Sender: No OFD packet to send [11:57:51]OFD Sender: No OFD packet to send [11:57:56]OFD Sender: No OFD packet to send [11:58:01]OFD Sender: No OFD packet to send [11:58:06]OFD Sender: No OFD packet to send [11:58:11]OFD Sender: No OFD packet to send [11:58:16]OFD Sender: No OFD packet to send [11:58:21]OFD Sender: No OFD packet to send [11:58:26]OFD Sender: No OFD packet to send [11:58:31]OFD Sender: No OFD packet to send [11:58:36]OFD Sender: No OFD packet to send [11:58:41]OFD Sender: No OFD packet to send [11:58:46]OFD Sender: No OFD packet to send [11:58:51]OFD Sender: No OFD packet to send [11:58:56]OFD Sender: No OFD packet to send [11:59:01]OFD Sender: No OFD packet to send [11:59:06]OFD Sender: No OFD packet to send [11:59:11]OFD Sender: No OFD packet to send [11:59:16]OFD Sender: No OFD packet to send [11:59:21]OFD Sender: No OFD packet to send [11:59:26]OFD Sender: No OFD packet to send [11:59:31]OFD Sender: No OFD packet to send [11:59:36]OFD Sender: No OFD packet to send [11:59:41]OFD Sender: No OFD packet to send [11:59:46]OFD Sender: No OFD packet to send [11:59:51]OFD Sender: No OFD packet to send [11:59:56]OFD Sender: No OFD packet to send [12:00:01]OFD Sender: No OFD packet to send [12:00:06]OFD Sender: No OFD packet to send [12:00:11]OFD Sender: No OFD packet to send [12:00:16]OFD Sender: No OFD packet to send [12:00:21]OFD Sender: No OFD packet to send [12:00:26]OFD Sender: No OFD packet to send [12:00:31]OFD Sender: No OFD packet to send [12:00:36]OFD Sender: No OFD packet to send [12:00:41]OFD Sender: No OFD packet to send [12:00:46]OFD Sender: No OFD packet to send [12:00:51]OFD Sender: No OFD packet to send [12:00:56]OFD Sender: No OFD packet to send [12:01:01]OFD Sender: No OFD packet to send [12:01:06]OFD Sender: No OFD packet to send [12:01:11]OFD Sender: No OFD packet to send [12:01:16]OFD Sender: No OFD packet to send [12:01:21]OFD Sender: No OFD packet to send [12:01:26]OFD Sender: No OFD packet to send [12:01:31]OFD Sender: No OFD packet to send [12:01:36]OFD Sender: No OFD packet to send [12:01:41]OFD Sender: No OFD packet to send [12:01:46]OFD Sender: No OFD packet to send [12:01:51]OFD Sender: No OFD packet to send [12:01:56]OFD Sender: No OFD packet to send [12:02:01]OFD Sender: No OFD packet to send [12:02:06]OFD Sender: No OFD packet to send [12:02:11]OFD Sender: No OFD packet to send [12:02:16]OFD Sender: No OFD packet to send [12:02:21]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:39]accept exits with 8 [12:09:39]New connection [12:09:39]New thread 3067370852 created [12:09:39]Thread 3067227492 joined [12:09:39]Waiting for new connection... [12:09:39] Sock 8.Parse request [12:09:39]Sock 8.Check first char [12:09:39]Sock 8.First char is OK [12:09:39]request: POST /json_proto HTTP/1.0 [12:09:39]Method: POST [12:09:39]URL: /json_proto [12:09:39]Method is POST - this is cgi request [12:09:39]url: /json_proto [12:09:39]query_string will be loaded in cgi processing [12:09:39]execute_cgi json_proto POST (null) [12:09:39]execute_cgi path=json_proto method=POST [12:09:39]POST find Content-Length [12:09:39]Host: 172.17.56.68:8080 [12:09:39]Content-Length: 620 [12:09:39]Content-Type: application/json [12:09:39] [12:09:39]POST finish read [12:09:39]Found Content-Length = 620 [12:09:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4305", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:09:39]execute_script... [12:09:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4305", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:09:39]POST & json_proto [12:09:39]process_json_proto [12:09:39]json parsed OK: [12:09:39]protocol is kg_v1.0 [12:09:39]action value=close_receipt [12:09:39]process_action close_receipt [12:09:39]cmd_close_receipt [12:09:39]MH_GetDate [12:09:39]Write to MH i2c: F0 00 00 1C 0B 16 [12:09:39]Write i2c OK [12:09:39]MH_I2C_Read... [12:09:39]Read from MH i2c: F0 [12:09:39]MH_I2C_Read... [12:09:39]Read from MH i2c: F0 09 00 [12:09:39]MH_I2C_Read... [12:09:39]Read from MH i2c: F0 09 00 1C 0B 00 86 B2 5D 66 42 69 5C 66 87 [12:09:39]GetLastDocTimeStamp 1717415242 [12:09:39]current date 1717416582 [12:09:39]FM_GetShiftState [12:09:39]SAM_PROTO_GetShiftState [12:09:39]wFMCommunicate request_size=4 [12:09:39]MH_SAM_APDU [12:09:39]CAPDU: 80 13 01 00 [12:09:39]Write to MH i2c: E2 08 00 1D 0B 80 13 01 00 00 00 00 00 A5 [12:09:39]Write i2c OK [12:09:39]MH_I2C_Read... [12:09:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:39]Read from MH i2c: E2 [12:09:39]MH_I2C_Read... [12:09:39]Read from MH i2c: E2 0E 00 [12:09:39]MH_I2C_Read... [12:09:39]Read from MH i2c: E2 0E 00 1D 0B 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 33 [12:09:39]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:09:39]wFMCommunicate OK [12:09:39]SAM_PROTO_GetShiftState done [12:09:39]FM_GetShiftState done [12:09:39]opened in 1717372856 [12:09:39]opened+sec_in_day 1717459256 [12:09:39]quantity*price = 13800 [12:09:39]sum+1 = 13801 [12:09:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 32 03.06.2024 12:09 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4051 ФПД: 224418425624451 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T120943&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4051&fm=224418425624451&tin=02508201610067®Number=0000000000145775&sum=13800 0 [12:09:40]StoreToDocumentArchive [12:09:40]shift 82 fd 4051 [12:09:40]save to /storage/0082/doc_00004051 [12:09:40]save last doc name /storage/0082/doc_00004051 to /storage/kkm_last_doc_name [12:09:40]save OK [12:09:40]Clear old archive folders... [12:09:40]ProcessDocumentItem done err = 0, tmpTLVsize=274 [12:09:40]tlvbuf is 00746840 [12:09:40]SAM_PROTO_ClearQueue [12:09:40]wFMCommunicate request_size=4 [12:09:40]MH_SAM_APDU [12:09:40]CAPDU: 80 09 00 00 [12:09:40]Write to MH i2c: E2 08 00 2A 0B 80 09 00 00 00 00 00 00 A7 [12:09:40]Write i2c OK [12:09:40]MH_I2C_Read... [12:09:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:09:40]Read from MH i2c: E2 [12:09:40]MH_I2C_Read... [12:09:40]Read from MH i2c: E2 03 00 [12:09:40]MH_I2C_Read... [12:09:40]Read from MH i2c: E2 03 00 2A 0B 00 90 00 A9 [12:09:40]RAPDU: 90 00 [12:09:40]wFMCommunicate OK [12:09:40]SAM_PROTO_ClearQueue done [12:09:40]KKMCreateOFDPacket [12:09:40]OFDProtocolAddRootSTLVToBuf [12:09:40]FM_MakeSignedData [12:09:40]FM_MakeSignedData [12:09:40]SAM_PROTO_SignData [12:09:40]wFMCommunicate request_size=4 [12:09:40]MH_SAM_APDU [12:09:40]CAPDU: 80 0D 01 02 [12:09:40]Write to MH i2c: E2 08 00 2B 0B 80 0D 01 02 00 00 00 00 AF [12:09:40]Write i2c OK [12:09:40]MH_I2C_Read... [12:09:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:09:40]Read from MH i2c: E2 [12:09:40]MH_I2C_Read... [12:09:40]Read from MH i2c: E2 03 00 [12:09:40]MH_I2C_Read... [12:09:40]Read from MH i2c: E2 03 00 2B 0B 00 90 00 AA [12:09:40]RAPDU: 90 00 [12:09:40]wFMCommunicate OK [12:09:40]wFMCommunicate request_size=255 [12:09:40]MH_SAM_APDU [12:09:40]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 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 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 20 00 00 00 F4 03 04 00 87 B2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [12:09:40]Write to MH i2c: E2 02 01 2C 0B 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 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 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 20 00 00 00 F4 03 04 00 87 B2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 6A [12:09:40]Write i2c OK [12:09:40]MH_I2C_Read... [12:09:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:40]Read from MH i2c: E2 [12:09:40]MH_I2C_Read... [12:09:40]Read from MH i2c: E2 03 00 [12:09:40]MH_I2C_Read... [12:09:40]Read from MH i2c: E2 03 00 2C 0B 00 90 00 AB [12:09:40]RAPDU: 90 00 [12:09:40]wFMCommunicate OK [12:09:40]wFMCommunicate request_size=33 [12:09:40]MH_SAM_APDU [12:09:40]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D3 0F 00 00 35 04 06 00 CC 1B 7C 8A 57 83 [12:09:40]Write to MH i2c: E2 24 00 2D 0B 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D3 0F 00 00 35 04 06 00 CC 1B 7C 8A 57 83 00 00 EA [12:09:40]Write i2c OK [12:09:40]MH_I2C_Read... [12:09:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:40]Read from MH i2c: E2 [12:09:40]MH_I2C_Read... [12:09:40]Read from MH i2c: E2 03 00 [12:09:40]MH_I2C_Read... [12:09:40]Read from MH i2c: E2 03 00 2D 0B 00 90 00 AC [12:09:40]RAPDU: 90 00 [12:09:40]wFMCommunicate OK [12:09:40]wFMCommunicate request_size=4 [12:09:40]MH_SAM_APDU [12:09:40]CAPDU: 80 0D 03 02 [12:09:40]Write to MH i2c: E2 08 00 2E 0B 80 0D 03 02 00 00 00 00 B4 [12:09:40]Write i2c OK [12:09:40]MH_I2C_Read... [12:09:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:09:41]Read from MH i2c: E2 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: E2 0B 00 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: E2 0B 00 2E 0B 00 66 97 72 12 F4 4B EC EE 90 00 4F [12:09:41]RAPDU: 66 97 72 12 F4 4B EC EE 90 00 [12:09:41]wFMCommunicate OK [12:09:41]SAM_PROTO_SignData done [12:09:41]FM_MakeSignedData done [12:09:41]CreateOFDProtocolMessage [12:09:41]wFMCommunicate request_size=4 [12:09:41]MH_SAM_APDU [12:09:41]CAPDU: 80 11 00 00 [12:09:41]Write to MH i2c: E2 08 00 2F 0B 80 11 00 00 00 00 00 00 B4 [12:09:41]Write i2c OK [12:09:41]MH_I2C_Read... [12:09:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:41]Read from MH i2c: E2 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: E2 17 00 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: E2 17 00 2F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 07 [12:09:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:09:41]wFMCommunicate OK [12:09:41]CreateOFDProtocolMessage done [12:09:41]OFDSenderStorePacket 4051 [12:09:41]StoreOFDPacket docnum=4051 [12:09:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 9C C7 1E 01 A3 7A 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 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 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 20 00 00 00 F4 03 04 00 87 B2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D3 0F 00 00 35 04 06 00 CC 1B 7C 8A 57 83 66 97 72 12 F4 4B EC EE [12:09:41]CheckFolder [12:09:41]dirname=/storage/ofd_packets [12:09:41]CheckFolder done [12:09:41]ProducePacketName [12:09:41]name=ofd_packets/00004051 [12:09:41]NVStorageSaveData ofd_packets/00004051 [12:09:41]File name is /storage/ofd_packets/00004051 [12:09:41]Write 324 bytes [12:09:41]NVStorageSaveData done [12:09:41]OFDSenderStorePacket done [12:09:41]KKMCreateOFDPacket done [12:09:41]NVStorageSaveData kkm_last_timestamp [12:09:41]File name is /storage/kkm_last_timestamp [12:09:41]Write 4 bytes [12:09:41]NVStorageSaveData done [12:09:41]ExternCall_PrintAddStr [12:09:41]wPrintStart [12:09:41]Write to MH i2c: 01 00 00 30 0B 3B [12:09:41]Write i2c OK [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: 01 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: 01 07 00 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: 01 07 00 30 0B 00 00 00 00 00 FF 0F 50 [12:09:41]RasterBufferAndPrint [12:09:41]line Счет N : (3)4305 [12:09:41]line ИНН: 02508201610067 [12:09:41]line Контрольно-Кассовый Чек [12:09:41]line ПРОДАЖА [12:09:41]line Товар: 4640030091669 [12:09:41]line Сигареты ESSE Exchange S [12:09:41]line 1.000 * 138.00 [12:09:41]line = 138.00 [12:09:41]line НДС 12% НСП 1% [12:09:41]line > о реализуемом товаре [12:09:41]line ИТОГО: 138.00 [12:09:41]line НСП 1% : 1.22 [12:09:41]line НДС 12% : 14.65 [12:09:41]line Наличными: 138.00 [12:09:41]line Безнал.: 0.00 [12:09:41]line Место: АЗС № 116 "Партнер Нефть" [12:09:41]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:09:41]line СНО: Общий режим [12:09:41]line Чек 32 03.06.2024 12:09 [12:09:41]line Смена: 82 ФФД: 1.0 [12:09:41]line ЗНМ: 0300000233 [12:09:41]line РНМ: 0000000000145775 [12:09:41]line Версия ККМ: v1.0 [12:09:41]line ФМ: 0000000000959360 [12:09:41]line ФД: 4051 [12:09:41]line ФПД: 224418425624451 [12:09:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T120943&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4051&fm=224418425624451&tin=02508201610067®Number=0000000000145775&sum=13800 [12:09:41]line 0 [12:09:41]OFD Sender: Processing packet 4051 [packets to send 2, broken 1] [12:09:41]ProducePacketName [12:09:41]name=ofd_packets/00004051 [12:09:41]OFD Sender: To server: pG, [12:09:41]CommunicateWithHost lk.salyk.kg:30040 [12:09:41]ConnectInit lk.salyk.kg [12:09:41]written 0, free lines is 4095 [12:09:41]Connected sock=10 [12:09:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 9C C7 1E 01 A3 7A 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 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 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 20 00 00 00 F4 03 04 00 87 B2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D3 0F 00 00 35 04 06 00 CC 1B 7C 8A 57 83 66 97 72 12 F4 4B EC EE [12:09:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 29 F8 47 00 3F 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D3 0F 00 00 F4 03 04 00 8A 5E 5D 66 B6 04 01 00 00 FB 50 7C E2 FD 02 63 F8 [12:09:41]CommunicateWithHost err = 0 [12:09:41]CheckOFDResponse [12:09:41]1017 (14) - 77093643461234 [12:09:41]1041 (16) - 0000000000959360 [12:09:41]1040 (4) - 4051 [12:09:41]1012 (4) - 03.06.2024 06:11 [12:09:41]1206 (1) - 0 [12:09:41]OFD Sender: Remove packet 4051 [12:09:41]ProducePacketName [12:09:41]name=ofd_packets/00004051 [12:09:41]NVStorageDeleteData [12:09:41]Write to MH i2c: 01 00 00 58 0B 63 [12:09:41]Write i2c OK [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: 01 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: 01 07 00 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: 01 07 00 58 0B 00 00 00 00 00 CD 0C 43 [12:09:41]RasterBufferAndPrint [12:09:41]line [12:09:41]line [12:09:41]line [12:09:41]line [12:09:41]line [12:09:41]written 0, free lines is 3283 [12:09:41]MH_Cut [12:09:41]Write to MH i2c: D1 01 00 5F 0B 01 3C [12:09:41]Write i2c OK [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: D1 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: D1 01 00 [12:09:41]MH_I2C_Read... [12:09:41]Read from MH i2c: D1 01 00 5F 0B 00 3B [12:09:41]Write to MH i2c: 01 00 00 60 0B 6B [12:09:41]Write i2c OK [12:09:41]MH_I2C_Read... [12:09:42]OFD Sender: No OFD packet to send [12:09:42]*** Cut start [12:09:42]*** Partial cut [12:09:42]*** CUTSNS_PIN = 1 [12:09:42]*** CUTSNS_PIN = 0 [12:09:42]*** Brake cut motor [12:09:43]Read from MH i2c: 01 [12:09:43]MH_I2C_Read... [12:09:43]*** Stop cut motor [12:09:43]*** Cut end [12:09:43]Read from MH i2c: 01 07 00 [12:09:43]MH_I2C_Read... [12:09:43]Read from MH i2c: 01 07 00 60 0B 00 00 00 00 00 FF 0F 80 [12:09:43]process_action close_receipt done [12:09:43]requested_data is exist [12:09:43]produce_requested_data [12:09:43]requested_item fm.sn is exist - process it [12:09:43]wFMCommunicate request_size=4 [12:09:43]MH_SAM_APDU [12:09:43]CAPDU: 80 11 00 00 [12:09:43]Write to MH i2c: E2 08 00 61 0B 80 11 00 00 00 00 00 00 E6 [12:09:43]Write i2c OK [12:09:43]MH_I2C_Read... [12:09:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:43]Read from MH i2c: E2 [12:09:43]MH_I2C_Read... [12:09:43]Read from MH i2c: E2 17 00 [12:09:43]MH_I2C_Read... [12:09:43]Read from MH i2c: E2 17 00 61 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 39 [12:09:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:09:43]wFMCommunicate OK [12:09:43]requested_item fd.num is exist - process it [12:09:43]SAM_PROTO_GetFieldsCounters [12:09:43]wFMCommunicate request_size=4 [12:09:43]MH_SAM_APDU [12:09:43]CAPDU: 80 13 00 00 [12:09:43]Write to MH i2c: E2 08 00 62 0B 80 13 00 00 00 00 00 00 E9 [12:09:43]Write i2c OK [12:09:43]MH_I2C_Read... [12:09:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:09:43]Read from MH i2c: E2 [12:09:43]MH_I2C_Read... [12:09:43]Read from MH i2c: E2 62 00 [12:09:43]MH_I2C_Read... [12:09:43]Read from MH i2c: E2 62 00 62 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D3 0F 00 00 0E 04 04 00 52 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 A2 [12:09:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D3 0F 00 00 0E 04 04 00 52 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 [12:09:43]wFMCommunicate OK [12:09:43]SAM_PROTO_GetFieldsCounters done [12:09:43]requested_item shift.num is exist - process it [12:09:43]requested_item shift.opened is exist - process it [12:09:43]req_shift_opened [12:09:43]FM_GetShiftState [12:09:43]SAM_PROTO_GetShiftState [12:09:43]wFMCommunicate request_size=4 [12:09:43]MH_SAM_APDU [12:09:43]CAPDU: 80 13 01 00 [12:09:43]Write to MH i2c: E2 08 00 63 0B 80 13 01 00 00 00 00 00 EB [12:09:43]Write i2c OK [12:09:43]MH_I2C_Read... [12:09:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:43]Read from MH i2c: E2 [12:09:43]MH_I2C_Read... [12:09:43]Read from MH i2c: E2 0E 00 [12:09:43]MH_I2C_Read... [12:09:43]Read from MH i2c: E2 0E 00 63 0B 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 79 [12:09:43]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:09:43]wFMCommunicate OK [12:09:43]SAM_PROTO_GetShiftState done [12:09:43]FM_GetShiftState done [12:09:43]req_shift_opened done [12:09:43]requested_item shift.open_date is exist - process it [12:09:43]req_shift_open_date [12:09:43]req_shift_open_date done [12:09:43]produce_requested_data done [12:09:43]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4051,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [12:09:43]process_action_free close_receipt [12:09:43]json_value_free [12:09:43]json_value_free done [12:09:43]process_json_proto returns [12:09:43]Send response to host [12:09:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4051,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [12:09:43]free response buf [12:09:43]execute_script done [12:09:43]execute_script returns [12:09:43]free content buf [12:09:43]Sock 8.Close socket [12:09:43]Sock 8.Thread stoped [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:52]accept exits with 9 [12:09:52]New connection [12:09:52]New thread 3067227492 created [12:09:52]Thread 3067370852 joined [12:09:52]Waiting for new connection... [12:09:52] Sock 9.Parse request [12:09:52]Sock 9.Check first char [12:09:52]Sock 9.First char is OK [12:09:52]request: POST /json_proto HTTP/1.0 [12:09:52]Method: POST [12:09:52]URL: /json_proto [12:09:52]Method is POST - this is cgi request [12:09:52]url: /json_proto [12:09:52]query_string will be loaded in cgi processing [12:09:52]execute_cgi json_proto POST (null) [12:09:52]execute_cgi path=json_proto method=POST [12:09:52]POST find Content-Length [12:09:52]Host: 172.17.56.68:8080 [12:09:52]Content-Length: 713 [12:09:52]Content-Type: application/json [12:09:52] [12:09:52]POST finish read [12:09:52]Found Content-Length = 713 [12:09:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4306", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 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" ] } } [12:09:52]execute_script... [12:09:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4306", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 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" ] } } [12:09:52]POST & json_proto [12:09:52]process_json_proto [12:09:52]json parsed OK: [12:09:52]protocol is kg_v1.0 [12:09:52]action value=close_receipt [12:09:52]process_action close_receipt [12:09:52]cmd_close_receipt [12:09:52]MH_GetDate [12:09:52]Write to MH i2c: F0 00 00 64 0B 5E [12:09:52]Write i2c OK [12:09:52]MH_I2C_Read... [12:09:52]Read from MH i2c: F0 [12:09:52]MH_I2C_Read... [12:09:52]Read from MH i2c: F0 09 00 [12:09:52]MH_I2C_Read... [12:09:52]Read from MH i2c: F0 09 00 64 0B 00 93 B2 5D 66 42 69 5C 66 DC [12:09:52]GetLastDocTimeStamp 1717416583 [12:09:52]current date 1717416595 [12:09:52]FM_GetShiftState [12:09:52]SAM_PROTO_GetShiftState [12:09:52]wFMCommunicate request_size=4 [12:09:52]MH_SAM_APDU [12:09:52]CAPDU: 80 13 01 00 [12:09:52]Write to MH i2c: E2 08 00 65 0B 80 13 01 00 00 00 00 00 ED [12:09:52]Write i2c OK [12:09:52]MH_I2C_Read... [12:09:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:52]Read from MH i2c: E2 [12:09:52]MH_I2C_Read... [12:09:52]Read from MH i2c: E2 0E 00 [12:09:52]MH_I2C_Read... [12:09:52]Read from MH i2c: E2 0E 00 65 0B 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 7B [12:09:52]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:09:52]wFMCommunicate OK [12:09:52]SAM_PROTO_GetShiftState done [12:09:52]FM_GetShiftState done [12:09:52]opened in 1717372856 [12:09:52]opened+sec_in_day 1717459256 [12:09:52]quantity*price = 9500 [12:09:52]sum+1 = 9501 [12:09:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 33 03.06.2024 12:09 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4052 ФПД: 116970184894572 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T120956&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4052&fm=116970184894572&tin=02508201610067®Number=0000000000145775&sum=9500 0 [12:09:53]StoreToDocumentArchive [12:09:53]shift 82 fd 4052 [12:09:53]save to /storage/0082/doc_00004052 [12:09:53]save last doc name /storage/0082/doc_00004052 to /storage/kkm_last_doc_name [12:09:53]save OK [12:09:53]Clear old archive folders... [12:09:53]ProcessDocumentItem done err = 0, tmpTLVsize=306 [12:09:53]tlvbuf is 007A2B70 [12:09:53]SAM_PROTO_ClearQueue [12:09:53]wFMCommunicate request_size=4 [12:09:53]MH_SAM_APDU [12:09:53]CAPDU: 80 09 00 00 [12:09:53]Write to MH i2c: E2 08 00 72 0B 80 09 00 00 00 00 00 00 EF [12:09:53]Write i2c OK [12:09:53]MH_I2C_Read... [12:09:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:09:53]Read from MH i2c: E2 [12:09:53]MH_I2C_Read... [12:09:53]Read from MH i2c: E2 03 00 [12:09:53]MH_I2C_Read... [12:09:53]Read from MH i2c: E2 03 00 72 0B 00 90 00 F1 [12:09:53]RAPDU: 90 00 [12:09:53]wFMCommunicate OK [12:09:53]SAM_PROTO_ClearQueue done [12:09:53]KKMCreateOFDPacket [12:09:53]OFDProtocolAddRootSTLVToBuf [12:09:53]FM_MakeSignedData [12:09:53]FM_MakeSignedData [12:09:53]SAM_PROTO_SignData [12:09:53]wFMCommunicate request_size=4 [12:09:53]MH_SAM_APDU [12:09:53]CAPDU: 80 0D 01 02 [12:09:53]Write to MH i2c: E2 08 00 73 0B 80 0D 01 02 00 00 00 00 F7 [12:09:53]Write i2c OK [12:09:53]MH_I2C_Read... [12:09:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:09:53]Read from MH i2c: E2 [12:09:53]MH_I2C_Read... [12:09:53]Read from MH i2c: E2 03 00 [12:09:53]MH_I2C_Read... [12:09:53]Read from MH i2c: E2 03 00 73 0B 00 90 00 F2 [12:09:53]RAPDU: 90 00 [12:09:53]wFMCommunicate OK [12:09:53]wFMCommunicate request_size=255 [12:09:53]MH_SAM_APDU [12:09:53]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 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 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 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 21 00 00 00 F4 03 04 00 94 B2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 [12:09:53]Write to MH i2c: E2 02 01 74 0B 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 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 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 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 21 00 00 00 F4 03 04 00 94 B2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 00 1F [12:09:53]Write i2c OK [12:09:53]MH_I2C_Read... [12:09:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:53]Read from MH i2c: E2 [12:09:53]MH_I2C_Read... [12:09:53]Read from MH i2c: E2 03 00 [12:09:53]MH_I2C_Read... [12:09:53]Read from MH i2c: E2 03 00 74 0B 00 90 00 F3 [12:09:53]RAPDU: 90 00 [12:09:53]wFMCommunicate OK [12:09:53]wFMCommunicate request_size=65 [12:09:53]MH_SAM_APDU [12:09:53]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D4 0F 00 00 35 04 06 00 6A 62 3E 51 E8 6C [12:09:53]Write to MH i2c: E2 44 00 75 0B 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D4 0F 00 00 35 04 06 00 6A 62 3E 51 E8 6C 00 00 DF [12:09:53]Write i2c OK [12:09:53]MH_I2C_Read... [12:09:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:54]Read from MH i2c: E2 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: E2 03 00 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: E2 03 00 75 0B 00 90 00 F4 [12:09:54]RAPDU: 90 00 [12:09:54]wFMCommunicate OK [12:09:54]wFMCommunicate request_size=4 [12:09:54]MH_SAM_APDU [12:09:54]CAPDU: 80 0D 03 02 [12:09:54]Write to MH i2c: E2 08 00 76 0B 80 0D 03 02 00 00 00 00 FC [12:09:54]Write i2c OK [12:09:54]MH_I2C_Read... [12:09:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:09:54]Read from MH i2c: E2 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: E2 0B 00 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: E2 0B 00 76 0B 00 25 38 E8 09 F7 7D 2F 1A 90 00 08 [12:09:54]RAPDU: 25 38 E8 09 F7 7D 2F 1A 90 00 [12:09:54]wFMCommunicate OK [12:09:54]SAM_PROTO_SignData done [12:09:54]FM_MakeSignedData done [12:09:54]CreateOFDProtocolMessage [12:09:54]wFMCommunicate request_size=4 [12:09:54]MH_SAM_APDU [12:09:54]CAPDU: 80 11 00 00 [12:09:54]Write to MH i2c: E2 08 00 77 0B 80 11 00 00 00 00 00 00 FC [12:09:54]Write i2c OK [12:09:54]MH_I2C_Read... [12:09:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:54]Read from MH i2c: E2 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: E2 17 00 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: E2 17 00 77 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4F [12:09:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:09:54]wFMCommunicate OK [12:09:54]CreateOFDProtocolMessage done [12:09:54]OFDSenderStorePacket 4052 [12:09:54]StoreOFDPacket docnum=4052 [12:09:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 46 01 00 00 7A 06 3E 01 AF E7 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 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 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 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 21 00 00 00 F4 03 04 00 94 B2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D4 0F 00 00 35 04 06 00 6A 62 3E 51 E8 6C 25 38 E8 09 F7 7D 2F 1A [12:09:54]CheckFolder [12:09:54]dirname=/storage/ofd_packets [12:09:54]CheckFolder done [12:09:54]ProducePacketName [12:09:54]name=ofd_packets/00004052 [12:09:54]NVStorageSaveData ofd_packets/00004052 [12:09:54]File name is /storage/ofd_packets/00004052 [12:09:54]Write 356 bytes [12:09:54]NVStorageSaveData done [12:09:54]OFDSenderStorePacket done [12:09:54]KKMCreateOFDPacket done [12:09:54]NVStorageSaveData kkm_last_timestamp [12:09:54]File name is /storage/kkm_last_timestamp [12:09:54]Write 4 bytes [12:09:54]NVStorageSaveData done [12:09:54]ExternCall_PrintAddStr [12:09:54]wPrintStart [12:09:54]Write to MH i2c: 01 00 00 78 0B 83 [12:09:54]Write i2c OK [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: 01 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: 01 07 00 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: 01 07 00 78 0B 00 00 00 00 00 FF 0F 98 [12:09:54]RasterBufferAndPrint [12:09:54]line Счет N : (3)4306 [12:09:54]line ИНН: 02508201610067 [12:09:54]line Контрольно-Кассовый Чек [12:09:54]line ПРОДАЖА [12:09:54]line Товар: 4700000481965 [12:09:54]line Напиток энерг Nitro дикие ягоды 0,45 ж/б [12:09:54]line 1.000 * 95.00 [12:09:54]line = 95.00 [12:09:54]line НДС 12% НСП 1% [12:09:54]line > о реализуемом товаре [12:09:54]line ИТОГО: 95.00 [12:09:54]line НСП 1% : 0.84 [12:09:54]line НДС 12% : 10.09 [12:09:54]line Наличными: 95.00 [12:09:54]line Безнал.: 0.00 [12:09:54]line Место: АЗС № 116 "Партнер Нефть" [12:09:54]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:09:54]line СНО: Общий режим [12:09:54]line Чек 33 03.06.2024 12:09 [12:09:54]line Смена: 82 ФФД: 1.0 [12:09:54]line ЗНМ: 0300000233 [12:09:54]line РНМ: 0000000000145775 [12:09:54]line Версия ККМ: v1.0 [12:09:54]line ФМ: 0000000000959360 [12:09:54]line ФД: 4052 [12:09:54]line ФПД: 116970184894572 [12:09:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T120956&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4052&fm=116970184894572&tin=02508201610067®Number=0000000000145775&sum=9500 [12:09:54]line 0 [12:09:54]written 0, free lines is 4095 [12:09:54]OFD Sender: Processing packet 4052 [packets to send 2, broken 1] [12:09:54]ProducePacketName [12:09:54]name=ofd_packets/00004052 [12:09:54]OFD Sender: To server: pG, [12:09:54]CommunicateWithHost lk.salyk.kg:30040 [12:09:54]ConnectInit lk.salyk.kg [12:09:54]Connected sock=10 [12:09:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 46 01 00 00 7A 06 3E 01 AF E7 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 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 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 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 21 00 00 00 F4 03 04 00 94 B2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D4 0F 00 00 35 04 06 00 6A 62 3E 51 E8 6C 25 38 E8 09 F7 7D 2F 1A [12:09:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 03 4E 47 00 8E 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D4 0F 00 00 F4 03 04 00 97 5E 5D 66 B6 04 01 00 00 27 15 44 13 5B 4C FE 51 [12:09:54]CommunicateWithHost err = 0 [12:09:54]CheckOFDResponse [12:09:54]1017 (14) - 77093643461234 [12:09:54]1041 (16) - 0000000000959360 [12:09:54]1040 (4) - 4052 [12:09:54]1012 (4) - 03.06.2024 06:11 [12:09:54]1206 (1) - 0 [12:09:54]OFD Sender: Remove packet 4052 [12:09:54]ProducePacketName [12:09:54]name=ofd_packets/00004052 [12:09:54]NVStorageDeleteData [12:09:54]Write to MH i2c: 01 00 00 A1 0B AC [12:09:54]Write i2c OK [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: 01 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: 01 07 00 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: 01 07 00 A1 0B 00 00 00 00 00 BC 0C 7B [12:09:54]RasterBufferAndPrint [12:09:54]line [12:09:54]line [12:09:54]line [12:09:54]line [12:09:54]line [12:09:54]written 0, free lines is 3269 [12:09:54]MH_Cut [12:09:54]Write to MH i2c: D1 01 00 A8 0B 01 85 [12:09:54]Write i2c OK [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: D1 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: D1 01 00 [12:09:54]MH_I2C_Read... [12:09:54]Read from MH i2c: D1 01 00 A8 0B 00 84 [12:09:54]Write to MH i2c: 01 00 00 A9 0B B4 [12:09:54]Write i2c OK [12:09:54]MH_I2C_Read... [12:09:55]OFD Sender: No OFD packet to send [12:09:55]*** Cut start [12:09:55]*** Partial cut [12:09:55]*** CUTSNS_PIN = 1 [12:09:55]*** CUTSNS_PIN = 0 [12:09:55]*** Brake cut motor [12:09:56]Read from MH i2c: 01 [12:09:56]MH_I2C_Read... [12:09:56]*** Stop cut motor [12:09:56]*** Cut end [12:09:56]Read from MH i2c: 01 07 00 [12:09:56]MH_I2C_Read... [12:09:56]Read from MH i2c: 01 07 00 A9 0B 00 00 00 00 00 FF 0F C9 [12:09:56]process_action close_receipt done [12:09:56]requested_data is exist [12:09:56]produce_requested_data [12:09:56]requested_item fm.sn is exist - process it [12:09:56]wFMCommunicate request_size=4 [12:09:56]MH_SAM_APDU [12:09:56]CAPDU: 80 11 00 00 [12:09:56]Write to MH i2c: E2 08 00 AA 0B 80 11 00 00 00 00 00 00 2F [12:09:56]Write i2c OK [12:09:56]MH_I2C_Read... [12:09:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:56]Read from MH i2c: E2 [12:09:56]MH_I2C_Read... [12:09:56]Read from MH i2c: E2 17 00 [12:09:56]MH_I2C_Read... [12:09:56]Read from MH i2c: E2 17 00 AA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 82 [12:09:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:09:56]wFMCommunicate OK [12:09:56]requested_item fd.num is exist - process it [12:09:56]SAM_PROTO_GetFieldsCounters [12:09:56]wFMCommunicate request_size=4 [12:09:56]MH_SAM_APDU [12:09:56]CAPDU: 80 13 00 00 [12:09:56]Write to MH i2c: E2 08 00 AB 0B 80 13 00 00 00 00 00 00 32 [12:09:56]Write i2c OK [12:09:56]MH_I2C_Read... [12:09:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:09:56]Read from MH i2c: E2 [12:09:56]MH_I2C_Read... [12:09:56]Read from MH i2c: E2 62 00 [12:09:56]MH_I2C_Read... [12:09:56]Read from MH i2c: E2 62 00 AB 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D4 0F 00 00 0E 04 04 00 52 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 EF [12:09:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D4 0F 00 00 0E 04 04 00 52 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:09:56]wFMCommunicate OK [12:09:56]SAM_PROTO_GetFieldsCounters done [12:09:56]requested_item shift.num is exist - process it [12:09:56]requested_item shift.opened is exist - process it [12:09:56]req_shift_opened [12:09:56]FM_GetShiftState [12:09:56]SAM_PROTO_GetShiftState [12:09:56]wFMCommunicate request_size=4 [12:09:56]MH_SAM_APDU [12:09:56]CAPDU: 80 13 01 00 [12:09:56]Write to MH i2c: E2 08 00 AC 0B 80 13 01 00 00 00 00 00 34 [12:09:56]Write i2c OK [12:09:56]MH_I2C_Read... [12:09:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:56]Read from MH i2c: E2 [12:09:56]MH_I2C_Read... [12:09:56]Read from MH i2c: E2 0E 00 [12:09:56]MH_I2C_Read... [12:09:56]Read from MH i2c: E2 0E 00 AC 0B 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 C2 [12:09:56]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:09:56]wFMCommunicate OK [12:09:56]SAM_PROTO_GetShiftState done [12:09:56]FM_GetShiftState done [12:09:56]req_shift_opened done [12:09:56]requested_item shift.open_date is exist - process it [12:09:56]req_shift_open_date [12:09:56]req_shift_open_date done [12:09:56]produce_requested_data done [12:09:56]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4052,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [12:09:56]process_action_free close_receipt [12:09:56]json_value_free [12:09:56]json_value_free done [12:09:56]process_json_proto returns [12:09:56]Send response to host [12:09:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4052,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [12:09:56]free response buf [12:09:56]execute_script done [12:09:56]execute_script returns [12:09:56]free content buf [12:09:56]Sock 9.Close socket [12:09:56]Sock 9.Thread stoped [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:11]accept exits with 8 [12:19:11]New connection [12:19:11]New thread 3067370852 created [12:19:11]Thread 3067227492 joined [12:19:11]Waiting for new connection... [12:19:11] Sock 8.Parse request [12:19:11]Sock 8.Check first char [12:19:11]Sock 8.First char is OK [12:19:11]request: POST /json_proto HTTP/1.0 [12:19:11]Method: POST [12:19:11]URL: /json_proto [12:19:11]Method is POST - this is cgi request [12:19:11]url: /json_proto [12:19:11]query_string will be loaded in cgi processing [12:19:11]execute_cgi json_proto POST (null) [12:19:11]execute_cgi path=json_proto method=POST [12:19:11]POST find Content-Length [12:19:11]Host: 172.17.56.68:8080 [12:19:11]Content-Length: 685 [12:19:11]Content-Type: application/json [12:19:11] [12:19:11]POST finish read [12:19:11]Found Content-Length = 685 [12:19:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4307", "tax_sys" : 0, "items" : [ { "code": "4700003010483", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:19:11]execute_script... [12:19:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4307", "tax_sys" : 0, "items" : [ { "code": "4700003010483", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:19:11]POST & json_proto [12:19:11]process_json_proto [12:19:11]json parsed OK: [12:19:11]protocol is kg_v1.0 [12:19:11]action value=close_receipt [12:19:11]process_action close_receipt [12:19:11]cmd_close_receipt [12:19:11]MH_GetDate [12:19:11]Write to MH i2c: F0 00 00 AD 0B A7 [12:19:11]Write i2c OK [12:19:11]MH_I2C_Read... [12:19:11]Read from MH i2c: F0 [12:19:11]MH_I2C_Read... [12:19:11]Read from MH i2c: F0 09 00 [12:19:11]MH_I2C_Read... [12:19:11]Read from MH i2c: F0 09 00 AD 0B 00 C2 B4 5D 66 42 69 5C 66 56 [12:19:11]GetLastDocTimeStamp 1717416596 [12:19:11]current date 1717417154 [12:19:11]FM_GetShiftState [12:19:11]SAM_PROTO_GetShiftState [12:19:11]wFMCommunicate request_size=4 [12:19:11]MH_SAM_APDU [12:19:11]CAPDU: 80 13 01 00 [12:19:11]Write to MH i2c: E2 08 00 AE 0B 80 13 01 00 00 00 00 00 36 [12:19:11]Write i2c OK [12:19:11]MH_I2C_Read... [12:19:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:11]Read from MH i2c: E2 [12:19:11]MH_I2C_Read... [12:19:11]Read from MH i2c: E2 0E 00 [12:19:11]MH_I2C_Read... [12:19:11]Read from MH i2c: E2 0E 00 AE 0B 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 C4 [12:19:11]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:19:11]wFMCommunicate OK [12:19:11]SAM_PROTO_GetShiftState done [12:19:11]FM_GetShiftState done [12:19:11]opened in 1717372856 [12:19:11]opened+sec_in_day 1717459256 [12:19:11]quantity*price = 4000 [12:19:11]sum+1 = 4001 [12:19:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 34 03.06.2024 12:19 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4053 ФПД: 271846893625215 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T121915&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4053&fm=271846893625215&tin=02508201610067®Number=0000000000145775&sum=4000 0 [12:19:12]StoreToDocumentArchive [12:19:12]shift 82 fd 4053 [12:19:12]save to /storage/0082/doc_00004053 [12:19:12]save last doc name /storage/0082/doc_00004053 to /storage/kkm_last_doc_name [12:19:12]save OK [12:19:12]Clear old archive folders... [12:19:12]ProcessDocumentItem done err = 0, tmpTLVsize=298 [12:19:12]tlvbuf is 00760750 [12:19:12]SAM_PROTO_ClearQueue [12:19:12]wFMCommunicate request_size=4 [12:19:12]MH_SAM_APDU [12:19:12]CAPDU: 80 09 00 00 [12:19:12]Write to MH i2c: E2 08 00 BB 0B 80 09 00 00 00 00 00 00 38 [12:19:12]Write i2c OK [12:19:12]MH_I2C_Read... [12:19:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:19:12]Read from MH i2c: E2 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 03 00 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 03 00 BB 0B 00 90 00 3A [12:19:12]RAPDU: 90 00 [12:19:12]wFMCommunicate OK [12:19:12]SAM_PROTO_ClearQueue done [12:19:12]KKMCreateOFDPacket [12:19:12]OFDProtocolAddRootSTLVToBuf [12:19:12]FM_MakeSignedData [12:19:12]FM_MakeSignedData [12:19:12]SAM_PROTO_SignData [12:19:12]wFMCommunicate request_size=4 [12:19:12]MH_SAM_APDU [12:19:12]CAPDU: 80 0D 01 02 [12:19:12]Write to MH i2c: E2 08 00 BC 0B 80 0D 01 02 00 00 00 00 40 [12:19:12]Write i2c OK [12:19:12]MH_I2C_Read... [12:19:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:19:12]Read from MH i2c: E2 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 03 00 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 03 00 BC 0B 00 90 00 3B [12:19:12]RAPDU: 90 00 [12:19:12]wFMCommunicate OK [12:19:12]wFMCommunicate request_size=255 [12:19:12]MH_SAM_APDU [12:19:12]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 C3 B4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [12:19:12]Write to MH i2c: E2 02 01 BD 0B 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 C3 B4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 22 [12:19:12]Write i2c OK [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 [12:19:12]MH_I2C_Read... [12:19:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:12]Read from MH i2c: E2 03 00 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 03 00 BD 0B 00 90 00 3C [12:19:12]RAPDU: 90 00 [12:19:12]wFMCommunicate OK [12:19:12]wFMCommunicate request_size=57 [12:19:12]MH_SAM_APDU [12:19:12]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D5 0F 00 00 35 04 06 00 F7 3E 49 87 1F 7F [12:19:12]Write to MH i2c: E2 3C 00 BE 0B 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D5 0F 00 00 35 04 06 00 F7 3E 49 87 1F 7F 00 00 8B [12:19:12]Write i2c OK [12:19:12]MH_I2C_Read... [12:19:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:12]Read from MH i2c: E2 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 03 00 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 03 00 BE 0B 00 90 00 3D [12:19:12]RAPDU: 90 00 [12:19:12]wFMCommunicate OK [12:19:12]wFMCommunicate request_size=4 [12:19:12]MH_SAM_APDU [12:19:12]CAPDU: 80 0D 03 02 [12:19:12]Write to MH i2c: E2 08 00 BF 0B 80 0D 03 02 00 00 00 00 45 [12:19:12]Write i2c OK [12:19:12]MH_I2C_Read... [12:19:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:19:12]Read from MH i2c: E2 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 0B 00 [12:19:12]MH_I2C_Read... [12:19:12]Read from MH i2c: E2 0B 00 BF 0B 00 78 4A 7C 1D CC 28 DA FD 90 00 6C [12:19:12]RAPDU: 78 4A 7C 1D CC 28 DA FD 90 00 [12:19:12]wFMCommunicate OK [12:19:12]SAM_PROTO_SignData done [12:19:12]FM_MakeSignedData done [12:19:12]CreateOFDProtocolMessage [12:19:12]wFMCommunicate request_size=4 [12:19:12]MH_SAM_APDU [12:19:12]CAPDU: 80 11 00 00 [12:19:12]Write to MH i2c: E2 08 00 C0 0B 80 11 00 00 00 00 00 00 45 [12:19:12]Write i2c OK [12:19:12]MH_I2C_Read... [12:19:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:13]Read from MH i2c: E2 [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: E2 17 00 [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: E2 17 00 C0 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 98 [12:19:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:19:13]wFMCommunicate OK [12:19:13]CreateOFDProtocolMessage done [12:19:13]OFDSenderStorePacket 4053 [12:19:13]StoreOFDPacket docnum=4053 [12:19:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3E 01 00 00 58 2B 36 01 33 BE 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 C3 B4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D5 0F 00 00 35 04 06 00 F7 3E 49 87 1F 7F 78 4A 7C 1D CC 28 DA FD [12:19:13]CheckFolder [12:19:13]dirname=/storage/ofd_packets [12:19:13]CheckFolder done [12:19:13]ProducePacketName [12:19:13]name=ofd_packets/00004053 [12:19:13]NVStorageSaveData ofd_packets/00004053 [12:19:13]File name is /storage/ofd_packets/00004053 [12:19:13]Write 348 bytes [12:19:13]NVStorageSaveData done [12:19:13]OFDSenderStorePacket done [12:19:13]KKMCreateOFDPacket done [12:19:13]NVStorageSaveData kkm_last_timestamp [12:19:13]File name is /storage/kkm_last_timestamp [12:19:13]Write 4 bytes [12:19:13]NVStorageSaveData done [12:19:13]ExternCall_PrintAddStr [12:19:13]wPrintStart [12:19:13]Write to MH i2c: 01 00 00 C1 0B CC [12:19:13]Write i2c OK [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: 01 [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: 01 07 00 [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: 01 07 00 C1 0B 00 00 00 00 00 FF 0F E1 [12:19:13]RasterBufferAndPrint [12:19:13]line Счет N : (3)4307 [12:19:13]line ИНН: 02508201610067 [12:19:13]line Контрольно-Кассовый Чек [12:19:13]line ПРОДАЖА [12:19:13]line Товар: 4700003010483 [12:19:13]line Напиток Let`s Go! с/с яблоко ПЭТ 0,5л [12:19:13]line 1.000 * 40.00 [12:19:13]line = 40.00 [12:19:13]line НДС 12% НСП 1% [12:19:13]line > о реализуемом товаре [12:19:13]line ИТОГО: 40.00 [12:19:13]line НСП 1% : 0.35 [12:19:13]line НДС 12% : 4.25 [12:19:13]line Наличными: 40.00 [12:19:13]line Безнал.: 0.00 [12:19:13]line Место: АЗС № 116 "Партнер Нефть" [12:19:13]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:19:13]line СНО: Общий режим [12:19:13]line Чек 34 03.06.2024 12:19 [12:19:13]line Смена: 82 ФФД: 1.0 [12:19:13]line ЗНМ: 0300000233 [12:19:13]line РНМ: 0000000000145775 [12:19:13]line Версия ККМ: v1.0 [12:19:13]line ФМ: 0000000000959360 [12:19:13]line ФД: 4053 [12:19:13]line ФПД: 271846893625215 [12:19:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T121915&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4053&fm=271846893625215&tin=02508201610067®Number=0000000000145775&sum=4000 [12:19:13]line 0 [12:19:13]OFD Sender: Processing packet 4053 [packets to send 2, broken 1] [12:19:13]ProducePacketName [12:19:13]name=ofd_packets/00004053 [12:19:13]OFD Sender: To server: pG, [12:19:13]CommunicateWithHost lk.salyk.kg:30040 [12:19:13]ConnectInit lk.salyk.kg [12:19:13]written 0, free lines is 4095 [12:19:13]Connected sock=10 [12:19:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3E 01 00 00 58 2B 36 01 33 BE 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 C3 B4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D5 0F 00 00 35 04 06 00 F7 3E 49 87 1F 7F 78 4A 7C 1D CC 28 DA FD [12:19:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 63 F9 47 00 C4 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D5 0F 00 00 F4 03 04 00 C6 60 5D 66 B6 04 01 00 00 7F ED FA DB 43 5D B7 78 [12:19:13]CommunicateWithHost err = 0 [12:19:13]CheckOFDResponse [12:19:13]1017 (14) - 77093643461234 [12:19:13]1041 (16) - 0000000000959360 [12:19:13]1040 (4) - 4053 [12:19:13]1012 (4) - 03.06.2024 06:20 [12:19:13]1206 (1) - 0 [12:19:13]OFD Sender: Remove packet 4053 [12:19:13]ProducePacketName [12:19:13]name=ofd_packets/00004053 [12:19:13]NVStorageDeleteData [12:19:13]Write to MH i2c: 01 00 00 EA 0B F5 [12:19:13]Write i2c OK [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: 01 [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: 01 07 00 [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: 01 07 00 EA 0B 00 00 00 00 00 BB 0C C3 [12:19:13]RasterBufferAndPrint [12:19:13]line [12:19:13]line [12:19:13]line [12:19:13]line [12:19:13]line [12:19:13]written 0, free lines is 3264 [12:19:13]MH_Cut [12:19:13]Write to MH i2c: D1 01 00 F1 0B 01 CE [12:19:13]Write i2c OK [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: D1 [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: D1 01 00 [12:19:13]MH_I2C_Read... [12:19:13]Read from MH i2c: D1 01 00 F1 0B 00 CD [12:19:13]Write to MH i2c: 01 00 00 F2 0B FD [12:19:13]Write i2c OK [12:19:13]MH_I2C_Read... [12:19:14]OFD Sender: No OFD packet to send [12:19:14]*** Cut start [12:19:14]*** Partial cut [12:19:14]*** CUTSNS_PIN = 1 [12:19:14]*** CUTSNS_PIN = 0 [12:19:14]*** Brake cut motor [12:19:15]Read from MH i2c: 01 [12:19:15]MH_I2C_Read... [12:19:15]*** Stop cut motor [12:19:15]*** Cut end [12:19:15]Read from MH i2c: 01 07 00 [12:19:15]MH_I2C_Read... [12:19:15]Read from MH i2c: 01 07 00 F2 0B 00 00 00 00 00 FF 0F 12 [12:19:15]process_action close_receipt done [12:19:15]requested_data is exist [12:19:15]produce_requested_data [12:19:15]requested_item fm.sn is exist - process it [12:19:15]wFMCommunicate request_size=4 [12:19:15]MH_SAM_APDU [12:19:15]CAPDU: 80 11 00 00 [12:19:15]Write to MH i2c: E2 08 00 F3 0B 80 11 00 00 00 00 00 00 78 [12:19:15]Write i2c OK [12:19:15]MH_I2C_Read... [12:19:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:15]Read from MH i2c: E2 [12:19:15]MH_I2C_Read... [12:19:15]Read from MH i2c: E2 17 00 [12:19:15]MH_I2C_Read... [12:19:15]Read from MH i2c: E2 17 00 F3 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 CB [12:19:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:19:15]wFMCommunicate OK [12:19:15]requested_item fd.num is exist - process it [12:19:15]SAM_PROTO_GetFieldsCounters [12:19:15]wFMCommunicate request_size=4 [12:19:15]MH_SAM_APDU [12:19:15]CAPDU: 80 13 00 00 [12:19:15]Write to MH i2c: E2 08 00 F4 0B 80 13 00 00 00 00 00 00 7B [12:19:15]Write i2c OK [12:19:15]MH_I2C_Read... [12:19:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:19:15]Read from MH i2c: E2 [12:19:15]MH_I2C_Read... [12:19:15]Read from MH i2c: E2 62 00 [12:19:15]MH_I2C_Read... [12:19:15]Read from MH i2c: E2 62 00 F4 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D5 0F 00 00 0E 04 04 00 52 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 3C [12:19:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D5 0F 00 00 0E 04 04 00 52 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:19:15]wFMCommunicate OK [12:19:15]SAM_PROTO_GetFieldsCounters done [12:19:15]requested_item shift.num is exist - process it [12:19:15]requested_item shift.opened is exist - process it [12:19:15]req_shift_opened [12:19:15]FM_GetShiftState [12:19:15]SAM_PROTO_GetShiftState [12:19:15]wFMCommunicate request_size=4 [12:19:15]MH_SAM_APDU [12:19:15]CAPDU: 80 13 01 00 [12:19:15]Write to MH i2c: E2 08 00 F5 0B 80 13 01 00 00 00 00 00 7D [12:19:15]Write i2c OK [12:19:15]MH_I2C_Read... [12:19:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:15]Read from MH i2c: E2 [12:19:15]MH_I2C_Read... [12:19:15]Read from MH i2c: E2 0E 00 [12:19:15]MH_I2C_Read... [12:19:15]Read from MH i2c: E2 0E 00 F5 0B 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 0B [12:19:15]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:19:15]wFMCommunicate OK [12:19:15]SAM_PROTO_GetShiftState done [12:19:15]FM_GetShiftState done [12:19:15]req_shift_opened done [12:19:15]requested_item shift.open_date is exist - process it [12:19:15]req_shift_open_date [12:19:15]req_shift_open_date done [12:19:15]produce_requested_data done [12:19:15]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4053,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [12:19:15]process_action_free close_receipt [12:19:15]json_value_free [12:19:15]json_value_free done [12:19:15]process_json_proto returns [12:19:15]Send response to host [12:19:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4053,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [12:19:15]free response buf [12:19:15]execute_script done [12:19:15]execute_script returns [12:19:15]free content buf [12:19:15]Sock 8.Close socket [12:19:15]Sock 8.Thread stoped [12:19:19]OFD Sender: No OFD packet to send [12:19:24]OFD Sender: No OFD packet to send [12:19:29]OFD Sender: No OFD packet to send [12:19:34]OFD Sender: No OFD packet to send [12:19:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]OFD Sender: No OFD packet to send [12:19:54]OFD Sender: No OFD packet to send [12:19:59]OFD Sender: No OFD packet to send [12:20:04]OFD Sender: No OFD packet to send [12:20:09]OFD Sender: No OFD packet to send [12:20:14]OFD Sender: No OFD packet to send [12:20:19]OFD Sender: No OFD packet to send [12:20:24]OFD Sender: No OFD packet to send [12:20:29]OFD Sender: No OFD packet to send [12:20:34]OFD Sender: No OFD packet to send [12:20:39]OFD Sender: No OFD packet to send [12:20:44]OFD Sender: No OFD packet to send [12:20:49]OFD Sender: No OFD packet to send [12:20:54]OFD Sender: No OFD packet to send [12:20:59]OFD Sender: No OFD packet to send [12:21:04]OFD Sender: No OFD packet to send [12:21:09]OFD Sender: No OFD packet to send [12:21:14]OFD Sender: No OFD packet to send [12:21:19]OFD Sender: No OFD packet to send [12:21:24]OFD Sender: No OFD packet to send [12:21:29]OFD Sender: No OFD packet to send [12:21:34]OFD Sender: No OFD packet to send [12:21:39]OFD Sender: No OFD packet to send [12:21:44]OFD Sender: No OFD packet to send [12:21:49]OFD Sender: No OFD packet to send [12:21:54]OFD Sender: No OFD packet to send [12:21:59]OFD Sender: No OFD packet to send [12:22:04]OFD Sender: No OFD packet to send [12:22:09]OFD Sender: No OFD packet to send [12:22:14]OFD Sender: No OFD packet to send [12:22:19]OFD Sender: No OFD packet to send [12:22:24]OFD Sender: No OFD packet to send [12:22:29]OFD Sender: No OFD packet to send [12:22:34]OFD Sender: No OFD packet to send [12:22:39]OFD Sender: No OFD packet to send [12:22:44]OFD Sender: No OFD packet to send [12:22:49]OFD Sender: No OFD packet to send [12:22:54]OFD Sender: No OFD packet to send [12:22:59]OFD Sender: No OFD packet to send [12:23:04]OFD Sender: No OFD packet to send [12:23:09]OFD Sender: No OFD packet to send [12:23:14]OFD Sender: No OFD packet to send [12:23:19]OFD Sender: No OFD packet to send [12:23:24]OFD Sender: No OFD packet to send [12:23:29]OFD Sender: No OFD packet to send [12:23:34]OFD Sender: No OFD packet to send [12:23:39]OFD Sender: No OFD packet to send [12:23:44]OFD Sender: No OFD packet to send [12:23:49]OFD Sender: No OFD packet to send [12:23:54]OFD Sender: No OFD packet to send [12:23:59]OFD Sender: No OFD packet to send [12:24:04]OFD Sender: No OFD packet to send [12:24:09]OFD Sender: No OFD packet to send [12:24:14]OFD Sender: No OFD packet to send [12:24:19]OFD Sender: No OFD packet to send [12:24:24]OFD Sender: No OFD packet to send [12:24:29]OFD Sender: No OFD packet to send [12:24:34]OFD Sender: No OFD packet to send [12:24:39]OFD Sender: No OFD packet to send [12:24:44]OFD Sender: No OFD packet to send [12:24:49]OFD Sender: No OFD packet to send [12:24:54]OFD Sender: No OFD packet to send [12:24:59]OFD Sender: No OFD packet to send [12:25:04]OFD Sender: No OFD packet to send [12:25:09]OFD Sender: No OFD packet to send [12:25:14]OFD Sender: No OFD packet to send [12:25:19]OFD Sender: No OFD packet to send [12:25:24]OFD Sender: No OFD packet to send [12:25:29]OFD Sender: No OFD packet to send [12:25:34]OFD Sender: No OFD packet to send [12:25:39]OFD Sender: No OFD packet to send [12:25:44]OFD Sender: No OFD packet to send [12:25:49]OFD Sender: No OFD packet to send [12:25:54]OFD Sender: No OFD packet to send [12:25:59]OFD Sender: No OFD packet to send [12:26:04]OFD Sender: No OFD packet to send [12:26:09]OFD Sender: No OFD packet to send [12:26:14]OFD Sender: No OFD packet to send [12:26:19]OFD Sender: No OFD packet to send [12:26:24]OFD Sender: No OFD packet to send [12:26:29]OFD Sender: No OFD packet to send [12:26:34]OFD Sender: No OFD packet to send [12:26:39]OFD Sender: No OFD packet to send [12:26:44]OFD Sender: No OFD packet to send [12:26:49]OFD Sender: No OFD packet to send [12:26:54]OFD Sender: No OFD packet to send [12:26:59]OFD Sender: No OFD packet to send [12:27:04]OFD Sender: No OFD packet to send [12:27:09]OFD Sender: No OFD packet to send [12:27:14]OFD Sender: No OFD packet to send [12:27:19]OFD Sender: No OFD packet to send [12:27:24]OFD Sender: No OFD packet to send [12:27:29]OFD Sender: No OFD packet to send [12:27:34]OFD Sender: No OFD packet to send [12:27:39]OFD Sender: No OFD packet to send [12:27:44]OFD Sender: No OFD packet to send [12:27:49]OFD Sender: No OFD packet to send [12:27:54]OFD Sender: No OFD packet to send [12:27:59]OFD Sender: No OFD packet to send [12:28:04]OFD Sender: No OFD packet to send [12:28:09]OFD Sender: No OFD packet to send [12:28:14]OFD Sender: No OFD packet to send [12:28:19]OFD Sender: No OFD packet to send [12:28:24]OFD Sender: No OFD packet to send [12:28:29]OFD Sender: No OFD packet to send [12:28:34]OFD Sender: No OFD packet to send [12:28:39]OFD Sender: No OFD packet to send [12:28:44]OFD Sender: No OFD packet to send [12:28:49]OFD Sender: No OFD packet to send [12:28:54]OFD Sender: No OFD packet to send [12:28:59]OFD Sender: No OFD packet to send [12:29:04]OFD Sender: No OFD packet to send [12:29:09]OFD Sender: No OFD packet to send [12:29:14]OFD Sender: No OFD packet to send [12:29:19]OFD Sender: No OFD packet to send [12:29:24]OFD Sender: No OFD packet to send [12:29:29]OFD Sender: No OFD packet to send [12:29:34]OFD Sender: No OFD packet to send [12:29:38]accept exits with 9 [12:29:38]New connection [12:29:38]New thread 3067227492 created [12:29:38]Thread 3067370852 joined [12:29:38]Waiting for new connection... [12:29:38] Sock 9.Parse request [12:29:38]Sock 9.Check first char [12:29:38]Sock 9.First char is OK [12:29:38]request: POST /json_proto HTTP/1.0 [12:29:38]Method: POST [12:29:38]URL: /json_proto [12:29:38]Method is POST - this is cgi request [12:29:38]url: /json_proto [12:29:38]query_string will be loaded in cgi processing [12:29:38]execute_cgi json_proto POST (null) [12:29:38]execute_cgi path=json_proto method=POST [12:29:38]POST find Content-Length [12:29:38]Host: 172.17.56.68:8080 [12:29:38]Content-Length: 625 [12:29:38]Content-Type: application/json [12:29:38] [12:29:38]POST finish read [12:29:38]Found Content-Length = 625 [12:29:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4308", "tax_sys" : 0, "items" : [ { "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:29:38]execute_script... [12:29: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)4308", "tax_sys" : 0, "items" : [ { "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:29:38]POST & json_proto [12:29:38]process_json_proto [12:29:38]json parsed OK: [12:29:38]protocol is kg_v1.0 [12:29:38]action value=close_receipt [12:29:38]process_action close_receipt [12:29:38]cmd_close_receipt [12:29:38]MH_GetDate [12:29:38]Write to MH i2c: F0 00 00 F6 0B F0 [12:29:38]Write i2c OK [12:29:38]MH_I2C_Read... [12:29:38]Read from MH i2c: F0 [12:29:38]MH_I2C_Read... [12:29:38]Read from MH i2c: F0 09 00 [12:29:38]MH_I2C_Read... [12:29:38]Read from MH i2c: F0 09 00 F6 0B 00 35 B7 5D 66 42 69 5C 66 15 [12:29:38]GetLastDocTimeStamp 1717417155 [12:29:38]current date 1717417781 [12:29:38]FM_GetShiftState [12:29:38]SAM_PROTO_GetShiftState [12:29:38]wFMCommunicate request_size=4 [12:29:38]MH_SAM_APDU [12:29:38]CAPDU: 80 13 01 00 [12:29:38]Write to MH i2c: E2 08 00 F7 0B 80 13 01 00 00 00 00 00 7F [12:29:38]Write i2c OK [12:29:38]MH_I2C_Read... [12:29:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:38]Read from MH i2c: E2 [12:29:38]MH_I2C_Read... [12:29:38]Read from MH i2c: E2 0E 00 [12:29:38]MH_I2C_Read... [12:29:38]Read from MH i2c: E2 0E 00 F7 0B 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 0D [12:29:38]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:29:38]wFMCommunicate OK [12:29:38]SAM_PROTO_GetShiftState done [12:29:38]FM_GetShiftState done [12:29:38]opened in 1717372856 [12:29:38]opened+sec_in_day 1717459256 [12:29:38]quantity*price = 4000 [12:29:38]sum+1 = 4001 [12:29:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 35 03.06.2024 12:29 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4054 ФПД: 77039835134668 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T122942&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4054&fm=77039835134668&tin=02508201610067®Number=0000000000145775&sum=4000 0 [12:29:39]StoreToDocumentArchive [12:29:39]shift 82 fd 4054 [12:29:39]save to /storage/0082/doc_00004054 [12:29:39]save last doc name /storage/0082/doc_00004054 to /storage/kkm_last_doc_name [12:29:39]save OK [12:29:39]Clear old archive folders... [12:29:39]ProcessDocumentItem done err = 0, tmpTLVsize=270 [12:29:39]tlvbuf is 00746D00 [12:29:39]SAM_PROTO_ClearQueue [12:29:39]wFMCommunicate request_size=4 [12:29:39]MH_SAM_APDU [12:29:39]CAPDU: 80 09 00 00 [12:29:39]Write to MH i2c: E2 08 00 04 0C 80 09 00 00 00 00 00 00 82 [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:29:39]Read from MH i2c: E2 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 03 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 03 00 04 0C 00 90 00 84 [12:29:39]RAPDU: 90 00 [12:29:39]wFMCommunicate OK [12:29:39]SAM_PROTO_ClearQueue done [12:29:39]KKMCreateOFDPacket [12:29:39]OFDProtocolAddRootSTLVToBuf [12:29:39]FM_MakeSignedData [12:29:39]FM_MakeSignedData [12:29:39]SAM_PROTO_SignData [12:29:39]wFMCommunicate request_size=4 [12:29:39]MH_SAM_APDU [12:29:39]CAPDU: 80 0D 01 02 [12:29:39]Write to MH i2c: E2 08 00 05 0C 80 0D 01 02 00 00 00 00 8A [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:29:39]Read from MH i2c: E2 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 03 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 03 00 05 0C 00 90 00 85 [12:29:39]RAPDU: 90 00 [12:29:39]wFMCommunicate OK [12:29:39]wFMCommunicate request_size=255 [12:29:39]MH_SAM_APDU [12:29:39]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 36 B7 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [12:29:39]Write to MH i2c: E2 02 01 06 0C 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 36 B7 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 17 [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]OFD Sender: No OFD packet to send [12:29:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:29:39]Read from MH i2c: E2 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 03 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 03 00 06 0C 00 90 00 86 [12:29:39]RAPDU: 90 00 [12:29:39]wFMCommunicate OK [12:29:39]wFMCommunicate request_size=29 [12:29:39]MH_SAM_APDU [12:29:39]CAPDU: 80 0D 02 02 18 39 35 39 33 36 30 10 04 04 00 D6 0F 00 00 35 04 06 00 46 11 3C 01 BA CC [12:29:39]Write to MH i2c: E2 20 00 07 0C 80 0D 02 02 18 00 39 35 39 33 36 30 10 04 04 00 D6 0F 00 00 35 04 06 00 46 11 3C 01 BA CC 00 00 53 [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:29:39]Read from MH i2c: E2 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 03 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 03 00 07 0C 00 90 00 87 [12:29:39]RAPDU: 90 00 [12:29:39]wFMCommunicate OK [12:29:39]wFMCommunicate request_size=4 [12:29:39]MH_SAM_APDU [12:29:39]CAPDU: 80 0D 03 02 [12:29:39]Write to MH i2c: E2 08 00 08 0C 80 0D 03 02 00 00 00 00 8F [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:29:39]Read from MH i2c: E2 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 0B 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 0B 00 08 0C 00 CA 75 66 B8 86 92 00 40 90 00 45 [12:29:39]RAPDU: CA 75 66 B8 86 92 00 40 90 00 [12:29:39]wFMCommunicate OK [12:29:39]SAM_PROTO_SignData done [12:29:39]FM_MakeSignedData done [12:29:39]CreateOFDProtocolMessage [12:29:39]wFMCommunicate request_size=4 [12:29:39]MH_SAM_APDU [12:29:39]CAPDU: 80 11 00 00 [12:29:39]Write to MH i2c: E2 08 00 09 0C 80 11 00 00 00 00 00 00 8F [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:29:39]Read from MH i2c: E2 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 17 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: E2 17 00 09 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E2 [12:29:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:29:39]wFMCommunicate OK [12:29:39]CreateOFDProtocolMessage done [12:29:39]OFDSenderStorePacket 4054 [12:29:39]StoreOFDPacket docnum=4054 [12:29:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 22 01 00 00 D0 C1 1A 01 A7 81 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 36 B7 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D6 0F 00 00 35 04 06 00 46 11 3C 01 BA CC CA 75 66 B8 86 92 00 40 [12:29:39]CheckFolder [12:29:39]dirname=/storage/ofd_packets [12:29:39]CheckFolder done [12:29:39]ProducePacketName [12:29:39]name=ofd_packets/00004054 [12:29:39]NVStorageSaveData ofd_packets/00004054 [12:29:39]File name is /storage/ofd_packets/00004054 [12:29:39]Write 320 bytes [12:29:39]NVStorageSaveData done [12:29:39]OFDSenderStorePacket done [12:29:39]KKMCreateOFDPacket done [12:29:39]NVStorageSaveData kkm_last_timestamp [12:29:39]File name is /storage/kkm_last_timestamp [12:29:39]Write 4 bytes [12:29:39]NVStorageSaveData done [12:29:39]ExternCall_PrintAddStr [12:29:39]wPrintStart [12:29:39]Write to MH i2c: 01 00 00 0A 0C 16 [12:29:39]Write i2c OK [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: 01 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: 01 07 00 [12:29:39]MH_I2C_Read... [12:29:39]Read from MH i2c: 01 07 00 0A 0C 00 00 00 00 00 FF 0F 2B [12:29:39]RasterBufferAndPrint [12:29:39]line Счет N : (3)4308 [12:29:39]line ИНН: 02508201610067 [12:29:39]line Контрольно-Кассовый Чек [12:29:39]line ПРОДАЖА [12:29:39]line Товар: 2000039440011 [12:29:39]line Чай черный 200 мл [12:29:39]line 1.000 * 40.00 [12:29:40]line = 40.00 [12:29:40]line НДС 12% НСП 1% [12:29:40]line > о реализуемом товаре [12:29:40]line ИТОГО: 40.00 [12:29:40]line НСП 1% : 0.35 [12:29:40]line НДС 12% : 4.25 [12:29:40]line Наличными: 40.00 [12:29:40]line Безнал.: 0.00 [12:29:40]line Место: АЗС № 116 "Партнер Нефть" [12:29:40]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:29:40]line СНО: Общий режим [12:29:40]line Чек 35 03.06.2024 12:29 [12:29:40]line Смена: 82 ФФД: 1.0 [12:29:40]line ЗНМ: 0300000233 [12:29:40]line РНМ: 0000000000145775 [12:29:40]line Версия ККМ: v1.0 [12:29:40]line ФМ: 0000000000959360 [12:29:40]line ФД: 4054 [12:29:40]line ФПД: 77039835134668 [12:29:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T122942&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4054&fm=77039835134668&tin=02508201610067®Number=0000000000145775&sum=4000 [12:29:40]line 0 [12:29:40]OFD Sender: Processing packet 4054 [packets to send 2, broken 1] [12:29:40]ProducePacketName [12:29:40]name=ofd_packets/00004054 [12:29:40]OFD Sender: To server: pG, [12:29:40]CommunicateWithHost lk.salyk.kg:30040 [12:29:40]ConnectInit lk.salyk.kg [12:29:40]written 0, free lines is 4095 [12:29:40]Connected sock=10 [12:29:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 22 01 00 00 D0 C1 1A 01 A7 81 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 36 B7 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D6 0F 00 00 35 04 06 00 46 11 3C 01 BA CC CA 75 66 B8 86 92 00 40 [12:29:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 23 76 47 00 1F 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D6 0F 00 00 F4 03 04 00 39 63 5D 66 B6 04 01 00 00 D5 CB F3 E2 20 F7 00 F4 [12:29:40]CommunicateWithHost err = 0 [12:29:40]CheckOFDResponse [12:29:40]1017 (14) - 77093643461234 [12:29:40]1041 (16) - 0000000000959360 [12:29:40]1040 (4) - 4054 [12:29:40]1012 (4) - 03.06.2024 06:31 [12:29:40]1206 (1) - 0 [12:29:40]OFD Sender: Remove packet 4054 [12:29:40]ProducePacketName [12:29:40]name=ofd_packets/00004054 [12:29:40]NVStorageDeleteData [12:29:40]Write to MH i2c: 01 00 00 32 0C 3E [12:29:40]Write i2c OK [12:29:40]MH_I2C_Read... [12:29:40]Read from MH i2c: 01 [12:29:40]MH_I2C_Read... [12:29:40]Read from MH i2c: 01 07 00 [12:29:40]MH_I2C_Read... [12:29:40]Read from MH i2c: 01 07 00 32 0C 00 00 00 00 00 C3 0C 14 [12:29:40]RasterBufferAndPrint [12:29:40]line [12:29:40]line [12:29:40]line [12:29:40]line [12:29:40]line [12:29:40]written 0, free lines is 3271 [12:29:40]MH_Cut [12:29:40]Write to MH i2c: D1 01 00 39 0C 01 17 [12:29:40]Write i2c OK [12:29:40]MH_I2C_Read... [12:29:40]Read from MH i2c: D1 [12:29:40]MH_I2C_Read... [12:29:40]Read from MH i2c: D1 01 00 [12:29:40]MH_I2C_Read... [12:29:40]Read from MH i2c: D1 01 00 39 0C 00 16 [12:29:40]Write to MH i2c: 01 00 00 3A 0C 46 [12:29:40]Write i2c OK [12:29:40]MH_I2C_Read... [12:29:41]OFD Sender: No OFD packet to send [12:29:41]*** Cut start [12:29:41]*** Partial cut [12:29:41]*** CUTSNS_PIN = 1 [12:29:41]*** CUTSNS_PIN = 0 [12:29:41]*** Brake cut motor [12:29:42]Read from MH i2c: 01 [12:29:42]MH_I2C_Read... [12:29:42]*** Stop cut motor [12:29:42]*** Cut end [12:29:42]Read from MH i2c: 01 07 00 [12:29:42]MH_I2C_Read... [12:29:42]Read from MH i2c: 01 07 00 3A 0C 00 00 00 00 00 FF 0F 5B [12:29:42]process_action close_receipt done [12:29:42]requested_data is exist [12:29:42]produce_requested_data [12:29:42]requested_item fm.sn is exist - process it [12:29:42]wFMCommunicate request_size=4 [12:29:42]MH_SAM_APDU [12:29:42]CAPDU: 80 11 00 00 [12:29:42]Write to MH i2c: E2 08 00 3B 0C 80 11 00 00 00 00 00 00 C1 [12:29:42]Write i2c OK [12:29:42]MH_I2C_Read... [12:29:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:29:42]Read from MH i2c: E2 [12:29:42]MH_I2C_Read... [12:29:42]Read from MH i2c: E2 17 00 [12:29:42]MH_I2C_Read... [12:29:42]Read from MH i2c: E2 17 00 3B 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 14 [12:29:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:29:42]wFMCommunicate OK [12:29:42]requested_item fd.num is exist - process it [12:29:42]SAM_PROTO_GetFieldsCounters [12:29:42]wFMCommunicate request_size=4 [12:29:42]MH_SAM_APDU [12:29:42]CAPDU: 80 13 00 00 [12:29:42]Write to MH i2c: E2 08 00 3C 0C 80 13 00 00 00 00 00 00 C4 [12:29:42]Write i2c OK [12:29:42]MH_I2C_Read... [12:29:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:29:42]Read from MH i2c: E2 [12:29:42]MH_I2C_Read... [12:29:42]Read from MH i2c: E2 62 00 [12:29:42]MH_I2C_Read... [12:29:42]Read from MH i2c: E2 62 00 3C 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D6 0F 00 00 0E 04 04 00 52 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 89 [12:29:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D6 0F 00 00 0E 04 04 00 52 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:42]wFMCommunicate OK [12:29:42]SAM_PROTO_GetFieldsCounters done [12:29:42]requested_item shift.num is exist - process it [12:29:42]requested_item shift.opened is exist - process it [12:29:42]req_shift_opened [12:29:42]FM_GetShiftState [12:29:42]SAM_PROTO_GetShiftState [12:29:42]wFMCommunicate request_size=4 [12:29:42]MH_SAM_APDU [12:29:42]CAPDU: 80 13 01 00 [12:29:42]Write to MH i2c: E2 08 00 3D 0C 80 13 01 00 00 00 00 00 C6 [12:29:42]Write i2c OK [12:29:42]MH_I2C_Read... [12:29:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:42]Read from MH i2c: E2 [12:29:42]MH_I2C_Read... [12:29:42]Read from MH i2c: E2 0E 00 [12:29:42]MH_I2C_Read... [12:29:42]Read from MH i2c: E2 0E 00 3D 0C 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 54 [12:29:42]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:29:42]wFMCommunicate OK [12:29:42]SAM_PROTO_GetShiftState done [12:29:42]FM_GetShiftState done [12:29:42]req_shift_opened done [12:29:42]requested_item shift.open_date is exist - process it [12:29:42]req_shift_open_date [12:29:42]req_shift_open_date done [12:29:42]produce_requested_data done [12:29:42]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4054,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [12:29:42]process_action_free close_receipt [12:29:42]json_value_free [12:29:42]json_value_free done [12:29:42]process_json_proto returns [12:29:42]Send response to host [12:29:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4054,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [12:29:42]free response buf [12:29:42]execute_script done [12:29:42]execute_script returns [12:29:42]free content buf [12:29:42]Sock 9.Close socket [12:29:42]Sock 9.Thread stoped [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:16]OFD Sender: No OFD packet to send [12:38:21]OFD Sender: No OFD packet to send [12:38:26]OFD Sender: No OFD packet to send [12:38:31]OFD Sender: No OFD packet to send [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:39:01]OFD Sender: No OFD packet to send [12:39:06]OFD Sender: No OFD packet to send [12:39:11]OFD Sender: No OFD packet to send [12:39:16]OFD Sender: No OFD packet to send [12:39:21]OFD Sender: No OFD packet to send [12:39:26]OFD Sender: No OFD packet to send [12:39:31]OFD Sender: No OFD packet to send [12:39:36]OFD Sender: No OFD packet to send [12:39:41]OFD Sender: No OFD packet to send [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]OFD Sender: No OFD packet to send [12:40:06]OFD Sender: No OFD packet to send [12:40:11]OFD Sender: No OFD packet to send [12:40:16]OFD Sender: No OFD packet to send [12:40:21]OFD Sender: No OFD packet to send [12:40:26]OFD Sender: No OFD packet to send [12:40:31]OFD Sender: No OFD packet to send [12:40:36]OFD Sender: No OFD packet to send [12:40:41]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:26]OFD Sender: No OFD packet to send [12:45:31]OFD Sender: No OFD packet to send [12:45:36]OFD Sender: No OFD packet to send [12:45:41]OFD Sender: No OFD packet to send [12:45:46]OFD Sender: No OFD packet to send [12:45:51]OFD Sender: No OFD packet to send [12:45:56]OFD Sender: No OFD packet to send [12:46:01]OFD Sender: No OFD packet to send [12:46:06]OFD Sender: No OFD packet to send [12:46:11]OFD Sender: No OFD packet to send [12:46:16]OFD Sender: No OFD packet to send [12:46:21]OFD Sender: No OFD packet to send [12:46:26]OFD Sender: No OFD packet to send [12:46:31]OFD Sender: No OFD packet to send [12:46:36]OFD Sender: No OFD packet to send [12:46:41]OFD Sender: No OFD packet to send [12:46:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]OFD Sender: No OFD packet to send [12:47:36]OFD Sender: No OFD packet to send [12:47:41]OFD Sender: No OFD packet to send [12:47:46]OFD Sender: No OFD packet to send [12:47:51]OFD Sender: No OFD packet to send [12:47:56]OFD Sender: No OFD packet to send [12:48:01]OFD Sender: No OFD packet to send [12:48:06]OFD Sender: No OFD packet to send [12:48:11]OFD Sender: No OFD packet to send [12:48:16]OFD Sender: No OFD packet to send [12:48:21]OFD Sender: No OFD packet to send [12:48:26]OFD Sender: No OFD packet to send [12:48:31]OFD Sender: No OFD packet to send [12:48:36]OFD Sender: No OFD packet to send [12:48:41]OFD Sender: No OFD packet to send [12:48:46]OFD Sender: No OFD packet to send [12:48:51]OFD Sender: No OFD packet to send [12:48:56]OFD Sender: No OFD packet to send [12:49:01]OFD Sender: No OFD packet to send [12:49:06]OFD Sender: No OFD packet to send [12:49:12]OFD Sender: No OFD packet to send [12:49:17]OFD Sender: No OFD packet to send [12:49:22]OFD Sender: No OFD packet to send [12:49:27]OFD Sender: No OFD packet to send [12:49:32]OFD Sender: No OFD packet to send [12:49:37]OFD Sender: No OFD packet to send [12:49:42]OFD Sender: No OFD packet to send [12:49:47]OFD Sender: No OFD packet to send [12:49:52]OFD Sender: No OFD packet to send [12:49:57]OFD Sender: No OFD packet to send [12:50:02]OFD Sender: No OFD packet to send [12:50:07]OFD Sender: No OFD packet to send [12:50:12]OFD Sender: No OFD packet to send [12:50:17]OFD Sender: No OFD packet to send [12:50:22]OFD Sender: No OFD packet to send [12:50:27]OFD Sender: No OFD packet to send [12:50:32]OFD Sender: No OFD packet to send [12:50:37]OFD Sender: No OFD packet to send [12:50:42]OFD Sender: No OFD packet to send [12:50:47]OFD Sender: No OFD packet to send [12:50:52]OFD Sender: No OFD packet to send [12:50:57]OFD Sender: No OFD packet to send [12:51:02]OFD Sender: No OFD packet to send [12:51:07]OFD Sender: No OFD packet to send [12:51:12]OFD Sender: No OFD packet to send [12:51:17]OFD Sender: No OFD packet to send [12:51:22]OFD Sender: No OFD packet to send [12:51:27]OFD Sender: No OFD packet to send [12:51:32]OFD Sender: No OFD packet to send [12:51:37]OFD Sender: No OFD packet to send [12:51:42]OFD Sender: No OFD packet to send [12:51:47]OFD Sender: No OFD packet to send [12:51:52]OFD Sender: No OFD packet to send [12:51:57]OFD Sender: No OFD packet to send [12:52:02]OFD Sender: No OFD packet to send [12:52:07]OFD Sender: No OFD packet to send [12:52:12]OFD Sender: No OFD packet to send [12:52:17]OFD Sender: No OFD packet to send [12:52:22]OFD Sender: No OFD packet to send [12:52:27]OFD Sender: No OFD packet to send [12:52:32]OFD Sender: No OFD packet to send [12:52:37]OFD Sender: No OFD packet to send [12:52:42]OFD Sender: No OFD packet to send [12:52:47]OFD Sender: No OFD packet to send [12:52:52]OFD Sender: No OFD packet to send [12:52:57]OFD Sender: No OFD packet to send [12:53:02]OFD Sender: No OFD packet to send [12:53:07]OFD Sender: No OFD packet to send [12:53:12]OFD Sender: No OFD packet to send [12:53:17]OFD Sender: No OFD packet to send [12:53:22]OFD Sender: No OFD packet to send [12:53:27]OFD Sender: No OFD packet to send [12:53:32]OFD Sender: No OFD packet to send [12:53:37]OFD Sender: No OFD packet to send [12:53:42]OFD Sender: No OFD packet to send [12:53:47]OFD Sender: No OFD packet to send [12:53:52]OFD Sender: No OFD packet to send [12:53:57]OFD Sender: No OFD packet to send [12:54:02]OFD Sender: No OFD packet to send [12:54:07]OFD Sender: No OFD packet to send [12:54:12]OFD Sender: No OFD packet to send [12:54:17]OFD Sender: No OFD packet to send [12:54:22]OFD Sender: No OFD packet to send [12:54:27]OFD Sender: No OFD packet to send [12:54:32]OFD Sender: No OFD packet to send [12:54:37]OFD Sender: No OFD packet to send [12:54:42]OFD Sender: No OFD packet to send [12:54:47]OFD Sender: No OFD packet to send [12:54:52]OFD Sender: No OFD packet to send [12:54:57]OFD Sender: No OFD packet to send [12:55:02]OFD Sender: No OFD packet to send [12:55:05]accept exits with 8 [12:55:05]New connection [12:55:05]New thread 3067370852 created [12:55:05]Thread 3067227492 joined [12:55:05]Waiting for new connection... [12:55:05] Sock 8.Parse request [12:55:05]Sock 8.Check first char [12:55:05]Sock 8.First char is OK [12:55:05]request: POST /json_proto HTTP/1.0 [12:55:05]Method: POST [12:55:05]URL: /json_proto [12:55:05]Method is POST - this is cgi request [12:55:05]url: /json_proto [12:55:05]query_string will be loaded in cgi processing [12:55:05]execute_cgi json_proto POST (null) [12:55:05]execute_cgi path=json_proto method=POST [12:55:05]POST find Content-Length [12:55:05]Host: 172.17.56.68:8080 [12:55:05]Content-Length: 901 [12:55:05]Content-Type: application/json [12:55:05] [12:55:05]POST finish read [12:55:05]Found Content-Length = 901 [12:55:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4309", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 217.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:55:05]execute_script... [12:55: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)4309", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 217.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:55:05]POST & json_proto [12:55:05]process_json_proto [12:55:05]json parsed OK: [12:55:05]protocol is kg_v1.0 [12:55:05]action value=close_receipt [12:55:05]process_action close_receipt [12:55:05]cmd_close_receipt [12:55:05]MH_GetDate [12:55:05]Write to MH i2c: F0 00 00 3E 0C 39 [12:55:05]Write i2c OK [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: F0 [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: F0 09 00 [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: F0 09 00 3E 0C 00 2D BD 5D 66 42 69 5C 66 5C [12:55:05]GetLastDocTimeStamp 1717417782 [12:55:05]current date 1717419309 [12:55:05]FM_GetShiftState [12:55:05]SAM_PROTO_GetShiftState [12:55:05]wFMCommunicate request_size=4 [12:55:05]MH_SAM_APDU [12:55:05]CAPDU: 80 13 01 00 [12:55:05]Write to MH i2c: E2 08 00 3F 0C 80 13 01 00 00 00 00 00 C8 [12:55:05]Write i2c OK [12:55:05]MH_I2C_Read... [12:55:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:05]Read from MH i2c: E2 [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: E2 0E 00 [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: E2 0E 00 3F 0C 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 56 [12:55:05]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:55:05]wFMCommunicate OK [12:55:05]SAM_PROTO_GetShiftState done [12:55:05]FM_GetShiftState done [12:55:05]opened in 1717372856 [12:55:05]opened+sec_in_day 1717459256 [12:55:05]quantity*price = 15000 [12:55:05]sum+1 = 15001 [12:55:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 217.00 НСП 1% : 1.92 НДС 12% : 23.04 Наличными: 217.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 36 03.06.2024 12:55 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4055 ФПД: 149447044249765 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T125509&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4055&fm=149447044249765&tin=02508201610067®Number=0000000000145775&sum=21700 0 [12:55:06]StoreToDocumentArchive [12:55:06]shift 82 fd 4055 [12:55:06]save to /storage/0082/doc_00004055 [12:55:06]save last doc name /storage/0082/doc_00004055 to /storage/kkm_last_doc_name [12:55:06]save OK [12:55:06]Clear old archive folders... [12:55:06]ProcessDocumentItem done err = 0, tmpTLVsize=391 [12:55:06]tlvbuf is 00760340 [12:55:06]SAM_PROTO_ClearQueue [12:55:06]wFMCommunicate request_size=4 [12:55:06]MH_SAM_APDU [12:55:06]CAPDU: 80 09 00 00 [12:55:06]Write to MH i2c: E2 08 00 4C 0C 80 09 00 00 00 00 00 00 CA [12:55:06]Write i2c OK [12:55:06]MH_I2C_Read... [12:55:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:55:06]Read from MH i2c: E2 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 4C 0C 00 90 00 CC [12:55:06]RAPDU: 90 00 [12:55:06]wFMCommunicate OK [12:55:06]SAM_PROTO_ClearQueue done [12:55:06]KKMCreateOFDPacket [12:55:06]OFDProtocolAddRootSTLVToBuf [12:55:06]FM_MakeSignedData [12:55:06]FM_MakeSignedData [12:55:06]SAM_PROTO_SignData [12:55:06]wFMCommunicate request_size=4 [12:55:06]MH_SAM_APDU [12:55:06]CAPDU: 80 0D 01 02 [12:55:06]Write to MH i2c: E2 08 00 4D 0C 80 0D 01 02 00 00 00 00 D2 [12:55:06]Write i2c OK [12:55:06]MH_I2C_Read... [12:55:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:55:06]Read from MH i2c: E2 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 4D 0C 00 90 00 CD [12:55:06]RAPDU: 90 00 [12:55:06]wFMCommunicate OK [12:55:06]wFMCommunicate request_size=255 [12:55:06]MH_SAM_APDU [12:55:06]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 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 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 54 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [12:55:06]Write to MH i2c: E2 02 01 4E 0C 80 0D 02 02 FA 00 03 00 87 01 1E 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 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 54 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 44 [12:55:06]Write i2c OK [12:55:06]MH_I2C_Read... [12:55:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:06]Read from MH i2c: E2 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 4E 0C 00 90 00 CE [12:55:06]RAPDU: 90 00 [12:55:06]wFMCommunicate OK [12:55:06]wFMCommunicate request_size=150 [12:55:06]MH_SAM_APDU [12:55:06]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 09 00 00 00 00 07 04 06 00 C4 54 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 2D BD 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D7 0F 00 00 35 04 06 00 87 EB D9 FC 38 A5 [12:55:06]Write to MH i2c: E2 99 00 4F 0C 80 0D 02 02 91 00 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 09 00 00 00 00 07 04 06 00 C4 54 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 2D BD 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D7 0F 00 00 35 04 06 00 87 EB D9 FC 38 A5 00 00 38 [12:55:06]Write i2c OK [12:55:06]MH_I2C_Read... [12:55:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:07]Read from MH i2c: E2 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 03 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 03 00 4F 0C 00 90 00 CF [12:55:07]RAPDU: 90 00 [12:55:07]wFMCommunicate OK [12:55:07]wFMCommunicate request_size=4 [12:55:07]MH_SAM_APDU [12:55:07]CAPDU: 80 0D 03 02 [12:55:07]Write to MH i2c: E2 08 00 50 0C 80 0D 03 02 00 00 00 00 D7 [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:55:07]Read from MH i2c: E2 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 0B 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 0B 00 50 0C 00 B8 5C 51 32 DB 4A 82 64 90 00 7A [12:55:07]RAPDU: B8 5C 51 32 DB 4A 82 64 90 00 [12:55:07]wFMCommunicate OK [12:55:07]SAM_PROTO_SignData done [12:55:07]FM_MakeSignedData done [12:55:07]CreateOFDProtocolMessage [12:55:07]wFMCommunicate request_size=4 [12:55:07]MH_SAM_APDU [12:55:07]CAPDU: 80 11 00 00 [12:55:07]Write to MH i2c: E2 08 00 51 0C 80 11 00 00 00 00 00 00 D7 [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:07]Read from MH i2c: E2 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 17 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 17 00 51 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2A [12:55:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:55:07]wFMCommunicate OK [12:55:07]CreateOFDProtocolMessage done [12:55:07]OFDSenderStorePacket 4055 [12:55:07]StoreOFDPacket docnum=4055 [12:55:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9B 01 00 00 40 C6 93 01 4C 00 5A 03 01 00 03 00 87 01 1E 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 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 54 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 09 00 00 00 00 07 04 06 00 C4 54 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 2D BD 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D7 0F 00 00 35 04 06 00 87 EB D9 FC 38 A5 B8 5C 51 32 DB 4A 82 64 [12:55:07]CheckFolder [12:55:07]dirname=/storage/ofd_packets [12:55:07]CheckFolder done [12:55:07]ProducePacketName [12:55:07]name=ofd_packets/00004055 [12:55:07]NVStorageSaveData ofd_packets/00004055 [12:55:07]File name is /storage/ofd_packets/00004055 [12:55:07]Write 441 bytes [12:55:07]NVStorageSaveData done [12:55:07]OFDSenderStorePacket done [12:55:07]KKMCreateOFDPacket done [12:55:07]NVStorageSaveData kkm_last_timestamp [12:55:07]File name is /storage/kkm_last_timestamp [12:55:07]Write 4 bytes [12:55:07]NVStorageSaveData done [12:55:07]ExternCall_PrintAddStr [12:55:07]wPrintStart [12:55:07]Write to MH i2c: 01 00 00 52 0C 5E [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 07 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 07 00 52 0C 00 00 00 00 00 FF 0F 73 [12:55:07]RasterBufferAndPrint [12:55:07]line Счет N : (3)4309 [12:55:07]line ИНН: 02508201610067 [12:55:07]line Контрольно-Кассовый Чек [12:55:07]line ПРОДАЖА [12:55:07]line Товар: 46230607 [12:55:07]line Сигареты Richmond Bronze Edition [12:55:07]line 1.000 * 150.00 [12:55:07]line = 150.00 [12:55:07]line НДС 12% НСП 1% [12:55:07]line > о реализуемом товаре [12:55:07]line Товар: 6931280300549 [12:55:07]line Зажигалка Cricket ПН пьезо [12:55:07]line 1.000 * 67.00 [12:55:07]line = 67.00 [12:55:07]line НДС 12% НСП 1% [12:55:07]line > о реализуемом товаре [12:55:07]line ИТОГО: 217.00 [12:55:07]line НСП 1% : 1.92 [12:55:07]line НДС 12% : 23.04 [12:55:07]line Наличными: 217.00 [12:55:07]line Безнал.: 0.00 [12:55:07]line Место: АЗС № 116 "Партнер Нефть" [12:55:07]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:55:07]line СНО: Общий режим [12:55:07]line Чек 36 03.06.2024 12:55 [12:55:07]line Смена: 82 ФФД: 1.0 [12:55:07]line ЗНМ: 0300000233 [12:55:07]line РНМ: 0000000000145775 [12:55:07]line Версия ККМ: v1.0 [12:55:07]line ФМ: 0000000000959360 [12:55:07]line ФД: 4055 [12:55:07]line ФПД: 149447044249765 [12:55:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T125509&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4055&fm=149447044249765&tin=02508201610067®Number=0000000000145775&sum=21700 [12:55:07]line 0 [12:55:07]OFD Sender: Processing packet 4055 [packets to send 2, broken 1] [12:55:07]ProducePacketName [12:55:07]name=ofd_packets/00004055 [12:55:07]OFD Sender: To server: pG, [12:55:07]CommunicateWithHost lk.salyk.kg:30040 [12:55:07]ConnectInit lk.salyk.kg [12:55:07]written 0, free lines is 4095 [12:55:07]Connected sock=9 [12:55:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9B 01 00 00 40 C6 93 01 4C 00 5A 03 01 00 03 00 87 01 1E 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 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 54 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 09 00 00 00 00 07 04 06 00 C4 54 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 2D BD 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D7 0F 00 00 35 04 06 00 87 EB D9 FC 38 A5 B8 5C 51 32 DB 4A 82 64 [12:55:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 48 CC 47 00 A7 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D7 0F 00 00 F4 03 04 00 30 69 5D 66 B6 04 01 00 00 83 2D 31 62 02 4E CF 20 [12:55:07]CommunicateWithHost err = 0 [12:55:07]CheckOFDResponse [12:55:07]1017 (14) - 77093643461234 [12:55:07]1041 (16) - 0000000000959360 [12:55:07]1040 (4) - 4055 [12:55:07]1012 (4) - 03.06.2024 06:56 [12:55:07]1206 (1) - 0 [12:55:07]OFD Sender: Remove packet 4055 [12:55:07]ProducePacketName [12:55:07]name=ofd_packets/00004055 [12:55:07]NVStorageDeleteData [12:55:08]Write to MH i2c: 01 00 00 81 0C 8D [12:55:08]Write i2c OK [12:55:08]MH_I2C_Read... [12:55:08]Read from MH i2c: 01 [12:55:08]MH_I2C_Read... [12:55:08]Read from MH i2c: 01 07 00 [12:55:08]MH_I2C_Read... [12:55:08]Read from MH i2c: 01 07 00 81 0C 00 00 00 00 00 3E 0C DE [12:55:08]RasterBufferAndPrint [12:55:08]line [12:55:08]line [12:55:08]line [12:55:08]line [12:55:08]line [12:55:08]written 0, free lines is 3139 [12:55:08]MH_Cut [12:55:08]Write to MH i2c: D1 01 00 88 0C 01 66 [12:55:08]Write i2c OK [12:55:08]MH_I2C_Read... [12:55:08]Read from MH i2c: D1 [12:55:08]MH_I2C_Read... [12:55:08]Read from MH i2c: D1 01 00 [12:55:08]MH_I2C_Read... [12:55:08]Read from MH i2c: D1 01 00 88 0C 00 65 [12:55:08]Write to MH i2c: 01 00 00 89 0C 95 [12:55:08]Write i2c OK [12:55:08]MH_I2C_Read... [12:55:08]OFD Sender: No OFD packet to send [12:55:09]*** Cut start [12:55:09]*** Partial cut [12:55:09]*** CUTSNS_PIN = 1 [12:55:09]*** CUTSNS_PIN = 0 [12:55:09]*** Brake cut motor [12:55:09]Read from MH i2c: 01 [12:55:09]MH_I2C_Read... [12:55:09]*** Stop cut motor [12:55:09]*** Cut end [12:55:09]Read from MH i2c: 01 07 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: 01 07 00 89 0C 00 00 00 00 00 FF 0F AA [12:55:09]process_action close_receipt done [12:55:09]requested_data is exist [12:55:09]produce_requested_data [12:55:09]requested_item fm.sn is exist - process it [12:55:09]wFMCommunicate request_size=4 [12:55:09]MH_SAM_APDU [12:55:09]CAPDU: 80 11 00 00 [12:55:09]Write to MH i2c: E2 08 00 8A 0C 80 11 00 00 00 00 00 00 10 [12:55:09]Write i2c OK [12:55:09]MH_I2C_Read... [12:55:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:09]Read from MH i2c: E2 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 17 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 17 00 8A 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 63 [12:55:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:55:09]wFMCommunicate OK [12:55:09]requested_item fd.num is exist - process it [12:55:09]SAM_PROTO_GetFieldsCounters [12:55:09]wFMCommunicate request_size=4 [12:55:09]MH_SAM_APDU [12:55:09]CAPDU: 80 13 00 00 [12:55:09]Write to MH i2c: E2 08 00 8B 0C 80 13 00 00 00 00 00 00 13 [12:55:09]Write i2c OK [12:55:09]MH_I2C_Read... [12:55:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:55:09]Read from MH i2c: E2 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 62 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 62 00 8B 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D7 0F 00 00 0E 04 04 00 52 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 DC [12:55:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D7 0F 00 00 0E 04 04 00 52 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:55:09]wFMCommunicate OK [12:55:09]SAM_PROTO_GetFieldsCounters done [12:55:09]requested_item shift.num is exist - process it [12:55:09]requested_item shift.opened is exist - process it [12:55:09]req_shift_opened [12:55:09]FM_GetShiftState [12:55:09]SAM_PROTO_GetShiftState [12:55:09]wFMCommunicate request_size=4 [12:55:09]MH_SAM_APDU [12:55:09]CAPDU: 80 13 01 00 [12:55:09]Write to MH i2c: E2 08 00 8C 0C 80 13 01 00 00 00 00 00 15 [12:55:09]Write i2c OK [12:55:09]MH_I2C_Read... [12:55:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:09]Read from MH i2c: E2 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 0E 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 0E 00 8C 0C 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 A3 [12:55:09]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [12:55:09]wFMCommunicate OK [12:55:09]SAM_PROTO_GetShiftState done [12:55:09]FM_GetShiftState done [12:55:09]req_shift_opened done [12:55:09]requested_item shift.open_date is exist - process it [12:55:09]req_shift_open_date [12:55:09]req_shift_open_date done [12:55:09]produce_requested_data done [12:55:09]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4055,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [12:55:09]process_action_free close_receipt [12:55:09]json_value_free [12:55:09]json_value_free done [12:55:09]process_json_proto returns [12:55:09]Send response to host [12:55:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4055,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [12:55:09]free response buf [12:55:09]execute_script done [12:55:09]execute_script returns [12:55:09]free content buf [12:55:09]Sock 8.Close socket [12:55:09]Sock 8.Thread stoped [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:04]OFD Sender: No OFD packet to send [13:09:09]OFD Sender: No OFD packet to send [13:09:14]OFD Sender: No OFD packet to send [13:09:19]OFD Sender: No OFD packet to send [13:09:24]OFD Sender: No OFD packet to send [13:09:29]OFD Sender: No OFD packet to send [13:09:34]OFD Sender: No OFD packet to send [13:09:39]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:22]accept exits with 10 [13:20:22]New connection [13:20:22]New thread 3067227492 created [13:20:22]Thread 3067370852 joined [13:20:22]Waiting for new connection... [13:20:22] Sock 10.Parse request [13:20:22]Sock 10.Check first char [13:20:22]Sock 10.First char is OK [13:20:22]request: POST /json_proto HTTP/1.0 [13:20:22]Method: POST [13:20:22]URL: /json_proto [13:20:22]Method is POST - this is cgi request [13:20:22]url: /json_proto [13:20:22]query_string will be loaded in cgi processing [13:20:22]execute_cgi json_proto POST (null) [13:20:22]execute_cgi path=json_proto method=POST [13:20:22]POST find Content-Length [13:20:22]Host: 172.17.56.68:8080 [13:20:22]Content-Length: 882 [13:20:22]Content-Type: application/json [13:20:22] [13:20:22]POST finish read [13:20:22]Found Content-Length = 882 [13:20:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4310", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 55.00, "quantity" : 2.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:22]execute_script... [13:20: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)4310", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 55.00, "quantity" : 2.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:22]POST & json_proto [13:20:22]process_json_proto [13:20:22]json parsed OK: [13:20:22]protocol is kg_v1.0 [13:20:22]action value=close_receipt [13:20:22]process_action close_receipt [13:20:22]cmd_close_receipt [13:20:22]MH_GetDate [13:20:22]Write to MH i2c: F0 00 00 8D 0C 88 [13:20:22]Write i2c OK [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: F0 [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: F0 09 00 [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: F0 09 00 8D 0C 00 1A C3 5D 66 42 69 5C 66 9E [13:20:22]GetLastDocTimeStamp 1717419309 [13:20:22]current date 1717420826 [13:20:22]FM_GetShiftState [13:20:22]SAM_PROTO_GetShiftState [13:20:22]wFMCommunicate request_size=4 [13:20:22]MH_SAM_APDU [13:20:22]CAPDU: 80 13 01 00 [13:20:22]Write to MH i2c: E2 08 00 8E 0C 80 13 01 00 00 00 00 00 17 [13:20:22]Write i2c OK [13:20:22]MH_I2C_Read... [13:20:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:22]Read from MH i2c: E2 [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: E2 0E 00 [13:20:22]MH_I2C_Read... [13:20:22]Read from MH i2c: E2 0E 00 8E 0C 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 A5 [13:20:22]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:20:22]wFMCommunicate OK [13:20:22]SAM_PROTO_GetShiftState done [13:20:22]FM_GetShiftState done [13:20:22]opened in 1717372856 [13:20:22]opened+sec_in_day 1717459256 [13:20:22]quantity*price = 14000 [13:20:22]sum+1 = 14001 [13:20:22]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310043 Вода Жалалабат 27 1л 2.000 * 55.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.55 Наличными: 250.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 37 03.06.2024 13:20 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4056 ФПД: 68459700327115 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T132026&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4056&fm=68459700327115&tin=02508201610067®Number=0000000000145775&sum=25000 0 [13:20:23]StoreToDocumentArchive [13:20:23]shift 82 fd 4056 [13:20:23]save to /storage/0082/doc_00004056 [13:20:23]save last doc name /storage/0082/doc_00004056 to /storage/kkm_last_doc_name [13:20:23]save OK [13:20:23]Clear old archive folders... [13:20:23]ProcessDocumentItem done err = 0, tmpTLVsize=379 [13:20:23]tlvbuf is 007AA5B0 [13:20:23]SAM_PROTO_ClearQueue [13:20:23]wFMCommunicate request_size=4 [13:20:23]MH_SAM_APDU [13:20:23]CAPDU: 80 09 00 00 [13:20:23]Write to MH i2c: E2 08 00 9B 0C 80 09 00 00 00 00 00 00 19 [13:20:23]Write i2c OK [13:20:23]MH_I2C_Read... [13:20:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:20:23]Read from MH i2c: E2 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 03 00 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 03 00 9B 0C 00 90 00 1B [13:20:23]RAPDU: 90 00 [13:20:23]wFMCommunicate OK [13:20:23]SAM_PROTO_ClearQueue done [13:20:23]KKMCreateOFDPacket [13:20:23]OFDProtocolAddRootSTLVToBuf [13:20:23]FM_MakeSignedData [13:20:23]FM_MakeSignedData [13:20:23]SAM_PROTO_SignData [13:20:23]wFMCommunicate request_size=4 [13:20:23]MH_SAM_APDU [13:20:23]CAPDU: 80 0D 01 02 [13:20:23]Write to MH i2c: E2 08 00 9C 0C 80 0D 01 02 00 00 00 00 21 [13:20:23]Write i2c OK [13:20:23]MH_I2C_Read... [13:20:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:20:23]Read from MH i2c: E2 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 03 00 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 03 00 9C 0C 00 90 00 1C [13:20:23]RAPDU: 90 00 [13:20:23]wFMCommunicate OK [13:20:23]wFMCommunicate request_size=255 [13:20:23]MH_SAM_APDU [13:20:23]CAPDU: 80 0D 02 02 FA 03 00 7B 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 [13:20:23]Write to MH i2c: E2 02 01 9D 0C 80 0D 02 02 FA 00 03 00 7B 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 00 7C [13:20:23]Write i2c OK [13:20:23]MH_I2C_Read... [13:20:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:23]Read from MH i2c: E2 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 03 00 [13:20:23]MH_I2C_Read... [13:20:23]Read from MH i2c: E2 03 00 9D 0C 00 90 00 1D [13:20:23]RAPDU: 90 00 [13:20:23]wFMCommunicate OK [13:20:23]wFMCommunicate request_size=138 [13:20:23]MH_SAM_APDU [13:20:23]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 1A C3 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D8 0F 00 00 35 04 06 00 3E 43 84 1E 92 CB [13:20:23]Write to MH i2c: E2 8D 00 9E 0C 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 1A C3 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D8 0F 00 00 35 04 06 00 3E 43 84 1E 92 CB 00 00 4F [13:20:23]Write i2c OK [13:20:23]MH_I2C_Read... [13:20:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:24]Read from MH i2c: E2 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: E2 03 00 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: E2 03 00 9E 0C 00 90 00 1E [13:20:24]RAPDU: 90 00 [13:20:24]wFMCommunicate OK [13:20:24]wFMCommunicate request_size=4 [13:20:24]MH_SAM_APDU [13:20:24]CAPDU: 80 0D 03 02 [13:20:24]Write to MH i2c: E2 08 00 9F 0C 80 0D 03 02 00 00 00 00 26 [13:20:24]Write i2c OK [13:20:24]MH_I2C_Read... [13:20:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:20:24]Read from MH i2c: E2 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: E2 0B 00 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: E2 0B 00 9F 0C 00 7E 05 A1 E9 46 D0 13 9A 90 00 F7 [13:20:24]RAPDU: 7E 05 A1 E9 46 D0 13 9A 90 00 [13:20:24]wFMCommunicate OK [13:20:24]SAM_PROTO_SignData done [13:20:24]FM_MakeSignedData done [13:20:24]CreateOFDProtocolMessage [13:20:24]wFMCommunicate request_size=4 [13:20:24]MH_SAM_APDU [13:20:24]CAPDU: 80 11 00 00 [13:20:24]Write to MH i2c: E2 08 00 A0 0C 80 11 00 00 00 00 00 00 26 [13:20:24]Write i2c OK [13:20:24]MH_I2C_Read... [13:20:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:24]Read from MH i2c: E2 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: E2 17 00 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: E2 17 00 A0 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 79 [13:20:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:20:24]wFMCommunicate OK [13:20:24]CreateOFDProtocolMessage done [13:20:24]OFDSenderStorePacket 4056 [13:20:24]StoreOFDPacket docnum=4056 [13:20:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8F 01 00 00 84 0E 87 01 73 7A 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 1A C3 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D8 0F 00 00 35 04 06 00 3E 43 84 1E 92 CB 7E 05 A1 E9 46 D0 13 9A [13:20:24]CheckFolder [13:20:24]dirname=/storage/ofd_packets [13:20:24]CheckFolder done [13:20:24]ProducePacketName [13:20:24]name=ofd_packets/00004056 [13:20:24]NVStorageSaveData ofd_packets/00004056 [13:20:24]File name is /storage/ofd_packets/00004056 [13:20:24]Write 429 bytes [13:20:24]NVStorageSaveData done [13:20:24]OFDSenderStorePacket done [13:20:24]KKMCreateOFDPacket done [13:20:24]NVStorageSaveData kkm_last_timestamp [13:20:24]File name is /storage/kkm_last_timestamp [13:20:24]Write 4 bytes [13:20:24]NVStorageSaveData done [13:20:24]ExternCall_PrintAddStr [13:20:24]wPrintStart [13:20:24]Write to MH i2c: 01 00 00 A1 0C AD [13:20:24]Write i2c OK [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: 01 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: 01 07 00 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: 01 07 00 A1 0C 00 00 00 00 00 FF 0F C2 [13:20:24]RasterBufferAndPrint [13:20:24]line Счет N : (3)4310 [13:20:24]line ИНН: 02508201610067 [13:20:24]line Контрольно-Кассовый Чек [13:20:24]line ПРОДАЖА [13:20:24]line Товар: 48747059 [13:20:24]line Сигареты Winston Legend Blue [13:20:24]line 1.000 * 140.00 [13:20:24]line = 140.00 [13:20:24]line НДС 12% НСП 1% [13:20:24]line > о реализуемом товаре [13:20:24]line Товар: 4700000310043 [13:20:24]line Вода Жалалабат 27 1л [13:20:24]line 2.000 * 55.00 [13:20:24]line = 110.00 [13:20:24]line НДС 12% НСП 1% [13:20:24]line > о реализуемом товаре [13:20:24]line ИТОГО: 250.00 [13:20:24]line НСП 1% : 2.21 [13:20:24]line НДС 12% : 26.55 [13:20:24]line Наличными: 250.00 [13:20:24]line Безнал.: 0.00 [13:20:24]line Место: АЗС № 116 "Партнер Нефть" [13:20:24]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:20:24]line СНО: Общий режим [13:20:24]line Чек 37 03.06.2024 13:20 [13:20:24]line Смена: 82 ФФД: 1.0 [13:20:24]line ЗНМ: 0300000233 [13:20:24]line РНМ: 0000000000145775 [13:20:24]line Версия ККМ: v1.0 [13:20:24]line ФМ: 0000000000959360 [13:20:24]line ФД: 4056 [13:20:24]line ФПД: 68459700327115 [13:20:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T132026&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4056&fm=68459700327115&tin=02508201610067®Number=0000000000145775&sum=25000 [13:20:24]line 0 [13:20:24]OFD Sender: Processing packet 4056 [packets to send 2, broken 1] [13:20:24]ProducePacketName [13:20:24]name=ofd_packets/00004056 [13:20:24]OFD Sender: To server: pG, [13:20:24]CommunicateWithHost lk.salyk.kg:30040 [13:20:24]ConnectInit lk.salyk.kg [13:20:24]written 0, free lines is 4095 [13:20:24]Connected sock=9 [13:20:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8F 01 00 00 84 0E 87 01 73 7A 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 1A C3 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D8 0F 00 00 35 04 06 00 3E 43 84 1E 92 CB 7E 05 A1 E9 46 D0 13 9A [13:20:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 BF 2F 47 00 86 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 30 39 35 39 33 36 30 10 04 04 00 D8 0F 00 00 F4 03 04 00 1D 6F 5D 66 B6 04 01 00 00 60 75 F8 88 CE 18 BF E6 [13:20:24]CommunicateWithHost err = 0 [13:20:24]CheckOFDResponse [13:20:24]1017 (14) - 77093643461234 [13:20:24]1041 (16) - 0000000000959360 [13:20:24]1040 (4) - 4056 [13:20:24]1012 (4) - 03.06.2024 07:22 [13:20:24]1206 (1) - 0 [13:20:24]OFD Sender: Remove packet 4056 [13:20:24]ProducePacketName [13:20:24]name=ofd_packets/00004056 [13:20:24]NVStorageDeleteData [13:20:24]Write to MH i2c: 01 00 00 D0 0C DC [13:20:24]Write i2c OK [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: 01 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: 01 07 00 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: 01 07 00 D0 0C 00 00 00 00 00 46 0C 35 [13:20:24]RasterBufferAndPrint [13:20:24]line [13:20:24]line [13:20:24]line [13:20:24]line [13:20:24]line [13:20:24]written 0, free lines is 3146 [13:20:24]MH_Cut [13:20:24]Write to MH i2c: D1 01 00 D7 0C 01 B5 [13:20:24]Write i2c OK [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: D1 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: D1 01 00 [13:20:24]MH_I2C_Read... [13:20:24]Read from MH i2c: D1 01 00 D7 0C 00 B4 [13:20:24]Write to MH i2c: 01 00 00 D8 0C E4 [13:20:24]Write i2c OK [13:20:24]MH_I2C_Read... [13:20:25]OFD Sender: No OFD packet to send [13:20:25]*** Cut start [13:20:25]*** Partial cut [13:20:25]*** CUTSNS_PIN = 1 [13:20:26]*** CUTSNS_PIN = 0 [13:20:26]*** Brake cut motor [13:20:26]Read from MH i2c: 01 [13:20:26]MH_I2C_Read... [13:20:26]*** Stop cut motor [13:20:26]*** Cut end [13:20:26]Read from MH i2c: 01 07 00 [13:20:26]MH_I2C_Read... [13:20:26]Read from MH i2c: 01 07 00 D8 0C 00 00 00 00 00 FF 0F F9 [13:20:26]process_action close_receipt done [13:20:26]requested_data is exist [13:20:26]produce_requested_data [13:20:26]requested_item fm.sn is exist - process it [13:20:26]wFMCommunicate request_size=4 [13:20:26]MH_SAM_APDU [13:20:26]CAPDU: 80 11 00 00 [13:20:26]Write to MH i2c: E2 08 00 D9 0C 80 11 00 00 00 00 00 00 5F [13:20:26]Write i2c OK [13:20:26]MH_I2C_Read... [13:20:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:26]Read from MH i2c: E2 [13:20:26]MH_I2C_Read... [13:20:26]Read from MH i2c: E2 17 00 [13:20:26]MH_I2C_Read... [13:20:26]Read from MH i2c: E2 17 00 D9 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B2 [13:20:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:20:26]wFMCommunicate OK [13:20:26]requested_item fd.num is exist - process it [13:20:26]SAM_PROTO_GetFieldsCounters [13:20:26]wFMCommunicate request_size=4 [13:20:26]MH_SAM_APDU [13:20:26]CAPDU: 80 13 00 00 [13:20:26]Write to MH i2c: E2 08 00 DA 0C 80 13 00 00 00 00 00 00 62 [13:20:26]Write i2c OK [13:20:26]MH_I2C_Read... [13:20:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:20:26]Read from MH i2c: E2 [13:20:26]MH_I2C_Read... [13:20:26]Read from MH i2c: E2 62 00 [13:20:26]MH_I2C_Read... [13:20:26]Read from MH i2c: E2 62 00 DA 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D8 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 2F [13:20:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D8 0F 00 00 0E 04 04 00 52 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 [13:20:26]wFMCommunicate OK [13:20:26]SAM_PROTO_GetFieldsCounters done [13:20:26]requested_item shift.num is exist - process it [13:20:26]requested_item shift.opened is exist - process it [13:20:26]req_shift_opened [13:20:26]FM_GetShiftState [13:20:26]SAM_PROTO_GetShiftState [13:20:26]wFMCommunicate request_size=4 [13:20:26]MH_SAM_APDU [13:20:26]CAPDU: 80 13 01 00 [13:20:26]Write to MH i2c: E2 08 00 DB 0C 80 13 01 00 00 00 00 00 64 [13:20:26]Write i2c OK [13:20:26]MH_I2C_Read... [13:20:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:26]Read from MH i2c: E2 [13:20:26]MH_I2C_Read... [13:20:26]Read from MH i2c: E2 0E 00 [13:20:26]MH_I2C_Read... [13:20:26]Read from MH i2c: E2 0E 00 DB 0C 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 F2 [13:20:26]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:20:26]wFMCommunicate OK [13:20:26]SAM_PROTO_GetShiftState done [13:20:26]FM_GetShiftState done [13:20:26]req_shift_opened done [13:20:26]requested_item shift.open_date is exist - process it [13:20:26]req_shift_open_date [13:20:26]req_shift_open_date done [13:20:26]produce_requested_data done [13:20:26]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4056,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [13:20:26]process_action_free close_receipt [13:20:26]json_value_free [13:20:26]json_value_free done [13:20:26]process_json_proto returns [13:20:26]Send response to host [13:20:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4056,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [13:20:26]free response buf [13:20:26]execute_script done [13:20:26]execute_script returns [13:20:26]free content buf [13:20:26]Sock 10.Close socket [13:20:26]Sock 10.Thread stoped [13:20:30]OFD Sender: No OFD packet to send [13:20:35]OFD Sender: No OFD packet to send [13:20:40]OFD Sender: No OFD packet to send [13:20:45]OFD Sender: No OFD packet to send [13:20:50]OFD Sender: No OFD packet to send [13:20:55]OFD Sender: No OFD packet to send [13:21:00]OFD Sender: No OFD packet to send [13:21:05]OFD Sender: No OFD packet to send [13:21:10]OFD Sender: No OFD packet to send [13:21:15]OFD Sender: No OFD packet to send [13:21:20]OFD Sender: No OFD packet to send [13:21:25]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:20]OFD Sender: No OFD packet to send [13:22:25]OFD Sender: No OFD packet to send [13:22:30]OFD Sender: No OFD packet to send [13:22:35]OFD Sender: No OFD packet to send [13:22:40]OFD Sender: No OFD packet to send [13:22:45]OFD Sender: No OFD packet to send [13:22:50]OFD Sender: No OFD packet to send [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:15]OFD Sender: No OFD packet to send [13:23:20]OFD Sender: No OFD packet to send [13:23:25]OFD Sender: No OFD packet to send [13:23:30]OFD Sender: No OFD packet to send [13:23:35]OFD Sender: No OFD packet to send [13:23:40]OFD Sender: No OFD packet to send [13:23:45]OFD Sender: No OFD packet to send [13:23:50]OFD Sender: No OFD packet to send [13:23:55]OFD Sender: No OFD packet to send [13:24:00]OFD Sender: No OFD packet to send [13:24:05]OFD Sender: No OFD packet to send [13:24:10]OFD Sender: No OFD packet to send [13:24:15]OFD Sender: No OFD packet to send [13:24:19]accept exits with 8 [13:24:19]New connection [13:24:19]New thread 3067370852 created [13:24:19]Thread 3067227492 joined [13:24:19]Waiting for new connection... [13:24:19] Sock 8.Parse request [13:24:19]Sock 8.Check first char [13:24:19]Sock 8.First char is OK [13:24:19]request: POST /json_proto HTTP/1.0 [13:24:19]Method: POST [13:24:19]URL: /json_proto [13:24:19]Method is POST - this is cgi request [13:24:19]url: /json_proto [13:24:19]query_string will be loaded in cgi processing [13:24:19]execute_cgi json_proto POST (null) [13:24:19]execute_cgi path=json_proto method=POST [13:24:19]POST find Content-Length [13:24:19]Host: 172.17.56.68:8080 [13:24:19]Content-Length: 619 [13:24:19]Content-Type: application/json [13:24:19] [13:24:19]POST finish read [13:24:19]Found Content-Length = 619 [13:24:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4311", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:19]execute_script... [13:24: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)4311", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:19]POST & json_proto [13:24:19]process_json_proto [13:24:19]json parsed OK: [13:24:19]protocol is kg_v1.0 [13:24:19]action value=close_receipt [13:24:19]process_action close_receipt [13:24:19]cmd_close_receipt [13:24:19]MH_GetDate [13:24:19]Write to MH i2c: F0 00 00 DC 0C D7 [13:24:19]Write i2c OK [13:24:19]MH_I2C_Read... [13:24:19]Read from MH i2c: F0 [13:24:19]MH_I2C_Read... [13:24:19]Read from MH i2c: F0 09 00 [13:24:19]MH_I2C_Read... [13:24:19]Read from MH i2c: F0 09 00 DC 0C 00 07 C4 5D 66 42 69 5C 66 DB [13:24:19]GetLastDocTimeStamp 1717420826 [13:24:19]current date 1717421063 [13:24:19]FM_GetShiftState [13:24:19]SAM_PROTO_GetShiftState [13:24:19]wFMCommunicate request_size=4 [13:24:19]MH_SAM_APDU [13:24:19]CAPDU: 80 13 01 00 [13:24:19]Write to MH i2c: E2 08 00 DD 0C 80 13 01 00 00 00 00 00 66 [13:24:19]Write i2c OK [13:24:19]MH_I2C_Read... [13:24:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:19]Read from MH i2c: E2 [13:24:19]MH_I2C_Read... [13:24:19]Read from MH i2c: E2 0E 00 [13:24:19]MH_I2C_Read... [13:24:19]Read from MH i2c: E2 0E 00 DD 0C 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 F4 [13:24:19]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:24:19]wFMCommunicate OK [13:24:19]SAM_PROTO_GetShiftState done [13:24:19]FM_GetShiftState done [13:24:19]opened in 1717372856 [13:24:19]opened+sec_in_day 1717459256 [13:24:19]quantity*price = 14000 [13:24:19]sum+1 = 14001 [13:24:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 38 03.06.2024 13:24 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4057 ФПД: 139486605375907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T132423&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4057&fm=139486605375907&tin=02508201610067®Number=0000000000145775&sum=14000 0 [13:24:20]StoreToDocumentArchive [13:24:20]shift 82 fd 4057 [13:24:20]save to /storage/0082/doc_00004057 [13:24:20]save last doc name /storage/0082/doc_00004057 to /storage/kkm_last_doc_name [13:24:20]save OK [13:24:20]Clear old archive folders... [13:24:20]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:24:20]tlvbuf is 00747C20 [13:24:20]SAM_PROTO_ClearQueue [13:24:20]wFMCommunicate request_size=4 [13:24:20]MH_SAM_APDU [13:24:20]CAPDU: 80 09 00 00 [13:24:20]Write to MH i2c: E2 08 00 EA 0C 80 09 00 00 00 00 00 00 68 [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:20]Read from MH i2c: E2 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 03 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 03 00 EA 0C 00 90 00 6A [13:24:20]RAPDU: 90 00 [13:24:20]wFMCommunicate OK [13:24:20]SAM_PROTO_ClearQueue done [13:24:20]KKMCreateOFDPacket [13:24:20]OFDProtocolAddRootSTLVToBuf [13:24:20]FM_MakeSignedData [13:24:20]FM_MakeSignedData [13:24:20]SAM_PROTO_SignData [13:24:20]wFMCommunicate request_size=4 [13:24:20]MH_SAM_APDU [13:24:20]CAPDU: 80 0D 01 02 [13:24:20]Write to MH i2c: E2 08 00 EB 0C 80 0D 01 02 00 00 00 00 70 [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:20]Read from MH i2c: E2 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 03 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 03 00 EB 0C 00 90 00 6B [13:24:20]RAPDU: 90 00 [13:24:20]wFMCommunicate OK [13:24:20]wFMCommunicate request_size=255 [13:24:20]MH_SAM_APDU [13:24:20]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 07 C4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [13:24:20]Write to MH i2c: E2 02 01 EC 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 07 C4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 5B [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]OFD Sender: No OFD packet to send [13:24:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:20]Read from MH i2c: E2 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 03 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 03 00 EC 0C 00 90 00 6C [13:24:20]RAPDU: 90 00 [13:24:20]wFMCommunicate OK [13:24:20]wFMCommunicate request_size=32 [13:24:20]MH_SAM_APDU [13:24:20]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 D9 0F 00 00 35 04 06 00 7E DC C1 90 79 A3 [13:24:20]Write to MH i2c: E2 23 00 ED 0C 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 D9 0F 00 00 35 04 06 00 7E DC C1 90 79 A3 00 00 7F [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:20]Read from MH i2c: E2 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 03 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 03 00 ED 0C 00 90 00 6D [13:24:20]RAPDU: 90 00 [13:24:20]wFMCommunicate OK [13:24:20]wFMCommunicate request_size=4 [13:24:20]MH_SAM_APDU [13:24:20]CAPDU: 80 0D 03 02 [13:24:20]Write to MH i2c: E2 08 00 EE 0C 80 0D 03 02 00 00 00 00 75 [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:20]Read from MH i2c: E2 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 0B 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 0B 00 EE 0C 00 70 56 21 A0 2B 15 9C E9 90 00 C2 [13:24:20]RAPDU: 70 56 21 A0 2B 15 9C E9 90 00 [13:24:20]wFMCommunicate OK [13:24:20]SAM_PROTO_SignData done [13:24:20]FM_MakeSignedData done [13:24:20]CreateOFDProtocolMessage [13:24:20]wFMCommunicate request_size=4 [13:24:20]MH_SAM_APDU [13:24:20]CAPDU: 80 11 00 00 [13:24:20]Write to MH i2c: E2 08 00 EF 0C 80 11 00 00 00 00 00 00 75 [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:20]Read from MH i2c: E2 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 17 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: E2 17 00 EF 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C8 [13:24:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:24:20]wFMCommunicate OK [13:24:20]CreateOFDProtocolMessage done [13:24:20]OFDSenderStorePacket 4057 [13:24:20]StoreOFDPacket docnum=4057 [13:24:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 65 BF 1D 01 C7 F3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 07 C4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D9 0F 00 00 35 04 06 00 7E DC C1 90 79 A3 70 56 21 A0 2B 15 9C E9 [13:24:20]CheckFolder [13:24:20]dirname=/storage/ofd_packets [13:24:20]CheckFolder done [13:24:20]ProducePacketName [13:24:20]name=ofd_packets/00004057 [13:24:20]NVStorageSaveData ofd_packets/00004057 [13:24:20]File name is /storage/ofd_packets/00004057 [13:24:20]Write 323 bytes [13:24:20]NVStorageSaveData done [13:24:20]OFDSenderStorePacket done [13:24:20]KKMCreateOFDPacket done [13:24:20]NVStorageSaveData kkm_last_timestamp [13:24:20]File name is /storage/kkm_last_timestamp [13:24:20]Write 4 bytes [13:24:20]NVStorageSaveData done [13:24:20]ExternCall_PrintAddStr [13:24:20]wPrintStart [13:24:20]Write to MH i2c: 01 00 00 F0 0C FC [13:24:20]Write i2c OK [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: 01 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: 01 07 00 [13:24:20]MH_I2C_Read... [13:24:20]Read from MH i2c: 01 07 00 F0 0C 00 00 00 00 00 FF 0F 11 [13:24:20]RasterBufferAndPrint [13:24:20]line Счет N : (3)4311 [13:24:20]line ИНН: 02508201610067 [13:24:20]line Контрольно-Кассовый Чек [13:24:20]line ПРОДАЖА [13:24:20]line Товар: 48747059 [13:24:20]line Сигареты Winston Legend Blue [13:24:20]line 1.000 * 140.00 [13:24:20]line = 140.00 [13:24:20]line НДС 12% НСП 1% [13:24:20]line > о реализуемом товаре [13:24:20]line ИТОГО: 140.00 [13:24:20]line НСП 1% : 1.24 [13:24:20]line НДС 12% : 14.87 [13:24:20]line Наличными: 140.00 [13:24:20]line Безнал.: 0.00 [13:24:20]line Место: АЗС № 116 "Партнер Нефть" [13:24:20]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:24:20]line СНО: Общий режим [13:24:20]line Чек 38 03.06.2024 13:24 [13:24:20]line Смена: 82 ФФД: 1.0 [13:24:20]line ЗНМ: 0300000233 [13:24:20]line РНМ: 0000000000145775 [13:24:20]line Версия ККМ: v1.0 [13:24:21]line ФМ: 0000000000959360 [13:24:21]line ФД: 4057 [13:24:21]line ФПД: 139486605375907 [13:24:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T132423&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4057&fm=139486605375907&tin=02508201610067®Number=0000000000145775&sum=14000 [13:24:21]line 0 [13:24:21]OFD Sender: Processing packet 4057 [packets to send 2, broken 1] [13:24:21]ProducePacketName [13:24:21]name=ofd_packets/00004057 [13:24:21]OFD Sender: To server: pG, [13:24:21]CommunicateWithHost lk.salyk.kg:30040 [13:24:21]ConnectInit lk.salyk.kg [13:24:21]written 0, free lines is 4095 [13:24:21]Connected sock=10 [13:24:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 65 BF 1D 01 C7 F3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 07 C4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D9 0F 00 00 35 04 06 00 7E DC C1 90 79 A3 70 56 21 A0 2B 15 9C E9 [13:24:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 56 5C 47 00 02 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 D9 0F 00 00 F4 03 04 00 0A 70 5D 66 B6 04 01 00 00 5C 39 52 26 ED 7F 60 B6 [13:24:21]CommunicateWithHost err = 0 [13:24:21]CheckOFDResponse [13:24:21]1017 (14) - 77093643461234 [13:24:21]1041 (16) - 0000000000959360 [13:24:21]1040 (4) - 4057 [13:24:21]1012 (4) - 03.06.2024 07:26 [13:24:21]1206 (1) - 0 [13:24:21]OFD Sender: Remove packet 4057 [13:24:21]ProducePacketName [13:24:21]name=ofd_packets/00004057 [13:24:21]NVStorageDeleteData [13:24:21]Write to MH i2c: 01 00 00 19 0D 26 [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: 01 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: 01 07 00 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: 01 07 00 19 0D 00 00 00 00 00 B5 0C EE [13:24:21]RasterBufferAndPrint [13:24:21]line [13:24:21]line [13:24:21]line [13:24:21]line [13:24:21]line [13:24:21]written 0, free lines is 3256 [13:24:21]MH_Cut [13:24:21]Write to MH i2c: D1 01 00 20 0D 01 FF [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: D1 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: D1 01 00 [13:24:21]MH_I2C_Read... [13:24:21]Read from MH i2c: D1 01 00 20 0D 00 FE [13:24:21]Write to MH i2c: 01 00 00 21 0D 2E [13:24:21]Write i2c OK [13:24:21]MH_I2C_Read... [13:24:21]OFD Sender: No OFD packet to send [13:24:22]*** Cut start [13:24:22]*** Partial cut [13:24:22]*** CUTSNS_PIN = 1 [13:24:22]*** CUTSNS_PIN = 0 [13:24:22]*** Brake cut motor [13:24:23]Read from MH i2c: 01 [13:24:23]MH_I2C_Read... [13:24:23]*** Stop cut motor [13:24:23]*** Cut end [13:24:23]Read from MH i2c: 01 07 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: 01 07 00 21 0D 00 00 00 00 00 FF 0F 43 [13:24:23]process_action close_receipt done [13:24:23]requested_data is exist [13:24:23]produce_requested_data [13:24:23]requested_item fm.sn is exist - process it [13:24:23]wFMCommunicate request_size=4 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 11 00 00 [13:24:23]Write to MH i2c: E2 08 00 22 0D 80 11 00 00 00 00 00 00 A9 [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 17 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 17 00 22 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 FC [13:24:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:24:23]wFMCommunicate OK [13:24:23]requested_item fd.num is exist - process it [13:24:23]SAM_PROTO_GetFieldsCounters [13:24:23]wFMCommunicate request_size=4 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 13 00 00 [13:24:23]Write to MH i2c: E2 08 00 23 0D 80 13 00 00 00 00 00 00 AC [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 62 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 62 00 23 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D9 0F 00 00 0E 04 04 00 52 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 7D [13:24:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 D9 0F 00 00 0E 04 04 00 52 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:24:23]wFMCommunicate OK [13:24:23]SAM_PROTO_GetFieldsCounters done [13:24:23]requested_item shift.num is exist - process it [13:24:23]requested_item shift.opened is exist - process it [13:24:23]req_shift_opened [13:24:23]FM_GetShiftState [13:24:23]SAM_PROTO_GetShiftState [13:24:23]wFMCommunicate request_size=4 [13:24:23]MH_SAM_APDU [13:24:23]CAPDU: 80 13 01 00 [13:24:23]Write to MH i2c: E2 08 00 24 0D 80 13 01 00 00 00 00 00 AE [13:24:23]Write i2c OK [13:24:23]MH_I2C_Read... [13:24:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:23]Read from MH i2c: E2 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 0E 00 [13:24:23]MH_I2C_Read... [13:24:23]Read from MH i2c: E2 0E 00 24 0D 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 3C [13:24:23]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:24:23]wFMCommunicate OK [13:24:23]SAM_PROTO_GetShiftState done [13:24:23]FM_GetShiftState done [13:24:23]req_shift_opened done [13:24:23]requested_item shift.open_date is exist - process it [13:24:23]req_shift_open_date [13:24:23]req_shift_open_date done [13:24:23]produce_requested_data done [13:24:23]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4057,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [13:24:23]process_action_free close_receipt [13:24:23]json_value_free [13:24:23]json_value_free done [13:24:23]process_json_proto returns [13:24:23]Send response to host [13:24:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4057,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [13:24:23]free response buf [13:24:23]execute_script done [13:24:23]execute_script returns [13:24:23]free content buf [13:24:23]Sock 8.Close socket [13:24:23]Sock 8.Thread stoped [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [13:24:42]OFD Sender: No OFD packet to send [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:12]OFD Sender: No OFD packet to send [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [13:25:32]OFD Sender: No OFD packet to send [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:57]OFD Sender: No OFD packet to send [13:26:02]OFD Sender: No OFD packet to send [13:26:07]OFD Sender: No OFD packet to send [13:26:12]OFD Sender: No OFD packet to send [13:26:17]OFD Sender: No OFD packet to send [13:26:22]OFD Sender: No OFD packet to send [13:26:27]OFD Sender: No OFD packet to send [13:26:32]OFD Sender: No OFD packet to send [13:26:37]OFD Sender: No OFD packet to send [13:26:42]OFD Sender: No OFD packet to send [13:26:47]OFD Sender: No OFD packet to send [13:26:52]OFD Sender: No OFD packet to send [13:26:57]OFD Sender: No OFD packet to send [13:27:02]OFD Sender: No OFD packet to send [13:27:07]OFD Sender: No OFD packet to send [13:27:12]OFD Sender: No OFD packet to send [13:27:17]OFD Sender: No OFD packet to send [13:27:22]OFD Sender: No OFD packet to send [13:27:27]OFD Sender: No OFD packet to send [13:27:32]OFD Sender: No OFD packet to send [13:27:37]OFD Sender: No OFD packet to send [13:27:42]OFD Sender: No OFD packet to send [13:27:47]OFD Sender: No OFD packet to send [13:27:49]accept exits with 9 [13:27:49]New connection [13:27:49]New thread 3067227492 created [13:27:49]Thread 3067370852 joined [13:27:49]Waiting for new connection... [13:27:49] Sock 9.Parse request [13:27:49]Sock 9.Check first char [13:27:49]Sock 9.First char is OK [13:27:49]request: POST /json_proto HTTP/1.0 [13:27:49]Method: POST [13:27:49]URL: /json_proto [13:27:49]Method is POST - this is cgi request [13:27:49]url: /json_proto [13:27:49]query_string will be loaded in cgi processing [13:27:49]execute_cgi json_proto POST (null) [13:27:49]execute_cgi path=json_proto method=POST [13:27:49]POST find Content-Length [13:27:49]Host: 172.17.56.68:8080 [13:27:49]Content-Length: 679 [13:27:49]Content-Type: application/json [13:27:49] [13:27:49]POST finish read [13:27:49]Found Content-Length = 679 [13:27:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4312", "tax_sys" : 0, "items" : [ { "code": "4870202522008", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 0,45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:27:49]execute_script... [13:27: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)4312", "tax_sys" : 0, "items" : [ { "code": "4870202522008", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 0,45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:27:49]POST & json_proto [13:27:49]process_json_proto [13:27:49]json parsed OK: [13:27:49]protocol is kg_v1.0 [13:27:49]action value=close_receipt [13:27:49]process_action close_receipt [13:27:49]cmd_close_receipt [13:27:49]MH_GetDate [13:27:49]Write to MH i2c: F0 00 00 25 0D 21 [13:27:49]Write i2c OK [13:27:49]MH_I2C_Read... [13:27:49]Read from MH i2c: F0 [13:27:49]MH_I2C_Read... [13:27:49]Read from MH i2c: F0 09 00 [13:27:49]MH_I2C_Read... [13:27:49]Read from MH i2c: F0 09 00 25 0D 00 D9 C4 5D 66 42 69 5C 66 F7 [13:27:49]GetLastDocTimeStamp 1717421063 [13:27:49]current date 1717421273 [13:27:49]FM_GetShiftState [13:27:49]SAM_PROTO_GetShiftState [13:27:49]wFMCommunicate request_size=4 [13:27:49]MH_SAM_APDU [13:27:49]CAPDU: 80 13 01 00 [13:27:49]Write to MH i2c: E2 08 00 26 0D 80 13 01 00 00 00 00 00 B0 [13:27:49]Write i2c OK [13:27:49]MH_I2C_Read... [13:27:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:27:49]Read from MH i2c: E2 [13:27:49]MH_I2C_Read... [13:27:49]Read from MH i2c: E2 0E 00 [13:27:49]MH_I2C_Read... [13:27:49]Read from MH i2c: E2 0E 00 26 0D 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 3E [13:27:49]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:27:49]wFMCommunicate OK [13:27:49]SAM_PROTO_GetShiftState done [13:27:49]FM_GetShiftState done [13:27:49]opened in 1717372856 [13:27:49]opened+sec_in_day 1717459256 [13:27:49]quantity*price = 7000 [13:27:49]sum+1 = 7001 [13:27:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 39 03.06.2024 13:27 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4058 ФПД: 32102980622449 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T132753&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4058&fm=32102980622449&tin=02508201610067®Number=0000000000145775&sum=7000 0 [13:27:50]StoreToDocumentArchive [13:27:50]shift 82 fd 4058 [13:27:50]save to /storage/0082/doc_00004058 [13:27:50]save last doc name /storage/0082/doc_00004058 to /storage/kkm_last_doc_name [13:27:50]save OK [13:27:50]Clear old archive folders... [13:27:50]ProcessDocumentItem done err = 0, tmpTLVsize=292 [13:27:50]tlvbuf is 007839C0 [13:27:50]SAM_PROTO_ClearQueue [13:27:50]wFMCommunicate request_size=4 [13:27:50]MH_SAM_APDU [13:27:50]CAPDU: 80 09 00 00 [13:27:50]Write to MH i2c: E2 08 00 33 0D 80 09 00 00 00 00 00 00 B2 [13:27:50]Write i2c OK [13:27:50]MH_I2C_Read... [13:27:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:27:50]Read from MH i2c: E2 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 03 00 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 03 00 33 0D 00 90 00 B4 [13:27:50]RAPDU: 90 00 [13:27:50]wFMCommunicate OK [13:27:50]SAM_PROTO_ClearQueue done [13:27:50]KKMCreateOFDPacket [13:27:50]OFDProtocolAddRootSTLVToBuf [13:27:50]FM_MakeSignedData [13:27:50]FM_MakeSignedData [13:27:50]SAM_PROTO_SignData [13:27:50]wFMCommunicate request_size=4 [13:27:50]MH_SAM_APDU [13:27:50]CAPDU: 80 0D 01 02 [13:27:50]Write to MH i2c: E2 08 00 34 0D 80 0D 01 02 00 00 00 00 BA [13:27:50]Write i2c OK [13:27:50]MH_I2C_Read... [13:27:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:27:50]Read from MH i2c: E2 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 03 00 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 03 00 34 0D 00 90 00 B5 [13:27:50]RAPDU: 90 00 [13:27:50]wFMCommunicate OK [13:27:50]wFMCommunicate request_size=255 [13:27:50]MH_SAM_APDU [13:27:50]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 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 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 D9 C4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [13:27:50]Write to MH i2c: E2 02 01 35 0D 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 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 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 D9 C4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 87 [13:27:50]Write i2c OK [13:27:50]MH_I2C_Read... [13:27:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:50]Read from MH i2c: E2 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 03 00 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 03 00 35 0D 00 90 00 B6 [13:27:50]RAPDU: 90 00 [13:27:50]wFMCommunicate OK [13:27:50]wFMCommunicate request_size=51 [13:27:50]MH_SAM_APDU [13:27:50]CAPDU: 80 0D 02 02 2E 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DA 0F 00 00 35 04 06 00 1D 32 8E C1 98 71 [13:27:50]Write to MH i2c: E2 36 00 36 0D 80 0D 02 02 2E 00 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DA 0F 00 00 35 04 06 00 1D 32 8E C1 98 71 00 00 E2 [13:27:50]Write i2c OK [13:27:50]MH_I2C_Read... [13:27:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:50]Read from MH i2c: E2 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 03 00 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 03 00 36 0D 00 90 00 B7 [13:27:50]RAPDU: 90 00 [13:27:50]wFMCommunicate OK [13:27:50]wFMCommunicate request_size=4 [13:27:50]MH_SAM_APDU [13:27:50]CAPDU: 80 0D 03 02 [13:27:50]Write to MH i2c: E2 08 00 37 0D 80 0D 03 02 00 00 00 00 BF [13:27:50]Write i2c OK [13:27:50]MH_I2C_Read... [13:27:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:27:50]Read from MH i2c: E2 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 0B 00 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 0B 00 37 0D 00 7D 2B AD AD DE 19 31 2C 90 00 16 [13:27:50]RAPDU: 7D 2B AD AD DE 19 31 2C 90 00 [13:27:50]wFMCommunicate OK [13:27:50]SAM_PROTO_SignData done [13:27:50]FM_MakeSignedData done [13:27:50]CreateOFDProtocolMessage [13:27:50]wFMCommunicate request_size=4 [13:27:50]MH_SAM_APDU [13:27:50]CAPDU: 80 11 00 00 [13:27:50]Write to MH i2c: E2 08 00 38 0D 80 11 00 00 00 00 00 00 BF [13:27:50]Write i2c OK [13:27:50]MH_I2C_Read... [13:27:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:27:50]Read from MH i2c: E2 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 17 00 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: E2 17 00 38 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 12 [13:27:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:27:50]wFMCommunicate OK [13:27:50]CreateOFDProtocolMessage done [13:27:50]OFDSenderStorePacket 4058 [13:27:50]StoreOFDPacket docnum=4058 [13:27:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 38 01 00 00 56 CB 30 01 04 AB 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 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 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 D9 C4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DA 0F 00 00 35 04 06 00 1D 32 8E C1 98 71 7D 2B AD AD DE 19 31 2C [13:27:50]CheckFolder [13:27:50]dirname=/storage/ofd_packets [13:27:50]CheckFolder done [13:27:50]ProducePacketName [13:27:50]name=ofd_packets/00004058 [13:27:50]NVStorageSaveData ofd_packets/00004058 [13:27:50]File name is /storage/ofd_packets/00004058 [13:27:50]Write 342 bytes [13:27:50]NVStorageSaveData done [13:27:50]OFDSenderStorePacket done [13:27:50]KKMCreateOFDPacket done [13:27:50]NVStorageSaveData kkm_last_timestamp [13:27:50]File name is /storage/kkm_last_timestamp [13:27:50]Write 4 bytes [13:27:50]NVStorageSaveData done [13:27:50]ExternCall_PrintAddStr [13:27:50]wPrintStart [13:27:50]Write to MH i2c: 01 00 00 39 0D 46 [13:27:50]Write i2c OK [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: 01 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: 01 07 00 [13:27:50]MH_I2C_Read... [13:27:50]Read from MH i2c: 01 07 00 39 0D 00 00 00 00 00 FF 0F 5B [13:27:50]RasterBufferAndPrint [13:27:50]line Счет N : (3)4312 [13:27:50]line ИНН: 02508201610067 [13:27:50]line Контрольно-Кассовый Чек [13:27:50]line ПРОДАЖА [13:27:50]line Товар: 4870202522008 [13:27:50]line Напиток Maxi Чай Грушевый 0,45л [13:27:50]line 1.000 * 70.00 [13:27:50]line = 70.00 [13:27:50]line НДС 12% НСП 1% [13:27:50]line > о реализуемом товаре [13:27:50]line ИТОГО: 70.00 [13:27:50]line НСП 1% : 0.62 [13:27:50]line НДС 12% : 7.43 [13:27:50]line Наличными: 70.00 [13:27:50]line Безнал.: 0.00 [13:27:50]line Место: АЗС № 116 "Партнер Нефть" [13:27:50]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:27:50]line СНО: Общий режим [13:27:50]line Чек 39 03.06.2024 13:27 [13:27:50]line Смена: 82 ФФД: 1.0 [13:27:50]line ЗНМ: 0300000233 [13:27:50]line РНМ: 0000000000145775 [13:27:50]line Версия ККМ: v1.0 [13:27:50]line ФМ: 0000000000959360 [13:27:50]line ФД: 4058 [13:27:50]line ФПД: 32102980622449 [13:27:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T132753&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4058&fm=32102980622449&tin=02508201610067®Number=0000000000145775&sum=7000 [13:27:51]line 0 [13:27:51]OFD Sender: Processing packet 4058 [packets to send 2, broken 1] [13:27:51]ProducePacketName [13:27:51]name=ofd_packets/00004058 [13:27:51]OFD Sender: To server: pG, [13:27:51]CommunicateWithHost lk.salyk.kg:30040 [13:27:51]ConnectInit lk.salyk.kg [13:27:51]written 0, free lines is 4095 [13:27:51]Connected sock=10 [13:27:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 38 01 00 00 56 CB 30 01 04 AB 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 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 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 D9 C4 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DA 0F 00 00 35 04 06 00 1D 32 8E C1 98 71 7D 2B AD AD DE 19 31 2C [13:27:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4E 3C 47 00 56 BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DA 0F 00 00 F4 03 04 00 DC 70 5D 66 B6 04 01 00 00 E8 8C AB D8 40 B1 17 B4 [13:27:51]CommunicateWithHost err = 0 [13:27:51]CheckOFDResponse [13:27:51]1017 (14) - 77093643461234 [13:27:51]1041 (16) - 0000000000959360 [13:27:51]1040 (4) - 4058 [13:27:51]1012 (4) - 03.06.2024 07:29 [13:27:51]1206 (1) - 0 [13:27:51]OFD Sender: Remove packet 4058 [13:27:51]ProducePacketName [13:27:51]name=ofd_packets/00004058 [13:27:51]NVStorageDeleteData [13:27:51]Write to MH i2c: 01 00 00 62 0D 6F [13:27:51]Write i2c OK [13:27:51]MH_I2C_Read... [13:27:51]Read from MH i2c: 01 [13:27:51]MH_I2C_Read... [13:27:51]Read from MH i2c: 01 07 00 [13:27:51]MH_I2C_Read... [13:27:51]Read from MH i2c: 01 07 00 62 0D 00 00 00 00 00 C0 0C 42 [13:27:51]RasterBufferAndPrint [13:27:51]line [13:27:51]line [13:27:51]line [13:27:51]line [13:27:51]line [13:27:51]written 0, free lines is 3268 [13:27:51]MH_Cut [13:27:51]Write to MH i2c: D1 01 00 69 0D 01 48 [13:27:51]Write i2c OK [13:27:51]MH_I2C_Read... [13:27:51]Read from MH i2c: D1 [13:27:51]MH_I2C_Read... [13:27:51]Read from MH i2c: D1 01 00 [13:27:51]MH_I2C_Read... [13:27:51]Read from MH i2c: D1 01 00 69 0D 00 47 [13:27:51]Write to MH i2c: 01 00 00 6A 0D 77 [13:27:51]Write i2c OK [13:27:51]MH_I2C_Read... [13:27:52]OFD Sender: No OFD packet to send [13:27:52]*** Cut start [13:27:52]*** Partial cut [13:27:52]*** CUTSNS_PIN = 1 [13:27:52]*** CUTSNS_PIN = 0 [13:27:52]*** Brake cut motor [13:27:53]Read from MH i2c: 01 [13:27:53]MH_I2C_Read... [13:27:53]*** Stop cut motor [13:27:53]*** Cut end [13:27:53]Read from MH i2c: 01 07 00 [13:27:53]MH_I2C_Read... [13:27:53]Read from MH i2c: 01 07 00 6A 0D 00 00 00 00 00 FF 0F 8C [13:27:53]process_action close_receipt done [13:27:53]requested_data is exist [13:27:53]produce_requested_data [13:27:53]requested_item fm.sn is exist - process it [13:27:53]wFMCommunicate request_size=4 [13:27:53]MH_SAM_APDU [13:27:53]CAPDU: 80 11 00 00 [13:27:53]Write to MH i2c: E2 08 00 6B 0D 80 11 00 00 00 00 00 00 F2 [13:27:53]Write i2c OK [13:27:53]MH_I2C_Read... [13:27:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:27:53]Read from MH i2c: E2 [13:27:53]MH_I2C_Read... [13:27:53]Read from MH i2c: E2 17 00 [13:27:53]MH_I2C_Read... [13:27:53]Read from MH i2c: E2 17 00 6B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 45 [13:27:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:27:53]wFMCommunicate OK [13:27:53]requested_item fd.num is exist - process it [13:27:53]SAM_PROTO_GetFieldsCounters [13:27:53]wFMCommunicate request_size=4 [13:27:53]MH_SAM_APDU [13:27:53]CAPDU: 80 13 00 00 [13:27:53]Write to MH i2c: E2 08 00 6C 0D 80 13 00 00 00 00 00 00 F5 [13:27:53]Write i2c OK [13:27:53]MH_I2C_Read... [13:27:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:27:53]Read from MH i2c: E2 [13:27:53]MH_I2C_Read... [13:27:53]Read from MH i2c: E2 62 00 [13:27:53]MH_I2C_Read... [13:27:53]Read from MH i2c: E2 62 00 6C 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DA 0F 00 00 0E 04 04 00 52 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 CA [13:27:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DA 0F 00 00 0E 04 04 00 52 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:27:53]wFMCommunicate OK [13:27:53]SAM_PROTO_GetFieldsCounters done [13:27:53]requested_item shift.num is exist - process it [13:27:53]requested_item shift.opened is exist - process it [13:27:53]req_shift_opened [13:27:53]FM_GetShiftState [13:27:53]SAM_PROTO_GetShiftState [13:27:53]wFMCommunicate request_size=4 [13:27:53]MH_SAM_APDU [13:27:53]CAPDU: 80 13 01 00 [13:27:53]Write to MH i2c: E2 08 00 6D 0D 80 13 01 00 00 00 00 00 F7 [13:27:53]Write i2c OK [13:27:53]MH_I2C_Read... [13:27:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:27:53]Read from MH i2c: E2 [13:27:53]MH_I2C_Read... [13:27:53]Read from MH i2c: E2 0E 00 [13:27:53]MH_I2C_Read... [13:27:53]Read from MH i2c: E2 0E 00 6D 0D 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 85 [13:27:53]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:27:53]wFMCommunicate OK [13:27:53]SAM_PROTO_GetShiftState done [13:27:53]FM_GetShiftState done [13:27:53]req_shift_opened done [13:27:53]requested_item shift.open_date is exist - process it [13:27:53]req_shift_open_date [13:27:53]req_shift_open_date done [13:27:53]produce_requested_data done [13:27:53]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4058,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [13:27:53]process_action_free close_receipt [13:27:53]json_value_free [13:27:53]json_value_free done [13:27:53]process_json_proto returns [13:27:53]Send response to host [13:27:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4058,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [13:27:53]free response buf [13:27:53]execute_script done [13:27:53]execute_script returns [13:27:53]free content buf [13:27:53]Sock 9.Close socket [13:27:53]Sock 9.Thread stoped [13:27:57]OFD Sender: No OFD packet to send [13:28:02]OFD Sender: No OFD packet to send [13:28:07]OFD Sender: No OFD packet to send [13:28:12]OFD Sender: No OFD packet to send [13:28:17]OFD Sender: No OFD packet to send [13:28:22]OFD Sender: No OFD packet to send [13:28:27]OFD Sender: No OFD packet to send [13:28:32]OFD Sender: No OFD packet to send [13:28:37]OFD Sender: No OFD packet to send [13:28:42]OFD Sender: No OFD packet to send [13:28:47]OFD Sender: No OFD packet to send [13:28:52]OFD Sender: No OFD packet to send [13:28:57]OFD Sender: No OFD packet to send [13:29:02]OFD Sender: No OFD packet to send [13:29:07]OFD Sender: No OFD packet to send [13:29:12]OFD Sender: No OFD packet to send [13:29:17]OFD Sender: No OFD packet to send [13:29:22]OFD Sender: No OFD packet to send [13:29:27]OFD Sender: No OFD packet to send [13:29:32]OFD Sender: No OFD packet to send [13:29:37]OFD Sender: No OFD packet to send [13:29:42]OFD Sender: No OFD packet to send [13:29:47]OFD Sender: No OFD packet to send [13:29:52]OFD Sender: No OFD packet to send [13:29:57]OFD Sender: No OFD packet to send [13:30:02]OFD Sender: No OFD packet to send [13:30:07]OFD Sender: No OFD packet to send [13:30:12]OFD Sender: No OFD packet to send [13:30:17]OFD Sender: No OFD packet to send [13:30:22]OFD Sender: No OFD packet to send [13:30:27]OFD Sender: No OFD packet to send [13:30:32]OFD Sender: No OFD packet to send [13:30:37]OFD Sender: No OFD packet to send [13:30:42]OFD Sender: No OFD packet to send [13:30:47]OFD Sender: No OFD packet to send [13:30:52]OFD Sender: No OFD packet to send [13:30:57]OFD Sender: No OFD packet to send [13:31:02]OFD Sender: No OFD packet to send [13:31:07]OFD Sender: No OFD packet to send [13:31:12]OFD Sender: No OFD packet to send [13:31:17]OFD Sender: No OFD packet to send [13:31:22]OFD Sender: No OFD packet to send [13:31:27]OFD Sender: No OFD packet to send [13:31:32]OFD Sender: No OFD packet to send [13:31:37]OFD Sender: No OFD packet to send [13:31:42]OFD Sender: No OFD packet to send [13:31:47]OFD Sender: No OFD packet to send [13:31:52]OFD Sender: No OFD packet to send [13:31:57]OFD Sender: No OFD packet to send [13:32:02]OFD Sender: No OFD packet to send [13:32:07]OFD Sender: No OFD packet to send [13:32:12]OFD Sender: No OFD packet to send [13:32:17]OFD Sender: No OFD packet to send [13:32:22]OFD Sender: No OFD packet to send [13:32:27]OFD Sender: No OFD packet to send [13:32:32]OFD Sender: No OFD packet to send [13:32:37]OFD Sender: No OFD packet to send [13:32:42]OFD Sender: No OFD packet to send [13:32:47]OFD Sender: No OFD packet to send [13:32:52]OFD Sender: No OFD packet to send [13:32:57]OFD Sender: No OFD packet to send [13:33:02]OFD Sender: No OFD packet to send [13:33:07]OFD Sender: No OFD packet to send [13:33:12]OFD Sender: No OFD packet to send [13:33:17]OFD Sender: No OFD packet to send [13:33:22]OFD Sender: No OFD packet to send [13:33:27]OFD Sender: No OFD packet to send [13:33:32]OFD Sender: No OFD packet to send [13:33:37]OFD Sender: No OFD packet to send [13:33:42]OFD Sender: No OFD packet to send [13:33:47]OFD Sender: No OFD packet to send [13:33:52]OFD Sender: No OFD packet to send [13:33:57]OFD Sender: No OFD packet to send [13:34:02]OFD Sender: No OFD packet to send [13:34:07]OFD Sender: No OFD packet to send [13:34:12]OFD Sender: No OFD packet to send [13:34:17]OFD Sender: No OFD packet to send [13:34:22]OFD Sender: No OFD packet to send [13:34:27]OFD Sender: No OFD packet to send [13:34:32]OFD Sender: No OFD packet to send [13:34:37]OFD Sender: No OFD packet to send [13:34:42]OFD Sender: No OFD packet to send [13:34:47]OFD Sender: No OFD packet to send [13:34:52]OFD Sender: No OFD packet to send [13:34:57]OFD Sender: No OFD packet to send [13:35:02]OFD Sender: No OFD packet to send [13:35:07]OFD Sender: No OFD packet to send [13:35:12]OFD Sender: No OFD packet to send [13:35:17]OFD Sender: No OFD packet to send [13:35:22]OFD Sender: No OFD packet to send [13:35:27]OFD Sender: No OFD packet to send [13:35:32]OFD Sender: No OFD packet to send [13:35:37]OFD Sender: No OFD packet to send [13:35:42]OFD Sender: No OFD packet to send [13:35:47]OFD Sender: No OFD packet to send [13:35:52]OFD Sender: No OFD packet to send [13:35:57]OFD Sender: No OFD packet to send [13:36:02]OFD Sender: No OFD packet to send [13:36:07]OFD Sender: No OFD packet to send [13:36:12]OFD Sender: No OFD packet to send [13:36:17]OFD Sender: No OFD packet to send [13:36:22]OFD Sender: No OFD packet to send [13:36:27]OFD Sender: No OFD packet to send [13:36:32]OFD Sender: No OFD packet to send [13:36:37]OFD Sender: No OFD packet to send [13:36:42]OFD Sender: No OFD packet to send [13:36:47]OFD Sender: No OFD packet to send [13:36:52]OFD Sender: No OFD packet to send [13:36:57]OFD Sender: No OFD packet to send [13:37:02]OFD Sender: No OFD packet to send [13:37:07]OFD Sender: No OFD packet to send [13:37:12]OFD Sender: No OFD packet to send [13:37:17]OFD Sender: No OFD packet to send [13:37:22]OFD Sender: No OFD packet to send [13:37:27]OFD Sender: No OFD packet to send [13:37:32]OFD Sender: No OFD packet to send [13:37:37]OFD Sender: No OFD packet to send [13:37:42]OFD Sender: No OFD packet to send [13:37:47]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:23]accept exits with 8 [13:44:23]New connection [13:44:23]New thread 3067370852 created [13:44:23]Thread 3067227492 joined [13:44:23]Waiting for new connection... [13:44:23] Sock 8.Parse request [13:44:23]Sock 8.Check first char [13:44:23]Sock 8.First char is OK [13:44:23]request: POST /json_proto HTTP/1.0 [13:44:23]Method: POST [13:44:23]URL: /json_proto [13:44:23]Method is POST - this is cgi request [13:44:23]url: /json_proto [13:44:23]query_string will be loaded in cgi processing [13:44:23]execute_cgi json_proto POST (null) [13:44:23]execute_cgi path=json_proto method=POST [13:44:23]POST find Content-Length [13:44:23]Host: 172.17.56.68:8080 [13:44:23]Content-Length: 1391 [13:44:23]Content-Type: application/json [13:44:23] [13:44:23]POST finish read [13:44:23]Found Content-Length = 1391 [13:44:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4313", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 162.00, "quantity" : 1.000, "sum" : 162.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 440.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:44:23]execute_script... [13:44: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)4313", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 162.00, "quantity" : 1.000, "sum" : 162.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 440.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:44:23]POST & json_proto [13:44:23]process_json_proto [13:44:23]json parsed OK: [13:44:23]protocol is kg_v1.0 [13:44:23]action value=close_receipt [13:44:23]process_action close_receipt [13:44:23]cmd_close_receipt [13:44:23]MH_GetDate [13:44:23]Write to MH i2c: F0 00 00 6E 0D 6A [13:44:23]Write i2c OK [13:44:23]MH_I2C_Read... [13:44:23]Read from MH i2c: F0 [13:44:23]MH_I2C_Read... [13:44:23]Read from MH i2c: F0 09 00 [13:44:23]MH_I2C_Read... [13:44:23]Read from MH i2c: F0 09 00 6E 0D 00 BB C8 5D 66 42 69 5C 66 26 [13:44:23]GetLastDocTimeStamp 1717421273 [13:44:23]current date 1717422267 [13:44:23]FM_GetShiftState [13:44:23]SAM_PROTO_GetShiftState [13:44:23]wFMCommunicate request_size=4 [13:44:23]MH_SAM_APDU [13:44:23]CAPDU: 80 13 01 00 [13:44:23]Write to MH i2c: E2 08 00 6F 0D 80 13 01 00 00 00 00 00 F9 [13:44:23]Write i2c OK [13:44:23]MH_I2C_Read... [13:44:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:44:23]Read from MH i2c: E2 [13:44:23]MH_I2C_Read... [13:44:23]Read from MH i2c: E2 0E 00 [13:44:23]MH_I2C_Read... [13:44:23]Read from MH i2c: E2 0E 00 6F 0D 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 87 [13:44:23]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:44:23]wFMCommunicate OK [13:44:23]SAM_PROTO_GetShiftState done [13:44:23]FM_GetShiftState done [13:44:23]opened in 1717372856 [13:44:23]opened+sec_in_day 1717459256 [13:44:23]quantity*price = 11000 [13:44:23]sum+1 = 11001 [13:44:23]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480517 Пиво Живое 1л ПЭТ 1.000 * 162.00 = 162.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 440.00 НСП 1% : 3.89 НДС 12% : 46.72 Наличными: 440.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 40 03.06.2024 13:44 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4059 ФПД: 70030921481524 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T134427&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4059&fm=70030921481524&tin=02508201610067®Number=0000000000145775&sum=44000 0 [13:44:25]StoreToDocumentArchive [13:44:25]shift 82 fd 4059 [13:44:25]save to /storage/0082/doc_00004059 [13:44:25]save last doc name /storage/0082/doc_00004059 to /storage/kkm_last_doc_name [13:44:25]save OK [13:44:25]Clear old archive folders... [13:44:25]ProcessDocumentItem done err = 0, tmpTLVsize=577 [13:44:25]tlvbuf is 007A42B0 [13:44:25]SAM_PROTO_ClearQueue [13:44:25]wFMCommunicate request_size=4 [13:44:25]MH_SAM_APDU [13:44:25]CAPDU: 80 09 00 00 [13:44:25]Write to MH i2c: E2 08 00 7C 0D 80 09 00 00 00 00 00 00 FB [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:44:25]Read from MH i2c: E2 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 7C 0D 00 90 00 FD [13:44:25]RAPDU: 90 00 [13:44:25]wFMCommunicate OK [13:44:25]SAM_PROTO_ClearQueue done [13:44:25]KKMCreateOFDPacket [13:44:25]OFDProtocolAddRootSTLVToBuf [13:44:25]FM_MakeSignedData [13:44:25]FM_MakeSignedData [13:44:25]SAM_PROTO_SignData [13:44:25]wFMCommunicate request_size=4 [13:44:25]MH_SAM_APDU [13:44:25]CAPDU: 80 0D 01 02 [13:44:25]Write to MH i2c: E2 08 00 7D 0D 80 0D 01 02 00 00 00 00 03 [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:44:25]Read from MH i2c: E2 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 7D 0D 00 90 00 FE [13:44:25]RAPDU: 90 00 [13:44:25]wFMCommunicate OK [13:44:25]wFMCommunicate request_size=255 [13:44:25]MH_SAM_APDU [13:44:25]CAPDU: 80 0D 02 02 FA 03 00 41 02 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 [13:44:25]Write to MH i2c: E2 02 01 7E 0D 80 0D 02 02 FA 00 03 00 41 02 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 00 00 58 [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:44:25]Read from MH i2c: E2 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 7E 0D 00 90 00 FF [13:44:25]RAPDU: 90 00 [13:44:25]wFMCommunicate OK [13:44:25]wFMCommunicate request_size=255 [13:44:25]MH_SAM_APDU [13:44:25]CAPDU: 80 0D 02 02 FA 20 31 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 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 [13:44:25]Write to MH i2c: E2 02 01 7F 0D 80 0D 02 02 FA 00 20 31 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 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 58 [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:44:25]Read from MH i2c: E2 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 7F 0D 00 90 00 00 [13:44:25]RAPDU: 90 00 [13:44:25]wFMCommunicate OK [13:44:25]wFMCommunicate request_size=86 [13:44:25]MH_SAM_APDU [13:44:25]CAPDU: 80 0D 02 02 51 00 00 F4 03 04 00 BB C8 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DB 0F 00 00 35 04 06 00 3F B1 58 32 BD 34 [13:44:25]Write to MH i2c: E2 59 00 80 0D 80 0D 02 02 51 00 00 00 F4 03 04 00 BB C8 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DB 0F 00 00 35 04 06 00 3F B1 58 32 BD 34 00 00 40 [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:44:25]Read from MH i2c: E2 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 03 00 80 0D 00 90 00 01 [13:44:25]RAPDU: 90 00 [13:44:25]wFMCommunicate OK [13:44:25]wFMCommunicate request_size=4 [13:44:25]MH_SAM_APDU [13:44:25]CAPDU: 80 0D 03 02 [13:44:25]Write to MH i2c: E2 08 00 81 0D 80 0D 03 02 00 00 00 00 09 [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:44:25]Read from MH i2c: E2 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 0B 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 0B 00 81 0D 00 12 C2 8D 60 D9 00 3A DD 90 00 BB [13:44:25]RAPDU: 12 C2 8D 60 D9 00 3A DD 90 00 [13:44:25]wFMCommunicate OK [13:44:25]SAM_PROTO_SignData done [13:44:25]FM_MakeSignedData done [13:44:25]CreateOFDProtocolMessage [13:44:25]wFMCommunicate request_size=4 [13:44:25]MH_SAM_APDU [13:44:25]CAPDU: 80 11 00 00 [13:44:25]Write to MH i2c: E2 08 00 82 0D 80 11 00 00 00 00 00 00 09 [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:44:25]Read from MH i2c: E2 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 17 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: E2 17 00 82 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5C [13:44:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:44:25]wFMCommunicate OK [13:44:25]CreateOFDProtocolMessage done [13:44:25]OFDSenderStorePacket 4059 [13:44:25]StoreOFDPacket docnum=4059 [13:44:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 55 02 00 00 1C 10 4D 02 82 43 5A 03 01 00 03 00 41 02 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 BB C8 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DB 0F 00 00 35 04 06 00 3F B1 58 32 BD 34 12 C2 8D 60 D9 00 3A DD [13:44:25]CheckFolder [13:44:25]dirname=/storage/ofd_packets [13:44:25]CheckFolder done [13:44:25]ProducePacketName [13:44:25]name=ofd_packets/00004059 [13:44:25]NVStorageSaveData ofd_packets/00004059 [13:44:25]File name is /storage/ofd_packets/00004059 [13:44:25]Write 627 bytes [13:44:25]NVStorageSaveData done [13:44:25]OFDSenderStorePacket done [13:44:25]KKMCreateOFDPacket done [13:44:25]NVStorageSaveData kkm_last_timestamp [13:44:25]File name is /storage/kkm_last_timestamp [13:44:25]Write 4 bytes [13:44:25]NVStorageSaveData done [13:44:25]ExternCall_PrintAddStr [13:44:25]wPrintStart [13:44:25]Write to MH i2c: 01 00 00 83 0D 90 [13:44:25]OFD Sender: Processing packet 4059 [packets to send 2, broken 1] [13:44:25]ProducePacketName [13:44:25]name=ofd_packets/00004059 [13:44:25]OFD Sender: To server: pG, [13:44:25]CommunicateWithHost lk.salyk.kg:30040 [13:44:25]ConnectInit lk.salyk.kg [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: 01 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: 01 07 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: 01 07 00 83 0D 00 00 00 00 00 FF 0F A5 [13:44:25]RasterBufferAndPrint [13:44:25]line Счет N : (3)4313 [13:44:25]line ИНН: 02508201610067 [13:44:25]line Контрольно-Кассовый Чек [13:44:25]line ПРОДАЖА [13:44:25]line Товар: 4870001570071 [13:44:25]line Напиток Pepsi 1л [13:44:25]line 1.000 * 110.00 [13:44:25]line = 110.00 [13:44:25]line НДС 12% НСП 1% [13:44:25]line > о реализуемом товаре [13:44:26]line Товар: 4700000160204 [13:44:26]line Вода Легенда 1,5л [13:44:26]line 1.000 * 55.00 [13:44:26]line = 55.00 [13:44:26]line НДС 12% НСП 1% [13:44:26]line > о реализуемом товаре [13:44:26]line Товар: 4700000480517 [13:44:26]line Пиво Живое 1л ПЭТ [13:44:26]line 1.000 * 162.00 [13:44:26]line = 162.00 [13:44:26]line НДС 12% НСП 1% [13:44:26]line > о реализуемом товаре [13:44:26]line Товар: 5449000054227 [13:44:26]line Напиток Кока-Кола 1л [13:44:26]line 1.000 * 113.00 [13:44:26]line = 113.00 [13:44:26]line НДС 12% НСП 1% [13:44:26]line > о реализуемом товаре [13:44:26]line ИТОГО: 440.00 [13:44:26]line НСП 1% : 3.89 [13:44:26]line НДС 12% : 46.72 [13:44:26]line Наличными: 440.00 [13:44:26]line Безнал.: 0.00 [13:44:26]line Место: АЗС № 116 "Партнер Нефть" [13:44:26]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:44:26]line СНО: Общий режим [13:44:26]line Чек 40 03.06.2024 13:44 [13:44:26]line Смена: 82 ФФД: 1.0 [13:44:26]line ЗНМ: 0300000233 [13:44:26]line РНМ: 0000000000145775 [13:44:26]line Версия ККМ: v1.0 [13:44:26]line ФМ: 0000000000959360 [13:44:26]line ФД: 4059 [13:44:26]line ФПД: 70030921481524 [13:44:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T134427&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4059&fm=70030921481524&tin=02508201610067®Number=0000000000145775&sum=44000 [13:44:26]line 0 [13:44:26]Connected sock=10 [13:44:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 55 02 00 00 1C 10 4D 02 82 43 5A 03 01 00 03 00 41 02 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 BB C8 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DB 0F 00 00 35 04 06 00 3F B1 58 32 BD 34 12 C2 8D 60 D9 00 3A DD [13:44:26]written 0, free lines is 4095 [13:44:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 71 47 47 00 42 E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DB 0F 00 00 F4 03 04 00 BF 74 5D 66 B6 04 01 00 00 EB 1E C9 F8 40 00 F2 D0 [13:44:26]CommunicateWithHost err = 0 [13:44:26]CheckOFDResponse [13:44:26]1017 (14) - 77093643461234 [13:44:26]1041 (16) - 0000000000959360 [13:44:26]1040 (4) - 4059 [13:44:26]1012 (4) - 03.06.2024 07:46 [13:44:26]1206 (1) - 0 [13:44:26]OFD Sender: Remove packet 4059 [13:44:26]ProducePacketName [13:44:26]name=ofd_packets/00004059 [13:44:26]NVStorageDeleteData [13:44:26]Write to MH i2c: 01 00 00 BD 0D CA [13:44:26]Write i2c OK [13:44:26]MH_I2C_Read... [13:44:26]Read from MH i2c: 01 [13:44:26]MH_I2C_Read... [13:44:26]Read from MH i2c: 01 07 00 [13:44:26]MH_I2C_Read... [13:44:26]Read from MH i2c: 01 07 00 BD 0D 00 00 00 00 00 7F 0B 5B [13:44:26]RasterBufferAndPrint [13:44:26]line [13:44:26]line [13:44:26]line [13:44:26]line [13:44:26]line [13:44:26]written 0, free lines is 2948 [13:44:26]MH_Cut [13:44:26]Write to MH i2c: D1 01 00 C4 0D 01 A3 [13:44:26]Write i2c OK [13:44:26]MH_I2C_Read... [13:44:26]Read from MH i2c: D1 [13:44:26]MH_I2C_Read... [13:44:26]Read from MH i2c: D1 01 00 [13:44:26]MH_I2C_Read... [13:44:26]Read from MH i2c: D1 01 00 C4 0D 00 A2 [13:44:26]Write to MH i2c: 01 00 00 C5 0D D2 [13:44:26]Write i2c OK [13:44:26]MH_I2C_Read... [13:44:27]OFD Sender: No OFD packet to send [13:44:28]*** Cut start [13:44:28]*** Partial cut [13:44:28]*** CUTSNS_PIN = 1 [13:44:28]*** CUTSNS_PIN = 0 [13:44:28]*** Brake cut motor [13:44:28]Read from MH i2c: 01 [13:44:28]MH_I2C_Read... [13:44:28]*** Stop cut motor [13:44:28]*** Cut end [13:44:28]Read from MH i2c: 01 07 00 [13:44:28]MH_I2C_Read... [13:44:28]Read from MH i2c: 01 07 00 C5 0D 00 00 00 00 00 FF 0F E7 [13:44:28]process_action close_receipt done [13:44:28]requested_data is exist [13:44:28]produce_requested_data [13:44:28]requested_item fm.sn is exist - process it [13:44:28]wFMCommunicate request_size=4 [13:44:28]MH_SAM_APDU [13:44:28]CAPDU: 80 11 00 00 [13:44:28]Write to MH i2c: E2 08 00 C6 0D 80 11 00 00 00 00 00 00 4D [13:44:28]Write i2c OK [13:44:28]MH_I2C_Read... [13:44:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:44:28]Read from MH i2c: E2 [13:44:28]MH_I2C_Read... [13:44:28]Read from MH i2c: E2 17 00 [13:44:28]MH_I2C_Read... [13:44:28]Read from MH i2c: E2 17 00 C6 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A0 [13:44:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:44:28]wFMCommunicate OK [13:44:28]requested_item fd.num is exist - process it [13:44:28]SAM_PROTO_GetFieldsCounters [13:44:28]wFMCommunicate request_size=4 [13:44:28]MH_SAM_APDU [13:44:28]CAPDU: 80 13 00 00 [13:44:28]Write to MH i2c: E2 08 00 C7 0D 80 13 00 00 00 00 00 00 50 [13:44:28]Write i2c OK [13:44:28]MH_I2C_Read... [13:44:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:44:28]Read from MH i2c: E2 [13:44:28]MH_I2C_Read... [13:44:28]Read from MH i2c: E2 62 00 [13:44:28]MH_I2C_Read... [13:44:28]Read from MH i2c: E2 62 00 C7 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DB 0F 00 00 0E 04 04 00 52 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 29 [13:44:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DB 0F 00 00 0E 04 04 00 52 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:44:28]wFMCommunicate OK [13:44:28]SAM_PROTO_GetFieldsCounters done [13:44:28]requested_item shift.num is exist - process it [13:44:28]requested_item shift.opened is exist - process it [13:44:28]req_shift_opened [13:44:28]FM_GetShiftState [13:44:28]SAM_PROTO_GetShiftState [13:44:28]wFMCommunicate request_size=4 [13:44:28]MH_SAM_APDU [13:44:28]CAPDU: 80 13 01 00 [13:44:28]Write to MH i2c: E2 08 00 C8 0D 80 13 01 00 00 00 00 00 52 [13:44:28]Write i2c OK [13:44:28]MH_I2C_Read... [13:44:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:44:29]Read from MH i2c: E2 [13:44:29]MH_I2C_Read... [13:44:29]Read from MH i2c: E2 0E 00 [13:44:29]MH_I2C_Read... [13:44:29]Read from MH i2c: E2 0E 00 C8 0D 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 E0 [13:44:29]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:44:29]wFMCommunicate OK [13:44:29]SAM_PROTO_GetShiftState done [13:44:29]FM_GetShiftState done [13:44:29]req_shift_opened done [13:44:29]requested_item shift.open_date is exist - process it [13:44:29]req_shift_open_date [13:44:29]req_shift_open_date done [13:44:29]produce_requested_data done [13:44:29]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4059,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [13:44:29]process_action_free close_receipt [13:44:29]json_value_free [13:44:29]json_value_free done [13:44:29]process_json_proto returns [13:44:29]Send response to host [13:44:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4059,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [13:44:29]free response buf [13:44:29]execute_script done [13:44:29]execute_script returns [13:44:29]free content buf [13:44:29]Sock 8.Close socket [13:44:29]Sock 8.Thread stoped [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:13]accept exits with 9 [13:47:13]New connection [13:47:13]New thread 3067227492 created [13:47:13]Thread 3067370852 joined [13:47:13]Waiting for new connection... [13:47:13] Sock 9.Parse request [13:47:13]Sock 9.Check first char [13:47:13]Sock 9.First char is OK [13:47:13]request: POST /json_proto HTTP/1.0 [13:47:13]Method: POST [13:47:13]URL: /json_proto [13:47:13]Method is POST - this is cgi request [13:47:13]url: /json_proto [13:47:13]query_string will be loaded in cgi processing [13:47:13]execute_cgi json_proto POST (null) [13:47:13]execute_cgi path=json_proto method=POST [13:47:13]POST find Content-Length [13:47:13]Host: 172.17.56.68:8080 [13:47:13]Content-Length: 655 [13:47:13]Content-Type: application/json [13:47:13] [13:47:13]POST finish read [13:47:13]Found Content-Length = 655 [13:47:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4314", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:47:13]execute_script... [13:47: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)4314", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:47:13]POST & json_proto [13:47:13]process_json_proto [13:47:13]json parsed OK: [13:47:13]protocol is kg_v1.0 [13:47:13]action value=close_receipt [13:47:13]process_action close_receipt [13:47:13]cmd_close_receipt [13:47:13]MH_GetDate [13:47:13]Write to MH i2c: F0 00 00 C9 0D C5 [13:47:13]Write i2c OK [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: F0 [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: F0 09 00 [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: F0 09 00 C9 0D 00 64 C9 5D 66 42 69 5C 66 2B [13:47:13]GetLastDocTimeStamp 1717422267 [13:47:13]current date 1717422436 [13:47:13]FM_GetShiftState [13:47:13]SAM_PROTO_GetShiftState [13:47:13]wFMCommunicate request_size=4 [13:47:13]MH_SAM_APDU [13:47:13]CAPDU: 80 13 01 00 [13:47:13]Write to MH i2c: E2 08 00 CA 0D 80 13 01 00 00 00 00 00 54 [13:47:13]Write i2c OK [13:47:13]MH_I2C_Read... [13:47:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:13]Read from MH i2c: E2 [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: E2 0E 00 [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: E2 0E 00 CA 0D 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 E2 [13:47:13]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:47:13]wFMCommunicate OK [13:47:13]SAM_PROTO_GetShiftState done [13:47:13]FM_GetShiftState done [13:47:13]opened in 1717372856 [13:47:13]opened+sec_in_day 1717459256 [13:47:13]quantity*price = 8500 [13:47:13]sum+1 = 8501 [13:47:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 41 03.06.2024 13:47 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4060 ФПД: 16186710957520 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T134717&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4060&fm=16186710957520&tin=02508201610067®Number=0000000000145775&sum=8500 0 [13:47:14]StoreToDocumentArchive [13:47:14]shift 82 fd 4060 [13:47:14]save to /storage/0082/doc_00004060 [13:47:14]save last doc name /storage/0082/doc_00004060 to /storage/kkm_last_doc_name [13:47:14]save OK [13:47:14]Clear old archive folders... [13:47:14]ProcessDocumentItem done err = 0, tmpTLVsize=288 [13:47:14]tlvbuf is 00782820 [13:47:14]SAM_PROTO_ClearQueue [13:47:14]wFMCommunicate request_size=4 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 09 00 00 [13:47:14]Write to MH i2c: E2 08 00 D7 0D 80 09 00 00 00 00 00 00 56 [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 D7 0D 00 90 00 58 [13:47:14]RAPDU: 90 00 [13:47:14]wFMCommunicate OK [13:47:14]SAM_PROTO_ClearQueue done [13:47:14]KKMCreateOFDPacket [13:47:14]OFDProtocolAddRootSTLVToBuf [13:47:14]FM_MakeSignedData [13:47:14]FM_MakeSignedData [13:47:14]SAM_PROTO_SignData [13:47:14]wFMCommunicate request_size=4 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 0D 01 02 [13:47:14]Write to MH i2c: E2 08 00 D8 0D 80 0D 01 02 00 00 00 00 5E [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 D8 0D 00 90 00 59 [13:47:14]RAPDU: 90 00 [13:47:14]wFMCommunicate OK [13:47:14]wFMCommunicate request_size=255 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 65 C9 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 [13:47:14]Write to MH i2c: E2 02 01 D9 0D 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 65 C9 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 00 00 8E [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 D9 0D 00 90 00 5A [13:47:14]RAPDU: 90 00 [13:47:14]wFMCommunicate OK [13:47:14]wFMCommunicate request_size=47 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 0D 02 02 2A 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DC 0F 00 00 35 04 06 00 0E B8 C3 28 1D D0 [13:47:14]Write to MH i2c: E2 32 00 DA 0D 80 0D 02 02 2A 00 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DC 0F 00 00 35 04 06 00 0E B8 C3 28 1D D0 00 00 B2 [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 DA 0D 00 90 00 5B [13:47:14]RAPDU: 90 00 [13:47:14]wFMCommunicate OK [13:47:14]wFMCommunicate request_size=4 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 0D 03 02 [13:47:14]Write to MH i2c: E2 08 00 DB 0D 80 0D 03 02 00 00 00 00 63 [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 0B 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 0B 00 DB 0D 00 80 1E D6 CC 0F 61 53 C9 90 00 30 [13:47:14]RAPDU: 80 1E D6 CC 0F 61 53 C9 90 00 [13:47:14]wFMCommunicate OK [13:47:14]SAM_PROTO_SignData done [13:47:14]FM_MakeSignedData done [13:47:14]CreateOFDProtocolMessage [13:47:14]wFMCommunicate request_size=4 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 11 00 00 [13:47:14]Write to MH i2c: E2 08 00 DC 0D 80 11 00 00 00 00 00 00 63 [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 17 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 17 00 DC 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B6 [13:47:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:47:14]wFMCommunicate OK [13:47:14]CreateOFDProtocolMessage done [13:47:14]OFDSenderStorePacket 4060 [13:47:14]StoreOFDPacket docnum=4060 [13:47:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 34 01 00 00 DB 0E 2C 01 C7 E3 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 65 C9 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DC 0F 00 00 35 04 06 00 0E B8 C3 28 1D D0 80 1E D6 CC 0F 61 53 C9 [13:47:14]CheckFolder [13:47:14]dirname=/storage/ofd_packets [13:47:14]CheckFolder done [13:47:14]ProducePacketName [13:47:14]name=ofd_packets/00004060 [13:47:14]NVStorageSaveData ofd_packets/00004060 [13:47:14]File name is /storage/ofd_packets/00004060 [13:47:14]Write 338 bytes [13:47:14]NVStorageSaveData done [13:47:14]OFDSenderStorePacket done [13:47:14]KKMCreateOFDPacket done [13:47:14]NVStorageSaveData kkm_last_timestamp [13:47:14]File name is /storage/kkm_last_timestamp [13:47:14]Write 4 bytes [13:47:14]NVStorageSaveData done [13:47:14]ExternCall_PrintAddStr [13:47:14]wPrintStart [13:47:14]Write to MH i2c: 01 00 00 DD 0D EA [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: 01 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: 01 07 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: 01 07 00 DD 0D 00 00 00 00 00 FF 0F FF [13:47:14]RasterBufferAndPrint [13:47:14]line Счет N : (3)4314 [13:47:14]line ИНН: 02508201610067 [13:47:14]line Контрольно-Кассовый Чек [13:47:14]line ПРОДАЖА [13:47:14]line Товар: 4700000481453 [13:47:14]line Напиток энерг Nitro Max 0,45 ж/б [13:47:14]line 1.000 * 85.00 [13:47:14]line = 85.00 [13:47:14]line НДС 12% НСП 1% [13:47:14]line > о реализуемом товаре [13:47:14]line ИТОГО: 85.00 [13:47:14]line НСП 1% : 0.75 [13:47:14]line НДС 12% : 9.03 [13:47:14]line Наличными: 85.00 [13:47:14]line Безнал.: 0.00 [13:47:14]line Место: АЗС № 116 "Партнер Нефть" [13:47:14]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:47:14]line СНО: Общий режим [13:47:14]line Чек 41 03.06.2024 13:47 [13:47:14]line Смена: 82 ФФД: 1.0 [13:47:14]line ЗНМ: 0300000233 [13:47:14]line РНМ: 0000000000145775 [13:47:14]line Версия ККМ: v1.0 [13:47:14]line ФМ: 0000000000959360 [13:47:15]line ФД: 4060 [13:47:15]line ФПД: 16186710957520 [13:47:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T134717&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4060&fm=16186710957520&tin=02508201610067®Number=0000000000145775&sum=8500 [13:47:15]line 0 [13:47:15]OFD Sender: Processing packet 4060 [packets to send 2, broken 1] [13:47:15]ProducePacketName [13:47:15]name=ofd_packets/00004060 [13:47:15]OFD Sender: To server: pG, [13:47:15]CommunicateWithHost lk.salyk.kg:30040 [13:47:15]ConnectInit lk.salyk.kg [13:47:15]written 0, free lines is 4095 [13:47:15]Connected sock=10 [13:47:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 34 01 00 00 DB 0E 2C 01 C7 E3 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 65 C9 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DC 0F 00 00 35 04 06 00 0E B8 C3 28 1D D0 80 1E D6 CC 0F 61 53 C9 [13:47:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E6 91 47 00 8D 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DC 0F 00 00 F4 03 04 00 68 75 5D 66 B6 04 01 00 00 DE 6B 05 D6 AE 5B 81 35 [13:47:15]CommunicateWithHost err = 0 [13:47:15]CheckOFDResponse [13:47:15]1017 (14) - 77093643461234 [13:47:15]1041 (16) - 0000000000959360 [13:47:15]1040 (4) - 4060 [13:47:15]1012 (4) - 03.06.2024 07:48 [13:47:15]1206 (1) - 0 [13:47:15]OFD Sender: Remove packet 4060 [13:47:15]ProducePacketName [13:47:15]name=ofd_packets/00004060 [13:47:15]NVStorageDeleteData [13:47:15]Write to MH i2c: 01 00 00 06 0E 14 [13:47:15]Write i2c OK [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: 01 [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: 01 07 00 [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: 01 07 00 06 0E 00 00 00 00 00 AE 0C D5 [13:47:15]RasterBufferAndPrint [13:47:15]line [13:47:15]line [13:47:15]line [13:47:15]line [13:47:15]line [13:47:15]written 0, free lines is 3250 [13:47:15]MH_Cut [13:47:15]Write to MH i2c: D1 01 00 0D 0E 01 ED [13:47:15]Write i2c OK [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: D1 [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: D1 01 00 [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: D1 01 00 0D 0E 00 EC [13:47:15]Write to MH i2c: 01 00 00 0E 0E 1C [13:47:15]Write i2c OK [13:47:15]MH_I2C_Read... [13:47:15]OFD Sender: No OFD packet to send [13:47:16]*** Cut start [13:47:16]*** Partial cut [13:47:16]*** CUTSNS_PIN = 1 [13:47:16]*** CUTSNS_PIN = 0 [13:47:16]*** Brake cut motor [13:47:17]Read from MH i2c: 01 [13:47:17]MH_I2C_Read... [13:47:17]*** Stop cut motor [13:47:17]*** Cut end [13:47:17]Read from MH i2c: 01 07 00 [13:47:17]MH_I2C_Read... [13:47:17]Read from MH i2c: 01 07 00 0E 0E 00 00 00 00 00 FF 0F 31 [13:47:17]process_action close_receipt done [13:47:17]requested_data is exist [13:47:17]produce_requested_data [13:47:17]requested_item fm.sn is exist - process it [13:47:17]wFMCommunicate request_size=4 [13:47:17]MH_SAM_APDU [13:47:17]CAPDU: 80 11 00 00 [13:47:17]Write to MH i2c: E2 08 00 0F 0E 80 11 00 00 00 00 00 00 97 [13:47:17]Write i2c OK [13:47:17]MH_I2C_Read... [13:47:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:17]Read from MH i2c: E2 [13:47:17]MH_I2C_Read... [13:47:17]Read from MH i2c: E2 17 00 [13:47:17]MH_I2C_Read... [13:47:17]Read from MH i2c: E2 17 00 0F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 EA [13:47:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:47:17]wFMCommunicate OK [13:47:17]requested_item fd.num is exist - process it [13:47:17]SAM_PROTO_GetFieldsCounters [13:47:17]wFMCommunicate request_size=4 [13:47:17]MH_SAM_APDU [13:47:17]CAPDU: 80 13 00 00 [13:47:17]Write to MH i2c: E2 08 00 10 0E 80 13 00 00 00 00 00 00 9A [13:47:17]Write i2c OK [13:47:17]MH_I2C_Read... [13:47:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:47:17]Read from MH i2c: E2 [13:47:17]MH_I2C_Read... [13:47:17]Read from MH i2c: E2 62 00 [13:47:17]MH_I2C_Read... [13:47:17]Read from MH i2c: E2 62 00 10 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DC 0F 00 00 0E 04 04 00 52 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 77 [13:47:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DC 0F 00 00 0E 04 04 00 52 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 [13:47:17]wFMCommunicate OK [13:47:17]SAM_PROTO_GetFieldsCounters done [13:47:17]requested_item shift.num is exist - process it [13:47:17]requested_item shift.opened is exist - process it [13:47:17]req_shift_opened [13:47:17]FM_GetShiftState [13:47:17]SAM_PROTO_GetShiftState [13:47:17]wFMCommunicate request_size=4 [13:47:17]MH_SAM_APDU [13:47:17]CAPDU: 80 13 01 00 [13:47:17]Write to MH i2c: E2 08 00 11 0E 80 13 01 00 00 00 00 00 9C [13:47:17]Write i2c OK [13:47:17]MH_I2C_Read... [13:47:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:17]Read from MH i2c: E2 [13:47:17]MH_I2C_Read... [13:47:17]Read from MH i2c: E2 0E 00 [13:47:17]MH_I2C_Read... [13:47:17]Read from MH i2c: E2 0E 00 11 0E 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 2A [13:47:17]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [13:47:17]wFMCommunicate OK [13:47:17]SAM_PROTO_GetShiftState done [13:47:17]FM_GetShiftState done [13:47:17]req_shift_opened done [13:47:17]requested_item shift.open_date is exist - process it [13:47:17]req_shift_open_date [13:47:17]req_shift_open_date done [13:47:17]produce_requested_data done [13:47:17]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4060,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [13:47:17]process_action_free close_receipt [13:47:17]json_value_free [13:47:17]json_value_free done [13:47:17]process_json_proto returns [13:47:17]Send response to host [13:47:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4060,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [13:47:17]free response buf [13:47:17]execute_script done [13:47:17]execute_script returns [13:47:17]free content buf [13:47:17]Sock 9.Close socket [13:47:17]Sock 9.Thread stoped [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49: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:21]OFD Sender: No OFD packet to send [13:50:26]OFD Sender: No OFD packet to send [13:50:31]OFD Sender: No OFD packet to send [13:50:36]OFD Sender: No OFD packet to send [13:50:41]OFD Sender: No OFD packet to send [13:50:46]OFD Sender: No OFD packet to send [13:50:51]OFD Sender: No OFD packet to send [13:50:56]OFD Sender: No OFD packet to send [13:51:01]OFD Sender: No OFD packet to send [13:51:06]OFD Sender: No OFD packet to send [13:51:11]OFD Sender: No OFD packet to send [13:51:16]OFD Sender: No OFD packet to send [13:51:21]OFD Sender: No OFD packet to send [13:51:26]OFD Sender: No OFD packet to send [13:51:31]OFD Sender: No OFD packet to send [13:51:36]OFD Sender: No OFD packet to send [13:51:41]OFD Sender: No OFD packet to send [13:51:46]OFD Sender: No OFD packet to send [13:51:51]OFD Sender: No OFD packet to send [13:51:56]OFD Sender: No OFD packet to send [13:52:01]OFD Sender: No OFD packet to send [13:52:06]OFD Sender: No OFD packet to send [13:52:11]OFD Sender: No OFD packet to send [13:52:16]OFD Sender: No OFD packet to send [13:52:21]OFD Sender: No OFD packet to send [13:52:26]OFD Sender: No OFD packet to send [13:52:31]OFD Sender: No OFD packet to send [13:52:36]OFD Sender: No OFD packet to send [13:52:41]OFD Sender: No OFD packet to send [13:52:46]OFD Sender: No OFD packet to send [13:52:51]OFD Sender: No OFD packet to send [13:52:56]OFD Sender: No OFD packet to send [13:53:01]OFD Sender: No OFD packet to send [13:53:06]OFD Sender: No OFD packet to send [13:53:11]OFD Sender: No OFD packet to send [13:53:16]OFD Sender: No OFD packet to send [13:53:21]OFD Sender: No OFD packet to send [13:53:26]OFD Sender: No OFD packet to send [13:53:31]OFD Sender: No OFD packet to send [13:53:36]OFD Sender: No OFD packet to send [13:53:41]OFD Sender: No OFD packet to send [13:53:46]OFD Sender: No OFD packet to send [13:53:51]OFD Sender: No OFD packet to send [13:53:56]OFD Sender: No OFD packet to send [13:54:01]OFD Sender: No OFD packet to send [13:54:06]OFD Sender: No OFD packet to send [13:54:11]OFD Sender: No OFD packet to send [13:54:16]OFD Sender: No OFD packet to send [13:54:21]OFD Sender: No OFD packet to send [13:54:26]OFD Sender: No OFD packet to send [13:54:31]OFD Sender: No OFD packet to send [13:54:36]OFD Sender: No OFD packet to send [13:54:41]OFD Sender: No OFD packet to send [13:54:46]OFD Sender: No OFD packet to send [13:54:51]OFD Sender: No OFD packet to send [13:54:56]OFD Sender: No OFD packet to send [13:55:01]OFD Sender: No OFD packet to send [13:55:06]OFD Sender: No OFD packet to send [13:55:11]OFD Sender: No OFD packet to send [13:55:16]OFD Sender: No OFD packet to send [13:55:21]OFD Sender: No OFD packet to send [13:55:26]OFD Sender: No OFD packet to send [13:55:31]OFD Sender: No OFD packet to send [13:55:36]OFD Sender: No OFD packet to send [13:55:41]OFD Sender: No OFD packet to send [13:55:46]OFD Sender: No OFD packet to send [13:55:51]OFD Sender: No OFD packet to send [13:55:56]OFD Sender: No OFD packet to send [13:56:01]OFD Sender: No OFD packet to send [13:56:06]OFD Sender: No OFD packet to send [13:56:11]OFD Sender: No OFD packet to send [13:56:16]OFD Sender: No OFD packet to send [13:56:21]OFD Sender: No OFD packet to send [13:56:26]OFD Sender: No OFD packet to send [13:56:31]OFD Sender: No OFD packet to send [13:56:36]OFD Sender: No OFD packet to send [13:56:41]OFD Sender: No OFD packet to send [13:56:46]OFD Sender: No OFD packet to send [13:56:51]OFD Sender: No OFD packet to send [13:56:56]OFD Sender: No OFD packet to send [13:57:01]OFD Sender: No OFD packet to send [13:57:06]OFD Sender: No OFD packet to send [13:57:11]OFD Sender: No OFD packet to send [13:57:16]OFD Sender: No OFD packet to send [13:57:21]OFD Sender: No OFD packet to send [13:57:26]OFD Sender: No OFD packet to send [13:57:31]OFD Sender: No OFD packet to send [13:57:36]OFD Sender: No OFD packet to send [13:57:41]OFD Sender: No OFD packet to send [13:57:46]OFD Sender: No OFD packet to send [13:57:51]OFD Sender: No OFD packet to send [13:57:56]OFD Sender: No OFD packet to send [13:58:01]OFD Sender: No OFD packet to send [13:58:06]OFD Sender: No OFD packet to send [13:58:11]OFD Sender: No OFD packet to send [13:58:16]OFD Sender: No OFD packet to send [13:58:21]OFD Sender: No OFD packet to send [13:58:26]OFD Sender: No OFD packet to send [13:58:31]OFD Sender: No OFD packet to send [13:58:36]OFD Sender: No OFD packet to send [13:58:41]OFD Sender: No OFD packet to send [13:58:46]OFD Sender: No OFD packet to send [13:58:51]OFD Sender: No OFD packet to send [13:58:56]OFD Sender: No OFD packet to send [13:59:01]OFD Sender: No OFD packet to send [13:59:06]OFD Sender: No OFD packet to send [13:59:11]OFD Sender: No OFD packet to send [13:59:16]OFD Sender: No OFD packet to send [13:59:21]OFD Sender: No OFD packet to send [13:59:26]OFD Sender: No OFD packet to send [13:59:31]OFD Sender: No OFD packet to send [13:59:36]OFD Sender: No OFD packet to send [13:59:41]OFD Sender: No OFD packet to send [13:59:46]OFD Sender: No OFD packet to send [13:59:51]OFD Sender: No OFD packet to send [13:59:56]OFD Sender: No OFD packet to send [14:00:01]OFD Sender: No OFD packet to send [14:00:06]OFD Sender: No OFD packet to send [14:00:11]OFD Sender: No OFD packet to send [14:00:16]OFD Sender: No OFD packet to send [14:00:21]OFD Sender: No OFD packet to send [14:00:26]OFD Sender: No OFD packet to send [14:00:31]OFD Sender: No OFD packet to send [14:00:36]OFD Sender: No OFD packet to send [14:00:41]OFD Sender: No OFD packet to send [14:00:46]OFD Sender: No OFD packet to send [14:00:51]OFD Sender: No OFD packet to send [14:00:56]OFD Sender: No OFD packet to send [14:01:01]OFD Sender: No OFD packet to send [14:01:06]OFD Sender: No OFD packet to send [14:01:11]OFD Sender: No OFD packet to send [14:01:16]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:06]OFD Sender: No OFD packet to send [14:03:11]OFD Sender: No OFD packet to send [14:03:16]OFD Sender: No OFD packet to send [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:31]OFD Sender: No OFD packet to send [14:03:36]OFD Sender: No OFD packet to send [14:03:41]OFD Sender: No OFD packet to send [14:03:46]OFD Sender: No OFD packet to send [14:03:51]OFD Sender: No OFD packet to send [14:03:56]OFD Sender: No OFD packet to send [14:04:01]OFD Sender: No OFD packet to send [14:04:06]OFD Sender: No OFD packet to send [14:04:11]OFD Sender: No OFD packet to send [14:04:16]OFD Sender: No OFD packet to send [14:04:21]OFD Sender: No OFD packet to send [14:04:26]OFD Sender: No OFD packet to send [14:04:31]OFD Sender: No OFD packet to send [14:04:36]OFD Sender: No OFD packet to send [14:04:41]OFD Sender: No OFD packet to send [14:04:46]OFD Sender: No OFD packet to send [14:04:51]OFD Sender: No OFD packet to send [14:04:56]OFD Sender: No OFD packet to send [14:05:01]OFD Sender: No OFD packet to send [14:05:06]OFD Sender: No OFD packet to send [14:05:11]OFD Sender: No OFD packet to send [14:05:16]OFD Sender: No OFD packet to send [14:05:21]OFD Sender: No OFD packet to send [14:05:26]OFD Sender: No OFD packet to send [14:05:31]OFD Sender: No OFD packet to send [14:05:36]OFD Sender: No OFD packet to send [14:05:41]OFD Sender: No OFD packet to send [14:05:46]OFD Sender: No OFD packet to send [14:05:51]OFD Sender: No OFD packet to send [14:05:56]OFD Sender: No OFD packet to send [14:06:01]OFD Sender: No OFD packet to send [14:06:06]OFD Sender: No OFD packet to send [14:06:11]OFD Sender: No OFD packet to send [14:06:16]OFD Sender: No OFD packet to send [14:06:21]OFD Sender: No OFD packet to send [14:06:26]OFD Sender: No OFD packet to send [14:06:31]OFD Sender: No OFD packet to send [14:06:36]OFD Sender: No OFD packet to send [14:06:41]OFD Sender: No OFD packet to send [14:06:46]OFD Sender: No OFD packet to send [14:06:51]OFD Sender: No OFD packet to send [14:06:56]OFD Sender: No OFD packet to send [14:07:01]OFD Sender: No OFD packet to send [14:07:06]OFD Sender: No OFD packet to send [14:07:11]OFD Sender: No OFD packet to send [14:07:16]OFD Sender: No OFD packet to send [14:07:21]OFD Sender: No OFD packet to send [14:07:26]OFD Sender: No OFD packet to send [14:07:31]OFD Sender: No OFD packet to send [14:07:36]OFD Sender: No OFD packet to send [14:07:41]OFD Sender: No OFD packet to send [14:07:46]OFD Sender: No OFD packet to send [14:07:51]OFD Sender: No OFD packet to send [14:07:56]OFD Sender: No OFD packet to send [14:08:01]OFD Sender: No OFD packet to send [14:08:06]OFD Sender: No OFD packet to send [14:08:11]OFD Sender: No OFD packet to send [14:08:16]OFD Sender: No OFD packet to send [14:08:21]OFD Sender: No OFD packet to send [14:08:26]OFD Sender: No OFD packet to send [14:08:31]OFD Sender: No OFD packet to send [14:08:36]OFD Sender: No OFD packet to send [14:08:41]OFD Sender: No OFD packet to send [14:08:46]OFD Sender: No OFD packet to send [14:08:51]OFD Sender: No OFD packet to send [14:08:56]OFD Sender: No OFD packet to send [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:36]OFD Sender: No OFD packet to send [14:09:41]OFD Sender: No OFD packet to send [14:09:46]OFD Sender: No OFD packet to send [14:09:51]OFD Sender: No OFD packet to send [14:09:56]OFD Sender: No OFD packet to send [14:10:01]OFD Sender: No OFD packet to send [14:10:06]OFD Sender: No OFD packet to send [14:10:11]OFD Sender: No OFD packet to send [14:10:16]OFD Sender: No OFD packet to send [14:10:21]OFD Sender: No OFD packet to send [14:10:26]OFD Sender: No OFD packet to send [14:10:31]OFD Sender: No OFD packet to send [14:10:36]OFD Sender: No OFD packet to send [14:10:41]OFD Sender: No OFD packet to send [14:10:46]OFD Sender: No OFD packet to send [14:10:51]OFD Sender: No OFD packet to send [14:10:56]OFD Sender: No OFD packet to send [14:11:01]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:31]OFD Sender: No OFD packet to send [14:11:36]OFD Sender: No OFD packet to send [14:11:41]OFD Sender: No OFD packet to send [14:11:46]OFD Sender: No OFD packet to send [14:11:51]OFD Sender: No OFD packet to send [14:11:56]OFD Sender: No OFD packet to send [14:12:01]OFD Sender: No OFD packet to send [14:12:06]OFD Sender: No OFD packet to send [14:12:11]OFD Sender: No OFD packet to send [14:12:17]OFD Sender: No OFD packet to send [14:12:22]OFD Sender: No OFD packet to send [14:12:27]OFD Sender: No OFD packet to send [14:12:32]OFD Sender: No OFD packet to send [14:12:37]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:52]OFD Sender: No OFD packet to send [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:47]OFD Sender: No OFD packet to send [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:27]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:42]OFD Sender: No OFD packet to send [14:21:47]OFD Sender: No OFD packet to send [14:21:52]OFD Sender: No OFD packet to send [14:21:57]OFD Sender: No OFD packet to send [14:22:02]OFD Sender: No OFD packet to send [14:22:07]OFD Sender: No OFD packet to send [14:22:12]OFD Sender: No OFD packet to send [14:22:17]OFD Sender: No OFD packet to send [14:22:22]OFD Sender: No OFD packet to send [14:22:27]OFD Sender: No OFD packet to send [14:22:32]OFD Sender: No OFD packet to send [14:22:37]OFD Sender: No OFD packet to send [14:22:42]OFD Sender: No OFD packet to send [14:22:47]OFD Sender: No OFD packet to send [14:22:52]OFD Sender: No OFD packet to send [14:22:57]OFD Sender: No OFD packet to send [14:23:02]OFD Sender: No OFD packet to send [14:23:07]OFD Sender: No OFD packet to send [14:23:12]OFD Sender: No OFD packet to send [14:23:17]OFD Sender: No OFD packet to send [14:23:22]OFD Sender: No OFD packet to send [14:23:27]OFD Sender: No OFD packet to send [14:23:32]OFD Sender: No OFD packet to send [14:23:37]OFD Sender: No OFD packet to send [14:23:42]OFD Sender: No OFD packet to send [14:23:47]OFD Sender: No OFD packet to send [14:23:52]OFD Sender: No OFD packet to send [14:23:57]OFD Sender: No OFD packet to send [14:24:02]OFD Sender: No OFD packet to send [14:24:07]OFD Sender: No OFD packet to send [14:24:12]OFD Sender: No OFD packet to send [14:24:17]OFD Sender: No OFD packet to send [14:24:22]OFD Sender: No OFD packet to send [14:24:27]OFD Sender: No OFD packet to send [14:24:32]OFD Sender: No OFD packet to send [14:24:37]OFD Sender: No OFD packet to send [14:24:42]OFD Sender: No OFD packet to send [14:24:47]OFD Sender: No OFD packet to send [14:24:52]OFD Sender: No OFD packet to send [14:24:57]OFD Sender: No OFD packet to send [14:25:02]OFD Sender: No OFD packet to send [14:25:07]OFD Sender: No OFD packet to send [14:25:12]OFD Sender: No OFD packet to send [14:25:17]OFD Sender: No OFD packet to send [14:25:22]OFD Sender: No OFD packet to send [14:25:27]OFD Sender: No OFD packet to send [14:25:32]OFD Sender: No OFD packet to send [14:25:37]OFD Sender: No OFD packet to send [14:25:42]OFD Sender: No OFD packet to send [14:25:47]OFD Sender: No OFD packet to send [14:25:52]OFD Sender: No OFD packet to send [14:25:57]OFD Sender: No OFD packet to send [14:26:02]OFD Sender: No OFD packet to send [14:26:07]OFD Sender: No OFD packet to send [14:26:12]OFD Sender: No OFD packet to send [14:26:17]OFD Sender: No OFD packet to send [14:26:22]OFD Sender: No OFD packet to send [14:26:27]OFD Sender: No OFD packet to send [14:26:32]OFD Sender: No OFD packet to send [14:26:37]OFD Sender: No OFD packet to send [14:26:42]OFD Sender: No OFD packet to send [14:26:47]OFD Sender: No OFD packet to send [14:26:52]OFD Sender: No OFD packet to send [14:26:57]OFD Sender: No OFD packet to send [14:27:02]OFD Sender: No OFD packet to send [14:27:07]OFD Sender: No OFD packet to send [14:27:12]OFD Sender: No OFD packet to send [14:27:17]OFD Sender: No OFD packet to send [14:27:22]OFD Sender: No OFD packet to send [14:27:27]OFD Sender: No OFD packet to send [14:27:32]OFD Sender: No OFD packet to send [14:27:37]OFD Sender: No OFD packet to send [14:27:42]OFD Sender: No OFD packet to send [14:27:47]OFD Sender: No OFD packet to send [14:27:52]OFD Sender: No OFD packet to send [14:27:57]OFD Sender: No OFD packet to send [14:28:02]OFD Sender: No OFD packet to send [14:28:07]OFD Sender: No OFD packet to send [14:28:12]OFD Sender: No OFD packet to send [14:28:17]OFD Sender: No OFD packet to send [14:28:22]OFD Sender: No OFD packet to send [14:28:27]OFD Sender: No OFD packet to send [14:28:32]OFD Sender: No OFD packet to send [14:28:37]OFD Sender: No OFD packet to send [14:28:42]OFD Sender: No OFD packet to send [14:28:47]OFD Sender: No OFD packet to send [14:28:52]OFD Sender: No OFD packet to send [14:28:57]OFD Sender: No OFD packet to send [14:29:02]OFD Sender: No OFD packet to send [14:29:07]OFD Sender: No OFD packet to send [14:29:12]OFD Sender: No OFD packet to send [14:29:17]OFD Sender: No OFD packet to send [14:29:22]OFD Sender: No OFD packet to send [14:29:27]OFD Sender: No OFD packet to send [14:29:32]OFD Sender: No OFD packet to send [14:29:37]OFD Sender: No OFD packet to send [14:29:42]OFD Sender: No OFD packet to send [14:29:47]OFD Sender: No OFD packet to send [14:29:52]OFD Sender: No OFD packet to send [14:29:57]OFD Sender: No OFD packet to send [14:30:02]OFD Sender: No OFD packet to send [14:30:07]OFD Sender: No OFD packet to send [14:30:12]OFD Sender: No OFD packet to send [14:30:17]OFD Sender: No OFD packet to send [14:30:22]OFD Sender: No OFD packet to send [14:30:27]OFD Sender: No OFD packet to send [14:30:32]OFD Sender: No OFD packet to send [14:30:37]OFD Sender: No OFD packet to send [14:30:42]OFD Sender: No OFD packet to send [14:30:47]OFD Sender: No OFD packet to send [14:30:52]OFD Sender: No OFD packet to send [14:30:57]OFD Sender: No OFD packet to send [14:31:02]OFD Sender: No OFD packet to send [14:31:07]OFD Sender: No OFD packet to send [14:31:12]OFD Sender: No OFD packet to send [14:31:17]OFD Sender: No OFD packet to send [14:31:22]OFD Sender: No OFD packet to send [14:31:27]OFD Sender: No OFD packet to send [14:31:32]OFD Sender: No OFD packet to send [14:31:37]OFD Sender: No OFD packet to send [14:31:42]OFD Sender: No OFD packet to send [14:31:47]OFD Sender: No OFD packet to send [14:31:52]OFD Sender: No OFD packet to send [14:31:57]OFD Sender: No OFD packet to send [14:32:02]OFD Sender: No OFD packet to send [14:32:07]OFD Sender: No OFD packet to send [14:32:12]OFD Sender: No OFD packet to send [14:32:17]OFD Sender: No OFD packet to send [14:32:22]OFD Sender: No OFD packet to send [14:32:27]OFD Sender: No OFD packet to send [14:32:32]OFD Sender: No OFD packet to send [14:32:37]OFD Sender: No OFD packet to send [14:32:42]OFD Sender: No OFD packet to send [14:32:47]OFD Sender: No OFD packet to send [14:32:52]OFD Sender: No OFD packet to send [14:32:57]OFD Sender: No OFD packet to send [14:33:02]OFD Sender: No OFD packet to send [14:33:07]OFD Sender: No OFD packet to send [14:33:12]OFD Sender: No OFD packet to send [14:33:17]OFD Sender: No OFD packet to send [14:33:22]OFD Sender: No OFD packet to send [14:33:27]OFD Sender: No OFD packet to send [14:33:32]OFD Sender: No OFD packet to send [14:33:37]OFD Sender: No OFD packet to send [14:33:42]OFD Sender: No OFD packet to send [14:33:47]OFD Sender: No OFD packet to send [14:33:52]OFD Sender: No OFD packet to send [14:33:57]OFD Sender: No OFD packet to send [14:34:02]OFD Sender: No OFD packet to send [14:34:07]OFD Sender: No OFD packet to send [14:34:12]OFD Sender: No OFD packet to send [14:34:17]OFD Sender: No OFD packet to send [14:34:22]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:28]OFD Sender: No OFD packet to send [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:49]accept exits with 8 [14:36:49]New connection [14:36:49]New thread 3067370852 created [14:36:49]Thread 3067227492 joined [14:36:49]Waiting for new connection... [14:36:49] Sock 8.Parse request [14:36:49]Sock 8.Check first char [14:36:49]Sock 8.First char is OK [14:36:49]request: POST /json_proto HTTP/1.0 [14:36:49]Method: POST [14:36:49]URL: /json_proto [14:36:49]Method is POST - this is cgi request [14:36:49]url: /json_proto [14:36:49]query_string will be loaded in cgi processing [14:36:49]execute_cgi json_proto POST (null) [14:36:49]execute_cgi path=json_proto method=POST [14:36:49]POST find Content-Length [14:36:49]Host: 172.17.56.68:8080 [14:36:49]Content-Length: 1164 [14:36:49]Content-Type: application/json [14:36:49] [14:36:49]POST finish read [14:36:49]Found Content-Length = 1164 [14:36:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4315", "tax_sys" : 0, "items" : [ { "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 2.000, "sum" : 310.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": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:36:49]execute_script... [14: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)4315", "tax_sys" : 0, "items" : [ { "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 2.000, "sum" : 310.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": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:36:49]POST & json_proto [14:36:49]process_json_proto [14:36:49]json parsed OK: [14:36:49]protocol is kg_v1.0 [14:36:49]action value=close_receipt [14:36:49]process_action close_receipt [14:36:49]cmd_close_receipt [14:36:49]MH_GetDate [14:36:49]Write to MH i2c: F0 00 00 12 0E 0F [14:36:49]Write i2c OK [14:36:49]MH_I2C_Read... [14:36:49]Read from MH i2c: F0 [14:36:49]MH_I2C_Read... [14:36:49]Read from MH i2c: F0 09 00 [14:36:49]MH_I2C_Read... [14:36:49]Read from MH i2c: F0 09 00 12 0E 00 05 D5 5D 66 42 69 5C 66 22 [14:36:49]GetLastDocTimeStamp 1717422437 [14:36:49]current date 1717425413 [14:36:49]FM_GetShiftState [14:36:49]SAM_PROTO_GetShiftState [14:36:49]wFMCommunicate request_size=4 [14:36:49]MH_SAM_APDU [14:36:49]CAPDU: 80 13 01 00 [14:36:49]Write to MH i2c: E2 08 00 13 0E 80 13 01 00 00 00 00 00 9E [14:36:49]Write i2c OK [14:36:49]MH_I2C_Read... [14:36:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:36:49]Read from MH i2c: E2 [14:36:49]MH_I2C_Read... [14:36:49]Read from MH i2c: E2 0E 00 [14:36:49]MH_I2C_Read... [14:36:49]Read from MH i2c: E2 0E 00 13 0E 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 2C [14:36:49]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [14:36:49]wFMCommunicate OK [14:36:49]SAM_PROTO_GetShiftState done [14:36:49]FM_GetShiftState done [14:36:49]opened in 1717372856 [14:36:49]opened+sec_in_day 1717459256 [14:36:49]quantity*price = 31000 [14:36:49]sum+1 = 31001 [14:36:49]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 42 03.06.2024 14:36 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4061 ФПД: 152804899914542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T143653&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4061&fm=152804899914542&tin=02508201610067®Number=0000000000145775&sum=50000 0 [14:36:50]StoreToDocumentArchive [14:36:50]shift 82 fd 4061 [14:36:50]save to /storage/0082/doc_00004061 [14:36:50]save last doc name /storage/0082/doc_00004061 to /storage/kkm_last_doc_name [14:36:50]save OK [14:36:50]Clear old archive folders... [14:36:50]ProcessDocumentItem done err = 0, tmpTLVsize=514 [14:36:50]tlvbuf is 00782230 [14:36:50]SAM_PROTO_ClearQueue [14:36:50]wFMCommunicate request_size=4 [14:36:50]MH_SAM_APDU [14:36:50]CAPDU: 80 09 00 00 [14:36:50]Write to MH i2c: E2 08 00 20 0E 80 09 00 00 00 00 00 00 A0 [14:36:50]Write i2c OK [14:36:50]MH_I2C_Read... [14:36:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:36:50]Read from MH i2c: E2 [14:36:50]MH_I2C_Read... [14:36:50]Read from MH i2c: E2 03 00 [14:36:50]MH_I2C_Read... [14:36:50]Read from MH i2c: E2 03 00 20 0E 00 90 00 A2 [14:36:50]RAPDU: 90 00 [14:36:50]wFMCommunicate OK [14:36:50]SAM_PROTO_ClearQueue done [14:36:50]KKMCreateOFDPacket [14:36:50]OFDProtocolAddRootSTLVToBuf [14:36:50]FM_MakeSignedData [14:36:50]FM_MakeSignedData [14:36:50]SAM_PROTO_SignData [14:36:50]wFMCommunicate request_size=4 [14:36:50]MH_SAM_APDU [14:36:50]CAPDU: 80 0D 01 02 [14:36:50]Write to MH i2c: E2 08 00 21 0E 80 0D 01 02 00 00 00 00 A8 [14:36:50]Write i2c OK [14:36:50]MH_I2C_Read... [14:36:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:36:50]Read from MH i2c: E2 [14:36:50]MH_I2C_Read... [14:36:50]Read from MH i2c: E2 03 00 [14:36:50]MH_I2C_Read... [14:36:50]Read from MH i2c: E2 03 00 21 0E 00 90 00 A3 [14:36:50]RAPDU: 90 00 [14:36:50]wFMCommunicate OK [14:36:50]wFMCommunicate request_size=255 [14:36:50]MH_SAM_APDU [14:36:50]CAPDU: 80 0D 02 02 FA 03 00 02 02 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 18 79 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 [14:36:50]Write to MH i2c: E2 02 01 22 0E 80 0D 02 02 FA 00 03 00 02 02 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 18 79 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 00 00 68 [14:36:50]Write i2c OK [14:36:50]MH_I2C_Read... [14:36:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:36:50]Read from MH i2c: E2 [14:36:50]MH_I2C_Read... [14:36:50]Read from MH i2c: E2 03 00 [14:36:50]MH_I2C_Read... [14:36:50]Read from MH i2c: E2 03 00 22 0E 00 90 00 A4 [14:36:50]RAPDU: 90 00 [14:36:50]wFMCommunicate OK [14:36:50]wFMCommunicate request_size=255 [14:36:50]MH_SAM_APDU [14:36:50]CAPDU: 80 0D 02 02 FA 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 05 D5 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 [14:36:50]Write to MH i2c: E2 02 01 23 0E 80 0D 02 02 FA 00 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 05 D5 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 00 00 95 [14:36:51]Write i2c OK [14:36:51]MH_I2C_Read... [14:36:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:36:51]Read from MH i2c: E2 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: E2 03 00 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: E2 03 00 23 0E 00 90 00 A5 [14:36:51]RAPDU: 90 00 [14:36:51]wFMCommunicate OK [14:36:51]wFMCommunicate request_size=23 [14:36:51]MH_SAM_APDU [14:36:51]CAPDU: 80 0D 02 02 12 10 04 04 00 DD 0F 00 00 35 04 06 00 8A F9 A9 C7 83 2E [14:36:51]Write to MH i2c: E2 1A 00 24 0E 80 0D 02 02 12 00 10 04 04 00 DD 0F 00 00 35 04 06 00 8A F9 A9 C7 83 2E 00 00 B7 [14:36:51]Write i2c OK [14:36:51]MH_I2C_Read... [14:36:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:36:51]Read from MH i2c: E2 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: E2 03 00 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: E2 03 00 24 0E 00 90 00 A6 [14:36:51]RAPDU: 90 00 [14:36:51]wFMCommunicate OK [14:36:51]wFMCommunicate request_size=4 [14:36:51]MH_SAM_APDU [14:36:51]CAPDU: 80 0D 03 02 [14:36:51]Write to MH i2c: E2 08 00 25 0E 80 0D 03 02 00 00 00 00 AE [14:36:51]Write i2c OK [14:36:51]MH_I2C_Read... [14:36:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:36:51]Read from MH i2c: E2 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: E2 0B 00 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: E2 0B 00 25 0E 00 82 68 33 32 89 8C 76 BC 90 00 45 [14:36:51]RAPDU: 82 68 33 32 89 8C 76 BC 90 00 [14:36:51]wFMCommunicate OK [14:36:51]SAM_PROTO_SignData done [14:36:51]FM_MakeSignedData done [14:36:51]CreateOFDProtocolMessage [14:36:51]wFMCommunicate request_size=4 [14:36:51]MH_SAM_APDU [14:36:51]CAPDU: 80 11 00 00 [14:36:51]Write to MH i2c: E2 08 00 26 0E 80 11 00 00 00 00 00 00 AE [14:36:51]Write i2c OK [14:36:51]MH_I2C_Read... [14:36:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:36:51]Read from MH i2c: E2 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: E2 17 00 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: E2 17 00 26 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 01 [14:36:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:36:51]wFMCommunicate OK [14:36:51]CreateOFDProtocolMessage done [14:36:51]OFDSenderStorePacket 4061 [14:36:51]StoreOFDPacket docnum=4061 [14:36:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 16 02 00 00 0B 42 0E 02 11 5D 5A 03 01 00 03 00 02 02 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 18 79 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 05 D5 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DD 0F 00 00 35 04 06 00 8A F9 A9 C7 83 2E 82 68 33 32 89 8C 76 BC [14:36:51]CheckFolder [14:36:51]dirname=/storage/ofd_packets [14:36:51]CheckFolder done [14:36:51]ProducePacketName [14:36:51]name=ofd_packets/00004061 [14:36:51]NVStorageSaveData ofd_packets/00004061 [14:36:51]File name is /storage/ofd_packets/00004061 [14:36:51]Write 564 bytes [14:36:51]NVStorageSaveData done [14:36:51]OFDSenderStorePacket done [14:36:51]KKMCreateOFDPacket done [14:36:51]NVStorageSaveData kkm_last_timestamp [14:36:51]File name is /storage/kkm_last_timestamp [14:36:51]Write 4 bytes [14:36:51]NVStorageSaveData done [14:36:51]ExternCall_PrintAddStr [14:36:51]wPrintStart [14:36:51]Write to MH i2c: 01 00 00 27 0E 35 [14:36:51]Write i2c OK [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: 01 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: 01 07 00 [14:36:51]MH_I2C_Read... [14:36:51]Read from MH i2c: 01 07 00 27 0E 00 00 00 00 00 FF 0F 4A [14:36:51]RasterBufferAndPrint [14:36:51]line Счет N : (3)4315 [14:36:51]line ИНН: 02508201610067 [14:36:51]line Контрольно-Кассовый Чек [14:36:51]line ПРОДАЖА [14:36:51]line Товар: 47803152 [14:36:51]line Сигареты Mevius Revo [14:36:51]line 2.000 * 155.00 [14:36:51]line = 310.00 [14:36:51]line НДС 12% НСП 1% [14:36:51]line > о реализуемом товаре [14:36:51]line Товар: 4700000480050 [14:36:51]line Напиток Nitro Energy эн green ж/б 0,45л [14:36:51]line 1.000 * 95.00 [14:36:51]line = 95.00 [14:36:51]line НДС 12% НСП 1% [14:36:51]line > о реализуемом товаре [14:36:51]line Товар: 4631150682851 [14:36:51]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [14:36:51]line 1.000 * 95.00 [14:36:51]line = 95.00 [14:36:51]line НДС 12% НСП 1% [14:36:51]line > о реализуемом товаре [14:36:51]line ИТОГО: 500.00 [14:36:51]line НСП 1% : 4.42 [14:36:51]line НДС 12% : 53.10 [14:36:51]line Наличными: 500.00 [14:36:51]line Безнал.: 0.00 [14:36:51]line Место: АЗС № 116 "Партнер Нефть" [14:36:51]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [14:36:51]line СНО: Общий режим [14:36:51]line Чек 42 03.06.2024 14:36 [14:36:51]line Смена: 82 ФФД: 1.0 [14:36:51]line ЗНМ: 0300000233 [14:36:51]line РНМ: 0000000000145775 [14:36:51]line Версия ККМ: v1.0 [14:36:51]line ФМ: 0000000000959360 [14:36:51]line ФД: 4061 [14:36:51]line ФПД: 152804899914542 [14:36:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T143653&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4061&fm=152804899914542&tin=02508201610067®Number=0000000000145775&sum=50000 [14:36:51]line 0 [14:36:51]OFD Sender: Processing packet 4061 [packets to send 2, broken 1] [14:36:51]ProducePacketName [14:36:51]name=ofd_packets/00004061 [14:36:51]OFD Sender: To server: pG, [14:36:51]CommunicateWithHost lk.salyk.kg:30040 [14:36:51]ConnectInit lk.salyk.kg [14:36:51]written 0, free lines is 4095 [14:36:51]Connected sock=10 [14:36:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 16 02 00 00 0B 42 0E 02 11 5D 5A 03 01 00 03 00 02 02 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 18 79 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 05 D5 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DD 0F 00 00 35 04 06 00 8A F9 A9 C7 83 2E 82 68 33 32 89 8C 76 BC [14:36:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F6 2D 47 00 2D ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DD 0F 00 00 F4 03 04 00 09 81 5D 66 B6 04 01 00 00 D2 9F B3 EA B2 23 A7 4A [14:36:52]CommunicateWithHost err = 0 [14:36:52]CheckOFDResponse [14:36:52]1017 (14) - 77093643461234 [14:36:52]1041 (16) - 0000000000959360 [14:36:52]1040 (4) - 4061 [14:36:52]1012 (4) - 03.06.2024 08:38 [14:36:52]1206 (1) - 0 [14:36:52]OFD Sender: Remove packet 4061 [14:36:52]ProducePacketName [14:36:52]name=ofd_packets/00004061 [14:36:52]NVStorageDeleteData [14:36:52]Write to MH i2c: 01 00 00 5D 0E 6B [14:36:52]Write i2c OK [14:36:52]MH_I2C_Read... [14:36:52]Read from MH i2c: 01 [14:36:52]MH_I2C_Read... [14:36:52]Read from MH i2c: 01 07 00 [14:36:52]MH_I2C_Read... [14:36:52]Read from MH i2c: 01 07 00 5D 0E 00 00 00 00 00 CA 0B 47 [14:36:52]RasterBufferAndPrint [14:36:52]line [14:36:52]line [14:36:52]line [14:36:52]line [14:36:52]line [14:36:52]written 0, free lines is 3023 [14:36:52]MH_Cut [14:36:52]Write to MH i2c: D1 01 00 64 0E 01 44 [14:36:52]Write i2c OK [14:36:52]MH_I2C_Read... [14:36:52]Read from MH i2c: D1 [14:36:52]MH_I2C_Read... [14:36:52]Read from MH i2c: D1 01 00 [14:36:52]MH_I2C_Read... [14:36:52]Read from MH i2c: D1 01 00 64 0E 00 43 [14:36:52]Write to MH i2c: 01 00 00 65 0E 73 [14:36:52]Write i2c OK [14:36:52]MH_I2C_Read... [14:36:52]OFD Sender: No OFD packet to send [14:36:53]*** Cut start [14:36:53]*** Partial cut [14:36:53]*** CUTSNS_PIN = 1 [14:36:53]*** CUTSNS_PIN = 0 [14:36:53]*** Brake cut motor [14:36:54]Read from MH i2c: 01 [14:36:54]MH_I2C_Read... [14:36:54]*** Stop cut motor [14:36:54]*** Cut end [14:36:54]Read from MH i2c: 01 07 00 [14:36:54]MH_I2C_Read... [14:36:54]Read from MH i2c: 01 07 00 65 0E 00 00 00 00 00 FF 0F 88 [14:36:54]process_action close_receipt done [14:36:54]requested_data is exist [14:36:54]produce_requested_data [14:36:54]requested_item fm.sn is exist - process it [14:36:54]wFMCommunicate request_size=4 [14:36:54]MH_SAM_APDU [14:36:54]CAPDU: 80 11 00 00 [14:36:54]Write to MH i2c: E2 08 00 66 0E 80 11 00 00 00 00 00 00 EE [14:36:54]Write i2c OK [14:36:54]MH_I2C_Read... [14:36:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:36:54]Read from MH i2c: E2 [14:36:54]MH_I2C_Read... [14:36:54]Read from MH i2c: E2 17 00 [14:36:54]MH_I2C_Read... [14:36:54]Read from MH i2c: E2 17 00 66 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 41 [14:36:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:36:54]wFMCommunicate OK [14:36:54]requested_item fd.num is exist - process it [14:36:54]SAM_PROTO_GetFieldsCounters [14:36:54]wFMCommunicate request_size=4 [14:36:54]MH_SAM_APDU [14:36:54]CAPDU: 80 13 00 00 [14:36:54]Write to MH i2c: E2 08 00 67 0E 80 13 00 00 00 00 00 00 F1 [14:36:54]Write i2c OK [14:36:54]MH_I2C_Read... [14:36:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:36:54]Read from MH i2c: E2 [14:36:54]MH_I2C_Read... [14:36:54]Read from MH i2c: E2 62 00 [14:36:54]MH_I2C_Read... [14:36:54]Read from MH i2c: E2 62 00 67 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DD 0F 00 00 0E 04 04 00 52 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 D2 [14:36:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DD 0F 00 00 0E 04 04 00 52 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:36:54]wFMCommunicate OK [14:36:54]SAM_PROTO_GetFieldsCounters done [14:36:54]requested_item shift.num is exist - process it [14:36:54]requested_item shift.opened is exist - process it [14:36:54]req_shift_opened [14:36:54]FM_GetShiftState [14:36:54]SAM_PROTO_GetShiftState [14:36:54]wFMCommunicate request_size=4 [14:36:54]MH_SAM_APDU [14:36:54]CAPDU: 80 13 01 00 [14:36:54]Write to MH i2c: E2 08 00 68 0E 80 13 01 00 00 00 00 00 F3 [14:36:54]Write i2c OK [14:36:54]MH_I2C_Read... [14:36:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:36:54]Read from MH i2c: E2 [14:36:54]MH_I2C_Read... [14:36:54]Read from MH i2c: E2 0E 00 [14:36:54]MH_I2C_Read... [14:36:54]Read from MH i2c: E2 0E 00 68 0E 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 81 [14:36:54]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [14:36:54]wFMCommunicate OK [14:36:54]SAM_PROTO_GetShiftState done [14:36:54]FM_GetShiftState done [14:36:54]req_shift_opened done [14:36:54]requested_item shift.open_date is exist - process it [14:36:54]req_shift_open_date [14:36:54]req_shift_open_date done [14:36:54]produce_requested_data done [14:36:54]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4061,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [14:36:54]process_action_free close_receipt [14:36:54]json_value_free [14:36:54]json_value_free done [14:36:54]process_json_proto returns [14:36:54]Send response to host [14:36:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4061,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [14:36:54]free response buf [14:36:54]execute_script done [14:36:54]execute_script returns [14:36:54]free content buf [14:36:54]Sock 8.Close socket [14:36:54]Sock 8.Thread stoped [14:36:57]OFD Sender: No OFD packet to send [14:37:02]OFD Sender: No OFD packet to send [14:37:07]OFD Sender: No OFD packet to send [14:37:12]OFD Sender: No OFD packet to send [14:37:17]OFD Sender: No OFD packet to send [14:37:22]OFD Sender: No OFD packet to send [14:37:27]OFD Sender: No OFD packet to send [14:37:32]OFD Sender: No OFD packet to send [14:37:37]OFD Sender: No OFD packet to send [14:37:42]OFD Sender: No OFD packet to send [14:37:47]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:12]OFD Sender: No OFD packet to send [14:40:17]OFD Sender: No OFD packet to send [14:40:22]OFD Sender: No OFD packet to send [14:40:27]OFD Sender: No OFD packet to send [14:40:32]OFD Sender: No OFD packet to send [14:40:37]OFD Sender: No OFD packet to send [14:40:42]OFD Sender: No OFD packet to send [14:40:47]OFD Sender: No OFD packet to send [14:40:52]OFD Sender: No OFD packet to send [14:40:57]OFD Sender: No OFD packet to send [14:41:02]OFD Sender: No OFD packet to send [14:41:07]OFD Sender: No OFD packet to send [14:41:12]OFD Sender: No OFD packet to send [14:41:17]OFD Sender: No OFD packet to send [14:41:22]OFD Sender: No OFD packet to send [14:41:27]OFD Sender: No OFD packet to send [14:41:32]OFD Sender: No OFD packet to send [14:41:37]OFD Sender: No OFD packet to send [14:41:42]OFD Sender: No OFD packet to send [14:41:47]OFD Sender: No OFD packet to send [14:41:52]OFD Sender: No OFD packet to send [14:41:57]OFD Sender: No OFD packet to send [14:42:02]OFD Sender: No OFD packet to send [14:42:07]OFD Sender: No OFD packet to send [14:42:12]OFD Sender: No OFD packet to send [14:42:17]OFD Sender: No OFD packet to send [14:42:22]OFD Sender: No OFD packet to send [14:42:27]OFD Sender: No OFD packet to send [14:42:32]OFD Sender: No OFD packet to send [14:42:37]OFD Sender: No OFD packet to send [14:42:42]OFD Sender: No OFD packet to send [14:42:47]OFD Sender: No OFD packet to send [14:42:52]OFD Sender: No OFD packet to send [14:42:57]OFD Sender: No OFD packet to send [14:43:02]OFD Sender: No OFD packet to send [14:43:07]OFD Sender: No OFD packet to send [14:43:12]OFD Sender: No OFD packet to send [14:43:17]OFD Sender: No OFD packet to send [14:43:22]OFD Sender: No OFD packet to send [14:43:27]OFD Sender: No OFD packet to send [14:43:32]OFD Sender: No OFD packet to send [14:43:37]OFD Sender: No OFD packet to send [14:43:42]OFD Sender: No OFD packet to send [14:43:47]OFD Sender: No OFD packet to send [14:43:52]OFD Sender: No OFD packet to send [14:43:57]OFD Sender: No OFD packet to send [14:44:02]OFD Sender: No OFD packet to send [14:44:07]OFD Sender: No OFD packet to send [14:44:12]OFD Sender: No OFD packet to send [14:44:17]OFD Sender: No OFD packet to send [14:44:22]OFD Sender: No OFD packet to send [14:44:27]OFD Sender: No OFD packet to send [14:44:32]OFD Sender: No OFD packet to send [14:44:37]OFD Sender: No OFD packet to send [14:44:42]OFD Sender: No OFD packet to send [14:44:47]OFD Sender: No OFD packet to send [14:44:52]OFD Sender: No OFD packet to send [14:44:57]OFD Sender: No OFD packet to send [14:45:02]OFD Sender: No OFD packet to send [14:45:07]OFD Sender: No OFD packet to send [14:45:12]OFD Sender: No OFD packet to send [14:45:17]OFD Sender: No OFD packet to send [14:45:22]OFD Sender: No OFD packet to send [14:45:27]OFD Sender: No OFD packet to send [14:45:32]OFD Sender: No OFD packet to send [14:45:37]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55:13]OFD Sender: No OFD packet to send [14:55:18]OFD Sender: No OFD packet to send [14:55:23]OFD Sender: No OFD packet to send [14:55:28]OFD Sender: No OFD packet to send [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:08]OFD Sender: No OFD packet to send [14:56:13]OFD Sender: No OFD packet to send [14:56:18]OFD Sender: No OFD packet to send [14:56:23]OFD Sender: No OFD packet to send [14:56:28]OFD Sender: No OFD packet to send [14:56:33]OFD Sender: No OFD packet to send [14:56:38]OFD Sender: No OFD packet to send [14:56:43]OFD Sender: No OFD packet to send [14:56:48]OFD Sender: No OFD packet to send [14:56:53]OFD Sender: No OFD packet to send [14:56:58]OFD Sender: No OFD packet to send [14:57:03]OFD Sender: No OFD packet to send [14:57:08]OFD Sender: No OFD packet to send [14:57:13]OFD Sender: No OFD packet to send [14:57:18]OFD Sender: No OFD packet to send [14:57:23]OFD Sender: No OFD packet to send [14:57:28]OFD Sender: No OFD packet to send [14:57:33]OFD Sender: No OFD packet to send [14:57:38]OFD Sender: No OFD packet to send [14:57:43]OFD Sender: No OFD packet to send [14:57:48]OFD Sender: No OFD packet to send [14:57:53]OFD Sender: No OFD packet to send [14:57:58]OFD Sender: No OFD packet to send [14:58:03]OFD Sender: No OFD packet to send [14:58:08]OFD Sender: No OFD packet to send [14:58:13]OFD Sender: No OFD packet to send [14:58:18]OFD Sender: No OFD packet to send [14:58:23]OFD Sender: No OFD packet to send [14:58:28]OFD Sender: No OFD packet to send [14:58:33]OFD Sender: No OFD packet to send [14:58:38]OFD Sender: No OFD packet to send [14:58:43]OFD Sender: No OFD packet to send [14:58:48]OFD Sender: No OFD packet to send [14:58:53]OFD Sender: No OFD packet to send [14:58:58]OFD Sender: No OFD packet to send [14:59:03]OFD Sender: No OFD packet to send [14:59:08]OFD Sender: No OFD packet to send [14:59:13]OFD Sender: No OFD packet to send [14:59:18]OFD Sender: No OFD packet to send [14:59:23]OFD Sender: No OFD packet to send [14:59:28]OFD Sender: No OFD packet to send [14:59:33]OFD Sender: No OFD packet to send [14:59:38]OFD Sender: No OFD packet to send [14:59:43]OFD Sender: No OFD packet to send [14:59:48]OFD Sender: No OFD packet to send [14:59:53]OFD Sender: No OFD packet to send [14:59:58]OFD Sender: No OFD packet to send [15:00:03]OFD Sender: No OFD packet to send [15:00:08]OFD Sender: No OFD packet to send [15:00:13]OFD Sender: No OFD packet to send [15:00:18]OFD Sender: No OFD packet to send [15:00:23]OFD Sender: No OFD packet to send [15:00:28]OFD Sender: No OFD packet to send [15:00:33]OFD Sender: No OFD packet to send [15:00:38]OFD Sender: No OFD packet to send [15:00:43]OFD Sender: No OFD packet to send [15:00:48]OFD Sender: No OFD packet to send [15:00:53]OFD Sender: No OFD packet to send [15:00:58]OFD Sender: No OFD packet to send [15:01:03]OFD Sender: No OFD packet to send [15:01:08]OFD Sender: No OFD packet to send [15:01:13]OFD Sender: No OFD packet to send [15:01:18]OFD Sender: No OFD packet to send [15:01:23]OFD Sender: No OFD packet to send [15:01:28]OFD Sender: No OFD packet to send [15:01:33]OFD Sender: No OFD packet to send [15:01:38]OFD Sender: No OFD packet to send [15:01:43]OFD Sender: No OFD packet to send [15:01:48]OFD Sender: No OFD packet to send [15:01:53]OFD Sender: No OFD packet to send [15:01:58]OFD Sender: No OFD packet to send [15:02:03]OFD Sender: No OFD packet to send [15:02:08]OFD Sender: No OFD packet to send [15:02:13]OFD Sender: No OFD packet to send [15:02:18]OFD Sender: No OFD packet to send [15:02:23]OFD Sender: No OFD packet to send [15:02:28]OFD Sender: No OFD packet to send [15:02:33]OFD Sender: No OFD packet to send [15:02:38]OFD Sender: No OFD packet to send [15:02:43]OFD Sender: No OFD packet to send [15:02:48]OFD Sender: No OFD packet to send [15:02:53]OFD Sender: No OFD packet to send [15:02:58]OFD Sender: No OFD packet to send [15:03:03]OFD Sender: No OFD packet to send [15:03:08]OFD Sender: No OFD packet to send [15:03:13]OFD Sender: No OFD packet to send [15:03:18]OFD Sender: No OFD packet to send [15:03:23]OFD Sender: No OFD packet to send [15:03:28]OFD Sender: No OFD packet to send [15:03:33]OFD Sender: No OFD packet to send [15:03:38]OFD Sender: No OFD packet to send [15:03:43]OFD Sender: No OFD packet to send [15:03:48]OFD Sender: No OFD packet to send [15:03:53]OFD Sender: No OFD packet to send [15:03:58]OFD Sender: No OFD packet to send [15:04:03]OFD Sender: No OFD packet to send [15:04:08]OFD Sender: No OFD packet to send [15:04:13]OFD Sender: No OFD packet to send [15:04:18]OFD Sender: No OFD packet to send [15:04:23]OFD Sender: No OFD packet to send [15:04:28]OFD Sender: No OFD packet to send [15:04:33]OFD Sender: No OFD packet to send [15:04:38]OFD Sender: No OFD packet to send [15:04:43]OFD Sender: No OFD packet to send [15:04:48]OFD Sender: No OFD packet to send [15:04:53]OFD Sender: No OFD packet to send [15:04:58]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:33]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:13]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:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:04]OFD Sender: No OFD packet to send [15:16:09]OFD Sender: No OFD packet to send [15:16:14]OFD Sender: No OFD packet to send [15:16:19]OFD Sender: No OFD packet to send [15:16:24]OFD Sender: No OFD packet to send [15:16:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:34]OFD Sender: No OFD packet to send [15:18:39]OFD Sender: No OFD packet to send [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:34]OFD Sender: No OFD packet to send [15:20:39]OFD Sender: No OFD packet to send [15:20:44]OFD Sender: No OFD packet to send [15:20:49]OFD Sender: No OFD packet to send [15:20:54]OFD Sender: No OFD packet to send [15:20:59]OFD Sender: No OFD packet to send [15:21:04]OFD Sender: No OFD packet to send [15:21:09]OFD Sender: No OFD packet to send [15:21:14]OFD Sender: No OFD packet to send [15:21:19]OFD Sender: No OFD packet to send [15:21:24]OFD Sender: No OFD packet to send [15:21:29]OFD Sender: No OFD packet to send [15:21:34]OFD Sender: No OFD packet to send [15:21:39]OFD Sender: No OFD packet to send [15:21:44]OFD Sender: No OFD packet to send [15:21:49]OFD Sender: No OFD packet to send [15:21:54]OFD Sender: No OFD packet to send [15:21:59]OFD Sender: No OFD packet to send [15:22:04]OFD Sender: No OFD packet to send [15:22:09]OFD Sender: No OFD packet to send [15:22:14]OFD Sender: No OFD packet to send [15:22:19]OFD Sender: No OFD packet to send [15:22:24]OFD Sender: No OFD packet to send [15:22:29]OFD Sender: No OFD packet to send [15:22:34]OFD Sender: No OFD packet to send [15:22:39]OFD Sender: No OFD packet to send [15:22:44]OFD Sender: No OFD packet to send [15:22:49]OFD Sender: No OFD packet to send [15:22:54]OFD Sender: No OFD packet to send [15:22:59]OFD Sender: No OFD packet to send [15:23:04]OFD Sender: No OFD packet to send [15:23:09]OFD Sender: No OFD packet to send [15:23:14]OFD Sender: No OFD packet to send [15:23:19]OFD Sender: No OFD packet to send [15:23:24]OFD Sender: No OFD packet to send [15:23:29]OFD Sender: No OFD packet to send [15:23:34]OFD Sender: No OFD packet to send [15:23:39]OFD Sender: No OFD packet to send [15:23:44]OFD Sender: No OFD packet to send [15:23:49]OFD Sender: No OFD packet to send [15:23:54]OFD Sender: No OFD packet to send [15:23:59]OFD Sender: No OFD packet to send [15:24:04]OFD Sender: No OFD packet to send [15:24:09]OFD Sender: No OFD packet to send [15:24:14]OFD Sender: No OFD packet to send [15:24:19]OFD Sender: No OFD packet to send [15:24:24]OFD Sender: No OFD packet to send [15:24:29]OFD Sender: No OFD packet to send [15:24:34]OFD Sender: No OFD packet to send [15:24:39]OFD Sender: No OFD packet to send [15:24:44]OFD Sender: No OFD packet to send [15:24:49]OFD Sender: No OFD packet to send [15:24:54]OFD Sender: No OFD packet to send [15:24:59]OFD Sender: No OFD packet to send [15:25:04]OFD Sender: No OFD packet to send [15:25:09]OFD Sender: No OFD packet to send [15:25:14]OFD Sender: No OFD packet to send [15:25:19]OFD Sender: No OFD packet to send [15:25:24]OFD Sender: No OFD packet to send [15:25:29]OFD Sender: No OFD packet to send [15:25:34]OFD Sender: No OFD packet to send [15:25:39]OFD Sender: No OFD packet to send [15:25:44]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29: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:16]accept exits with 9 [15:35:16]New connection [15:35:16]New thread 3067227492 created [15:35:16]Thread 3067370852 joined [15:35:16]Waiting for new connection... [15:35:16] Sock 9.Parse request [15:35:16]Sock 9.Check first char [15:35:16]Sock 9.First char is OK [15:35:16]request: POST /json_proto HTTP/1.0 [15:35:16]Method: POST [15:35:16]URL: /json_proto [15:35:16]Method is POST - this is cgi request [15:35:16]url: /json_proto [15:35:16]query_string will be loaded in cgi processing [15:35:16]execute_cgi json_proto POST (null) [15:35:16]execute_cgi path=json_proto method=POST [15:35:16]POST find Content-Length [15:35:16]Host: 172.17.56.68:8080 [15:35:16]Content-Length: 873 [15:35:16]Content-Type: application/json [15:35:16] [15:35:16]POST finish read [15:35:16]Found Content-Length = 873 [15:35:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4316", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.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" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 305.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:16]execute_script... [15:35: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)4316", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.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" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 305.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:16]POST & json_proto [15:35:16]process_json_proto [15:35:16]json parsed OK: [15:35:16]protocol is kg_v1.0 [15:35:16]action value=close_receipt [15:35:16]process_action close_receipt [15:35:16]cmd_close_receipt [15:35:16]MH_GetDate [15:35:16]Write to MH i2c: F0 00 00 69 0E 66 [15:35:16]Write i2c OK [15:35:16]MH_I2C_Read... [15:35:16]Read from MH i2c: F0 [15:35:16]MH_I2C_Read... [15:35:16]Read from MH i2c: F0 09 00 [15:35:16]MH_I2C_Read... [15:35:16]Read from MH i2c: F0 09 00 69 0E 00 B9 E2 5D 66 42 69 5C 66 3A [15:35:16]GetLastDocTimeStamp 1717425413 [15:35:16]current date 1717428921 [15:35:16]FM_GetShiftState [15:35:16]SAM_PROTO_GetShiftState [15:35:16]wFMCommunicate request_size=4 [15:35:16]MH_SAM_APDU [15:35:16]CAPDU: 80 13 01 00 [15:35:16]Write to MH i2c: E2 08 00 6A 0E 80 13 01 00 00 00 00 00 F5 [15:35:16]Write i2c OK [15:35:16]MH_I2C_Read... [15:35:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:16]Read from MH i2c: E2 [15:35:16]MH_I2C_Read... [15:35:16]Read from MH i2c: E2 0E 00 [15:35:16]MH_I2C_Read... [15:35:16]Read from MH i2c: E2 0E 00 6A 0E 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 83 [15:35:16]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [15:35:16]wFMCommunicate OK [15:35:16]SAM_PROTO_GetShiftState done [15:35:16]FM_GetShiftState done [15:35:16]opened in 1717372856 [15:35:16]opened+sec_in_day 1717459256 [15:35:16]quantity*price = 4500 [15:35:16]sum+1 = 4501 [15:35:16]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 305.00 НСП 1% : 2.70 НДС 12% : 32.39 Наличными: 305.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 43 03.06.2024 15:35 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4062 ФПД: 170295597196312 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T153521&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4062&fm=170295597196312&tin=02508201610067®Number=0000000000145775&sum=30500 0 [15:35:17]StoreToDocumentArchive [15:35:17]shift 82 fd 4062 [15:35:17]save to /storage/0082/doc_00004062 [15:35:17]save last doc name /storage/0082/doc_00004062 to /storage/kkm_last_doc_name [15:35:17]save OK [15:35:17]Clear old archive folders... [15:35:17]ProcessDocumentItem done err = 0, tmpTLVsize=375 [15:35:17]tlvbuf is 007AAF60 [15:35:17]SAM_PROTO_ClearQueue [15:35:17]wFMCommunicate request_size=4 [15:35:17]MH_SAM_APDU [15:35:17]CAPDU: 80 09 00 00 [15:35:17]Write to MH i2c: E2 08 00 77 0E 80 09 00 00 00 00 00 00 F7 [15:35:17]Write i2c OK [15:35:17]MH_I2C_Read... [15:35:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:35:17]Read from MH i2c: E2 [15:35:17]MH_I2C_Read... [15:35:17]Read from MH i2c: E2 03 00 [15:35:17]MH_I2C_Read... [15:35:17]Read from MH i2c: E2 03 00 77 0E 00 90 00 F9 [15:35:17]RAPDU: 90 00 [15:35:17]wFMCommunicate OK [15:35:17]SAM_PROTO_ClearQueue done [15:35:17]KKMCreateOFDPacket [15:35:17]OFDProtocolAddRootSTLVToBuf [15:35:17]FM_MakeSignedData [15:35:17]FM_MakeSignedData [15:35:17]SAM_PROTO_SignData [15:35:17]wFMCommunicate request_size=4 [15:35:17]MH_SAM_APDU [15:35:17]CAPDU: 80 0D 01 02 [15:35:17]Write to MH i2c: E2 08 00 78 0E 80 0D 01 02 00 00 00 00 FF [15:35:17]Write i2c OK [15:35:17]MH_I2C_Read... [15:35:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:35:17]Read from MH i2c: E2 [15:35:17]MH_I2C_Read... [15:35:17]Read from MH i2c: E2 03 00 [15:35:17]MH_I2C_Read... [15:35:17]Read from MH i2c: E2 03 00 78 0E 00 90 00 FA [15:35:17]RAPDU: 90 00 [15:35:17]wFMCommunicate OK [15:35:17]wFMCommunicate request_size=255 [15:35:17]MH_SAM_APDU [15:35:17]CAPDU: 80 0D 02 02 FA 03 00 77 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 24 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0E 01 00 00 00 00 EE 03 0F [15:35:17]Write to MH i2c: E2 02 01 79 0E 80 0D 02 02 FA 00 03 00 77 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 24 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0E 01 00 00 00 00 EE 03 0F 00 00 6D [15:35:17]Write i2c OK [15:35:17]MH_I2C_Read... [15:35:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:18]Read from MH i2c: E2 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: E2 03 00 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: E2 03 00 79 0E 00 90 00 FB [15:35:18]RAPDU: 90 00 [15:35:18]wFMCommunicate OK [15:35:18]wFMCommunicate request_size=134 [15:35:18]MH_SAM_APDU [15:35:18]CAPDU: 80 0D 02 02 81 00 F2 03 01 00 01 F3 03 06 00 A7 0C 00 00 00 00 07 04 06 00 24 77 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 E2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DE 0F 00 00 35 04 06 00 9A E2 08 93 E4 18 [15:35:18]Write to MH i2c: E2 89 00 7A 0E 80 0D 02 02 81 00 00 F2 03 01 00 01 F3 03 06 00 A7 0C 00 00 00 00 07 04 06 00 24 77 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 E2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DE 0F 00 00 35 04 06 00 9A E2 08 93 E4 18 00 00 5E [15:35:18]Write i2c OK [15:35:18]MH_I2C_Read... [15:35:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:18]Read from MH i2c: E2 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: E2 03 00 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: E2 03 00 7A 0E 00 90 00 FC [15:35:18]RAPDU: 90 00 [15:35:18]wFMCommunicate OK [15:35:18]wFMCommunicate request_size=4 [15:35:18]MH_SAM_APDU [15:35:18]CAPDU: 80 0D 03 02 [15:35:18]Write to MH i2c: E2 08 00 7B 0E 80 0D 03 02 00 00 00 00 04 [15:35:18]Write i2c OK [15:35:18]MH_I2C_Read... [15:35:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:35:18]Read from MH i2c: E2 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: E2 0B 00 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: E2 0B 00 7B 0E 00 56 DE 3F 19 5E 7E 26 B8 90 00 4B [15:35:18]RAPDU: 56 DE 3F 19 5E 7E 26 B8 90 00 [15:35:18]wFMCommunicate OK [15:35:18]SAM_PROTO_SignData done [15:35:18]FM_MakeSignedData done [15:35:18]CreateOFDProtocolMessage [15:35:18]wFMCommunicate request_size=4 [15:35:18]MH_SAM_APDU [15:35:18]CAPDU: 80 11 00 00 [15:35:18]Write to MH i2c: E2 08 00 7C 0E 80 11 00 00 00 00 00 00 04 [15:35:18]Write i2c OK [15:35:18]MH_I2C_Read... [15:35:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:18]Read from MH i2c: E2 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: E2 17 00 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: E2 17 00 7C 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 57 [15:35:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:35:18]wFMCommunicate OK [15:35:18]CreateOFDProtocolMessage done [15:35:18]OFDSenderStorePacket 4062 [15:35:18]StoreOFDPacket docnum=4062 [15:35:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8B 01 00 00 25 CE 83 01 7E BC 5A 03 01 00 03 00 77 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 24 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A7 0C 00 00 00 00 07 04 06 00 24 77 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 E2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DE 0F 00 00 35 04 06 00 9A E2 08 93 E4 18 56 DE 3F 19 5E 7E 26 B8 [15:35:18]CheckFolder [15:35:18]dirname=/storage/ofd_packets [15:35:18]CheckFolder done [15:35:18]ProducePacketName [15:35:18]name=ofd_packets/00004062 [15:35:18]NVStorageSaveData ofd_packets/00004062 [15:35:18]File name is /storage/ofd_packets/00004062 [15:35:18]Write 425 bytes [15:35:18]NVStorageSaveData done [15:35:18]OFDSenderStorePacket done [15:35:18]KKMCreateOFDPacket done [15:35:18]NVStorageSaveData kkm_last_timestamp [15:35:18]File name is /storage/kkm_last_timestamp [15:35:18]Write 4 bytes [15:35:18]NVStorageSaveData done [15:35:18]ExternCall_PrintAddStr [15:35:18]wPrintStart [15:35:18]Write to MH i2c: 01 00 00 7D 0E 8B [15:35:18]Write i2c OK [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: 01 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: 01 07 00 [15:35:18]MH_I2C_Read... [15:35:18]Read from MH i2c: 01 07 00 7D 0E 00 00 00 00 00 FF 0F A0 [15:35:18]RasterBufferAndPrint [15:35:18]line Счет N : (3)4316 [15:35:18]line ИНН: 02508201610067 [15:35:18]line Контрольно-Кассовый Чек [15:35:18]line ПРОДАЖА [15:35:18]line Товар: 4700000160358 [15:35:18]line Вода Легенда 1л [15:35:18]line 1.000 * 45.00 [15:35:18]line = 45.00 [15:35:18]line НДС 12% НСП 1% [15:35:18]line > о реализуемом товаре [15:35:18]line Товар: 2000036230011 [15:35:18]line Кофе Латте XL(GABB TRADE) [15:35:18]line 2.000 * 130.00 [15:35:18]line = 260.00 [15:35:18]line НДС 12% НСП 1% [15:35:18]line > о реализуемом товаре [15:35:18]line ИТОГО: 305.00 [15:35:18]line НСП 1% : 2.70 [15:35:18]line НДС 12% : 32.39 [15:35:18]line Наличными: 305.00 [15:35:18]line Безнал.: 0.00 [15:35:18]line Место: АЗС № 116 "Партнер Нефть" [15:35:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [15:35:18]line СНО: Общий режим [15:35:18]line Чек 43 03.06.2024 15:35 [15:35:18]line Смена: 82 ФФД: 1.0 [15:35:18]line ЗНМ: 0300000233 [15:35:18]line РНМ: 0000000000145775 [15:35:18]line Версия ККМ: v1.0 [15:35:18]line ФМ: 0000000000959360 [15:35:18]line ФД: 4062 [15:35:18]line ФПД: 170295597196312 [15:35:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T153521&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4062&fm=170295597196312&tin=02508201610067®Number=0000000000145775&sum=30500 [15:35:18]line 0 [15:35:18]OFD Sender: Processing packet 4062 [packets to send 2, broken 1] [15:35:18]ProducePacketName [15:35:18]name=ofd_packets/00004062 [15:35:18]OFD Sender: To server: pG, [15:35:18]CommunicateWithHost lk.salyk.kg:30040 [15:35:18]ConnectInit lk.salyk.kg [15:35:18]written 0, free lines is 4095 [15:35:18]Connected sock=10 [15:35:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8B 01 00 00 25 CE 83 01 7E BC 5A 03 01 00 03 00 77 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 24 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A7 0C 00 00 00 00 07 04 06 00 24 77 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 E2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DE 0F 00 00 35 04 06 00 9A E2 08 93 E4 18 56 DE 3F 19 5E 7E 26 B8 [15:35:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 C8 68 47 00 A9 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DE 0F 00 00 F4 03 04 00 BC 8E 5D 66 B6 04 01 00 00 E5 02 F7 DE 7D 93 8E 12 [15:35:19]CommunicateWithHost err = 0 [15:35:19]CheckOFDResponse [15:35:19]1017 (14) - 77093643461234 [15:35:19]1041 (16) - 0000000000959360 [15:35:19]1040 (4) - 4062 [15:35:19]1012 (4) - 03.06.2024 09:37 [15:35:19]1206 (1) - 0 [15:35:19]OFD Sender: Remove packet 4062 [15:35:19]ProducePacketName [15:35:19]name=ofd_packets/00004062 [15:35:19]NVStorageDeleteData [15:35:19]Write to MH i2c: 01 00 00 AB 0E B9 [15:35:19]Write i2c OK [15:35:19]MH_I2C_Read... [15:35:19]Read from MH i2c: 01 [15:35:19]MH_I2C_Read... [15:35:19]Read from MH i2c: 01 07 00 [15:35:19]MH_I2C_Read... [15:35:19]Read from MH i2c: 01 07 00 AB 0E 00 00 00 00 00 59 0C 25 [15:35:19]RasterBufferAndPrint [15:35:19]line [15:35:19]line [15:35:19]line [15:35:19]line [15:35:19]line [15:35:19]written 0, free lines is 3167 [15:35:19]MH_Cut [15:35:19]Write to MH i2c: D1 01 00 B2 0E 01 92 [15:35:19]Write i2c OK [15:35:19]MH_I2C_Read... [15:35:19]Read from MH i2c: D1 [15:35:19]MH_I2C_Read... [15:35:19]Read from MH i2c: D1 01 00 [15:35:19]MH_I2C_Read... [15:35:19]Read from MH i2c: D1 01 00 B2 0E 00 91 [15:35:19]Write to MH i2c: 01 00 00 B3 0E C1 [15:35:19]Write i2c OK [15:35:19]MH_I2C_Read... [15:35:19]OFD Sender: No OFD packet to send [15:35:20]*** Cut start [15:35:20]*** Partial cut [15:35:20]*** CUTSNS_PIN = 1 [15:35:20]*** CUTSNS_PIN = 0 [15:35:20]*** Brake cut motor [15:35:20]Read from MH i2c: 01 [15:35:20]MH_I2C_Read... [15:35:20]*** Stop cut motor [15:35:20]*** Cut end [15:35:20]Read from MH i2c: 01 07 00 [15:35:20]MH_I2C_Read... [15:35:20]Read from MH i2c: 01 07 00 B3 0E 00 00 00 00 00 FF 0F D6 [15:35:20]process_action close_receipt done [15:35:20]requested_data is exist [15:35:20]produce_requested_data [15:35:20]requested_item fm.sn is exist - process it [15:35:20]wFMCommunicate request_size=4 [15:35:20]MH_SAM_APDU [15:35:20]CAPDU: 80 11 00 00 [15:35:20]Write to MH i2c: E2 08 00 B4 0E 80 11 00 00 00 00 00 00 3C [15:35:20]Write i2c OK [15:35:20]MH_I2C_Read... [15:35:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:20]Read from MH i2c: E2 [15:35:20]MH_I2C_Read... [15:35:20]Read from MH i2c: E2 17 00 [15:35:20]MH_I2C_Read... [15:35:20]Read from MH i2c: E2 17 00 B4 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8F [15:35:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:35:20]wFMCommunicate OK [15:35:20]requested_item fd.num is exist - process it [15:35:20]SAM_PROTO_GetFieldsCounters [15:35:20]wFMCommunicate request_size=4 [15:35:20]MH_SAM_APDU [15:35:20]CAPDU: 80 13 00 00 [15:35:20]Write to MH i2c: E2 08 00 B5 0E 80 13 00 00 00 00 00 00 3F [15:35:20]Write i2c OK [15:35:20]MH_I2C_Read... [15:35:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:35:21]Read from MH i2c: E2 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 62 00 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 62 00 B5 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DE 0F 00 00 0E 04 04 00 52 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 24 [15:35:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DE 0F 00 00 0E 04 04 00 52 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:35:21]wFMCommunicate OK [15:35:21]SAM_PROTO_GetFieldsCounters done [15:35:21]requested_item shift.num is exist - process it [15:35:21]requested_item shift.opened is exist - process it [15:35:21]req_shift_opened [15:35:21]FM_GetShiftState [15:35:21]SAM_PROTO_GetShiftState [15:35:21]wFMCommunicate request_size=4 [15:35:21]MH_SAM_APDU [15:35:21]CAPDU: 80 13 01 00 [15:35:21]Write to MH i2c: E2 08 00 B6 0E 80 13 01 00 00 00 00 00 41 [15:35:21]Write i2c OK [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 [15:35:21]MH_I2C_Read... [15:35:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:21]Read from MH i2c: E2 0E 00 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 0E 00 B6 0E 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 CF [15:35:21]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [15:35:21]wFMCommunicate OK [15:35:21]SAM_PROTO_GetShiftState done [15:35:21]FM_GetShiftState done [15:35:21]req_shift_opened done [15:35:21]requested_item shift.open_date is exist - process it [15:35:21]req_shift_open_date [15:35:21]req_shift_open_date done [15:35:21]produce_requested_data done [15:35:21]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4062,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [15:35:21]process_action_free close_receipt [15:35:21]json_value_free [15:35:21]json_value_free done [15:35:21]process_json_proto returns [15:35:21]Send response to host [15:35:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4062,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [15:35:21]free response buf [15:35:21]execute_script done [15:35:21]execute_script returns [15:35:21]free content buf [15:35:21]Sock 9.Close socket [15:35:21]Sock 9.Thread stoped [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [15:37:44]OFD Sender: No OFD packet to send [15:37:49]OFD Sender: No OFD packet to send [15:37:54]OFD Sender: No OFD packet to send [15:37:59]OFD Sender: No OFD packet to send [15:38:04]OFD Sender: No OFD packet to send [15:38:09]OFD Sender: No OFD packet to send [15:38:14]OFD Sender: No OFD packet to send [15:38:19]OFD Sender: No OFD packet to send [15:38:24]OFD Sender: No OFD packet to send [15:38:29]OFD Sender: No OFD packet to send [15:38:34]OFD Sender: No OFD packet to send [15:38:39]OFD Sender: No OFD packet to send [15:38:44]OFD Sender: No OFD packet to send [15:38:49]OFD Sender: No OFD packet to send [15:38:54]OFD Sender: No OFD packet to send [15:38:59]OFD Sender: No OFD packet to send [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:49]OFD Sender: No OFD packet to send [15:43:54]OFD Sender: No OFD packet to send [15:43:59]OFD Sender: No OFD packet to send [15:44:04]OFD Sender: No OFD packet to send [15:44:09]OFD Sender: No OFD packet to send [15:44:14]OFD Sender: No OFD packet to send [15:44:19]OFD Sender: No OFD packet to send [15:44:24]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:20]OFD Sender: No OFD packet to send [15:51:25]OFD Sender: No OFD packet to send [15:51:30]OFD Sender: No OFD packet to send [15:51:35]OFD Sender: No OFD packet to send [15:51:40]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:45]OFD Sender: No OFD packet to send [15:57:50]OFD Sender: No OFD packet to send [15:57:55]OFD Sender: No OFD packet to send [15:58:00]OFD Sender: No OFD packet to send [15:58:05]OFD Sender: No OFD packet to send [15:58:10]OFD Sender: No OFD packet to send [15:58:15]OFD Sender: No OFD packet to send [15:58:20]OFD Sender: No OFD packet to send [15:58:25]OFD Sender: No OFD packet to send [15:58:30]OFD Sender: No OFD packet to send [15:58:35]OFD Sender: No OFD packet to send [15:58:40]OFD Sender: No OFD packet to send [15:58:45]OFD Sender: No OFD packet to send [15:58:50]OFD Sender: No OFD packet to send [15:58:55]OFD Sender: No OFD packet to send [15:59:00]OFD Sender: No OFD packet to send [15:59:05]OFD Sender: No OFD packet to send [15:59:10]OFD Sender: No OFD packet to send [15:59:15]OFD Sender: No OFD packet to send [15:59:20]OFD Sender: No OFD packet to send [15:59:25]OFD Sender: No OFD packet to send [15:59:30]OFD Sender: No OFD packet to send [15:59:35]OFD Sender: No OFD packet to send [15:59:40]OFD Sender: No OFD packet to send [15:59:45]OFD Sender: No OFD packet to send [15:59:50]OFD Sender: No OFD packet to send [15:59:55]OFD Sender: No OFD packet to send [16:00:00]OFD Sender: No OFD packet to send [16:00:05]OFD Sender: No OFD packet to send [16:00:10]OFD Sender: No OFD packet to send [16:00:15]OFD Sender: No OFD packet to send [16:00:20]OFD Sender: No OFD packet to send [16:00:25]OFD Sender: No OFD packet to send [16:00:30]OFD Sender: No OFD packet to send [16:00:35]OFD Sender: No OFD packet to send [16:00:40]OFD Sender: No OFD packet to send [16:00:45]OFD Sender: No OFD packet to send [16:00:50]OFD Sender: No OFD packet to send [16:00:55]OFD Sender: No OFD packet to send [16:01:00]OFD Sender: No OFD packet to send [16:01:05]OFD Sender: No OFD packet to send [16:01:10]OFD Sender: No OFD packet to send [16:01:15]OFD Sender: No OFD packet to send [16:01:20]OFD Sender: No OFD packet to send [16:01:25]OFD Sender: No OFD packet to send [16:01:30]OFD Sender: No OFD packet to send [16:01:35]OFD Sender: No OFD packet to send [16:01:40]OFD Sender: No OFD packet to send [16:01:45]OFD Sender: No OFD packet to send [16:01:50]OFD Sender: No OFD packet to send [16:01:55]OFD Sender: No OFD packet to send [16:02:00]OFD Sender: No OFD packet to send [16:02:05]OFD Sender: No OFD packet to send [16:02:10]OFD Sender: No OFD packet to send [16:02:15]OFD Sender: No OFD packet to send [16:02:20]OFD Sender: No OFD packet to send [16:02:25]OFD Sender: No OFD packet to send [16:02:30]OFD Sender: No OFD packet to send [16:02:35]OFD Sender: No OFD packet to send [16:02:40]OFD Sender: No OFD packet to send [16:02:45]OFD Sender: No OFD packet to send [16:02:50]OFD Sender: No OFD packet to send [16:02:55]OFD Sender: No OFD packet to send [16:03:00]OFD Sender: No OFD packet to send [16:03:05]OFD Sender: No OFD packet to send [16:03:10]OFD Sender: No OFD packet to send [16:03:15]OFD Sender: No OFD packet to send [16:03:20]OFD Sender: No OFD packet to send [16:03:25]OFD Sender: No OFD packet to send [16:03:30]OFD Sender: No OFD packet to send [16:03:35]OFD Sender: No OFD packet to send [16:03:40]OFD Sender: No OFD packet to send [16:03:45]OFD Sender: No OFD packet to send [16:03:50]OFD Sender: No OFD packet to send [16:03:55]OFD Sender: No OFD packet to send [16:04:00]OFD Sender: No OFD packet to send [16:04:05]OFD Sender: No OFD packet to send [16:04:10]OFD Sender: No OFD packet to send [16:04:15]OFD Sender: No OFD packet to send [16:04:20]OFD Sender: No OFD packet to send [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:45]OFD Sender: No OFD packet to send [16:05:50]OFD Sender: No OFD packet to send [16:05:55]OFD Sender: No OFD packet to send [16:06:00]OFD Sender: No OFD packet to send [16:06:05]OFD Sender: No OFD packet to send [16:06:10]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:21]OFD Sender: No OFD packet to send [16:06:26]OFD Sender: No OFD packet to send [16:06:31]OFD Sender: No OFD packet to send [16:06:36]OFD Sender: No OFD packet to send [16:06:41]OFD Sender: No OFD packet to send [16:06:46]OFD Sender: No OFD packet to send [16:06:51]OFD Sender: No OFD packet to send [16:06:56]OFD Sender: No OFD packet to send [16:07:01]OFD Sender: No OFD packet to send [16:07:06]OFD Sender: No OFD packet to send [16:07:11]OFD Sender: No OFD packet to send [16:07:16]OFD Sender: No OFD packet to send [16:07:21]OFD Sender: No OFD packet to send [16:07:26]OFD Sender: No OFD packet to send [16:07:31]OFD Sender: No OFD packet to send [16:07:36]OFD Sender: No OFD packet to send [16:07:41]OFD Sender: No OFD packet to send [16:07:46]OFD Sender: No OFD packet to send [16:07:51]OFD Sender: No OFD packet to send [16:07:56]OFD Sender: No OFD packet to send [16:08:01]OFD Sender: No OFD packet to send [16:08:06]OFD Sender: No OFD packet to send [16:08:11]OFD Sender: No OFD packet to send [16:08:16]OFD Sender: No OFD packet to send [16:08:21]OFD Sender: No OFD packet to send [16:08:26]OFD Sender: No OFD packet to send [16:08:31]OFD Sender: No OFD packet to send [16:08:36]OFD Sender: No OFD packet to send [16:08:41]OFD Sender: No OFD packet to send [16:08:46]OFD Sender: No OFD packet to send [16:08:51]OFD Sender: No OFD packet to send [16:08:56]OFD Sender: No OFD packet to send [16:09:01]OFD Sender: No OFD packet to send [16:09:06]OFD Sender: No OFD packet to send [16:09:11]OFD Sender: No OFD packet to send [16:09:16]OFD Sender: No OFD packet to send [16:09:21]OFD Sender: No OFD packet to send [16:09:26]OFD Sender: No OFD packet to send [16:09:31]OFD Sender: No OFD packet to send [16:09:36]OFD Sender: No OFD packet to send [16:09:41]OFD Sender: No OFD packet to send [16:09:46]OFD Sender: No OFD packet to send [16:09:51]OFD Sender: No OFD packet to send [16:09:56]OFD Sender: No OFD packet to send [16:10:01]OFD Sender: No OFD packet to send [16:10:06]OFD Sender: No OFD packet to send [16:10:11]OFD Sender: No OFD packet to send [16:10:16]OFD Sender: No OFD packet to send [16:10:21]OFD Sender: No OFD packet to send [16:10:26]OFD Sender: No OFD packet to send [16:10:31]OFD Sender: No OFD packet to send [16:10:36]OFD Sender: No OFD packet to send [16:10:41]OFD Sender: No OFD packet to send [16:10:46]OFD Sender: No OFD packet to send [16:10:51]OFD Sender: No OFD packet to send [16:10:56]OFD Sender: No OFD packet to send [16:11:01]OFD Sender: No OFD packet to send [16:11:06]OFD Sender: No OFD packet to send [16:11:11]OFD Sender: No OFD packet to send [16:11:16]OFD Sender: No OFD packet to send [16:11:21]OFD Sender: No OFD packet to send [16:11:26]OFD Sender: No OFD packet to send [16:11:31]OFD Sender: No OFD packet to send [16:11:36]OFD Sender: No OFD packet to send [16:11:41]OFD Sender: No OFD packet to send [16:11:46]OFD Sender: No OFD packet to send [16:11:51]OFD Sender: No OFD packet to send [16:11:56]OFD Sender: No OFD packet to send [16:12:01]OFD Sender: No OFD packet to send [16:12:06]OFD Sender: No OFD packet to send [16:12:11]OFD Sender: No OFD packet to send [16:12:16]OFD Sender: No OFD packet to send [16:12:21]OFD Sender: No OFD packet to send [16:12:26]OFD Sender: No OFD packet to send [16:12:31]OFD Sender: No OFD packet to send [16:12:36]OFD Sender: No OFD packet to send [16:12:41]OFD Sender: No OFD packet to send [16:12:46]OFD Sender: No OFD packet to send [16:12:51]OFD Sender: No OFD packet to send [16:12:56]OFD Sender: No OFD packet to send [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:21]OFD Sender: No OFD packet to send [16:13:26]OFD Sender: No OFD packet to send [16:13:31]OFD Sender: No OFD packet to send [16:13:36]OFD Sender: No OFD packet to send [16:13:41]OFD Sender: No OFD packet to send [16:13:46]OFD Sender: No OFD packet to send [16:13:51]OFD Sender: No OFD packet to send [16:13:56]OFD Sender: No OFD packet to send [16:14:01]OFD Sender: No OFD packet to send [16:14:06]OFD Sender: No OFD packet to send [16:14:11]OFD Sender: No OFD packet to send [16:14:16]OFD Sender: No OFD packet to send [16:14:21]OFD Sender: No OFD packet to send [16:14:26]OFD Sender: No OFD packet to send [16:14:31]OFD Sender: No OFD packet to send [16:14:36]OFD Sender: No OFD packet to send [16:14:41]OFD Sender: No OFD packet to send [16:14:46]OFD Sender: No OFD packet to send [16:14:51]OFD Sender: No OFD packet to send [16:14:56]OFD Sender: No OFD packet to send [16:15:01]OFD Sender: No OFD packet to send [16:15:06]OFD Sender: No OFD packet to send [16:15:11]OFD Sender: No OFD packet to send [16:15:16]OFD Sender: No OFD packet to send [16:15:21]OFD Sender: No OFD packet to send [16:15:26]OFD Sender: No OFD packet to send [16:15:31]OFD Sender: No OFD packet to send [16:15:36]OFD Sender: No OFD packet to send [16:15:41]OFD Sender: No OFD packet to send [16:15:46]OFD Sender: No OFD packet to send [16:15:51]OFD Sender: No OFD packet to send [16:15:56]OFD Sender: No OFD packet to send [16:16:01]OFD Sender: No OFD packet to send [16:16:06]OFD Sender: No OFD packet to send [16:16:11]OFD Sender: No OFD packet to send [16:16:16]OFD Sender: No OFD packet to send [16:16:21]OFD Sender: No OFD packet to send [16:16:26]OFD Sender: No OFD packet to send [16:16:31]OFD Sender: No OFD packet to send [16:16:36]OFD Sender: No OFD packet to send [16:16:41]OFD Sender: No OFD packet to send [16:16:46]OFD Sender: No OFD packet to send [16:16:51]OFD Sender: No OFD packet to send [16:16:56]OFD Sender: No OFD packet to send [16:17:01]OFD Sender: No OFD packet to send [16:17:06]OFD Sender: No OFD packet to send [16:17:11]OFD Sender: No OFD packet to send [16:17:16]OFD Sender: No OFD packet to send [16:17:21]OFD Sender: No OFD packet to send [16:17:26]OFD Sender: No OFD packet to send [16:17:31]OFD Sender: No OFD packet to send [16:17:36]OFD Sender: No OFD packet to send [16:17:41]OFD Sender: No OFD packet to send [16:17:46]OFD Sender: No OFD packet to send [16:17:51]OFD Sender: No OFD packet to send [16:17:56]OFD Sender: No OFD packet to send [16:18:01]OFD Sender: No OFD packet to send [16:18:06]OFD Sender: No OFD packet to send [16:18:11]OFD Sender: No OFD packet to send [16:18:16]OFD Sender: No OFD packet to send [16:18:21]OFD Sender: No OFD packet to send [16:18:26]OFD Sender: No OFD packet to send [16:18:31]OFD Sender: No OFD packet to send [16:18:36]OFD Sender: No OFD packet to send [16:18:41]OFD Sender: No OFD packet to send [16:18:46]OFD Sender: No OFD packet to send [16:18:51]OFD Sender: No OFD packet to send [16:18:56]OFD Sender: No OFD packet to send [16:19:01]OFD Sender: No OFD packet to send [16:19:06]OFD Sender: No OFD packet to send [16:19:11]OFD Sender: No OFD packet to send [16:19:16]OFD Sender: No OFD packet to send [16:19:21]OFD Sender: No OFD packet to send [16:19:26]OFD Sender: No OFD packet to send [16:19:31]OFD Sender: No OFD packet to send [16:19:36]OFD Sender: No OFD packet to send [16:19:41]OFD Sender: No OFD packet to send [16:19:46]OFD Sender: No OFD packet to send [16:19:51]OFD Sender: No OFD packet to send [16:19:56]OFD Sender: No OFD packet to send [16:20:01]OFD Sender: No OFD packet to send [16:20:06]OFD Sender: No OFD packet to send [16:20:11]OFD Sender: No OFD packet to send [16:20:16]OFD Sender: No OFD packet to send [16:20:21]OFD Sender: No OFD packet to send [16:20:26]OFD Sender: No OFD packet to send [16:20:31]OFD Sender: No OFD packet to send [16:20:36]OFD Sender: No OFD packet to send [16:20:41]OFD Sender: No OFD packet to send [16:20:46]OFD Sender: No OFD packet to send [16:20:51]OFD Sender: No OFD packet to send [16:20:56]OFD Sender: No OFD packet to send [16:21:01]OFD Sender: No OFD packet to send [16:21:06]OFD Sender: No OFD packet to send [16:21:11]OFD Sender: No OFD packet to send [16:21:16]OFD Sender: No OFD packet to send [16:21:21]OFD Sender: No OFD packet to send [16:21:26]OFD Sender: No OFD packet to send [16:21:31]OFD Sender: No OFD packet to send [16:21:36]OFD Sender: No OFD packet to send [16:21:41]OFD Sender: No OFD packet to send [16:21:46]OFD Sender: No OFD packet to send [16:21:51]OFD Sender: No OFD packet to send [16:21:56]OFD Sender: No OFD packet to send [16:22:01]OFD Sender: No OFD packet to send [16:22:06]OFD Sender: No OFD packet to send [16:22:11]OFD Sender: No OFD packet to send [16:22:16]OFD Sender: No OFD packet to send [16:22:21]OFD Sender: No OFD packet to send [16:22:26]OFD Sender: No OFD packet to send [16:22:31]OFD Sender: No OFD packet to send [16:22:36]OFD Sender: No OFD packet to send [16:22:41]OFD Sender: No OFD packet to send [16:22:46]OFD Sender: No OFD packet to send [16:22:51]OFD Sender: No OFD packet to send [16:22:56]OFD Sender: No OFD packet to send [16:23:01]OFD Sender: No OFD packet to send [16:23:06]OFD Sender: No OFD packet to send [16:23:11]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:36]OFD Sender: No OFD packet to send [16:24:41]OFD Sender: No OFD packet to send [16:24:46]OFD Sender: No OFD packet to send [16:24:51]OFD Sender: No OFD packet to send [16:24:56]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:06]OFD Sender: No OFD packet to send [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:53]accept exits with 8 [16:25:53]New connection [16:25:53]New thread 3067370852 created [16:25:53]Thread 3067227492 joined [16:25:53]Waiting for new connection... [16:25:53] Sock 8.Parse request [16:25:53]Sock 8.Check first char [16:25:53]Sock 8.First char is OK [16:25:53]request: POST /json_proto HTTP/1.0 [16:25:53]Method: POST [16:25:53]URL: /json_proto [16:25:53]Method is POST - this is cgi request [16:25:53]url: /json_proto [16:25:53]query_string will be loaded in cgi processing [16:25:53]execute_cgi json_proto POST (null) [16:25:53]execute_cgi path=json_proto method=POST [16:25:53]POST find Content-Length [16:25:53]Host: 172.17.56.68:8080 [16:25:53]Content-Length: 709 [16:25:53]Content-Type: application/json [16:25:53] [16:25:53]POST finish read [16:25:53]Found Content-Length = 709 [16:25:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4317", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:53]execute_script... [16:25: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)4317", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:53]POST & json_proto [16:25:53]process_json_proto [16:25:53]json parsed OK: [16:25:53]protocol is kg_v1.0 [16:25:53]action value=close_receipt [16:25:53]process_action close_receipt [16:25:53]cmd_close_receipt [16:25:53]MH_GetDate [16:25:53]Write to MH i2c: F0 00 00 B7 0E B4 [16:25:53]Write i2c OK [16:25:53]MH_I2C_Read... [16:25:53]Read from MH i2c: F0 [16:25:53]MH_I2C_Read... [16:25:53]Read from MH i2c: F0 09 00 [16:25:53]MH_I2C_Read... [16:25:53]Read from MH i2c: F0 09 00 B7 0E 00 95 EE 5D 66 42 69 5C 66 70 [16:25:53]GetLastDocTimeStamp 1717428921 [16:25:53]current date 1717431957 [16:25:53]FM_GetShiftState [16:25:53]SAM_PROTO_GetShiftState [16:25:53]wFMCommunicate request_size=4 [16:25:53]MH_SAM_APDU [16:25:53]CAPDU: 80 13 01 00 [16:25:53]Write to MH i2c: E2 08 00 B8 0E 80 13 01 00 00 00 00 00 43 [16:25:53]Write i2c OK [16:25:53]MH_I2C_Read... [16:25:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:53]Read from MH i2c: E2 [16:25:53]MH_I2C_Read... [16:25:53]Read from MH i2c: E2 0E 00 [16:25:53]MH_I2C_Read... [16:25:53]Read from MH i2c: E2 0E 00 B8 0E 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 D1 [16:25:53]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:25:53]wFMCommunicate OK [16:25:53]SAM_PROTO_GetShiftState done [16:25:53]FM_GetShiftState done [16:25:53]opened in 1717372856 [16:25:53]opened+sec_in_day 1717459256 [16:25:53]quantity*price = 8500 [16:25:53]sum+1 = 8501 [16:25:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 44 03.06.2024 16:25 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4063 ФПД: 261988622405622 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T162557&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4063&fm=261988622405622&tin=02508201610067®Number=0000000000145775&sum=8500 0 [16:25:54]StoreToDocumentArchive [16:25:54]shift 82 fd 4063 [16:25:54]save to /storage/0082/doc_00004063 [16:25:54]save last doc name /storage/0082/doc_00004063 to /storage/kkm_last_doc_name [16:25:54]save OK [16:25:54]Clear old archive folders... [16:25:54]ProcessDocumentItem done err = 0, tmpTLVsize=302 [16:25:54]tlvbuf is 007831C0 [16:25:54]SAM_PROTO_ClearQueue [16:25:54]wFMCommunicate request_size=4 [16:25:54]MH_SAM_APDU [16:25:54]CAPDU: 80 09 00 00 [16:25:54]Write to MH i2c: E2 08 00 C5 0E 80 09 00 00 00 00 00 00 45 [16:25:54]Write i2c OK [16:25:54]MH_I2C_Read... [16:25:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:54]Read from MH i2c: E2 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 03 00 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 03 00 C5 0E 00 90 00 47 [16:25:54]RAPDU: 90 00 [16:25:54]wFMCommunicate OK [16:25:54]SAM_PROTO_ClearQueue done [16:25:54]KKMCreateOFDPacket [16:25:54]OFDProtocolAddRootSTLVToBuf [16:25:54]FM_MakeSignedData [16:25:54]FM_MakeSignedData [16:25:54]SAM_PROTO_SignData [16:25:54]wFMCommunicate request_size=4 [16:25:54]MH_SAM_APDU [16:25:54]CAPDU: 80 0D 01 02 [16:25:54]Write to MH i2c: E2 08 00 C6 0E 80 0D 01 02 00 00 00 00 4D [16:25:54]Write i2c OK [16:25:54]MH_I2C_Read... [16:25:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:54]Read from MH i2c: E2 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 03 00 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 03 00 C6 0E 00 90 00 48 [16:25:54]RAPDU: 90 00 [16:25:54]wFMCommunicate OK [16:25:54]wFMCommunicate request_size=255 [16:25:54]MH_SAM_APDU [16:25:54]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 95 EE 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 [16:25:54]Write to MH i2c: E2 02 01 C7 0E 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 95 EE 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 00 00 4F [16:25:54]Write i2c OK [16:25:54]MH_I2C_Read... [16:25:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:54]Read from MH i2c: E2 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 03 00 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 03 00 C7 0E 00 90 00 49 [16:25:54]RAPDU: 90 00 [16:25:54]wFMCommunicate OK [16:25:54]wFMCommunicate request_size=61 [16:25:54]MH_SAM_APDU [16:25:54]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DF 0F 00 00 35 04 06 00 EE 46 FA C6 0F F6 [16:25:54]Write to MH i2c: E2 40 00 C8 0E 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DF 0F 00 00 35 04 06 00 EE 46 FA C6 0F F6 00 00 70 [16:25:54]Write i2c OK [16:25:54]MH_I2C_Read... [16:25:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:54]Read from MH i2c: E2 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 03 00 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 03 00 C8 0E 00 90 00 4A [16:25:54]RAPDU: 90 00 [16:25:54]wFMCommunicate OK [16:25:54]wFMCommunicate request_size=4 [16:25:54]MH_SAM_APDU [16:25:54]CAPDU: 80 0D 03 02 [16:25:54]Write to MH i2c: E2 08 00 C9 0E 80 0D 03 02 00 00 00 00 52 [16:25:54]Write i2c OK [16:25:54]MH_I2C_Read... [16:25:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:54]Read from MH i2c: E2 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 0B 00 [16:25:54]MH_I2C_Read... [16:25:54]Read from MH i2c: E2 0B 00 C9 0E 00 EB 77 50 00 BA D5 69 81 90 00 7E [16:25:54]RAPDU: EB 77 50 00 BA D5 69 81 90 00 [16:25:54]wFMCommunicate OK [16:25:54]SAM_PROTO_SignData done [16:25:54]FM_MakeSignedData done [16:25:54]CreateOFDProtocolMessage [16:25:54]wFMCommunicate request_size=4 [16:25:54]MH_SAM_APDU [16:25:54]CAPDU: 80 11 00 00 [16:25:54]Write to MH i2c: E2 08 00 CA 0E 80 11 00 00 00 00 00 00 52 [16:25:54]Write i2c OK [16:25:54]MH_I2C_Read... [16:25:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:55]Read from MH i2c: E2 [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: E2 17 00 [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: E2 17 00 CA 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A5 [16:25:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:25:55]wFMCommunicate OK [16:25:55]CreateOFDProtocolMessage done [16:25:55]OFDSenderStorePacket 4063 [16:25:55]StoreOFDPacket docnum=4063 [16:25:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 42 01 00 00 8F 1C 3A 01 3D 2B 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 95 EE 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DF 0F 00 00 35 04 06 00 EE 46 FA C6 0F F6 EB 77 50 00 BA D5 69 81 [16:25:55]CheckFolder [16:25:55]dirname=/storage/ofd_packets [16:25:55]CheckFolder done [16:25:55]ProducePacketName [16:25:55]name=ofd_packets/00004063 [16:25:55]NVStorageSaveData ofd_packets/00004063 [16:25:55]File name is /storage/ofd_packets/00004063 [16:25:55]Write 352 bytes [16:25:55]NVStorageSaveData done [16:25:55]OFDSenderStorePacket done [16:25:55]KKMCreateOFDPacket done [16:25:55]NVStorageSaveData kkm_last_timestamp [16:25:55]File name is /storage/kkm_last_timestamp [16:25:55]Write 4 bytes [16:25:55]OFD Sender: Processing packet 4063 [packets to send 2, broken 1] [16:25:55]ProducePacketName [16:25:55]name=ofd_packets/00004063 [16:25:55]OFD Sender: To server: pG, [16:25:55]CommunicateWithHost lk.salyk.kg:30040 [16:25:55]ConnectInit lk.salyk.kg [16:25:55]NVStorageSaveData done [16:25:55]ExternCall_PrintAddStr [16:25:55]wPrintStart [16:25:55]Write to MH i2c: 01 00 00 CB 0E D9 [16:25:55]Write i2c OK [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: 01 [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: 01 07 00 [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: 01 07 00 CB 0E 00 00 00 00 00 FF 0F EE [16:25:55]RasterBufferAndPrint [16:25:55]line Счет N : (3)4317 [16:25:55]line ИНН: 02508201610067 [16:25:55]line Контрольно-Кассовый Чек [16:25:55]line ПРОДАЖА [16:25:55]line Товар: 4870001571030 [16:25:55]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [16:25:55]line 1.000 * 85.00 [16:25:55]line = 85.00 [16:25:55]line НДС 12% НСП 1% [16:25:55]line > о реализуемом товаре [16:25:55]line ИТОГО: 85.00 [16:25:55]line НСП 1% : 0.75 [16:25:55]line НДС 12% : 9.03 [16:25:55]line Наличными: 85.00 [16:25:55]line Безнал.: 0.00 [16:25:55]line Место: АЗС № 116 "Партнер Нефть" [16:25:55]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:25:55]line СНО: Общий режим [16:25:55]line Чек 44 03.06.2024 16:25 [16:25:55]line Смена: 82 ФФД: 1.0 [16:25:55]line ЗНМ: 0300000233 [16:25:55]line РНМ: 0000000000145775 [16:25:55]line Версия ККМ: v1.0 [16:25:55]line ФМ: 0000000000959360 [16:25:55]line ФД: 4063 [16:25:55]line ФПД: 261988622405622 [16:25:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T162557&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4063&fm=261988622405622&tin=02508201610067®Number=0000000000145775&sum=8500 [16:25:55]line 0 [16:25:55]Connected sock=11 [16:25:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 42 01 00 00 8F 1C 3A 01 3D 2B 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 95 EE 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DF 0F 00 00 35 04 06 00 EE 46 FA C6 0F F6 EB 77 50 00 BA D5 69 81 [16:25:55]written 0, free lines is 4095 [16:25:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E1 DE 47 00 FA CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 DF 0F 00 00 F4 03 04 00 98 9A 5D 66 B6 04 01 00 00 9C 8B EF 62 AE 4D E2 2A [16:25:55]CommunicateWithHost err = 0 [16:25:55]CheckOFDResponse [16:25:55]1017 (14) - 77093643461234 [16:25:55]1041 (16) - 0000000000959360 [16:25:55]1040 (4) - 4063 [16:25:55]1012 (4) - 03.06.2024 10:27 [16:25:55]1206 (1) - 0 [16:25:55]OFD Sender: Remove packet 4063 [16:25:55]ProducePacketName [16:25:55]name=ofd_packets/00004063 [16:25:55]NVStorageDeleteData [16:25:55]Write to MH i2c: 01 00 00 F4 0E 02 [16:25:55]Write i2c OK [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: 01 [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: 01 07 00 [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: 01 07 00 F4 0E 00 00 00 00 00 C1 0C D6 [16:25:55]RasterBufferAndPrint [16:25:55]line [16:25:55]line [16:25:55]line [16:25:55]line [16:25:55]line [16:25:55]written 0, free lines is 3270 [16:25:55]MH_Cut [16:25:55]Write to MH i2c: D1 01 00 FB 0E 01 DB [16:25:55]Write i2c OK [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: D1 [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: D1 01 00 [16:25:55]MH_I2C_Read... [16:25:55]Read from MH i2c: D1 01 00 FB 0E 00 DA [16:25:55]Write to MH i2c: 01 00 00 FC 0E 0A [16:25:55]Write i2c OK [16:25:55]MH_I2C_Read... [16:25:56]OFD Sender: No OFD packet to send [16:25:56]*** Cut start [16:25:56]*** Partial cut [16:25:56]*** CUTSNS_PIN = 1 [16:25:56]*** CUTSNS_PIN = 0 [16:25:56]*** Brake cut motor [16:25:57]Read from MH i2c: 01 [16:25:57]MH_I2C_Read... [16:25:57]*** Stop cut motor [16:25:57]*** Cut end [16:25:57]Read from MH i2c: 01 07 00 [16:25:57]MH_I2C_Read... [16:25:57]Read from MH i2c: 01 07 00 FC 0E 00 00 00 00 00 FF 0F 1F [16:25:57]process_action close_receipt done [16:25:57]requested_data is exist [16:25:57]produce_requested_data [16:25:57]requested_item fm.sn is exist - process it [16:25:57]wFMCommunicate request_size=4 [16:25:57]MH_SAM_APDU [16:25:57]CAPDU: 80 11 00 00 [16:25:57]Write to MH i2c: E2 08 00 FD 0E 80 11 00 00 00 00 00 00 85 [16:25:57]Write i2c OK [16:25:57]MH_I2C_Read... [16:25:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:57]Read from MH i2c: E2 [16:25:57]MH_I2C_Read... [16:25:57]Read from MH i2c: E2 17 00 [16:25:57]MH_I2C_Read... [16:25:57]Read from MH i2c: E2 17 00 FD 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D8 [16:25:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:25:57]wFMCommunicate OK [16:25:57]requested_item fd.num is exist - process it [16:25:57]SAM_PROTO_GetFieldsCounters [16:25:57]wFMCommunicate request_size=4 [16:25:57]MH_SAM_APDU [16:25:57]CAPDU: 80 13 00 00 [16:25:57]Write to MH i2c: E2 08 00 FE 0E 80 13 00 00 00 00 00 00 88 [16:25:57]Write i2c OK [16:25:57]MH_I2C_Read... [16:25:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:57]Read from MH i2c: E2 [16:25:57]MH_I2C_Read... [16:25:57]Read from MH i2c: E2 62 00 [16:25:57]MH_I2C_Read... [16:25:57]Read from MH i2c: E2 62 00 FE 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DF 0F 00 00 0E 04 04 00 52 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 71 [16:25:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 DF 0F 00 00 0E 04 04 00 52 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 [16:25:57]wFMCommunicate OK [16:25:57]SAM_PROTO_GetFieldsCounters done [16:25:57]requested_item shift.num is exist - process it [16:25:57]requested_item shift.opened is exist - process it [16:25:57]req_shift_opened [16:25:57]FM_GetShiftState [16:25:57]SAM_PROTO_GetShiftState [16:25:57]wFMCommunicate request_size=4 [16:25:57]MH_SAM_APDU [16:25:57]CAPDU: 80 13 01 00 [16:25:57]Write to MH i2c: E2 08 00 FF 0E 80 13 01 00 00 00 00 00 8A [16:25:57]Write i2c OK [16:25:57]MH_I2C_Read... [16:25:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:57]Read from MH i2c: E2 [16:25:57]MH_I2C_Read... [16:25:57]Read from MH i2c: E2 0E 00 [16:25:57]MH_I2C_Read... [16:25:57]Read from MH i2c: E2 0E 00 FF 0E 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 18 [16:25:57]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:25:57]wFMCommunicate OK [16:25:57]SAM_PROTO_GetShiftState done [16:25:57]FM_GetShiftState done [16:25:57]req_shift_opened done [16:25:57]requested_item shift.open_date is exist - process it [16:25:57]req_shift_open_date [16:25:57]req_shift_open_date done [16:25:57]produce_requested_data done [16:25:57]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4063,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [16:25:57]process_action_free close_receipt [16:25:57]json_value_free [16:25:57]json_value_free done [16:25:57]process_json_proto returns [16:25:57]Send response to host [16:25:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4063,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [16:25:57]free response buf [16:25:57]execute_script done [16:25:57]execute_script returns [16:25:57]free content buf [16:25:57]Sock 8.Close socket [16:25:57]Sock 8.Thread stoped [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:56]OFD Sender: No OFD packet to send [16:27:01]OFD Sender: No OFD packet to send [16:27:06]OFD Sender: No OFD packet to send [16:27:11]OFD Sender: No OFD packet to send [16:27:16]OFD Sender: No OFD packet to send [16:27:21]OFD Sender: No OFD packet to send [16:27:26]OFD Sender: No OFD packet to send [16:27:31]OFD Sender: No OFD packet to send [16:27:36]OFD Sender: No OFD packet to send [16:27:41]OFD Sender: No OFD packet to send [16:27:46]OFD Sender: No OFD packet to send [16:27:51]OFD Sender: No OFD packet to send [16:27:56]OFD Sender: No OFD packet to send [16:28:01]OFD Sender: No OFD packet to send [16:28:06]OFD Sender: No OFD packet to send [16:28:11]OFD Sender: No OFD packet to send [16:28:16]OFD Sender: No OFD packet to send [16:28:21]OFD Sender: No OFD packet to send [16:28:26]OFD Sender: No OFD packet to send [16:28:31]OFD Sender: No OFD packet to send [16:28:36]OFD Sender: No OFD packet to send [16:28:41]OFD Sender: No OFD packet to send [16:28:46]OFD Sender: No OFD packet to send [16:28:51]OFD Sender: No OFD packet to send [16:28:56]OFD Sender: No OFD packet to send [16:29:01]OFD Sender: No OFD packet to send [16:29:06]OFD Sender: No OFD packet to send [16:29:11]OFD Sender: No OFD packet to send [16:29:16]OFD Sender: No OFD packet to send [16:29:21]OFD Sender: No OFD packet to send [16:29:26]OFD Sender: No OFD packet to send [16:29:31]OFD Sender: No OFD packet to send [16:29:36]OFD Sender: No OFD packet to send [16:29:41]OFD Sender: No OFD packet to send [16:29:46]OFD Sender: No OFD packet to send [16:29:51]OFD Sender: No OFD packet to send [16:29:56]OFD Sender: No OFD packet to send [16:30:01]OFD Sender: No OFD packet to send [16:30:06]OFD Sender: No OFD packet to send [16:30:11]OFD Sender: No OFD packet to send [16:30:16]OFD Sender: No OFD packet to send [16:30:21]OFD Sender: No OFD packet to send [16:30:26]OFD Sender: No OFD packet to send [16:30:31]OFD Sender: No OFD packet to send [16:30:36]OFD Sender: No OFD packet to send [16:30:41]OFD Sender: No OFD packet to send [16:30:46]OFD Sender: No OFD packet to send [16:30:51]OFD Sender: No OFD packet to send [16:30:56]OFD Sender: No OFD packet to send [16:31:01]OFD Sender: No OFD packet to send [16:31:06]OFD Sender: No OFD packet to send [16:31:11]OFD Sender: No OFD packet to send [16:31:16]OFD Sender: No OFD packet to send [16:31:21]OFD Sender: No OFD packet to send [16:31:26]OFD Sender: No OFD packet to send [16:31:31]OFD Sender: No OFD packet to send [16:31:36]OFD Sender: No OFD packet to send [16:31:41]OFD Sender: No OFD packet to send [16:31:46]OFD Sender: No OFD packet to send [16:31:51]OFD Sender: No OFD packet to send [16:31:56]OFD Sender: No OFD packet to send [16:32:01]OFD Sender: No OFD packet to send [16:32:06]OFD Sender: No OFD packet to send [16:32:11]OFD Sender: No OFD packet to send [16:32:16]OFD Sender: No OFD packet to send [16:32:21]OFD Sender: No OFD packet to send [16:32:26]OFD Sender: No OFD packet to send [16:32:31]OFD Sender: No OFD packet to send [16:32:36]OFD Sender: No OFD packet to send [16:32:41]OFD Sender: No OFD packet to send [16:32:46]OFD Sender: No OFD packet to send [16:32:51]OFD Sender: No OFD packet to send [16:32:56]OFD Sender: No OFD packet to send [16:33:01]OFD Sender: No OFD packet to send [16:33:06]OFD Sender: No OFD packet to send [16:33:11]OFD Sender: No OFD packet to send [16:33:16]OFD Sender: No OFD packet to send [16:33:21]OFD Sender: No OFD packet to send [16:33:26]OFD Sender: No OFD packet to send [16:33:31]OFD Sender: No OFD packet to send [16:33:36]OFD Sender: No OFD packet to send [16:33:41]OFD Sender: No OFD packet to send [16:33:46]OFD Sender: No OFD packet to send [16:33:51]OFD Sender: No OFD packet to send [16:33:56]OFD Sender: No OFD packet to send [16:34:01]OFD Sender: No OFD packet to send [16:34:06]OFD Sender: No OFD packet to send [16:34:11]OFD Sender: No OFD packet to send [16:34:16]OFD Sender: No OFD packet to send [16:34:21]OFD Sender: No OFD packet to send [16:34:26]OFD Sender: No OFD packet to send [16:34:31]OFD Sender: No OFD packet to send [16:34:36]OFD Sender: No OFD packet to send [16:34:41]OFD Sender: No OFD packet to send [16:34:46]OFD Sender: No OFD packet to send [16:34:51]OFD Sender: No OFD packet to send [16:34:56]OFD Sender: No OFD packet to send [16:35:01]OFD Sender: No OFD packet to send [16:35:06]OFD Sender: No OFD packet to send [16:35:11]OFD Sender: No OFD packet to send [16:35:16]OFD Sender: No OFD packet to send [16:35:21]OFD Sender: No OFD packet to send [16:35:26]OFD Sender: No OFD packet to send [16:35:31]OFD Sender: No OFD packet to send [16:35:36]OFD Sender: No OFD packet to send [16:35:41]OFD Sender: No OFD packet to send [16:35:46]OFD Sender: No OFD packet to send [16:35:51]OFD Sender: No OFD packet to send [16:35:56]OFD Sender: No OFD packet to send [16:36:01]OFD Sender: No OFD packet to send [16:36:06]OFD Sender: No OFD packet to send [16:36:11]OFD Sender: No OFD packet to send [16:36:16]OFD Sender: No OFD packet to send [16:36:21]OFD Sender: No OFD packet to send [16:36:26]OFD Sender: No OFD packet to send [16:36:31]OFD Sender: No OFD packet to send [16:36:36]OFD Sender: No OFD packet to send [16:36:41]OFD Sender: No OFD packet to send [16:36:46]OFD Sender: No OFD packet to send [16:36:51]OFD Sender: No OFD packet to send [16:36:56]OFD Sender: No OFD packet to send [16:37:01]OFD Sender: No OFD packet to send [16:37:06]OFD Sender: No OFD packet to send [16:37:11]OFD Sender: No OFD packet to send [16:37:16]OFD Sender: No OFD packet to send [16:37:21]OFD Sender: No OFD packet to send [16:37:26]OFD Sender: No OFD packet to send [16:37:31]OFD Sender: No OFD packet to send [16:37:36]OFD Sender: No OFD packet to send [16:37:41]OFD Sender: No OFD packet to send [16:37:46]OFD Sender: No OFD packet to send [16:37:51]OFD Sender: No OFD packet to send [16:37:56]OFD Sender: No OFD packet to send [16:38:01]OFD Sender: No OFD packet to send [16:38:06]OFD Sender: No OFD packet to send [16:38:11]OFD Sender: No OFD packet to send [16:38:16]OFD Sender: No OFD packet to send [16:38:21]OFD Sender: No OFD packet to send [16:38:26]OFD Sender: No OFD packet to send [16:38:31]OFD Sender: No OFD packet to send [16:38:36]OFD Sender: No OFD packet to send [16:38:41]OFD Sender: No OFD packet to send [16:38:46]OFD Sender: No OFD packet to send [16:38:51]OFD Sender: No OFD packet to send [16:38:56]OFD Sender: No OFD packet to send [16:39:01]OFD Sender: No OFD packet to send [16:39:06]OFD Sender: No OFD packet to send [16:39:11]OFD Sender: No OFD packet to send [16:39:16]OFD Sender: No OFD packet to send [16:39:21]OFD Sender: No OFD packet to send [16:39:26]OFD Sender: No OFD packet to send [16:39:31]OFD Sender: No OFD packet to send [16:39:36]OFD Sender: No OFD packet to send [16:39:41]OFD Sender: No OFD packet to send [16:39:46]OFD Sender: No OFD packet to send [16:39:51]OFD Sender: No OFD packet to send [16:39:56]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:21]OFD Sender: No OFD packet to send [16:41:26]OFD Sender: No OFD packet to send [16:41:31]OFD Sender: No OFD packet to send [16:41:36]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:56]OFD Sender: No OFD packet to send [16:42:01]OFD Sender: No OFD packet to send [16:42:06]OFD Sender: No OFD packet to send [16:42:11]OFD Sender: No OFD packet to send [16:42:12]accept exits with 9 [16:42:12]New connection [16:42:12]New thread 3067227492 created [16:42:12]Thread 3067370852 joined [16:42:12]Waiting for new connection... [16:42:12] Sock 9.Parse request [16:42:12]Sock 9.Check first char [16:42:12]Sock 9.First char is OK [16:42:12]request: POST /json_proto HTTP/1.0 [16:42:12]Method: POST [16:42:12]URL: /json_proto [16:42:12]Method is POST - this is cgi request [16:42:12]url: /json_proto [16:42:12]query_string will be loaded in cgi processing [16:42:12]execute_cgi json_proto POST (null) [16:42:12]execute_cgi path=json_proto method=POST [16:42:12]POST find Content-Length [16:42:12]Host: 172.17.56.68:8080 [16:42:12]Content-Length: 1084 [16:42:12]Content-Type: application/json [16:42:12] [16:42:12]POST finish read [16:42:12]Found Content-Length = 1084 [16:42:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4318", "tax_sys" : 0, "items" : [ { "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 2.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 127.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:12]execute_script... [16:42: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)4318", "tax_sys" : 0, "items" : [ { "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 2.000, "sum" : 82.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 127.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:12]POST & json_proto [16:42:12]process_json_proto [16:42:12]json parsed OK: [16:42:12]protocol is kg_v1.0 [16:42:12]action value=close_receipt [16:42:12]process_action close_receipt [16:42:12]cmd_close_receipt [16:42:12]MH_GetDate [16:42:12]Write to MH i2c: F0 00 00 00 0F FE [16:42:12]Write i2c OK [16:42:12]MH_I2C_Read... [16:42:12]Read from MH i2c: F0 [16:42:12]MH_I2C_Read... [16:42:12]Read from MH i2c: F0 09 00 [16:42:12]MH_I2C_Read... [16:42:12]Read from MH i2c: F0 09 00 00 0F 00 68 F2 5D 66 42 69 5C 66 91 [16:42:12]GetLastDocTimeStamp 1717431957 [16:42:12]current date 1717432936 [16:42:12]FM_GetShiftState [16:42:12]SAM_PROTO_GetShiftState [16:42:12]wFMCommunicate request_size=4 [16:42:12]MH_SAM_APDU [16:42:12]CAPDU: 80 13 01 00 [16:42:12]Write to MH i2c: E2 08 00 01 0F 80 13 01 00 00 00 00 00 8D [16:42:12]Write i2c OK [16:42:12]MH_I2C_Read... [16:42:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:12]Read from MH i2c: E2 [16:42:12]MH_I2C_Read... [16:42:12]Read from MH i2c: E2 0E 00 [16:42:12]MH_I2C_Read... [16:42:12]Read from MH i2c: E2 0E 00 01 0F 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 1B [16:42:12]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:42:12]wFMCommunicate OK [16:42:12]SAM_PROTO_GetShiftState done [16:42:12]FM_GetShiftState done [16:42:12]opened in 1717372856 [16:42:12]opened+sec_in_day 1717459256 [16:42:12]quantity*price = 8200 [16:42:12]sum+1 = 8201 [16:42:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42069942 Жев Orbit White Fresh Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 127.00 НСП 1% : 1.13 НДС 12% : 13.49 Наличными: 0.00 Безнал.: 127.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 45 03.06.2024 16:42 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4064 ФПД: 219931927080585 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T164217&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4064&fm=219931927080585&tin=02508201610067®Number=0000000000145775&sum=12700 0 [16:42:13]StoreToDocumentArchive [16:42:13]shift 82 fd 4064 [16:42:13]save to /storage/0082/doc_00004064 [16:42:13]save last doc name /storage/0082/doc_00004064 to /storage/kkm_last_doc_name [16:42:13]save OK [16:42:13]Clear old archive folders... [16:42:13]ProcessDocumentItem done err = 0, tmpTLVsize=391 [16:42:13]tlvbuf is 0076C7A0 [16:42:13]SAM_PROTO_ClearQueue [16:42:13]wFMCommunicate request_size=4 [16:42:13]MH_SAM_APDU [16:42:13]CAPDU: 80 09 00 00 [16:42:13]Write to MH i2c: E2 08 00 0E 0F 80 09 00 00 00 00 00 00 8F [16:42:13]Write i2c OK [16:42:13]MH_I2C_Read... [16:42:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:13]Read from MH i2c: E2 [16:42:13]MH_I2C_Read... [16:42:13]Read from MH i2c: E2 03 00 [16:42:13]MH_I2C_Read... [16:42:13]Read from MH i2c: E2 03 00 0E 0F 00 90 00 91 [16:42:13]RAPDU: 90 00 [16:42:13]wFMCommunicate OK [16:42:13]SAM_PROTO_ClearQueue done [16:42:13]KKMCreateOFDPacket [16:42:13]OFDProtocolAddRootSTLVToBuf [16:42:13]FM_MakeSignedData [16:42:13]FM_MakeSignedData [16:42:13]SAM_PROTO_SignData [16:42:13]wFMCommunicate request_size=4 [16:42:13]MH_SAM_APDU [16:42:13]CAPDU: 80 0D 01 02 [16:42:13]Write to MH i2c: E2 08 00 0F 0F 80 0D 01 02 00 00 00 00 97 [16:42:13]Write i2c OK [16:42:13]MH_I2C_Read... [16:42:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:13]Read from MH i2c: E2 [16:42:13]MH_I2C_Read... [16:42:13]Read from MH i2c: E2 03 00 [16:42:13]MH_I2C_Read... [16:42:13]Read from MH i2c: E2 03 00 0F 0F 00 90 00 92 [16:42:13]RAPDU: 90 00 [16:42:13]wFMCommunicate OK [16:42:13]wFMCommunicate request_size=255 [16:42:13]MH_SAM_APDU [16:42:13]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 31 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [16:42:13]Write to MH i2c: E2 02 01 10 0F 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 31 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 F1 [16:42:13]Write i2c OK [16:42:13]MH_I2C_Read... [16:42:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:13]Read from MH i2c: E2 [16:42:13]MH_I2C_Read... [16:42:13]Read from MH i2c: E2 03 00 [16:42:13]MH_I2C_Read... [16:42:13]Read from MH i2c: E2 03 00 10 0F 00 90 00 93 [16:42:13]RAPDU: 90 00 [16:42:13]wFMCommunicate OK [16:42:13]wFMCommunicate request_size=150 [16:42:13]MH_SAM_APDU [16:42:13]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 71 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 00 00 00 00 00 00 39 04 06 00 9C 31 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 69 F2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E0 0F 00 00 35 04 06 00 C8 06 E4 63 6E 89 [16:42:13]Write to MH i2c: E2 99 00 11 0F 80 0D 02 02 91 00 01 00 01 F7 03 06 00 71 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 00 00 00 00 00 00 39 04 06 00 9C 31 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 69 F2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E0 0F 00 00 35 04 06 00 C8 06 E4 63 6E 89 00 00 0F [16:42:13]Write i2c OK [16:42:13]MH_I2C_Read... [16:42:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:14]Read from MH i2c: E2 [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: E2 03 00 [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: E2 03 00 11 0F 00 90 00 94 [16:42:14]RAPDU: 90 00 [16:42:14]wFMCommunicate OK [16:42:14]wFMCommunicate request_size=4 [16:42:14]MH_SAM_APDU [16:42:14]CAPDU: 80 0D 03 02 [16:42:14]Write to MH i2c: E2 08 00 12 0F 80 0D 03 02 00 00 00 00 9C [16:42:14]Write i2c OK [16:42:14]MH_I2C_Read... [16:42:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:14]Read from MH i2c: E2 [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: E2 0B 00 [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: E2 0B 00 12 0F 00 81 7A 0E BE 54 A2 BE 7C 90 00 94 [16:42:14]RAPDU: 81 7A 0E BE 54 A2 BE 7C 90 00 [16:42:14]wFMCommunicate OK [16:42:14]SAM_PROTO_SignData done [16:42:14]FM_MakeSignedData done [16:42:14]CreateOFDProtocolMessage [16:42:14]wFMCommunicate request_size=4 [16:42:14]MH_SAM_APDU [16:42:14]CAPDU: 80 11 00 00 [16:42:14]Write to MH i2c: E2 08 00 13 0F 80 11 00 00 00 00 00 00 9C [16:42:14]Write i2c OK [16:42:14]MH_I2C_Read... [16:42:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:14]Read from MH i2c: E2 [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: E2 17 00 [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: E2 17 00 13 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 EF [16:42:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:42:14]wFMCommunicate OK [16:42:14]CreateOFDProtocolMessage done [16:42:14]OFDSenderStorePacket 4064 [16:42:14]StoreOFDPacket docnum=4064 [16:42:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9B 01 00 00 0F 07 93 01 11 D0 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 31 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 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 00 00 00 00 00 00 39 04 06 00 9C 31 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 69 F2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E0 0F 00 00 35 04 06 00 C8 06 E4 63 6E 89 81 7A 0E BE 54 A2 BE 7C [16:42:14]CheckFolder [16:42:14]dirname=/storage/ofd_packets [16:42:14]CheckFolder done [16:42:14]ProducePacketName [16:42:14]name=ofd_packets/00004064 [16:42:14]NVStorageSaveData ofd_packets/00004064 [16:42:14]File name is /storage/ofd_packets/00004064 [16:42:14]Write 441 bytes [16:42:14]NVStorageSaveData done [16:42:14]OFDSenderStorePacket done [16:42:14]KKMCreateOFDPacket done [16:42:14]NVStorageSaveData kkm_last_timestamp [16:42:14]File name is /storage/kkm_last_timestamp [16:42:14]Write 4 bytes [16:42:14]NVStorageSaveData done [16:42:14]ExternCall_PrintAddStr [16:42:14]wPrintStart [16:42:14]Write to MH i2c: 01 00 00 14 0F 23 [16:42:14]OFD Sender: Processing packet 4064 [packets to send 2, broken 1] [16:42:14]ProducePacketName [16:42:14]name=ofd_packets/00004064 [16:42:14]OFD Sender: To server: pG, [16:42:14]CommunicateWithHost lk.salyk.kg:30040 [16:42:14]ConnectInit lk.salyk.kg [16:42:14]Write i2c OK [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: 01 [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: 01 07 00 [16:42:14]MH_I2C_Read... [16:42:14]Read from MH i2c: 01 07 00 14 0F 00 00 00 00 00 FF 0F 38 [16:42:14]RasterBufferAndPrint [16:42:14]line Счет N : (3)4318 [16:42:14]line ИНН: 02508201610067 [16:42:14]line Контрольно-Кассовый Чек [16:42:14]line ПРОДАЖА [16:42:14]line Товар: 4607010740757 [16:42:14]line Чипсы Чипсоны сметана, лук 40г [16:42:14]line 2.000 * 41.00 [16:42:14]line = 82.00 [16:42:14]line НДС 12% НСП 1% [16:42:14]line > о реализуемом товаре [16:42:14]line Товар: 42069942 [16:42:14]line Жев Orbit White Fresh Mint [16:42:14]line 1.000 * 45.00 [16:42:14]line = 45.00 [16:42:14]line НДС 12% НСП 1% [16:42:14]line > о реализуемом товаре [16:42:14]line ИТОГО: 127.00 [16:42:14]line НСП 1% : 1.13 [16:42:14]line НДС 12% : 13.49 [16:42:14]line Наличными: 0.00 [16:42:14]line Безнал.: 127.00 [16:42:14]line Место: АЗС № 116 "Партнер Нефть" [16:42:14]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:42:14]line СНО: Общий режим [16:42:14]line Чек 45 03.06.2024 16:42 [16:42:14]line Смена: 82 ФФД: 1.0 [16:42:14]line ЗНМ: 0300000233 [16:42:14]line РНМ: 0000000000145775 [16:42:14]line Версия ККМ: v1.0 [16:42:14]line Платежная система: Бакай Банк [16:42:14]line ФМ: 0000000000959360 [16:42:14]line ФД: 4064 [16:42:14]line ФПД: 219931927080585 [16:42:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T164217&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4064&fm=219931927080585&tin=02508201610067®Number=0000000000145775&sum=12700 [16:42:14]line 0 [16:42:14]written 0, free lines is 4095 [16:42:14]Connected sock=10 [16:42:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9B 01 00 00 0F 07 93 01 11 D0 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 08 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 31 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 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 00 00 00 00 00 00 39 04 06 00 9C 31 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 69 F2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E0 0F 00 00 35 04 06 00 C8 06 E4 63 6E 89 81 7A 0E BE 54 A2 BE 7C [16:42:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 3A CA 47 00 E1 E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E0 0F 00 00 F4 03 04 00 6C 9E 5D 66 B6 04 01 00 00 EE BB AA B1 EF CA 66 F2 [16:42:14]CommunicateWithHost err = 0 [16:42:14]CheckOFDResponse [16:42:14]1017 (14) - 77093643461234 [16:42:14]1041 (16) - 0000000000959360 [16:42:14]1040 (4) - 4064 [16:42:14]1012 (4) - 03.06.2024 10:43 [16:42:14]1206 (1) - 0 [16:42:14]OFD Sender: Remove packet 4064 [16:42:14]ProducePacketName [16:42:14]name=ofd_packets/00004064 [16:42:14]NVStorageDeleteData [16:42:15]Write to MH i2c: 01 00 00 45 0F 54 [16:42:15]Write i2c OK [16:42:15]MH_I2C_Read... [16:42:15]Read from MH i2c: 01 [16:42:15]MH_I2C_Read... [16:42:15]Read from MH i2c: 01 07 00 [16:42:15]MH_I2C_Read... [16:42:15]Read from MH i2c: 01 07 00 45 0F 00 00 00 00 00 3D 0C A4 [16:42:15]RasterBufferAndPrint [16:42:15]line [16:42:15]line [16:42:15]line [16:42:15]line [16:42:15]line [16:42:15]written 0, free lines is 3139 [16:42:15]MH_Cut [16:42:15]Write to MH i2c: D1 01 00 4C 0F 01 2D [16:42:15]Write i2c OK [16:42:15]MH_I2C_Read... [16:42:15]Read from MH i2c: D1 [16:42:15]MH_I2C_Read... [16:42:15]Read from MH i2c: D1 01 00 [16:42:15]MH_I2C_Read... [16:42:15]Read from MH i2c: D1 01 00 4C 0F 00 2C [16:42:15]Write to MH i2c: 01 00 00 4D 0F 5C [16:42:15]Write i2c OK [16:42:15]MH_I2C_Read... [16:42:15]OFD Sender: No OFD packet to send [16:42:16]*** Cut start [16:42:16]*** Partial cut [16:42:16]*** CUTSNS_PIN = 1 [16:42:16]*** CUTSNS_PIN = 0 [16:42:16]*** Brake cut motor [16:42:16]Read from MH i2c: 01 [16:42:16]MH_I2C_Read... [16:42:16]*** Stop cut motor [16:42:16]*** Cut end [16:42:16]Read from MH i2c: 01 07 00 [16:42:16]MH_I2C_Read... [16:42:16]Read from MH i2c: 01 07 00 4D 0F 00 00 00 00 00 FF 0F 71 [16:42:16]process_action close_receipt done [16:42:16]requested_data is exist [16:42:16]produce_requested_data [16:42:16]requested_item fm.sn is exist - process it [16:42:16]wFMCommunicate request_size=4 [16:42:16]MH_SAM_APDU [16:42:16]CAPDU: 80 11 00 00 [16:42:16]Write to MH i2c: E2 08 00 4E 0F 80 11 00 00 00 00 00 00 D7 [16:42:16]Write i2c OK [16:42:16]MH_I2C_Read... [16:42:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:16]Read from MH i2c: E2 [16:42:16]MH_I2C_Read... [16:42:16]Read from MH i2c: E2 17 00 [16:42:16]MH_I2C_Read... [16:42:16]Read from MH i2c: E2 17 00 4E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2A [16:42:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:42:16]wFMCommunicate OK [16:42:16]requested_item fd.num is exist - process it [16:42:16]SAM_PROTO_GetFieldsCounters [16:42:16]wFMCommunicate request_size=4 [16:42:16]MH_SAM_APDU [16:42:16]CAPDU: 80 13 00 00 [16:42:16]Write to MH i2c: E2 08 00 4F 0F 80 13 00 00 00 00 00 00 DA [16:42:16]Write i2c OK [16:42:16]MH_I2C_Read... [16:42:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:42:16]Read from MH i2c: E2 [16:42:16]MH_I2C_Read... [16:42:16]Read from MH i2c: E2 62 00 [16:42:16]MH_I2C_Read... [16:42:16]Read from MH i2c: E2 62 00 4F 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E0 0F 00 00 0E 04 04 00 52 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 C7 [16:42:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E0 0F 00 00 0E 04 04 00 52 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 [16:42:16]wFMCommunicate OK [16:42:16]SAM_PROTO_GetFieldsCounters done [16:42:16]requested_item shift.num is exist - process it [16:42:16]requested_item shift.opened is exist - process it [16:42:16]req_shift_opened [16:42:16]FM_GetShiftState [16:42:16]SAM_PROTO_GetShiftState [16:42:16]wFMCommunicate request_size=4 [16:42:16]MH_SAM_APDU [16:42:16]CAPDU: 80 13 01 00 [16:42:16]Write to MH i2c: E2 08 00 50 0F 80 13 01 00 00 00 00 00 DC [16:42:16]Write i2c OK [16:42:16]MH_I2C_Read... [16:42:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:16]Read from MH i2c: E2 [16:42:16]MH_I2C_Read... [16:42:16]Read from MH i2c: E2 0E 00 [16:42:16]MH_I2C_Read... [16:42:16]Read from MH i2c: E2 0E 00 50 0F 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 6A [16:42:16]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:42:16]wFMCommunicate OK [16:42:16]SAM_PROTO_GetShiftState done [16:42:16]FM_GetShiftState done [16:42:16]req_shift_opened done [16:42:16]requested_item shift.open_date is exist - process it [16:42:16]req_shift_open_date [16:42:16]req_shift_open_date done [16:42:16]produce_requested_data done [16:42:16]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4064,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [16:42:16]process_action_free close_receipt [16:42:16]json_value_free [16:42:16]json_value_free done [16:42:16]process_json_proto returns [16:42:16]Send response to host [16:42:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4064,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [16:42:16]free response buf [16:42:16]execute_script done [16:42:16]execute_script returns [16:42:16]free content buf [16:42:16]Sock 9.Close socket [16:42:16]Sock 9.Thread stoped [16:42:20]OFD Sender: No OFD packet to send [16:42:25]OFD Sender: No OFD packet to send [16:42:30]OFD Sender: No OFD packet to send [16:42:35]OFD Sender: No OFD packet to send [16:42:40]OFD Sender: No OFD packet to send [16:42:45]OFD Sender: No OFD packet to send [16:42:50]OFD Sender: No OFD packet to send [16:42:55]OFD Sender: No OFD packet to send [16:43:00]OFD Sender: No OFD packet to send [16:43:05]OFD Sender: No OFD packet to send [16:43:10]OFD Sender: No OFD packet to send [16:43:15]OFD Sender: No OFD packet to send [16:43:20]OFD Sender: No OFD packet to send [16:43:25]OFD Sender: No OFD packet to send [16:43:30]OFD Sender: No OFD packet to send [16:43:35]OFD Sender: No OFD packet to send [16:43:40]OFD Sender: No OFD packet to send [16:43:45]OFD Sender: No OFD packet to send [16:43:50]OFD Sender: No OFD packet to send [16:43:55]OFD Sender: No OFD packet to send [16:44:00]OFD Sender: No OFD packet to send [16:44:05]OFD Sender: No OFD packet to send [16:44:10]OFD Sender: No OFD packet to send [16:44:14]accept exits with 8 [16:44:14]New connection [16:44:14]New thread 3067370852 created [16:44:14]Thread 3067227492 joined [16:44:14]Waiting for new connection... [16:44:14] Sock 8.Parse request [16:44:14]Sock 8.Check first char [16:44:14]Sock 8.First char is OK [16:44:14]request: POST /json_proto HTTP/1.0 [16:44:14]Method: POST [16:44:14]URL: /json_proto [16:44:14]Method is POST - this is cgi request [16:44:14]url: /json_proto [16:44:14]query_string will be loaded in cgi processing [16:44:14]execute_cgi json_proto POST (null) [16:44:14]execute_cgi path=json_proto method=POST [16:44:14]POST find Content-Length [16:44:14]Host: 172.17.56.68:8080 [16:44:14]Content-Length: 640 [16:44:14]Content-Type: application/json [16:44:14] [16:44:14]POST finish read [16:44:14]Found Content-Length = 640 [16:44:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4319", "tax_sys" : 0, "items" : [ { "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 1.000, "sum" : 560.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:44:14]execute_script... [16:44: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)4319", "tax_sys" : 0, "items" : [ { "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 1.000, "sum" : 560.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:44:14]POST & json_proto [16:44:14]process_json_proto [16:44:14]json parsed OK: [16:44:14]protocol is kg_v1.0 [16:44:14]action value=close_receipt [16:44:14]process_action close_receipt [16:44:14]cmd_close_receipt [16:44:14]MH_GetDate [16:44:14]Write to MH i2c: F0 00 00 51 0F 4F [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: F0 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: F0 09 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: F0 09 00 51 0F 00 E2 F2 5D 66 42 69 5C 66 5C [16:44:14]GetLastDocTimeStamp 1717432937 [16:44:14]current date 1717433058 [16:44:14]FM_GetShiftState [16:44:14]SAM_PROTO_GetShiftState [16:44:14]wFMCommunicate request_size=4 [16:44:14]MH_SAM_APDU [16:44:14]CAPDU: 80 13 01 00 [16:44:14]Write to MH i2c: E2 08 00 52 0F 80 13 01 00 00 00 00 00 DE [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:14]Read from MH i2c: E2 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 0E 00 [16:44:14]MH_I2C_Read... [16:44:14]Read from MH i2c: E2 0E 00 52 0F 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 6C [16:44:14]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:44:14]wFMCommunicate OK [16:44:14]SAM_PROTO_GetShiftState done [16:44:14]FM_GetShiftState done [16:44:14]opened in 1717372856 [16:44:14]opened+sec_in_day 1717459256 [16:44:14]quantity*price = 56000 [16:44:14]sum+1 = 56001 [16:44:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 560.00 НСП 1% : 4.96 НДС 12% : 59.47 Наличными: 560.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 46 03.06.2024 16:44 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4065 ФПД: 240596606465154 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T164418&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4065&fm=240596606465154&tin=02508201610067®Number=0000000000145775&sum=56000 0 [16:44:14]StoreToDocumentArchive [16:44:14]shift 82 fd 4065 [16:44:14]save to /storage/0082/doc_00004065 [16:44:14]save last doc name /storage/0082/doc_00004065 to /storage/kkm_last_doc_name [16:44:14]save OK [16:44:14]Clear old archive folders... [16:44:14]ProcessDocumentItem done err = 0, tmpTLVsize=282 [16:44:14]tlvbuf is 00783140 [16:44:14]SAM_PROTO_ClearQueue [16:44:14]wFMCommunicate request_size=4 [16:44:14]MH_SAM_APDU [16:44:14]CAPDU: 80 09 00 00 [16:44:14]Write to MH i2c: E2 08 00 5F 0F 80 09 00 00 00 00 00 00 E0 [16:44:14]Write i2c OK [16:44:14]MH_I2C_Read... [16:44:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:44:15]Read from MH i2c: E2 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 03 00 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 03 00 5F 0F 00 90 00 E2 [16:44:15]RAPDU: 90 00 [16:44:15]wFMCommunicate OK [16:44:15]SAM_PROTO_ClearQueue done [16:44:15]KKMCreateOFDPacket [16:44:15]OFDProtocolAddRootSTLVToBuf [16:44:15]FM_MakeSignedData [16:44:15]FM_MakeSignedData [16:44:15]SAM_PROTO_SignData [16:44:15]wFMCommunicate request_size=4 [16:44:15]MH_SAM_APDU [16:44:15]CAPDU: 80 0D 01 02 [16:44:15]Write to MH i2c: E2 08 00 60 0F 80 0D 01 02 00 00 00 00 E8 [16:44:15]Write i2c OK [16:44:15]MH_I2C_Read... [16:44:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:44:15]Read from MH i2c: E2 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 03 00 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 03 00 60 0F 00 90 00 E3 [16:44:15]RAPDU: 90 00 [16:44:15]wFMCommunicate OK [16:44:15]wFMCommunicate request_size=255 [16:44:15]MH_SAM_APDU [16:44:15]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 17 00 00 00 00 07 04 06 00 C0 DA 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 E2 F2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 [16:44:15]Write to MH i2c: E2 02 01 61 0F 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 17 00 00 00 00 07 04 06 00 C0 DA 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 E2 F2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 00 00 9C [16:44:15]Write i2c OK [16:44:15]MH_I2C_Read... [16:44:15]OFD Sender: No OFD packet to send [16:44:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:15]Read from MH i2c: E2 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 03 00 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 03 00 61 0F 00 90 00 E4 [16:44:15]RAPDU: 90 00 [16:44:15]wFMCommunicate OK [16:44:15]wFMCommunicate request_size=41 [16:44:15]MH_SAM_APDU [16:44:15]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E1 0F 00 00 35 04 06 00 DA D2 43 43 34 82 [16:44:15]Write to MH i2c: E2 2C 00 62 0F 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E1 0F 00 00 35 04 06 00 DA D2 43 43 34 82 00 00 92 [16:44:15]Write i2c OK [16:44:15]MH_I2C_Read... [16:44:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:15]Read from MH i2c: E2 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 03 00 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 03 00 62 0F 00 90 00 E5 [16:44:15]RAPDU: 90 00 [16:44:15]wFMCommunicate OK [16:44:15]wFMCommunicate request_size=4 [16:44:15]MH_SAM_APDU [16:44:15]CAPDU: 80 0D 03 02 [16:44:15]Write to MH i2c: E2 08 00 63 0F 80 0D 03 02 00 00 00 00 ED [16:44:15]Write i2c OK [16:44:15]MH_I2C_Read... [16:44:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:44:15]Read from MH i2c: E2 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 0B 00 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 0B 00 63 0F 00 88 73 70 92 5B E2 DA 1D 90 00 1F [16:44:15]RAPDU: 88 73 70 92 5B E2 DA 1D 90 00 [16:44:15]wFMCommunicate OK [16:44:15]SAM_PROTO_SignData done [16:44:15]FM_MakeSignedData done [16:44:15]CreateOFDProtocolMessage [16:44:15]wFMCommunicate request_size=4 [16:44:15]MH_SAM_APDU [16:44:15]CAPDU: 80 11 00 00 [16:44:15]Write to MH i2c: E2 08 00 64 0F 80 11 00 00 00 00 00 00 ED [16:44:15]Write i2c OK [16:44:15]MH_I2C_Read... [16:44:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:15]Read from MH i2c: E2 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 17 00 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: E2 17 00 64 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 40 [16:44:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:44:15]wFMCommunicate OK [16:44:15]CreateOFDProtocolMessage done [16:44:15]OFDSenderStorePacket 4065 [16:44:15]StoreOFDPacket docnum=4065 [16:44:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 BF BF 26 01 D6 4D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 17 00 00 00 00 07 04 06 00 C0 DA 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 E2 F2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E1 0F 00 00 35 04 06 00 DA D2 43 43 34 82 88 73 70 92 5B E2 DA 1D [16:44:15]CheckFolder [16:44:15]dirname=/storage/ofd_packets [16:44:15]CheckFolder done [16:44:15]ProducePacketName [16:44:15]name=ofd_packets/00004065 [16:44:15]NVStorageSaveData ofd_packets/00004065 [16:44:15]File name is /storage/ofd_packets/00004065 [16:44:15]Write 332 bytes [16:44:15]NVStorageSaveData done [16:44:15]OFDSenderStorePacket done [16:44:15]KKMCreateOFDPacket done [16:44:15]NVStorageSaveData kkm_last_timestamp [16:44:15]File name is /storage/kkm_last_timestamp [16:44:15]Write 4 bytes [16:44:15]NVStorageSaveData done [16:44:15]ExternCall_PrintAddStr [16:44:15]wPrintStart [16:44:15]Write to MH i2c: 01 00 00 65 0F 74 [16:44:15]Write i2c OK [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: 01 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: 01 07 00 [16:44:15]MH_I2C_Read... [16:44:15]Read from MH i2c: 01 07 00 65 0F 00 00 00 00 00 FF 0F 89 [16:44:15]RasterBufferAndPrint [16:44:15]line Счет N : (3)4319 [16:44:15]line ИНН: 02508201610067 [16:44:15]line Контрольно-Кассовый Чек [16:44:15]line ПРОДАЖА [16:44:15]line Товар: 4700003150936 [16:44:15]line Новая Водка Organic 40% 0,48л [16:44:15]line 1.000 * 560.00 [16:44:15]line = 560.00 [16:44:15]line НДС 12% НСП 1% [16:44:15]line > о реализуемом товаре [16:44:15]line ИТОГО: 560.00 [16:44:15]line НСП 1% : 4.96 [16:44:15]line НДС 12% : 59.47 [16:44:15]line Наличными: 560.00 [16:44:15]line Безнал.: 0.00 [16:44:15]line Место: АЗС № 116 "Партнер Нефть" [16:44:15]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:44:15]line СНО: Общий режим [16:44:15]line Чек 46 03.06.2024 16:44 [16:44:15]line Смена: 82 ФФД: 1.0 [16:44:15]line ЗНМ: 0300000233 [16:44:15]line РНМ: 0000000000145775 [16:44:15]line Версия ККМ: v1.0 [16:44:15]line ФМ: 0000000000959360 [16:44:15]line ФД: 4065 [16:44:15]line ФПД: 240596606465154 [16:44:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T164418&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4065&fm=240596606465154&tin=02508201610067®Number=0000000000145775&sum=56000 [16:44:15]line 0 [16:44:15]written 0, free lines is 4095 [16:44:15]OFD Sender: Processing packet 4065 [packets to send 2, broken 1] [16:44:15]ProducePacketName [16:44:15]name=ofd_packets/00004065 [16:44:15]OFD Sender: To server: pG, [16:44:15]CommunicateWithHost lk.salyk.kg:30040 [16:44:15]ConnectInit lk.salyk.kg [16:44:15]Connected sock=10 [16:44:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 BF BF 26 01 D6 4D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 17 00 00 00 00 07 04 06 00 C0 DA 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 E2 F2 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E1 0F 00 00 35 04 06 00 DA D2 43 43 34 82 88 73 70 92 5B E2 DA 1D [16:44:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 DD 3C 47 00 49 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 30 39 35 39 33 36 30 10 04 04 00 E1 0F 00 00 F4 03 04 00 E5 9E 5D 66 B6 04 01 00 00 D3 5C E1 20 37 51 37 29 [16:44:16]CommunicateWithHost err = 0 [16:44:16]CheckOFDResponse [16:44:16]1017 (14) - 77093643461234 [16:44:16]1041 (16) - 0000000000959360 [16:44:16]1040 (4) - 4065 [16:44:16]1012 (4) - 03.06.2024 10:45 [16:44:16]1206 (1) - 0 [16:44:16]OFD Sender: Remove packet 4065 [16:44:16]ProducePacketName [16:44:16]name=ofd_packets/00004065 [16:44:16]NVStorageDeleteData [16:44:16]Write to MH i2c: 01 00 00 8E 0F 9D [16:44:16]Write i2c OK [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: 01 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: 01 07 00 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: 01 07 00 8E 0F 00 00 00 00 00 C7 0C 77 [16:44:16]RasterBufferAndPrint [16:44:16]line [16:44:16]line [16:44:16]line [16:44:16]line [16:44:16]line [16:44:16]written 0, free lines is 3275 [16:44:16]MH_Cut [16:44:16]Write to MH i2c: D1 01 00 95 0F 01 76 [16:44:16]Write i2c OK [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: D1 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: D1 01 00 [16:44:16]MH_I2C_Read... [16:44:16]Read from MH i2c: D1 01 00 95 0F 00 75 [16:44:16]Write to MH i2c: 01 00 00 96 0F A5 [16:44:16]Write i2c OK [16:44:16]MH_I2C_Read... [16:44:16]OFD Sender: No OFD packet to send [16:44:17]*** Cut start [16:44:17]*** Partial cut [16:44:17]*** CUTSNS_PIN = 1 [16:44:17]*** CUTSNS_PIN = 0 [16:44:17]*** Brake cut motor [16:44:17]Read from MH i2c: 01 [16:44:17]MH_I2C_Read... [16:44:17]*** Stop cut motor [16:44:17]*** Cut end [16:44:17]Read from MH i2c: 01 07 00 [16:44:17]MH_I2C_Read... [16:44:17]Read from MH i2c: 01 07 00 96 0F 00 00 00 00 00 FF 0F BA [16:44:17]process_action close_receipt done [16:44:17]requested_data is exist [16:44:17]produce_requested_data [16:44:17]requested_item fm.sn is exist - process it [16:44:17]wFMCommunicate request_size=4 [16:44:17]MH_SAM_APDU [16:44:17]CAPDU: 80 11 00 00 [16:44:17]Write to MH i2c: E2 08 00 97 0F 80 11 00 00 00 00 00 00 20 [16:44:17]Write i2c OK [16:44:17]MH_I2C_Read... [16:44:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:17]Read from MH i2c: E2 [16:44:17]MH_I2C_Read... [16:44:17]Read from MH i2c: E2 17 00 [16:44:17]MH_I2C_Read... [16:44:17]Read from MH i2c: E2 17 00 97 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 73 [16:44:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:44:17]wFMCommunicate OK [16:44:17]requested_item fd.num is exist - process it [16:44:17]SAM_PROTO_GetFieldsCounters [16:44:17]wFMCommunicate request_size=4 [16:44:17]MH_SAM_APDU [16:44:17]CAPDU: 80 13 00 00 [16:44:17]Write to MH i2c: E2 08 00 98 0F 80 13 00 00 00 00 00 00 23 [16:44:17]Write i2c OK [16:44:17]MH_I2C_Read... [16:44:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:44:17]Read from MH i2c: E2 [16:44:17]MH_I2C_Read... [16:44:17]Read from MH i2c: E2 62 00 [16:44:17]MH_I2C_Read... [16:44:17]Read from MH i2c: E2 62 00 98 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E1 0F 00 00 0E 04 04 00 52 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 14 [16:44:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E1 0F 00 00 0E 04 04 00 52 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 [16:44:18]wFMCommunicate OK [16:44:18]SAM_PROTO_GetFieldsCounters done [16:44:18]requested_item shift.num is exist - process it [16:44:18]requested_item shift.opened is exist - process it [16:44:18]req_shift_opened [16:44:18]FM_GetShiftState [16:44:18]SAM_PROTO_GetShiftState [16:44:18]wFMCommunicate request_size=4 [16:44:18]MH_SAM_APDU [16:44:18]CAPDU: 80 13 01 00 [16:44:18]Write to MH i2c: E2 08 00 99 0F 80 13 01 00 00 00 00 00 25 [16:44:18]Write i2c OK [16:44:18]MH_I2C_Read... [16:44:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:18]Read from MH i2c: E2 [16:44:18]MH_I2C_Read... [16:44:18]Read from MH i2c: E2 0E 00 [16:44:18]MH_I2C_Read... [16:44:18]Read from MH i2c: E2 0E 00 99 0F 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 B3 [16:44:18]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:44:18]wFMCommunicate OK [16:44:18]SAM_PROTO_GetShiftState done [16:44:18]FM_GetShiftState done [16:44:18]req_shift_opened done [16:44:18]requested_item shift.open_date is exist - process it [16:44:18]req_shift_open_date [16:44:18]req_shift_open_date done [16:44:18]produce_requested_data done [16:44:18]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4065,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [16:44:18]process_action_free close_receipt [16:44:18]json_value_free [16:44:18]json_value_free done [16:44:18]process_json_proto returns [16:44:18]Send response to host [16:44:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4065,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [16:44:18]free response buf [16:44:18]execute_script done [16:44:18]execute_script returns [16:44:18]free content buf [16:44:18]Sock 8.Close socket [16:44:18]Sock 8.Thread stoped [16:44:21]OFD Sender: No OFD packet to send [16:44:26]OFD Sender: No OFD packet to send [16:44:31]OFD Sender: No OFD packet to send [16:44:36]OFD Sender: No OFD packet to send [16:44:41]OFD Sender: No OFD packet to send [16:44:46]OFD Sender: No OFD packet to send [16:44:51]OFD Sender: No OFD packet to send [16:44:56]OFD Sender: No OFD packet to send [16:45:01]OFD Sender: No OFD packet to send [16:45:06]OFD Sender: No OFD packet to send [16:45:11]OFD Sender: No OFD packet to send [16:45:16]OFD Sender: No OFD packet to send [16:45:21]OFD Sender: No OFD packet to send [16:45:26]OFD Sender: No OFD packet to send [16:45:31]OFD Sender: No OFD packet to send [16:45:36]OFD Sender: No OFD packet to send [16:45:41]OFD Sender: No OFD packet to send [16:45:46]OFD Sender: No OFD packet to send [16:45:51]OFD Sender: No OFD packet to send [16:45:56]OFD Sender: No OFD packet to send [16:46:01]OFD Sender: No OFD packet to send [16:46:06]OFD Sender: No OFD packet to send [16:46:11]OFD Sender: No OFD packet to send [16:46:16]OFD Sender: No OFD packet to send [16:46:21]OFD Sender: No OFD packet to send [16:46:26]OFD Sender: No OFD packet to send [16:46:31]OFD Sender: No OFD packet to send [16:46:36]OFD Sender: No OFD packet to send [16:46:41]OFD Sender: No OFD packet to send [16:46:46]OFD Sender: No OFD packet to send [16:46:51]accept exits with 9 [16:46:51]New connection [16:46:51]New thread 3067227492 created [16:46:51]Thread 3067370852 joined [16:46:51]Waiting for new connection... [16:46:51] Sock 9.Parse request [16:46:51]Sock 9.Check first char [16:46:51]Sock 9.First char is OK [16:46:51]request: POST /json_proto HTTP/1.0 [16:46:51]Method: POST [16:46:51]URL: /json_proto [16:46:51]Method is POST - this is cgi request [16:46:51]url: /json_proto [16:46:51]query_string will be loaded in cgi processing [16:46:51]execute_cgi json_proto POST (null) [16:46:51]execute_cgi path=json_proto method=POST [16:46:51]POST find Content-Length [16:46:51]Host: 172.17.56.68:8080 [16:46:51]Content-Length: 939 [16:46:51]Content-Type: application/json [16:46:51] [16:46:51]POST finish read [16:46:51]Found Content-Length = 939 [16:46:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4320", "tax_sys" : 0, "items" : [ { "code": "4620016300305", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut classic \u0432\u043B \u0430/\u0431\u0430\u043A\u0442 20 \u0448\u0442", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 2.000, "sum" : 1120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:46:51]execute_script... [16:46: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)4320", "tax_sys" : 0, "items" : [ { "code": "4620016300305", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut classic \u0432\u043B \u0430/\u0431\u0430\u043A\u0442 20 \u0448\u0442", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 2.000, "sum" : 1120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:46:51]POST & json_proto [16:46:51]process_json_proto [16:46:51]json parsed OK: [16:46:51]protocol is kg_v1.0 [16:46:51]action value=close_receipt [16:46:51]process_action close_receipt [16:46:51]cmd_close_receipt [16:46:51]MH_GetDate [16:46:51]Write to MH i2c: F0 00 00 9A 0F 98 [16:46:51]Write i2c OK [16:46:51]MH_I2C_Read... [16:46:51]Read from MH i2c: F0 [16:46:51]MH_I2C_Read... [16:46:51]Read from MH i2c: F0 09 00 [16:46:51]MH_I2C_Read... [16:46:51]Read from MH i2c: F0 09 00 9A 0F 00 80 F3 5D 66 42 69 5C 66 44 [16:46:51]GetLastDocTimeStamp 1717433058 [16:46:51]current date 1717433216 [16:46:51]FM_GetShiftState [16:46:51]SAM_PROTO_GetShiftState [16:46:51]wFMCommunicate request_size=4 [16:46:51]MH_SAM_APDU [16:46:51]CAPDU: 80 13 01 00 [16:46:51]Write to MH i2c: E2 08 00 9B 0F 80 13 01 00 00 00 00 00 27 [16:46:51]Write i2c OK [16:46:51]MH_I2C_Read... [16:46:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:46:51]Read from MH i2c: E2 [16:46:51]MH_I2C_Read... [16:46:51]Read from MH i2c: E2 0E 00 [16:46:51]MH_I2C_Read... [16:46:51]Read from MH i2c: E2 0E 00 9B 0F 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 B5 [16:46:51]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:46:51]wFMCommunicate OK [16:46:51]SAM_PROTO_GetShiftState done [16:46:51]FM_GetShiftState done [16:46:51]opened in 1717372856 [16:46:51]opened+sec_in_day 1717459256 [16:46:51]quantity*price = 6500 [16:46:51]sum+1 = 6501 [16:46:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003150936 Новая Водка Organic 40% 0,48л 2.000 * 560.00 = 1120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1185.00 НСП 1% : 10.48 НДС 12% : 125.84 Наличными: 1185.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 47 03.06.2024 16:46 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4066 ФПД: 31057435315775 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T164656&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4066&fm=31057435315775&tin=02508201610067®Number=0000000000145775&sum=118500 0 [16:46:52]StoreToDocumentArchive [16:46:52]shift 82 fd 4066 [16:46:52]save to /storage/0082/doc_00004066 [16:46:52]save last doc name /storage/0082/doc_00004066 to /storage/kkm_last_doc_name [16:46:52]save OK [16:46:52]Clear old archive folders... [16:46:52]ProcessDocumentItem done err = 0, tmpTLVsize=411 [16:46:52]tlvbuf is 00746840 [16:46:52]SAM_PROTO_ClearQueue [16:46:52]wFMCommunicate request_size=4 [16:46:52]MH_SAM_APDU [16:46:52]CAPDU: 80 09 00 00 [16:46:52]Write to MH i2c: E2 08 00 A8 0F 80 09 00 00 00 00 00 00 29 [16:46:52]Write i2c OK [16:46:52]MH_I2C_Read... [16:46:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:46:52]Read from MH i2c: E2 [16:46:52]MH_I2C_Read... [16:46:52]Read from MH i2c: E2 03 00 [16:46:52]MH_I2C_Read... [16:46:52]Read from MH i2c: E2 03 00 A8 0F 00 90 00 2B [16:46:52]RAPDU: 90 00 [16:46:52]wFMCommunicate OK [16:46:52]SAM_PROTO_ClearQueue done [16:46:52]KKMCreateOFDPacket [16:46:52]OFDProtocolAddRootSTLVToBuf [16:46:52]FM_MakeSignedData [16:46:52]FM_MakeSignedData [16:46:52]SAM_PROTO_SignData [16:46:52]wFMCommunicate request_size=4 [16:46:52]MH_SAM_APDU [16:46:52]CAPDU: 80 0D 01 02 [16:46:52]Write to MH i2c: E2 08 00 A9 0F 80 0D 01 02 00 00 00 00 31 [16:46:52]Write i2c OK [16:46:52]MH_I2C_Read... [16:46:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:46:52]Read from MH i2c: E2 [16:46:52]MH_I2C_Read... [16:46:52]Read from MH i2c: E2 03 00 [16:46:52]MH_I2C_Read... [16:46:52]Read from MH i2c: E2 03 00 A9 0F 00 90 00 2C [16:46:52]RAPDU: 90 00 [16:46:52]wFMCommunicate OK [16:46:52]wFMCommunicate request_size=255 [16:46:52]MH_SAM_APDU [16:46:52]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 80 B5 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [16:46:52]Write to MH i2c: E2 02 01 AA 0F 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 80 B5 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 94 [16:46:52]Write i2c OK [16:46:52]MH_I2C_Read... [16:46:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:46:52]Read from MH i2c: E2 [16:46:52]MH_I2C_Read... [16:46:52]Read from MH i2c: E2 03 00 [16:46:52]MH_I2C_Read... [16:46:52]Read from MH i2c: E2 03 00 AA 0F 00 90 00 2D [16:46:52]RAPDU: 90 00 [16:46:52]wFMCommunicate OK [16:46:52]wFMCommunicate request_size=170 [16:46:52]MH_SAM_APDU [16:46:52]CAPDU: 80 0D 02 02 A5 FC 03 06 00 E4 CE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 31 00 00 00 00 07 04 06 00 E4 CE 01 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 80 F3 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E2 0F 00 00 35 04 06 00 1C 3F 1F 66 4E 3F [16:46:52]Write to MH i2c: E2 AD 00 AB 0F 80 0D 02 02 A5 00 FC 03 06 00 E4 CE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 31 00 00 00 00 07 04 06 00 E4 CE 01 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 80 F3 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E2 0F 00 00 35 04 06 00 1C 3F 1F 66 4E 3F 00 00 B4 [16:46:52]Write i2c OK [16:46:52]MH_I2C_Read... [16:46:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:46:53]Read from MH i2c: E2 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: E2 03 00 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: E2 03 00 AB 0F 00 90 00 2E [16:46:53]RAPDU: 90 00 [16:46:53]wFMCommunicate OK [16:46:53]wFMCommunicate request_size=4 [16:46:53]MH_SAM_APDU [16:46:53]CAPDU: 80 0D 03 02 [16:46:53]Write to MH i2c: E2 08 00 AC 0F 80 0D 03 02 00 00 00 00 36 [16:46:53]Write i2c OK [16:46:53]MH_I2C_Read... [16:46:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:46:53]Read from MH i2c: E2 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: E2 0B 00 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: E2 0B 00 AC 0F 00 1B AF 47 A6 09 D5 D2 03 90 00 A1 [16:46:53]RAPDU: 1B AF 47 A6 09 D5 D2 03 90 00 [16:46:53]wFMCommunicate OK [16:46:53]SAM_PROTO_SignData done [16:46:53]FM_MakeSignedData done [16:46:53]CreateOFDProtocolMessage [16:46:53]wFMCommunicate request_size=4 [16:46:53]MH_SAM_APDU [16:46:53]CAPDU: 80 11 00 00 [16:46:53]Write to MH i2c: E2 08 00 AD 0F 80 11 00 00 00 00 00 00 36 [16:46:53]Write i2c OK [16:46:53]MH_I2C_Read... [16:46:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:46:53]Read from MH i2c: E2 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: E2 17 00 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: E2 17 00 AD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 89 [16:46:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:46:53]wFMCommunicate OK [16:46:53]CreateOFDProtocolMessage done [16:46:53]OFDSenderStorePacket 4066 [16:46:53]StoreOFDPacket docnum=4066 [16:46:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AF 01 00 00 09 74 A7 01 99 14 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 80 B5 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 CE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 31 00 00 00 00 07 04 06 00 E4 CE 01 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 80 F3 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E2 0F 00 00 35 04 06 00 1C 3F 1F 66 4E 3F 1B AF 47 A6 09 D5 D2 03 [16:46:53]CheckFolder [16:46:53]dirname=/storage/ofd_packets [16:46:53]CheckFolder done [16:46:53]ProducePacketName [16:46:53]name=ofd_packets/00004066 [16:46:53]NVStorageSaveData ofd_packets/00004066 [16:46:53]File name is /storage/ofd_packets/00004066 [16:46:53]Write 461 bytes [16:46:53]NVStorageSaveData done [16:46:53]OFDSenderStorePacket done [16:46:53]KKMCreateOFDPacket done [16:46:53]NVStorageSaveData kkm_last_timestamp [16:46:53]File name is /storage/kkm_last_timestamp [16:46:53]Write 4 bytes [16:46:53]NVStorageSaveData done [16:46:53]ExternCall_PrintAddStr [16:46:53]wPrintStart [16:46:53]Write to MH i2c: 01 00 00 AE 0F BD [16:46:53]Write i2c OK [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: 01 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: 01 07 00 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: 01 07 00 AE 0F 00 00 00 00 00 FF 0F D2 [16:46:53]RasterBufferAndPrint [16:46:53]line Счет N : (3)4320 [16:46:53]line ИНН: 02508201610067 [16:46:53]line Контрольно-Кассовый Чек [16:46:53]line ПРОДАЖА [16:46:53]line Товар: 4620016300305 [16:46:53]line Салфетки Absolut classic вл а/бакт 20 шт [16:46:53]line 1.000 * 65.00 [16:46:53]line = 65.00 [16:46:53]line НДС 12% НСП 1% [16:46:53]line > о реализуемом товаре [16:46:53]line Товар: 4700003150936 [16:46:53]line Новая Водка Organic 40% 0,48л [16:46:53]line 2.000 * 560.00 [16:46:53]line = 1120.00 [16:46:53]line НДС 12% НСП 1% [16:46:53]line > о реализуемом товаре [16:46:53]line ИТОГО: 1185.00 [16:46:53]line НСП 1% : 10.48 [16:46:53]line НДС 12% : 125.84 [16:46:53]line Наличными: 1185.00 [16:46:53]line Безнал.: 0.00 [16:46:53]line Место: АЗС № 116 "Партнер Нефть" [16:46:53]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:46:53]line СНО: Общий режим [16:46:53]line Чек 47 03.06.2024 16:46 [16:46:53]line Смена: 82 ФФД: 1.0 [16:46:53]line ЗНМ: 0300000233 [16:46:53]line РНМ: 0000000000145775 [16:46:53]line Версия ККМ: v1.0 [16:46:53]line ФМ: 0000000000959360 [16:46:53]line ФД: 4066 [16:46:53]line ФПД: 31057435315775 [16:46:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T164656&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4066&fm=31057435315775&tin=02508201610067®Number=0000000000145775&sum=118500 [16:46:53]line 0 [16:46:53]written 0, free lines is 4095 [16:46:53]OFD Sender: Processing packet 4066 [packets to send 2, broken 1] [16:46:53]ProducePacketName [16:46:53]name=ofd_packets/00004066 [16:46:53]OFD Sender: To server: pG, [16:46:53]CommunicateWithHost lk.salyk.kg:30040 [16:46:53]ConnectInit lk.salyk.kg [16:46:53]Connected sock=10 [16:46:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AF 01 00 00 09 74 A7 01 99 14 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 80 B5 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 CE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 31 00 00 00 00 07 04 06 00 E4 CE 01 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 80 F3 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E2 0F 00 00 35 04 06 00 1C 3F 1F 66 4E 3F 1B AF 47 A6 09 D5 D2 03 [16:46:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 7E B8 47 00 02 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E2 0F 00 00 F4 03 04 00 83 9F 5D 66 B6 04 01 00 00 8B 74 35 87 37 C7 8A 7D [16:46:53]CommunicateWithHost err = 0 [16:46:53]CheckOFDResponse [16:46:53]1017 (14) - 77093643461234 [16:46:53]1041 (16) - 0000000000959360 [16:46:53]1040 (4) - 4066 [16:46:53]1012 (4) - 03.06.2024 10:48 [16:46:53]1206 (1) - 0 [16:46:53]OFD Sender: Remove packet 4066 [16:46:53]ProducePacketName [16:46:53]name=ofd_packets/00004066 [16:46:53]NVStorageDeleteData [16:46:53]Write to MH i2c: 01 00 00 DE 0F ED [16:46:53]Write i2c OK [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: 01 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: 01 07 00 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: 01 07 00 DE 0F 00 00 00 00 00 2D 0C 2D [16:46:53]RasterBufferAndPrint [16:46:53]line [16:46:53]line [16:46:53]line [16:46:53]line [16:46:53]line [16:46:53]written 0, free lines is 3123 [16:46:53]MH_Cut [16:46:53]Write to MH i2c: D1 01 00 E5 0F 01 C6 [16:46:53]Write i2c OK [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: D1 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: D1 01 00 [16:46:53]MH_I2C_Read... [16:46:53]Read from MH i2c: D1 01 00 E5 0F 00 C5 [16:46:53]Write to MH i2c: 01 00 00 E6 0F F5 [16:46:53]Write i2c OK [16:46:53]MH_I2C_Read... [16:46:54]OFD Sender: No OFD packet to send [16:46:54]*** Cut start [16:46:54]*** Partial cut [16:46:54]*** CUTSNS_PIN = 1 [16:46:54]*** CUTSNS_PIN = 0 [16:46:55]*** Brake cut motor [16:46:55]Read from MH i2c: 01 [16:46:55]MH_I2C_Read... [16:46:55]*** Stop cut motor [16:46:55]*** Cut end [16:46:55]Read from MH i2c: 01 07 00 [16:46:55]MH_I2C_Read... [16:46:55]Read from MH i2c: 01 07 00 E6 0F 00 00 00 00 00 FF 0F 0A [16:46:55]process_action close_receipt done [16:46:55]requested_data is exist [16:46:55]produce_requested_data [16:46:55]requested_item fm.sn is exist - process it [16:46:55]wFMCommunicate request_size=4 [16:46:55]MH_SAM_APDU [16:46:55]CAPDU: 80 11 00 00 [16:46:55]Write to MH i2c: E2 08 00 E7 0F 80 11 00 00 00 00 00 00 70 [16:46:55]Write i2c OK [16:46:55]MH_I2C_Read... [16:46:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:46:55]Read from MH i2c: E2 [16:46:55]MH_I2C_Read... [16:46:55]Read from MH i2c: E2 17 00 [16:46:55]MH_I2C_Read... [16:46:55]Read from MH i2c: E2 17 00 E7 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C3 [16:46:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:46:55]wFMCommunicate OK [16:46:55]requested_item fd.num is exist - process it [16:46:55]SAM_PROTO_GetFieldsCounters [16:46:55]wFMCommunicate request_size=4 [16:46:55]MH_SAM_APDU [16:46:55]CAPDU: 80 13 00 00 [16:46:55]Write to MH i2c: E2 08 00 E8 0F 80 13 00 00 00 00 00 00 73 [16:46:55]Write i2c OK [16:46:55]MH_I2C_Read... [16:46:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:46:55]Read from MH i2c: E2 [16:46:55]MH_I2C_Read... [16:46:55]Read from MH i2c: E2 62 00 [16:46:55]MH_I2C_Read... [16:46:55]Read from MH i2c: E2 62 00 E8 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E2 0F 00 00 0E 04 04 00 52 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 68 [16:46:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E2 0F 00 00 0E 04 04 00 52 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 [16:46:55]wFMCommunicate OK [16:46:55]SAM_PROTO_GetFieldsCounters done [16:46:55]requested_item shift.num is exist - process it [16:46:55]requested_item shift.opened is exist - process it [16:46:55]req_shift_opened [16:46:55]FM_GetShiftState [16:46:55]SAM_PROTO_GetShiftState [16:46:55]wFMCommunicate request_size=4 [16:46:55]MH_SAM_APDU [16:46:55]CAPDU: 80 13 01 00 [16:46:55]Write to MH i2c: E2 08 00 E9 0F 80 13 01 00 00 00 00 00 75 [16:46:55]Write i2c OK [16:46:55]MH_I2C_Read... [16:46:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:46:55]Read from MH i2c: E2 [16:46:55]MH_I2C_Read... [16:46:55]Read from MH i2c: E2 0E 00 [16:46:55]MH_I2C_Read... [16:46:55]Read from MH i2c: E2 0E 00 E9 0F 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 03 [16:46:55]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:46:55]wFMCommunicate OK [16:46:55]SAM_PROTO_GetShiftState done [16:46:55]FM_GetShiftState done [16:46:55]req_shift_opened done [16:46:55]requested_item shift.open_date is exist - process it [16:46:55]req_shift_open_date [16:46:55]req_shift_open_date done [16:46:55]produce_requested_data done [16:46:55]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4066,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [16:46:55]process_action_free close_receipt [16:46:55]json_value_free [16:46:55]json_value_free done [16:46:55]process_json_proto returns [16:46:55]Send response to host [16:46:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4066,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [16:46:55]free response buf [16:46:55]execute_script done [16:46:55]execute_script returns [16:46:55]free content buf [16:46:55]Sock 9.Close socket [16:46:55]Sock 9.Thread stoped [16:46:59]OFD Sender: No OFD packet to send [16:47:04]OFD Sender: No OFD packet to send [16:47:09]OFD Sender: No OFD packet to send [16:47:14]OFD Sender: No OFD packet to send [16:47:19]OFD Sender: No OFD packet to send [16:47:24]OFD Sender: No OFD packet to send [16:47:29]OFD Sender: No OFD packet to send [16:47:34]OFD Sender: No OFD packet to send [16:47:39]OFD Sender: No OFD packet to send [16:47:44]OFD Sender: No OFD packet to send [16:47:49]OFD Sender: No OFD packet to send [16:47:54]OFD Sender: No OFD packet to send [16:47:59]OFD Sender: No OFD packet to send [16:48:04]OFD Sender: No OFD packet to send [16:48:09]OFD Sender: No OFD packet to send [16:48:14]OFD Sender: No OFD packet to send [16:48:19]OFD Sender: No OFD packet to send [16:48:24]OFD Sender: No OFD packet to send [16:48:29]OFD Sender: No OFD packet to send [16:48:34]OFD Sender: No OFD packet to send [16:48:39]OFD Sender: No OFD packet to send [16:48:44]OFD Sender: No OFD packet to send [16:48:49]OFD Sender: No OFD packet to send [16:48:54]OFD Sender: No OFD packet to send [16:48:59]OFD Sender: No OFD packet to send [16:49:04]OFD Sender: No OFD packet to send [16:49:09]OFD Sender: No OFD packet to send [16:49:14]OFD Sender: No OFD packet to send [16:49:19]OFD Sender: No OFD packet to send [16:49:24]OFD Sender: No OFD packet to send [16:49:29]OFD Sender: No OFD packet to send [16:49:34]OFD Sender: No OFD packet to send [16:49:39]OFD Sender: No OFD packet to send [16:49:44]OFD Sender: No OFD packet to send [16:49:49]OFD Sender: No OFD packet to send [16:49:54]OFD Sender: No OFD packet to send [16:49:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [16:51:39]OFD Sender: No OFD packet to send [16:51:44]OFD Sender: No OFD packet to send [16:51:49]OFD Sender: No OFD packet to send [16:51:54]OFD Sender: No OFD packet to send [16:51:59]OFD Sender: No OFD packet to send [16:52:04]OFD Sender: No OFD packet to send [16:52:09]OFD Sender: No OFD packet to send [16:52:14]OFD Sender: No OFD packet to send [16:52:19]OFD Sender: No OFD packet to send [16:52:24]OFD Sender: No OFD packet to send [16:52:29]OFD Sender: No OFD packet to send [16:52:34]OFD Sender: No OFD packet to send [16:52:39]OFD Sender: No OFD packet to send [16:52:44]OFD Sender: No OFD packet to send [16:52:49]OFD Sender: No OFD packet to send [16:52:54]OFD Sender: No OFD packet to send [16:52:59]OFD Sender: No OFD packet to send [16:53:04]OFD Sender: No OFD packet to send [16:53:09]OFD Sender: No OFD packet to send [16:53:14]OFD Sender: No OFD packet to send [16:53:19]OFD Sender: No OFD packet to send [16:53:24]OFD Sender: No OFD packet to send [16:53:29]OFD Sender: No OFD packet to send [16:53:34]OFD Sender: No OFD packet to send [16:53:39]OFD Sender: No OFD packet to send [16:53:44]OFD Sender: No OFD packet to send [16:53:49]OFD Sender: No OFD packet to send [16:53:54]OFD Sender: No OFD packet to send [16:53:59]OFD Sender: No OFD packet to send [16:54:04]OFD Sender: No OFD packet to send [16:54:09]OFD Sender: No OFD packet to send [16:54:14]OFD Sender: No OFD packet to send [16:54:19]OFD Sender: No OFD packet to send [16:54:24]OFD Sender: No OFD packet to send [16:54:29]OFD Sender: No OFD packet to send [16:54:34]OFD Sender: No OFD packet to send [16:54:39]OFD Sender: No OFD packet to send [16:54:44]OFD Sender: No OFD packet to send [16:54:49]OFD Sender: No OFD packet to send [16:54:54]OFD Sender: No OFD packet to send [16:54:59]OFD Sender: No OFD packet to send [16:55:04]OFD Sender: No OFD packet to send [16:55:09]OFD Sender: No OFD packet to send [16:55:14]OFD Sender: No OFD packet to send [16:55:19]OFD Sender: No OFD packet to send [16:55:24]OFD Sender: No OFD packet to send [16:55:29]OFD Sender: No OFD packet to send [16:55:34]OFD Sender: No OFD packet to send [16:55:39]OFD Sender: No OFD packet to send [16:55:44]OFD Sender: No OFD packet to send [16:55:49]OFD Sender: No OFD packet to send [16:55:54]OFD Sender: No OFD packet to send [16:55:59]OFD Sender: No OFD packet to send [16:56:04]OFD Sender: No OFD packet to send [16:56:09]OFD Sender: No OFD packet to send [16:56:14]OFD Sender: No OFD packet to send [16:56:19]OFD Sender: No OFD packet to send [16:56:24]OFD Sender: No OFD packet to send [16:56:29]OFD Sender: No OFD packet to send [16:56:34]OFD Sender: No OFD packet to send [16:56:39]OFD Sender: No OFD packet to send [16:56:44]OFD Sender: No OFD packet to send [16:56:49]OFD Sender: No OFD packet to send [16:56:54]OFD Sender: No OFD packet to send [16:56:59]OFD Sender: No OFD packet to send [16:57:04]OFD Sender: No OFD packet to send [16:57:09]OFD Sender: No OFD packet to send [16:57:14]OFD Sender: No OFD packet to send [16:57:19]OFD Sender: No OFD packet to send [16:57:24]OFD Sender: No OFD packet to send [16:57:29]OFD Sender: No OFD packet to send [16:57:34]OFD Sender: No OFD packet to send [16:57:39]OFD Sender: No OFD packet to send [16:57:44]OFD Sender: No OFD packet to send [16:57:49]OFD Sender: No OFD packet to send [16:57:54]OFD Sender: No OFD packet to send [16:57:59]OFD Sender: No OFD packet to send [16:58:04]OFD Sender: No OFD packet to send [16:58:09]OFD Sender: No OFD packet to send [16:58:14]OFD Sender: No OFD packet to send [16:58:19]OFD Sender: No OFD packet to send [16:58:24]OFD Sender: No OFD packet to send [16:58:29]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:16]accept exits with 8 [16:59:16]New connection [16:59:16]New thread 3067370852 created [16:59:16]Thread 3067227492 joined [16:59:16]Waiting for new connection... [16:59:16] Sock 8.Parse request [16:59:16]Sock 8.Check first char [16:59:16]Sock 8.First char is OK [16:59:16]request: POST /json_proto HTTP/1.0 [16:59:16]Method: POST [16:59:16]URL: /json_proto [16:59:16]Method is POST - this is cgi request [16:59:16]url: /json_proto [16:59:16]query_string will be loaded in cgi processing [16:59:16]execute_cgi json_proto POST (null) [16:59:16]execute_cgi path=json_proto method=POST [16:59:16]POST find Content-Length [16:59:16]Host: 172.17.56.68:8080 [16:59:16]Content-Length: 1119 [16:59:16]Content-Type: application/json [16:59:16] [16:59:16]POST finish read [16:59:16]Found Content-Length = 1119 [16:59:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4321", "tax_sys" : 0, "items" : [ { "code": "4870002329999", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043B\u0438\u043C\u043E\u043D Regular", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329944", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043C\u0430\u043B\u0438\u043D\u0430 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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:16]execute_script... [16:59:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4321", "tax_sys" : 0, "items" : [ { "code": "4870002329999", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043B\u0438\u043C\u043E\u043D Regular", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329944", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043C\u0430\u043B\u0438\u043D\u0430 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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:16]POST & json_proto [16:59:16]process_json_proto [16:59:16]json parsed OK: [16:59:16]protocol is kg_v1.0 [16:59:16]action value=close_receipt [16:59:16]process_action close_receipt [16:59:16]cmd_close_receipt [16:59:16]MH_GetDate [16:59:16]Write to MH i2c: F0 00 00 EA 0F E8 [16:59:16]Write i2c OK [16:59:16]MH_I2C_Read... [16:59:16]Read from MH i2c: F0 [16:59:16]MH_I2C_Read... [16:59:16]Read from MH i2c: F0 09 00 [16:59:16]MH_I2C_Read... [16:59:16]Read from MH i2c: F0 09 00 EA 0F 00 69 F6 5D 66 42 69 5C 66 80 [16:59:16]GetLastDocTimeStamp 1717433216 [16:59:16]current date 1717433961 [16:59:16]FM_GetShiftState [16:59:16]SAM_PROTO_GetShiftState [16:59:16]wFMCommunicate request_size=4 [16:59:16]MH_SAM_APDU [16:59:16]CAPDU: 80 13 01 00 [16:59:16]Write to MH i2c: E2 08 00 EB 0F 80 13 01 00 00 00 00 00 77 [16:59:16]Write i2c OK [16:59:16]MH_I2C_Read... [16:59:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:16]Read from MH i2c: E2 [16:59:16]MH_I2C_Read... [16:59:16]Read from MH i2c: E2 0E 00 [16:59:16]MH_I2C_Read... [16:59:16]Read from MH i2c: E2 0E 00 EB 0F 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 05 [16:59:16]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:59:16]wFMCommunicate OK [16:59:16]SAM_PROTO_GetShiftState done [16:59:16]FM_GetShiftState done [16:59:16]opened in 1717372856 [16:59:16]opened+sec_in_day 1717459256 [16:59:16]quantity*price = 26000 [16:59:16]sum+1 = 26001 [16:59:16]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329944 Напиток Lipton IceTea 1л малина Regular 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 390.00 НСП 1% : 3.45 НДС 12% : 41.41 Наличными: 0.00 Безнал.: 390.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 48 03.06.2024 16:59 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4067 ФПД: 228068675651555 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T165921&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4067&fm=228068675651555&tin=02508201610067®Number=0000000000145775&sum=39000 0 [16:59:17]StoreToDocumentArchive [16:59:17]shift 82 fd 4067 [16:59:17]save to /storage/0082/doc_00004067 [16:59:17]save last doc name /storage/0082/doc_00004067 to /storage/kkm_last_doc_name [16:59:17]save OK [16:59:17]Clear old archive folders... [16:59:17]ProcessDocumentItem done err = 0, tmpTLVsize=418 [16:59:17]tlvbuf is 0075FA80 [16:59:17]SAM_PROTO_ClearQueue [16:59:17]wFMCommunicate request_size=4 [16:59:17]MH_SAM_APDU [16:59:17]CAPDU: 80 09 00 00 [16:59:17]Write to MH i2c: E2 08 00 F8 0F 80 09 00 00 00 00 00 00 79 [16:59:17]Write i2c OK [16:59:17]MH_I2C_Read... [16:59:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:59:17]Read from MH i2c: E2 [16:59:17]MH_I2C_Read... [16:59:17]Read from MH i2c: E2 03 00 [16:59:17]MH_I2C_Read... [16:59:17]Read from MH i2c: E2 03 00 F8 0F 00 90 00 7B [16:59:17]RAPDU: 90 00 [16:59:17]wFMCommunicate OK [16:59:17]SAM_PROTO_ClearQueue done [16:59:17]KKMCreateOFDPacket [16:59:17]OFDProtocolAddRootSTLVToBuf [16:59:17]FM_MakeSignedData [16:59:17]FM_MakeSignedData [16:59:17]SAM_PROTO_SignData [16:59:17]wFMCommunicate request_size=4 [16:59:17]MH_SAM_APDU [16:59:17]CAPDU: 80 0D 01 02 [16:59:17]Write to MH i2c: E2 08 00 F9 0F 80 0D 01 02 00 00 00 00 81 [16:59:17]Write i2c OK [16:59:17]MH_I2C_Read... [16:59:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:59:17]Read from MH i2c: E2 [16:59:17]MH_I2C_Read... [16:59:17]Read from MH i2c: E2 03 00 [16:59:17]MH_I2C_Read... [16:59:17]Read from MH i2c: E2 03 00 F9 0F 00 90 00 7C [16:59:17]RAPDU: 90 00 [16:59:17]wFMCommunicate OK [16:59:17]wFMCommunicate request_size=255 [16:59:17]MH_SAM_APDU [16:59:17]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 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 BB D0 B8 D0 BC D0 BE D0 BD 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 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 34 34 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 BC D0 B0 D0 BB D0 B8 D0 BD D0 B0 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 [16:59:17]Write to MH i2c: E2 02 01 FA 0F 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 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 BB D0 B8 D0 BC D0 BE D0 BD 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 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 34 34 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 BC D0 B0 D0 BB D0 B8 D0 BD D0 B0 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 00 06 [16:59:17]Write i2c OK [16:59:17]MH_I2C_Read... [16:59:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:17]Read from MH i2c: E2 [16:59:17]MH_I2C_Read... [16:59:17]Read from MH i2c: E2 03 00 [16:59:17]MH_I2C_Read... [16:59:17]Read from MH i2c: E2 03 00 FA 0F 00 90 00 7D [16:59:17]RAPDU: 90 00 [16:59:17]wFMCommunicate OK [16:59:17]wFMCommunicate request_size=177 [16:59:17]MH_SAM_APDU [16:59:17]CAPDU: 80 0D 02 02 AC 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 69 F6 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E3 0F 00 00 35 04 06 00 CF 6D 60 65 87 E3 [16:59:17]Write to MH i2c: E2 B4 00 FB 0F 80 0D 02 02 AC 00 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 69 F6 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E3 0F 00 00 35 04 06 00 CF 6D 60 65 87 E3 00 00 5D [16:59:17]Write i2c OK [16:59:17]MH_I2C_Read... [16:59:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:18]Read from MH i2c: E2 [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: E2 03 00 [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: E2 03 00 FB 0F 00 90 00 7E [16:59:18]RAPDU: 90 00 [16:59:18]wFMCommunicate OK [16:59:18]wFMCommunicate request_size=4 [16:59:18]MH_SAM_APDU [16:59:18]CAPDU: 80 0D 03 02 [16:59:18]Write to MH i2c: E2 08 00 FC 0F 80 0D 03 02 00 00 00 00 86 [16:59:18]Write i2c OK [16:59:18]MH_I2C_Read... [16:59:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:59:18]Read from MH i2c: E2 [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: E2 0B 00 [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: E2 0B 00 FC 0F 00 3B 82 58 5F 48 9E 5B 2A 90 00 66 [16:59:18]RAPDU: 3B 82 58 5F 48 9E 5B 2A 90 00 [16:59:18]wFMCommunicate OK [16:59:18]SAM_PROTO_SignData done [16:59:18]FM_MakeSignedData done [16:59:18]CreateOFDProtocolMessage [16:59:18]wFMCommunicate request_size=4 [16:59:18]MH_SAM_APDU [16:59:18]CAPDU: 80 11 00 00 [16:59:18]Write to MH i2c: E2 08 00 FD 0F 80 11 00 00 00 00 00 00 86 [16:59:18]Write i2c OK [16:59:18]MH_I2C_Read... [16:59:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:18]Read from MH i2c: E2 [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: E2 17 00 [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: E2 17 00 FD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D9 [16:59:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:59:18]wFMCommunicate OK [16:59:18]CreateOFDProtocolMessage done [16:59:18]OFDSenderStorePacket 4067 [16:59:18]StoreOFDPacket docnum=4067 [16:59:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B6 01 00 00 93 07 AE 01 E7 9B 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 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 BB D0 B8 D0 BC D0 BE D0 BD 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 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 34 34 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 BC D0 B0 D0 BB D0 B8 D0 BD D0 B0 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 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 69 F6 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E3 0F 00 00 35 04 06 00 CF 6D 60 65 87 E3 3B 82 58 5F 48 9E 5B 2A [16:59:18]CheckFolder [16:59:18]dirname=/storage/ofd_packets [16:59:18]CheckFolder done [16:59:18]ProducePacketName [16:59:18]name=ofd_packets/00004067 [16:59:18]NVStorageSaveData ofd_packets/00004067 [16:59:18]File name is /storage/ofd_packets/00004067 [16:59:18]Write 468 bytes [16:59:18]NVStorageSaveData done [16:59:18]OFDSenderStorePacket done [16:59:18]KKMCreateOFDPacket done [16:59:18]NVStorageSaveData kkm_last_timestamp [16:59:18]File name is /storage/kkm_last_timestamp [16:59:18]Write 4 bytes [16:59:18]NVStorageSaveData done [16:59:18]ExternCall_PrintAddStr [16:59:18]wPrintStart [16:59:18]Write to MH i2c: 01 00 00 FE 0F 0D [16:59:18]Write i2c OK [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: 01 [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: 01 07 00 [16:59:18]MH_I2C_Read... [16:59:18]Read from MH i2c: 01 07 00 FE 0F 00 00 00 00 00 FF 0F 22 [16:59:18]RasterBufferAndPrint [16:59:18]line Счет N : (3)4321 [16:59:18]line ИНН: 02508201610067 [16:59:18]line Контрольно-Кассовый Чек [16:59:18]line ПРОДАЖА [16:59:18]line Товар: 4870002329999 [16:59:18]line Напиток Lipton IceTea 1л лимон Regular [16:59:18]line 2.000 * 130.00 [16:59:18]line = 260.00 [16:59:18]line НДС 12% НСП 1% [16:59:18]line > о реализуемом товаре [16:59:18]line Товар: 4870002329944 [16:59:18]line Напиток Lipton IceTea 1л малина Regular [16:59:18]line 1.000 * 130.00 [16:59:18]line = 130.00 [16:59:18]line НДС 12% НСП 1% [16:59:18]line > о реализуемом товаре [16:59:18]line ИТОГО: 390.00 [16:59:18]line НСП 1% : 3.45 [16:59:18]line НДС 12% : 41.41 [16:59:18]line Наличными: 0.00 [16:59:18]line Безнал.: 390.00 [16:59:18]line Место: АЗС № 116 "Партнер Нефть" [16:59:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:59:18]line СНО: Общий режим [16:59:18]line Чек 48 03.06.2024 16:59 [16:59:18]line Смена: 82 ФФД: 1.0 [16:59:18]line ЗНМ: 0300000233 [16:59:18]line РНМ: 0000000000145775 [16:59:18]line Версия ККМ: v1.0 [16:59:18]line Платежная система: Бакай Банк [16:59:18]line ФМ: 0000000000959360 [16:59:18]line ФД: 4067 [16:59:18]line ФПД: 228068675651555 [16:59:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T165921&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4067&fm=228068675651555&tin=02508201610067®Number=0000000000145775&sum=39000 [16:59:18]line 0 [16:59:18]written 0, free lines is 4095 [16:59:18]OFD Sender: Processing packet 4067 [packets to send 2, broken 1] [16:59:18]ProducePacketName [16:59:18]name=ofd_packets/00004067 [16:59:18]OFD Sender: To server: pG, [16:59:18]CommunicateWithHost lk.salyk.kg:30040 [16:59:18]ConnectInit lk.salyk.kg [16:59:18]Connected sock=10 [16:59:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B6 01 00 00 93 07 AE 01 E7 9B 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 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 BB D0 B8 D0 BC D0 BE D0 BD 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 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 34 34 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 BC D0 B0 D0 BB D0 B8 D0 BD D0 B0 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 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 98 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 69 F6 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E3 0F 00 00 35 04 06 00 CF 6D 60 65 87 E3 3B 82 58 5F 48 9E 5B 2A [16:59:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 80 B5 47 00 7F CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E3 0F 00 00 F4 03 04 00 6C A2 5D 66 B6 04 01 00 00 1B E8 AD A8 E2 E3 A2 9F [16:59:18]CommunicateWithHost err = 0 [16:59:18]CheckOFDResponse [16:59:18]1017 (14) - 77093643461234 [16:59:18]1041 (16) - 0000000000959360 [16:59:18]1040 (4) - 4067 [16:59:18]1012 (4) - 03.06.2024 11:01 [16:59:18]1206 (1) - 0 [16:59:18]OFD Sender: Remove packet 4067 [16:59:18]ProducePacketName [16:59:18]name=ofd_packets/00004067 [16:59:18]NVStorageDeleteData [16:59:19]Write to MH i2c: 01 00 00 30 10 40 [16:59:19]Write i2c OK [16:59:19]MH_I2C_Read... [16:59:19]Read from MH i2c: 01 [16:59:19]MH_I2C_Read... [16:59:19]Read from MH i2c: 01 07 00 [16:59:19]MH_I2C_Read... [16:59:19]Read from MH i2c: 01 07 00 30 10 00 00 00 00 00 13 0C 66 [16:59:19]RasterBufferAndPrint [16:59:19]line [16:59:19]line [16:59:19]line [16:59:19]line [16:59:19]line [16:59:19]written 0, free lines is 3097 [16:59:19]MH_Cut [16:59:19]Write to MH i2c: D1 01 00 37 10 01 19 [16:59:19]Write i2c OK [16:59:19]MH_I2C_Read... [16:59:19]Read from MH i2c: D1 [16:59:19]MH_I2C_Read... [16:59:19]Read from MH i2c: D1 01 00 [16:59:19]MH_I2C_Read... [16:59:19]Read from MH i2c: D1 01 00 37 10 00 18 [16:59:19]Write to MH i2c: 01 00 00 38 10 48 [16:59:19]Write i2c OK [16:59:19]MH_I2C_Read... [16:59:19]OFD Sender: No OFD packet to send [16:59:20]*** Cut start [16:59:20]*** Partial cut [16:59:20]*** CUTSNS_PIN = 1 [16:59:20]*** CUTSNS_PIN = 0 [16:59:20]*** Brake cut motor [16:59:20]Read from MH i2c: 01 [16:59:20]MH_I2C_Read... [16:59:20]*** Stop cut motor [16:59:20]*** Cut end [16:59:20]Read from MH i2c: 01 07 00 [16:59:20]MH_I2C_Read... [16:59:20]Read from MH i2c: 01 07 00 38 10 00 00 00 00 00 FF 0F 5D [16:59:20]process_action close_receipt done [16:59:20]requested_data is exist [16:59:20]produce_requested_data [16:59:20]requested_item fm.sn is exist - process it [16:59:20]wFMCommunicate request_size=4 [16:59:20]MH_SAM_APDU [16:59:20]CAPDU: 80 11 00 00 [16:59:20]Write to MH i2c: E2 08 00 39 10 80 11 00 00 00 00 00 00 C3 [16:59:20]Write i2c OK [16:59:20]MH_I2C_Read... [16:59:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:20]Read from MH i2c: E2 [16:59:20]MH_I2C_Read... [16:59:20]Read from MH i2c: E2 17 00 [16:59:20]MH_I2C_Read... [16:59:20]Read from MH i2c: E2 17 00 39 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 16 [16:59:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:59:20]wFMCommunicate OK [16:59:20]requested_item fd.num is exist - process it [16:59:20]SAM_PROTO_GetFieldsCounters [16:59:20]wFMCommunicate request_size=4 [16:59:20]MH_SAM_APDU [16:59:20]CAPDU: 80 13 00 00 [16:59:20]Write to MH i2c: E2 08 00 3A 10 80 13 00 00 00 00 00 00 C6 [16:59:20]Write i2c OK [16:59:20]MH_I2C_Read... [16:59:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:59:20]Read from MH i2c: E2 [16:59:20]MH_I2C_Read... [16:59:20]Read from MH i2c: E2 62 00 [16:59:20]MH_I2C_Read... [16:59:20]Read from MH i2c: E2 62 00 3A 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E3 0F 00 00 0E 04 04 00 52 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 BF [16:59:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E3 0F 00 00 0E 04 04 00 52 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 [16:59:20]wFMCommunicate OK [16:59:20]SAM_PROTO_GetFieldsCounters done [16:59:20]requested_item shift.num is exist - process it [16:59:20]requested_item shift.opened is exist - process it [16:59:20]req_shift_opened [16:59:20]FM_GetShiftState [16:59:20]SAM_PROTO_GetShiftState [16:59:20]wFMCommunicate request_size=4 [16:59:20]MH_SAM_APDU [16:59:20]CAPDU: 80 13 01 00 [16:59:20]Write to MH i2c: E2 08 00 3B 10 80 13 01 00 00 00 00 00 C8 [16:59:20]Write i2c OK [16:59:20]MH_I2C_Read... [16:59:21]Read from MH i2c: E2 [16:59:21]MH_I2C_Read... [16:59:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:21]Read from MH i2c: E2 0E 00 [16:59:21]MH_I2C_Read... [16:59:21]Read from MH i2c: E2 0E 00 3B 10 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 56 [16:59:21]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [16:59:21]wFMCommunicate OK [16:59:21]SAM_PROTO_GetShiftState done [16:59:21]FM_GetShiftState done [16:59:21]req_shift_opened done [16:59:21]requested_item shift.open_date is exist - process it [16:59:21]req_shift_open_date [16:59:21]req_shift_open_date done [16:59:21]produce_requested_data done [16:59:21]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4067,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [16:59:21]process_action_free close_receipt [16:59:21]json_value_free [16:59:21]json_value_free done [16:59:21]process_json_proto returns [16:59:21]Send response to host [16:59:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4067,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [16:59:21]free response buf [16:59:21]execute_script done [16:59:21]execute_script returns [16:59:21]free content buf [16:59:21]Sock 8.Close socket [16:59:21]Sock 8.Thread stoped [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:12]accept exits with 9 [17:00:12]New connection [17:00:12]New thread 3067227492 created [17:00:12]Thread 3067370852 joined [17:00:12]Waiting for new connection... [17:00:12] Sock 9.Parse request [17:00:12]Sock 9.Check first char [17:00:12]Sock 9.First char is OK [17:00:12]request: POST /json_proto HTTP/1.0 [17:00:12]Method: POST [17:00:12]URL: /json_proto [17:00:12]Method is POST - this is cgi request [17:00:12]url: /json_proto [17:00:12]query_string will be loaded in cgi processing [17:00:12]execute_cgi json_proto POST (null) [17:00:12]execute_cgi path=json_proto method=POST [17:00:12]POST find Content-Length [17:00:12]Host: 172.17.56.68:8080 [17:00:12]Content-Length: 1256 [17:00:12]Content-Type: application/json [17:00:12] [17:00:12]POST finish read [17:00:12]Found Content-Length = 1256 [17:00:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4322", "tax_sys" : 0, "items" : [ { "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:12]execute_script... [17: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)4322", "tax_sys" : 0, "items" : [ { "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:12]POST & json_proto [17:00:12]process_json_proto [17:00:12]json parsed OK: [17:00:12]protocol is kg_v1.0 [17:00:12]action value=close_receipt [17:00:12]process_action close_receipt [17:00:12]cmd_close_receipt [17:00:12]MH_GetDate [17:00:12]Write to MH i2c: F0 00 00 3C 10 3B [17:00:12]Write i2c OK [17:00:12]MH_I2C_Read... [17:00:12]Read from MH i2c: F0 [17:00:12]MH_I2C_Read... [17:00:12]Read from MH i2c: F0 09 00 [17:00:12]MH_I2C_Read... [17:00:12]Read from MH i2c: F0 09 00 3C 10 00 A1 F6 5D 66 42 69 5C 66 0B [17:00:12]GetLastDocTimeStamp 1717433961 [17:00:12]current date 1717434017 [17:00:12]FM_GetShiftState [17:00:12]SAM_PROTO_GetShiftState [17:00:12]wFMCommunicate request_size=4 [17:00:12]MH_SAM_APDU [17:00:12]CAPDU: 80 13 01 00 [17:00:12]Write to MH i2c: E2 08 00 3D 10 80 13 01 00 00 00 00 00 CA [17:00:12]Write i2c OK [17:00:12]MH_I2C_Read... [17:00:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:12]Read from MH i2c: E2 [17:00:12]MH_I2C_Read... [17:00:12]Read from MH i2c: E2 0E 00 [17:00:12]MH_I2C_Read... [17:00:12]Read from MH i2c: E2 0E 00 3D 10 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 58 [17:00:12]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [17:00:12]wFMCommunicate OK [17:00:12]SAM_PROTO_GetShiftState done [17:00:12]FM_GetShiftState done [17:00:12]opened in 1717372856 [17:00:12]opened+sec_in_day 1717459256 [17:00:12]quantity*price = 9000 [17:00:12]sum+1 = 9001 [17:00:12]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034730018 Кофе Американо (GABB TRADE) 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 307.00 НСП 1% : 2.72 НДС 12% : 32.60 Наличными: 307.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 49 03.06.2024 17:00 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4068 ФПД: 89155691302194 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T170017&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4068&fm=89155691302194&tin=02508201610067®Number=0000000000145775&sum=30700 0 [17:00:13]StoreToDocumentArchive [17:00:13]shift 82 fd 4068 [17:00:13]save to /storage/0082/doc_00004068 [17:00:13]save last doc name /storage/0082/doc_00004068 to /storage/kkm_last_doc_name [17:00:13]save OK [17:00:13]Clear old archive folders... [17:00:13]ProcessDocumentItem done err = 0, tmpTLVsize=531 [17:00:13]tlvbuf is 00747C60 [17:00:13]SAM_PROTO_ClearQueue [17:00:13]wFMCommunicate request_size=4 [17:00:13]MH_SAM_APDU [17:00:13]CAPDU: 80 09 00 00 [17:00:13]Write to MH i2c: E2 08 00 4A 10 80 09 00 00 00 00 00 00 CC [17:00:13]Write i2c OK [17:00:13]MH_I2C_Read... [17:00:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:00:13]Read from MH i2c: E2 [17:00:13]MH_I2C_Read... [17:00:13]Read from MH i2c: E2 03 00 [17:00:13]MH_I2C_Read... [17:00:13]Read from MH i2c: E2 03 00 4A 10 00 90 00 CE [17:00:13]RAPDU: 90 00 [17:00:13]wFMCommunicate OK [17:00:13]SAM_PROTO_ClearQueue done [17:00:13]KKMCreateOFDPacket [17:00:13]OFDProtocolAddRootSTLVToBuf [17:00:13]FM_MakeSignedData [17:00:13]FM_MakeSignedData [17:00:13]SAM_PROTO_SignData [17:00:13]wFMCommunicate request_size=4 [17:00:13]MH_SAM_APDU [17:00:13]CAPDU: 80 0D 01 02 [17:00:13]Write to MH i2c: E2 08 00 4B 10 80 0D 01 02 00 00 00 00 D4 [17:00:13]Write i2c OK [17:00:13]MH_I2C_Read... [17:00:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:00:13]Read from MH i2c: E2 [17:00:13]MH_I2C_Read... [17:00:13]Read from MH i2c: E2 03 00 [17:00:13]MH_I2C_Read... [17:00:13]Read from MH i2c: E2 03 00 4B 10 00 90 00 CF [17:00:13]RAPDU: 90 00 [17:00:13]wFMCommunicate OK [17:00:13]wFMCommunicate request_size=255 [17:00:13]MH_SAM_APDU [17:00:13]CAPDU: 80 0D 02 02 FA 03 00 13 02 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 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 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 [17:00:14]Write to MH i2c: E2 02 01 4C 10 80 0D 02 02 FA 00 03 00 13 02 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 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 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 00 00 B3 [17:00:14]Write i2c OK [17:00:14]MH_I2C_Read... [17:00:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:00:14]Read from MH i2c: E2 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 03 00 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 03 00 4C 10 00 90 00 D0 [17:00:14]RAPDU: 90 00 [17:00:14]wFMCommunicate OK [17:00:14]wFMCommunicate request_size=255 [17:00:14]MH_SAM_APDU [17:00:14]CAPDU: 80 0D 02 02 FA 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A1 F6 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 [17:00:14]Write to MH i2c: E2 02 01 4D 10 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A1 F6 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 8A [17:00:14]Write i2c OK [17:00:14]MH_I2C_Read... [17:00:14]OFD Sender: No OFD packet to send [17:00:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:00:14]Read from MH i2c: E2 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 03 00 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 03 00 4D 10 00 90 00 D1 [17:00:14]RAPDU: 90 00 [17:00:14]wFMCommunicate OK [17:00:14]wFMCommunicate request_size=40 [17:00:14]MH_SAM_APDU [17:00:14]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E4 0F 00 00 35 04 06 00 51 16 2D 4F 4D 32 [17:00:14]Write to MH i2c: E2 2B 00 4E 10 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E4 0F 00 00 35 04 06 00 51 16 2D 4F 4D 32 00 00 EA [17:00:14]Write i2c OK [17:00:14]MH_I2C_Read... [17:00:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:00:14]Read from MH i2c: E2 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 03 00 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 03 00 4E 10 00 90 00 D2 [17:00:14]RAPDU: 90 00 [17:00:14]wFMCommunicate OK [17:00:14]wFMCommunicate request_size=4 [17:00:14]MH_SAM_APDU [17:00:14]CAPDU: 80 0D 03 02 [17:00:14]Write to MH i2c: E2 08 00 4F 10 80 0D 03 02 00 00 00 00 DA [17:00:14]Write i2c OK [17:00:14]MH_I2C_Read... [17:00:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:00:14]Read from MH i2c: E2 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 0B 00 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 0B 00 4F 10 00 06 7F 8E F6 5C 7D D0 A5 90 00 32 [17:00:14]RAPDU: 06 7F 8E F6 5C 7D D0 A5 90 00 [17:00:14]wFMCommunicate OK [17:00:14]SAM_PROTO_SignData done [17:00:14]FM_MakeSignedData done [17:00:14]CreateOFDProtocolMessage [17:00:14]wFMCommunicate request_size=4 [17:00:14]MH_SAM_APDU [17:00:14]CAPDU: 80 11 00 00 [17:00:14]Write to MH i2c: E2 08 00 50 10 80 11 00 00 00 00 00 00 DA [17:00:14]Write i2c OK [17:00:14]MH_I2C_Read... [17:00:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:00:14]Read from MH i2c: E2 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 17 00 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 17 00 50 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2D [17:00:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:00:14]wFMCommunicate OK [17:00:14]CreateOFDProtocolMessage done [17:00:14]OFDSenderStorePacket 4068 [17:00:14]StoreOFDPacket docnum=4068 [17:00:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 27 02 00 00 4E 8B 1F 02 19 AA 5A 03 01 00 03 00 13 02 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 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 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A1 F6 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E4 0F 00 00 35 04 06 00 51 16 2D 4F 4D 32 06 7F 8E F6 5C 7D D0 A5 [17:00:14]CheckFolder [17:00:14]dirname=/storage/ofd_packets [17:00:14]CheckFolder done [17:00:14]ProducePacketName [17:00:14]name=ofd_packets/00004068 [17:00:14]NVStorageSaveData ofd_packets/00004068 [17:00:14]File name is /storage/ofd_packets/00004068 [17:00:14]Write 581 bytes [17:00:14]NVStorageSaveData done [17:00:14]OFDSenderStorePacket done [17:00:14]KKMCreateOFDPacket done [17:00:14]NVStorageSaveData kkm_last_timestamp [17:00:14]File name is /storage/kkm_last_timestamp [17:00:14]Write 4 bytes [17:00:14]NVStorageSaveData done [17:00:14]ExternCall_PrintAddStr [17:00:14]wPrintStart [17:00:14]Write to MH i2c: 01 00 00 51 10 61 [17:00:14]Write i2c OK [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: 01 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: 01 07 00 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: 01 07 00 51 10 00 00 00 00 00 FF 0F 76 [17:00:14]RasterBufferAndPrint [17:00:14]line Счет N : (3)4322 [17:00:14]line ИНН: 02508201610067 [17:00:14]line Контрольно-Кассовый Чек [17:00:14]line ПРОДАЖА [17:00:14]line Товар: 4870235681086 [17:00:14]line Grizzly волнистые Сыр с халапеньо 55 гр [17:00:14]line 1.000 * 90.00 [17:00:14]line = 90.00 [17:00:14]line НДС 12% НСП 1% [17:00:14]line > о реализуемом товаре [17:00:14]line Товар: 2000034730018 [17:00:14]line Кофе Американо (GABB TRADE) [17:00:14]line 2.000 * 75.00 [17:00:14]line = 150.00 [17:00:14]line НДС 12% НСП 1% [17:00:14]line > о реализуемом товаре [17:00:14]line Товар: 6931280300549 [17:00:14]line Зажигалка Cricket ПН пьезо [17:00:14]line 1.000 * 67.00 [17:00:14]line = 67.00 [17:00:14]line НДС 12% НСП 1% [17:00:14]line > о реализуемом товаре [17:00:14]line ИТОГО: 307.00 [17:00:14]line НСП 1% : 2.72 [17:00:14]line НДС 12% : 32.60 [17:00:14]line Наличными: 307.00 [17:00:14]line Безнал.: 0.00 [17:00:14]line Место: АЗС № 116 "Партнер Нефть" [17:00:14]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:00:14]line СНО: Общий режим [17:00:14]line Чек 49 03.06.2024 17:00 [17:00:14]line Смена: 82 ФФД: 1.0 [17:00:14]line ЗНМ: 0300000233 [17:00:14]line РНМ: 0000000000145775 [17:00:14]line Версия ККМ: v1.0 [17:00:14]line ФМ: 0000000000959360 [17:00:14]line ФД: 4068 [17:00:14]line ФПД: 89155691302194 [17:00:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T170017&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4068&fm=89155691302194&tin=02508201610067®Number=0000000000145775&sum=30700 [17:00:15]line 0 [17:00:15]OFD Sender: Processing packet 4068 [packets to send 2, broken 1] [17:00:15]ProducePacketName [17:00:15]name=ofd_packets/00004068 [17:00:15]OFD Sender: To server: pG, [17:00:15]CommunicateWithHost lk.salyk.kg:30040 [17:00:15]ConnectInit lk.salyk.kg [17:00:15]written 0, free lines is 4095 [17:00:15]Connected sock=8 [17:00:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 27 02 00 00 4E 8B 1F 02 19 AA 5A 03 01 00 03 00 13 02 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 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 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 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 A1 F6 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E4 0F 00 00 35 04 06 00 51 16 2D 4F 4D 32 06 7F 8E F6 5C 7D D0 A5 [17:00:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 9C 8D 47 00 44 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E4 0F 00 00 F4 03 04 00 A4 A2 5D 66 B6 04 01 00 00 B3 F2 89 BF 3A E8 DF 6F [17:00:15]CommunicateWithHost err = 0 [17:00:15]CheckOFDResponse [17:00:15]1017 (14) - 77093643461234 [17:00:15]1041 (16) - 0000000000959360 [17:00:15]1040 (4) - 4068 [17:00:15]1012 (4) - 03.06.2024 11:01 [17:00:15]1206 (1) - 0 [17:00:15]OFD Sender: Remove packet 4068 [17:00:15]ProducePacketName [17:00:15]name=ofd_packets/00004068 [17:00:15]NVStorageDeleteData [17:00:15]Write to MH i2c: 01 00 00 87 10 97 [17:00:15]Write i2c OK [17:00:15]MH_I2C_Read... [17:00:15]Read from MH i2c: 01 [17:00:15]MH_I2C_Read... [17:00:15]Read from MH i2c: 01 07 00 [17:00:15]MH_I2C_Read... [17:00:15]Read from MH i2c: 01 07 00 87 10 00 00 00 00 00 F4 0B 9D [17:00:15]RasterBufferAndPrint [17:00:15]line [17:00:15]line [17:00:15]line [17:00:15]line [17:00:15]line [17:00:15]written 0, free lines is 3066 [17:00:15]MH_Cut [17:00:15]Write to MH i2c: D1 01 00 8E 10 01 70 [17:00:15]Write i2c OK [17:00:15]MH_I2C_Read... [17:00:15]Read from MH i2c: D1 [17:00:15]MH_I2C_Read... [17:00:15]Read from MH i2c: D1 01 00 [17:00:15]MH_I2C_Read... [17:00:15]Read from MH i2c: D1 01 00 8E 10 00 6F [17:00:15]Write to MH i2c: 01 00 00 8F 10 9F [17:00:15]Write i2c OK [17:00:15]MH_I2C_Read... [17:00:15]OFD Sender: No OFD packet to send [17:00:16]*** Cut start [17:00:16]*** Partial cut [17:00:16]*** CUTSNS_PIN = 1 [17:00:16]*** CUTSNS_PIN = 0 [17:00:17]*** Brake cut motor [17:00:17]Read from MH i2c: 01 [17:00:17]MH_I2C_Read... [17:00:17]*** Stop cut motor [17:00:17]*** Cut end [17:00:17]Read from MH i2c: 01 07 00 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: 01 07 00 8F 10 00 00 00 00 00 FF 0F B4 [17:00:17]process_action close_receipt done [17:00:17]requested_data is exist [17:00:17]produce_requested_data [17:00:17]requested_item fm.sn is exist - process it [17:00:17]wFMCommunicate request_size=4 [17:00:17]MH_SAM_APDU [17:00:17]CAPDU: 80 11 00 00 [17:00:17]Write to MH i2c: E2 08 00 90 10 80 11 00 00 00 00 00 00 1A [17:00:17]Write i2c OK [17:00:17]MH_I2C_Read... [17:00:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:00:17]Read from MH i2c: E2 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: E2 17 00 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: E2 17 00 90 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6D [17:00:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:00:17]wFMCommunicate OK [17:00:17]requested_item fd.num is exist - process it [17:00:17]SAM_PROTO_GetFieldsCounters [17:00:17]wFMCommunicate request_size=4 [17:00:17]MH_SAM_APDU [17:00:17]CAPDU: 80 13 00 00 [17:00:17]Write to MH i2c: E2 08 00 91 10 80 13 00 00 00 00 00 00 1D [17:00:17]Write i2c OK [17:00:17]MH_I2C_Read... [17:00:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:00:17]Read from MH i2c: E2 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: E2 62 00 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: E2 62 00 91 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E4 0F 00 00 0E 04 04 00 52 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 1A [17:00:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E4 0F 00 00 0E 04 04 00 52 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 [17:00:17]wFMCommunicate OK [17:00:17]SAM_PROTO_GetFieldsCounters done [17:00:17]requested_item shift.num is exist - process it [17:00:17]requested_item shift.opened is exist - process it [17:00:17]req_shift_opened [17:00:17]FM_GetShiftState [17:00:17]SAM_PROTO_GetShiftState [17:00:17]wFMCommunicate request_size=4 [17:00:17]MH_SAM_APDU [17:00:17]CAPDU: 80 13 01 00 [17:00:17]Write to MH i2c: E2 08 00 92 10 80 13 01 00 00 00 00 00 1F [17:00:17]Write i2c OK [17:00:17]MH_I2C_Read... [17:00:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:17]Read from MH i2c: E2 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: E2 0E 00 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: E2 0E 00 92 10 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 AD [17:00:17]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [17:00:17]wFMCommunicate OK [17:00:17]SAM_PROTO_GetShiftState done [17:00:17]FM_GetShiftState done [17:00:17]req_shift_opened done [17:00:17]requested_item shift.open_date is exist - process it [17:00:17]req_shift_open_date [17:00:17]req_shift_open_date done [17:00:17]produce_requested_data done [17:00:17]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4068,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [17:00:17]process_action_free close_receipt [17:00:17]json_value_free [17:00:17]json_value_free done [17:00:17]process_json_proto returns [17:00:17]Send response to host [17:00:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4068,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [17:00:17]free response buf [17:00:17]execute_script done [17:00:17]execute_script returns [17:00:17]free content buf [17:00:17]Sock 9.Close socket [17:00:17]Sock 9.Thread stoped [17:00:20]OFD Sender: No OFD packet to send [17:00:25]OFD Sender: No OFD packet to send [17:00:30]OFD Sender: No OFD packet to send [17:00:35]OFD Sender: No OFD packet to send [17:00:40]OFD Sender: No OFD packet to send [17:00:45]OFD Sender: No OFD packet to send [17:00:50]OFD Sender: No OFD packet to send [17:00:55]OFD Sender: No OFD packet to send [17:01:00]OFD Sender: No OFD packet to send [17:01:05]OFD Sender: No OFD packet to send [17:01:10]OFD Sender: No OFD packet to send [17:01:15]OFD Sender: No OFD packet to send [17:01:20]OFD Sender: No OFD packet to send [17:01:25]OFD Sender: No OFD packet to send [17:01:30]OFD Sender: No OFD packet to send [17:01:35]OFD Sender: No OFD packet to send [17:01:40]OFD Sender: No OFD packet to send [17:01:45]OFD Sender: No OFD packet to send [17:01:50]OFD Sender: No OFD packet to send [17:01:55]OFD Sender: No OFD packet to send [17:02:00]OFD Sender: No OFD packet to send [17:02:05]OFD Sender: No OFD packet to send [17:02:10]OFD Sender: No OFD packet to send [17:02:15]OFD Sender: No OFD packet to send [17:02:20]OFD Sender: No OFD packet to send [17:02:25]OFD Sender: No OFD packet to send [17:02:30]OFD Sender: No OFD packet to send [17:02:36]OFD Sender: No OFD packet to send [17:02:41]OFD Sender: No OFD packet to send [17:02:46]OFD Sender: No OFD packet to send [17:02:51]OFD Sender: No OFD packet to send [17:02:56]OFD Sender: No OFD packet to send [17:03:01]OFD Sender: No OFD packet to send [17:03:06]OFD Sender: No OFD packet to send [17:03:11]OFD Sender: No OFD packet to send [17:03:16]OFD Sender: No OFD packet to send [17:03:21]OFD Sender: No OFD packet to send [17:03:26]OFD Sender: No OFD packet to send [17:03:31]OFD Sender: No OFD packet to send [17:03:36]OFD Sender: No OFD packet to send [17:03:41]OFD Sender: No OFD packet to send [17:03:46]OFD Sender: No OFD packet to send [17:03:51]OFD Sender: No OFD packet to send [17:03:56]OFD Sender: No OFD packet to send [17:04:01]OFD Sender: No OFD packet to send [17:04:06]OFD Sender: No OFD packet to send [17:04:11]OFD Sender: No OFD packet to send [17:04:16]OFD Sender: No OFD packet to send [17:04:21]OFD Sender: No OFD packet to send [17:04:26]OFD Sender: No OFD packet to send [17:04:31]OFD Sender: No OFD packet to send [17:04:36]OFD Sender: No OFD packet to send [17:04:41]OFD Sender: No OFD packet to send [17:04:46]OFD Sender: No OFD packet to send [17:04:51]OFD Sender: No OFD packet to send [17:04:56]OFD Sender: No OFD packet to send [17:05:01]OFD Sender: No OFD packet to send [17:05:06]OFD Sender: No OFD packet to send [17:05:11]OFD Sender: No OFD packet to send [17:05:16]OFD Sender: No OFD packet to send [17:05:21]OFD Sender: No OFD packet to send [17:05:26]OFD Sender: No OFD packet to send [17:05:31]OFD Sender: No OFD packet to send [17:05:36]OFD Sender: No OFD packet to send [17:05:41]OFD Sender: No OFD packet to send [17:05:46]OFD Sender: No OFD packet to send [17:05:51]OFD Sender: No OFD packet to send [17:05:56]OFD Sender: No OFD packet to send [17:06:01]OFD Sender: No OFD packet to send [17:06:06]OFD Sender: No OFD packet to send [17:06:11]OFD Sender: No OFD packet to send [17:06:16]OFD Sender: No OFD packet to send [17:06:21]OFD Sender: No OFD packet to send [17:06:26]OFD Sender: No OFD packet to send [17:06:31]OFD Sender: No OFD packet to send [17:06:36]OFD Sender: No OFD packet to send [17:06:41]OFD Sender: No OFD packet to send [17:06:46]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:16]OFD Sender: No OFD packet to send [17:08:21]OFD Sender: No OFD packet to send [17:08:26]OFD Sender: No OFD packet to send [17:08:31]OFD Sender: No OFD packet to send [17:08:36]OFD Sender: No OFD packet to send [17:08:41]OFD Sender: No OFD packet to send [17:08:46]OFD Sender: No OFD packet to send [17:08:51]OFD Sender: No OFD packet to send [17:08:56]OFD Sender: No OFD packet to send [17:09:01]OFD Sender: No OFD packet to send [17:09:06]OFD Sender: No OFD packet to send [17:09:11]OFD Sender: No OFD packet to send [17:09:16]OFD Sender: No OFD packet to send [17:09:21]OFD Sender: No OFD packet to send [17:09:26]OFD Sender: No OFD packet to send [17:09:31]OFD Sender: No OFD packet to send [17:09:36]OFD Sender: No OFD packet to send [17:09:41]OFD Sender: No OFD packet to send [17:09:46]OFD Sender: No OFD packet to send [17:09:51]OFD Sender: No OFD packet to send [17:09:56]OFD Sender: No OFD packet to send [17:10:01]OFD Sender: No OFD packet to send [17:10:06]OFD Sender: No OFD packet to send [17:10:11]OFD Sender: No OFD packet to send [17:10:16]OFD Sender: No OFD packet to send [17:10:21]OFD Sender: No OFD packet to send [17:10:26]OFD Sender: No OFD packet to send [17:10:31]OFD Sender: No OFD packet to send [17:10:36]OFD Sender: No OFD packet to send [17:10:41]OFD Sender: No OFD packet to send [17:10:46]OFD Sender: No OFD packet to send [17:10:51]OFD Sender: No OFD packet to send [17:10:56]OFD Sender: No OFD packet to send [17:11:01]OFD Sender: No OFD packet to send [17:11:06]OFD Sender: No OFD packet to send [17:11:11]OFD Sender: No OFD packet to send [17:11:16]OFD Sender: No OFD packet to send [17:11:21]OFD Sender: No OFD packet to send [17:11:26]OFD Sender: No OFD packet to send [17:11:31]OFD Sender: No OFD packet to send [17:11:36]OFD Sender: No OFD packet to send [17:11:41]OFD Sender: No OFD packet to send [17:11:46]OFD Sender: No OFD packet to send [17:11:51]OFD Sender: No OFD packet to send [17:11:56]OFD Sender: No OFD packet to send [17:12:01]OFD Sender: No OFD packet to send [17:12:06]OFD Sender: No OFD packet to send [17:12:11]OFD Sender: No OFD packet to send [17:12:16]OFD Sender: No OFD packet to send [17:12:21]OFD Sender: No OFD packet to send [17:12:26]OFD Sender: No OFD packet to send [17:12:31]OFD Sender: No OFD packet to send [17:12:36]OFD Sender: No OFD packet to send [17:12:41]OFD Sender: No OFD packet to send [17:12:46]OFD Sender: No OFD packet to send [17:12:51]OFD Sender: No OFD packet to send [17:12:56]OFD Sender: No OFD packet to send [17:13:01]OFD Sender: No OFD packet to send [17:13:06]OFD Sender: No OFD packet to send [17:13:11]OFD Sender: No OFD packet to send [17:13:16]OFD Sender: No OFD packet to send [17:13:21]OFD Sender: No OFD packet to send [17:13:26]OFD Sender: No OFD packet to send [17:13:31]OFD Sender: No OFD packet to send [17:13:36]OFD Sender: No OFD packet to send [17:13:41]OFD Sender: No OFD packet to send [17:13:46]OFD Sender: No OFD packet to send [17:13:51]OFD Sender: No OFD packet to send [17:13:56]OFD Sender: No OFD packet to send [17:14:01]OFD Sender: No OFD packet to send [17:14:06]OFD Sender: No OFD packet to send [17:14:11]OFD Sender: No OFD packet to send [17:14:16]OFD Sender: No OFD packet to send [17:14:21]OFD Sender: No OFD packet to send [17:14:26]OFD Sender: No OFD packet to send [17:14:31]OFD Sender: No OFD packet to send [17:14:36]OFD Sender: No OFD packet to send [17:14:41]OFD Sender: No OFD packet to send [17:14:46]OFD Sender: No OFD packet to send [17:14:51]OFD Sender: No OFD packet to send [17:14:56]OFD Sender: No OFD packet to send [17:15:01]OFD Sender: No OFD packet to send [17:15:06]OFD Sender: No OFD packet to send [17:15:11]OFD Sender: No OFD packet to send [17:15:16]OFD Sender: No OFD packet to send [17:15:21]OFD Sender: No OFD packet to send [17:15:26]OFD Sender: No OFD packet to send [17:15:31]OFD Sender: No OFD packet to send [17:15:36]OFD Sender: No OFD packet to send [17:15:41]OFD Sender: No OFD packet to send [17:15:46]OFD Sender: No OFD packet to send [17:15:51]OFD Sender: No OFD packet to send [17:15:56]OFD Sender: No OFD packet to send [17:16:01]OFD Sender: No OFD packet to send [17:16:06]OFD Sender: No OFD packet to send [17:16:11]OFD Sender: No OFD packet to send [17:16:16]OFD Sender: No OFD packet to send [17:16:21]OFD Sender: No OFD packet to send [17:16:26]OFD Sender: No OFD packet to send [17:16:31]OFD Sender: No OFD packet to send [17:16:36]OFD Sender: No OFD packet to send [17:16:41]OFD Sender: No OFD packet to send [17:16:46]OFD Sender: No OFD packet to send [17:16:51]OFD Sender: No OFD packet to send [17:16:56]OFD Sender: No OFD packet to send [17:17:01]OFD Sender: No OFD packet to send [17:17:06]OFD Sender: No OFD packet to send [17:17:11]OFD Sender: No OFD packet to send [17:17:16]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:31]OFD Sender: No OFD packet to send [17:20:36]OFD Sender: No OFD packet to send [17:20:41]OFD Sender: No OFD packet to send [17:20:46]OFD Sender: No OFD packet to send [17:20:51]OFD Sender: No OFD packet to send [17:20:56]OFD Sender: No OFD packet to send [17:21:01]OFD Sender: No OFD packet to send [17:21:06]OFD Sender: No OFD packet to send [17:21:11]OFD Sender: No OFD packet to send [17:21:16]OFD Sender: No OFD packet to send [17:21:21]OFD Sender: No OFD packet to send [17:21:26]OFD Sender: No OFD packet to send [17:21:31]OFD Sender: No OFD packet to send [17:21:36]OFD Sender: No OFD packet to send [17:21:41]OFD Sender: No OFD packet to send [17:21:46]OFD Sender: No OFD packet to send [17:21:51]OFD Sender: No OFD packet to send [17:21:56]OFD Sender: No OFD packet to send [17:22:01]OFD Sender: No OFD packet to send [17:22:06]OFD Sender: No OFD packet to send [17:22:11]OFD Sender: No OFD packet to send [17:22:16]OFD Sender: No OFD packet to send [17:22:21]OFD Sender: No OFD packet to send [17:22:26]OFD Sender: No OFD packet to send [17:22:31]OFD Sender: No OFD packet to send [17:22:36]OFD Sender: No OFD packet to send [17:22:41]OFD Sender: No OFD packet to send [17:22:46]OFD Sender: No OFD packet to send [17:22:51]OFD Sender: No OFD packet to send [17:22:56]OFD Sender: No OFD packet to send [17:23:01]OFD Sender: No OFD packet to send [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:26]OFD Sender: No OFD packet to send [17:23:31]OFD Sender: No OFD packet to send [17:23:36]OFD Sender: No OFD packet to send [17:23:41]OFD Sender: No OFD packet to send [17:23:46]OFD Sender: No OFD packet to send [17:23:51]OFD Sender: No OFD packet to send [17:23:56]OFD Sender: No OFD packet to send [17:24:01]OFD Sender: No OFD packet to send [17:24:06]OFD Sender: No OFD packet to send [17:24:11]OFD Sender: No OFD packet to send [17:24:16]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:07]OFD Sender: No OFD packet to send [17:26:12]OFD Sender: No OFD packet to send [17:26:17]OFD Sender: No OFD packet to send [17:26:22]OFD Sender: No OFD packet to send [17:26:27]OFD Sender: No OFD packet to send [17:26:32]OFD Sender: No OFD packet to send [17:26:37]OFD Sender: No OFD packet to send [17:26:42]OFD Sender: No OFD packet to send [17:26:47]OFD Sender: No OFD packet to send [17:26:52]OFD Sender: No OFD packet to send [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:12]OFD Sender: No OFD packet to send [17:27:17]OFD Sender: No OFD packet to send [17:27:22]OFD Sender: No OFD packet to send [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:42]OFD Sender: No OFD packet to send [17:27:47]OFD Sender: No OFD packet to send [17:27:52]OFD Sender: No OFD packet to send [17:27:57]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28: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:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:17]OFD Sender: No OFD packet to send [17:34:22]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:32]OFD Sender: No OFD packet to send [17:34:37]OFD Sender: No OFD packet to send [17:34:42]OFD Sender: No OFD packet to send [17:34:47]OFD Sender: No OFD packet to send [17:34:52]OFD Sender: No OFD packet to send [17:34:57]OFD Sender: No OFD packet to send [17:35:02]OFD Sender: No OFD packet to send [17:35:07]OFD Sender: No OFD packet to send [17:35:12]OFD Sender: No OFD packet to send [17:35:17]OFD Sender: No OFD packet to send [17:35:22]OFD Sender: No OFD packet to send [17:35:27]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]OFD Sender: No OFD packet to send [17:36:52]OFD Sender: No OFD packet to send [17:36:57]OFD Sender: No OFD packet to send [17:37:02]OFD Sender: No OFD packet to send [17:37:07]OFD Sender: No OFD packet to send [17:37:12]OFD Sender: No OFD packet to send [17:37:17]OFD Sender: No OFD packet to send [17:37:22]OFD Sender: No OFD packet to send [17:37:27]OFD Sender: No OFD packet to send [17:37:32]OFD Sender: No OFD packet to send [17:37:37]OFD Sender: No OFD packet to send [17:37:42]OFD Sender: No OFD packet to send [17:37:47]OFD Sender: No OFD packet to send [17:37:52]OFD Sender: No OFD packet to send [17:37:57]OFD Sender: No OFD packet to send [17:38:02]OFD Sender: No OFD packet to send [17:38:07]OFD Sender: No OFD packet to send [17:38:12]OFD Sender: No OFD packet to send [17:38:17]OFD Sender: No OFD packet to send [17:38:22]OFD Sender: No OFD packet to send [17:38:27]OFD Sender: No OFD packet to send [17:38:32]OFD Sender: No OFD packet to send [17:38:37]OFD Sender: No OFD packet to send [17:38:42]OFD Sender: No OFD packet to send [17:38:47]OFD Sender: No OFD packet to send [17:38:52]OFD Sender: No OFD packet to send [17:38:57]OFD Sender: No OFD packet to send [17:39:02]OFD Sender: No OFD packet to send [17:39:07]OFD Sender: No OFD packet to send [17:39:12]OFD Sender: No OFD packet to send [17:39:17]OFD Sender: No OFD packet to send [17:39:22]OFD Sender: No OFD packet to send [17:39:27]OFD Sender: No OFD packet to send [17:39:30]accept exits with 10 [17:39:30]New connection [17:39:30]New thread 3067370852 created [17:39:30]Thread 3067227492 joined [17:39:30]Waiting for new connection... [17:39:30] Sock 10.Parse request [17:39:30]Sock 10.Check first char [17:39:30]Sock 10.First char is OK [17:39:30]request: POST /json_proto HTTP/1.0 [17:39:30]Method: POST [17:39:30]URL: /json_proto [17:39:30]Method is POST - this is cgi request [17:39:30]url: /json_proto [17:39:30]query_string will be loaded in cgi processing [17:39:30]execute_cgi json_proto POST (null) [17:39:30]execute_cgi path=json_proto method=POST [17:39:30]POST find Content-Length [17:39:30]Host: 172.17.56.68:8080 [17:39:30]Content-Length: 726 [17:39:30]Content-Type: application/json [17:39:30] [17:39:30]POST finish read [17:39:30]Found Content-Length = 726 [17:39:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4323", "tax_sys" : 0, "items" : [ { "code": "4602441018277", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u041B\u043E\u0441\u043E\u0441\u044C \u0432 \u0441\u043B\u0438\u0432\u043E\u0447\u043D\u043E\u043C \u0441\u043E\u0443\u0441\u0435 1/1", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:39:30]execute_script... [17:39:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4323", "tax_sys" : 0, "items" : [ { "code": "4602441018277", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u041B\u043E\u0441\u043E\u0441\u044C \u0432 \u0441\u043B\u0438\u0432\u043E\u0447\u043D\u043E\u043C \u0441\u043E\u0443\u0441\u0435 1/1", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:39:30]POST & json_proto [17:39:30]process_json_proto [17:39:30]json parsed OK: [17:39:30]protocol is kg_v1.0 [17:39:30]action value=close_receipt [17:39:30]process_action close_receipt [17:39:30]cmd_close_receipt [17:39:30]MH_GetDate [17:39:30]Write to MH i2c: F0 00 00 93 10 92 [17:39:30]Write i2c OK [17:39:30]MH_I2C_Read... [17:39:30]Read from MH i2c: F0 [17:39:30]MH_I2C_Read... [17:39:30]Read from MH i2c: F0 09 00 [17:39:30]MH_I2C_Read... [17:39:30]Read from MH i2c: F0 09 00 93 10 00 D7 FF 5D 66 42 69 5C 66 A1 [17:39:30]GetLastDocTimeStamp 1717434017 [17:39:30]current date 1717436375 [17:39:30]FM_GetShiftState [17:39:30]SAM_PROTO_GetShiftState [17:39:30]wFMCommunicate request_size=4 [17:39:30]MH_SAM_APDU [17:39:30]CAPDU: 80 13 01 00 [17:39:30]Write to MH i2c: E2 08 00 94 10 80 13 01 00 00 00 00 00 21 [17:39:30]Write i2c OK [17:39:30]MH_I2C_Read... [17:39:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:30]Read from MH i2c: E2 [17:39:30]MH_I2C_Read... [17:39:30]Read from MH i2c: E2 0E 00 [17:39:30]MH_I2C_Read... [17:39:30]Read from MH i2c: E2 0E 00 94 10 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 AF [17:39:30]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [17:39:30]wFMCommunicate OK [17:39:30]SAM_PROTO_GetShiftState done [17:39:30]FM_GetShiftState done [17:39:30]opened in 1717372856 [17:39:30]opened+sec_in_day 1717459256 [17:39:30]quantity*price = 17500 [17:39:30]sum+1 = 17501 [17:39:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.55 НДС 12% : 18.58 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 50 03.06.2024 17:39 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4069 ФПД: 100860281533473 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T173935&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4069&fm=100860281533473&tin=02508201610067®Number=0000000000145775&sum=17500 0 [17:39:32]StoreToDocumentArchive [17:39:32]shift 82 fd 4069 [17:39:32]save to /storage/0082/doc_00004069 [17:39:32]save last doc name /storage/0082/doc_00004069 to /storage/kkm_last_doc_name [17:39:32]save OK [17:39:32]Clear old archive folders... [17:39:32]ProcessDocumentItem done err = 0, tmpTLVsize=308 [17:39:32]tlvbuf is 0075FF00 [17:39:32]SAM_PROTO_ClearQueue [17:39:32]wFMCommunicate request_size=4 [17:39:32]MH_SAM_APDU [17:39:32]CAPDU: 80 09 00 00 [17:39:32]Write to MH i2c: E2 08 00 A1 10 80 09 00 00 00 00 00 00 23 [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:39:32]Read from MH i2c: E2 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 A1 10 00 90 00 25 [17:39:32]RAPDU: 90 00 [17:39:32]wFMCommunicate OK [17:39:32]SAM_PROTO_ClearQueue done [17:39:32]KKMCreateOFDPacket [17:39:32]OFDProtocolAddRootSTLVToBuf [17:39:32]FM_MakeSignedData [17:39:32]FM_MakeSignedData [17:39:32]SAM_PROTO_SignData [17:39:32]wFMCommunicate request_size=4 [17:39:32]MH_SAM_APDU [17:39:32]CAPDU: 80 0D 01 02 [17:39:32]Write to MH i2c: E2 08 00 A2 10 80 0D 01 02 00 00 00 00 2B [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:39:32]Read from MH i2c: E2 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 A2 10 00 90 00 26 [17:39:32]RAPDU: 90 00 [17:39:32]wFMCommunicate OK [17:39:32]wFMCommunicate request_size=255 [17:39:32]MH_SAM_APDU [17:39:32]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 37 37 06 04 42 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9B D0 BE D1 81 D0 BE D1 81 D1 8C 20 D0 B2 20 D1 81 D0 BB D0 B8 D0 B2 D0 BE D1 87 D0 BD D0 BE D0 BC 20 D1 81 D0 BE D1 83 D1 81 D0 B5 20 31 2F 31 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D7 FF 5D 66 0E 04 04 00 52 00 00 00 B9 [17:39:32]Write to MH i2c: E2 02 01 A3 10 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 37 37 06 04 42 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9B D0 BE D1 81 D0 BE D1 81 D1 8C 20 D0 B2 20 D1 81 D0 BB D0 B8 D0 B2 D0 BE D1 87 D0 BD D0 BE D0 BC 20 D1 81 D0 BE D1 83 D1 81 D0 B5 20 31 2F 31 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D7 FF 5D 66 0E 04 04 00 52 00 00 00 B9 00 00 5B [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:39:32]Read from MH i2c: E2 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 A3 10 00 90 00 27 [17:39:32]RAPDU: 90 00 [17:39:32]wFMCommunicate OK [17:39:32]wFMCommunicate request_size=67 [17:39:32]MH_SAM_APDU [17:39:32]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E5 0F 00 00 35 04 06 00 5B BB 5D 40 B4 21 [17:39:32]Write to MH i2c: E2 46 00 A4 10 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E5 0F 00 00 35 04 06 00 5B BB 5D 40 B4 21 00 00 06 [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:39:32]Read from MH i2c: E2 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 A4 10 00 90 00 28 [17:39:32]RAPDU: 90 00 [17:39:32]wFMCommunicate OK [17:39:32]wFMCommunicate request_size=4 [17:39:32]MH_SAM_APDU [17:39:32]CAPDU: 80 0D 03 02 [17:39:32]Write to MH i2c: E2 08 00 A5 10 80 0D 03 02 00 00 00 00 30 [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:39:32]Read from MH i2c: E2 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 0B 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 0B 00 A5 10 00 20 E2 36 D5 16 42 A2 EF 90 00 27 [17:39:32]RAPDU: 20 E2 36 D5 16 42 A2 EF 90 00 [17:39:32]wFMCommunicate OK [17:39:32]SAM_PROTO_SignData done [17:39:32]FM_MakeSignedData done [17:39:32]CreateOFDProtocolMessage [17:39:32]wFMCommunicate request_size=4 [17:39:32]MH_SAM_APDU [17:39:32]CAPDU: 80 11 00 00 [17:39:32]Write to MH i2c: E2 08 00 A6 10 80 11 00 00 00 00 00 00 30 [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:39:32]Read from MH i2c: E2 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 17 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 17 00 A6 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 83 [17:39:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:39:32]wFMCommunicate OK [17:39:32]CreateOFDProtocolMessage done [17:39:32]OFDSenderStorePacket 4069 [17:39:32]StoreOFDPacket docnum=4069 [17:39:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 48 01 00 00 36 FA 40 01 99 BE 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 37 37 06 04 42 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9B D0 BE D1 81 D0 BE D1 81 D1 8C 20 D0 B2 20 D1 81 D0 BB D0 B8 D0 B2 D0 BE D1 87 D0 BD D0 BE D0 BC 20 D1 81 D0 BE D1 83 D1 81 D0 B5 20 31 2F 31 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D7 FF 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E5 0F 00 00 35 04 06 00 5B BB 5D 40 B4 21 20 E2 36 D5 16 42 A2 EF [17:39:32]CheckFolder [17:39:32]dirname=/storage/ofd_packets [17:39:32]CheckFolder done [17:39:32]ProducePacketName [17:39:32]name=ofd_packets/00004069 [17:39:32]NVStorageSaveData ofd_packets/00004069 [17:39:32]File name is /storage/ofd_packets/00004069 [17:39:32]Write 358 bytes [17:39:32]NVStorageSaveData done [17:39:32]OFDSenderStorePacket done [17:39:32]KKMCreateOFDPacket done [17:39:32]NVStorageSaveData kkm_last_timestamp [17:39:32]File name is /storage/kkm_last_timestamp [17:39:32]Write 4 bytes [17:39:32]NVStorageSaveData done [17:39:32]ExternCall_PrintAddStr [17:39:32]wPrintStart [17:39:32]Write to MH i2c: 01 00 00 A7 10 B7 [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: 01 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: 01 07 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: 01 07 00 A7 10 00 00 00 00 00 FF 0F CC [17:39:32]RasterBufferAndPrint [17:39:32]line Счет N : (3)4323 [17:39:32]line ИНН: 02508201610067 [17:39:32]line Контрольно-Кассовый Чек [17:39:32]line ПРОДАЖА [17:39:32]line Товар: 4602441018277 [17:39:32]line Чипсы FRY`S Лосось в сливочном соусе 1/1 [17:39:32]line 1.000 * 175.00 [17:39:32]line = 175.00 [17:39:32]line НДС 12% НСП 1% [17:39:32]line > о реализуемом товаре [17:39:32]line ИТОГО: 175.00 [17:39:32]line НСП 1% : 1.55 [17:39:32]line НДС 12% : 18.58 [17:39:32]line Наличными: 175.00 [17:39:32]line Безнал.: 0.00 [17:39:32]line Место: АЗС № 116 "Партнер Нефть" [17:39:32]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:39:32]line СНО: Общий режим [17:39:32]line Чек 50 03.06.2024 17:39 [17:39:32]line Смена: 82 ФФД: 1.0 [17:39:32]line ЗНМ: 0300000233 [17:39:32]line РНМ: 0000000000145775 [17:39:32]line Версия ККМ: v1.0 [17:39:32]line ФМ: 0000000000959360 [17:39:32]line ФД: 4069 [17:39:32]line ФПД: 100860281533473 [17:39:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T173935&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4069&fm=100860281533473&tin=02508201610067®Number=0000000000145775&sum=17500 [17:39:32]line 0 [17:39:32]OFD Sender: Processing packet 4069 [packets to send 2, broken 1] [17:39:32]ProducePacketName [17:39:32]name=ofd_packets/00004069 [17:39:32]OFD Sender: To server: pG, [17:39:32]CommunicateWithHost lk.salyk.kg:30040 [17:39:32]ConnectInit lk.salyk.kg [17:39:32]written 0, free lines is 4095 [17:39:33]Connected sock=9 [17:39:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 48 01 00 00 36 FA 40 01 99 BE 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 37 37 06 04 42 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9B D0 BE D1 81 D0 BE D1 81 D1 8C 20 D0 B2 20 D1 81 D0 BB D0 B8 D0 B2 D0 BE D1 87 D0 BD D0 BE D0 BC 20 D1 81 D0 BE D1 83 D1 81 D0 B5 20 31 2F 31 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D7 FF 5D 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E5 0F 00 00 35 04 06 00 5B BB 5D 40 B4 21 20 E2 36 D5 16 42 A2 EF [17:39:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 CD FB 47 00 96 EB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E5 0F 00 00 F4 03 04 00 DA AB 5D 66 B6 04 01 00 00 40 5D 80 06 87 DD 15 35 [17:39:33]CommunicateWithHost err = 0 [17:39:33]CheckOFDResponse [17:39:33]1017 (14) - 77093643461234 [17:39:33]1041 (16) - 0000000000959360 [17:39:33]1040 (4) - 4069 [17:39:33]1012 (4) - 03.06.2024 11:41 [17:39:33]1206 (1) - 0 [17:39:33]OFD Sender: Remove packet 4069 [17:39:33]ProducePacketName [17:39:33]name=ofd_packets/00004069 [17:39:33]NVStorageDeleteData [17:39:33]Write to MH i2c: 01 00 00 D0 10 E0 [17:39:33]Write i2c OK [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: 01 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: 01 07 00 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: 01 07 00 D0 10 00 00 00 00 00 BB 0C AE [17:39:33]RasterBufferAndPrint [17:39:33]line [17:39:33]line [17:39:33]line [17:39:33]line [17:39:33]line [17:39:33]written 0, free lines is 3264 [17:39:33]MH_Cut [17:39:33]Write to MH i2c: D1 01 00 D7 10 01 B9 [17:39:33]Write i2c OK [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: D1 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: D1 01 00 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: D1 01 00 D7 10 00 B8 [17:39:33]Write to MH i2c: 01 00 00 D8 10 E8 [17:39:33]Write i2c OK [17:39:33]MH_I2C_Read... [17:39:33]OFD Sender: No OFD packet to send [17:39:34]*** Cut start [17:39:34]*** Partial cut [17:39:34]*** CUTSNS_PIN = 1 [17:39:34]*** CUTSNS_PIN = 0 [17:39:34]*** Brake cut motor [17:39:34]Read from MH i2c: 01 [17:39:34]MH_I2C_Read... [17:39:34]*** Stop cut motor [17:39:34]*** Cut end [17:39:34]Read from MH i2c: 01 07 00 [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: 01 07 00 D8 10 00 00 00 00 00 FF 0F FD [17:39:34]process_action close_receipt done [17:39:34]requested_data is exist [17:39:34]produce_requested_data [17:39:34]requested_item fm.sn is exist - process it [17:39:34]wFMCommunicate request_size=4 [17:39:34]MH_SAM_APDU [17:39:34]CAPDU: 80 11 00 00 [17:39:34]Write to MH i2c: E2 08 00 D9 10 80 11 00 00 00 00 00 00 63 [17:39:34]Write i2c OK [17:39:34]MH_I2C_Read... [17:39:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:39:34]Read from MH i2c: E2 [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: E2 17 00 [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: E2 17 00 D9 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B6 [17:39:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:39:34]wFMCommunicate OK [17:39:34]requested_item fd.num is exist - process it [17:39:34]SAM_PROTO_GetFieldsCounters [17:39:34]wFMCommunicate request_size=4 [17:39:34]MH_SAM_APDU [17:39:34]CAPDU: 80 13 00 00 [17:39:34]Write to MH i2c: E2 08 00 DA 10 80 13 00 00 00 00 00 00 66 [17:39:34]Write i2c OK [17:39:34]MH_I2C_Read... [17:39:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:39:35]Read from MH i2c: E2 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 62 00 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 62 00 DA 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E5 0F 00 00 0E 04 04 00 52 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 67 [17:39:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E5 0F 00 00 0E 04 04 00 52 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 [17:39:35]wFMCommunicate OK [17:39:35]SAM_PROTO_GetFieldsCounters done [17:39:35]requested_item shift.num is exist - process it [17:39:35]requested_item shift.opened is exist - process it [17:39:35]req_shift_opened [17:39:35]FM_GetShiftState [17:39:35]SAM_PROTO_GetShiftState [17:39:35]wFMCommunicate request_size=4 [17:39:35]MH_SAM_APDU [17:39:35]CAPDU: 80 13 01 00 [17:39:35]Write to MH i2c: E2 08 00 DB 10 80 13 01 00 00 00 00 00 68 [17:39:35]Write i2c OK [17:39:35]MH_I2C_Read... [17:39:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:35]Read from MH i2c: E2 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 0E 00 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 0E 00 DB 10 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 F6 [17:39:35]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [17:39:35]wFMCommunicate OK [17:39:35]SAM_PROTO_GetShiftState done [17:39:35]FM_GetShiftState done [17:39:35]req_shift_opened done [17:39:35]requested_item shift.open_date is exist - process it [17:39:35]req_shift_open_date [17:39:35]req_shift_open_date done [17:39:35]produce_requested_data done [17:39:35]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4069,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [17:39:35]process_action_free close_receipt [17:39:35]json_value_free [17:39:35]json_value_free done [17:39:35]process_json_proto returns [17:39:35]Send response to host [17:39:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4069,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [17:39:35]free response buf [17:39:35]execute_script done [17:39:35]execute_script returns [17:39:35]free content buf [17:39:35]Sock 10.Close socket [17:39:35]Sock 10.Thread stoped [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:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:04]OFD Sender: No OFD packet to send [17:51:09]OFD Sender: No OFD packet to send [17:51:14]OFD Sender: No OFD packet to send [17:51:19]OFD Sender: No OFD packet to send [17:51:24]OFD Sender: No OFD packet to send [17:51:29]OFD Sender: No OFD packet to send [17:51:34]OFD Sender: No OFD packet to send [17:51:39]OFD Sender: No OFD packet to send [17:51:44]OFD Sender: No OFD packet to send [17:51:49]OFD Sender: No OFD packet to send [17:51:54]OFD Sender: No OFD packet to send [17:51:59]OFD Sender: No OFD packet to send [17:52:04]OFD Sender: No OFD packet to send [17:52:09]OFD Sender: No OFD packet to send [17:52:14]OFD Sender: No OFD packet to send [17:52:19]OFD Sender: No OFD packet to send [17:52:24]OFD Sender: No OFD packet to send [17:52:29]OFD Sender: No OFD packet to send [17:52:34]OFD Sender: No OFD packet to send [17:52:39]OFD Sender: No OFD packet to send [17:52:44]OFD Sender: No OFD packet to send [17:52:49]OFD Sender: No OFD packet to send [17:52:54]OFD Sender: No OFD packet to send [17:52:59]OFD Sender: No OFD packet to send [17:53:04]OFD Sender: No OFD packet to send [17:53:09]OFD Sender: No OFD packet to send [17:53:14]OFD Sender: No OFD packet to send [17:53:19]OFD Sender: No OFD packet to send [17:53:24]OFD Sender: No OFD packet to send [17:53:29]OFD Sender: No OFD packet to send [17:53:34]OFD Sender: No OFD packet to send [17:53:39]OFD Sender: No OFD packet to send [17:53:44]OFD Sender: No OFD packet to send [17:53:49]OFD Sender: No OFD packet to send [17:53:54]OFD Sender: No OFD packet to send [17:53:59]OFD Sender: No OFD packet to send [17:54:04]OFD Sender: No OFD packet to send [17:54:09]OFD Sender: No OFD packet to send [17:54:14]OFD Sender: No OFD packet to send [17:54:19]OFD Sender: No OFD packet to send [17:54:24]OFD Sender: No OFD packet to send [17:54:29]OFD Sender: No OFD packet to send [17:54:34]OFD Sender: No OFD packet to send [17:54:39]OFD Sender: No OFD packet to send [17:54:44]OFD Sender: No OFD packet to send [17:54:49]OFD Sender: No OFD packet to send [17:54:54]OFD Sender: No OFD packet to send [17:54:59]OFD Sender: No OFD packet to send [17:55:04]OFD Sender: No OFD packet to send [17:55:09]OFD Sender: No OFD packet to send [17:55:14]OFD Sender: No OFD packet to send [17:55:19]OFD Sender: No OFD packet to send [17:55:24]OFD Sender: No OFD packet to send [17:55:29]OFD Sender: No OFD packet to send [17:55:34]OFD Sender: No OFD packet to send [17:55:39]OFD Sender: No OFD packet to send [17:55:44]OFD Sender: No OFD packet to send [17:55:49]OFD Sender: No OFD packet to send [17:55:54]OFD Sender: No OFD packet to send [17:55:59]OFD Sender: No OFD packet to send [17:56:04]OFD Sender: No OFD packet to send [17:56:09]OFD Sender: No OFD packet to send [17:56:14]OFD Sender: No OFD packet to send [17:56:19]OFD Sender: No OFD packet to send [17:56:24]OFD Sender: No OFD packet to send [17:56:29]OFD Sender: No OFD packet to send [17:56:34]OFD Sender: No OFD packet to send [17:56:39]OFD Sender: No OFD packet to send [17:56:44]OFD Sender: No OFD packet to send [17:56:49]OFD Sender: No OFD packet to send [17:56:54]OFD Sender: No OFD packet to send [17:56:59]OFD Sender: No OFD packet to send [17:57:04]OFD Sender: No OFD packet to send [17:57:09]OFD Sender: No OFD packet to send [17:57:14]OFD Sender: No OFD packet to send [17:57:19]OFD Sender: No OFD packet to send [17:57:24]OFD Sender: No OFD packet to send [17:57:29]OFD Sender: No OFD packet to send [17:57:34]OFD Sender: No OFD packet to send [17:57:39]OFD Sender: No OFD packet to send [17:57:44]OFD Sender: No OFD packet to send [17:57:49]OFD Sender: No OFD packet to send [17:57:54]OFD Sender: No OFD packet to send [17:57:59]OFD Sender: No OFD packet to send [17:58:04]OFD Sender: No OFD packet to send [17:58:09]OFD Sender: No OFD packet to send [17:58:14]OFD Sender: No OFD packet to send [17:58:19]OFD Sender: No OFD packet to send [17:58:24]OFD Sender: No OFD packet to send [17:58:29]OFD Sender: No OFD packet to send [17:58:34]OFD Sender: No OFD packet to send [17:58:39]OFD Sender: No OFD packet to send [17:58:44]OFD Sender: No OFD packet to send [17:58:49]OFD Sender: No OFD packet to send [17:58:54]OFD Sender: No OFD packet to send [17:58:59]OFD Sender: No OFD packet to send [17:59:04]OFD Sender: No OFD packet to send [17:59:09]OFD Sender: No OFD packet to send [17:59:14]OFD Sender: No OFD packet to send [17:59:19]OFD Sender: No OFD packet to send [17:59:24]OFD Sender: No OFD packet to send [17:59:29]OFD Sender: No OFD packet to send [17:59:34]OFD Sender: No OFD packet to send [17:59:39]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:15]accept exits with 8 [18:02:15]New connection [18:02:15]New thread 3067227492 created [18:02:15]Thread 3067370852 joined [18:02:15]Waiting for new connection... [18:02:15] Sock 8.Parse request [18:02:15]Sock 8.Check first char [18:02:15]Sock 8.First char is OK [18:02:15]request: POST /json_proto HTTP/1.0 [18:02:15]Method: POST [18:02:15]URL: /json_proto [18:02:15]Method is POST - this is cgi request [18:02:15]url: /json_proto [18:02:15]query_string will be loaded in cgi processing [18:02:15]execute_cgi json_proto POST (null) [18:02:15]execute_cgi path=json_proto method=POST [18:02:15]POST find Content-Length [18:02:15]Host: 172.17.56.68:8080 [18:02:15]Content-Length: 624 [18:02:15]Content-Type: application/json [18:02:15] [18:02:15]POST finish read [18:02:15]Found Content-Length = 624 [18:02:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4324", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:02:15]execute_script... [18:02:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4324", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:02:15]POST & json_proto [18:02:15]process_json_proto [18:02:15]json parsed OK: [18:02:15]protocol is kg_v1.0 [18:02:15]action value=close_receipt [18:02:15]process_action close_receipt [18:02:15]cmd_close_receipt [18:02:15]MH_GetDate [18:02:15]Write to MH i2c: F0 00 00 DC 10 DB [18:02:15]Write i2c OK [18:02:15]MH_I2C_Read... [18:02:15]Read from MH i2c: F0 [18:02:15]MH_I2C_Read... [18:02:15]Read from MH i2c: F0 09 00 [18:02:15]MH_I2C_Read... [18:02:15]Read from MH i2c: F0 09 00 DC 10 00 2C 05 5E 66 42 69 5C 66 46 [18:02:15]GetLastDocTimeStamp 1717436375 [18:02:15]current date 1717437740 [18:02:15]FM_GetShiftState [18:02:15]SAM_PROTO_GetShiftState [18:02:15]wFMCommunicate request_size=4 [18:02:15]MH_SAM_APDU [18:02:15]CAPDU: 80 13 01 00 [18:02:15]Write to MH i2c: E2 08 00 DD 10 80 13 01 00 00 00 00 00 6A [18:02:15]Write i2c OK [18:02:15]MH_I2C_Read... [18:02:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:02:15]Read from MH i2c: E2 [18:02:15]MH_I2C_Read... [18:02:15]Read from MH i2c: E2 0E 00 [18:02:15]MH_I2C_Read... [18:02:15]Read from MH i2c: E2 0E 00 DD 10 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 F8 [18:02:15]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [18:02:15]wFMCommunicate OK [18:02:15]SAM_PROTO_GetShiftState done [18:02:15]FM_GetShiftState done [18:02:15]opened in 1717372856 [18:02:15]opened+sec_in_day 1717459256 [18:02:15]quantity*price = 13500 [18:02:15]sum+1 = 13501 [18:02:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 51 03.06.2024 18:02 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4070 ФПД: 101409298393962 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T180220&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4070&fm=101409298393962&tin=02508201610067®Number=0000000000145775&sum=13500 0 [18:02:17]StoreToDocumentArchive [18:02:17]shift 82 fd 4070 [18:02:17]save to /storage/0082/doc_00004070 [18:02:17]save last doc name /storage/0082/doc_00004070 to /storage/kkm_last_doc_name [18:02:17]save OK [18:02:17]Clear old archive folders... [18:02:17]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:02:17]tlvbuf is B6E0E580 [18:02:17]SAM_PROTO_ClearQueue [18:02:17]wFMCommunicate request_size=4 [18:02:17]MH_SAM_APDU [18:02:17]CAPDU: 80 09 00 00 [18:02:17]Write to MH i2c: E2 08 00 EA 10 80 09 00 00 00 00 00 00 6C [18:02:17]Write i2c OK [18:02:17]MH_I2C_Read... [18:02:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:02:17]Read from MH i2c: E2 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 03 00 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 03 00 EA 10 00 90 00 6E [18:02:17]RAPDU: 90 00 [18:02:17]wFMCommunicate OK [18:02:17]SAM_PROTO_ClearQueue done [18:02:17]KKMCreateOFDPacket [18:02:17]OFDProtocolAddRootSTLVToBuf [18:02:17]FM_MakeSignedData [18:02:17]FM_MakeSignedData [18:02:17]SAM_PROTO_SignData [18:02:17]wFMCommunicate request_size=4 [18:02:17]MH_SAM_APDU [18:02:17]CAPDU: 80 0D 01 02 [18:02:17]Write to MH i2c: E2 08 00 EB 10 80 0D 01 02 00 00 00 00 74 [18:02:17]Write i2c OK [18:02:17]MH_I2C_Read... [18:02:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:02:17]Read from MH i2c: E2 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 03 00 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 03 00 EB 10 00 90 00 6F [18:02:17]RAPDU: 90 00 [18:02:17]wFMCommunicate OK [18:02:17]wFMCommunicate request_size=255 [18:02:17]MH_SAM_APDU [18:02:17]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 2C 05 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 [18:02:17]Write to MH i2c: E2 02 01 EC 10 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 2C 05 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 00 00 BC [18:02:17]Write i2c OK [18:02:17]MH_I2C_Read... [18:02:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:02:17]Read from MH i2c: E2 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 03 00 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 03 00 EC 10 00 90 00 70 [18:02:17]RAPDU: 90 00 [18:02:17]wFMCommunicate OK [18:02:17]wFMCommunicate request_size=37 [18:02:17]MH_SAM_APDU [18:02:17]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E6 0F 00 00 35 04 06 00 5C 3B 31 35 2B 6A [18:02:17]Write to MH i2c: E2 28 00 ED 10 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E6 0F 00 00 35 04 06 00 5C 3B 31 35 2B 6A 00 00 55 [18:02:17]Write i2c OK [18:02:17]MH_I2C_Read... [18:02:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:02:17]Read from MH i2c: E2 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 03 00 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 03 00 ED 10 00 90 00 71 [18:02:17]RAPDU: 90 00 [18:02:17]wFMCommunicate OK [18:02:17]wFMCommunicate request_size=4 [18:02:17]MH_SAM_APDU [18:02:17]CAPDU: 80 0D 03 02 [18:02:17]Write to MH i2c: E2 08 00 EE 10 80 0D 03 02 00 00 00 00 79 [18:02:17]Write i2c OK [18:02:17]MH_I2C_Read... [18:02:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:02:17]Read from MH i2c: E2 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 0B 00 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 0B 00 EE 10 00 F9 27 E8 A4 B0 3F B1 83 90 00 49 [18:02:17]RAPDU: F9 27 E8 A4 B0 3F B1 83 90 00 [18:02:17]wFMCommunicate OK [18:02:17]SAM_PROTO_SignData done [18:02:17]FM_MakeSignedData done [18:02:17]CreateOFDProtocolMessage [18:02:17]wFMCommunicate request_size=4 [18:02:17]MH_SAM_APDU [18:02:17]CAPDU: 80 11 00 00 [18:02:17]Write to MH i2c: E2 08 00 EF 10 80 11 00 00 00 00 00 00 79 [18:02:17]Write i2c OK [18:02:17]MH_I2C_Read... [18:02:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:02:17]Read from MH i2c: E2 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 17 00 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: E2 17 00 EF 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 CC [18:02:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:02:17]wFMCommunicate OK [18:02:17]CreateOFDProtocolMessage done [18:02:17]OFDSenderStorePacket 4070 [18:02:17]StoreOFDPacket docnum=4070 [18:02:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 86 CC 22 01 C3 74 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 2C 05 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E6 0F 00 00 35 04 06 00 5C 3B 31 35 2B 6A F9 27 E8 A4 B0 3F B1 83 [18:02:17]CheckFolder [18:02:17]dirname=/storage/ofd_packets [18:02:17]CheckFolder done [18:02:17]ProducePacketName [18:02:17]name=ofd_packets/00004070 [18:02:17]NVStorageSaveData ofd_packets/00004070 [18:02:17]File name is /storage/ofd_packets/00004070 [18:02:17]Write 328 bytes [18:02:17]NVStorageSaveData done [18:02:17]OFDSenderStorePacket done [18:02:17]KKMCreateOFDPacket done [18:02:17]NVStorageSaveData kkm_last_timestamp [18:02:17]File name is /storage/kkm_last_timestamp [18:02:17]Write 4 bytes [18:02:17]NVStorageSaveData done [18:02:17]ExternCall_PrintAddStr [18:02:17]wPrintStart [18:02:17]Write to MH i2c: 01 00 00 F0 10 00 [18:02:17]Write i2c OK [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: 01 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: 01 07 00 [18:02:17]MH_I2C_Read... [18:02:17]Read from MH i2c: 01 07 00 F0 10 00 00 00 00 00 FF 0F 15 [18:02:17]RasterBufferAndPrint [18:02:17]line Счет N : (3)4324 [18:02:17]line ИНН: 02508201610067 [18:02:17]line Контрольно-Кассовый Чек [18:02:17]line ПРОДАЖА [18:02:17]line Товар: 48741224 [18:02:17]line Сигареты Winston Super Slims Blue [18:02:17]line 1.000 * 135.00 [18:02:17]line = 135.00 [18:02:17]line НДС 12% НСП 1% [18:02:17]line > о реализуемом товаре [18:02:17]line ИТОГО: 135.00 [18:02:17]line НСП 1% : 1.19 [18:02:17]line НДС 12% : 14.34 [18:02:17]line Наличными: 135.00 [18:02:17]line Безнал.: 0.00 [18:02:17]line Место: АЗС № 116 "Партнер Нефть" [18:02:17]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:02:17]line СНО: Общий режим [18:02:17]line Чек 51 03.06.2024 18:02 [18:02:17]line Смена: 82 ФФД: 1.0 [18:02:17]line ЗНМ: 0300000233 [18:02:17]line РНМ: 0000000000145775 [18:02:17]line Версия ККМ: v1.0 [18:02:17]line ФМ: 0000000000959360 [18:02:17]line ФД: 4070 [18:02:17]line ФПД: 101409298393962 [18:02:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T180220&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4070&fm=101409298393962&tin=02508201610067®Number=0000000000145775&sum=13500 [18:02:17]line 0 [18:02:17]OFD Sender: Processing packet 4070 [packets to send 2, broken 1] [18:02:17]ProducePacketName [18:02:17]name=ofd_packets/00004070 [18:02:17]OFD Sender: To server: pG, [18:02:17]CommunicateWithHost lk.salyk.kg:30040 [18:02:17]ConnectInit lk.salyk.kg [18:02:17]written 0, free lines is 4095 [18:02:18]Connected sock=10 [18:02:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 86 CC 22 01 C3 74 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 2C 05 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E6 0F 00 00 35 04 06 00 5C 3B 31 35 2B 6A F9 27 E8 A4 B0 3F B1 83 [18:02:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 8F 8C 47 00 67 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E6 0F 00 00 F4 03 04 00 2F B1 5D 66 B6 04 01 00 00 C5 62 E1 B9 38 AE B7 E9 [18:02:18]CommunicateWithHost err = 0 [18:02:18]CheckOFDResponse [18:02:18]1017 (14) - 77093643461234 [18:02:18]1041 (16) - 0000000000959360 [18:02:18]1040 (4) - 4070 [18:02:18]1012 (4) - 03.06.2024 12:03 [18:02:18]1206 (1) - 0 [18:02:18]OFD Sender: Remove packet 4070 [18:02:18]ProducePacketName [18:02:18]name=ofd_packets/00004070 [18:02:18]NVStorageDeleteData [18:02:18]Write to MH i2c: 01 00 00 19 11 2A [18:02:18]Write i2c OK [18:02:18]MH_I2C_Read... [18:02:18]Read from MH i2c: 01 [18:02:18]MH_I2C_Read... [18:02:18]Read from MH i2c: 01 07 00 [18:02:18]MH_I2C_Read... [18:02:18]Read from MH i2c: 01 07 00 19 11 00 00 00 00 00 B0 0C ED [18:02:18]RasterBufferAndPrint [18:02:18]line [18:02:18]line [18:02:18]line [18:02:18]line [18:02:18]line [18:02:18]written 0, free lines is 3252 [18:02:18]MH_Cut [18:02:18]Write to MH i2c: D1 01 00 20 11 01 03 [18:02:18]Write i2c OK [18:02:18]MH_I2C_Read... [18:02:18]Read from MH i2c: D1 [18:02:18]MH_I2C_Read... [18:02:18]Read from MH i2c: D1 01 00 [18:02:18]MH_I2C_Read... [18:02:18]Read from MH i2c: D1 01 00 20 11 00 02 [18:02:18]Write to MH i2c: 01 00 00 21 11 32 [18:02:18]Write i2c OK [18:02:18]MH_I2C_Read... [18:02:18]OFD Sender: No OFD packet to send [18:02:19]*** Cut start [18:02:19]*** Partial cut [18:02:19]*** CUTSNS_PIN = 1 [18:02:19]*** CUTSNS_PIN = 0 [18:02:19]*** Brake cut motor [18:02:19]Read from MH i2c: 01 [18:02:19]MH_I2C_Read... [18:02:19]*** Stop cut motor [18:02:19]*** Cut end [18:02:19]Read from MH i2c: 01 07 00 [18:02:19]MH_I2C_Read... [18:02:19]Read from MH i2c: 01 07 00 21 11 00 00 00 00 00 FF 0F 47 [18:02:19]process_action close_receipt done [18:02:19]requested_data is exist [18:02:19]produce_requested_data [18:02:19]requested_item fm.sn is exist - process it [18:02:19]wFMCommunicate request_size=4 [18:02:19]MH_SAM_APDU [18:02:19]CAPDU: 80 11 00 00 [18:02:19]Write to MH i2c: E2 08 00 22 11 80 11 00 00 00 00 00 00 AD [18:02:19]Write i2c OK [18:02:19]MH_I2C_Read... [18:02:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:02:19]Read from MH i2c: E2 [18:02:19]MH_I2C_Read... [18:02:19]Read from MH i2c: E2 17 00 [18:02:19]MH_I2C_Read... [18:02:19]Read from MH i2c: E2 17 00 22 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 00 [18:02:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:02:19]wFMCommunicate OK [18:02:19]requested_item fd.num is exist - process it [18:02:19]SAM_PROTO_GetFieldsCounters [18:02:19]wFMCommunicate request_size=4 [18:02:19]MH_SAM_APDU [18:02:19]CAPDU: 80 13 00 00 [18:02:19]Write to MH i2c: E2 08 00 23 11 80 13 00 00 00 00 00 00 B0 [18:02:19]Write i2c OK [18:02:19]MH_I2C_Read... [18:02:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:02:20]Read from MH i2c: E2 [18:02:20]MH_I2C_Read... [18:02:20]Read from MH i2c: E2 62 00 [18:02:20]MH_I2C_Read... [18:02:20]Read from MH i2c: E2 62 00 23 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E6 0F 00 00 0E 04 04 00 52 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 B5 [18:02:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E6 0F 00 00 0E 04 04 00 52 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 [18:02:20]wFMCommunicate OK [18:02:20]SAM_PROTO_GetFieldsCounters done [18:02:20]requested_item shift.num is exist - process it [18:02:20]requested_item shift.opened is exist - process it [18:02:20]req_shift_opened [18:02:20]FM_GetShiftState [18:02:20]SAM_PROTO_GetShiftState [18:02:20]wFMCommunicate request_size=4 [18:02:20]MH_SAM_APDU [18:02:20]CAPDU: 80 13 01 00 [18:02:20]Write to MH i2c: E2 08 00 24 11 80 13 01 00 00 00 00 00 B2 [18:02:20]Write i2c OK [18:02:20]MH_I2C_Read... [18:02:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:02:20]Read from MH i2c: E2 [18:02:20]MH_I2C_Read... [18:02:20]Read from MH i2c: E2 0E 00 [18:02:20]MH_I2C_Read... [18:02:20]Read from MH i2c: E2 0E 00 24 11 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 40 [18:02:20]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [18:02:20]wFMCommunicate OK [18:02:20]SAM_PROTO_GetShiftState done [18:02:20]FM_GetShiftState done [18:02:20]req_shift_opened done [18:02:20]requested_item shift.open_date is exist - process it [18:02:20]req_shift_open_date [18:02:20]req_shift_open_date done [18:02:20]produce_requested_data done [18:02:20]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4070,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [18:02:20]process_action_free close_receipt [18:02:20]json_value_free [18:02:20]json_value_free done [18:02:20]process_json_proto returns [18:02:20]Send response to host [18:02:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4070,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [18:02:20]free response buf [18:02:20]execute_script done [18:02:20]execute_script returns [18:02:20]free content buf [18:02:20]Sock 8.Close socket [18:02:20]Sock 8.Thread stoped [18:02:23]OFD Sender: No OFD packet to send [18:02:28]OFD Sender: No OFD packet to send [18:02:33]OFD Sender: No OFD packet to send [18:02:38]OFD Sender: No OFD packet to send [18:02:43]OFD Sender: No OFD packet to send [18:02:48]OFD Sender: No OFD packet to send [18:02:53]OFD Sender: No OFD packet to send [18:02:58]OFD Sender: No OFD packet to send [18:03:03]OFD Sender: No OFD packet to send [18:03:08]OFD Sender: No OFD packet to send [18:03:13]OFD Sender: No OFD packet to send [18:03:18]OFD Sender: No OFD packet to send [18:03:23]OFD Sender: No OFD packet to send [18:03:28]OFD Sender: No OFD packet to send [18:03:33]OFD Sender: No OFD packet to send [18:03:38]OFD Sender: No OFD packet to send [18:03:43]OFD Sender: No OFD packet to send [18:03:48]OFD Sender: No OFD packet to send [18:03:53]OFD Sender: No OFD packet to send [18:03:58]OFD Sender: No OFD packet to send [18:04:03]OFD Sender: No OFD packet to send [18:04:08]OFD Sender: No OFD packet to send [18:04:13]OFD Sender: No OFD packet to send [18:04:18]OFD Sender: No OFD packet to send [18:04:23]OFD Sender: No OFD packet to send [18:04:28]OFD Sender: No OFD packet to send [18:04:33]OFD Sender: No OFD packet to send [18:04:38]OFD Sender: No OFD packet to send [18:04:43]OFD Sender: No OFD packet to send [18:04:48]OFD Sender: No OFD packet to send [18:04:53]OFD Sender: No OFD packet to send [18:04:58]OFD Sender: No OFD packet to send [18:05:03]OFD Sender: No OFD packet to send [18:05:08]OFD Sender: No OFD packet to send [18:05:13]OFD Sender: No OFD packet to send [18:05:18]OFD Sender: No OFD packet to send [18:05:23]OFD Sender: No OFD packet to send [18:05:28]OFD Sender: No OFD packet to send [18:05:33]OFD Sender: No OFD packet to send [18:05:38]OFD Sender: No OFD packet to send [18:05:43]OFD Sender: No OFD packet to send [18:05:48]OFD Sender: No OFD packet to send [18:05:53]OFD Sender: No OFD packet to send [18:05:58]OFD Sender: No OFD packet to send [18:06:03]OFD Sender: No OFD packet to send [18:06:08]OFD Sender: No OFD packet to send [18:06:13]OFD Sender: No OFD packet to send [18:06:18]OFD Sender: No OFD packet to send [18:06:23]OFD Sender: No OFD packet to send [18:06:28]OFD Sender: No OFD packet to send [18:06:33]OFD Sender: No OFD packet to send [18:06:38]OFD Sender: No OFD packet to send [18:06:43]OFD Sender: No OFD packet to send [18:06:48]OFD Sender: No OFD packet to send [18:06:53]OFD Sender: No OFD packet to send [18:06:58]OFD Sender: No OFD packet to send [18:07:03]OFD Sender: No OFD packet to send [18:07:08]OFD Sender: No OFD packet to send [18:07:13]OFD Sender: No OFD packet to send [18:07:18]OFD Sender: No OFD packet to send [18:07:23]OFD Sender: No OFD packet to send [18:07:28]OFD Sender: No OFD packet to send [18:07:33]OFD Sender: No OFD packet to send [18:07:38]OFD Sender: No OFD packet to send [18:07:43]OFD Sender: No OFD packet to send [18:07:48]OFD Sender: No OFD packet to send [18:07:53]OFD Sender: No OFD packet to send [18:07:58]OFD Sender: No OFD packet to send [18:08:03]OFD Sender: No OFD packet to send [18:08:08]OFD Sender: No OFD packet to send [18:08:13]OFD Sender: No OFD packet to send [18:08:18]OFD Sender: No OFD packet to send [18:08:23]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:39]OFD Sender: No OFD packet to send [18:12:44]OFD Sender: No OFD packet to send [18:12:49]OFD Sender: No OFD packet to send [18:12:54]OFD Sender: No OFD packet to send [18:12:59]OFD Sender: No OFD packet to send [18:13:04]OFD Sender: No OFD packet to send [18:13:09]OFD Sender: No OFD packet to send [18:13:14]OFD Sender: No OFD packet to send [18:13:19]OFD Sender: No OFD packet to send [18:13:24]OFD Sender: No OFD packet to send [18:13:29]OFD Sender: No OFD packet to send [18:13:34]OFD Sender: No OFD packet to send [18:13:39]OFD Sender: No OFD packet to send [18:13:44]OFD Sender: No OFD packet to send [18:13:49]OFD Sender: No OFD packet to send [18:13:54]OFD Sender: No OFD packet to send [18:13:59]OFD Sender: No OFD packet to send [18:14:04]OFD Sender: No OFD packet to send [18:14:09]OFD Sender: No OFD packet to send [18:14:14]OFD Sender: No OFD packet to send [18:14:19]OFD Sender: No OFD packet to send [18:14:24]OFD Sender: No OFD packet to send [18:14:29]OFD Sender: No OFD packet to send [18:14:34]OFD Sender: No OFD packet to send [18:14:39]OFD Sender: No OFD packet to send [18:14:44]OFD Sender: No OFD packet to send [18:14:49]OFD Sender: No OFD packet to send [18:14:54]OFD Sender: No OFD packet to send [18:14:59]OFD Sender: No OFD packet to send [18:15:04]OFD Sender: No OFD packet to send [18:15:09]OFD Sender: No OFD packet to send [18:15:14]OFD Sender: No OFD packet to send [18:15:19]OFD Sender: No OFD packet to send [18:15:24]OFD Sender: No OFD packet to send [18:15:29]OFD Sender: No OFD packet to send [18:15:34]OFD Sender: No OFD packet to send [18:15:39]OFD Sender: No OFD packet to send [18:15:44]OFD Sender: No OFD packet to send [18:15:49]OFD Sender: No OFD packet to send [18:15:54]OFD Sender: No OFD packet to send [18:15:59]OFD Sender: No OFD packet to send [18:16:04]OFD Sender: No OFD packet to send [18:16:09]OFD Sender: No OFD packet to send [18:16:14]OFD Sender: No OFD packet to send [18:16:19]OFD Sender: No OFD packet to send [18:16:24]OFD Sender: No OFD packet to send [18:16:29]OFD Sender: No OFD packet to send [18:16:34]OFD Sender: No OFD packet to send [18:16:39]OFD Sender: No OFD packet to send [18:16:44]OFD Sender: No OFD packet to send [18:16:49]OFD Sender: No OFD packet to send [18:16:54]OFD Sender: No OFD packet to send [18:16:59]OFD Sender: No OFD packet to send [18:17:04]OFD Sender: No OFD packet to send [18:17:09]OFD Sender: No OFD packet to send [18:17:14]OFD Sender: No OFD packet to send [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:44]accept exits with 9 [18:24:44]New connection [18:24:44]New thread 3067370852 created [18:24:44]Thread 3067227492 joined [18:24:44]Waiting for new connection... [18:24:44] Sock 9.Parse request [18:24:44]Sock 9.Check first char [18:24:44]Sock 9.First char is OK [18:24:44]request: POST /json_proto HTTP/1.0 [18:24:44]Method: POST [18:24:44]URL: /json_proto [18:24:44]Method is POST - this is cgi request [18:24:44]url: /json_proto [18:24:44]query_string will be loaded in cgi processing [18:24:44]execute_cgi json_proto POST (null) [18:24:44]execute_cgi path=json_proto method=POST [18:24:44]POST find Content-Length [18:24:44]Host: 172.17.56.68:8080 [18:24:44]Content-Length: 928 [18:24:44]Content-Type: application/json [18:24:44] [18:24:44]POST finish read [18:24:44]Found Content-Length = 928 [18:24:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4325", "tax_sys" : 0, "items" : [ { "code": "4870001570903", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u044F\u0431\u043B,\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 \u041F\u042D\u0422 1\u043B", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:24:44]execute_script... [18:24:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4325", "tax_sys" : 0, "items" : [ { "code": "4870001570903", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u044F\u0431\u043B,\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 \u041F\u042D\u0422 1\u043B", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:24:44]POST & json_proto [18:24:44]process_json_proto [18:24:44]json parsed OK: [18:24:44]protocol is kg_v1.0 [18:24:44]action value=close_receipt [18:24:44]process_action close_receipt [18:24:44]cmd_close_receipt [18:24:44]MH_GetDate [18:24:44]Write to MH i2c: F0 00 00 25 11 25 [18:24:44]Write i2c OK [18:24:44]MH_I2C_Read... [18:24:44]Read from MH i2c: F0 [18:24:44]MH_I2C_Read... [18:24:44]Read from MH i2c: F0 09 00 [18:24:44]MH_I2C_Read... [18:24:44]Read from MH i2c: F0 09 00 25 11 00 71 0A 5E 66 42 69 5C 66 DA [18:24:44]GetLastDocTimeStamp 1717437740 [18:24:44]current date 1717439089 [18:24:44]FM_GetShiftState [18:24:44]SAM_PROTO_GetShiftState [18:24:44]wFMCommunicate request_size=4 [18:24:44]MH_SAM_APDU [18:24:44]CAPDU: 80 13 01 00 [18:24:44]Write to MH i2c: E2 08 00 26 11 80 13 01 00 00 00 00 00 B4 [18:24:44]Write i2c OK [18:24:44]MH_I2C_Read... [18:24:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:24:44]Read from MH i2c: E2 [18:24:44]MH_I2C_Read... [18:24:44]Read from MH i2c: E2 0E 00 [18:24:44]MH_I2C_Read... [18:24:44]Read from MH i2c: E2 0E 00 26 11 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 42 [18:24:44]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [18:24:44]wFMCommunicate OK [18:24:44]SAM_PROTO_GetShiftState done [18:24:44]FM_GetShiftState done [18:24:44]opened in 1717372856 [18:24:44]opened+sec_in_day 1717459256 [18:24:44]quantity*price = 16500 [18:24:44]sum+1 = 16501 [18:24:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 275.00 НСП 1% : 2.43 НДС 12% : 29.20 Наличными: 275.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 52 03.06.2024 18:24 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4071 ФПД: 182596231739547 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T182449&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4071&fm=182596231739547&tin=02508201610067®Number=0000000000145775&sum=27500 0 [18:24:46]StoreToDocumentArchive [18:24:46]shift 82 fd 4071 [18:24:46]save to /storage/0082/doc_00004071 [18:24:46]save last doc name /storage/0082/doc_00004071 to /storage/kkm_last_doc_name [18:24:46]save OK [18:24:46]Clear old archive folders... [18:24:46]ProcessDocumentItem done err = 0, tmpTLVsize=392 [18:24:46]tlvbuf is B6E0E010 [18:24:46]SAM_PROTO_ClearQueue [18:24:46]wFMCommunicate request_size=4 [18:24:46]MH_SAM_APDU [18:24:46]CAPDU: 80 09 00 00 [18:24:46]Write to MH i2c: E2 08 00 33 11 80 09 00 00 00 00 00 00 B6 [18:24:46]Write i2c OK [18:24:46]MH_I2C_Read... [18:24:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:24:46]Read from MH i2c: E2 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 03 00 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 03 00 33 11 00 90 00 B8 [18:24:46]RAPDU: 90 00 [18:24:46]wFMCommunicate OK [18:24:46]SAM_PROTO_ClearQueue done [18:24:46]KKMCreateOFDPacket [18:24:46]OFDProtocolAddRootSTLVToBuf [18:24:46]FM_MakeSignedData [18:24:46]FM_MakeSignedData [18:24:46]SAM_PROTO_SignData [18:24:46]wFMCommunicate request_size=4 [18:24:46]MH_SAM_APDU [18:24:46]CAPDU: 80 0D 01 02 [18:24:46]Write to MH i2c: E2 08 00 34 11 80 0D 01 02 00 00 00 00 BE [18:24:46]Write i2c OK [18:24:46]MH_I2C_Read... [18:24:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:24:46]Read from MH i2c: E2 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 03 00 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 03 00 34 11 00 90 00 B9 [18:24:46]RAPDU: 90 00 [18:24:46]wFMCommunicate OK [18:24:46]wFMCommunicate request_size=255 [18:24:46]MH_SAM_APDU [18:24:46]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 39 30 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B1 D0 BB 2C D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [18:24:46]Write to MH i2c: E2 02 01 35 11 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 39 30 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B1 D0 BB 2C D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 1C [18:24:46]Write i2c OK [18:24:46]MH_I2C_Read... [18:24:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:24:46]Read from MH i2c: E2 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 03 00 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 03 00 35 11 00 90 00 BA [18:24:46]RAPDU: 90 00 [18:24:46]wFMCommunicate OK [18:24:46]wFMCommunicate request_size=151 [18:24:46]MH_SAM_APDU [18:24:46]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 71 0A 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E7 0F 00 00 35 04 06 00 A6 11 FF 87 B8 9B [18:24:46]Write to MH i2c: E2 9A 00 36 11 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 71 0A 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E7 0F 00 00 35 04 06 00 A6 11 FF 87 B8 9B 00 00 A3 [18:24:46]Write i2c OK [18:24:46]MH_I2C_Read... [18:24:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:24:46]Read from MH i2c: E2 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 03 00 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 03 00 36 11 00 90 00 BB [18:24:46]RAPDU: 90 00 [18:24:46]wFMCommunicate OK [18:24:46]wFMCommunicate request_size=4 [18:24:46]MH_SAM_APDU [18:24:46]CAPDU: 80 0D 03 02 [18:24:46]Write to MH i2c: E2 08 00 37 11 80 0D 03 02 00 00 00 00 C3 [18:24:46]Write i2c OK [18:24:46]MH_I2C_Read... [18:24:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:24:46]Read from MH i2c: E2 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 0B 00 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 0B 00 37 11 00 CD 22 A4 DE 5C FE DF BE 90 00 2C [18:24:46]RAPDU: CD 22 A4 DE 5C FE DF BE 90 00 [18:24:46]wFMCommunicate OK [18:24:46]SAM_PROTO_SignData done [18:24:46]FM_MakeSignedData done [18:24:46]CreateOFDProtocolMessage [18:24:46]wFMCommunicate request_size=4 [18:24:46]MH_SAM_APDU [18:24:46]CAPDU: 80 11 00 00 [18:24:46]Write to MH i2c: E2 08 00 38 11 80 11 00 00 00 00 00 00 C3 [18:24:46]Write i2c OK [18:24:46]MH_I2C_Read... [18:24:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:24:46]Read from MH i2c: E2 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 17 00 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: E2 17 00 38 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 16 [18:24:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:24:46]wFMCommunicate OK [18:24:46]CreateOFDProtocolMessage done [18:24:46]OFDSenderStorePacket 4071 [18:24:46]StoreOFDPacket docnum=4071 [18:24:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 01 00 00 50 22 94 01 DD BC 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 39 30 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B1 D0 BB 2C D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 71 0A 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E7 0F 00 00 35 04 06 00 A6 11 FF 87 B8 9B CD 22 A4 DE 5C FE DF BE [18:24:46]CheckFolder [18:24:46]dirname=/storage/ofd_packets [18:24:46]CheckFolder done [18:24:46]ProducePacketName [18:24:46]name=ofd_packets/00004071 [18:24:46]NVStorageSaveData ofd_packets/00004071 [18:24:46]File name is /storage/ofd_packets/00004071 [18:24:46]Write 442 bytes [18:24:46]NVStorageSaveData done [18:24:46]OFDSenderStorePacket done [18:24:46]KKMCreateOFDPacket done [18:24:46]NVStorageSaveData kkm_last_timestamp [18:24:46]File name is /storage/kkm_last_timestamp [18:24:46]Write 4 bytes [18:24:46]NVStorageSaveData done [18:24:46]ExternCall_PrintAddStr [18:24:46]wPrintStart [18:24:46]Write to MH i2c: 01 00 00 39 11 4A [18:24:46]Write i2c OK [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: 01 [18:24:46]MH_I2C_Read... [18:24:46]Read from MH i2c: 01 07 00 [18:24:47]MH_I2C_Read... [18:24:47]OFD Sender: Processing packet 4071 [packets to send 2, broken 1] [18:24:47]ProducePacketName [18:24:47]name=ofd_packets/00004071 [18:24:47]OFD Sender: To server: pG, [18:24:47]CommunicateWithHost lk.salyk.kg:30040 [18:24:47]ConnectInit lk.salyk.kg [18:24:47]Read from MH i2c: 01 07 00 39 11 00 00 00 00 00 FF 0F 5F [18:24:47]RasterBufferAndPrint [18:24:47]line Счет N : (3)4325 [18:24:47]line ИНН: 02508201610067 [18:24:47]line Контрольно-Кассовый Чек [18:24:47]line ПРОДАЖА [18:24:47]line Товар: 4870001570903 [18:24:47]line Напиток DADA ябл,клубника ПЭТ 1л [18:24:47]line 1.000 * 165.00 [18:24:47]line = 165.00 [18:24:47]line НДС 12% НСП 1% [18:24:47]line > о реализуемом товаре [18:24:47]line Товар: 4870001570071 [18:24:47]line Напиток Pepsi 1л [18:24:47]line 1.000 * 110.00 [18:24:47]line = 110.00 [18:24:47]line НДС 12% НСП 1% [18:24:47]line > о реализуемом товаре [18:24:47]line ИТОГО: 275.00 [18:24:47]line НСП 1% : 2.43 [18:24:47]line НДС 12% : 29.20 [18:24:47]line Наличными: 275.00 [18:24:47]line Безнал.: 0.00 [18:24:47]line Место: АЗС № 116 "Партнер Нефть" [18:24:47]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:24:47]line СНО: Общий режим [18:24:47]line Чек 52 03.06.2024 18:24 [18:24:47]line Смена: 82 ФФД: 1.0 [18:24:47]line ЗНМ: 0300000233 [18:24:47]line РНМ: 0000000000145775 [18:24:47]line Версия ККМ: v1.0 [18:24:47]line ФМ: 0000000000959360 [18:24:47]line ФД: 4071 [18:24:47]line ФПД: 182596231739547 [18:24:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T182449&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4071&fm=182596231739547&tin=02508201610067®Number=0000000000145775&sum=27500 [18:24:47]line 0 [18:24:47]written 0, free lines is 4095 [18:24:47]Connected sock=10 [18:24:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 01 00 00 50 22 94 01 DD BC 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 39 30 33 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D1 8F D0 B1 D0 BB 2C D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 71 0A 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E7 0F 00 00 35 04 06 00 A6 11 FF 87 B8 9B CD 22 A4 DE 5C FE DF BE [18:24:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FE 67 47 00 50 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E7 0F 00 00 F4 03 04 00 74 B6 5D 66 B6 04 01 00 00 28 12 54 0D 44 8E F9 A9 [18:24:47]CommunicateWithHost err = 0 [18:24:47]CheckOFDResponse [18:24:47]1017 (14) - 77093643461234 [18:24:47]1041 (16) - 0000000000959360 [18:24:47]1040 (4) - 4071 [18:24:47]1012 (4) - 03.06.2024 12:26 [18:24:47]1206 (1) - 0 [18:24:47]OFD Sender: Remove packet 4071 [18:24:47]ProducePacketName [18:24:47]name=ofd_packets/00004071 [18:24:47]NVStorageDeleteData [18:24:47]Write to MH i2c: 01 00 00 68 11 79 [18:24:47]Write i2c OK [18:24:47]MH_I2C_Read... [18:24:47]Read from MH i2c: 01 [18:24:47]MH_I2C_Read... [18:24:47]Read from MH i2c: 01 07 00 [18:24:47]MH_I2C_Read... [18:24:47]Read from MH i2c: 01 07 00 68 11 00 00 00 00 00 4B 0C D7 [18:24:47]RasterBufferAndPrint [18:24:47]line [18:24:47]line [18:24:47]line [18:24:47]line [18:24:47]line [18:24:47]written 0, free lines is 3151 [18:24:47]MH_Cut [18:24:47]Write to MH i2c: D1 01 00 6F 11 01 52 [18:24:47]Write i2c OK [18:24:47]MH_I2C_Read... [18:24:47]Read from MH i2c: D1 [18:24:47]MH_I2C_Read... [18:24:47]Read from MH i2c: D1 01 00 [18:24:47]MH_I2C_Read... [18:24:47]Read from MH i2c: D1 01 00 6F 11 00 51 [18:24:47]Write to MH i2c: 01 00 00 70 11 81 [18:24:47]Write i2c OK [18:24:47]MH_I2C_Read... [18:24:47]OFD Sender: No OFD packet to send [18:24:48]*** Cut start [18:24:48]*** Partial cut [18:24:48]*** CUTSNS_PIN = 1 [18:24:48]*** CUTSNS_PIN = 0 [18:24:48]*** Brake cut motor [18:24:49]Read from MH i2c: 01 [18:24:49]MH_I2C_Read... [18:24:49]*** Stop cut motor [18:24:49]*** Cut end [18:24:49]Read from MH i2c: 01 07 00 [18:24:49]MH_I2C_Read... [18:24:49]Read from MH i2c: 01 07 00 70 11 00 00 00 00 00 FF 0F 96 [18:24:49]process_action close_receipt done [18:24:49]requested_data is exist [18:24:49]produce_requested_data [18:24:49]requested_item fm.sn is exist - process it [18:24:49]wFMCommunicate request_size=4 [18:24:49]MH_SAM_APDU [18:24:49]CAPDU: 80 11 00 00 [18:24:49]Write to MH i2c: E2 08 00 71 11 80 11 00 00 00 00 00 00 FC [18:24:49]Write i2c OK [18:24:49]MH_I2C_Read... [18:24:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:24:49]Read from MH i2c: E2 [18:24:49]MH_I2C_Read... [18:24:49]Read from MH i2c: E2 17 00 [18:24:49]MH_I2C_Read... [18:24:49]Read from MH i2c: E2 17 00 71 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4F [18:24:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:24:49]wFMCommunicate OK [18:24:49]requested_item fd.num is exist - process it [18:24:49]SAM_PROTO_GetFieldsCounters [18:24:49]wFMCommunicate request_size=4 [18:24:49]MH_SAM_APDU [18:24:49]CAPDU: 80 13 00 00 [18:24:49]Write to MH i2c: E2 08 00 72 11 80 13 00 00 00 00 00 00 FF [18:24:49]Write i2c OK [18:24:49]MH_I2C_Read... [18:24:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:24:49]Read from MH i2c: E2 [18:24:49]MH_I2C_Read... [18:24:49]Read from MH i2c: E2 62 00 [18:24:49]MH_I2C_Read... [18:24:49]Read from MH i2c: E2 62 00 72 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E7 0F 00 00 0E 04 04 00 52 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 08 [18:24:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E7 0F 00 00 0E 04 04 00 52 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 [18:24:49]wFMCommunicate OK [18:24:49]SAM_PROTO_GetFieldsCounters done [18:24:49]requested_item shift.num is exist - process it [18:24:49]requested_item shift.opened is exist - process it [18:24:49]req_shift_opened [18:24:49]FM_GetShiftState [18:24:49]SAM_PROTO_GetShiftState [18:24:49]wFMCommunicate request_size=4 [18:24:49]MH_SAM_APDU [18:24:49]CAPDU: 80 13 01 00 [18:24:49]Write to MH i2c: E2 08 00 73 11 80 13 01 00 00 00 00 00 01 [18:24:49]Write i2c OK [18:24:49]MH_I2C_Read... [18:24:49]Read from MH i2c: E2 [18:24:49]MH_I2C_Read... [18:24:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:24:49]Read from MH i2c: E2 0E 00 [18:24:49]MH_I2C_Read... [18:24:49]Read from MH i2c: E2 0E 00 73 11 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 8F [18:24:49]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [18:24:49]wFMCommunicate OK [18:24:49]SAM_PROTO_GetShiftState done [18:24:49]FM_GetShiftState done [18:24:49]req_shift_opened done [18:24:49]requested_item shift.open_date is exist - process it [18:24:49]req_shift_open_date [18:24:49]req_shift_open_date done [18:24:49]produce_requested_data done [18:24:49]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4071,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [18:24:49]process_action_free close_receipt [18:24:49]json_value_free [18:24:49]json_value_free done [18:24:49]process_json_proto returns [18:24:49]Send response to host [18:24:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4071,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [18:24:49]free response buf [18:24:49]execute_script done [18:24:49]execute_script returns [18:24:49]free content buf [18:24:49]Sock 9.Close socket [18:24:49]Sock 9.Thread stoped [18:24:52]OFD Sender: No OFD packet to send [18:24:57]OFD Sender: No OFD packet to send [18:25:02]OFD Sender: No OFD packet to send [18:25:07]OFD Sender: No OFD packet to send [18:25:12]OFD Sender: No OFD packet to send [18:25:17]OFD Sender: No OFD packet to send [18:25:22]OFD Sender: No OFD packet to send [18:25:27]OFD Sender: No OFD packet to send [18:25:32]OFD Sender: No OFD packet to send [18:25:37]OFD Sender: No OFD packet to send [18:25:42]OFD Sender: No OFD packet to send [18:25:47]OFD Sender: No OFD packet to send [18:25:52]OFD Sender: No OFD packet to send [18:25:57]OFD Sender: No OFD packet to send [18:26:02]OFD Sender: No OFD packet to send [18:26:07]OFD Sender: No OFD packet to send [18:26:12]OFD Sender: No OFD packet to send [18:26:17]OFD Sender: No OFD packet to send [18:26:22]OFD Sender: No OFD packet to send [18:26:27]OFD Sender: No OFD packet to send [18:26:32]OFD Sender: No OFD packet to send [18:26:37]OFD Sender: No OFD packet to send [18:26:42]OFD Sender: No OFD packet to send [18:26:47]OFD Sender: No OFD packet to send [18:26:52]OFD Sender: No OFD packet to send [18:26:57]OFD Sender: No OFD packet to send [18:27:02]OFD Sender: No OFD packet to send [18:27:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:26]accept exits with 8 [18:33:26]New connection [18:33:26]New thread 3067227492 created [18:33:26]Thread 3067370852 joined [18:33:26]Waiting for new connection... [18:33:26] Sock 8.Parse request [18:33:26]Sock 8.Check first char [18:33:26]Sock 8.First char is OK [18:33:26]request: POST /json_proto HTTP/1.0 [18:33:26]Method: POST [18:33:26]URL: /json_proto [18:33:26]Method is POST - this is cgi request [18:33:26]url: /json_proto [18:33:26]query_string will be loaded in cgi processing [18:33:26]execute_cgi json_proto POST (null) [18:33:26]execute_cgi path=json_proto method=POST [18:33:26]POST find Content-Length [18:33:26]Host: 172.17.56.68:8080 [18:33:26]Content-Length: 703 [18:33:26]Content-Type: application/json [18:33:26] [18:33:26]POST finish read [18:33:26]Found Content-Length = 703 [18:33:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4326", "tax_sys" : 0, "items" : [ { "code": "4602606017572", "name": "\u041C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 \u0427\u0427 \u041A\u0438\u0441\u043B\u044B\u0435 \u0440\u043E\u043B\u043B\u0441\u044B 30*70\u0433", "price" : 103.00, "quantity" : 1.000, "sum" : 103.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 103.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:33:26]execute_script... [18:33:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4326", "tax_sys" : 0, "items" : [ { "code": "4602606017572", "name": "\u041C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 \u0427\u0427 \u041A\u0438\u0441\u043B\u044B\u0435 \u0440\u043E\u043B\u043B\u0441\u044B 30*70\u0433", "price" : 103.00, "quantity" : 1.000, "sum" : 103.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 103.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:33:26]POST & json_proto [18:33:26]process_json_proto [18:33:26]json parsed OK: [18:33:26]protocol is kg_v1.0 [18:33:26]action value=close_receipt [18:33:26]process_action close_receipt [18:33:26]cmd_close_receipt [18:33:26]MH_GetDate [18:33:26]Write to MH i2c: F0 00 00 74 11 74 [18:33:26]Write i2c OK [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: F0 [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: F0 09 00 [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: F0 09 00 74 11 00 7B 0C 5E 66 42 69 5C 66 35 [18:33:26]GetLastDocTimeStamp 1717439089 [18:33:26]current date 1717439611 [18:33:26]FM_GetShiftState [18:33:26]SAM_PROTO_GetShiftState [18:33:26]wFMCommunicate request_size=4 [18:33:26]MH_SAM_APDU [18:33:26]CAPDU: 80 13 01 00 [18:33:26]Write to MH i2c: E2 08 00 75 11 80 13 01 00 00 00 00 00 03 [18:33:26]Write i2c OK [18:33:26]MH_I2C_Read... [18:33:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:26]Read from MH i2c: E2 [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: E2 0E 00 [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: E2 0E 00 75 11 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 91 [18:33:26]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [18:33:26]wFMCommunicate OK [18:33:26]SAM_PROTO_GetShiftState done [18:33:26]FM_GetShiftState done [18:33:26]opened in 1717372856 [18:33:26]opened+sec_in_day 1717459256 [18:33:26]quantity*price = 10300 [18:33:26]sum+1 = 10301 [18:33:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 103.00 НСП 1% : 0.91 НДС 12% : 10.94 Наличными: 103.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 53 03.06.2024 18:33 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4072 ФПД: 99130039762217 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T183331&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4072&fm=99130039762217&tin=02508201610067®Number=0000000000145775&sum=10300 0 [18:33:27]StoreToDocumentArchive [18:33:27]shift 82 fd 4072 [18:33:27]save to /storage/0082/doc_00004072 [18:33:27]save last doc name /storage/0082/doc_00004072 to /storage/kkm_last_doc_name [18:33:27]save OK [18:33:27]Clear old archive folders... [18:33:27]ProcessDocumentItem done err = 0, tmpTLVsize=297 [18:33:27]tlvbuf is 00747570 [18:33:27]SAM_PROTO_ClearQueue [18:33:27]wFMCommunicate request_size=4 [18:33:27]MH_SAM_APDU [18:33:27]CAPDU: 80 09 00 00 [18:33:27]Write to MH i2c: E2 08 00 82 11 80 09 00 00 00 00 00 00 05 [18:33:27]Write i2c OK [18:33:27]MH_I2C_Read... [18:33:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:33:27]Read from MH i2c: E2 [18:33:27]MH_I2C_Read... [18:33:27]Read from MH i2c: E2 03 00 [18:33:27]MH_I2C_Read... [18:33:27]Read from MH i2c: E2 03 00 82 11 00 90 00 07 [18:33:27]RAPDU: 90 00 [18:33:27]wFMCommunicate OK [18:33:27]SAM_PROTO_ClearQueue done [18:33:27]KKMCreateOFDPacket [18:33:27]OFDProtocolAddRootSTLVToBuf [18:33:27]FM_MakeSignedData [18:33:27]FM_MakeSignedData [18:33:27]SAM_PROTO_SignData [18:33:27]wFMCommunicate request_size=4 [18:33:27]MH_SAM_APDU [18:33:27]CAPDU: 80 0D 01 02 [18:33:27]Write to MH i2c: E2 08 00 83 11 80 0D 01 02 00 00 00 00 0D [18:33:27]Write i2c OK [18:33:27]MH_I2C_Read... [18:33:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:33:27]Read from MH i2c: E2 [18:33:27]MH_I2C_Read... [18:33:27]Read from MH i2c: E2 03 00 [18:33:27]MH_I2C_Read... [18:33:27]Read from MH i2c: E2 03 00 83 11 00 90 00 08 [18:33:27]RAPDU: 90 00 [18:33:27]wFMCommunicate OK [18:33:27]wFMCommunicate request_size=255 [18:33:27]MH_SAM_APDU [18:33:27]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 36 30 36 30 31 37 35 37 32 06 04 37 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 A7 D0 A7 20 D0 9A D0 B8 D1 81 D0 BB D1 8B D0 B5 20 D1 80 D0 BE D0 BB D0 BB D1 81 D1 8B 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 04 00 00 00 00 07 04 06 00 3C 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 35 00 00 00 F4 03 04 00 7B 0C 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [18:33:27]Write to MH i2c: E2 02 01 84 11 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 36 30 36 30 31 37 35 37 32 06 04 37 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 A7 D0 A7 20 D0 9A D0 B8 D1 81 D0 BB D1 8B D0 B5 20 D1 80 D0 BE D0 BB D0 BB D1 81 D1 8B 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 04 00 00 00 00 07 04 06 00 3C 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 35 00 00 00 F4 03 04 00 7B 0C 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 B4 [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 84 11 00 90 00 09 [18:33:28]RAPDU: 90 00 [18:33:28]wFMCommunicate OK [18:33:28]wFMCommunicate request_size=56 [18:33:28]MH_SAM_APDU [18:33:28]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E8 0F 00 00 35 04 06 00 5A 28 82 CE 7D 29 [18:33:28]Write to MH i2c: E2 3B 00 85 11 80 0D 02 02 33 00 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E8 0F 00 00 35 04 06 00 5A 28 82 CE 7D 29 00 00 0E [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]OFD Sender: No OFD packet to send [18:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 85 11 00 90 00 0A [18:33:28]RAPDU: 90 00 [18:33:28]wFMCommunicate OK [18:33:28]wFMCommunicate request_size=4 [18:33:28]MH_SAM_APDU [18:33:28]CAPDU: 80 0D 03 02 [18:33:28]Write to MH i2c: E2 08 00 86 11 80 0D 03 02 00 00 00 00 12 [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 0B 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 0B 00 86 11 00 BC A2 01 09 1F A7 03 8C 90 00 D0 [18:33:28]RAPDU: BC A2 01 09 1F A7 03 8C 90 00 [18:33:28]wFMCommunicate OK [18:33:28]SAM_PROTO_SignData done [18:33:28]FM_MakeSignedData done [18:33:28]CreateOFDProtocolMessage [18:33:28]wFMCommunicate request_size=4 [18:33:28]MH_SAM_APDU [18:33:28]CAPDU: 80 11 00 00 [18:33:28]Write to MH i2c: E2 08 00 87 11 80 11 00 00 00 00 00 00 12 [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 17 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 17 00 87 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 65 [18:33:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:33:28]wFMCommunicate OK [18:33:28]CreateOFDProtocolMessage done [18:33:28]OFDSenderStorePacket 4072 [18:33:28]StoreOFDPacket docnum=4072 [18:33:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3D 01 00 00 A5 3B 35 01 74 B6 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 36 30 36 30 31 37 35 37 32 06 04 37 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 A7 D0 A7 20 D0 9A D0 B8 D1 81 D0 BB D1 8B D0 B5 20 D1 80 D0 BE D0 BB D0 BB D1 81 D1 8B 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 04 00 00 00 00 07 04 06 00 3C 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 35 00 00 00 F4 03 04 00 7B 0C 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E8 0F 00 00 35 04 06 00 5A 28 82 CE 7D 29 BC A2 01 09 1F A7 03 8C [18:33:28]CheckFolder [18:33:28]dirname=/storage/ofd_packets [18:33:28]CheckFolder done [18:33:28]ProducePacketName [18:33:28]name=ofd_packets/00004072 [18:33:28]NVStorageSaveData ofd_packets/00004072 [18:33:28]File name is /storage/ofd_packets/00004072 [18:33:28]Write 347 bytes [18:33:28]NVStorageSaveData done [18:33:28]OFDSenderStorePacket done [18:33:28]KKMCreateOFDPacket done [18:33:28]NVStorageSaveData kkm_last_timestamp [18:33:28]File name is /storage/kkm_last_timestamp [18:33:28]Write 4 bytes [18:33:28]NVStorageSaveData done [18:33:28]ExternCall_PrintAddStr [18:33:28]wPrintStart [18:33:28]Write to MH i2c: 01 00 00 88 11 99 [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: 01 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: 01 07 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: 01 07 00 88 11 00 00 00 00 00 FF 0F AE [18:33:28]RasterBufferAndPrint [18:33:28]line Счет N : (3)4326 [18:33:28]line ИНН: 02508201610067 [18:33:28]line Контрольно-Кассовый Чек [18:33:28]line ПРОДАЖА [18:33:28]line Товар: 4602606017572 [18:33:28]line Мармелад ЧЧ Кислые роллсы 30*70г [18:33:28]line 1.000 * 103.00 [18:33:28]line = 103.00 [18:33:28]line НДС 12% НСП 1% [18:33:28]line > о реализуемом товаре [18:33:28]line ИТОГО: 103.00 [18:33:28]line НСП 1% : 0.91 [18:33:28]line НДС 12% : 10.94 [18:33:28]line Наличными: 103.00 [18:33:28]line Безнал.: 0.00 [18:33:28]line Место: АЗС № 116 "Партнер Нефть" [18:33:28]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:33:28]line СНО: Общий режим [18:33:28]line Чек 53 03.06.2024 18:33 [18:33:28]line Смена: 82 ФФД: 1.0 [18:33:28]line ЗНМ: 0300000233 [18:33:28]line РНМ: 0000000000145775 [18:33:28]line Версия ККМ: v1.0 [18:33:28]line ФМ: 0000000000959360 [18:33:28]line ФД: 4072 [18:33:28]line ФПД: 99130039762217 [18:33:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T183331&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4072&fm=99130039762217&tin=02508201610067®Number=0000000000145775&sum=10300 [18:33:28]line 0 [18:33:28]OFD Sender: Processing packet 4072 [packets to send 2, broken 1] [18:33:28]ProducePacketName [18:33:28]name=ofd_packets/00004072 [18:33:28]OFD Sender: To server: pG, [18:33:28]CommunicateWithHost lk.salyk.kg:30040 [18:33:28]ConnectInit lk.salyk.kg [18:33:28]written 0, free lines is 4095 [18:33:28]Connected sock=10 [18:33:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3D 01 00 00 A5 3B 35 01 74 B6 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 36 30 36 30 31 37 35 37 32 06 04 37 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 A7 D0 A7 20 D0 9A D0 B8 D1 81 D0 BB D1 8B D0 B5 20 D1 80 D0 BE D0 BB D0 BB D1 81 D1 8B 20 33 30 2A 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 28 00 00 00 00 13 04 06 00 3C 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 04 00 00 00 00 07 04 06 00 3C 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 35 00 00 00 F4 03 04 00 7B 0C 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E8 0F 00 00 35 04 06 00 5A 28 82 CE 7D 29 BC A2 01 09 1F A7 03 8C [18:33:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E6 20 47 00 92 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E8 0F 00 00 F4 03 04 00 7E B8 5D 66 B6 04 01 00 00 02 96 EA 6A 3F F7 02 CC [18:33:29]CommunicateWithHost err = 0 [18:33:29]CheckOFDResponse [18:33:29]1017 (14) - 77093643461234 [18:33:29]1041 (16) - 0000000000959360 [18:33:29]1040 (4) - 4072 [18:33:29]1012 (4) - 03.06.2024 12:35 [18:33:29]1206 (1) - 0 [18:33:29]OFD Sender: Remove packet 4072 [18:33:29]ProducePacketName [18:33:29]name=ofd_packets/00004072 [18:33:29]NVStorageDeleteData [18:33:29]Write to MH i2c: 01 00 00 B1 11 C2 [18:33:29]Write i2c OK [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: 01 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: 01 07 00 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: 01 07 00 B1 11 00 00 00 00 00 BB 0C 90 [18:33:29]RasterBufferAndPrint [18:33:29]line [18:33:29]line [18:33:29]line [18:33:29]line [18:33:29]line [18:33:29]written 0, free lines is 3263 [18:33:29]MH_Cut [18:33:29]Write to MH i2c: D1 01 00 B8 11 01 9B [18:33:29]Write i2c OK [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: D1 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: D1 01 00 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: D1 01 00 B8 11 00 9A [18:33:29]Write to MH i2c: 01 00 00 B9 11 CA [18:33:29]Write i2c OK [18:33:29]MH_I2C_Read... [18:33:29]OFD Sender: No OFD packet to send [18:33:30]*** Cut start [18:33:30]*** Partial cut [18:33:30]*** CUTSNS_PIN = 1 [18:33:30]*** CUTSNS_PIN = 0 [18:33:30]*** Brake cut motor [18:33:30]Read from MH i2c: 01 [18:33:30]MH_I2C_Read... [18:33:30]*** Stop cut motor [18:33:30]*** Cut end [18:33:30]Read from MH i2c: 01 07 00 [18:33:30]MH_I2C_Read... [18:33:30]Read from MH i2c: 01 07 00 B9 11 00 00 00 00 00 FF 0F DF [18:33:30]process_action close_receipt done [18:33:30]requested_data is exist [18:33:30]produce_requested_data [18:33:30]requested_item fm.sn is exist - process it [18:33:30]wFMCommunicate request_size=4 [18:33:30]MH_SAM_APDU [18:33:30]CAPDU: 80 11 00 00 [18:33:30]Write to MH i2c: E2 08 00 BA 11 80 11 00 00 00 00 00 00 45 [18:33:30]Write i2c OK [18:33:30]MH_I2C_Read... [18:33:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:30]Read from MH i2c: E2 [18:33:30]MH_I2C_Read... [18:33:30]Read from MH i2c: E2 17 00 [18:33:30]MH_I2C_Read... [18:33:30]Read from MH i2c: E2 17 00 BA 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 98 [18:33:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:33:30]wFMCommunicate OK [18:33:30]requested_item fd.num is exist - process it [18:33:30]SAM_PROTO_GetFieldsCounters [18:33:30]wFMCommunicate request_size=4 [18:33:30]MH_SAM_APDU [18:33:30]CAPDU: 80 13 00 00 [18:33:30]Write to MH i2c: E2 08 00 BB 11 80 13 00 00 00 00 00 00 48 [18:33:30]Write i2c OK [18:33:30]MH_I2C_Read... [18:33:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:33:30]Read from MH i2c: E2 [18:33:30]MH_I2C_Read... [18:33:30]Read from MH i2c: E2 62 00 [18:33:30]MH_I2C_Read... [18:33:30]Read from MH i2c: E2 62 00 BB 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E8 0F 00 00 0E 04 04 00 52 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 55 [18:33:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E8 0F 00 00 0E 04 04 00 52 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 [18:33:30]wFMCommunicate OK [18:33:30]SAM_PROTO_GetFieldsCounters done [18:33:30]requested_item shift.num is exist - process it [18:33:30]requested_item shift.opened is exist - process it [18:33:30]req_shift_opened [18:33:30]FM_GetShiftState [18:33:30]SAM_PROTO_GetShiftState [18:33:30]wFMCommunicate request_size=4 [18:33:30]MH_SAM_APDU [18:33:30]CAPDU: 80 13 01 00 [18:33:30]Write to MH i2c: E2 08 00 BC 11 80 13 01 00 00 00 00 00 4A [18:33:30]Write i2c OK [18:33:30]MH_I2C_Read... [18:33:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:30]Read from MH i2c: E2 [18:33:30]MH_I2C_Read... [18:33:30]Read from MH i2c: E2 0E 00 [18:33:30]MH_I2C_Read... [18:33:30]Read from MH i2c: E2 0E 00 BC 11 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 D8 [18:33:30]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [18:33:30]wFMCommunicate OK [18:33:30]SAM_PROTO_GetShiftState done [18:33:30]FM_GetShiftState done [18:33:30]req_shift_opened done [18:33:30]requested_item shift.open_date is exist - process it [18:33:30]req_shift_open_date [18:33:30]req_shift_open_date done [18:33:30]produce_requested_data done [18:33:30]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4072,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [18:33:30]process_action_free close_receipt [18:33:30]json_value_free [18:33:30]json_value_free done [18:33:30]process_json_proto returns [18:33:30]Send response to host [18:33:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4072,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [18:33:30]free response buf [18:33:30]execute_script done [18:33:30]execute_script returns [18:33:30]free content buf [18:33:30]Sock 8.Close socket [18:33:30]Sock 8.Thread stoped [18:33:34]OFD Sender: No OFD packet to send [18:33:39]OFD Sender: No OFD packet to send [18:33:44]OFD Sender: No OFD packet to send [18:33:49]OFD Sender: No OFD packet to send [18:33:54]OFD Sender: No OFD packet to send [18:33:59]OFD Sender: No OFD packet to send [18:34:04]OFD Sender: No OFD packet to send [18:34:09]OFD Sender: No OFD packet to send [18:34:14]OFD Sender: No OFD packet to send [18:34:19]OFD Sender: No OFD packet to send [18:34:24]OFD Sender: No OFD packet to send [18:34:29]OFD Sender: No OFD packet to send [18:34:34]OFD Sender: No OFD packet to send [18:34:39]OFD Sender: No OFD packet to send [18:34:44]OFD Sender: No OFD packet to send [18:34:49]OFD Sender: No OFD packet to send [18:34:54]OFD Sender: No OFD packet to send [18:34:59]OFD Sender: No OFD packet to send [18:35:04]OFD Sender: No OFD packet to send [18:35:09]OFD Sender: No OFD packet to send [18:35:14]OFD Sender: No OFD packet to send [18:35:19]OFD Sender: No OFD packet to send [18:35:24]OFD Sender: No OFD packet to send [18:35:29]OFD Sender: No OFD packet to send [18:35:34]OFD Sender: No OFD packet to send [18:35:39]OFD Sender: No OFD packet to send [18:35:44]OFD Sender: No OFD packet to send [18:35:49]OFD Sender: No OFD packet to send [18:35:54]OFD Sender: No OFD packet to send [18:35:59]OFD Sender: No OFD packet to send [18:36:04]OFD Sender: No OFD packet to send [18:36:09]OFD Sender: No OFD packet to send [18:36:14]OFD Sender: No OFD packet to send [18:36:19]OFD Sender: No OFD packet to send [18:36:24]OFD Sender: No OFD packet to send [18:36:29]OFD Sender: No OFD packet to send [18:36:34]OFD Sender: No OFD packet to send [18:36:39]OFD Sender: No OFD packet to send [18:36:44]OFD Sender: No OFD packet to send [18:36:49]OFD Sender: No OFD packet to send [18:36:54]OFD Sender: No OFD packet to send [18:36:59]OFD Sender: No OFD packet to send [18:37:04]OFD Sender: No OFD packet to send [18:37:09]OFD Sender: No OFD packet to send [18:37:14]OFD Sender: No OFD packet to send [18:37:19]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:37:39]OFD Sender: No OFD packet to send [18:37:44]OFD Sender: No OFD packet to send [18:37:49]OFD Sender: No OFD packet to send [18:37:54]OFD Sender: No OFD packet to send [18:37:59]OFD Sender: No OFD packet to send [18:38:04]OFD Sender: No OFD packet to send [18:38:09]OFD Sender: No OFD packet to send [18:38:14]OFD Sender: No OFD packet to send [18:38:19]OFD Sender: No OFD packet to send [18:38:24]OFD Sender: No OFD packet to send [18:38:29]OFD Sender: No OFD packet to send [18:38:34]OFD Sender: No OFD packet to send [18:38:39]OFD Sender: No OFD packet to send [18:38:44]OFD Sender: No OFD packet to send [18:38:49]OFD Sender: No OFD packet to send [18:38:54]OFD Sender: No OFD packet to send [18:38:59]OFD Sender: No OFD packet to send [18:39:04]OFD Sender: No OFD packet to send [18:39:09]OFD Sender: No OFD packet to send [18:39:14]OFD Sender: No OFD packet to send [18:39:19]OFD Sender: No OFD packet to send [18:39:24]OFD Sender: No OFD packet to send [18:39:29]OFD Sender: No OFD packet to send [18:39:34]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:10]OFD Sender: No OFD packet to send [18:43:15]OFD Sender: No OFD packet to send [18:43:20]OFD Sender: No OFD packet to send [18:43:25]OFD Sender: No OFD packet to send [18:43:30]OFD Sender: No OFD packet to send [18:43:35]OFD Sender: No OFD packet to send [18:43:40]OFD Sender: No OFD packet to send [18:43:45]OFD Sender: No OFD packet to send [18:43:50]OFD Sender: No OFD packet to send [18:43:55]OFD Sender: No OFD packet to send [18:44:00]OFD Sender: No OFD packet to send [18:44:05]OFD Sender: No OFD packet to send [18:44:10]OFD Sender: No OFD packet to send [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]OFD Sender: No OFD packet to send [18:46:00]OFD Sender: No OFD packet to send [18:46:05]OFD Sender: No OFD packet to send [18:46:10]OFD Sender: No OFD packet to send [18:46:15]OFD Sender: No OFD packet to send [18:46:20]OFD Sender: No OFD packet to send [18:46:25]OFD Sender: No OFD packet to send [18:46:30]OFD Sender: No OFD packet to send [18:46:35]OFD Sender: No OFD packet to send [18:46:40]OFD Sender: No OFD packet to send [18:46:45]OFD Sender: No OFD packet to send [18:46:50]OFD Sender: No OFD packet to send [18:46:55]OFD Sender: No OFD packet to send [18:47:00]OFD Sender: No OFD packet to send [18:47:05]OFD Sender: No OFD packet to send [18:47:10]OFD Sender: No OFD packet to send [18:47:15]OFD Sender: No OFD packet to send [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:40]OFD Sender: No OFD packet to send [18:47:45]OFD Sender: No OFD packet to send [18:47:50]OFD Sender: No OFD packet to send [18:47:55]OFD Sender: No OFD packet to send [18:48:00]OFD Sender: No OFD packet to send [18:48:05]OFD Sender: No OFD packet to send [18:48:10]OFD Sender: No OFD packet to send [18:48:15]OFD Sender: No OFD packet to send [18:48:20]OFD Sender: No OFD packet to send [18:48:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:20]OFD Sender: No OFD packet to send [18:54:25]OFD Sender: No OFD packet to send [18:54:30]OFD Sender: No OFD packet to send [18:54:35]OFD Sender: No OFD packet to send [18:54:40]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:05]OFD Sender: No OFD packet to send [19:01:10]OFD Sender: No OFD packet to send [19:01:15]OFD Sender: No OFD packet to send [19:01:20]OFD Sender: No OFD packet to send [19:01:25]OFD Sender: No OFD packet to send [19:01:30]OFD Sender: No OFD packet to send [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]OFD Sender: No OFD packet to send [19:04:10]OFD Sender: No OFD packet to send [19:04:15]OFD Sender: No OFD packet to send [19:04:20]OFD Sender: No OFD packet to send [19:04:25]OFD Sender: No OFD packet to send [19:04:30]OFD Sender: No OFD packet to send [19:04:35]OFD Sender: No OFD packet to send [19:04:40]OFD Sender: No OFD packet to send [19:04:45]OFD Sender: No OFD packet to send [19:04:50]OFD Sender: No OFD packet to send [19:04:55]OFD Sender: No OFD packet to send [19:05:01]OFD Sender: No OFD packet to send [19:05:06]OFD Sender: No OFD packet to send [19:05:11]OFD Sender: No OFD packet to send [19:05:16]OFD Sender: No OFD packet to send [19:05:21]OFD Sender: No OFD packet to send [19:05:26]OFD Sender: No OFD packet to send [19:05:31]OFD Sender: No OFD packet to send [19:05:36]OFD Sender: No OFD packet to send [19:05:41]OFD Sender: No OFD packet to send [19:05:46]OFD Sender: No OFD packet to send [19:05:51]OFD Sender: No OFD packet to send [19:05:56]OFD Sender: No OFD packet to send [19:06:01]OFD Sender: No OFD packet to send [19:06:06]OFD Sender: No OFD packet to send [19:06:11]OFD Sender: No OFD packet to send [19:06:16]OFD Sender: No OFD packet to send [19:06:21]OFD Sender: No OFD packet to send [19:06:26]OFD Sender: No OFD packet to send [19:06:31]OFD Sender: No OFD packet to send [19:06:36]OFD Sender: No OFD packet to send [19:06:41]OFD Sender: No OFD packet to send [19:06:46]OFD Sender: No OFD packet to send [19:06:51]OFD Sender: No OFD packet to send [19:06:56]OFD Sender: No OFD packet to send [19:07:01]OFD Sender: No OFD packet to send [19:07:06]OFD Sender: No OFD packet to send [19:07:11]OFD Sender: No OFD packet to send [19:07:16]OFD Sender: No OFD packet to send [19:07:21]OFD Sender: No OFD packet to send [19:07:26]OFD Sender: No OFD packet to send [19:07:31]OFD Sender: No OFD packet to send [19:07:36]OFD Sender: No OFD packet to send [19:07:41]OFD Sender: No OFD packet to send [19:07:46]OFD Sender: No OFD packet to send [19:07:51]OFD Sender: No OFD packet to send [19:07:56]OFD Sender: No OFD packet to send [19:08:01]OFD Sender: No OFD packet to send [19:08:06]OFD Sender: No OFD packet to send [19:08:11]OFD Sender: No OFD packet to send [19:08:16]OFD Sender: No OFD packet to send [19:08:21]OFD Sender: No OFD packet to send [19:08:26]OFD Sender: No OFD packet to send [19:08:31]OFD Sender: No OFD packet to send [19:08:36]OFD Sender: No OFD packet to send [19:08:41]OFD Sender: No OFD packet to send [19:08:46]OFD Sender: No OFD packet to send [19:08:51]OFD Sender: No OFD packet to send [19:08:56]OFD Sender: No OFD packet to send [19:09:01]OFD Sender: No OFD packet to send [19:09:06]OFD Sender: No OFD packet to send [19:09:11]OFD Sender: No OFD packet to send [19:09:16]OFD Sender: No OFD packet to send [19:09:21]OFD Sender: No OFD packet to send [19:09:26]OFD Sender: No OFD packet to send [19:09:31]OFD Sender: No OFD packet to send [19:09:36]OFD Sender: No OFD packet to send [19:09:41]OFD Sender: No OFD packet to send [19:09:46]OFD Sender: No OFD packet to send [19:09:51]OFD Sender: No OFD packet to send [19:09:56]OFD Sender: No OFD packet to send [19:10:01]OFD Sender: No OFD packet to send [19:10:06]OFD Sender: No OFD packet to send [19:10:11]OFD Sender: No OFD packet to send [19:10:16]OFD Sender: No OFD packet to send [19:10:21]OFD Sender: No OFD packet to send [19:10:26]OFD Sender: No OFD packet to send [19:10:31]OFD Sender: No OFD packet to send [19:10:36]OFD Sender: No OFD packet to send [19:10:41]OFD Sender: No OFD packet to send [19:10:46]OFD Sender: No OFD packet to send [19:10:51]OFD Sender: No OFD packet to send [19:10:56]OFD Sender: No OFD packet to send [19:11:01]OFD Sender: No OFD packet to send [19:11:06]OFD Sender: No OFD packet to send [19:11:11]OFD Sender: No OFD packet to send [19:11:16]OFD Sender: No OFD packet to send [19:11:21]OFD Sender: No OFD packet to send [19:11:26]OFD Sender: No OFD packet to send [19:11:31]OFD Sender: No OFD packet to send [19:11:36]OFD Sender: No OFD packet to send [19:11:41]OFD Sender: No OFD packet to send [19:11:46]OFD Sender: No OFD packet to send [19:11:51]OFD Sender: No OFD packet to send [19:11:56]OFD Sender: No OFD packet to send [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:41]OFD Sender: No OFD packet to send [19:14:46]OFD Sender: No OFD packet to send [19:14:51]OFD Sender: No OFD packet to send [19:14:56]OFD Sender: No OFD packet to send [19:15:01]OFD Sender: No OFD packet to send [19:15:06]OFD Sender: No OFD packet to send [19:15:11]OFD Sender: No OFD packet to send [19:15:16]OFD Sender: No OFD packet to send [19:15:21]OFD Sender: No OFD packet to send [19:15:26]OFD Sender: No OFD packet to send [19:15:31]OFD Sender: No OFD packet to send [19:15:36]OFD Sender: No OFD packet to send [19:15:41]OFD Sender: No OFD packet to send [19:15:46]OFD Sender: No OFD packet to send [19:15:51]OFD Sender: No OFD packet to send [19:15:56]OFD Sender: No OFD packet to send [19:16:01]OFD Sender: No OFD packet to send [19:16:06]OFD Sender: No OFD packet to send [19:16:11]OFD Sender: No OFD packet to send [19:16:16]OFD Sender: No OFD packet to send [19:16:21]OFD Sender: No OFD packet to send [19:16:26]OFD Sender: No OFD packet to send [19:16:31]OFD Sender: No OFD packet to send [19:16:36]OFD Sender: No OFD packet to send [19:16:41]OFD Sender: No OFD packet to send [19:16:46]OFD Sender: No OFD packet to send [19:16:51]OFD Sender: No OFD packet to send [19:16:56]OFD Sender: No OFD packet to send [19:17:01]OFD Sender: No OFD packet to send [19:17:06]OFD Sender: No OFD packet to send [19:17:11]OFD Sender: No OFD packet to send [19:17:16]OFD Sender: No OFD packet to send [19:17:21]OFD Sender: No OFD packet to send [19:17:26]OFD Sender: No OFD packet to send [19:17:31]OFD Sender: No OFD packet to send [19:17:36]OFD Sender: No OFD packet to send [19:17:41]OFD Sender: No OFD packet to send [19:17:46]OFD Sender: No OFD packet to send [19:17:51]OFD Sender: No OFD packet to send [19:17:56]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:06]OFD Sender: No OFD packet to send [19:20:11]OFD Sender: No OFD packet to send [19:20:16]OFD Sender: No OFD packet to send [19:20:21]OFD Sender: No OFD packet to send [19:20:26]OFD Sender: No OFD packet to send [19:20:31]OFD Sender: No OFD packet to send [19:20:36]OFD Sender: No OFD packet to send [19:20:41]OFD Sender: No OFD packet to send [19:20:46]OFD Sender: No OFD packet to send [19:20:51]OFD Sender: No OFD packet to send [19:20:56]OFD Sender: No OFD packet to send [19:21:01]OFD Sender: No OFD packet to send [19:21:06]OFD Sender: No OFD packet to send [19:21:11]OFD Sender: No OFD packet to send [19:21:11]accept exits with 9 [19:21:11]New connection [19:21:11]New thread 3067370852 created [19:21:11]Thread 3067227492 joined [19:21:11]Waiting for new connection... [19:21:11] Sock 9.Parse request [19:21:11]Sock 9.Check first char [19:21:11]Sock 9.First char is OK [19:21:11]request: POST /json_proto HTTP/1.0 [19:21:11]Method: POST [19:21:11]URL: /json_proto [19:21:11]Method is POST - this is cgi request [19:21:11]url: /json_proto [19:21:11]query_string will be loaded in cgi processing [19:21:11]execute_cgi json_proto POST (null) [19:21:11]execute_cgi path=json_proto method=POST [19:21:11]POST find Content-Length [19:21:11]Host: 172.17.56.68:8080 [19:21:11]Content-Length: 902 [19:21:11]Content-Type: application/json [19:21:11] [19:21:11]POST finish read [19:21:11]Found Content-Length = 902 [19:21:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4327", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:21:11]execute_script... [19:21: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)4327", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:21:11]POST & json_proto [19:21:11]process_json_proto [19:21:11]json parsed OK: [19:21:11]protocol is kg_v1.0 [19:21:11]action value=close_receipt [19:21:11]process_action close_receipt [19:21:11]cmd_close_receipt [19:21:11]MH_GetDate [19:21:11]Write to MH i2c: F0 00 00 BD 11 BD [19:21:11]Write i2c OK [19:21:11]MH_I2C_Read... [19:21:11]Read from MH i2c: F0 [19:21:11]MH_I2C_Read... [19:21:11]Read from MH i2c: F0 09 00 [19:21:11]MH_I2C_Read... [19:21:11]Read from MH i2c: F0 09 00 BD 11 00 AC 17 5E 66 42 69 5C 66 BA [19:21:11]GetLastDocTimeStamp 1717439611 [19:21:11]current date 1717442476 [19:21:11]FM_GetShiftState [19:21:11]SAM_PROTO_GetShiftState [19:21:11]wFMCommunicate request_size=4 [19:21:11]MH_SAM_APDU [19:21:11]CAPDU: 80 13 01 00 [19:21:11]Write to MH i2c: E2 08 00 BE 11 80 13 01 00 00 00 00 00 4C [19:21:11]Write i2c OK [19:21:11]MH_I2C_Read... [19:21:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:21:11]Read from MH i2c: E2 [19:21:11]MH_I2C_Read... [19:21:11]Read from MH i2c: E2 0E 00 [19:21:11]MH_I2C_Read... [19:21:11]Read from MH i2c: E2 0E 00 BE 11 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 DA [19:21:11]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [19:21:11]wFMCommunicate OK [19:21:11]SAM_PROTO_GetShiftState done [19:21:11]FM_GetShiftState done [19:21:11]opened in 1717372856 [19:21:11]opened+sec_in_day 1717459256 [19:21:11]quantity*price = 13800 [19:21:11]sum+1 = 13801 [19:21:11]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.76 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 54 03.06.2024 19:21 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4073 ФПД: 72096353288442 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T192116&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4073&fm=72096353288442&tin=02508201610067®Number=0000000000145775&sum=20500 0 [19:21:12]StoreToDocumentArchive [19:21:12]shift 82 fd 4073 [19:21:12]save to /storage/0082/doc_00004073 [19:21:12]save last doc name /storage/0082/doc_00004073 to /storage/kkm_last_doc_name [19:21:12]save OK [19:21:12]Clear old archive folders... [19:21:12]ProcessDocumentItem done err = 0, tmpTLVsize=392 [19:21:12]tlvbuf is 00783710 [19:21:12]SAM_PROTO_ClearQueue [19:21:12]wFMCommunicate request_size=4 [19:21:12]MH_SAM_APDU [19:21:12]CAPDU: 80 09 00 00 [19:21:12]Write to MH i2c: E2 08 00 CB 11 80 09 00 00 00 00 00 00 4E [19:21:12]Write i2c OK [19:21:12]MH_I2C_Read... [19:21:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:21:12]Read from MH i2c: E2 [19:21:12]MH_I2C_Read... [19:21:12]Read from MH i2c: E2 03 00 [19:21:12]MH_I2C_Read... [19:21:12]Read from MH i2c: E2 03 00 CB 11 00 90 00 50 [19:21:12]RAPDU: 90 00 [19:21:12]wFMCommunicate OK [19:21:12]SAM_PROTO_ClearQueue done [19:21:12]KKMCreateOFDPacket [19:21:12]OFDProtocolAddRootSTLVToBuf [19:21:12]FM_MakeSignedData [19:21:12]FM_MakeSignedData [19:21:12]SAM_PROTO_SignData [19:21:12]wFMCommunicate request_size=4 [19:21:12]MH_SAM_APDU [19:21:12]CAPDU: 80 0D 01 02 [19:21:12]Write to MH i2c: E2 08 00 CC 11 80 0D 01 02 00 00 00 00 56 [19:21:12]Write i2c OK [19:21:12]MH_I2C_Read... [19:21:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:21:13]Read from MH i2c: E2 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 03 00 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 03 00 CC 11 00 90 00 51 [19:21:13]RAPDU: 90 00 [19:21:13]wFMCommunicate OK [19:21:13]wFMCommunicate request_size=255 [19:21:13]MH_SAM_APDU [19:21:13]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [19:21:13]Write to MH i2c: E2 02 01 CD 11 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 14 [19:21:13]Write i2c OK [19:21:13]MH_I2C_Read... [19:21:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:21:13]Read from MH i2c: E2 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 03 00 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 03 00 CD 11 00 90 00 52 [19:21:13]RAPDU: 90 00 [19:21:13]wFMCommunicate OK [19:21:13]wFMCommunicate request_size=151 [19:21:13]MH_SAM_APDU [19:21:13]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 AC 17 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E9 0F 00 00 35 04 06 00 41 92 3D 87 00 FA [19:21:13]Write to MH i2c: E2 9A 00 CE 11 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 AC 17 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E9 0F 00 00 35 04 06 00 41 92 3D 87 00 FA 00 00 EC [19:21:13]Write i2c OK [19:21:13]MH_I2C_Read... [19:21:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:21:13]Read from MH i2c: E2 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 03 00 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 03 00 CE 11 00 90 00 53 [19:21:13]RAPDU: 90 00 [19:21:13]wFMCommunicate OK [19:21:13]wFMCommunicate request_size=4 [19:21:13]MH_SAM_APDU [19:21:13]CAPDU: 80 0D 03 02 [19:21:13]Write to MH i2c: E2 08 00 CF 11 80 0D 03 02 00 00 00 00 5B [19:21:13]Write i2c OK [19:21:13]MH_I2C_Read... [19:21:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:21:13]Read from MH i2c: E2 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 0B 00 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 0B 00 CF 11 00 DD C3 B2 78 97 56 8F 97 90 00 39 [19:21:13]RAPDU: DD C3 B2 78 97 56 8F 97 90 00 [19:21:13]wFMCommunicate OK [19:21:13]SAM_PROTO_SignData done [19:21:13]FM_MakeSignedData done [19:21:13]CreateOFDProtocolMessage [19:21:13]wFMCommunicate request_size=4 [19:21:13]MH_SAM_APDU [19:21:13]CAPDU: 80 11 00 00 [19:21:13]Write to MH i2c: E2 08 00 D0 11 80 11 00 00 00 00 00 00 5B [19:21:13]Write i2c OK [19:21:13]MH_I2C_Read... [19:21:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:21:13]Read from MH i2c: E2 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 17 00 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: E2 17 00 D0 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AE [19:21:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:21:13]wFMCommunicate OK [19:21:13]CreateOFDProtocolMessage done [19:21:13]OFDSenderStorePacket 4073 [19:21:13]StoreOFDPacket docnum=4073 [19:21:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 01 00 00 66 90 94 01 32 66 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 AC 17 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E9 0F 00 00 35 04 06 00 41 92 3D 87 00 FA DD C3 B2 78 97 56 8F 97 [19:21:13]CheckFolder [19:21:13]dirname=/storage/ofd_packets [19:21:13]CheckFolder done [19:21:13]ProducePacketName [19:21:13]name=ofd_packets/00004073 [19:21:13]NVStorageSaveData ofd_packets/00004073 [19:21:13]File name is /storage/ofd_packets/00004073 [19:21:13]Write 442 bytes [19:21:13]NVStorageSaveData done [19:21:13]OFDSenderStorePacket done [19:21:13]KKMCreateOFDPacket done [19:21:13]NVStorageSaveData kkm_last_timestamp [19:21:13]File name is /storage/kkm_last_timestamp [19:21:13]Write 4 bytes [19:21:13]NVStorageSaveData done [19:21:13]ExternCall_PrintAddStr [19:21:13]wPrintStart [19:21:13]Write to MH i2c: 01 00 00 D1 11 E2 [19:21:13]Write i2c OK [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: 01 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: 01 07 00 [19:21:13]MH_I2C_Read... [19:21:13]Read from MH i2c: 01 07 00 D1 11 00 00 00 00 00 FF 0F F7 [19:21:13]RasterBufferAndPrint [19:21:13]line Счет N : (3)4327 [19:21:13]line ИНН: 02508201610067 [19:21:13]line Контрольно-Кассовый Чек [19:21:13]line ПРОДАЖА [19:21:13]line Товар: 4640030092499 [19:21:13]line Сигареты ESSE SENSE Himalaya [19:21:13]line 1.000 * 138.00 [19:21:13]line = 138.00 [19:21:13]line НДС 12% НСП 1% [19:21:13]line > о реализуемом товаре [19:21:13]line Товар: 6931280300549 [19:21:13]line Зажигалка Cricket ПН пьезо [19:21:13]line 1.000 * 67.00 [19:21:13]line = 67.00 [19:21:13]line НДС 12% НСП 1% [19:21:13]line > о реализуемом товаре [19:21:13]line ИТОГО: 205.00 [19:21:13]line НСП 1% : 1.81 [19:21:13]line НДС 12% : 21.76 [19:21:13]line Наличными: 205.00 [19:21:13]line Безнал.: 0.00 [19:21:13]line Место: АЗС № 116 "Партнер Нефть" [19:21:13]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:21:13]line СНО: Общий режим [19:21:13]line Чек 54 03.06.2024 19:21 [19:21:13]line Смена: 82 ФФД: 1.0 [19:21:13]line ЗНМ: 0300000233 [19:21:13]line РНМ: 0000000000145775 [19:21:13]line Версия ККМ: v1.0 [19:21:13]line ФМ: 0000000000959360 [19:21:13]line ФД: 4073 [19:21:13]line ФПД: 72096353288442 [19:21:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T192116&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4073&fm=72096353288442&tin=02508201610067®Number=0000000000145775&sum=20500 [19:21:13]line 0 [19:21:13]OFD Sender: Processing packet 4073 [packets to send 2, broken 1] [19:21:13]ProducePacketName [19:21:13]name=ofd_packets/00004073 [19:21:13]OFD Sender: To server: pG, [19:21:13]CommunicateWithHost lk.salyk.kg:30040 [19:21:13]ConnectInit lk.salyk.kg [19:21:13]written 0, free lines is 4095 [19:21:14]Connected sock=10 [19:21:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 01 00 00 66 90 94 01 32 66 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 AC 17 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E9 0F 00 00 35 04 06 00 41 92 3D 87 00 FA DD C3 B2 78 97 56 8F 97 [19:21:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 DE 4B 47 00 EC BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 E9 0F 00 00 F4 03 04 00 AF C3 5D 66 B6 04 01 00 00 5E C6 0E 5D 74 C1 96 FA [19:21:14]CommunicateWithHost err = 0 [19:21:14]CheckOFDResponse [19:21:14]1017 (14) - 77093643461234 [19:21:14]1041 (16) - 0000000000959360 [19:21:14]1040 (4) - 4073 [19:21:14]1012 (4) - 03.06.2024 13:22 [19:21:14]1206 (1) - 0 [19:21:14]OFD Sender: Remove packet 4073 [19:21:14]ProducePacketName [19:21:14]name=ofd_packets/00004073 [19:21:14]NVStorageDeleteData [19:21:14]Write to MH i2c: 01 00 00 00 12 12 [19:21:14]Write i2c OK [19:21:14]MH_I2C_Read... [19:21:14]Read from MH i2c: 01 [19:21:14]MH_I2C_Read... [19:21:14]Read from MH i2c: 01 07 00 [19:21:14]MH_I2C_Read... [19:21:14]Read from MH i2c: 01 07 00 00 12 00 00 00 00 00 49 0C 6E [19:21:14]RasterBufferAndPrint [19:21:14]line [19:21:14]line [19:21:14]line [19:21:14]line [19:21:14]line [19:21:14]written 0, free lines is 3151 [19:21:14]MH_Cut [19:21:14]Write to MH i2c: D1 01 00 07 12 01 EB [19:21:14]Write i2c OK [19:21:14]MH_I2C_Read... [19:21:14]Read from MH i2c: D1 [19:21:14]MH_I2C_Read... [19:21:14]Read from MH i2c: D1 01 00 [19:21:14]MH_I2C_Read... [19:21:14]Read from MH i2c: D1 01 00 07 12 00 EA [19:21:14]Write to MH i2c: 01 00 00 08 12 1A [19:21:14]Write i2c OK [19:21:14]MH_I2C_Read... [19:21:14]OFD Sender: No OFD packet to send [19:21:15]*** Cut start [19:21:15]*** Partial cut [19:21:15]*** CUTSNS_PIN = 1 [19:21:15]*** CUTSNS_PIN = 0 [19:21:15]*** Brake cut motor [19:21:16]Read from MH i2c: 01 [19:21:16]MH_I2C_Read... [19:21:16]*** Stop cut motor [19:21:16]*** Cut end [19:21:16]Read from MH i2c: 01 07 00 [19:21:16]MH_I2C_Read... [19:21:16]Read from MH i2c: 01 07 00 08 12 00 00 00 00 00 FF 0F 2F [19:21:16]process_action close_receipt done [19:21:16]requested_data is exist [19:21:16]produce_requested_data [19:21:16]requested_item fm.sn is exist - process it [19:21:16]wFMCommunicate request_size=4 [19:21:16]MH_SAM_APDU [19:21:16]CAPDU: 80 11 00 00 [19:21:16]Write to MH i2c: E2 08 00 09 12 80 11 00 00 00 00 00 00 95 [19:21:16]Write i2c OK [19:21:16]MH_I2C_Read... [19:21:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:21:16]Read from MH i2c: E2 [19:21:16]MH_I2C_Read... [19:21:16]Read from MH i2c: E2 17 00 [19:21:16]MH_I2C_Read... [19:21:16]Read from MH i2c: E2 17 00 09 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E8 [19:21:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:21:16]wFMCommunicate OK [19:21:16]requested_item fd.num is exist - process it [19:21:16]SAM_PROTO_GetFieldsCounters [19:21:16]wFMCommunicate request_size=4 [19:21:16]MH_SAM_APDU [19:21:16]CAPDU: 80 13 00 00 [19:21:16]Write to MH i2c: E2 08 00 0A 12 80 13 00 00 00 00 00 00 98 [19:21:16]Write i2c OK [19:21:16]MH_I2C_Read... [19:21:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:21:16]Read from MH i2c: E2 [19:21:16]MH_I2C_Read... [19:21:16]Read from MH i2c: E2 62 00 [19:21:16]MH_I2C_Read... [19:21:16]Read from MH i2c: E2 62 00 0A 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E9 0F 00 00 0E 04 04 00 52 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 A9 [19:21:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 E9 0F 00 00 0E 04 04 00 52 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 [19:21:16]wFMCommunicate OK [19:21:16]SAM_PROTO_GetFieldsCounters done [19:21:16]requested_item shift.num is exist - process it [19:21:16]requested_item shift.opened is exist - process it [19:21:16]req_shift_opened [19:21:16]FM_GetShiftState [19:21:16]SAM_PROTO_GetShiftState [19:21:16]wFMCommunicate request_size=4 [19:21:16]MH_SAM_APDU [19:21:16]CAPDU: 80 13 01 00 [19:21:16]Write to MH i2c: E2 08 00 0B 12 80 13 01 00 00 00 00 00 9A [19:21:16]Write i2c OK [19:21:16]MH_I2C_Read... [19:21:16]Read from MH i2c: E2 [19:21:16]MH_I2C_Read... [19:21:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:21:16]Read from MH i2c: E2 0E 00 [19:21:16]MH_I2C_Read... [19:21:16]Read from MH i2c: E2 0E 00 0B 12 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 28 [19:21:16]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [19:21:16]wFMCommunicate OK [19:21:16]SAM_PROTO_GetShiftState done [19:21:16]FM_GetShiftState done [19:21:16]req_shift_opened done [19:21:16]requested_item shift.open_date is exist - process it [19:21:16]req_shift_open_date [19:21:16]req_shift_open_date done [19:21:16]produce_requested_data done [19:21:16]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4073,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [19:21:16]process_action_free close_receipt [19:21:16]json_value_free [19:21:16]json_value_free done [19:21:16]process_json_proto returns [19:21:16]Send response to host [19:21:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4073,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [19:21:16]free response buf [19:21:16]execute_script done [19:21:16]execute_script returns [19:21:16]free content buf [19:21:16]Sock 9.Close socket [19:21:16]Sock 9.Thread stoped [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:49]OFD Sender: No OFD packet to send [19:24:54]OFD Sender: No OFD packet to send [19:24:59]OFD Sender: No OFD packet to send [19:25:04]OFD Sender: No OFD packet to send [19:25:09]OFD Sender: No OFD packet to send [19:25:14]OFD Sender: No OFD packet to send [19:25:19]OFD Sender: No OFD packet to send [19:25:24]OFD Sender: No OFD packet to send [19:25:29]OFD Sender: No OFD packet to send [19:25:34]OFD Sender: No OFD packet to send [19:25:39]OFD Sender: No OFD packet to send [19:25:44]OFD Sender: No OFD packet to send [19:25:49]OFD Sender: No OFD packet to send [19:25:54]OFD Sender: No OFD packet to send [19:25:59]OFD Sender: No OFD packet to send [19:26:04]OFD Sender: No OFD packet to send [19:26:09]OFD Sender: No OFD packet to send [19:26:14]OFD Sender: No OFD packet to send [19:26:19]OFD Sender: No OFD packet to send [19:26:24]OFD Sender: No OFD packet to send [19:26:29]OFD Sender: No OFD packet to send [19:26:34]OFD Sender: No OFD packet to send [19:26:39]OFD Sender: No OFD packet to send [19:26:44]OFD Sender: No OFD packet to send [19:26:49]OFD Sender: No OFD packet to send [19:26:54]OFD Sender: No OFD packet to send [19:26:59]OFD Sender: No OFD packet to send [19:27:04]OFD Sender: No OFD packet to send [19:27:09]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:10]OFD Sender: No OFD packet to send [19:39:15]OFD Sender: No OFD packet to send [19:39:20]OFD Sender: No OFD packet to send [19:39:25]OFD Sender: No OFD packet to send [19:39:30]OFD Sender: No OFD packet to send [19:39:35]OFD Sender: No OFD packet to send [19:39:40]OFD Sender: No OFD packet to send [19:39:45]OFD Sender: No OFD packet to send [19:39:50]OFD Sender: No OFD packet to send [19:39:55]OFD Sender: No OFD packet to send [19:40:00]OFD Sender: No OFD packet to send [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:25]OFD Sender: No OFD packet to send [19:40:30]OFD Sender: No OFD packet to send [19:40:35]OFD Sender: No OFD packet to send [19:40:40]OFD Sender: No OFD packet to send [19:40:45]OFD Sender: No OFD packet to send [19:40:50]OFD Sender: No OFD packet to send [19:40:55]OFD Sender: No OFD packet to send [19:41:00]OFD Sender: No OFD packet to send [19:41:05]OFD Sender: No OFD packet to send [19:41:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:35]OFD Sender: No OFD packet to send [19:41:40]OFD Sender: No OFD packet to send [19:41:45]OFD Sender: No OFD packet to send [19:41:50]OFD Sender: No OFD packet to send [19:41:55]OFD Sender: No OFD packet to send [19:42:00]OFD Sender: No OFD packet to send [19:42:05]OFD Sender: No OFD packet to send [19:42:10]OFD Sender: No OFD packet to send [19:42:15]OFD Sender: No OFD packet to send [19:42:20]OFD Sender: No OFD packet to send [19:42:25]OFD Sender: No OFD packet to send [19:42:30]OFD Sender: No OFD packet to send [19:42:35]OFD Sender: No OFD packet to send [19:42:40]OFD Sender: No OFD packet to send [19:42:45]OFD Sender: No OFD packet to send [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:15]OFD Sender: No OFD packet to send [19:44:20]OFD Sender: No OFD packet to send [19:44:25]OFD Sender: No OFD packet to send [19:44:30]OFD Sender: No OFD packet to send [19:44:35]OFD Sender: No OFD packet to send [19:44:40]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]OFD Sender: No OFD packet to send [19:45:30]OFD Sender: No OFD packet to send [19:45:35]OFD Sender: No OFD packet to send [19:45:40]OFD Sender: No OFD packet to send [19:45:45]OFD Sender: No OFD packet to send [19:45:50]OFD Sender: No OFD packet to send [19:45:55]OFD Sender: No OFD packet to send [19:46:00]OFD Sender: No OFD packet to send [19:46:05]OFD Sender: No OFD packet to send [19:46:10]OFD Sender: No OFD packet to send [19:46:15]OFD Sender: No OFD packet to send [19:46:20]OFD Sender: No OFD packet to send [19:46:25]OFD Sender: No OFD packet to send [19:46:30]OFD Sender: No OFD packet to send [19:46:35]OFD Sender: No OFD packet to send [19:46:40]OFD Sender: No OFD packet to send [19:46:45]OFD Sender: No OFD packet to send [19:46:50]OFD Sender: No OFD packet to send [19:46:55]OFD Sender: No OFD packet to send [19:47:00]OFD Sender: No OFD packet to send [19:47:05]OFD Sender: No OFD packet to send [19:47:10]OFD Sender: No OFD packet to send [19:47:15]OFD Sender: No OFD packet to send [19:47:20]OFD Sender: No OFD packet to send [19:47:25]OFD Sender: No OFD packet to send [19:47:30]OFD Sender: No OFD packet to send [19:47:35]OFD Sender: No OFD packet to send [19:47:40]OFD Sender: No OFD packet to send [19:47:45]OFD Sender: No OFD packet to send [19:47:50]OFD Sender: No OFD packet to send [19:47:55]OFD Sender: No OFD packet to send [19:48:00]OFD Sender: No OFD packet to send [19:48:05]OFD Sender: No OFD packet to send [19:48:10]OFD Sender: No OFD packet to send [19:48:15]OFD Sender: No OFD packet to send [19:48:20]OFD Sender: No OFD packet to send [19:48:25]OFD Sender: No OFD packet to send [19:48:30]OFD Sender: No OFD packet to send [19:48:35]OFD Sender: No OFD packet to send [19:48:40]OFD Sender: No OFD packet to send [19:48:45]OFD Sender: No OFD packet to send [19:48:50]OFD Sender: No OFD packet to send [19:48:55]OFD Sender: No OFD packet to send [19:49:00]OFD Sender: No OFD packet to send [19:49:05]OFD Sender: No OFD packet to send [19:49:10]OFD Sender: No OFD packet to send [19:49:15]OFD Sender: No OFD packet to send [19:49:21]OFD Sender: No OFD packet to send [19:49:26]OFD Sender: No OFD packet to send [19:49:31]OFD Sender: No OFD packet to send [19:49:36]OFD Sender: No OFD packet to send [19:49:41]OFD Sender: No OFD packet to send [19:49:46]OFD Sender: No OFD packet to send [19:49:51]OFD Sender: No OFD packet to send [19:49:56]OFD Sender: No OFD packet to send [19:50:01]OFD Sender: No OFD packet to send [19:50:06]OFD Sender: No OFD packet to send [19:50:11]OFD Sender: No OFD packet to send [19:50:16]OFD Sender: No OFD packet to send [19:50:21]OFD Sender: No OFD packet to send [19:50:26]OFD Sender: No OFD packet to send [19:50:31]OFD Sender: No OFD packet to send [19:50:36]OFD Sender: No OFD packet to send [19:50:41]OFD Sender: No OFD packet to send [19:50:46]OFD Sender: No OFD packet to send [19:50:51]OFD Sender: No OFD packet to send [19:50:56]OFD Sender: No OFD packet to send [19:51:01]OFD Sender: No OFD packet to send [19:51:06]OFD Sender: No OFD packet to send [19:51:11]OFD Sender: No OFD packet to send [19:51:16]OFD Sender: No OFD packet to send [19:51:21]OFD Sender: No OFD packet to send [19:51:26]OFD Sender: No OFD packet to send [19:51:31]OFD Sender: No OFD packet to send [19:51:36]OFD Sender: No OFD packet to send [19:51:41]OFD Sender: No OFD packet to send [19:51:46]OFD Sender: No OFD packet to send [19:51:51]OFD Sender: No OFD packet to send [19:51:56]OFD Sender: No OFD packet to send [19:52:01]OFD Sender: No OFD packet to send [19:52:06]OFD Sender: No OFD packet to send [19:52:11]OFD Sender: No OFD packet to send [19:52:16]OFD Sender: No OFD packet to send [19:52:21]OFD Sender: No OFD packet to send [19:52:26]OFD Sender: No OFD packet to send [19:52:31]OFD Sender: No OFD packet to send [19:52:36]OFD Sender: No OFD packet to send [19:52:41]OFD Sender: No OFD packet to send [19:52:46]OFD Sender: No OFD packet to send [19:52:51]OFD Sender: No OFD packet to send [19:52:56]OFD Sender: No OFD packet to send [19:53:01]OFD Sender: No OFD packet to send [19:53:06]OFD Sender: No OFD packet to send [19:53:11]OFD Sender: No OFD packet to send [19:53:16]OFD Sender: No OFD packet to send [19:53:21]OFD Sender: No OFD packet to send [19:53:26]OFD Sender: No OFD packet to send [19:53:31]OFD Sender: No OFD packet to send [19:53:36]OFD Sender: No OFD packet to send [19:53:41]OFD Sender: No OFD packet to send [19:53:46]OFD Sender: No OFD packet to send [19:53:51]OFD Sender: No OFD packet to send [19:53:56]OFD Sender: No OFD packet to send [19:54:01]OFD Sender: No OFD packet to send [19:54:06]OFD Sender: No OFD packet to send [19:54:11]OFD Sender: No OFD packet to send [19:54:16]OFD Sender: No OFD packet to send [19:54:21]OFD Sender: No OFD packet to send [19:54:22]accept exits with 8 [19:54:22]New connection [19:54:22]New thread 3067227492 created [19:54:22]Thread 3067370852 joined [19:54:22]Waiting for new connection... [19:54:22] Sock 8.Parse request [19:54:22]Sock 8.Check first char [19:54:22]Sock 8.First char is OK [19:54:22]request: POST /json_proto HTTP/1.0 [19:54:22]Method: POST [19:54:22]URL: /json_proto [19:54:22]Method is POST - this is cgi request [19:54:22]url: /json_proto [19:54:22]query_string will be loaded in cgi processing [19:54:22]execute_cgi json_proto POST (null) [19:54:22]execute_cgi path=json_proto method=POST [19:54:22]POST find Content-Length [19:54:22]Host: 172.17.56.68:8080 [19:54:22]Content-Length: 654 [19:54:22]Content-Type: application/json [19:54:22] [19:54:22]POST finish read [19:54:22]Found Content-Length = 654 [19:54:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4328", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:22]execute_script... [19:54: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)4328", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:22]POST & json_proto [19:54:22]process_json_proto [19:54:22]json parsed OK: [19:54:22]protocol is kg_v1.0 [19:54:22]action value=close_receipt [19:54:22]process_action close_receipt [19:54:22]cmd_close_receipt [19:54:22]MH_GetDate [19:54:22]Write to MH i2c: F0 00 00 0C 12 0D [19:54:22]Write i2c OK [19:54:22]MH_I2C_Read... [19:54:22]Read from MH i2c: F0 [19:54:22]MH_I2C_Read... [19:54:22]Read from MH i2c: F0 09 00 [19:54:22]MH_I2C_Read... [19:54:22]Read from MH i2c: F0 09 00 0C 12 00 73 1F 5E 66 42 69 5C 66 D9 [19:54:22]GetLastDocTimeStamp 1717442476 [19:54:22]current date 1717444467 [19:54:22]FM_GetShiftState [19:54:22]SAM_PROTO_GetShiftState [19:54:22]wFMCommunicate request_size=4 [19:54:22]MH_SAM_APDU [19:54:22]CAPDU: 80 13 01 00 [19:54:22]Write to MH i2c: E2 08 00 0D 12 80 13 01 00 00 00 00 00 9C [19:54:22]Write i2c OK [19:54:22]MH_I2C_Read... [19:54:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:22]Read from MH i2c: E2 [19:54:22]MH_I2C_Read... [19:54:22]Read from MH i2c: E2 0E 00 [19:54:22]MH_I2C_Read... [19:54:22]Read from MH i2c: E2 0E 00 0D 12 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 2A [19:54:22]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [19:54:22]wFMCommunicate OK [19:54:22]SAM_PROTO_GetShiftState done [19:54:22]FM_GetShiftState done [19:54:22]opened in 1717372856 [19:54:22]opened+sec_in_day 1717459256 [19:54:22]quantity*price = 19000 [19:54:22]sum+1 = 19001 [19:54:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 55 03.06.2024 19:54 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4074 ФПД: 277825761716679 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T195427&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4074&fm=277825761716679&tin=02508201610067®Number=0000000000145775&sum=19000 0 [19:54:23]StoreToDocumentArchive [19:54:23]shift 82 fd 4074 [19:54:23]save to /storage/0082/doc_00004074 [19:54:23]save last doc name /storage/0082/doc_00004074 to /storage/kkm_last_doc_name [19:54:23]save OK [19:54:23]Clear old archive folders... [19:54:23]ProcessDocumentItem done err = 0, tmpTLVsize=293 [19:54:23]tlvbuf is 007739B0 [19:54:23]SAM_PROTO_ClearQueue [19:54:23]wFMCommunicate request_size=4 [19:54:23]MH_SAM_APDU [19:54:23]CAPDU: 80 09 00 00 [19:54:23]Write to MH i2c: E2 08 00 1A 12 80 09 00 00 00 00 00 00 9E [19:54:23]Write i2c OK [19:54:23]MH_I2C_Read... [19:54:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:54:23]Read from MH i2c: E2 [19:54:23]MH_I2C_Read... [19:54:23]Read from MH i2c: E2 03 00 [19:54:23]MH_I2C_Read... [19:54:23]Read from MH i2c: E2 03 00 1A 12 00 90 00 A0 [19:54:23]RAPDU: 90 00 [19:54:23]wFMCommunicate OK [19:54:23]SAM_PROTO_ClearQueue done [19:54:23]KKMCreateOFDPacket [19:54:23]OFDProtocolAddRootSTLVToBuf [19:54:23]FM_MakeSignedData [19:54:23]FM_MakeSignedData [19:54:23]SAM_PROTO_SignData [19:54:23]wFMCommunicate request_size=4 [19:54:23]MH_SAM_APDU [19:54:23]CAPDU: 80 0D 01 02 [19:54:23]Write to MH i2c: E2 08 00 1B 12 80 0D 01 02 00 00 00 00 A6 [19:54:23]Write i2c OK [19:54:23]MH_I2C_Read... [19:54:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:54:23]Read from MH i2c: E2 [19:54:23]MH_I2C_Read... [19:54:23]Read from MH i2c: E2 03 00 [19:54:23]MH_I2C_Read... [19:54:23]Read from MH i2c: E2 03 00 1B 12 00 90 00 A1 [19:54:23]RAPDU: 90 00 [19:54:23]wFMCommunicate OK [19:54:23]wFMCommunicate request_size=255 [19:54:23]MH_SAM_APDU [19:54:23]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 73 1F 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [19:54:23]Write to MH i2c: E2 02 01 1C 12 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 73 1F 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 1D [19:54:23]Write i2c OK [19:54:23]MH_I2C_Read... [19:54:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:23]Read from MH i2c: E2 [19:54:23]MH_I2C_Read... [19:54:23]Read from MH i2c: E2 03 00 [19:54:23]MH_I2C_Read... [19:54:23]Read from MH i2c: E2 03 00 1C 12 00 90 00 A2 [19:54:23]RAPDU: 90 00 [19:54:23]wFMCommunicate OK [19:54:23]wFMCommunicate request_size=52 [19:54:23]MH_SAM_APDU [19:54:23]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EA 0F 00 00 35 04 06 00 FC AE 59 D6 29 C7 [19:54:23]Write to MH i2c: E2 37 00 1D 12 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EA 0F 00 00 35 04 06 00 FC AE 59 D6 29 C7 00 00 32 [19:54:23]Write i2c OK [19:54:23]MH_I2C_Read... [19:54:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:23]Read from MH i2c: E2 [19:54:23]MH_I2C_Read... [19:54:23]Read from MH i2c: E2 03 00 [19:54:23]MH_I2C_Read... [19:54:23]Read from MH i2c: E2 03 00 1D 12 00 90 00 A3 [19:54:23]RAPDU: 90 00 [19:54:23]wFMCommunicate OK [19:54:23]wFMCommunicate request_size=4 [19:54:23]MH_SAM_APDU [19:54:23]CAPDU: 80 0D 03 02 [19:54:23]Write to MH i2c: E2 08 00 1E 12 80 0D 03 02 00 00 00 00 AB [19:54:23]Write i2c OK [19:54:23]MH_I2C_Read... [19:54:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:54:24]Read from MH i2c: E2 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: E2 0B 00 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: E2 0B 00 1E 12 00 E2 E4 42 34 9C F4 79 2E 90 00 1F [19:54:24]RAPDU: E2 E4 42 34 9C F4 79 2E 90 00 [19:54:24]wFMCommunicate OK [19:54:24]SAM_PROTO_SignData done [19:54:24]FM_MakeSignedData done [19:54:24]CreateOFDProtocolMessage [19:54:24]wFMCommunicate request_size=4 [19:54:24]MH_SAM_APDU [19:54:24]CAPDU: 80 11 00 00 [19:54:24]Write to MH i2c: E2 08 00 1F 12 80 11 00 00 00 00 00 00 AB [19:54:24]Write i2c OK [19:54:24]MH_I2C_Read... [19:54:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:24]Read from MH i2c: E2 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: E2 17 00 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: E2 17 00 1F 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 FE [19:54:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:54:24]wFMCommunicate OK [19:54:24]CreateOFDProtocolMessage done [19:54:24]OFDSenderStorePacket 4074 [19:54:24]StoreOFDPacket docnum=4074 [19:54:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 C7 3D 31 01 EE 8B 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 73 1F 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EA 0F 00 00 35 04 06 00 FC AE 59 D6 29 C7 E2 E4 42 34 9C F4 79 2E [19:54:24]CheckFolder [19:54:24]dirname=/storage/ofd_packets [19:54:24]CheckFolder done [19:54:24]ProducePacketName [19:54:24]name=ofd_packets/00004074 [19:54:24]NVStorageSaveData ofd_packets/00004074 [19:54:24]File name is /storage/ofd_packets/00004074 [19:54:24]Write 343 bytes [19:54:24]NVStorageSaveData done [19:54:24]OFDSenderStorePacket done [19:54:24]KKMCreateOFDPacket done [19:54:24]NVStorageSaveData kkm_last_timestamp [19:54:24]File name is /storage/kkm_last_timestamp [19:54:24]Write 4 bytes [19:54:24]NVStorageSaveData done [19:54:24]ExternCall_PrintAddStr [19:54:24]wPrintStart [19:54:24]Write to MH i2c: 01 00 00 20 12 32 [19:54:24]OFD Sender: Processing packet 4074 [packets to send 2, broken 1] [19:54:24]ProducePacketName [19:54:24]name=ofd_packets/00004074 [19:54:24]OFD Sender: To server: pG, [19:54:24]CommunicateWithHost lk.salyk.kg:30040 [19:54:24]ConnectInit lk.salyk.kg [19:54:24]Write i2c OK [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: 01 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: 01 07 00 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: 01 07 00 20 12 00 00 00 00 00 FF 0F 47 [19:54:24]RasterBufferAndPrint [19:54:24]line Счет N : (3)4328 [19:54:24]line ИНН: 02508201610067 [19:54:24]line Контрольно-Кассовый Чек [19:54:24]line ПРОДАЖА [19:54:24]line Товар: 4700000480050 [19:54:24]line Напиток Nitro Energy эн green ж/б 0,45л [19:54:24]line 2.000 * 95.00 [19:54:24]line = 190.00 [19:54:24]line НДС 12% НСП 1% [19:54:24]line > о реализуемом товаре [19:54:24]line ИТОГО: 190.00 [19:54:24]line НСП 1% : 1.68 [19:54:24]line НДС 12% : 20.18 [19:54:24]line Наличными: 190.00 [19:54:24]line Безнал.: 0.00 [19:54:24]line Место: АЗС № 116 "Партнер Нефть" [19:54:24]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:54:24]line СНО: Общий режим [19:54:24]line Чек 55 03.06.2024 19:54 [19:54:24]line Смена: 82 ФФД: 1.0 [19:54:24]line ЗНМ: 0300000233 [19:54:24]line РНМ: 0000000000145775 [19:54:24]line Версия ККМ: v1.0 [19:54:24]line ФМ: 0000000000959360 [19:54:24]line ФД: 4074 [19:54:24]line ФПД: 277825761716679 [19:54:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T195427&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4074&fm=277825761716679&tin=02508201610067®Number=0000000000145775&sum=19000 [19:54:24]line 0 [19:54:24]Connected sock=10 [19:54:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 C7 3D 31 01 EE 8B 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 73 1F 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EA 0F 00 00 35 04 06 00 FC AE 59 D6 29 C7 E2 E4 42 34 9C F4 79 2E [19:54:24]written 0, free lines is 4095 [19:54:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 5C F6 47 00 63 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 30 39 35 39 33 36 30 10 04 04 00 EA 0F 00 00 F4 03 04 00 76 CB 5D 66 B6 04 01 00 00 FC DC 11 5F E6 AA 25 10 [19:54:24]CommunicateWithHost err = 0 [19:54:24]CheckOFDResponse [19:54:24]1017 (14) - 77093643461234 [19:54:24]1041 (16) - 0000000000959360 [19:54:24]1040 (4) - 4074 [19:54:24]1012 (4) - 03.06.2024 13:56 [19:54:24]1206 (1) - 0 [19:54:24]OFD Sender: Remove packet 4074 [19:54:24]ProducePacketName [19:54:24]name=ofd_packets/00004074 [19:54:24]NVStorageDeleteData [19:54:24]Write to MH i2c: 01 00 00 49 12 5B [19:54:24]Write i2c OK [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: 01 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: 01 07 00 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: 01 07 00 49 12 00 00 00 00 00 B2 0C 20 [19:54:24]RasterBufferAndPrint [19:54:24]line [19:54:24]line [19:54:24]line [19:54:24]line [19:54:24]line [19:54:24]written 0, free lines is 3255 [19:54:24]MH_Cut [19:54:24]Write to MH i2c: D1 01 00 50 12 01 34 [19:54:24]Write i2c OK [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: D1 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: D1 01 00 [19:54:24]MH_I2C_Read... [19:54:24]Read from MH i2c: D1 01 00 50 12 00 33 [19:54:24]Write to MH i2c: 01 00 00 51 12 63 [19:54:24]Write i2c OK [19:54:24]MH_I2C_Read... [19:54:25]OFD Sender: No OFD packet to send [19:54:25]*** Cut start [19:54:25]*** Partial cut [19:54:25]*** CUTSNS_PIN = 1 [19:54:25]*** CUTSNS_PIN = 0 [19:54:26]*** Brake cut motor [19:54:26]Read from MH i2c: 01 [19:54:26]MH_I2C_Read... [19:54:26]*** Stop cut motor [19:54:26]*** Cut end [19:54:26]Read from MH i2c: 01 07 00 [19:54:26]MH_I2C_Read... [19:54:26]Read from MH i2c: 01 07 00 51 12 00 00 00 00 00 FF 0F 78 [19:54:26]process_action close_receipt done [19:54:26]requested_data is exist [19:54:26]produce_requested_data [19:54:26]requested_item fm.sn is exist - process it [19:54:26]wFMCommunicate request_size=4 [19:54:26]MH_SAM_APDU [19:54:26]CAPDU: 80 11 00 00 [19:54:26]Write to MH i2c: E2 08 00 52 12 80 11 00 00 00 00 00 00 DE [19:54:26]Write i2c OK [19:54:26]MH_I2C_Read... [19:54:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:26]Read from MH i2c: E2 [19:54:26]MH_I2C_Read... [19:54:26]Read from MH i2c: E2 17 00 [19:54:26]MH_I2C_Read... [19:54:26]Read from MH i2c: E2 17 00 52 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 31 [19:54:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:54:26]wFMCommunicate OK [19:54:26]requested_item fd.num is exist - process it [19:54:26]SAM_PROTO_GetFieldsCounters [19:54:26]wFMCommunicate request_size=4 [19:54:26]MH_SAM_APDU [19:54:26]CAPDU: 80 13 00 00 [19:54:26]Write to MH i2c: E2 08 00 53 12 80 13 00 00 00 00 00 00 E1 [19:54:26]Write i2c OK [19:54:26]MH_I2C_Read... [19:54:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:54:26]Read from MH i2c: E2 [19:54:26]MH_I2C_Read... [19:54:26]Read from MH i2c: E2 62 00 [19:54:26]MH_I2C_Read... [19:54:26]Read from MH i2c: E2 62 00 53 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EA 0F 00 00 0E 04 04 00 52 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 F6 [19:54:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EA 0F 00 00 0E 04 04 00 52 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 [19:54:26]wFMCommunicate OK [19:54:26]SAM_PROTO_GetFieldsCounters done [19:54:26]requested_item shift.num is exist - process it [19:54:26]requested_item shift.opened is exist - process it [19:54:26]req_shift_opened [19:54:26]FM_GetShiftState [19:54:26]SAM_PROTO_GetShiftState [19:54:26]wFMCommunicate request_size=4 [19:54:26]MH_SAM_APDU [19:54:26]CAPDU: 80 13 01 00 [19:54:26]Write to MH i2c: E2 08 00 54 12 80 13 01 00 00 00 00 00 E3 [19:54:26]Write i2c OK [19:54:26]MH_I2C_Read... [19:54:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:26]Read from MH i2c: E2 [19:54:26]MH_I2C_Read... [19:54:26]Read from MH i2c: E2 0E 00 [19:54:26]MH_I2C_Read... [19:54:26]Read from MH i2c: E2 0E 00 54 12 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 71 [19:54:26]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [19:54:26]wFMCommunicate OK [19:54:26]SAM_PROTO_GetShiftState done [19:54:26]FM_GetShiftState done [19:54:26]req_shift_opened done [19:54:26]requested_item shift.open_date is exist - process it [19:54:26]req_shift_open_date [19:54:26]req_shift_open_date done [19:54:26]produce_requested_data done [19:54:26]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4074,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [19:54:26]process_action_free close_receipt [19:54:26]json_value_free [19:54:26]json_value_free done [19:54:26]process_json_proto returns [19:54:26]Send response to host [19:54:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4074,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [19:54:26]free response buf [19:54:26]execute_script done [19:54:26]execute_script returns [19:54:26]free content buf [19:54:26]Sock 8.Close socket [19:54:26]Sock 8.Thread stoped [19:54:30]OFD Sender: No OFD packet to send [19:54:35]OFD Sender: No OFD packet to send [19:54:40]OFD Sender: No OFD packet to send [19:54:45]OFD Sender: No OFD packet to send [19:54:50]OFD Sender: No OFD packet to send [19:54:55]OFD Sender: No OFD packet to send [19:55:00]OFD Sender: No OFD packet to send [19:55:05]OFD Sender: No OFD packet to send [19:55:10]OFD Sender: No OFD packet to send [19:55:15]OFD Sender: No OFD packet to send [19:55:20]OFD Sender: No OFD packet to send [19:55:25]OFD Sender: No OFD packet to send [19:55:30]OFD Sender: No OFD packet to send [19:55:35]OFD Sender: No OFD packet to send [19:55:40]OFD Sender: No OFD packet to send [19:55:45]OFD Sender: No OFD packet to send [19:55:50]OFD Sender: No OFD packet to send [19:55:55]OFD Sender: No OFD packet to send [19:56:00]OFD Sender: No OFD packet to send [19:56:05]OFD Sender: No OFD packet to send [19:56:10]OFD Sender: No OFD packet to send [19:56:15]OFD Sender: No OFD packet to send [19:56:20]OFD Sender: No OFD packet to send [19:56:25]OFD Sender: No OFD packet to send [19:56:30]OFD Sender: No OFD packet to send [19:56:35]OFD Sender: No OFD packet to send [19:56:40]OFD Sender: No OFD packet to send [19:56:45]OFD Sender: No OFD packet to send [19:56:50]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:25]OFD Sender: No OFD packet to send [19:58:30]OFD Sender: No OFD packet to send [19:58:35]OFD Sender: No OFD packet to send [19:58:40]OFD Sender: No OFD packet to send [19:58:45]OFD Sender: No OFD packet to send [19:58:48]accept exits with 9 [19:58:48]New connection [19:58:48]New thread 3067370852 created [19:58:48]Thread 3067227492 joined [19:58:48]Waiting for new connection... [19:58:48] Sock 9.Parse request [19:58:48]Sock 9.Check first char [19:58:48]Sock 9.First char is OK [19:58:48]request: POST /json_proto HTTP/1.0 [19:58:48]Method: POST [19:58:48]URL: /json_proto [19:58:48]Method is POST - this is cgi request [19:58:48]url: /json_proto [19:58:48]query_string will be loaded in cgi processing [19:58:48]execute_cgi json_proto POST (null) [19:58:48]execute_cgi path=json_proto method=POST [19:58:48]POST find Content-Length [19:58:48]Host: 172.17.56.68:8080 [19:58:48]Content-Length: 618 [19:58:48]Content-Type: application/json [19:58:48] [19:58:48]POST finish read [19:58:48]Found Content-Length = 618 [19:58:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4329", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:58:48]execute_script... [19:58: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)4329", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:58:48]POST & json_proto [19:58:48]process_json_proto [19:58:48]json parsed OK: [19:58:48]protocol is kg_v1.0 [19:58:48]action value=close_receipt [19:58:48]process_action close_receipt [19:58:48]cmd_close_receipt [19:58:48]MH_GetDate [19:58:48]Write to MH i2c: F0 00 00 55 12 56 [19:58:48]Write i2c OK [19:58:48]MH_I2C_Read... [19:58:48]Read from MH i2c: F0 [19:58:48]MH_I2C_Read... [19:58:48]Read from MH i2c: F0 09 00 [19:58:48]MH_I2C_Read... [19:58:48]Read from MH i2c: F0 09 00 55 12 00 7D 20 5E 66 42 69 5C 66 2D [19:58:48]GetLastDocTimeStamp 1717444467 [19:58:48]current date 1717444733 [19:58:48]FM_GetShiftState [19:58:48]SAM_PROTO_GetShiftState [19:58:48]wFMCommunicate request_size=4 [19:58:48]MH_SAM_APDU [19:58:48]CAPDU: 80 13 01 00 [19:58:48]Write to MH i2c: E2 08 00 56 12 80 13 01 00 00 00 00 00 E5 [19:58:48]Write i2c OK [19:58:48]MH_I2C_Read... [19:58:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:48]Read from MH i2c: E2 [19:58:48]MH_I2C_Read... [19:58:48]Read from MH i2c: E2 0E 00 [19:58:48]MH_I2C_Read... [19:58:48]Read from MH i2c: E2 0E 00 56 12 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 73 [19:58:48]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [19:58:48]wFMCommunicate OK [19:58:48]SAM_PROTO_GetShiftState done [19:58:48]FM_GetShiftState done [19:58:48]opened in 1717372856 [19:58:48]opened+sec_in_day 1717459256 [19:58:48]quantity*price = 13500 [19:58:48]sum+1 = 13501 [19:58:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 56 03.06.2024 19:58 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4075 ФПД: 30142449714264 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T195854&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4075&fm=30142449714264&tin=02508201610067®Number=0000000000145775&sum=13500 0 [19:58:49]StoreToDocumentArchive [19:58:49]shift 82 fd 4075 [19:58:49]save to /storage/0082/doc_00004075 [19:58:49]save last doc name /storage/0082/doc_00004075 to /storage/kkm_last_doc_name [19:58:49]save OK [19:58:49]Clear old archive folders... [19:58:49]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:58:49]tlvbuf is 0075FBC0 [19:58:49]SAM_PROTO_ClearQueue [19:58:49]wFMCommunicate request_size=4 [19:58:49]MH_SAM_APDU [19:58:49]CAPDU: 80 09 00 00 [19:58:49]Write to MH i2c: E2 08 00 63 12 80 09 00 00 00 00 00 00 E7 [19:58:49]Write i2c OK [19:58:49]MH_I2C_Read... [19:58:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:58:49]Read from MH i2c: E2 [19:58:49]MH_I2C_Read... [19:58:49]Read from MH i2c: E2 03 00 [19:58:49]MH_I2C_Read... [19:58:49]Read from MH i2c: E2 03 00 63 12 00 90 00 E9 [19:58:49]RAPDU: 90 00 [19:58:49]wFMCommunicate OK [19:58:49]SAM_PROTO_ClearQueue done [19:58:49]KKMCreateOFDPacket [19:58:49]OFDProtocolAddRootSTLVToBuf [19:58:49]FM_MakeSignedData [19:58:49]FM_MakeSignedData [19:58:49]SAM_PROTO_SignData [19:58:49]wFMCommunicate request_size=4 [19:58:49]MH_SAM_APDU [19:58:49]CAPDU: 80 0D 01 02 [19:58:49]Write to MH i2c: E2 08 00 64 12 80 0D 01 02 00 00 00 00 EF [19:58:49]Write i2c OK [19:58:49]MH_I2C_Read... [19:58:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:58:49]Read from MH i2c: E2 [19:58:49]MH_I2C_Read... [19:58:49]Read from MH i2c: E2 03 00 [19:58:49]MH_I2C_Read... [19:58:49]Read from MH i2c: E2 03 00 64 12 00 90 00 EA [19:58:49]RAPDU: 90 00 [19:58:49]wFMCommunicate OK [19:58:49]wFMCommunicate request_size=255 [19:58:49]MH_SAM_APDU [19:58:49]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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 7E 20 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 [19:58:49]Write to MH i2c: E2 02 01 65 12 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 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 7E 20 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 9A [19:58:49]Write i2c OK [19:58:49]MH_I2C_Read... [19:58:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:50]Read from MH i2c: E2 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 03 00 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 03 00 65 12 00 90 00 EB [19:58:50]RAPDU: 90 00 [19:58:50]wFMCommunicate OK [19:58:50]wFMCommunicate request_size=31 [19:58:50]MH_SAM_APDU [19:58:50]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 33 36 30 10 04 04 00 EB 0F 00 00 35 04 06 00 1B 6A 16 02 04 58 [19:58:50]Write to MH i2c: E2 22 00 66 12 80 0D 02 02 1A 00 30 30 39 35 39 33 36 30 10 04 04 00 EB 0F 00 00 35 04 06 00 1B 6A 16 02 04 58 00 00 10 [19:58:50]Write i2c OK [19:58:50]MH_I2C_Read... [19:58:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:50]Read from MH i2c: E2 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 03 00 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 03 00 66 12 00 90 00 EC [19:58:50]RAPDU: 90 00 [19:58:50]wFMCommunicate OK [19:58:50]wFMCommunicate request_size=4 [19:58:50]MH_SAM_APDU [19:58:50]CAPDU: 80 0D 03 02 [19:58:50]Write to MH i2c: E2 08 00 67 12 80 0D 03 02 00 00 00 00 F4 [19:58:50]Write i2c OK [19:58:50]MH_I2C_Read... [19:58:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:58:50]Read from MH i2c: E2 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 0B 00 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 0B 00 67 12 00 7C 87 0E A3 52 32 B3 0B 90 00 EB [19:58:50]RAPDU: 7C 87 0E A3 52 32 B3 0B 90 00 [19:58:50]wFMCommunicate OK [19:58:50]SAM_PROTO_SignData done [19:58:50]FM_MakeSignedData done [19:58:50]CreateOFDProtocolMessage [19:58:50]wFMCommunicate request_size=4 [19:58:50]MH_SAM_APDU [19:58:50]CAPDU: 80 11 00 00 [19:58:50]Write to MH i2c: E2 08 00 68 12 80 11 00 00 00 00 00 00 F4 [19:58:50]Write i2c OK [19:58:50]MH_I2C_Read... [19:58:50]OFD Sender: No OFD packet to send [19:58:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:50]Read from MH i2c: E2 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 17 00 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: E2 17 00 68 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 47 [19:58:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:58:50]wFMCommunicate OK [19:58:50]CreateOFDProtocolMessage done [19:58:50]OFDSenderStorePacket 4075 [19:58:50]StoreOFDPacket docnum=4075 [19:58:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 26 02 1C 01 AD 94 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 7E 20 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EB 0F 00 00 35 04 06 00 1B 6A 16 02 04 58 7C 87 0E A3 52 32 B3 0B [19:58:50]CheckFolder [19:58:50]dirname=/storage/ofd_packets [19:58:50]CheckFolder done [19:58:50]ProducePacketName [19:58:50]name=ofd_packets/00004075 [19:58:50]NVStorageSaveData ofd_packets/00004075 [19:58:50]File name is /storage/ofd_packets/00004075 [19:58:50]Write 322 bytes [19:58:50]NVStorageSaveData done [19:58:50]OFDSenderStorePacket done [19:58:50]KKMCreateOFDPacket done [19:58:50]NVStorageSaveData kkm_last_timestamp [19:58:50]File name is /storage/kkm_last_timestamp [19:58:50]Write 4 bytes [19:58:50]NVStorageSaveData done [19:58:50]ExternCall_PrintAddStr [19:58:50]wPrintStart [19:58:50]Write to MH i2c: 01 00 00 69 12 7B [19:58:50]Write i2c OK [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: 01 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: 01 07 00 [19:58:50]MH_I2C_Read... [19:58:50]Read from MH i2c: 01 07 00 69 12 00 00 00 00 00 FF 0F 90 [19:58:50]RasterBufferAndPrint [19:58:50]line Счет N : (3)4329 [19:58:50]line ИНН: 02508201610067 [19:58:50]line Контрольно-Кассовый Чек [19:58:50]line ПРОДАЖА [19:58:50]line Товар: 48745000 [19:58:50]line Сигареты Winston Purple Mix [19:58:50]line 1.000 * 135.00 [19:58:50]line = 135.00 [19:58:50]line НДС 12% НСП 1% [19:58:50]line > о реализуемом товаре [19:58:50]line ИТОГО: 135.00 [19:58:50]line НСП 1% : 1.19 [19:58:50]line НДС 12% : 14.34 [19:58:50]line Наличными: 135.00 [19:58:50]line Безнал.: 0.00 [19:58:50]line Место: АЗС № 116 "Партнер Нефть" [19:58:50]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:58:50]line СНО: Общий режим [19:58:50]line Чек 56 03.06.2024 19:58 [19:58:50]line Смена: 82 ФФД: 1.0 [19:58:50]line ЗНМ: 0300000233 [19:58:50]line РНМ: 0000000000145775 [19:58:50]line Версия ККМ: v1.0 [19:58:50]line ФМ: 0000000000959360 [19:58:50]line ФД: 4075 [19:58:50]line ФПД: 30142449714264 [19:58:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T195854&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4075&fm=30142449714264&tin=02508201610067®Number=0000000000145775&sum=13500 [19:58:50]line 0 [19:58:50]OFD Sender: Processing packet 4075 [packets to send 2, broken 1] [19:58:50]ProducePacketName [19:58:50]name=ofd_packets/00004075 [19:58:50]OFD Sender: To server: pG, [19:58:50]CommunicateWithHost lk.salyk.kg:30040 [19:58:50]ConnectInit lk.salyk.kg [19:58:50]written 0, free lines is 4095 [19:58:50]Connected sock=10 [19:58:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 26 02 1C 01 AD 94 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 7E 20 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EB 0F 00 00 35 04 06 00 1B 6A 16 02 04 58 7C 87 0E A3 52 32 B3 0B [19:58:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 EE 71 47 00 2D B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EB 0F 00 00 F4 03 04 00 80 CC 5D 66 B6 04 01 00 00 1C E6 8D AD 25 4D 24 70 [19:58:50]CommunicateWithHost err = 0 [19:58:50]CheckOFDResponse [19:58:50]1017 (14) - 77093643461234 [19:58:50]1041 (16) - 0000000000959360 [19:58:50]1040 (4) - 4075 [19:58:50]1012 (4) - 03.06.2024 14:00 [19:58:50]1206 (1) - 0 [19:58:50]OFD Sender: Remove packet 4075 [19:58:50]ProducePacketName [19:58:50]name=ofd_packets/00004075 [19:58:50]NVStorageDeleteData [19:58:51]Write to MH i2c: 01 00 00 91 12 A3 [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: 01 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: 01 07 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: 01 07 00 91 12 00 00 00 00 00 C5 0C 7B [19:58:51]RasterBufferAndPrint [19:58:51]line [19:58:51]line [19:58:51]line [19:58:51]line [19:58:51]line [19:58:51]written 0, free lines is 3272 [19:58:51]MH_Cut [19:58:51]Write to MH i2c: D1 01 00 98 12 01 7C [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: D1 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: D1 01 00 [19:58:51]MH_I2C_Read... [19:58:51]Read from MH i2c: D1 01 00 98 12 00 7B [19:58:51]Write to MH i2c: 01 00 00 99 12 AB [19:58:51]Write i2c OK [19:58:51]MH_I2C_Read... [19:58:51]OFD Sender: No OFD packet to send [19:58:52]*** Cut start [19:58:52]*** Partial cut [19:58:52]*** CUTSNS_PIN = 1 [19:58:52]*** CUTSNS_PIN = 0 [19:58:52]*** Brake cut motor [19:58:52]Read from MH i2c: 01 [19:58:52]MH_I2C_Read... [19:58:52]*** Stop cut motor [19:58:52]*** Cut end [19:58:52]Read from MH i2c: 01 07 00 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: 01 07 00 99 12 00 00 00 00 00 FF 0F C0 [19:58:52]process_action close_receipt done [19:58:52]requested_data is exist [19:58:52]produce_requested_data [19:58:52]requested_item fm.sn is exist - process it [19:58:52]wFMCommunicate request_size=4 [19:58:52]MH_SAM_APDU [19:58:52]CAPDU: 80 11 00 00 [19:58:52]Write to MH i2c: E2 08 00 9A 12 80 11 00 00 00 00 00 00 26 [19:58:52]Write i2c OK [19:58:52]MH_I2C_Read... [19:58:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:52]Read from MH i2c: E2 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: E2 17 00 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: E2 17 00 9A 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 79 [19:58:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:58:52]wFMCommunicate OK [19:58:52]requested_item fd.num is exist - process it [19:58:52]SAM_PROTO_GetFieldsCounters [19:58:52]wFMCommunicate request_size=4 [19:58:52]MH_SAM_APDU [19:58:52]CAPDU: 80 13 00 00 [19:58:52]Write to MH i2c: E2 08 00 9B 12 80 13 00 00 00 00 00 00 29 [19:58:52]Write i2c OK [19:58:52]MH_I2C_Read... [19:58:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:58:52]Read from MH i2c: E2 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: E2 62 00 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: E2 62 00 9B 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EB 0F 00 00 0E 04 04 00 52 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 42 [19:58:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EB 0F 00 00 0E 04 04 00 52 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 [19:58:52]wFMCommunicate OK [19:58:52]SAM_PROTO_GetFieldsCounters done [19:58:52]requested_item shift.num is exist - process it [19:58:52]requested_item shift.opened is exist - process it [19:58:52]req_shift_opened [19:58:52]FM_GetShiftState [19:58:52]SAM_PROTO_GetShiftState [19:58:52]wFMCommunicate request_size=4 [19:58:52]MH_SAM_APDU [19:58:52]CAPDU: 80 13 01 00 [19:58:52]Write to MH i2c: E2 08 00 9C 12 80 13 01 00 00 00 00 00 2B [19:58:52]Write i2c OK [19:58:52]MH_I2C_Read... [19:58:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:52]Read from MH i2c: E2 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: E2 0E 00 [19:58:52]MH_I2C_Read... [19:58:52]Read from MH i2c: E2 0E 00 9C 12 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 B9 [19:58:52]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [19:58:52]wFMCommunicate OK [19:58:52]SAM_PROTO_GetShiftState done [19:58:52]FM_GetShiftState done [19:58:52]req_shift_opened done [19:58:52]requested_item shift.open_date is exist - process it [19:58:52]req_shift_open_date [19:58:52]req_shift_open_date done [19:58:52]produce_requested_data done [19:58:52]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4075,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [19:58:52]process_action_free close_receipt [19:58:52]json_value_free [19:58:52]json_value_free done [19:58:52]process_json_proto returns [19:58:52]Send response to host [19:58:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4075,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [19:58:52]free response buf [19:58:52]execute_script done [19:58:52]execute_script returns [19:58:52]free content buf [19:58:52]Sock 9.Close socket [19:58:52]Sock 9.Thread stoped [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]accept exits with 8 [19:59:11]New connection [19:59:11]New thread 3067227492 created [19:59:11]Thread 3067370852 joined [19:59:11]Waiting for new connection... [19:59:11] Sock 8.Parse request [19:59:11]Sock 8.Check first char [19:59:11]Sock 8.First char is OK [19:59:11]request: POST /json_proto HTTP/1.0 [19:59:11]Method: POST [19:59:11]URL: /json_proto [19:59:11]Method is POST - this is cgi request [19:59:11]url: /json_proto [19:59:11]query_string will be loaded in cgi processing [19:59:11]execute_cgi json_proto POST (null) [19:59:11]execute_cgi path=json_proto method=POST [19:59:11]POST find Content-Length [19:59:11]Host: 172.17.56.68:8080 [19:59:11]Content-Length: 626 [19:59:11]Content-Type: application/json [19:59:11] [19:59:11]POST finish read [19:59:11]Found Content-Length = 626 [19:59:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4330", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:11]execute_script... [19: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)4330", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:11]POST & json_proto [19:59:11]process_json_proto [19:59:11]json parsed OK: [19:59:11]protocol is kg_v1.0 [19:59:11]action value=close_receipt [19:59:11]process_action close_receipt [19:59:11]cmd_close_receipt [19:59:11]MH_GetDate [19:59:11]Write to MH i2c: F0 00 00 9D 12 9E [19:59:11]Write i2c OK [19:59:11]MH_I2C_Read... [19:59:11]Read from MH i2c: F0 [19:59:11]MH_I2C_Read... [19:59:11]Read from MH i2c: F0 09 00 [19:59:11]MH_I2C_Read... [19:59:11]Read from MH i2c: F0 09 00 9D 12 00 94 20 5E 66 42 69 5C 66 8C [19:59:11]GetLastDocTimeStamp 1717444734 [19:59:11]current date 1717444756 [19:59:11]FM_GetShiftState [19:59:11]SAM_PROTO_GetShiftState [19:59:11]wFMCommunicate request_size=4 [19:59:11]MH_SAM_APDU [19:59:11]CAPDU: 80 13 01 00 [19:59:11]Write to MH i2c: E2 08 00 9E 12 80 13 01 00 00 00 00 00 2D [19:59:11]Write i2c OK [19:59:11]MH_I2C_Read... [19:59:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:11]Read from MH i2c: E2 [19:59:11]MH_I2C_Read... [19:59:11]Read from MH i2c: E2 0E 00 [19:59:11]MH_I2C_Read... [19:59:11]Read from MH i2c: E2 0E 00 9E 12 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 BB [19:59:11]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [19:59:11]wFMCommunicate OK [19:59:11]SAM_PROTO_GetShiftState done [19:59:11]FM_GetShiftState done [19:59:11]opened in 1717372856 [19:59:11]opened+sec_in_day 1717459256 [19:59:11]quantity*price = 13500 [19:59:11]sum+1 = 13501 [19:59:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 57 03.06.2024 19:59 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4076 ФПД: 84002091817854 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T195916&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4076&fm=84002091817854&tin=02508201610067®Number=0000000000145775&sum=13500 0 [19:59:12]StoreToDocumentArchive [19:59:12]shift 82 fd 4076 [19:59:12]save to /storage/0082/doc_00004076 [19:59:12]save last doc name /storage/0082/doc_00004076 to /storage/kkm_last_doc_name [19:59:12]save OK [19:59:12]Clear old archive folders... [19:59:12]ProcessDocumentItem done err = 0, tmpTLVsize=280 [19:59:12]tlvbuf is 0076C6B0 [19:59:12]SAM_PROTO_ClearQueue [19:59:12]wFMCommunicate request_size=4 [19:59:12]MH_SAM_APDU [19:59:12]CAPDU: 80 09 00 00 [19:59:12]Write to MH i2c: E2 08 00 AB 12 80 09 00 00 00 00 00 00 2F [19:59:12]Write i2c OK [19:59:12]MH_I2C_Read... [19:59:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:12]Read from MH i2c: E2 [19:59:12]MH_I2C_Read... [19:59:12]Read from MH i2c: E2 03 00 [19:59:12]MH_I2C_Read... [19:59:12]Read from MH i2c: E2 03 00 AB 12 00 90 00 31 [19:59:12]RAPDU: 90 00 [19:59:12]wFMCommunicate OK [19:59:12]SAM_PROTO_ClearQueue done [19:59:12]KKMCreateOFDPacket [19:59:12]OFDProtocolAddRootSTLVToBuf [19:59:12]FM_MakeSignedData [19:59:12]FM_MakeSignedData [19:59:12]SAM_PROTO_SignData [19:59:12]wFMCommunicate request_size=4 [19:59:12]MH_SAM_APDU [19:59:12]CAPDU: 80 0D 01 02 [19:59:12]Write to MH i2c: E2 08 00 AC 12 80 0D 01 02 00 00 00 00 37 [19:59:12]Write i2c OK [19:59:12]MH_I2C_Read... [19:59:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:12]Read from MH i2c: E2 [19:59:12]MH_I2C_Read... [19:59:12]Read from MH i2c: E2 03 00 [19:59:12]MH_I2C_Read... [19:59:12]Read from MH i2c: E2 03 00 AC 12 00 90 00 32 [19:59:12]RAPDU: 90 00 [19:59:12]wFMCommunicate OK [19:59:12]wFMCommunicate request_size=255 [19:59:12]MH_SAM_APDU [19:59:12]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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 94 20 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [19:59:12]Write to MH i2c: E2 02 01 AD 12 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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 94 20 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 99 [19:59:12]Write i2c OK [19:59:12]MH_I2C_Read... [19:59:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:12]Read from MH i2c: E2 [19:59:12]MH_I2C_Read... [19:59:12]Read from MH i2c: E2 03 00 [19:59:12]MH_I2C_Read... [19:59:12]Read from MH i2c: E2 03 00 AD 12 00 90 00 33 [19:59:12]RAPDU: 90 00 [19:59:12]wFMCommunicate OK [19:59:12]wFMCommunicate request_size=39 [19:59:12]MH_SAM_APDU [19:59:12]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EC 0F 00 00 35 04 06 00 4C 66 42 D7 DB 7E [19:59:12]Write to MH i2c: E2 2A 00 AE 12 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EC 0F 00 00 35 04 06 00 4C 66 42 D7 DB 7E 00 00 14 [19:59:12]Write i2c OK [19:59:12]MH_I2C_Read... [19:59:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:12]Read from MH i2c: E2 [19:59:12]MH_I2C_Read... [19:59:12]Read from MH i2c: E2 03 00 [19:59:12]MH_I2C_Read... [19:59:12]Read from MH i2c: E2 03 00 AE 12 00 90 00 34 [19:59:12]RAPDU: 90 00 [19:59:12]wFMCommunicate OK [19:59:12]wFMCommunicate request_size=4 [19:59:12]MH_SAM_APDU [19:59:12]CAPDU: 80 0D 03 02 [19:59:12]Write to MH i2c: E2 08 00 AF 12 80 0D 03 02 00 00 00 00 3C [19:59:12]Write i2c OK [19:59:12]MH_I2C_Read... [19:59:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:13]Read from MH i2c: E2 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: E2 0B 00 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: E2 0B 00 AF 12 00 52 D1 1F E5 14 4F 93 66 90 00 C0 [19:59:13]RAPDU: 52 D1 1F E5 14 4F 93 66 90 00 [19:59:13]wFMCommunicate OK [19:59:13]SAM_PROTO_SignData done [19:59:13]FM_MakeSignedData done [19:59:13]CreateOFDProtocolMessage [19:59:13]wFMCommunicate request_size=4 [19:59:13]MH_SAM_APDU [19:59:13]CAPDU: 80 11 00 00 [19:59:13]Write to MH i2c: E2 08 00 B0 12 80 11 00 00 00 00 00 00 3C [19:59:13]Write i2c OK [19:59:13]MH_I2C_Read... [19:59:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:13]Read from MH i2c: E2 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: E2 17 00 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: E2 17 00 B0 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8F [19:59:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:59:13]wFMCommunicate OK [19:59:13]CreateOFDProtocolMessage done [19:59:13]OFDSenderStorePacket 4076 [19:59:13]StoreOFDPacket docnum=4076 [19:59:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 23 39 24 01 DC 44 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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 94 20 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EC 0F 00 00 35 04 06 00 4C 66 42 D7 DB 7E 52 D1 1F E5 14 4F 93 66 [19:59:13]CheckFolder [19:59:13]dirname=/storage/ofd_packets [19:59:13]CheckFolder done [19:59:13]ProducePacketName [19:59:13]name=ofd_packets/00004076 [19:59:13]NVStorageSaveData ofd_packets/00004076 [19:59:13]File name is /storage/ofd_packets/00004076 [19:59:13]Write 330 bytes [19:59:13]NVStorageSaveData done [19:59:13]OFDSenderStorePacket done [19:59:13]KKMCreateOFDPacket done [19:59:13]NVStorageSaveData kkm_last_timestamp [19:59:13]File name is /storage/kkm_last_timestamp [19:59:13]Write 4 bytes [19:59:13]NVStorageSaveData done [19:59:13]ExternCall_PrintAddStr [19:59:13]wPrintStart [19:59:13]Write to MH i2c: 01 00 00 B1 12 C3 [19:59:13]Write i2c OK [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: 01 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: 01 07 00 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: 01 07 00 B1 12 00 00 00 00 00 FF 0F D8 [19:59:13]RasterBufferAndPrint [19:59:13]line Счет N : (3)4330 [19:59:13]line ИНН: 02508201610067 [19:59:13]line Контрольно-Кассовый Чек [19:59:13]line ПРОДАЖА [19:59:13]line Товар: 48741231 [19:59:13]line Сигареты Winston Super Slims Silver [19:59:13]line 1.000 * 135.00 [19:59:13]line = 135.00 [19:59:13]line НДС 12% НСП 1% [19:59:13]line > о реализуемом товаре [19:59:13]line ИТОГО: 135.00 [19:59:13]line НСП 1% : 1.19 [19:59:13]line НДС 12% : 14.34 [19:59:13]line Наличными: 135.00 [19:59:13]line Безнал.: 0.00 [19:59:13]line Место: АЗС № 116 "Партнер Нефть" [19:59:13]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:59:13]line СНО: Общий режим [19:59:13]line Чек 57 03.06.2024 19:59 [19:59:13]line Смена: 82 ФФД: 1.0 [19:59:13]line ЗНМ: 0300000233 [19:59:13]line РНМ: 0000000000145775 [19:59:13]line Версия ККМ: v1.0 [19:59:13]line ФМ: 0000000000959360 [19:59:13]line ФД: 4076 [19:59:13]line ФПД: 84002091817854 [19:59:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T195916&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4076&fm=84002091817854&tin=02508201610067®Number=0000000000145775&sum=13500 [19:59:13]line 0 [19:59:13]OFD Sender: Processing packet 4076 [packets to send 2, broken 1] [19:59:13]ProducePacketName [19:59:13]name=ofd_packets/00004076 [19:59:13]OFD Sender: To server: pG, [19:59:13]CommunicateWithHost lk.salyk.kg:30040 [19:59:13]ConnectInit lk.salyk.kg [19:59:13]written 0, free lines is 4095 [19:59:13]Connected sock=9 [19:59:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 23 39 24 01 DC 44 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 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 94 20 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EC 0F 00 00 35 04 06 00 4C 66 42 D7 DB 7E 52 D1 1F E5 14 4F 93 66 [19:59:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 04 1A 47 00 7D 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EC 0F 00 00 F4 03 04 00 97 CC 5D 66 B6 04 01 00 00 BD 31 CD 66 46 06 99 23 [19:59:13]CommunicateWithHost err = 0 [19:59:13]CheckOFDResponse [19:59:13]1017 (14) - 77093643461234 [19:59:13]1041 (16) - 0000000000959360 [19:59:13]1040 (4) - 4076 [19:59:13]1012 (4) - 03.06.2024 14:00 [19:59:13]1206 (1) - 0 [19:59:13]OFD Sender: Remove packet 4076 [19:59:13]ProducePacketName [19:59:13]name=ofd_packets/00004076 [19:59:13]NVStorageDeleteData [19:59:13]Write to MH i2c: 01 00 00 DA 12 EC [19:59:13]Write i2c OK [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: 01 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: 01 07 00 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: 01 07 00 DA 12 00 00 00 00 00 B3 0C B2 [19:59:13]RasterBufferAndPrint [19:59:13]line [19:59:13]line [19:59:13]line [19:59:13]line [19:59:13]line [19:59:13]written 0, free lines is 3255 [19:59:13]MH_Cut [19:59:13]Write to MH i2c: D1 01 00 E1 12 01 C5 [19:59:13]Write i2c OK [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: D1 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: D1 01 00 [19:59:13]MH_I2C_Read... [19:59:13]Read from MH i2c: D1 01 00 E1 12 00 C4 [19:59:13]Write to MH i2c: 01 00 00 E2 12 F4 [19:59:13]Write i2c OK [19:59:13]MH_I2C_Read... [19:59:14]OFD Sender: No OFD packet to send [19:59:14]*** Cut start [19:59:14]*** Partial cut [19:59:14]*** CUTSNS_PIN = 1 [19:59:14]*** CUTSNS_PIN = 0 [19:59:15]*** Brake cut motor [19:59:15]Read from MH i2c: 01 [19:59:15]MH_I2C_Read... [19:59:15]*** Stop cut motor [19:59:15]*** Cut end [19:59:15]Read from MH i2c: 01 07 00 [19:59:15]MH_I2C_Read... [19:59:15]Read from MH i2c: 01 07 00 E2 12 00 00 00 00 00 FF 0F 09 [19:59:15]process_action close_receipt done [19:59:15]requested_data is exist [19:59:15]produce_requested_data [19:59:15]requested_item fm.sn is exist - process it [19:59:15]wFMCommunicate request_size=4 [19:59:15]MH_SAM_APDU [19:59:15]CAPDU: 80 11 00 00 [19:59:15]Write to MH i2c: E2 08 00 E3 12 80 11 00 00 00 00 00 00 6F [19:59:15]Write i2c OK [19:59:15]MH_I2C_Read... [19:59:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:15]Read from MH i2c: E2 [19:59:15]MH_I2C_Read... [19:59:15]Read from MH i2c: E2 17 00 [19:59:15]MH_I2C_Read... [19:59:15]Read from MH i2c: E2 17 00 E3 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C2 [19:59:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:59:15]wFMCommunicate OK [19:59:15]requested_item fd.num is exist - process it [19:59:15]SAM_PROTO_GetFieldsCounters [19:59:15]wFMCommunicate request_size=4 [19:59:15]MH_SAM_APDU [19:59:15]CAPDU: 80 13 00 00 [19:59:15]Write to MH i2c: E2 08 00 E4 12 80 13 00 00 00 00 00 00 72 [19:59:15]Write i2c OK [19:59:15]MH_I2C_Read... [19:59:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:15]Read from MH i2c: E2 [19:59:15]MH_I2C_Read... [19:59:15]Read from MH i2c: E2 62 00 [19:59:15]MH_I2C_Read... [19:59:15]Read from MH i2c: E2 62 00 E4 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EC 0F 00 00 0E 04 04 00 52 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 8F [19:59:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EC 0F 00 00 0E 04 04 00 52 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 [19:59:15]wFMCommunicate OK [19:59:15]SAM_PROTO_GetFieldsCounters done [19:59:15]requested_item shift.num is exist - process it [19:59:15]requested_item shift.opened is exist - process it [19:59:15]req_shift_opened [19:59:15]FM_GetShiftState [19:59:15]SAM_PROTO_GetShiftState [19:59:15]wFMCommunicate request_size=4 [19:59:15]MH_SAM_APDU [19:59:15]CAPDU: 80 13 01 00 [19:59:15]Write to MH i2c: E2 08 00 E5 12 80 13 01 00 00 00 00 00 74 [19:59:15]Write i2c OK [19:59:15]MH_I2C_Read... [19:59:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:15]Read from MH i2c: E2 [19:59:15]MH_I2C_Read... [19:59:15]Read from MH i2c: E2 0E 00 [19:59:15]MH_I2C_Read... [19:59:15]Read from MH i2c: E2 0E 00 E5 12 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 02 [19:59:15]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [19:59:15]wFMCommunicate OK [19:59:15]SAM_PROTO_GetShiftState done [19:59:15]FM_GetShiftState done [19:59:15]req_shift_opened done [19:59:15]requested_item shift.open_date is exist - process it [19:59:15]req_shift_open_date [19:59:15]req_shift_open_date done [19:59:15]produce_requested_data done [19:59:15]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4076,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [19:59:15]process_action_free close_receipt [19:59:15]json_value_free [19:59:15]json_value_free done [19:59:15]process_json_proto returns [19:59:15]Send response to host [19:59:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4076,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [19:59:15]free response buf [19:59:15]execute_script done [19:59:15]execute_script returns [19:59:15]free content buf [19:59:15]Sock 8.Close socket [19:59:15]Sock 8.Thread stoped [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:09]OFD Sender: No OFD packet to send [20:00:14]OFD Sender: No OFD packet to send [20:00:19]OFD Sender: No OFD packet to send [20:00:24]OFD Sender: No OFD packet to send [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:29]OFD Sender: No OFD packet to send [20:06:34]OFD Sender: No OFD packet to send [20:06:39]OFD Sender: No OFD packet to send [20:06:44]OFD Sender: No OFD packet to send [20:06:49]OFD Sender: No OFD packet to send [20:06:54]OFD Sender: No OFD packet to send [20:06:59]OFD Sender: No OFD packet to send [20:07:04]OFD Sender: No OFD packet to send [20:07:09]OFD Sender: No OFD packet to send [20:07:14]OFD Sender: No OFD packet to send [20:07:19]OFD Sender: No OFD packet to send [20:07:24]OFD Sender: No OFD packet to send [20:07:29]OFD Sender: No OFD packet to send [20:07:34]OFD Sender: No OFD packet to send [20:07:39]OFD Sender: No OFD packet to send [20:07:44]OFD Sender: No OFD packet to send [20:07:49]OFD Sender: No OFD packet to send [20:07:54]OFD Sender: No OFD packet to send [20:07:59]OFD Sender: No OFD packet to send [20:08:04]OFD Sender: No OFD packet to send [20:08:09]OFD Sender: No OFD packet to send [20:08:14]OFD Sender: No OFD packet to send [20:08:19]OFD Sender: No OFD packet to send [20:08:24]OFD Sender: No OFD packet to send [20:08:29]OFD Sender: No OFD packet to send [20:08:34]OFD Sender: No OFD packet to send [20:08:39]OFD Sender: No OFD packet to send [20:08:44]OFD Sender: No OFD packet to send [20:08:49]OFD Sender: No OFD packet to send [20:08:54]OFD Sender: No OFD packet to send [20:08:59]OFD Sender: No OFD packet to send [20:09:04]OFD Sender: No OFD packet to send [20:09:09]OFD Sender: No OFD packet to send [20:09:14]OFD Sender: No OFD packet to send [20:09:19]OFD Sender: No OFD packet to send [20:09:24]OFD Sender: No OFD packet to send [20:09:29]OFD Sender: No OFD packet to send [20:09:34]OFD Sender: No OFD packet to send [20:09:39]OFD Sender: No OFD packet to send [20:09:44]OFD Sender: No OFD packet to send [20:09:49]OFD Sender: No OFD packet to send [20:09:54]OFD Sender: No OFD packet to send [20:09:59]OFD Sender: No OFD packet to send [20:10:04]OFD Sender: No OFD packet to send [20:10:09]OFD Sender: No OFD packet to send [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]OFD Sender: No OFD packet to send [20:11:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:35]OFD Sender: No OFD packet to send [20:16:40]OFD Sender: No OFD packet to send [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:15]OFD Sender: No OFD packet to send [20:17:20]OFD Sender: No OFD packet to send [20:17:25]OFD Sender: No OFD packet to send [20:17:30]OFD Sender: No OFD packet to send [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36: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:16]OFD Sender: No OFD packet to send [20:38:21]OFD Sender: No OFD packet to send [20:38:26]OFD Sender: No OFD packet to send [20:38:31]OFD Sender: No OFD packet to send [20:38:36]OFD Sender: No OFD packet to send [20:38:41]OFD Sender: No OFD packet to send [20:38:46]OFD Sender: No OFD packet to send [20:38:51]OFD Sender: No OFD packet to send [20:38:56]OFD Sender: No OFD packet to send [20:39:01]OFD Sender: No OFD packet to send [20:39:06]OFD Sender: No OFD packet to send [20:39:11]OFD Sender: No OFD packet to send [20:39:16]OFD Sender: No OFD packet to send [20:39:21]OFD Sender: No OFD packet to send [20:39:26]OFD Sender: No OFD packet to send [20:39:31]OFD Sender: No OFD packet to send [20:39:36]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]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]accept exits with 10 [20:52:06]New connection [20:52:06]New thread 3067370852 created [20:52:06]Thread 3067227492 joined [20:52:06]Waiting for new connection... [20:52:06] Sock 10.Parse request [20:52:06]Sock 10.Check first char [20:52:06]Sock 10.First char is OK [20:52:06]request: POST /json_proto HTTP/1.0 [20:52:06]Method: POST [20:52:06]URL: /json_proto [20:52:06]Method is POST - this is cgi request [20:52:06]url: /json_proto [20:52:06]query_string will be loaded in cgi processing [20:52:06]execute_cgi json_proto POST (null) [20:52:06]execute_cgi path=json_proto method=POST [20:52:06]POST find Content-Length [20:52:06]Host: 172.17.56.68:8080 [20:52:06]Content-Length: 612 [20:52:06]Content-Type: application/json [20:52:06] [20:52:06]POST finish read [20:52:06]Found Content-Length = 612 [20:52:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4331", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "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" ] } } [20:52:06]execute_script... [20:52: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)4331", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "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" ] } } [20:52:06]POST & json_proto [20:52:06]process_json_proto [20:52:06]json parsed OK: [20:52:06]protocol is kg_v1.0 [20:52:06]action value=close_receipt [20:52:06]process_action close_receipt [20:52:06]cmd_close_receipt [20:52:06]MH_GetDate [20:52:06]Write to MH i2c: F0 00 00 E6 12 E7 [20:52:06]Write i2c OK [20:52:06]MH_I2C_Read... [20:52:06]Read from MH i2c: F0 [20:52:06]MH_I2C_Read... [20:52:06]Read from MH i2c: F0 09 00 [20:52:06]MH_I2C_Read... [20:52:06]Read from MH i2c: F0 09 00 E6 12 00 FB 2C 5E 66 42 69 5C 66 48 [20:52:06]GetLastDocTimeStamp 1717444756 [20:52:06]current date 1717447931 [20:52:06]FM_GetShiftState [20:52:06]SAM_PROTO_GetShiftState [20:52:06]wFMCommunicate request_size=4 [20:52:06]MH_SAM_APDU [20:52:06]CAPDU: 80 13 01 00 [20:52:06]Write to MH i2c: E2 08 00 E7 12 80 13 01 00 00 00 00 00 76 [20:52:06]Write i2c OK [20:52:06]MH_I2C_Read... [20:52:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:52:06]Read from MH i2c: E2 [20:52:06]MH_I2C_Read... [20:52:06]Read from MH i2c: E2 0E 00 [20:52:06]MH_I2C_Read... [20:52:06]Read from MH i2c: E2 0E 00 E7 12 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 04 [20:52:06]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [20:52:06]wFMCommunicate OK [20:52:06]SAM_PROTO_GetShiftState done [20:52:06]FM_GetShiftState done [20:52:06]opened in 1717372856 [20:52:06]opened+sec_in_day 1717459256 [20:52:06]quantity*price = 15000 [20:52:06]sum+1 = 15001 [20:52:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 58 03.06.2024 20:52 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4077 ФПД: 45389770462856 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T205211&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4077&fm=45389770462856&tin=02508201610067®Number=0000000000145775&sum=15000 0 [20:52:07]StoreToDocumentArchive [20:52:07]shift 82 fd 4077 [20:52:07]save to /storage/0082/doc_00004077 [20:52:07]save last doc name /storage/0082/doc_00004077 to /storage/kkm_last_doc_name [20:52:07]save OK [20:52:07]Clear old archive folders... [20:52:07]ProcessDocumentItem done err = 0, tmpTLVsize=266 [20:52:07]tlvbuf is 00798F00 [20:52:07]SAM_PROTO_ClearQueue [20:52:07]wFMCommunicate request_size=4 [20:52:07]MH_SAM_APDU [20:52:07]CAPDU: 80 09 00 00 [20:52:07]Write to MH i2c: E2 08 00 F4 12 80 09 00 00 00 00 00 00 78 [20:52:07]Write i2c OK [20:52:07]MH_I2C_Read... [20:52:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:52:07]Read from MH i2c: E2 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 03 00 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 03 00 F4 12 00 90 00 7A [20:52:07]RAPDU: 90 00 [20:52:07]wFMCommunicate OK [20:52:07]SAM_PROTO_ClearQueue done [20:52:07]KKMCreateOFDPacket [20:52:07]OFDProtocolAddRootSTLVToBuf [20:52:07]FM_MakeSignedData [20:52:07]FM_MakeSignedData [20:52:07]SAM_PROTO_SignData [20:52:07]wFMCommunicate request_size=4 [20:52:07]MH_SAM_APDU [20:52:07]CAPDU: 80 0D 01 02 [20:52:07]Write to MH i2c: E2 08 00 F5 12 80 0D 01 02 00 00 00 00 80 [20:52:07]Write i2c OK [20:52:07]MH_I2C_Read... [20:52:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:52:07]Read from MH i2c: E2 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 03 00 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 03 00 F5 12 00 90 00 7B [20:52:07]RAPDU: 90 00 [20:52:07]wFMCommunicate OK [20:52:07]wFMCommunicate request_size=255 [20:52:07]MH_SAM_APDU [20:52:07]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 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 3A 00 00 00 F4 03 04 00 FB 2C 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [20:52:07]Write to MH i2c: E2 02 01 F6 12 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 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 3A 00 00 00 F4 03 04 00 FB 2C 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 C4 [20:52:07]Write i2c OK [20:52:07]MH_I2C_Read... [20:52:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:52:07]Read from MH i2c: E2 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 03 00 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 03 00 F6 12 00 90 00 7C [20:52:07]RAPDU: 90 00 [20:52:07]wFMCommunicate OK [20:52:07]wFMCommunicate request_size=25 [20:52:07]MH_SAM_APDU [20:52:07]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 ED 0F 00 00 35 04 06 00 29 48 21 25 16 88 [20:52:07]Write to MH i2c: E2 1C 00 F7 12 80 0D 02 02 14 00 36 30 10 04 04 00 ED 0F 00 00 35 04 06 00 29 48 21 25 16 88 00 00 B9 [20:52:07]Write i2c OK [20:52:07]MH_I2C_Read... [20:52:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:52:07]Read from MH i2c: E2 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 03 00 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 03 00 F7 12 00 90 00 7D [20:52:07]RAPDU: 90 00 [20:52:07]wFMCommunicate OK [20:52:07]wFMCommunicate request_size=4 [20:52:07]MH_SAM_APDU [20:52:07]CAPDU: 80 0D 03 02 [20:52:07]Write to MH i2c: E2 08 00 F8 12 80 0D 03 02 00 00 00 00 85 [20:52:07]Write i2c OK [20:52:07]MH_I2C_Read... [20:52:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:52:07]Read from MH i2c: E2 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 0B 00 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 0B 00 F8 12 00 F3 96 ED 06 90 65 5C A1 90 00 F4 [20:52:07]RAPDU: F3 96 ED 06 90 65 5C A1 90 00 [20:52:07]wFMCommunicate OK [20:52:07]SAM_PROTO_SignData done [20:52:07]FM_MakeSignedData done [20:52:07]CreateOFDProtocolMessage [20:52:07]wFMCommunicate request_size=4 [20:52:07]MH_SAM_APDU [20:52:07]CAPDU: 80 11 00 00 [20:52:07]Write to MH i2c: E2 08 00 F9 12 80 11 00 00 00 00 00 00 85 [20:52:07]Write i2c OK [20:52:07]MH_I2C_Read... [20:52:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:52:07]Read from MH i2c: E2 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 17 00 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: E2 17 00 F9 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D8 [20:52:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:52:07]wFMCommunicate OK [20:52:07]CreateOFDProtocolMessage done [20:52:07]OFDSenderStorePacket 4077 [20:52:07]StoreOFDPacket docnum=4077 [20:52:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 FC 1B 16 01 E5 05 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 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 3A 00 00 00 F4 03 04 00 FB 2C 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 ED 0F 00 00 35 04 06 00 29 48 21 25 16 88 F3 96 ED 06 90 65 5C A1 [20:52:07]CheckFolder [20:52:07]dirname=/storage/ofd_packets [20:52:07]CheckFolder done [20:52:07]ProducePacketName [20:52:07]name=ofd_packets/00004077 [20:52:07]NVStorageSaveData ofd_packets/00004077 [20:52:07]File name is /storage/ofd_packets/00004077 [20:52:07]Write 316 bytes [20:52:07]NVStorageSaveData done [20:52:07]OFDSenderStorePacket done [20:52:07]KKMCreateOFDPacket done [20:52:07]NVStorageSaveData kkm_last_timestamp [20:52:07]File name is /storage/kkm_last_timestamp [20:52:07]Write 4 bytes [20:52:07]NVStorageSaveData done [20:52:07]ExternCall_PrintAddStr [20:52:07]wPrintStart [20:52:07]Write to MH i2c: 01 00 00 FA 12 0C [20:52:07]Write i2c OK [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: 01 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: 01 07 00 [20:52:07]MH_I2C_Read... [20:52:07]Read from MH i2c: 01 07 00 FA 12 00 00 00 00 00 FF 0F 21 [20:52:07]RasterBufferAndPrint [20:52:07]line Счет N : (3)4331 [20:52:07]line ИНН: 02508201610067 [20:52:07]line Контрольно-Кассовый Чек [20:52:07]line ПРОДАЖА [20:52:07]line Товар: 48744317 [20:52:07]line Сигареты Camel Yellow [20:52:07]line 1.000 * 150.00 [20:52:07]line = 150.00 [20:52:07]line НДС 12% НСП 1% [20:52:07]line > о реализуемом товаре [20:52:07]line ИТОГО: 150.00 [20:52:07]line НСП 1% : 1.33 [20:52:07]line НДС 12% : 15.93 [20:52:07]line Наличными: 150.00 [20:52:07]line Безнал.: 0.00 [20:52:07]line Место: АЗС № 116 "Партнер Нефть" [20:52:07]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:52:07]line СНО: Общий режим [20:52:07]line Чек 58 03.06.2024 20:52 [20:52:07]line Смена: 82 ФФД: 1.0 [20:52:07]line ЗНМ: 0300000233 [20:52:07]line РНМ: 0000000000145775 [20:52:07]line Версия ККМ: v1.0 [20:52:07]line ФМ: 0000000000959360 [20:52:07]line ФД: 4077 [20:52:07]line ФПД: 45389770462856 [20:52:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T205211&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4077&fm=45389770462856&tin=02508201610067®Number=0000000000145775&sum=15000 [20:52:07]line 0 [20:52:07]written 0, free lines is 4095 [20:52:07]OFD Sender: Processing packet 4077 [packets to send 2, broken 1] [20:52:07]ProducePacketName [20:52:07]name=ofd_packets/00004077 [20:52:07]OFD Sender: To server: pG, [20:52:07]CommunicateWithHost lk.salyk.kg:30040 [20:52:07]ConnectInit lk.salyk.kg [20:52:07]Connected sock=9 [20:52:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 FC 1B 16 01 E5 05 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 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 3A 00 00 00 F4 03 04 00 FB 2C 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 ED 0F 00 00 35 04 06 00 29 48 21 25 16 88 F3 96 ED 06 90 65 5C A1 [20:52:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 2E B7 47 00 48 DB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 ED 0F 00 00 F4 03 04 00 FD D8 5D 66 B6 04 01 00 00 B5 6D 50 59 57 83 07 23 [20:52:08]CommunicateWithHost err = 0 [20:52:08]CheckOFDResponse [20:52:08]1017 (14) - 77093643461234 [20:52:08]1041 (16) - 0000000000959360 [20:52:08]1040 (4) - 4077 [20:52:08]1012 (4) - 03.06.2024 14:53 [20:52:08]1206 (1) - 0 [20:52:08]OFD Sender: Remove packet 4077 [20:52:08]ProducePacketName [20:52:08]name=ofd_packets/00004077 [20:52:08]NVStorageDeleteData [20:52:08]Write to MH i2c: 01 00 00 22 13 35 [20:52:08]Write i2c OK [20:52:08]MH_I2C_Read... [20:52:08]Read from MH i2c: 01 [20:52:08]MH_I2C_Read... [20:52:08]Read from MH i2c: 01 07 00 [20:52:08]MH_I2C_Read... [20:52:08]Read from MH i2c: 01 07 00 22 13 00 00 00 00 00 D7 0C 1F [20:52:08]RasterBufferAndPrint [20:52:08]line [20:52:08]line [20:52:08]line [20:52:08]line [20:52:08]line [20:52:08]written 0, free lines is 3294 [20:52:08]MH_Cut [20:52:08]Write to MH i2c: D1 01 00 29 13 01 0E [20:52:08]Write i2c OK [20:52:08]MH_I2C_Read... [20:52:08]Read from MH i2c: D1 [20:52:08]MH_I2C_Read... [20:52:08]Read from MH i2c: D1 01 00 [20:52:08]MH_I2C_Read... [20:52:08]Read from MH i2c: D1 01 00 29 13 00 0D [20:52:08]Write to MH i2c: 01 00 00 2A 13 3D [20:52:08]Write i2c OK [20:52:08]MH_I2C_Read... [20:52:08]OFD Sender: No OFD packet to send [20:52:09]*** Cut start [20:52:09]*** Partial cut [20:52:09]*** CUTSNS_PIN = 1 [20:52:09]*** CUTSNS_PIN = 0 [20:52:09]*** Brake cut motor [20:52:09]Read from MH i2c: 01 [20:52:09]MH_I2C_Read... [20:52:09]*** Stop cut motor [20:52:09]*** Cut end [20:52:09]Read from MH i2c: 01 07 00 [20:52:09]MH_I2C_Read... [20:52:09]Read from MH i2c: 01 07 00 2A 13 00 00 00 00 00 FF 0F 52 [20:52:09]process_action close_receipt done [20:52:09]requested_data is exist [20:52:09]produce_requested_data [20:52:09]requested_item fm.sn is exist - process it [20:52:09]wFMCommunicate request_size=4 [20:52:09]MH_SAM_APDU [20:52:09]CAPDU: 80 11 00 00 [20:52:09]Write to MH i2c: E2 08 00 2B 13 80 11 00 00 00 00 00 00 B8 [20:52:09]Write i2c OK [20:52:09]MH_I2C_Read... [20:52:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:52:09]Read from MH i2c: E2 [20:52:09]MH_I2C_Read... [20:52:09]Read from MH i2c: E2 17 00 [20:52:09]MH_I2C_Read... [20:52:09]Read from MH i2c: E2 17 00 2B 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0B [20:52:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:52:09]wFMCommunicate OK [20:52:09]requested_item fd.num is exist - process it [20:52:09]SAM_PROTO_GetFieldsCounters [20:52:09]wFMCommunicate request_size=4 [20:52:09]MH_SAM_APDU [20:52:09]CAPDU: 80 13 00 00 [20:52:09]Write to MH i2c: E2 08 00 2C 13 80 13 00 00 00 00 00 00 BB [20:52:09]Write i2c OK [20:52:09]MH_I2C_Read... [20:52:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:52:09]Read from MH i2c: E2 [20:52:09]MH_I2C_Read... [20:52:09]Read from MH i2c: E2 62 00 [20:52:09]MH_I2C_Read... [20:52:09]Read from MH i2c: E2 62 00 2C 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 ED 0F 00 00 0E 04 04 00 52 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 DC [20:52:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 ED 0F 00 00 0E 04 04 00 52 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 [20:52:09]wFMCommunicate OK [20:52:09]SAM_PROTO_GetFieldsCounters done [20:52:09]requested_item shift.num is exist - process it [20:52:09]requested_item shift.opened is exist - process it [20:52:09]req_shift_opened [20:52:09]FM_GetShiftState [20:52:09]SAM_PROTO_GetShiftState [20:52:09]wFMCommunicate request_size=4 [20:52:09]MH_SAM_APDU [20:52:09]CAPDU: 80 13 01 00 [20:52:09]Write to MH i2c: E2 08 00 2D 13 80 13 01 00 00 00 00 00 BD [20:52:09]Write i2c OK [20:52:09]MH_I2C_Read... [20:52:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:52:09]Read from MH i2c: E2 [20:52:09]MH_I2C_Read... [20:52:09]Read from MH i2c: E2 0E 00 [20:52:09]MH_I2C_Read... [20:52:09]Read from MH i2c: E2 0E 00 2D 13 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 4B [20:52:09]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [20:52:09]wFMCommunicate OK [20:52:09]SAM_PROTO_GetShiftState done [20:52:09]FM_GetShiftState done [20:52:09]req_shift_opened done [20:52:09]requested_item shift.open_date is exist - process it [20:52:09]req_shift_open_date [20:52:09]req_shift_open_date done [20:52:09]produce_requested_data done [20:52:09]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4077,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [20:52:09]process_action_free close_receipt [20:52:09]json_value_free [20:52:09]json_value_free done [20:52:09]process_json_proto returns [20:52:09]Send response to host [20:52:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4077,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [20:52:09]free response buf [20:52:09]execute_script done [20:52:09]execute_script returns [20:52:09]free content buf [20:52:09]Sock 10.Close socket [20:52:09]Sock 10.Thread stoped [20:52:13]OFD Sender: No OFD packet to send [20:52:18]OFD Sender: No OFD packet to send [20:52:23]OFD Sender: No OFD packet to send [20:52:28]OFD Sender: No OFD packet to send [20:52:33]OFD Sender: No OFD packet to send [20:52:38]OFD Sender: No OFD packet to send [20:52:43]OFD Sender: No OFD packet to send [20:52:48]OFD Sender: No OFD packet to send [20:52:53]OFD Sender: No OFD packet to send [20:52:58]OFD Sender: No OFD packet to send [20:53:03]OFD Sender: No OFD packet to send [20:53:08]OFD Sender: No OFD packet to send [20:53:13]OFD Sender: No OFD packet to send [20:53:18]OFD Sender: No OFD packet to send [20:53:19]accept exits with 8 [20:53:19]New connection [20:53:19]New thread 3067227492 created [20:53:19]Thread 3067370852 joined [20:53:19]Waiting for new connection... [20:53:19] Sock 8.Parse request [20:53:19]Sock 8.Check first char [20:53:19]Sock 8.First char is OK [20:53:19]request: POST /json_proto HTTP/1.0 [20:53:19]Method: POST [20:53:19]URL: /json_proto [20:53:19]Method is POST - this is cgi request [20:53:19]url: /json_proto [20:53:19]query_string will be loaded in cgi processing [20:53:19]execute_cgi json_proto POST (null) [20:53:19]execute_cgi path=json_proto method=POST [20:53:19]POST find Content-Length [20:53:19]Host: 172.17.56.68:8080 [20:53:19]Content-Length: 867 [20:53:19]Content-Type: application/json [20:53:19] [20:53:19]POST finish read [20:53:19]Found Content-Length = 867 [20:53:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4332", "tax_sys" : 0, "items" : [ { "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 411.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:19]execute_script... [20:53: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)4332", "tax_sys" : 0, "items" : [ { "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 411.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:19]POST & json_proto [20:53:19]process_json_proto [20:53:19]json parsed OK: [20:53:19]protocol is kg_v1.0 [20:53:19]action value=close_receipt [20:53:19]process_action close_receipt [20:53:19]cmd_close_receipt [20:53:19]MH_GetDate [20:53:19]Write to MH i2c: F0 00 00 2E 13 30 [20:53:19]Write i2c OK [20:53:19]MH_I2C_Read... [20:53:19]Read from MH i2c: F0 [20:53:19]MH_I2C_Read... [20:53:19]Read from MH i2c: F0 09 00 [20:53:19]MH_I2C_Read... [20:53:19]Read from MH i2c: F0 09 00 2E 13 00 44 2D 5E 66 42 69 5C 66 DB [20:53:19]GetLastDocTimeStamp 1717447931 [20:53:19]current date 1717448004 [20:53:19]FM_GetShiftState [20:53:19]SAM_PROTO_GetShiftState [20:53:19]wFMCommunicate request_size=4 [20:53:19]MH_SAM_APDU [20:53:19]CAPDU: 80 13 01 00 [20:53:19]Write to MH i2c: E2 08 00 2F 13 80 13 01 00 00 00 00 00 BF [20:53:19]Write i2c OK [20:53:19]MH_I2C_Read... [20:53:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:19]Read from MH i2c: E2 [20:53:19]MH_I2C_Read... [20:53:19]Read from MH i2c: E2 0E 00 [20:53:19]MH_I2C_Read... [20:53:19]Read from MH i2c: E2 0E 00 2F 13 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 4D [20:53:19]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [20:53:19]wFMCommunicate OK [20:53:19]SAM_PROTO_GetShiftState done [20:53:19]FM_GetShiftState done [20:53:19]opened in 1717372856 [20:53:19]opened+sec_in_day 1717459256 [20:53:19]quantity*price = 27100 [20:53:19]sum+1 = 27101 [20:53:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 411.00 НСП 1% : 3.64 НДС 12% : 43.65 Наличными: 411.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 59 03.06.2024 20:53 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4078 ФПД: 161379800337204 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T205324&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4078&fm=161379800337204&tin=02508201610067®Number=0000000000145775&sum=41100 0 [20:53:20]StoreToDocumentArchive [20:53:20]shift 82 fd 4078 [20:53:20]save to /storage/0082/doc_00004078 [20:53:20]save last doc name /storage/0082/doc_00004078 to /storage/kkm_last_doc_name [20:53:20]save OK [20:53:20]Clear old archive folders... [20:53:20]ProcessDocumentItem done err = 0, tmpTLVsize=391 [20:53:20]tlvbuf is 00798B00 [20:53:20]SAM_PROTO_ClearQueue [20:53:20]wFMCommunicate request_size=4 [20:53:20]MH_SAM_APDU [20:53:20]CAPDU: 80 09 00 00 [20:53:20]Write to MH i2c: E2 08 00 3C 13 80 09 00 00 00 00 00 00 C1 [20:53:20]Write i2c OK [20:53:20]MH_I2C_Read... [20:53:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:53:20]Read from MH i2c: E2 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 03 00 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 03 00 3C 13 00 90 00 C3 [20:53:20]RAPDU: 90 00 [20:53:20]wFMCommunicate OK [20:53:20]SAM_PROTO_ClearQueue done [20:53:20]KKMCreateOFDPacket [20:53:20]OFDProtocolAddRootSTLVToBuf [20:53:20]FM_MakeSignedData [20:53:20]FM_MakeSignedData [20:53:20]SAM_PROTO_SignData [20:53:20]wFMCommunicate request_size=4 [20:53:20]MH_SAM_APDU [20:53:20]CAPDU: 80 0D 01 02 [20:53:20]Write to MH i2c: E2 08 00 3D 13 80 0D 01 02 00 00 00 00 C9 [20:53:20]Write i2c OK [20:53:20]MH_I2C_Read... [20:53:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:53:20]Read from MH i2c: E2 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 03 00 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 03 00 3D 13 00 90 00 C4 [20:53:20]RAPDU: 90 00 [20:53:20]wFMCommunicate OK [20:53:20]wFMCommunicate request_size=255 [20:53:20]MH_SAM_APDU [20:53:20]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 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 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [20:53:20]Write to MH i2c: E2 02 01 3E 13 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 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 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 D6 [20:53:20]Write i2c OK [20:53:20]MH_I2C_Read... [20:53:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:20]Read from MH i2c: E2 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 03 00 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 03 00 3E 13 00 90 00 C5 [20:53:20]RAPDU: 90 00 [20:53:20]wFMCommunicate OK [20:53:20]wFMCommunicate request_size=150 [20:53:20]MH_SAM_APDU [20:53:20]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 6C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 11 00 00 00 00 07 04 06 00 8C A0 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 44 2D 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EE 0F 00 00 35 04 06 00 92 C6 29 AC 4B 34 [20:53:20]Write to MH i2c: E2 99 00 3F 13 80 0D 02 02 91 00 01 00 01 F7 03 06 00 6C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 11 00 00 00 00 07 04 06 00 8C A0 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 44 2D 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EE 0F 00 00 35 04 06 00 92 C6 29 AC 4B 34 00 00 43 [20:53:20]Write i2c OK [20:53:20]MH_I2C_Read... [20:53:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:20]Read from MH i2c: E2 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 03 00 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 03 00 3F 13 00 90 00 C6 [20:53:20]RAPDU: 90 00 [20:53:20]wFMCommunicate OK [20:53:20]wFMCommunicate request_size=4 [20:53:20]MH_SAM_APDU [20:53:20]CAPDU: 80 0D 03 02 [20:53:20]Write to MH i2c: E2 08 00 40 13 80 0D 03 02 00 00 00 00 CE [20:53:20]Write i2c OK [20:53:20]MH_I2C_Read... [20:53:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:53:20]Read from MH i2c: E2 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 0B 00 [20:53:20]MH_I2C_Read... [20:53:20]Read from MH i2c: E2 0B 00 40 13 00 90 17 80 DC 49 C9 AF B0 90 00 43 [20:53:20]RAPDU: 90 17 80 DC 49 C9 AF B0 90 00 [20:53:20]wFMCommunicate OK [20:53:20]SAM_PROTO_SignData done [20:53:20]FM_MakeSignedData done [20:53:20]CreateOFDProtocolMessage [20:53:20]wFMCommunicate request_size=4 [20:53:20]MH_SAM_APDU [20:53:20]CAPDU: 80 11 00 00 [20:53:20]Write to MH i2c: E2 08 00 41 13 80 11 00 00 00 00 00 00 CE [20:53:20]Write i2c OK [20:53:20]MH_I2C_Read... [20:53:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:21]Read from MH i2c: E2 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: E2 17 00 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: E2 17 00 41 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 21 [20:53:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:53:21]wFMCommunicate OK [20:53:21]CreateOFDProtocolMessage done [20:53:21]OFDSenderStorePacket 4078 [20:53:21]StoreOFDPacket docnum=4078 [20:53:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9B 01 00 00 52 93 93 01 1B A7 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 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 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 11 00 00 00 00 07 04 06 00 8C A0 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 44 2D 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EE 0F 00 00 35 04 06 00 92 C6 29 AC 4B 34 90 17 80 DC 49 C9 AF B0 [20:53:21]CheckFolder [20:53:21]dirname=/storage/ofd_packets [20:53:21]CheckFolder done [20:53:21]ProducePacketName [20:53:21]name=ofd_packets/00004078 [20:53:21]NVStorageSaveData ofd_packets/00004078 [20:53:21]File name is /storage/ofd_packets/00004078 [20:53:21]Write 441 bytes [20:53:21]NVStorageSaveData done [20:53:21]OFDSenderStorePacket done [20:53:21]KKMCreateOFDPacket done [20:53:21]NVStorageSaveData kkm_last_timestamp [20:53:21]File name is /storage/kkm_last_timestamp [20:53:21]Write 4 bytes [20:53:21]NVStorageSaveData done [20:53:21]ExternCall_PrintAddStr [20:53:21]wPrintStart [20:53:21]Write to MH i2c: 01 00 00 42 13 55 [20:53:21]Write i2c OK [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: 01 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: 01 07 00 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: 01 07 00 42 13 00 00 00 00 00 FF 0F 6A [20:53:21]RasterBufferAndPrint [20:53:21]line Счет N : (3)4332 [20:53:21]line ИНН: 02508201610067 [20:53:21]line Контрольно-Кассовый Чек [20:53:21]line ПРОДАЖА [20:53:21]line Товар: 6957531032045 [20:53:21]line Кабель hoco rapid charging X1 type-C 1м [20:53:21]line 1.000 * 271.00 [20:53:21]line = 271.00 [20:53:21]line НДС 12% НСП 1% [20:53:21]line > о реализуемом товаре [20:53:21]line Товар: 48747059 [20:53:21]line Сигареты Winston Legend Blue [20:53:21]line 1.000 * 140.00 [20:53:21]line = 140.00 [20:53:21]line НДС 12% НСП 1% [20:53:21]line > о реализуемом товаре [20:53:21]line ИТОГО: 411.00 [20:53:21]line НСП 1% : 3.64 [20:53:21]line НДС 12% : 43.65 [20:53:21]line Наличными: 411.00 [20:53:21]line Безнал.: 0.00 [20:53:21]line Место: АЗС № 116 "Партнер Нефть" [20:53:21]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:53:21]line СНО: Общий режим [20:53:21]line Чек 59 03.06.2024 20:53 [20:53:21]line Смена: 82 ФФД: 1.0 [20:53:21]line ЗНМ: 0300000233 [20:53:21]line РНМ: 0000000000145775 [20:53:21]line Версия ККМ: v1.0 [20:53:21]line ФМ: 0000000000959360 [20:53:21]line ФД: 4078 [20:53:21]line ФПД: 161379800337204 [20:53:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T205324&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4078&fm=161379800337204&tin=02508201610067®Number=0000000000145775&sum=41100 [20:53:21]line 0 [20:53:21]OFD Sender: Processing packet 4078 [packets to send 2, broken 1] [20:53:21]ProducePacketName [20:53:21]name=ofd_packets/00004078 [20:53:21]OFD Sender: To server: pG, [20:53:21]CommunicateWithHost lk.salyk.kg:30040 [20:53:21]ConnectInit lk.salyk.kg [20:53:21]written 0, free lines is 4095 [20:53:21]Connected sock=10 [20:53:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9B 01 00 00 52 93 93 01 1B A7 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 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 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 11 00 00 00 00 07 04 06 00 8C A0 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 44 2D 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EE 0F 00 00 35 04 06 00 92 C6 29 AC 4B 34 90 17 80 DC 49 C9 AF B0 [20:53:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FE AE 47 00 82 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 30 39 35 39 33 36 30 10 04 04 00 EE 0F 00 00 F4 03 04 00 47 D9 5D 66 B6 04 01 00 00 7C A2 90 C7 ED 56 5F 13 [20:53:21]CommunicateWithHost err = 0 [20:53:21]CheckOFDResponse [20:53:21]1017 (14) - 77093643461234 [20:53:21]1041 (16) - 0000000000959360 [20:53:21]1040 (4) - 4078 [20:53:21]1012 (4) - 03.06.2024 14:55 [20:53:21]1206 (1) - 0 [20:53:21]OFD Sender: Remove packet 4078 [20:53:21]ProducePacketName [20:53:21]name=ofd_packets/00004078 [20:53:21]NVStorageDeleteData [20:53:21]Write to MH i2c: 01 00 00 72 13 85 [20:53:21]Write i2c OK [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: 01 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: 01 07 00 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: 01 07 00 72 13 00 00 00 00 00 28 0C C0 [20:53:21]RasterBufferAndPrint [20:53:21]line [20:53:21]line [20:53:21]line [20:53:21]line [20:53:21]line [20:53:21]written 0, free lines is 3117 [20:53:21]MH_Cut [20:53:21]Write to MH i2c: D1 01 00 79 13 01 5E [20:53:21]Write i2c OK [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: D1 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: D1 01 00 [20:53:21]MH_I2C_Read... [20:53:21]Read from MH i2c: D1 01 00 79 13 00 5D [20:53:21]Write to MH i2c: 01 00 00 7A 13 8D [20:53:21]Write i2c OK [20:53:21]MH_I2C_Read... [20:53:22]OFD Sender: No OFD packet to send [20:53:22]*** Cut start [20:53:22]*** Partial cut [20:53:22]*** CUTSNS_PIN = 1 [20:53:22]*** CUTSNS_PIN = 0 [20:53:23]*** Brake cut motor [20:53:23]Read from MH i2c: 01 [20:53:23]MH_I2C_Read... [20:53:23]*** Stop cut motor [20:53:23]Read from MH i2c: *** Cut end [20:53:23]01 07 00 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: 01 07 00 7A 13 00 00 00 00 00 FF 0F A2 [20:53:23]process_action close_receipt done [20:53:23]requested_data is exist [20:53:23]produce_requested_data [20:53:23]requested_item fm.sn is exist - process it [20:53:23]wFMCommunicate request_size=4 [20:53:23]MH_SAM_APDU [20:53:23]CAPDU: 80 11 00 00 [20:53:23]Write to MH i2c: E2 08 00 7B 13 80 11 00 00 00 00 00 00 08 [20:53:23]Write i2c OK [20:53:23]MH_I2C_Read... [20:53:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:23]Read from MH i2c: E2 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: E2 17 00 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: E2 17 00 7B 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5B [20:53:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:53:23]wFMCommunicate OK [20:53:23]requested_item fd.num is exist - process it [20:53:23]SAM_PROTO_GetFieldsCounters [20:53:23]wFMCommunicate request_size=4 [20:53:23]MH_SAM_APDU [20:53:23]CAPDU: 80 13 00 00 [20:53:23]Write to MH i2c: E2 08 00 7C 13 80 13 00 00 00 00 00 00 0B [20:53:23]Write i2c OK [20:53:23]MH_I2C_Read... [20:53:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:53:23]Read from MH i2c: E2 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: E2 62 00 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: E2 62 00 7C 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EE 0F 00 00 0E 04 04 00 52 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 30 [20:53:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EE 0F 00 00 0E 04 04 00 52 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 [20:53:23]wFMCommunicate OK [20:53:23]SAM_PROTO_GetFieldsCounters done [20:53:23]requested_item shift.num is exist - process it [20:53:23]requested_item shift.opened is exist - process it [20:53:23]req_shift_opened [20:53:23]FM_GetShiftState [20:53:23]SAM_PROTO_GetShiftState [20:53:23]wFMCommunicate request_size=4 [20:53:23]MH_SAM_APDU [20:53:23]CAPDU: 80 13 01 00 [20:53:23]Write to MH i2c: E2 08 00 7D 13 80 13 01 00 00 00 00 00 0D [20:53:23]Write i2c OK [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: E2 [20:53:23]MH_I2C_Read... [20:53:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:23]Read from MH i2c: E2 0E 00 [20:53:23]MH_I2C_Read... [20:53:23]Read from MH i2c: E2 0E 00 7D 13 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 9B [20:53:23]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [20:53:23]wFMCommunicate OK [20:53:23]SAM_PROTO_GetShiftState done [20:53:23]FM_GetShiftState done [20:53:23]req_shift_opened done [20:53:23]requested_item shift.open_date is exist - process it [20:53:23]req_shift_open_date [20:53:23]req_shift_open_date done [20:53:23]produce_requested_data done [20:53:23]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4078,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [20:53:23]process_action_free close_receipt [20:53:23]json_value_free [20:53:23]json_value_free done [20:53:23]process_json_proto returns [20:53:23]Send response to host [20:53:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4078,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [20:53:23]free response buf [20:53:23]execute_script done [20:53:23]execute_script returns [20:53:23]free content buf [20:53:23]Sock 8.Close socket [20:53:23]Sock 8.Thread stoped [20:53:27]OFD Sender: No OFD packet to send [20:53:32]OFD Sender: No OFD packet to send [20:53:37]OFD Sender: No OFD packet to send [20:53:42]OFD Sender: No OFD packet to send [20:53:47]OFD Sender: No OFD packet to send [20:53:52]OFD Sender: No OFD packet to send [20:53:57]OFD Sender: No OFD packet to send [20:54:02]OFD Sender: No OFD packet to send [20:54:07]OFD Sender: No OFD packet to send [20:54:12]OFD Sender: No OFD packet to send [20:54:17]OFD Sender: No OFD packet to send [20:54:22]OFD Sender: No OFD packet to send [20:54:27]OFD Sender: No OFD packet to send [20:54:32]OFD Sender: No OFD packet to send [20:54:37]OFD Sender: No OFD packet to send [20:54:42]OFD Sender: No OFD packet to send [20:54:47]OFD Sender: No OFD packet to send [20:54:52]OFD Sender: No OFD packet to send [20:54:57]OFD Sender: No OFD packet to send [20:55:02]OFD Sender: No OFD packet to send [20:55:07]OFD Sender: No OFD packet to send [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:12]OFD Sender: No OFD packet to send [20:56:17]OFD Sender: No OFD packet to send [20:56:22]OFD Sender: No OFD packet to send [20:56:27]OFD Sender: No OFD packet to send [20:56:32]OFD Sender: No OFD packet to send [20:56:37]OFD Sender: No OFD packet to send [20:56:42]OFD Sender: No OFD packet to send [20:56:47]OFD Sender: No OFD packet to send [20:56:52]OFD Sender: No OFD packet to send [20:56:57]OFD Sender: No OFD packet to send [20:57:02]OFD Sender: No OFD packet to send [20:57:07]OFD Sender: No OFD packet to send [20:57:12]OFD Sender: No OFD packet to send [20:57:17]OFD Sender: No OFD packet to send [20:57:22]OFD Sender: No OFD packet to send [20:57:27]OFD Sender: No OFD packet to send [20:57:32]OFD Sender: No OFD packet to send [20:57:37]OFD Sender: No OFD packet to send [20:57:42]OFD Sender: No OFD packet to send [20:57:47]OFD Sender: No OFD packet to send [20:57:52]OFD Sender: No OFD packet to send [20:57:57]OFD Sender: No OFD packet to send [20:58:02]OFD Sender: No OFD packet to send [20:58:07]OFD Sender: No OFD packet to send [20:58:12]OFD Sender: No OFD packet to send [20:58:17]OFD Sender: No OFD packet to send [20:58:22]OFD Sender: No OFD packet to send [20:58:27]OFD Sender: No OFD packet to send [20:58:32]OFD Sender: No OFD packet to send [20:58:37]OFD Sender: No OFD packet to send [20:58:42]OFD Sender: No OFD packet to send [20:58:47]OFD Sender: No OFD packet to send [20:58:52]OFD Sender: No OFD packet to send [20:58:57]OFD Sender: No OFD packet to send [20:59:02]OFD Sender: No OFD packet to send [20:59:07]OFD Sender: No OFD packet to send [20:59:12]OFD Sender: No OFD packet to send [20:59:17]OFD Sender: No OFD packet to send [20:59:22]OFD Sender: No OFD packet to send [20:59:27]OFD Sender: No OFD packet to send [20:59:32]OFD Sender: No OFD packet to send [20:59:37]OFD Sender: No OFD packet to send [20:59:42]OFD Sender: No OFD packet to send [20:59:47]OFD Sender: No OFD packet to send [20:59:52]OFD Sender: No OFD packet to send [20:59:57]OFD Sender: No OFD packet to send [21:00:02]OFD Sender: No OFD packet to send [21:00:07]OFD Sender: No OFD packet to send [21:00:12]OFD Sender: No OFD packet to send [21:00:17]OFD Sender: No OFD packet to send [21:00:22]OFD Sender: No OFD packet to send [21:00:27]OFD Sender: No OFD packet to send [21:00:32]OFD Sender: No OFD packet to send [21:00:37]OFD Sender: No OFD packet to send [21:00:42]OFD Sender: No OFD packet to send [21:00:47]OFD Sender: No OFD packet to send [21:00:52]OFD Sender: No OFD packet to send [21:00:57]OFD Sender: No OFD packet to send [21:01:02]OFD Sender: No OFD packet to send [21:01:07]OFD Sender: No OFD packet to send [21:01:12]OFD Sender: No OFD packet to send [21:01:17]OFD Sender: No OFD packet to send [21:01:22]OFD Sender: No OFD packet to send [21:01:27]OFD Sender: No OFD packet to send [21:01:32]OFD Sender: No OFD packet to send [21:01:37]OFD Sender: No OFD packet to send [21:01:42]OFD Sender: No OFD packet to send [21:01:47]OFD Sender: No OFD packet to send [21:01:52]OFD Sender: No OFD packet to send [21:01:57]OFD Sender: No OFD packet to send [21:02:02]OFD Sender: No OFD packet to send [21:02:07]OFD Sender: No OFD packet to send [21:02:12]OFD Sender: No OFD packet to send [21:02:17]OFD Sender: No OFD packet to send [21:02:22]OFD Sender: No OFD packet to send [21:02:27]OFD Sender: No OFD packet to send [21:02:32]OFD Sender: No OFD packet to send [21:02:37]OFD Sender: No OFD packet to send [21:02:42]OFD Sender: No OFD packet to send [21:02:47]OFD Sender: No OFD packet to send [21:02:52]OFD Sender: No OFD packet to send [21:02:57]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]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:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]OFD Sender: No OFD packet to send [21:11:42]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:43]OFD Sender: No OFD packet to send [21:12:48]OFD Sender: No OFD packet to send [21:12:53]OFD Sender: No OFD packet to send [21:12:58]OFD Sender: No OFD packet to send [21:13:03]OFD Sender: No OFD packet to send [21:13:08]OFD Sender: No OFD packet to send [21:13:13]OFD Sender: No OFD packet to send [21:13:18]OFD Sender: No OFD packet to send [21:13:23]OFD Sender: No OFD packet to send [21:13:28]OFD Sender: No OFD packet to send [21:13:33]OFD Sender: No OFD packet to send [21:13:38]OFD Sender: No OFD packet to send [21:13:43]OFD Sender: No OFD packet to send [21:13:48]OFD Sender: No OFD packet to send [21:13:53]OFD Sender: No OFD packet to send [21:13:58]OFD Sender: No OFD packet to send [21:14:03]OFD Sender: No OFD packet to send [21:14:08]OFD Sender: No OFD packet to send [21:14:13]OFD Sender: No OFD packet to send [21:14:18]OFD Sender: No OFD packet to send [21:14:23]OFD Sender: No OFD packet to send [21:14:28]OFD Sender: No OFD packet to send [21:14:33]OFD Sender: No OFD packet to send [21:14:38]OFD Sender: No OFD packet to send [21:14:43]OFD Sender: No OFD packet to send [21:14:48]OFD Sender: No OFD packet to send [21:14:53]OFD Sender: No OFD packet to send [21:14:58]OFD Sender: No OFD packet to send [21:15:03]OFD Sender: No OFD packet to send [21:15:08]OFD Sender: No OFD packet to send [21:15:13]OFD Sender: No OFD packet to send [21:15:18]OFD Sender: No OFD packet to send [21:15:23]OFD Sender: No OFD packet to send [21:15:28]OFD Sender: No OFD packet to send [21:15:33]OFD Sender: No OFD packet to send [21:15:38]OFD Sender: No OFD packet to send [21:15:43]OFD Sender: No OFD packet to send [21:15:48]OFD Sender: No OFD packet to send [21:15:53]OFD Sender: No OFD packet to send [21:15:58]OFD Sender: No OFD packet to send [21:16:03]OFD Sender: No OFD packet to send [21:16:08]OFD Sender: No OFD packet to send [21:16:13]OFD Sender: No OFD packet to send [21:16:18]OFD Sender: No OFD packet to send [21:16:23]OFD Sender: No OFD packet to send [21:16:28]OFD Sender: No OFD packet to send [21:16:33]OFD Sender: No OFD packet to send [21:16:38]OFD Sender: No OFD packet to send [21:16:43]OFD Sender: No OFD packet to send [21:16:48]OFD Sender: No OFD packet to send [21:16:53]OFD Sender: No OFD packet to send [21:16:58]OFD Sender: No OFD packet to send [21:17:03]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]OFD Sender: No OFD packet to send [21:22:03]OFD Sender: No OFD packet to send [21:22:08]OFD Sender: No OFD packet to send [21:22:13]OFD Sender: No OFD packet to send [21:22:18]OFD Sender: No OFD packet to send [21:22:23]OFD Sender: No OFD packet to send [21:22:28]OFD Sender: No OFD packet to send [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:28]OFD Sender: No OFD packet to send [21:23:33]OFD Sender: No OFD packet to send [21:23:38]OFD Sender: No OFD packet to send [21:23:43]OFD Sender: No OFD packet to send [21:23:48]OFD Sender: No OFD packet to send [21:23:53]OFD Sender: No OFD packet to send [21:23:58]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:18]OFD Sender: No OFD packet to send [21:24:23]OFD Sender: No OFD packet to send [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:48]OFD Sender: No OFD packet to send [21:24:53]OFD Sender: No OFD packet to send [21:24:58]OFD Sender: No OFD packet to send [21:25:03]OFD Sender: No OFD packet to send [21:25:08]OFD Sender: No OFD packet to send [21:25:13]OFD Sender: No OFD packet to send [21:25:18]OFD Sender: No OFD packet to send [21:25:23]OFD Sender: No OFD packet to send [21:25:28]OFD Sender: No OFD packet to send [21:25:33]OFD Sender: No OFD packet to send [21:25:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:48]OFD Sender: No OFD packet to send [21:29:53]OFD Sender: No OFD packet to send [21:29:58]OFD Sender: No OFD packet to send [21:30:03]OFD Sender: No OFD packet to send [21:30:08]OFD Sender: No OFD packet to send [21:30:13]OFD Sender: No OFD packet to send [21:30:18]OFD Sender: No OFD packet to send [21:30:23]OFD Sender: No OFD packet to send [21:30:28]OFD Sender: No OFD packet to send [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:04]accept exits with 9 [21:34:04]New connection [21:34:04]New thread 3067370852 created [21:34:04]Thread 3067227492 joined [21:34:04]Waiting for new connection... [21:34:04] Sock 9.Parse request [21:34:04]Sock 9.Check first char [21:34:04]Sock 9.First char is OK [21:34:04]request: POST /json_proto HTTP/1.0 [21:34:04]Method: POST [21:34:04]URL: /json_proto [21:34:04]Method is POST - this is cgi request [21:34:04]url: /json_proto [21:34:04]query_string will be loaded in cgi processing [21:34:04]execute_cgi json_proto POST (null) [21:34:04]execute_cgi path=json_proto method=POST [21:34:04]POST find Content-Length [21:34:04]Host: 172.17.56.68:8080 [21:34:04]Content-Length: 1542 [21:34:04]Content-Type: application/json [21:34:04] [21:34:04]POST finish read [21:34:04]Found Content-Length = 1542 [21:34:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4333", "tax_sys" : 0, "items" : [ { "code": "4860114390161", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A\u043E\u0433\u043E\u043B\u044C\u043D\u044B\u0439 \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0413\u0440\u0443\u0448", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441018192", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u0421\u044B\u0440 1/70", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120854184", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 90\u0433", "price" : 53.00, "quantity" : 2.000, "sum" : 106.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 486.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:34:04]execute_script... [21:34: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)4333", "tax_sys" : 0, "items" : [ { "code": "4860114390161", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A\u043E\u0433\u043E\u043B\u044C\u043D\u044B\u0439 \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0413\u0440\u0443\u0448", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441018192", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u0421\u044B\u0440 1/70", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120854184", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 90\u0433", "price" : 53.00, "quantity" : 2.000, "sum" : 106.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 486.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:34:04]POST & json_proto [21:34:04]process_json_proto [21:34:04]json parsed OK: [21:34:04]protocol is kg_v1.0 [21:34:04]action value=close_receipt [21:34:04]process_action close_receipt [21:34:04]cmd_close_receipt [21:34:04]MH_GetDate [21:34:04]Write to MH i2c: F0 00 00 7E 13 80 [21:34:04]Write i2c OK [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: F0 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: F0 09 00 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: F0 09 00 7E 13 00 D2 36 5E 66 42 69 5C 66 C2 [21:34:04]GetLastDocTimeStamp 1717448004 [21:34:04]current date 1717450450 [21:34:04]FM_GetShiftState [21:34:04]SAM_PROTO_GetShiftState [21:34:04]wFMCommunicate request_size=4 [21:34:04]MH_SAM_APDU [21:34:04]CAPDU: 80 13 01 00 [21:34:04]Write to MH i2c: E2 08 00 7F 13 80 13 01 00 00 00 00 00 0F [21:34:04]Write i2c OK [21:34:04]MH_I2C_Read... [21:34:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:34:04]Read from MH i2c: E2 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 0E 00 [21:34:04]MH_I2C_Read... [21:34:04]Read from MH i2c: E2 0E 00 7F 13 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 9D [21:34:04]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [21:34:04]wFMCommunicate OK [21:34:04]SAM_PROTO_GetShiftState done [21:34:04]FM_GetShiftState done [21:34:04]opened in 1717372856 [21:34:04]opened+sec_in_day 1717459256 [21:34:04]quantity*price = 15500 [21:34:04]sum+1 = 15501 [21:34:04]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4602441018192 Чипсы FRY`S Сыр 1/70 2.000 * 90.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607120854184 Снек Орехи BEERKa Арахис 90г 2.000 * 53.00 = 106.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 486.00 НСП 1% : 4.30 НДС 12% : 51.61 Наличными: 486.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 60 03.06.2024 21:34 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4079 ФПД: 177656392716239 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T213410&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4079&fm=177656392716239&tin=02508201610067®Number=0000000000145775&sum=48600 0 [21:34:05]StoreToDocumentArchive [21:34:05]shift 82 fd 4079 [21:34:05]save to /storage/0082/doc_00004079 [21:34:05]save last doc name /storage/0082/doc_00004079 to /storage/kkm_last_doc_name [21:34:05]save OK [21:34:05]Clear old archive folders... [21:34:05]ProcessDocumentItem done err = 0, tmpTLVsize=634 [21:34:05]tlvbuf is 007D7970 [21:34:05]SAM_PROTO_ClearQueue [21:34:05]wFMCommunicate request_size=4 [21:34:05]MH_SAM_APDU [21:34:05]CAPDU: 80 09 00 00 [21:34:05]Write to MH i2c: E2 08 00 8C 13 80 09 00 00 00 00 00 00 11 [21:34:05]Write i2c OK [21:34:05]MH_I2C_Read... [21:34:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:34:05]Read from MH i2c: E2 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: E2 03 00 [21:34:05]MH_I2C_Read... [21:34:05]Read from MH i2c: E2 03 00 8C 13 00 90 00 13 [21:34:05]RAPDU: 90 00 [21:34:05]wFMCommunicate OK [21:34:05]SAM_PROTO_ClearQueue done [21:34:05]KKMCreateOFDPacket [21:34:05]OFDProtocolAddRootSTLVToBuf [21:34:05]FM_MakeSignedData [21:34:05]FM_MakeSignedData [21:34:05]SAM_PROTO_SignData [21:34:05]wFMCommunicate request_size=4 [21:34:05]MH_SAM_APDU [21:34:05]CAPDU: 80 0D 01 02 [21:34:05]Write to MH i2c: E2 08 00 8D 13 80 0D 01 02 00 00 00 00 19 [21:34:05]Write i2c OK [21:34:05]MH_I2C_Read... [21:34:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:34:06]Read from MH i2c: E2 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 03 00 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 03 00 8D 13 00 90 00 14 [21:34:06]RAPDU: 90 00 [21:34:06]wFMCommunicate OK [21:34:06]wFMCommunicate request_size=255 [21:34:06]MH_SAM_APDU [21:34:06]CAPDU: 80 0D 02 02 FA 03 00 7A 02 1E 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 36 31 06 04 4D 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 D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 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 D0 93 D1 80 D1 83 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 [21:34:06]Write to MH i2c: E2 02 01 8E 13 80 0D 02 02 FA 00 03 00 7A 02 1E 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 36 31 06 04 4D 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 D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 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 D0 93 D1 80 D1 83 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 B2 [21:34:06]Write i2c OK [21:34:06]MH_I2C_Read... [21:34:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:06]Read from MH i2c: E2 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 03 00 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 03 00 8E 13 00 90 00 15 [21:34:06]RAPDU: 90 00 [21:34:06]wFMCommunicate OK [21:34:06]wFMCommunicate request_size=255 [21:34:06]MH_SAM_APDU [21:34:06]CAPDU: 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 39 32 06 04 1C 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D1 8B D1 80 20 31 2F 37 30 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 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 68 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 BD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [21:34:06]Write to MH i2c: E2 02 01 8F 13 80 0D 02 02 FA 00 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 39 32 06 04 1C 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D1 8B D1 80 20 31 2F 37 30 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 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 68 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 BD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 7B [21:34:06]Write i2c OK [21:34:06]MH_I2C_Read... [21:34:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:06]Read from MH i2c: E2 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 03 00 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 03 00 8F 13 00 90 00 16 [21:34:06]RAPDU: 90 00 [21:34:06]wFMCommunicate OK [21:34:06]wFMCommunicate request_size=143 [21:34:06]MH_SAM_APDU [21:34:06]CAPDU: 80 0D 02 02 8A AE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 14 00 00 00 00 07 04 06 00 D8 BD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 D2 36 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EF 0F 00 00 35 04 06 00 A1 93 DA 2E 0F CF [21:34:06]Write to MH i2c: E2 92 00 90 13 80 0D 02 02 8A 00 AE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 14 00 00 00 00 07 04 06 00 D8 BD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 D2 36 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EF 0F 00 00 35 04 06 00 A1 93 DA 2E 0F CF 00 00 55 [21:34:06]Write i2c OK [21:34:06]MH_I2C_Read... [21:34:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:34:06]Read from MH i2c: E2 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 03 00 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 03 00 90 13 00 90 00 17 [21:34:06]RAPDU: 90 00 [21:34:06]wFMCommunicate OK [21:34:06]wFMCommunicate request_size=4 [21:34:06]MH_SAM_APDU [21:34:06]CAPDU: 80 0D 03 02 [21:34:06]Write to MH i2c: E2 08 00 91 13 80 0D 03 02 00 00 00 00 1F [21:34:06]Write i2c OK [21:34:06]MH_I2C_Read... [21:34:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:34:06]Read from MH i2c: E2 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 0B 00 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 0B 00 91 13 00 BC AA 2E 0E 0F 49 87 66 90 00 07 [21:34:06]RAPDU: BC AA 2E 0E 0F 49 87 66 90 00 [21:34:06]wFMCommunicate OK [21:34:06]SAM_PROTO_SignData done [21:34:06]FM_MakeSignedData done [21:34:06]CreateOFDProtocolMessage [21:34:06]wFMCommunicate request_size=4 [21:34:06]MH_SAM_APDU [21:34:06]CAPDU: 80 11 00 00 [21:34:06]Write to MH i2c: E2 08 00 92 13 80 11 00 00 00 00 00 00 1F [21:34:06]Write i2c OK [21:34:06]MH_I2C_Read... [21:34:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:06]Read from MH i2c: E2 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 17 00 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: E2 17 00 92 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 72 [21:34:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:34:06]wFMCommunicate OK [21:34:06]CreateOFDProtocolMessage done [21:34:06]OFDSenderStorePacket 4079 [21:34:06]StoreOFDPacket docnum=4079 [21:34:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8E 02 00 00 8D 93 86 02 B9 89 5A 03 01 00 03 00 7A 02 1E 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 36 31 06 04 4D 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 D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 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 D0 93 D1 80 D1 83 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 60 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 39 32 06 04 1C 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D1 8B D1 80 20 31 2F 37 30 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 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 68 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 BD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 14 00 00 00 00 07 04 06 00 D8 BD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 D2 36 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EF 0F 00 00 35 04 06 00 A1 93 DA 2E 0F CF BC AA 2E 0E 0F 49 87 66 [21:34:06]CheckFolder [21:34:06]dirname=/storage/ofd_packets [21:34:06]CheckFolder done [21:34:06]ProducePacketName [21:34:06]name=ofd_packets/00004079 [21:34:06]NVStorageSaveData ofd_packets/00004079 [21:34:06]File name is /storage/ofd_packets/00004079 [21:34:06]Write 684 bytes [21:34:06]NVStorageSaveData done [21:34:06]OFDSenderStorePacket done [21:34:06]KKMCreateOFDPacket done [21:34:06]NVStorageSaveData kkm_last_timestamp [21:34:06]File name is /storage/kkm_last_timestamp [21:34:06]Write 4 bytes [21:34:06]NVStorageSaveData done [21:34:06]ExternCall_PrintAddStr [21:34:06]wPrintStart [21:34:06]Write to MH i2c: 01 00 00 93 13 A6 [21:34:06]Write i2c OK [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: 01 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: 01 07 00 [21:34:06]MH_I2C_Read... [21:34:06]Read from MH i2c: 01 07 00 93 13 00 00 00 00 00 FF 0F BB [21:34:06]RasterBufferAndPrint [21:34:06]line Счет N : (3)4333 [21:34:06]line ИНН: 02508201610067 [21:34:06]line Контрольно-Кассовый Чек [21:34:06]line ПРОДАЖА [21:34:06]line Товар: 4860114390161 [21:34:07]line Напиток безалкогольный газированный Груш [21:34:07]line 1.000 * 155.00 [21:34:07]line = 155.00 [21:34:07]line НДС 12% НСП 1% [21:34:07]line > о реализуемом товаре [21:34:07]line Товар: 4700000160358 [21:34:07]line Вода Легенда 1л [21:34:07]line 1.000 * 45.00 [21:34:07]line = 45.00 [21:34:07]line НДС 12% НСП 1% [21:34:07]line > о реализуемом товаре [21:34:07]line Товар: 4602441018192 [21:34:07]line Чипсы FRY`S Сыр 1/70 [21:34:07]line 2.000 * 90.00 [21:34:07]line = 180.00 [21:34:07]line НДС 12% НСП 1% [21:34:07]line > о реализуемом товаре [21:34:07]line Товар: 4607120854184 [21:34:07]line Снек Орехи BEERKa Арахис 90г [21:34:07]line 2.000 * 53.00 [21:34:07]line = 106.00 [21:34:07]line НДС 12% НСП 1% [21:34:07]line > о реализуемом товаре [21:34:07]line ИТОГО: 486.00 [21:34:07]line НСП 1% : 4.30 [21:34:07]line НДС 12% : 51.61 [21:34:07]line Наличными: 486.00 [21:34:07]line Безнал.: 0.00 [21:34:07]line Место: АЗС № 116 "Партнер Нефть" [21:34:07]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [21:34:07]line СНО: Общий режим [21:34:07]line Чек 60 03.06.2024 21:34 [21:34:07]line Смена: 82 ФФД: 1.0 [21:34:07]line ЗНМ: 0300000233 [21:34:07]line РНМ: 0000000000145775 [21:34:07]line Версия ККМ: v1.0 [21:34:07]line ФМ: 0000000000959360 [21:34:07]line ФД: 4079 [21:34:07]line ФПД: 177656392716239 [21:34:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T213410&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4079&fm=177656392716239&tin=02508201610067®Number=0000000000145775&sum=48600 [21:34:07]line 0 [21:34:07]OFD Sender: Processing packet 4079 [packets to send 2, broken 1] [21:34:07]ProducePacketName [21:34:07]name=ofd_packets/00004079 [21:34:07]OFD Sender: To server: pG, [21:34:07]CommunicateWithHost lk.salyk.kg:30040 [21:34:07]ConnectInit lk.salyk.kg [21:34:07]written 0, free lines is 4095 [21:34:07]Connected sock=10 [21:34:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8E 02 00 00 8D 93 86 02 B9 89 5A 03 01 00 03 00 7A 02 1E 04 01 00 01 23 04 91 00 8A 04 0D 00 34 38 36 30 31 31 34 33 39 30 31 36 31 06 04 4D 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 D0 BE D0 B3 D0 BE D0 BB D1 8C D0 BD D1 8B D0 B9 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 D0 93 D1 80 D1 83 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 60 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 39 32 06 04 1C 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D1 8B D1 80 20 31 2F 37 30 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 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 68 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 BD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 14 00 00 00 00 07 04 06 00 D8 BD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 D2 36 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EF 0F 00 00 35 04 06 00 A1 93 DA 2E 0F CF BC AA 2E 0E 0F 49 87 66 [21:34:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 BE CC 47 00 E9 CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 EF 0F 00 00 F4 03 04 00 D5 E2 5D 66 B6 04 01 00 00 04 FC DD 93 16 A7 E2 7E [21:34:07]CommunicateWithHost err = 0 [21:34:07]CheckOFDResponse [21:34:07]1017 (14) - 77093643461234 [21:34:07]1041 (16) - 0000000000959360 [21:34:07]1040 (4) - 4079 [21:34:07]1012 (4) - 03.06.2024 15:35 [21:34:07]1206 (1) - 0 [21:34:07]OFD Sender: Remove packet 4079 [21:34:07]ProducePacketName [21:34:07]name=ofd_packets/00004079 [21:34:07]NVStorageDeleteData [21:34:07]Write to MH i2c: 01 00 00 CF 13 E2 [21:34:07]Write i2c OK [21:34:07]MH_I2C_Read... [21:34:07]Read from MH i2c: 01 [21:34:07]MH_I2C_Read... [21:34:07]Read from MH i2c: 01 07 00 [21:34:07]MH_I2C_Read... [21:34:07]Read from MH i2c: 01 07 00 CF 13 00 00 00 00 00 66 0B 5A [21:34:07]RasterBufferAndPrint [21:34:07]line [21:34:07]line [21:34:07]line [21:34:07]line [21:34:07]line [21:34:07]written 0, free lines is 2924 [21:34:07]MH_Cut [21:34:07]Write to MH i2c: D1 01 00 D6 13 01 BB [21:34:07]Write i2c OK [21:34:07]MH_I2C_Read... [21:34:07]Read from MH i2c: D1 [21:34:07]MH_I2C_Read... [21:34:07]Read from MH i2c: D1 01 00 [21:34:07]MH_I2C_Read... [21:34:07]Read from MH i2c: D1 01 00 D6 13 00 BA [21:34:07]Write to MH i2c: 01 00 00 D7 13 EA [21:34:07]Write i2c OK [21:34:07]MH_I2C_Read... [21:34:08]OFD Sender: No OFD packet to send [21:34:09]*** Cut start [21:34:09]*** Partial cut [21:34:09]*** CUTSNS_PIN = 1 [21:34:09]*** CUTSNS_PIN = 0 [21:34:09]*** Brake cut motor [21:34:09]Read from MH i2c: 01 [21:34:09]MH_I2C_Read... [21:34:09]*** Stop cut motor [21:34:09]*** Cut end [21:34:09]Read from MH i2c: 01 07 00 [21:34:09]MH_I2C_Read... [21:34:09]Read from MH i2c: 01 07 00 D7 13 00 00 00 00 00 FF 0F FF [21:34:09]process_action close_receipt done [21:34:09]requested_data is exist [21:34:09]produce_requested_data [21:34:09]requested_item fm.sn is exist - process it [21:34:09]wFMCommunicate request_size=4 [21:34:09]MH_SAM_APDU [21:34:09]CAPDU: 80 11 00 00 [21:34:09]Write to MH i2c: E2 08 00 D8 13 80 11 00 00 00 00 00 00 65 [21:34:09]Write i2c OK [21:34:09]MH_I2C_Read... [21:34:09]Read from MH i2c: E2 [21:34:09]MH_I2C_Read... [21:34:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:34:09]Read from MH i2c: E2 17 00 [21:34:09]MH_I2C_Read... [21:34:09]Read from MH i2c: E2 17 00 D8 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B8 [21:34:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:34:09]wFMCommunicate OK [21:34:09]requested_item fd.num is exist - process it [21:34:09]SAM_PROTO_GetFieldsCounters [21:34:09]wFMCommunicate request_size=4 [21:34:09]MH_SAM_APDU [21:34:09]CAPDU: 80 13 00 00 [21:34:09]Write to MH i2c: E2 08 00 D9 13 80 13 00 00 00 00 00 00 68 [21:34:09]Write i2c OK [21:34:09]MH_I2C_Read... [21:34:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:34:09]Read from MH i2c: E2 [21:34:09]MH_I2C_Read... [21:34:09]Read from MH i2c: E2 62 00 [21:34:09]MH_I2C_Read... [21:34:09]Read from MH i2c: E2 62 00 D9 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EF 0F 00 00 0E 04 04 00 52 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 91 [21:34:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 EF 0F 00 00 0E 04 04 00 52 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 [21:34:09]wFMCommunicate OK [21:34:09]SAM_PROTO_GetFieldsCounters done [21:34:09]requested_item shift.num is exist - process it [21:34:09]requested_item shift.opened is exist - process it [21:34:09]req_shift_opened [21:34:09]FM_GetShiftState [21:34:09]SAM_PROTO_GetShiftState [21:34:09]wFMCommunicate request_size=4 [21:34:09]MH_SAM_APDU [21:34:09]CAPDU: 80 13 01 00 [21:34:09]Write to MH i2c: E2 08 00 DA 13 80 13 01 00 00 00 00 00 6A [21:34:09]Write i2c OK [21:34:09]MH_I2C_Read... [21:34:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:34:09]Read from MH i2c: E2 [21:34:09]MH_I2C_Read... [21:34:09]Read from MH i2c: E2 0E 00 [21:34:09]MH_I2C_Read... [21:34:09]Read from MH i2c: E2 0E 00 DA 13 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 F8 [21:34:09]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [21:34:09]wFMCommunicate OK [21:34:09]SAM_PROTO_GetShiftState done [21:34:09]FM_GetShiftState done [21:34:09]req_shift_opened done [21:34:09]requested_item shift.open_date is exist - process it [21:34:09]req_shift_open_date [21:34:09]req_shift_open_date done [21:34:09]produce_requested_data done [21:34:09]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4079,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [21:34:09]process_action_free close_receipt [21:34:09]json_value_free [21:34:09]json_value_free done [21:34:09]process_json_proto returns [21:34:09]Send response to host [21:34:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4079,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [21:34:09]free response buf [21:34:09]execute_script done [21:34:09]execute_script returns [21:34:09]free content buf [21:34:09]Sock 9.Close socket [21:34:09]Sock 9.Thread stoped [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:15]accept exits with 8 [21:35:15]New connection [21:35:15]New thread 3067227492 created [21:35:15]Thread 3067370852 joined [21:35:15]Waiting for new connection... [21:35:15] Sock 8.Parse request [21:35:15]Sock 8.Check first char [21:35:15]Sock 8.First char is OK [21:35:15]request: POST /json_proto HTTP/1.0 [21:35:15]Method: POST [21:35:15]URL: /json_proto [21:35:15]Method is POST - this is cgi request [21:35:15]url: /json_proto [21:35:15]query_string will be loaded in cgi processing [21:35:15]execute_cgi json_proto POST (null) [21:35:15]execute_cgi path=json_proto method=POST [21:35:15]POST find Content-Length [21:35:15]Host: 172.17.56.68:8080 [21:35:15]Content-Length: 921 [21:35:15]Content-Type: application/json [21:35:15] [21:35:15]POST finish read [21:35:15]Found Content-Length = 921 [21:35:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4334", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:35:15]execute_script... [21:35:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4334", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:35:15]POST & json_proto [21:35:15]process_json_proto [21:35:15]json parsed OK: [21:35:15]protocol is kg_v1.0 [21:35:15]action value=close_receipt [21:35:15]process_action close_receipt [21:35:15]cmd_close_receipt [21:35:15]MH_GetDate [21:35:15]Write to MH i2c: F0 00 00 DB 13 DD [21:35:15]Write i2c OK [21:35:15]MH_I2C_Read... [21:35:15]Read from MH i2c: F0 [21:35:15]MH_I2C_Read... [21:35:15]Read from MH i2c: F0 09 00 [21:35:15]MH_I2C_Read... [21:35:15]Read from MH i2c: F0 09 00 DB 13 00 18 37 5E 66 42 69 5C 66 66 [21:35:15]GetLastDocTimeStamp 1717450450 [21:35:15]current date 1717450520 [21:35:15]FM_GetShiftState [21:35:15]SAM_PROTO_GetShiftState [21:35:15]wFMCommunicate request_size=4 [21:35:15]MH_SAM_APDU [21:35:15]CAPDU: 80 13 01 00 [21:35:15]Write to MH i2c: E2 08 00 DC 13 80 13 01 00 00 00 00 00 6C [21:35:15]Write i2c OK [21:35:15]MH_I2C_Read... [21:35:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:35:15]Read from MH i2c: E2 [21:35:15]MH_I2C_Read... [21:35:15]Read from MH i2c: E2 0E 00 [21:35:15]MH_I2C_Read... [21:35:15]Read from MH i2c: E2 0E 00 DC 13 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 FA [21:35:15]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [21:35:15]wFMCommunicate OK [21:35:15]SAM_PROTO_GetShiftState done [21:35:15]FM_GetShiftState done [21:35:15]opened in 1717372856 [21:35:15]opened+sec_in_day 1717459256 [21:35:15]quantity*price = 15000 [21:35:15]sum+1 = 15001 [21:35:15]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747066 Сигареты Winston True Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 290.00 НСП 1% : 2.57 НДС 12% : 30.80 Наличными: 290.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 61 03.06.2024 21:35 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4080 ФПД: 35032933772859 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T213520&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4080&fm=35032933772859&tin=02508201610067®Number=0000000000145775&sum=29000 0 [21:35:16]StoreToDocumentArchive [21:35:16]shift 82 fd 4080 [21:35:16]save to /storage/0082/doc_00004080 [21:35:16]save last doc name /storage/0082/doc_00004080 to /storage/kkm_last_doc_name [21:35:16]save OK [21:35:16]Clear old archive folders... [21:35:16]ProcessDocumentItem done err = 0, tmpTLVsize=398 [21:35:16]tlvbuf is 0079DEE0 [21:35:16]SAM_PROTO_ClearQueue [21:35:16]wFMCommunicate request_size=4 [21:35:16]MH_SAM_APDU [21:35:16]CAPDU: 80 09 00 00 [21:35:16]Write to MH i2c: E2 08 00 E9 13 80 09 00 00 00 00 00 00 6E [21:35:16]Write i2c OK [21:35:16]MH_I2C_Read... [21:35:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:35:16]Read from MH i2c: E2 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 03 00 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 03 00 E9 13 00 90 00 70 [21:35:16]RAPDU: 90 00 [21:35:16]wFMCommunicate OK [21:35:16]SAM_PROTO_ClearQueue done [21:35:16]KKMCreateOFDPacket [21:35:16]OFDProtocolAddRootSTLVToBuf [21:35:16]FM_MakeSignedData [21:35:16]FM_MakeSignedData [21:35:16]SAM_PROTO_SignData [21:35:16]wFMCommunicate request_size=4 [21:35:16]MH_SAM_APDU [21:35:16]CAPDU: 80 0D 01 02 [21:35:16]Write to MH i2c: E2 08 00 EA 13 80 0D 01 02 00 00 00 00 76 [21:35:16]Write i2c OK [21:35:16]MH_I2C_Read... [21:35:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:35:16]Read from MH i2c: E2 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 03 00 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 03 00 EA 13 00 90 00 71 [21:35:16]RAPDU: 90 00 [21:35:16]wFMCommunicate OK [21:35:16]wFMCommunicate request_size=255 [21:35:16]MH_SAM_APDU [21:35:16]CAPDU: 80 0D 02 02 FA 03 00 8E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 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 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 [21:35:16]Write to MH i2c: E2 02 01 EB 13 80 0D 02 02 FA 00 03 00 8E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 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 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 00 4F [21:35:16]Write i2c OK [21:35:16]MH_I2C_Read... [21:35:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:35:16]Read from MH i2c: E2 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 03 00 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 03 00 EB 13 00 90 00 72 [21:35:16]RAPDU: 90 00 [21:35:16]wFMCommunicate OK [21:35:16]wFMCommunicate request_size=157 [21:35:16]MH_SAM_APDU [21:35:16]CAPDU: 80 0D 02 02 98 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 18 37 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F0 0F 00 00 35 04 06 00 1F DC BD 92 AE 3B [21:35:16]Write to MH i2c: E2 A0 00 EC 13 80 0D 02 02 98 00 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 18 37 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F0 0F 00 00 35 04 06 00 1F DC BD 92 AE 3B 00 00 79 [21:35:16]Write i2c OK [21:35:16]MH_I2C_Read... [21:35:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:35:16]Read from MH i2c: E2 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 03 00 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 03 00 EC 13 00 90 00 73 [21:35:16]RAPDU: 90 00 [21:35:16]wFMCommunicate OK [21:35:16]wFMCommunicate request_size=4 [21:35:16]MH_SAM_APDU [21:35:16]CAPDU: 80 0D 03 02 [21:35:16]Write to MH i2c: E2 08 00 ED 13 80 0D 03 02 00 00 00 00 7B [21:35:16]Write i2c OK [21:35:16]MH_I2C_Read... [21:35:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:35:16]Read from MH i2c: E2 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 0B 00 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 0B 00 ED 13 00 39 1B 6C 92 48 8F 72 80 90 00 97 [21:35:16]RAPDU: 39 1B 6C 92 48 8F 72 80 90 00 [21:35:16]wFMCommunicate OK [21:35:16]SAM_PROTO_SignData done [21:35:16]FM_MakeSignedData done [21:35:16]CreateOFDProtocolMessage [21:35:16]wFMCommunicate request_size=4 [21:35:16]MH_SAM_APDU [21:35:16]CAPDU: 80 11 00 00 [21:35:16]Write to MH i2c: E2 08 00 EE 13 80 11 00 00 00 00 00 00 7B [21:35:16]Write i2c OK [21:35:16]MH_I2C_Read... [21:35:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:35:16]Read from MH i2c: E2 [21:35:16]MH_I2C_Read... [21:35:16]Read from MH i2c: E2 17 00 [21:35:16]MH_I2C_Read... [21:35:17]Read from MH i2c: E2 17 00 EE 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 CE [21:35:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:35:17]wFMCommunicate OK [21:35:17]CreateOFDProtocolMessage done [21:35:17]OFDSenderStorePacket 4080 [21:35:17]StoreOFDPacket docnum=4080 [21:35:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A2 01 00 00 7D 37 9A 01 6F 8C 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 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 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 18 37 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F0 0F 00 00 35 04 06 00 1F DC BD 92 AE 3B 39 1B 6C 92 48 8F 72 80 [21:35:17]CheckFolder [21:35:17]dirname=/storage/ofd_packets [21:35:17]CheckFolder done [21:35:17]ProducePacketName [21:35:17]name=ofd_packets/00004080 [21:35:17]NVStorageSaveData ofd_packets/00004080 [21:35:17]File name is /storage/ofd_packets/00004080 [21:35:17]Write 448 bytes [21:35:17]NVStorageSaveData done [21:35:17]OFDSenderStorePacket done [21:35:17]KKMCreateOFDPacket done [21:35:17]NVStorageSaveData kkm_last_timestamp [21:35:17]File name is /storage/kkm_last_timestamp [21:35:17]Write 4 bytes [21:35:17]NVStorageSaveData done [21:35:17]ExternCall_PrintAddStr [21:35:17]wPrintStart [21:35:17]Write to MH i2c: 01 00 00 EF 13 02 [21:35:17]Write i2c OK [21:35:17]MH_I2C_Read... [21:35:17]Read from MH i2c: 01 [21:35:17]MH_I2C_Read... [21:35:17]OFD Sender: Processing packet 4080 [packets to send 2, broken 1] [21:35:17]Read from MH i2c: ProducePacketName [21:35:17]01 name=ofd_packets/00004080 [21:35:17]07 00 OFD Sender: To server: pG, [21:35:17] [21:35:17]MH_I2C_Read... [21:35:17]CommunicateWithHost lk.salyk.kg:30040 [21:35:17]ConnectInit lk.salyk.kg [21:35:17]Read from MH i2c: 01 07 00 EF 13 00 00 00 00 00 FF 0F 17 [21:35:17]RasterBufferAndPrint [21:35:17]line Счет N : (3)4334 [21:35:17]line ИНН: 02508201610067 [21:35:17]line Контрольно-Кассовый Чек [21:35:17]line ПРОДАЖА [21:35:17]line Товар: 5449000027450 [21:35:17]line Напиток FuzeTea чай манго,ром 0,5л [21:35:17]line 2.000 * 75.00 [21:35:17]line = 150.00 [21:35:17]line НДС 12% НСП 1% [21:35:17]line > о реализуемом товаре [21:35:17]line Товар: 48747066 [21:35:17]line Сигареты Winston True Silver [21:35:17]line 1.000 * 140.00 [21:35:17]line = 140.00 [21:35:17]line НДС 12% НСП 1% [21:35:17]line > о реализуемом товаре [21:35:17]line ИТОГО: 290.00 [21:35:17]line НСП 1% : 2.57 [21:35:17]line НДС 12% : 30.80 [21:35:17]line Наличными: 290.00 [21:35:17]line Безнал.: 0.00 [21:35:17]line Место: АЗС № 116 "Партнер Нефть" [21:35:17]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [21:35:17]line СНО: Общий режим [21:35:17]line Чек 61 03.06.2024 21:35 [21:35:17]line Смена: 82 ФФД: 1.0 [21:35:17]line ЗНМ: 0300000233 [21:35:17]line РНМ: 0000000000145775 [21:35:17]line Версия ККМ: v1.0 [21:35:17]line ФМ: 0000000000959360 [21:35:17]line ФД: 4080 [21:35:17]line ФПД: 35032933772859 [21:35:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T213520&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4080&fm=35032933772859&tin=02508201610067®Number=0000000000145775&sum=29000 [21:35:17]line 0 [21:35:17]written 0, free lines is 4095 [21:35:17]Connected sock=10 [21:35:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A2 01 00 00 7D 37 9A 01 6F 8C 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 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 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 18 37 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F0 0F 00 00 35 04 06 00 1F DC BD 92 AE 3B 39 1B 6C 92 48 8F 72 80 [21:35:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 BC 70 47 00 79 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F0 0F 00 00 F4 03 04 00 1B E3 5D 66 B6 04 01 00 00 66 C8 73 1D DE 3C DE AD [21:35:17]CommunicateWithHost err = 0 [21:35:17]CheckOFDResponse [21:35:17]1017 (14) - 77093643461234 [21:35:17]1041 (16) - 0000000000959360 [21:35:17]1040 (4) - 4080 [21:35:17]1012 (4) - 03.06.2024 15:36 [21:35:17]1206 (1) - 0 [21:35:17]OFD Sender: Remove packet 4080 [21:35:17]ProducePacketName [21:35:17]name=ofd_packets/00004080 [21:35:17]NVStorageDeleteData [21:35:17]Write to MH i2c: 01 00 00 1E 14 32 [21:35:17]Write i2c OK [21:35:17]MH_I2C_Read... [21:35:17]Read from MH i2c: 01 [21:35:17]MH_I2C_Read... [21:35:17]Read from MH i2c: 01 07 00 [21:35:17]MH_I2C_Read... [21:35:17]Read from MH i2c: 01 07 00 1E 14 00 00 00 00 00 56 0C 9B [21:35:17]RasterBufferAndPrint [21:35:17]line [21:35:17]line [21:35:17]line [21:35:17]line [21:35:17]line [21:35:17]written 0, free lines is 3166 [21:35:17]MH_Cut [21:35:17]Write to MH i2c: D1 01 00 25 14 01 0B [21:35:17]Write i2c OK [21:35:17]MH_I2C_Read... [21:35:17]Read from MH i2c: D1 [21:35:17]MH_I2C_Read... [21:35:17]Read from MH i2c: D1 01 00 [21:35:17]MH_I2C_Read... [21:35:17]Read from MH i2c: D1 01 00 25 14 00 0A [21:35:17]Write to MH i2c: 01 00 00 26 14 3A [21:35:17]Write i2c OK [21:35:17]MH_I2C_Read... [21:35:18]OFD Sender: No OFD packet to send [21:35:18]*** Cut start [21:35:18]*** Partial cut [21:35:18]*** CUTSNS_PIN = 1 [21:35:18]*** CUTSNS_PIN = 0 [21:35:19]*** Brake cut motor [21:35:19]Read from MH i2c: 01 [21:35:19]MH_I2C_Read... [21:35:19]*** Stop cut motor [21:35:19]*** Cut end [21:35:19]Read from MH i2c: 01 07 00 [21:35:19]MH_I2C_Read... [21:35:19]Read from MH i2c: 01 07 00 26 14 00 00 00 00 00 FF 0F 4F [21:35:19]process_action close_receipt done [21:35:19]requested_data is exist [21:35:19]produce_requested_data [21:35:19]requested_item fm.sn is exist - process it [21:35:19]wFMCommunicate request_size=4 [21:35:19]MH_SAM_APDU [21:35:19]CAPDU: 80 11 00 00 [21:35:19]Write to MH i2c: E2 08 00 27 14 80 11 00 00 00 00 00 00 B5 [21:35:19]Write i2c OK [21:35:19]MH_I2C_Read... [21:35:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:35:19]Read from MH i2c: E2 [21:35:19]MH_I2C_Read... [21:35:19]Read from MH i2c: E2 17 00 [21:35:19]MH_I2C_Read... [21:35:19]Read from MH i2c: E2 17 00 27 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 08 [21:35:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:35:19]wFMCommunicate OK [21:35:19]requested_item fd.num is exist - process it [21:35:19]SAM_PROTO_GetFieldsCounters [21:35:19]wFMCommunicate request_size=4 [21:35:19]MH_SAM_APDU [21:35:19]CAPDU: 80 13 00 00 [21:35:19]Write to MH i2c: E2 08 00 28 14 80 13 00 00 00 00 00 00 B8 [21:35:19]Write i2c OK [21:35:19]MH_I2C_Read... [21:35:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:35:19]Read from MH i2c: E2 [21:35:19]MH_I2C_Read... [21:35:19]Read from MH i2c: E2 62 00 [21:35:19]MH_I2C_Read... [21:35:19]Read from MH i2c: E2 62 00 28 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F0 0F 00 00 0E 04 04 00 52 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 E5 [21:35:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F0 0F 00 00 0E 04 04 00 52 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 [21:35:19]wFMCommunicate OK [21:35:19]SAM_PROTO_GetFieldsCounters done [21:35:19]requested_item shift.num is exist - process it [21:35:19]requested_item shift.opened is exist - process it [21:35:19]req_shift_opened [21:35:19]FM_GetShiftState [21:35:19]SAM_PROTO_GetShiftState [21:35:19]wFMCommunicate request_size=4 [21:35:19]MH_SAM_APDU [21:35:19]CAPDU: 80 13 01 00 [21:35:19]Write to MH i2c: E2 08 00 29 14 80 13 01 00 00 00 00 00 BA [21:35:19]Write i2c OK [21:35:19]MH_I2C_Read... [21:35:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:35:19]Read from MH i2c: E2 [21:35:19]MH_I2C_Read... [21:35:19]Read from MH i2c: E2 0E 00 [21:35:19]MH_I2C_Read... [21:35:19]Read from MH i2c: E2 0E 00 29 14 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 48 [21:35:19]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [21:35:19]wFMCommunicate OK [21:35:19]SAM_PROTO_GetShiftState done [21:35:19]FM_GetShiftState done [21:35:19]req_shift_opened done [21:35:19]requested_item shift.open_date is exist - process it [21:35:19]req_shift_open_date [21:35:19]req_shift_open_date done [21:35:19]produce_requested_data done [21:35:19]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4080,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [21:35:19]process_action_free close_receipt [21:35:19]json_value_free [21:35:19]json_value_free done [21:35:19]process_json_proto returns [21:35:19]Send response to host [21:35:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4080,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [21:35:19]free response buf [21:35:19]execute_script done [21:35:19]execute_script returns [21:35:19]free content buf [21:35:19]Sock 8.Close socket [21:35:19]Sock 8.Thread stoped [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]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:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:44]OFD Sender: No OFD packet to send [21:54:49]OFD Sender: No OFD packet to send [21:54:54]OFD Sender: No OFD packet to send [21:54:59]OFD Sender: No OFD packet to send [21:55:04]OFD Sender: No OFD packet to send [21:55:09]OFD Sender: No OFD packet to send [21:55:14]OFD Sender: No OFD packet to send [21:55:19]OFD Sender: No OFD packet to send [21:55:24]OFD Sender: No OFD packet to send [21:55:29]OFD Sender: No OFD packet to send [21:55:34]OFD Sender: No OFD packet to send [21:55:39]OFD Sender: No OFD packet to send [21:55:44]OFD Sender: No OFD packet to send [21:55:49]OFD Sender: No OFD packet to send [21:55:54]OFD Sender: No OFD packet to send [21:55:59]OFD Sender: No OFD packet to send [21:56:04]OFD Sender: No OFD packet to send [21:56:09]OFD Sender: No OFD packet to send [21:56:14]OFD Sender: No OFD packet to send [21:56:19]OFD Sender: No OFD packet to send [21:56:24]OFD Sender: No OFD packet to send [21:56:29]OFD Sender: No OFD packet to send [21:56:34]OFD Sender: No OFD packet to send [21:56:39]OFD Sender: No OFD packet to send [21:56:44]OFD Sender: No OFD packet to send [21:56:49]OFD Sender: No OFD packet to send [21:56:54]OFD Sender: No OFD packet to send [21:56:59]OFD Sender: No OFD packet to send [21:57:04]OFD Sender: No OFD packet to send [21:57:09]OFD Sender: No OFD packet to send [21:57:14]OFD Sender: No OFD packet to send [21:57:19]OFD Sender: No OFD packet to send [21:57:24]OFD Sender: No OFD packet to send [21:57:29]OFD Sender: No OFD packet to send [21:57:34]OFD Sender: No OFD packet to send [21:57:39]OFD Sender: No OFD packet to send [21:57:44]OFD Sender: No OFD packet to send [21:57:49]OFD Sender: No OFD packet to send [21:57:54]OFD Sender: No OFD packet to send [21:57:59]OFD Sender: No OFD packet to send [21:58:04]OFD Sender: No OFD packet to send [21:58:09]OFD Sender: No OFD packet to send [21:58:14]OFD Sender: No OFD packet to send [21:58:19]OFD Sender: No OFD packet to send [21:58:24]OFD Sender: No OFD packet to send [21:58:29]OFD Sender: No OFD packet to send [21:58:34]OFD Sender: No OFD packet to send [21:58:39]OFD Sender: No OFD packet to send [21:58:44]OFD Sender: No OFD packet to send [21:58:49]OFD Sender: No OFD packet to send [21:58:54]OFD Sender: No OFD packet to send [21:58:59]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [21:59:59]OFD Sender: No OFD packet to send [22:00:04]OFD Sender: No OFD packet to send [22:00:09]OFD Sender: No OFD packet to send [22:00:14]OFD Sender: No OFD packet to send [22:00:19]OFD Sender: No OFD packet to send [22:00:24]OFD Sender: No OFD packet to send [22:00:29]OFD Sender: No OFD packet to send [22:00:34]OFD Sender: No OFD packet to send [22:00:39]OFD Sender: No OFD packet to send [22:00:44]OFD Sender: No OFD packet to send [22:00:49]OFD Sender: No OFD packet to send [22:00:54]OFD Sender: No OFD packet to send [22:00:59]OFD Sender: No OFD packet to send [22:01:04]OFD Sender: No OFD packet to send [22:01:09]OFD Sender: No OFD packet to send [22:01:14]OFD Sender: No OFD packet to send [22:01:19]OFD Sender: No OFD packet to send [22:01:24]OFD Sender: No OFD packet to send [22:01:29]OFD Sender: No OFD packet to send [22:01:34]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]OFD Sender: No OFD packet to send [22:05:39]OFD Sender: No OFD packet to send [22:05:44]OFD Sender: No OFD packet to send [22:05:49]OFD Sender: No OFD packet to send [22:05:54]OFD Sender: No OFD packet to send [22:05:59]OFD Sender: No OFD packet to send [22:06:04]OFD Sender: No OFD packet to send [22:06:09]OFD Sender: No OFD packet to send [22:06:14]OFD Sender: No OFD packet to send [22:06:19]OFD Sender: No OFD packet to send [22:06:24]OFD Sender: No OFD packet to send [22:06:29]OFD Sender: No OFD packet to send [22:06:34]OFD Sender: No OFD packet to send [22:06:39]OFD Sender: No OFD packet to send [22:06:44]OFD Sender: No OFD packet to send [22:06:49]OFD Sender: No OFD packet to send [22:06:54]OFD Sender: No OFD packet to send [22:06:59]OFD Sender: No OFD packet to send [22:07:04]OFD Sender: No OFD packet to send [22:07:09]OFD Sender: No OFD packet to send [22:07:14]OFD Sender: No OFD packet to send [22:07:19]OFD Sender: No OFD packet to send [22:07:24]OFD Sender: No OFD packet to send [22:07:29]OFD Sender: No OFD packet to send [22:07:34]OFD Sender: No OFD packet to send [22:07:39]OFD Sender: No OFD packet to send [22:07:44]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:08:59]OFD Sender: No OFD packet to send [22:09:04]OFD Sender: No OFD packet to send [22:09:09]OFD Sender: No OFD packet to send [22:09:14]OFD Sender: No OFD packet to send [22:09:19]OFD Sender: No OFD packet to send [22:09:24]OFD Sender: No OFD packet to send [22:09:29]OFD Sender: No OFD packet to send [22:09:34]OFD Sender: No OFD packet to send [22:09:39]OFD Sender: No OFD packet to send [22:09:44]OFD Sender: No OFD packet to send [22:09:49]OFD Sender: No OFD packet to send [22:09:54]OFD Sender: No OFD packet to send [22:09:59]OFD Sender: No OFD packet to send [22:10:04]OFD Sender: No OFD packet to send [22:10:09]OFD Sender: No OFD packet to send [22:10:14]OFD Sender: No OFD packet to send [22:10:19]OFD Sender: No OFD packet to send [22:10:24]OFD Sender: No OFD packet to send [22:10:29]OFD Sender: No OFD packet to send [22:10:34]OFD Sender: No OFD packet to send [22:10:39]OFD Sender: No OFD packet to send [22:10:44]OFD Sender: No OFD packet to send [22:10:49]OFD Sender: No OFD packet to send [22:10:54]OFD Sender: No OFD packet to send [22:10:59]OFD Sender: No OFD packet to send [22:11:04]OFD Sender: No OFD packet to send [22:11:09]OFD Sender: No OFD packet to send [22:11:14]OFD Sender: No OFD packet to send [22:11:19]OFD Sender: No OFD packet to send [22:11:24]OFD Sender: No OFD packet to send [22:11:29]OFD Sender: No OFD packet to send [22:11:34]OFD Sender: No OFD packet to send [22:11:39]OFD Sender: No OFD packet to send [22:11:44]OFD Sender: No OFD packet to send [22:11:49]OFD Sender: No OFD packet to send [22:11:54]OFD Sender: No OFD packet to send [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12:09]OFD Sender: No OFD packet to send [22:12:14]OFD Sender: No OFD packet to send [22:12:19]OFD Sender: No OFD packet to send [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:56]accept exits with 9 [22:14:56]New connection [22:14:56]New thread 3067370852 created [22:14:56]Thread 3067227492 joined [22:14:56]Waiting for new connection... [22:14:56] Sock 9.Parse request [22:14:56]Sock 9.Check first char [22:14:56]Sock 9.First char is OK [22:14:56]request: POST /json_proto HTTP/1.0 [22:14:56]Method: POST [22:14:56]URL: /json_proto [22:14:56]Method is POST - this is cgi request [22:14:56]url: /json_proto [22:14:56]query_string will be loaded in cgi processing [22:14:56]execute_cgi json_proto POST (null) [22:14:56]execute_cgi path=json_proto method=POST [22:14:56]POST find Content-Length [22:14:56]Host: 172.17.56.68:8080 [22:14:56]Content-Length: 612 [22:14:56]Content-Type: application/json [22:14:56] [22:14:56]POST finish read [22:14:56]Found Content-Length = 612 [22:14:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4335", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:14:56]execute_script... [22:14: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)4335", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:14:56]POST & json_proto [22:14:56]process_json_proto [22:14:56]json parsed OK: [22:14:56]protocol is kg_v1.0 [22:14:56]action value=close_receipt [22:14:56]process_action close_receipt [22:14:56]cmd_close_receipt [22:14:56]MH_GetDate [22:14:56]Write to MH i2c: F0 00 00 2A 14 2D [22:14:56]Write i2c OK [22:14:56]MH_I2C_Read... [22:14:56]Read from MH i2c: F0 [22:14:56]MH_I2C_Read... [22:14:56]Read from MH i2c: F0 09 00 [22:14:56]MH_I2C_Read... [22:14:56]Read from MH i2c: F0 09 00 2A 14 00 66 40 5E 66 42 69 5C 66 0D [22:14:56]GetLastDocTimeStamp 1717450520 [22:14:56]current date 1717452902 [22:14:56]FM_GetShiftState [22:14:56]SAM_PROTO_GetShiftState [22:14:56]wFMCommunicate request_size=4 [22:14:56]MH_SAM_APDU [22:14:56]CAPDU: 80 13 01 00 [22:14:56]Write to MH i2c: E2 08 00 2B 14 80 13 01 00 00 00 00 00 BC [22:14:56]Write i2c OK [22:14:56]MH_I2C_Read... [22:14:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:14:56]Read from MH i2c: E2 [22:14:56]MH_I2C_Read... [22:14:56]Read from MH i2c: E2 0E 00 [22:14:56]MH_I2C_Read... [22:14:56]Read from MH i2c: E2 0E 00 2B 14 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 4A [22:14:56]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [22:14:56]wFMCommunicate OK [22:14:56]SAM_PROTO_GetShiftState done [22:14:56]FM_GetShiftState done [22:14:56]opened in 1717372856 [22:14:56]opened+sec_in_day 1717459256 [22:14:56]quantity*price = 11000 [22:14:56]sum+1 = 11001 [22:14:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 62 03.06.2024 22:15 Смена: 82 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4081 ФПД: 135570079040474 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T221502&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4081&fm=135570079040474&tin=02508201610067®Number=0000000000145775&sum=11000 0 [22:14:57]StoreToDocumentArchive [22:14:57]shift 82 fd 4081 [22:14:57]save to /storage/0082/doc_00004081 [22:14:57]save last doc name /storage/0082/doc_00004081 to /storage/kkm_last_doc_name [22:14:57]save OK [22:14:57]Clear old archive folders... [22:14:57]ProcessDocumentItem done err = 0, tmpTLVsize=266 [22:14:57]tlvbuf is 00782B00 [22:14:57]SAM_PROTO_ClearQueue [22:14:57]wFMCommunicate request_size=4 [22:14:57]MH_SAM_APDU [22:14:57]CAPDU: 80 09 00 00 [22:14:57]Write to MH i2c: E2 08 00 38 14 80 09 00 00 00 00 00 00 BE [22:14:57]Write i2c OK [22:14:57]MH_I2C_Read... [22:14:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:14:57]Read from MH i2c: E2 [22:14:57]MH_I2C_Read... [22:14:57]Read from MH i2c: E2 03 00 [22:14:57]MH_I2C_Read... [22:14:57]Read from MH i2c: E2 03 00 38 14 00 90 00 C0 [22:14:57]RAPDU: 90 00 [22:14:57]wFMCommunicate OK [22:14:57]SAM_PROTO_ClearQueue done [22:14:57]KKMCreateOFDPacket [22:14:57]OFDProtocolAddRootSTLVToBuf [22:14:57]FM_MakeSignedData [22:14:57]FM_MakeSignedData [22:14:57]SAM_PROTO_SignData [22:14:57]wFMCommunicate request_size=4 [22:14:57]MH_SAM_APDU [22:14:57]CAPDU: 80 0D 01 02 [22:14:57]Write to MH i2c: E2 08 00 39 14 80 0D 01 02 00 00 00 00 C6 [22:14:57]Write i2c OK [22:14:57]MH_I2C_Read... [22:14:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:14:57]Read from MH i2c: E2 [22:14:57]MH_I2C_Read... [22:14:57]Read from MH i2c: E2 03 00 [22:14:57]MH_I2C_Read... [22:14:57]Read from MH i2c: E2 03 00 39 14 00 90 00 C1 [22:14:57]RAPDU: 90 00 [22:14:57]wFMCommunicate OK [22:14:57]wFMCommunicate request_size=255 [22:14:57]MH_SAM_APDU [22:14:57]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 66 40 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [22:14:57]Write to MH i2c: E2 02 01 3A 14 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 66 40 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 3D [22:14:57]Write i2c OK [22:14:57]MH_I2C_Read... [22:14:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:14:58]Read from MH i2c: E2 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 03 00 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 03 00 3A 14 00 90 00 C2 [22:14:58]RAPDU: 90 00 [22:14:58]wFMCommunicate OK [22:14:58]wFMCommunicate request_size=25 [22:14:58]MH_SAM_APDU [22:14:58]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 F1 0F 00 00 35 04 06 00 7B 4C DE 67 43 DA [22:14:58]Write to MH i2c: E2 1C 00 3B 14 80 0D 02 02 14 00 36 30 10 04 04 00 F1 0F 00 00 35 04 06 00 7B 4C DE 67 43 DA 00 00 D7 [22:14:58]Write i2c OK [22:14:58]MH_I2C_Read... [22:14:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:14:58]Read from MH i2c: E2 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 03 00 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 03 00 3B 14 00 90 00 C3 [22:14:58]RAPDU: 90 00 [22:14:58]wFMCommunicate OK [22:14:58]wFMCommunicate request_size=4 [22:14:58]MH_SAM_APDU [22:14:58]CAPDU: 80 0D 03 02 [22:14:58]Write to MH i2c: E2 08 00 3C 14 80 0D 03 02 00 00 00 00 CB [22:14:58]Write i2c OK [22:14:58]MH_I2C_Read... [22:14:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:14:58]Read from MH i2c: E2 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 0B 00 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 0B 00 3C 14 00 75 89 A3 9A 02 78 29 4C 90 00 F6 [22:14:58]RAPDU: 75 89 A3 9A 02 78 29 4C 90 00 [22:14:58]wFMCommunicate OK [22:14:58]SAM_PROTO_SignData done [22:14:58]FM_MakeSignedData done [22:14:58]CreateOFDProtocolMessage [22:14:58]wFMCommunicate request_size=4 [22:14:58]MH_SAM_APDU [22:14:58]CAPDU: 80 11 00 00 [22:14:58]Write to MH i2c: E2 08 00 3D 14 80 11 00 00 00 00 00 00 CB [22:14:58]Write i2c OK [22:14:58]MH_I2C_Read... [22:14:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:14:58]Read from MH i2c: E2 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 17 00 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: E2 17 00 3D 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1E [22:14:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [22:14:58]wFMCommunicate OK [22:14:58]CreateOFDProtocolMessage done [22:14:58]OFDSenderStorePacket 4081 [22:14:58]StoreOFDPacket docnum=4081 [22:14:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 B7 42 16 01 E1 54 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 66 40 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F1 0F 00 00 35 04 06 00 7B 4C DE 67 43 DA 75 89 A3 9A 02 78 29 4C [22:14:58]CheckFolder [22:14:58]dirname=/storage/ofd_packets [22:14:58]CheckFolder done [22:14:58]ProducePacketName [22:14:58]name=ofd_packets/00004081 [22:14:58]NVStorageSaveData ofd_packets/00004081 [22:14:58]File name is /storage/ofd_packets/00004081 [22:14:58]Write 316 bytes [22:14:58]NVStorageSaveData done [22:14:58]OFDSenderStorePacket done [22:14:58]KKMCreateOFDPacket done [22:14:58]NVStorageSaveData kkm_last_timestamp [22:14:58]File name is /storage/kkm_last_timestamp [22:14:58]Write 4 bytes [22:14:58]NVStorageSaveData done [22:14:58]ExternCall_PrintAddStr [22:14:58]wPrintStart [22:14:58]Write to MH i2c: 01 00 00 3E 14 52 [22:14:58]Write i2c OK [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: 01 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: 01 07 00 [22:14:58]MH_I2C_Read... [22:14:58]Read from MH i2c: 01 07 00 3E 14 00 00 00 00 00 FF 0F 67 [22:14:58]RasterBufferAndPrint [22:14:58]line Счет N : (3)4335 [22:14:58]line ИНН: 02508201610067 [22:14:58]line Контрольно-Кассовый Чек [22:14:58]line ПРОДАЖА [22:14:58]line Товар: 4870001570071 [22:14:58]line Напиток Pepsi 1л [22:14:58]line 1.000 * 110.00 [22:14:58]line = 110.00 [22:14:58]line НДС 12% НСП 1% [22:14:58]line > о реализуемом товаре [22:14:58]line ИТОГО: 110.00 [22:14:58]line НСП 1% : 0.97 [22:14:58]line НДС 12% : 11.68 [22:14:58]line Наличными: 110.00 [22:14:58]line Безнал.: 0.00 [22:14:58]line Место: АЗС № 116 "Партнер Нефть" [22:14:58]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [22:14:58]line СНО: Общий режим [22:14:58]line Чек 62 03.06.2024 22:15 [22:14:58]line Смена: 82 ФФД: 1.0 [22:14:58]line ЗНМ: 0300000233 [22:14:58]line РНМ: 0000000000145775 [22:14:58]line Версия ККМ: v1.0 [22:14:58]line ФМ: 0000000000959360 [22:14:58]line ФД: 4081 [22:14:58]line ФПД: 135570079040474 [22:14:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T221502&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4081&fm=135570079040474&tin=02508201610067®Number=0000000000145775&sum=11000 [22:14:58]line 0 [22:14:58]OFD Sender: Processing packet 4081 [packets to send 2, broken 1] [22:14:58]ProducePacketName [22:14:58]name=ofd_packets/00004081 [22:14:58]OFD Sender: To server: pG, [22:14:58]CommunicateWithHost lk.salyk.kg:30040 [22:14:58]ConnectInit lk.salyk.kg [22:14:58]written 0, free lines is 4095 [22:14:58]Connected sock=8 [22:14:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 B7 42 16 01 E1 54 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 66 40 5E 66 0E 04 04 00 52 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F1 0F 00 00 35 04 06 00 7B 4C DE 67 43 DA 75 89 A3 9A 02 78 29 4C [22:14:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 B2 A9 47 00 D9 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 30 39 35 39 33 36 30 10 04 04 00 F1 0F 00 00 F4 03 04 00 68 EC 5D 66 B6 04 01 00 00 60 71 4F B8 D1 8C 10 A7 [22:14:58]CommunicateWithHost err = 0 [22:14:58]CheckOFDResponse [22:14:58]1017 (14) - 77093643461234 [22:14:58]1041 (16) - 0000000000959360 [22:14:58]1040 (4) - 4081 [22:14:58]1012 (4) - 03.06.2024 16:16 [22:14:58]1206 (1) - 0 [22:14:58]OFD Sender: Remove packet 4081 [22:14:58]ProducePacketName [22:14:58]name=ofd_packets/00004081 [22:14:58]NVStorageDeleteData [22:14:59]Write to MH i2c: 01 00 00 66 14 7A [22:14:59]Write i2c OK [22:14:59]MH_I2C_Read... [22:14:59]Read from MH i2c: 01 [22:14:59]MH_I2C_Read... [22:14:59]Read from MH i2c: 01 07 00 [22:14:59]MH_I2C_Read... [22:14:59]Read from MH i2c: 01 07 00 66 14 00 00 00 00 00 C3 0C 50 [22:14:59]RasterBufferAndPrint [22:14:59]line [22:14:59]line [22:14:59]line [22:14:59]line [22:14:59]line [22:14:59]written 0, free lines is 3272 [22:14:59]MH_Cut [22:14:59]Write to MH i2c: D1 01 00 6D 14 01 53 [22:14:59]Write i2c OK [22:14:59]MH_I2C_Read... [22:14:59]Read from MH i2c: D1 [22:14:59]MH_I2C_Read... [22:14:59]Read from MH i2c: D1 01 00 [22:14:59]MH_I2C_Read... [22:14:59]Read from MH i2c: D1 01 00 6D 14 00 52 [22:14:59]Write to MH i2c: 01 00 00 6E 14 82 [22:14:59]Write i2c OK [22:14:59]MH_I2C_Read... [22:14:59]OFD Sender: No OFD packet to send [22:14:59]*** Cut start [22:14:59]*** Partial cut [22:14:59]*** CUTSNS_PIN = 1 [22:15:00]*** CUTSNS_PIN = 0 [22:15:00]*** Brake cut motor [22:15:00]Read from MH i2c: 01 [22:15:00]MH_I2C_Read... [22:15:00]*** Stop cut motor [22:15:00]*** Cut end [22:15:00]Read from MH i2c: 01 07 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: 01 07 00 6E 14 00 00 00 00 00 FF 0F 97 [22:15:00]process_action close_receipt done [22:15:00]requested_data is exist [22:15:00]produce_requested_data [22:15:00]requested_item fm.sn is exist - process it [22:15:00]wFMCommunicate request_size=4 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 11 00 00 [22:15:00]Write to MH i2c: E2 08 00 6F 14 80 11 00 00 00 00 00 00 FD [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 17 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 17 00 6F 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 50 [22:15:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [22:15:00]wFMCommunicate OK [22:15:00]requested_item fd.num is exist - process it [22:15:00]SAM_PROTO_GetFieldsCounters [22:15:00]wFMCommunicate request_size=4 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 13 00 00 [22:15:00]Write to MH i2c: E2 08 00 70 14 80 13 00 00 00 00 00 00 00 [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 62 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 62 00 70 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 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 31 [22:15:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 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 [22:15:00]wFMCommunicate OK [22:15:00]SAM_PROTO_GetFieldsCounters done [22:15:00]requested_item shift.num is exist - process it [22:15:00]requested_item shift.opened is exist - process it [22:15:00]req_shift_opened [22:15:00]FM_GetShiftState [22:15:00]SAM_PROTO_GetShiftState [22:15:00]wFMCommunicate request_size=4 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 13 01 00 [22:15:00]Write to MH i2c: E2 08 00 71 14 80 13 01 00 00 00 00 00 02 [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 0E 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 0E 00 71 14 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 90 [22:15:00]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [22:15:00]wFMCommunicate OK [22:15:00]SAM_PROTO_GetShiftState done [22:15:00]FM_GetShiftState done [22:15:00]req_shift_opened done [22:15:00]requested_item shift.open_date is exist - process it [22:15:00]req_shift_open_date [22:15:00]req_shift_open_date done [22:15:00]produce_requested_data done [22:15:00]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4081,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [22:15:00]process_action_free close_receipt [22:15:00]json_value_free [22:15:00]json_value_free done [22:15:00]process_json_proto returns [22:15:00]Send response to host [22:15:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4081,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [22:15:00]free response buf [22:15:00]execute_script done [22:15:00]execute_script returns [22:15:00]free content buf [22:15:00]Sock 9.Close socket [22:15:00]Sock 9.Thread stoped [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:14]OFD Sender: No OFD packet to send [22:17:19]OFD Sender: No OFD packet to send [22:17:24]OFD Sender: No OFD packet to send [22:17:29]OFD Sender: No OFD packet to send [22:17:34]OFD Sender: No OFD packet to send [22:17:39]OFD Sender: No OFD packet to send [22:17:44]OFD Sender: No OFD packet to send [22:17:49]OFD Sender: No OFD packet to send [22:17:54]OFD Sender: No OFD packet to send [22:17:59]OFD Sender: No OFD packet to send [22:18:04]OFD Sender: No OFD packet to send [22:18:09]OFD Sender: No OFD packet to send [22:18:14]OFD Sender: No OFD packet to send [22:18:19]OFD Sender: No OFD packet to send [22:18:24]OFD Sender: No OFD packet to send [22:18:29]OFD Sender: No OFD packet to send [22:18:34]OFD Sender: No OFD packet to send [22:18:39]OFD Sender: No OFD packet to send [22:18:44]OFD Sender: No OFD packet to send [22:18:49]OFD Sender: No OFD packet to send [22:18:54]OFD Sender: No OFD packet to send [22:18:59]OFD Sender: No OFD packet to send [22:19:04]OFD Sender: No OFD packet to send [22:19:09]OFD Sender: No OFD packet to send [22:19:14]OFD Sender: No OFD packet to send [22:19:19]OFD Sender: No OFD packet to send [22:19:24]OFD Sender: No OFD packet to send [22:19:29]OFD Sender: No OFD packet to send [22:19:34]OFD Sender: No OFD packet to send [22:19:39]OFD Sender: No OFD packet to send [22:19:44]OFD Sender: No OFD packet to send [22:19:49]OFD Sender: No OFD packet to send [22:19:54]OFD Sender: No OFD packet to send [22:19:59]OFD Sender: No OFD packet to send [22:20:04]OFD Sender: No OFD packet to send [22:20:09]OFD Sender: No OFD packet to send [22:20:14]OFD Sender: No OFD packet to send [22:20:19]OFD Sender: No OFD packet to send [22:20:24]OFD Sender: No OFD packet to send [22:20:29]OFD Sender: No OFD packet to send [22:20:34]OFD Sender: No OFD packet to send [22:20:39]OFD Sender: No OFD packet to send [22:20:44]OFD Sender: No OFD packet to send [22:20:49]OFD Sender: No OFD packet to send [22:20:54]OFD Sender: No OFD packet to send [22:20:59]OFD Sender: No OFD packet to send [22:21:04]OFD Sender: No OFD packet to send [22:21:09]OFD Sender: No OFD packet to send [22:21:14]OFD Sender: No OFD packet to send [22:21:19]OFD Sender: No OFD packet to send [22:21:24]OFD Sender: No OFD packet to send [22:21:29]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:14]OFD Sender: No OFD packet to send [22:22:19]OFD Sender: No OFD packet to send [22:22:24]OFD Sender: No OFD packet to send [22:22:29]OFD Sender: No OFD packet to send [22:22:34]OFD Sender: No OFD packet to send [22:22:39]OFD Sender: No OFD packet to send [22:22:44]OFD Sender: No OFD packet to send [22:22:49]OFD Sender: No OFD packet to send [22:22:54]OFD Sender: No OFD packet to send [22:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:39]OFD Sender: No OFD packet to send [22:23:44]OFD Sender: No OFD packet to send [22:23:49]OFD Sender: No OFD packet to send [22:23:54]OFD Sender: No OFD packet to send [22:23:59]OFD Sender: No OFD packet to send [22:24:04]OFD Sender: No OFD packet to send [22:24:09]OFD Sender: No OFD packet to send [22:24:14]OFD Sender: No OFD packet to send [22:24:19]OFD Sender: No OFD packet to send [22:24:24]OFD Sender: No OFD packet to send [22:24:29]OFD Sender: No OFD packet to send [22:24:34]OFD Sender: No OFD packet to send [22:24:39]OFD Sender: No OFD packet to send [22:24:44]OFD Sender: No OFD packet to send [22:24:49]OFD Sender: No OFD packet to send [22:24:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:50]OFD Sender: No OFD packet to send [22:27:55]OFD Sender: No OFD packet to send [22:28:00]OFD Sender: No OFD packet to send [22:28:05]OFD Sender: No OFD packet to send [22:28:10]OFD Sender: No OFD packet to send [22:28:15]OFD Sender: No OFD packet to send [22:28:20]OFD Sender: No OFD packet to send [22:28:25]OFD Sender: No OFD packet to send [22:28:30]OFD Sender: No OFD packet to send [22:28:35]OFD Sender: No OFD packet to send [22:28:40]OFD Sender: No OFD packet to send [22:28:45]OFD Sender: No OFD packet to send [22:28:50]OFD Sender: No OFD packet to send [22:28:55]OFD Sender: No OFD packet to send [22:29:00]OFD Sender: No OFD packet to send [22:29:05]OFD Sender: No OFD packet to send [22:29:10]OFD Sender: No OFD packet to send [22:29:15]OFD Sender: No OFD packet to send [22:29:20]OFD Sender: No OFD packet to send [22:29:25]OFD Sender: No OFD packet to send [22:29:30]OFD Sender: No OFD packet to send [22:29:35]OFD Sender: No OFD packet to send [22:29:40]OFD Sender: No OFD packet to send [22:29:45]OFD Sender: No OFD packet to send [22:29:50]OFD Sender: No OFD packet to send [22:29:55]OFD Sender: No OFD packet to send [22:30:00]OFD Sender: No OFD packet to send [22:30:05]OFD Sender: No OFD packet to send [22:30:10]OFD Sender: No OFD packet to send [22:30:15]OFD Sender: No OFD packet to send [22:30:20]OFD Sender: No OFD packet to send [22:30:25]OFD Sender: No OFD packet to send [22:30:30]OFD Sender: No OFD packet to send [22:30:35]OFD Sender: No OFD packet to send [22:30:40]OFD Sender: No OFD packet to send [22:30:45]OFD Sender: No OFD packet to send [22:30:50]OFD Sender: No OFD packet to send [22:30:55]OFD Sender: No OFD packet to send [22:31:00]OFD Sender: No OFD packet to send [22:31:05]OFD Sender: No OFD packet to send [22:31:10]OFD Sender: No OFD packet to send [22:31:15]OFD Sender: No OFD packet to send [22:31:20]OFD Sender: No OFD packet to send [22:31:25]OFD Sender: No OFD packet to send [22:31:30]OFD Sender: No OFD packet to send [22:31:35]OFD Sender: No OFD packet to send [22:31:40]OFD Sender: No OFD packet to send [22:31:45]OFD Sender: No OFD packet to send [22:31:50]OFD Sender: No OFD packet to send [22:31:55]OFD Sender: No OFD packet to send [22:32:00]OFD Sender: No OFD packet to send [22:32:05]OFD Sender: No OFD packet to send [22:32:10]OFD Sender: No OFD packet to send [22:32:15]OFD Sender: No OFD packet to send [22:32:20]OFD Sender: No OFD packet to send [22:32:25]OFD Sender: No OFD packet to send [22:32:30]OFD Sender: No OFD packet to send [22:32:35]OFD Sender: No OFD packet to send [22:32:40]OFD Sender: No OFD packet to send [22:32:45]OFD Sender: No OFD packet to send [22:32:50]OFD Sender: No OFD packet to send [22:32:55]OFD Sender: No OFD packet to send [22:33:00]OFD Sender: No OFD packet to send [22:33:05]OFD Sender: No OFD packet to send [22:33:10]OFD Sender: No OFD packet to send [22:33:15]OFD Sender: No OFD packet to send [22:33:20]OFD Sender: No OFD packet to send [22:33:25]OFD Sender: No OFD packet to send [22:33:30]OFD Sender: No OFD packet to send [22:33:35]OFD Sender: No OFD packet to send [22:33:40]OFD Sender: No OFD packet to send [22:33:45]OFD Sender: No OFD packet to send [22:33:50]OFD Sender: No OFD packet to send [22:33:55]OFD Sender: No OFD packet to send [22:34:00]OFD Sender: No OFD packet to send [22:34:05]OFD Sender: No OFD packet to send [22:34:10]OFD Sender: No OFD packet to send [22:34:15]OFD Sender: No OFD packet to send [22:34:20]OFD Sender: No OFD packet to send [22:34:25]OFD Sender: No OFD packet to send [22:34:30]OFD Sender: No OFD packet to send [22:34:35]OFD Sender: No OFD packet to send [22:34:40]OFD Sender: No OFD packet to send [22:34:45]OFD Sender: No OFD packet to send [22:34:50]OFD Sender: No OFD packet to send [22:34:55]OFD Sender: No OFD packet to send [22:35:00]OFD Sender: No OFD packet to send [22:35:05]OFD Sender: No OFD packet to send [22:35:10]OFD Sender: No OFD packet to send [22:35:15]OFD Sender: No OFD packet to send [22:35:20]OFD Sender: No OFD packet to send [22:35:25]OFD Sender: No OFD packet to send [22:35:30]OFD Sender: No OFD packet to send [22:35:35]OFD Sender: No OFD packet to send [22:35:40]OFD Sender: No OFD packet to send [22:35:45]OFD Sender: No OFD packet to send [22:35:50]OFD Sender: No OFD packet to send [22:35:55]OFD Sender: No OFD packet to send [22:36:00]OFD Sender: No OFD packet to send [22:36:05]OFD Sender: No OFD packet to send [22:36:10]OFD Sender: No OFD packet to send [22:36:15]OFD Sender: No OFD packet to send [22:36:20]OFD Sender: No OFD packet to send [22:36:25]OFD Sender: No OFD packet to send [22:36:30]OFD Sender: No OFD packet to send [22:36:35]OFD Sender: No OFD packet to send [22:36:40]OFD Sender: No OFD packet to send [22:36:45]OFD Sender: No OFD packet to send [22:36:50]OFD Sender: No OFD packet to send [22:36:55]OFD Sender: No OFD packet to send [22:37:00]OFD Sender: No OFD packet to send [22:37:05]OFD Sender: No OFD packet to send [22:37:10]OFD Sender: No OFD packet to send [22:37:15]OFD Sender: No OFD packet to send [22:37:20]OFD Sender: No OFD packet to send [22:37:25]OFD Sender: No OFD packet to send [22:37:30]OFD Sender: No OFD packet to send [22:37:35]OFD Sender: No OFD packet to send [22:37:40]OFD Sender: No OFD packet to send [22:37:45]OFD Sender: No OFD packet to send [22:37:50]OFD Sender: No OFD packet to send [22:37:55]OFD Sender: No OFD packet to send [22:38:00]OFD Sender: No OFD packet to send [22:38:05]OFD Sender: No OFD packet to send [22:38:10]OFD Sender: No OFD packet to send [22:38:15]OFD Sender: No OFD packet to send [22:38:20]OFD Sender: No OFD packet to send [22:38:25]OFD Sender: No OFD packet to send [22:38:30]OFD Sender: No OFD packet to send [22:38:35]OFD Sender: No OFD packet to send [22:38:40]OFD Sender: No OFD packet to send [22:38:45]OFD Sender: No OFD packet to send [22:38:50]OFD Sender: No OFD packet to send [22:38:55]OFD Sender: No OFD packet to send [22:39:00]OFD Sender: No OFD packet to send [22:39:05]OFD Sender: No OFD packet to send [22:39:10]OFD Sender: No OFD packet to send [22:39:15]OFD Sender: No OFD packet to send [22:39:20]OFD Sender: No OFD packet to send [22:39:25]OFD Sender: No OFD packet to send [22:39:30]OFD Sender: No OFD packet to send [22:39:35]OFD Sender: No OFD packet to send [22:39:40]OFD Sender: No OFD packet to send [22:39:45]OFD Sender: No OFD packet to send [22:39:50]OFD Sender: No OFD packet to send [22:39:55]OFD Sender: No OFD packet to send [22:40:00]OFD Sender: No OFD packet to send [22:40:05]OFD Sender: No OFD packet to send [22:40:10]OFD Sender: No OFD packet to send [22:40:15]OFD Sender: No OFD packet to send [22:40:20]OFD Sender: No OFD packet to send [22:40:25]OFD Sender: No OFD packet to send [22:40:30]OFD Sender: No OFD packet to send [22:40:35]OFD Sender: No OFD packet to send [22:40:40]OFD Sender: No OFD packet to send [22:40:45]OFD Sender: No OFD packet to send [22:40:50]OFD Sender: No OFD packet to send [22:40:55]OFD Sender: No OFD packet to send [22:41:00]OFD Sender: No OFD packet to send [22:41:05]OFD Sender: No OFD packet to send [22:41:10]OFD Sender: No OFD packet to send [22:41:15]OFD Sender: No OFD packet to send [22:41:20]OFD Sender: No OFD packet to send [22:41:25]OFD Sender: No OFD packet to send [22:41:30]OFD Sender: No OFD packet to send [22:41:35]OFD Sender: No OFD packet to send [22:41:40]OFD Sender: No OFD packet to send [22:41:45]OFD Sender: No OFD packet to send [22:41:50]OFD Sender: No OFD packet to send [22:41:55]OFD Sender: No OFD packet to send [22:42:00]OFD Sender: No OFD packet to send [22:42:05]OFD Sender: No OFD packet to send [22:42:10]OFD Sender: No OFD packet to send [22:42:15]OFD Sender: No OFD packet to send [22:42:20]OFD Sender: No OFD packet to send [22:42:25]OFD Sender: No OFD packet to send [22:42:30]OFD Sender: No OFD packet to send [22:42:35]OFD Sender: No OFD packet to send [22:42:40]OFD Sender: No OFD packet to send [22:42:45]OFD Sender: No OFD packet to send [22:42:50]OFD Sender: No OFD packet to send [22:42:55]OFD Sender: No OFD packet to send [22:43:00]OFD Sender: No OFD packet to send [22:43:05]OFD Sender: No OFD packet to send [22:43:10]OFD Sender: No OFD packet to send [22:43:15]OFD Sender: No OFD packet to send [22:43:20]OFD Sender: No OFD packet to send [22:43:25]OFD Sender: No OFD packet to send [22:43:30]OFD Sender: No OFD packet to send [22:43:35]OFD Sender: No OFD packet to send [22:43:40]OFD Sender: No OFD packet to send [22:43:45]OFD Sender: No OFD packet to send [22:43:50]OFD Sender: No OFD packet to send [22:43:55]OFD Sender: No OFD packet to send [22:44:00]OFD Sender: No OFD packet to send [22:44:05]OFD Sender: No OFD packet to send [22:44:10]OFD Sender: No OFD packet to send [22:44:15]OFD Sender: No OFD packet to send [22:44:20]OFD Sender: No OFD packet to send [22:44:25]OFD Sender: No OFD packet to send [22:44:30]OFD Sender: No OFD packet to send [22:44:35]OFD Sender: No OFD packet to send [22:44:40]OFD Sender: No OFD packet to send [22:44:45]OFD Sender: No OFD packet to send [22:44:50]OFD Sender: No OFD packet to send [22:44:55]OFD Sender: No OFD packet to send [22:45:00]OFD Sender: No OFD packet to send [22:45:05]OFD Sender: No OFD packet to send [22:45:10]OFD Sender: No OFD packet to send [22:45:15]OFD Sender: No OFD packet to send [22:45:20]OFD Sender: No OFD packet to send [22:45:25]OFD Sender: No OFD packet to send [22:45:30]OFD Sender: No OFD packet to send [22:45:35]OFD Sender: No OFD packet to send [22:45:40]OFD Sender: No OFD packet to send [22:45:45]OFD Sender: No OFD packet to send [22:45:50]OFD Sender: No OFD packet to send [22:45:55]OFD Sender: No OFD packet to send [22:46:00]OFD Sender: No OFD packet to send [22:46:05]OFD Sender: No OFD packet to send [22:46:10]OFD Sender: No OFD packet to send [22:46:15]OFD Sender: No OFD packet to send [22:46:20]OFD Sender: No OFD packet to send [22:46:25]OFD Sender: No OFD packet to send [22:46:30]OFD Sender: No OFD packet to send [22:46:35]OFD Sender: No OFD packet to send [22:46:40]OFD Sender: No OFD packet to send [22:46:45]OFD Sender: No OFD packet to send [22:46:50]OFD Sender: No OFD packet to send [22:46:55]OFD Sender: No OFD packet to send [22:47:00]OFD Sender: No OFD packet to send [22:47:05]OFD Sender: No OFD packet to send [22:47:10]OFD Sender: No OFD packet to send [22:47:15]OFD Sender: No OFD packet to send [22:47:20]OFD Sender: No OFD packet to send [22:47:25]OFD Sender: No OFD packet to send [22:47:30]OFD Sender: No OFD packet to send [22:47:35]OFD Sender: No OFD packet to send [22:47:40]OFD Sender: No OFD packet to send [22:47:45]OFD Sender: No OFD packet to send [22:47:50]OFD Sender: No OFD packet to send [22:47:55]OFD Sender: No OFD packet to send [22:48:00]OFD Sender: No OFD packet to send [22:48:05]OFD Sender: No OFD packet to send [22:48:10]OFD Sender: No OFD packet to send [22:48:15]OFD Sender: No OFD packet to send [22:48:20]OFD Sender: No OFD packet to send [22:48:25]OFD Sender: No OFD packet to send [22:48:30]OFD Sender: No OFD packet to send [22:48:35]OFD Sender: No OFD packet to send [22:48:40]OFD Sender: No OFD packet to send [22:48:45]OFD Sender: No OFD packet to send [22:48:50]OFD Sender: No OFD packet to send [22:48:55]OFD Sender: No OFD packet to send [22:49:00]OFD Sender: No OFD packet to send [22:49:05]OFD Sender: No OFD packet to send [22:49:10]OFD Sender: No OFD packet to send [22:49:15]OFD Sender: No OFD packet to send [22:49:20]OFD Sender: No OFD packet to send [22:49:25]OFD Sender: No OFD packet to send [22:49:30]OFD Sender: No OFD packet to send [22:49:35]OFD Sender: No OFD packet to send [22:49:40]OFD Sender: No OFD packet to send [22:49:45]OFD Sender: No OFD packet to send [22:49:51]OFD Sender: No OFD packet to send [22:49:56]OFD Sender: No OFD packet to send [22:50:01]OFD Sender: No OFD packet to send [22:50:06]OFD Sender: No OFD packet to send [22:50:11]OFD Sender: No OFD packet to send [22:50:16]OFD Sender: No OFD packet to send [22:50:21]OFD Sender: No OFD packet to send [22:50:26]OFD Sender: No OFD packet to send [22:50:31]OFD Sender: No OFD packet to send [22:50:36]OFD Sender: No OFD packet to send [22:50:41]OFD Sender: No OFD packet to send [22:50:46]OFD Sender: No OFD packet to send [22:50:51]OFD Sender: No OFD packet to send [22:50:56]OFD Sender: No OFD packet to send [22:51:01]OFD Sender: No OFD packet to send [22:51:06]OFD Sender: No OFD packet to send [22:51:11]OFD Sender: No OFD packet to send [22:51:16]OFD Sender: No OFD packet to send [22:51:21]OFD Sender: No OFD packet to send [22:51:26]OFD Sender: No OFD packet to send [22:51:31]OFD Sender: No OFD packet to send [22:51:36]OFD Sender: No OFD packet to send [22:51:41]OFD Sender: No OFD packet to send [22:51:46]OFD Sender: No OFD packet to send [22:51:51]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:41]OFD Sender: No OFD packet to send [22:55:46]OFD Sender: No OFD packet to send [22:55:51]OFD Sender: No OFD packet to send [22:55:56]OFD Sender: No OFD packet to send [22:56:01]OFD Sender: No OFD packet to send [22:56:06]OFD Sender: No OFD packet to send [22:56:11]OFD Sender: No OFD packet to send [22:56:16]OFD Sender: No OFD packet to send [22:56:21]OFD Sender: No OFD packet to send [22:56:26]OFD Sender: No OFD packet to send [22:56:31]OFD Sender: No OFD packet to send [22:56:36]OFD Sender: No OFD packet to send [22:56:41]OFD Sender: No OFD packet to send [22:56:46]OFD Sender: No OFD packet to send [22:56:51]OFD Sender: No OFD packet to send [22:56:56]OFD Sender: No OFD packet to send [22:57:01]OFD Sender: No OFD packet to send [22:57:06]OFD Sender: No OFD packet to send [22:57:11]OFD Sender: No OFD packet to send [22:57:16]OFD Sender: No OFD packet to send [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:41]OFD Sender: No OFD packet to send [22:57:46]OFD Sender: No OFD packet to send [22:57:51]OFD Sender: No OFD packet to send [22:57:56]OFD Sender: No OFD packet to send [22:58:01]OFD Sender: No OFD packet to send [22:58:06]OFD Sender: No OFD packet to send [22:58:11]OFD Sender: No OFD packet to send [22:58:16]OFD Sender: No OFD packet to send [22:58:21]OFD Sender: No OFD packet to send [22:58:26]OFD Sender: No OFD packet to send [22:58:31]OFD Sender: No OFD packet to send [22:58:36]OFD Sender: No OFD packet to send [22:58:41]OFD Sender: No OFD packet to send [22:58:46]OFD Sender: No OFD packet to send [22:58:51]OFD Sender: No OFD packet to send [22:58:56]OFD Sender: No OFD packet to send [22:59:01]OFD Sender: No OFD packet to send [22:59:06]OFD Sender: No OFD packet to send [22:59:11]OFD Sender: No OFD packet to send [22:59:16]OFD Sender: No OFD packet to send [22:59:21]OFD Sender: No OFD packet to send [22:59:26]OFD Sender: No OFD packet to send [22:59:31]OFD Sender: No OFD packet to send [22:59:36]OFD Sender: No OFD packet to send [22:59:41]OFD Sender: No OFD packet to send [22:59:46]OFD Sender: No OFD packet to send [22:59:51]OFD Sender: No OFD packet to send [22:59:56]OFD Sender: No OFD packet to send [23:00:01]OFD Sender: No OFD packet to send [23:00:06]OFD Sender: No OFD packet to send [23:00:11]OFD Sender: No OFD packet to send [23:00:16]OFD Sender: No OFD packet to send [23:00:21]OFD Sender: No OFD packet to send [23:00:26]OFD Sender: No OFD packet to send [23:00:31]OFD Sender: No OFD packet to send [23:00:36]OFD Sender: No OFD packet to send [23:00:41]OFD Sender: No OFD packet to send [23:00:46]OFD Sender: No OFD packet to send [23:00:51]OFD Sender: No OFD packet to send [23:00:56]OFD Sender: No OFD packet to send [23:01:01]OFD Sender: No OFD packet to send [23:01:06]OFD Sender: No OFD packet to send [23:01:11]OFD Sender: No OFD packet to send [23:01:16]OFD Sender: No OFD packet to send [23:01:21]OFD Sender: No OFD packet to send [23:01:26]OFD Sender: No OFD packet to send [23:01:31]OFD Sender: No OFD packet to send [23:01:36]OFD Sender: No OFD packet to send [23:01:41]OFD Sender: No OFD packet to send [23:01:46]OFD Sender: No OFD packet to send [23:01:51]OFD Sender: No OFD packet to send [23:01:56]OFD Sender: No OFD packet to send [23:02:01]OFD Sender: No OFD packet to send [23:02:06]OFD Sender: No OFD packet to send [23:02:11]OFD Sender: No OFD packet to send [23:02:16]OFD Sender: No OFD packet to send [23:02:21]OFD Sender: No OFD packet to send [23:02:26]OFD Sender: No OFD packet to send [23:02:31]OFD Sender: No OFD packet to send [23:02:36]OFD Sender: No OFD packet to send [23:02:41]OFD Sender: No OFD packet to send [23:02:46]OFD Sender: No OFD packet to send [23:02:51]OFD Sender: No OFD packet to send [23:02:56]OFD Sender: No OFD packet to send [23:03:01]OFD Sender: No OFD packet to send [23:03:06]OFD Sender: No OFD packet to send [23:03:11]OFD Sender: No OFD packet to send [23:03:16]OFD Sender: No OFD packet to send [23:03:21]OFD Sender: No OFD packet to send [23:03:26]OFD Sender: No OFD packet to send [23:03:31]OFD Sender: No OFD packet to send [23:03:36]OFD Sender: No OFD packet to send [23:03:41]OFD Sender: No OFD packet to send [23:03:46]OFD Sender: No OFD packet to send [23:03:51]OFD Sender: No OFD packet to send [23:03:56]OFD Sender: No OFD packet to send [23:04:01]OFD Sender: No OFD packet to send [23:04:06]OFD Sender: No OFD packet to send [23:04:11]OFD Sender: No OFD packet to send [23:04:16]OFD Sender: No OFD packet to send [23:04:21]OFD Sender: No OFD packet to send [23:04:26]OFD Sender: No OFD packet to send [23:04:31]OFD Sender: No OFD packet to send [23:04:36]OFD Sender: No OFD packet to send [23:04:41]OFD Sender: No OFD packet to send [23:04:46]OFD Sender: No OFD packet to send [23:04:51]OFD Sender: No OFD packet to send [23:04:56]OFD Sender: No OFD packet to send [23:05:01]OFD Sender: No OFD packet to send [23:05:06]OFD Sender: No OFD packet to send [23:05:11]OFD Sender: No OFD packet to send [23:05:16]OFD Sender: No OFD packet to send [23:05:21]OFD Sender: No OFD packet to send [23:05:26]OFD Sender: No OFD packet to send [23:05:31]OFD Sender: No OFD packet to send [23:05:36]OFD Sender: No OFD packet to send [23:05:41]OFD Sender: No OFD packet to send [23:05:46]OFD Sender: No OFD packet to send [23:05:51]OFD Sender: No OFD packet to send [23:05:56]OFD Sender: No OFD packet to send [23:06:01]OFD Sender: No OFD packet to send [23:06:06]OFD Sender: No OFD packet to send [23:06:11]OFD Sender: No OFD packet to send [23:06:16]OFD Sender: No OFD packet to send [23:06:21]OFD Sender: No OFD packet to send [23:06:26]OFD Sender: No OFD packet to send [23:06:31]OFD Sender: No OFD packet to send [23:06:36]OFD Sender: No OFD packet to send [23:06:41]OFD Sender: No OFD packet to send [23:06:46]OFD Sender: No OFD packet to send [23:06:51]OFD Sender: No OFD packet to send [23:06:56]OFD Sender: No OFD packet to send [23:07:01]OFD Sender: No OFD packet to send [23:07:06]OFD Sender: No OFD packet to send [23:07:11]OFD Sender: No OFD packet to send [23:07:16]OFD Sender: No OFD packet to send [23:07:21]OFD Sender: No OFD packet to send [23:07:26]OFD Sender: No OFD packet to send [23:07:31]OFD Sender: No OFD packet to send [23:07:36]OFD Sender: No OFD packet to send [23:07:41]OFD Sender: No OFD packet to send [23:07:46]OFD Sender: No OFD packet to send [23:07:51]OFD Sender: No OFD packet to send [23:07:56]OFD Sender: No OFD packet to send [23:08:01]OFD Sender: No OFD packet to send [23:08:06]OFD Sender: No OFD packet to send [23:08:11]OFD Sender: No OFD packet to send [23:08:16]OFD Sender: No OFD packet to send [23:08:21]OFD Sender: No OFD packet to send [23:08:26]OFD Sender: No OFD packet to send [23:08:31]OFD Sender: No OFD packet to send [23:08:36]OFD Sender: No OFD packet to send [23:08:41]OFD Sender: No OFD packet to send [23:08:46]OFD Sender: No OFD packet to send [23:08:51]OFD Sender: No OFD packet to send [23:08:56]OFD Sender: No OFD packet to send [23:09:01]OFD Sender: No OFD packet to send [23:09:06]OFD Sender: No OFD packet to send [23:09:11]OFD Sender: No OFD packet to send [23:09:16]OFD Sender: No OFD packet to send [23:09:21]OFD Sender: No OFD packet to send [23:09:26]OFD Sender: No OFD packet to send [23:09:31]OFD Sender: No OFD packet to send [23:09:36]OFD Sender: No OFD packet to send [23:09:41]OFD Sender: No OFD packet to send [23:09:46]OFD Sender: No OFD packet to send [23:09:51]OFD Sender: No OFD packet to send [23:09:56]OFD Sender: No OFD packet to send [23:10:01]OFD Sender: No OFD packet to send [23:10:06]OFD Sender: No OFD packet to send [23:10:11]OFD Sender: No OFD packet to send [23:10:16]OFD Sender: No OFD packet to send [23:10:21]OFD Sender: No OFD packet to send [23:10:26]OFD Sender: No OFD packet to send [23:10:31]OFD Sender: No OFD packet to send [23:10:36]OFD Sender: No OFD packet to send [23:10:41]OFD Sender: No OFD packet to send [23:10:46]OFD Sender: No OFD packet to send [23:10:51]OFD Sender: No OFD packet to send [23:10:56]OFD Sender: No OFD packet to send [23:11:01]OFD Sender: No OFD packet to send [23:11:06]OFD Sender: No OFD packet to send [23:11:11]OFD Sender: No OFD packet to send [23:11:16]OFD Sender: No OFD packet to send [23:11:21]OFD Sender: No OFD packet to send [23:11:26]OFD Sender: No OFD packet to send [23:11:31]OFD Sender: No OFD packet to send [23:11:36]OFD Sender: No OFD packet to send [23:11:41]OFD Sender: No OFD packet to send [23:11:47]OFD Sender: No OFD packet to send [23:11:52]OFD Sender: No OFD packet to send [23:11:57]OFD Sender: No OFD packet to send [23:12:02]OFD Sender: No OFD packet to send [23:12:07]OFD Sender: No OFD packet to send [23:12:12]OFD Sender: No OFD packet to send [23:12:17]OFD Sender: No OFD packet to send [23:12:22]OFD Sender: No OFD packet to send [23:12:27]OFD Sender: No OFD packet to send [23:12:32]OFD Sender: No OFD packet to send [23:12:37]OFD Sender: No OFD packet to send [23:12:42]OFD Sender: No OFD packet to send [23:12:47]OFD Sender: No OFD packet to send [23:12:52]OFD Sender: No OFD packet to send [23:12:57]OFD Sender: No OFD packet to send [23:13:02]OFD Sender: No OFD packet to send [23:13:07]OFD Sender: No OFD packet to send [23:13:12]OFD Sender: No OFD packet to send [23:13:17]OFD Sender: No OFD packet to send [23:13:22]OFD Sender: No OFD packet to send [23:13:27]OFD Sender: No OFD packet to send [23:13:32]OFD Sender: No OFD packet to send [23:13:37]OFD Sender: No OFD packet to send [23:13:42]OFD Sender: No OFD packet to send [23:13:47]OFD Sender: No OFD packet to send [23:13:52]OFD Sender: No OFD packet to send [23:13:57]OFD Sender: No OFD packet to send [23:14:02]OFD Sender: No OFD packet to send [23:14:07]OFD Sender: No OFD packet to send [23:14:12]OFD Sender: No OFD packet to send [23:14:17]OFD Sender: No OFD packet to send [23:14:22]OFD Sender: No OFD packet to send [23:14:27]OFD Sender: No OFD packet to send [23:14:32]OFD Sender: No OFD packet to send [23:14:37]OFD Sender: No OFD packet to send [23:14:42]OFD Sender: No OFD packet to send [23:14:47]OFD Sender: No OFD packet to send [23:14:52]OFD Sender: No OFD packet to send [23:14:57]OFD Sender: No OFD packet to send [23:15:02]OFD Sender: No OFD packet to send [23:15:07]OFD Sender: No OFD packet to send [23:15:12]OFD Sender: No OFD packet to send [23:15:17]OFD Sender: No OFD packet to send [23:15:22]OFD Sender: No OFD packet to send [23:15:27]OFD Sender: No OFD packet to send [23:15:32]OFD Sender: No OFD packet to send [23:15:37]OFD Sender: No OFD packet to send [23:15:42]OFD Sender: No OFD packet to send [23:15:47]OFD Sender: No OFD packet to send [23:15:52]OFD Sender: No OFD packet to send [23:15:57]OFD Sender: No OFD packet to send [23:16:02]OFD Sender: No OFD packet to send [23:16:07]OFD Sender: No OFD packet to send [23:16:12]OFD Sender: No OFD packet to send [23:16:17]OFD Sender: No OFD packet to send [23:16:22]OFD Sender: No OFD packet to send [23:16:27]OFD Sender: No OFD packet to send [23:16:32]OFD Sender: No OFD packet to send [23:16:37]OFD Sender: No OFD packet to send [23:16:42]OFD Sender: No OFD packet to send [23:16:47]OFD Sender: No OFD packet to send [23:16:52]OFD Sender: No OFD packet to send [23:16:57]OFD Sender: No OFD packet to send [23:17:02]OFD Sender: No OFD packet to send [23:17:07]OFD Sender: No OFD packet to send [23:17:12]OFD Sender: No OFD packet to send [23:17:17]OFD Sender: No OFD packet to send [23:17:22]OFD Sender: No OFD packet to send [23:17:27]OFD Sender: No OFD packet to send [23:17:32]OFD Sender: No OFD packet to send [23:17:37]OFD Sender: No OFD packet to send [23:17:42]OFD Sender: No OFD packet to send [23:17:47]OFD Sender: No OFD packet to send [23:17:52]OFD Sender: No OFD packet to send [23:17:57]OFD Sender: No OFD packet to send [23:18:02]OFD Sender: No OFD packet to send [23:18:07]OFD Sender: No OFD packet to send [23:18:12]OFD Sender: No OFD packet to send [23:18:17]OFD Sender: No OFD packet to send [23:18:22]OFD Sender: No OFD packet to send [23:18:27]OFD Sender: No OFD packet to send [23:18:32]OFD Sender: No OFD packet to send [23:18:37]OFD Sender: No OFD packet to send [23:18:42]OFD Sender: No OFD packet to send [23:18:47]OFD Sender: No OFD packet to send [23:18:52]OFD Sender: No OFD packet to send [23:18:57]OFD Sender: No OFD packet to send [23:19:02]OFD Sender: No OFD packet to send [23:19:07]OFD Sender: No OFD packet to send [23:19:12]OFD Sender: No OFD packet to send [23:19:17]OFD Sender: No OFD packet to send [23:19:22]OFD Sender: No OFD packet to send [23:19:27]OFD Sender: No OFD packet to send [23:19:32]OFD Sender: No OFD packet to send [23:19:37]OFD Sender: No OFD packet to send [23:19:42]OFD Sender: No OFD packet to send [23:19:47]OFD Sender: No OFD packet to send [23:19:52]OFD Sender: No OFD packet to send [23:19:57]OFD Sender: No OFD packet to send [23:20:02]OFD Sender: No OFD packet to send [23:20:07]OFD Sender: No OFD packet to send [23:20:12]OFD Sender: No OFD packet to send [23:20:17]OFD Sender: No OFD packet to send [23:20:22]OFD Sender: No OFD packet to send [23:20:27]OFD Sender: No OFD packet to send [23:20:32]OFD Sender: No OFD packet to send [23:20:37]OFD Sender: No OFD packet to send [23:20:42]OFD Sender: No OFD packet to send [23:20:47]OFD Sender: No OFD packet to send [23:20:52]OFD Sender: No OFD packet to send [23:20:57]OFD Sender: No OFD packet to send [23:21:02]OFD Sender: No OFD packet to send [23:21:07]OFD Sender: No OFD packet to send [23:21:12]OFD Sender: No OFD packet to send [23:21:17]OFD Sender: No OFD packet to send [23:21:22]OFD Sender: No OFD packet to send [23:21:27]OFD Sender: No OFD packet to send [23:21:32]OFD Sender: No OFD packet to send [23:21:37]OFD Sender: No OFD packet to send [23:21:42]OFD Sender: No OFD packet to send [23:21:47]OFD Sender: No OFD packet to send [23:21:52]OFD Sender: No OFD packet to send [23:21:57]OFD Sender: No OFD packet to send [23:22:02]OFD Sender: No OFD packet to send [23:22:07]OFD Sender: No OFD packet to send [23:22:12]OFD Sender: No OFD packet to send [23:22:17]OFD Sender: No OFD packet to send [23:22:22]OFD Sender: No OFD packet to send [23:22:27]OFD Sender: No OFD packet to send [23:22:32]OFD Sender: No OFD packet to send [23:22:37]OFD Sender: No OFD packet to send [23:22:42]OFD Sender: No OFD packet to send [23:22:47]OFD Sender: No OFD packet to send [23:22:52]OFD Sender: No OFD packet to send [23:22:57]OFD Sender: No OFD packet to send [23:23:02]OFD Sender: No OFD packet to send [23:23:07]OFD Sender: No OFD packet to send [23:23:12]OFD Sender: No OFD packet to send [23:23:17]OFD Sender: No OFD packet to send [23:23:22]OFD Sender: No OFD packet to send [23:23:27]OFD Sender: No OFD packet to send [23:23:32]OFD Sender: No OFD packet to send [23:23:37]OFD Sender: No OFD packet to send [23:23:42]OFD Sender: No OFD packet to send [23:23:47]OFD Sender: No OFD packet to send [23:23:52]OFD Sender: No OFD packet to send [23:23:57]OFD Sender: No OFD packet to send [23:24:02]OFD Sender: No OFD packet to send [23:24:07]OFD Sender: No OFD packet to send [23:24:12]OFD Sender: No OFD packet to send [23:24:17]OFD Sender: No OFD packet to send [23:24:22]OFD Sender: No OFD packet to send [23:24:27]OFD Sender: No OFD packet to send [23:24:32]OFD Sender: No OFD packet to send [23:24:37]OFD Sender: No OFD packet to send [23:24:42]OFD Sender: No OFD packet to send [23:24:47]OFD Sender: No OFD packet to send [23:24:52]OFD Sender: No OFD packet to send [23:24:57]OFD Sender: No OFD packet to send [23:25:02]OFD Sender: No OFD packet to send [23:25:07]OFD Sender: No OFD packet to send [23:25:12]OFD Sender: No OFD packet to send [23:25:17]OFD Sender: No OFD packet to send [23:25:22]OFD Sender: No OFD packet to send [23:25:27]OFD Sender: No OFD packet to send [23:25:32]OFD Sender: No OFD packet to send [23:25:37]OFD Sender: No OFD packet to send [23:25:42]OFD Sender: No OFD packet to send [23:25:47]OFD Sender: No OFD packet to send [23:25:52]OFD Sender: No OFD packet to send [23:25:57]OFD Sender: No OFD packet to send [23:26:02]OFD Sender: No OFD packet to send [23:26:07]OFD Sender: No OFD packet to send [23:26:12]OFD Sender: No OFD packet to send [23:26:17]OFD Sender: No OFD packet to send [23:26:22]OFD Sender: No OFD packet to send [23:26:27]OFD Sender: No OFD packet to send [23:26:32]OFD Sender: No OFD packet to send [23:26:37]OFD Sender: No OFD packet to send [23:26:42]OFD Sender: No OFD packet to send [23:26:47]OFD Sender: No OFD packet to send [23:26:52]OFD Sender: No OFD packet to send [23:26:57]OFD Sender: No OFD packet to send [23:27:02]OFD Sender: No OFD packet to send [23:27:07]OFD Sender: No OFD packet to send [23:27:12]OFD Sender: No OFD packet to send [23:27:17]OFD Sender: No OFD packet to send [23:27:22]OFD Sender: No OFD packet to send [23:27:27]OFD Sender: No OFD packet to send [23:27:32]OFD Sender: No OFD packet to send [23:27:37]OFD Sender: No OFD packet to send [23:27:42]OFD Sender: No OFD packet to send [23:27:47]OFD Sender: No OFD packet to send [23:27:52]OFD Sender: No OFD packet to send [23:27:57]OFD Sender: No OFD packet to send [23:28:02]OFD Sender: No OFD packet to send [23:28:07]OFD Sender: No OFD packet to send [23:28:12]OFD Sender: No OFD packet to send [23:28:17]OFD Sender: No OFD packet to send [23:28:22]OFD Sender: No OFD packet to send [23:28:27]OFD Sender: No OFD packet to send [23:28:32]OFD Sender: No OFD packet to send [23:28:37]OFD Sender: No OFD packet to send [23:28:42]OFD Sender: No OFD packet to send [23:28:47]OFD Sender: No OFD packet to send [23:28:52]OFD Sender: No OFD packet to send [23:28:57]OFD Sender: No OFD packet to send [23:29:02]OFD Sender: No OFD packet to send [23:29:07]OFD Sender: No OFD packet to send [23:29:12]OFD Sender: No OFD packet to send [23:29:17]OFD Sender: No OFD packet to send [23:29:22]OFD Sender: No OFD packet to send [23:29:27]OFD Sender: No OFD packet to send [23:29:32]OFD Sender: No OFD packet to send [23:29:37]OFD Sender: No OFD packet to send [23:29:42]OFD Sender: No OFD packet to send [23:29:47]OFD Sender: No OFD packet to send [23:29:52]OFD Sender: No OFD packet to send [23:29:57]OFD Sender: No OFD packet to send [23:30:02]OFD Sender: No OFD packet to send [23:30:07]OFD Sender: No OFD packet to send [23:30:12]OFD Sender: No OFD packet to send [23:30:17]OFD Sender: No OFD packet to send [23:30:22]OFD Sender: No OFD packet to send [23:30:27]OFD Sender: No OFD packet to send [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:37]OFD Sender: No OFD packet to send [23:32:42]OFD Sender: No OFD packet to send [23:32:47]OFD Sender: No OFD packet to send [23:32:52]OFD Sender: No OFD packet to send [23:32:57]OFD Sender: No OFD packet to send [23:33:02]OFD Sender: No OFD packet to send [23:33:07]OFD Sender: No OFD packet to send [23:33:12]OFD Sender: No OFD packet to send [23:33:17]OFD Sender: No OFD packet to send [23:33:22]OFD Sender: No OFD packet to send [23:33:27]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:37]OFD Sender: No OFD packet to send [23:33:42]OFD Sender: No OFD packet to send [23:33:47]OFD Sender: No OFD packet to send [23:33:53]OFD Sender: No OFD packet to send [23:33:58]OFD Sender: No OFD packet to send [23:34:03]OFD Sender: No OFD packet to send [23:34:08]OFD Sender: No OFD packet to send [23:34:13]OFD Sender: No OFD packet to send [23:34:18]OFD Sender: No OFD packet to send [23:34:23]OFD Sender: No OFD packet to send [23:34:28]OFD Sender: No OFD packet to send [23:34:33]OFD Sender: No OFD packet to send [23:34:38]OFD Sender: No OFD packet to send [23:34:43]OFD Sender: No OFD packet to send [23:34:48]OFD Sender: No OFD packet to send [23:34:53]OFD Sender: No OFD packet to send [23:34:58]OFD Sender: No OFD packet to send [23:35:03]OFD Sender: No OFD packet to send [23:35:08]OFD Sender: No OFD packet to send [23:35:13]OFD Sender: No OFD packet to send [23:35:18]OFD Sender: No OFD packet to send [23:35:23]OFD Sender: No OFD packet to send [23:35:28]OFD Sender: No OFD packet to send [23:35:33]OFD Sender: No OFD packet to send [23:35:38]OFD Sender: No OFD packet to send [23:35:43]OFD Sender: No OFD packet to send [23:35:48]OFD Sender: No OFD packet to send [23:35:53]OFD Sender: No OFD packet to send [23:35:58]OFD Sender: No OFD packet to send [23:36:03]OFD Sender: No OFD packet to send [23:36:08]OFD Sender: No OFD packet to send [23:36:13]OFD Sender: No OFD packet to send [23:36:18]OFD Sender: No OFD packet to send [23:36:23]OFD Sender: No OFD packet to send [23:36:28]OFD Sender: No OFD packet to send [23:36:33]OFD Sender: No OFD packet to send [23:36:38]OFD Sender: No OFD packet to send [23:36:43]OFD Sender: No OFD packet to send [23:36:48]OFD Sender: No OFD packet to send [23:36:53]OFD Sender: No OFD packet to send [23:36:58]OFD Sender: No OFD packet to send [23:37:03]OFD Sender: No OFD packet to send [23:37:08]OFD Sender: No OFD packet to send [23:37:13]OFD Sender: No OFD packet to send [23:37:18]OFD Sender: No OFD packet to send [23:37:23]OFD Sender: No OFD packet to send [23:37:28]OFD Sender: No OFD packet to send [23:37:33]OFD Sender: No OFD packet to send [23:37:38]OFD Sender: No OFD packet to send [23:37:43]OFD Sender: No OFD packet to send [23:37:48]OFD Sender: No OFD packet to send [23:37:53]OFD Sender: No OFD packet to send [23:37:58]OFD Sender: No OFD packet to send [23:38:03]OFD Sender: No OFD packet to send [23:38:08]OFD Sender: No OFD packet to send [23:38:13]OFD Sender: No OFD packet to send [23:38:18]OFD Sender: No OFD packet to send [23:38:23]OFD Sender: No OFD packet to send [23:38:28]OFD Sender: No OFD packet to send [23:38:33]OFD Sender: No OFD packet to send [23:38:38]OFD Sender: No OFD packet to send [23:38:43]OFD Sender: No OFD packet to send [23:38:48]OFD Sender: No OFD packet to send [23:38:53]OFD Sender: No OFD packet to send [23:38:58]OFD Sender: No OFD packet to send [23:39:03]OFD Sender: No OFD packet to send [23:39:08]OFD Sender: No OFD packet to send [23:39:13]OFD Sender: No OFD packet to send [23:39:18]OFD Sender: No OFD packet to send [23:39:23]OFD Sender: No OFD packet to send [23:39:28]OFD Sender: No OFD packet to send [23:39:33]OFD Sender: No OFD packet to send [23:39:38]OFD Sender: No OFD packet to send [23:39:43]OFD Sender: No OFD packet to send [23:39:48]OFD Sender: No OFD packet to send [23:39:53]OFD Sender: No OFD packet to send [23:39:58]OFD Sender: No OFD packet to send [23:40:03]OFD Sender: No OFD packet to send [23:40:08]OFD Sender: No OFD packet to send [23:40:13]OFD Sender: No OFD packet to send [23:40:18]OFD Sender: No OFD packet to send [23:40:23]OFD Sender: No OFD packet to send [23:40:28]OFD Sender: No OFD packet to send [23:40:33]OFD Sender: No OFD packet to send [23:40:38]OFD Sender: No OFD packet to send [23:40:43]OFD Sender: No OFD packet to send [23:40:48]OFD Sender: No OFD packet to send [23:40:53]OFD Sender: No OFD packet to send [23:40:58]OFD Sender: No OFD packet to send [23:41:03]OFD Sender: No OFD packet to send [23:41:08]OFD Sender: No OFD packet to send [23:41:13]OFD Sender: No OFD packet to send [23:41:18]OFD Sender: No OFD packet to send [23:41:23]OFD Sender: No OFD packet to send [23:41:28]OFD Sender: No OFD packet to send [23:41:33]OFD Sender: No OFD packet to send [23:41:38]OFD Sender: No OFD packet to send [23:41:43]OFD Sender: No OFD packet to send [23:41:48]OFD Sender: No OFD packet to send [23:41:53]OFD Sender: No OFD packet to send [23:41:58]OFD Sender: No OFD packet to send [23:42:03]OFD Sender: No OFD packet to send [23:42:08]OFD Sender: No OFD packet to send [23:42:13]OFD Sender: No OFD packet to send [23:42:18]OFD Sender: No OFD packet to send [23:42:23]OFD Sender: No OFD packet to send [23:42:28]OFD Sender: No OFD packet to send [23:42:33]OFD Sender: No OFD packet to send [23:42:38]OFD Sender: No OFD packet to send [23:42:43]OFD Sender: No OFD packet to send [23:42:48]OFD Sender: No OFD packet to send [23:42:53]OFD Sender: No OFD packet to send [23:42:58]OFD Sender: No OFD packet to send [23:43:03]OFD Sender: No OFD packet to send [23:43:08]OFD Sender: No OFD packet to send [23:43:13]OFD Sender: No OFD packet to send [23:43:18]OFD Sender: No OFD packet to send [23:43:23]OFD Sender: No OFD packet to send [23:43:28]OFD Sender: No OFD packet to send [23:43:33]OFD Sender: No OFD packet to send [23:43:38]OFD Sender: No OFD packet to send [23:43:43]OFD Sender: No OFD packet to send [23:43:48]OFD Sender: No OFD packet to send [23:43:53]OFD Sender: No OFD packet to send [23:43:58]OFD Sender: No OFD packet to send [23:44:03]OFD Sender: No OFD packet to send [23:44:08]OFD Sender: No OFD packet to send [23:44:13]OFD Sender: No OFD packet to send [23:44:18]OFD Sender: No OFD packet to send [23:44:23]OFD Sender: No OFD packet to send [23:44:28]OFD Sender: No OFD packet to send [23:44:33]OFD Sender: No OFD packet to send [23:44:38]OFD Sender: No OFD packet to send [23:44:43]OFD Sender: No OFD packet to send [23:44:48]OFD Sender: No OFD packet to send [23:44:53]OFD Sender: No OFD packet to send [23:44:58]OFD Sender: No OFD packet to send [23:45:03]OFD Sender: No OFD packet to send [23:45:08]OFD Sender: No OFD packet to send [23:45:13]OFD Sender: No OFD packet to send [23:45:18]OFD Sender: No OFD packet to send [23:45:23]OFD Sender: No OFD packet to send [23:45:28]OFD Sender: No OFD packet to send [23:45:33]OFD Sender: No OFD packet to send [23:45:38]OFD Sender: No OFD packet to send [23:45:43]OFD Sender: No OFD packet to send [23:45:48]OFD Sender: No OFD packet to send [23:45:53]OFD Sender: No OFD packet to send [23:45:58]OFD Sender: No OFD packet to send [23:46:03]OFD Sender: No OFD packet to send [23:46:08]OFD Sender: No OFD packet to send [23:46:13]OFD Sender: No OFD packet to send [23:46:18]OFD Sender: No OFD packet to send [23:46:23]OFD Sender: No OFD packet to send [23:46:28]OFD Sender: No OFD packet to send [23:46:33]OFD Sender: No OFD packet to send [23:46:38]OFD Sender: No OFD packet to send [23:46:43]OFD Sender: No OFD packet to send [23:46:48]OFD Sender: No OFD packet to send [23:46:53]OFD Sender: No OFD packet to send [23:46:58]OFD Sender: No OFD packet to send [23:47:01]accept exits with 10 [23:47:01]New connection [23:47:01]New thread 3067227492 created [23:47:01]Thread 3067370852 joined [23:47:01]Waiting for new connection... [23:47:01] Sock 10.Parse request [23:47:01]Sock 10.Check first char [23:47:01]Sock 10.First char is OK [23:47:01]request: POST /json_proto HTTP/1.0 [23:47:01]Method: POST [23:47:01]URL: /json_proto [23:47:01]Method is POST - this is cgi request [23:47:01]url: /json_proto [23:47:01]query_string will be loaded in cgi processing [23:47:01]execute_cgi json_proto POST (null) [23:47:01]execute_cgi path=json_proto method=POST [23:47:01]POST find Content-Length [23:47:01]Host: 172.17.56.68:8080 [23:47:01]Content-Length: 215 [23:47:01]Content-Type: application/json [23:47:01] [23:47:01]POST finish read [23:47:01]Found Content-Length = 215 [23:47:01]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:47:01]execute_script... [23:47:01]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:47:01]POST & json_proto [23:47:01]process_json_proto [23:47:01]json parsed OK: [23:47:01]protocol is kg_v1.0 [23:47:01]action value=get_value [23:47:01]process_action get_value [23:47:01]cmd_get_value [23:47:01]process_action get_value done [23:47:01]requested_data is exist [23:47:01]produce_requested_data [23:47:01]requested_item kkm.sn is exist - process it [23:47:01]requested_item kkm.ver is exist - process it [23:47:01]requested_item fm.sn is exist - process it [23:47:01]wFMCommunicate request_size=4 [23:47:01]MH_SAM_APDU [23:47:01]CAPDU: 80 11 00 00 [23:47:01]Write to MH i2c: E2 08 00 72 14 80 11 00 00 00 00 00 00 00 [23:47:01]Write i2c OK [23:47:01]MH_I2C_Read... [23:47:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:01]Read from MH i2c: E2 [23:47:01]MH_I2C_Read... [23:47:01]Read from MH i2c: E2 17 00 [23:47:01]MH_I2C_Read... [23:47:01]Read from MH i2c: E2 17 00 72 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 53 [23:47:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:47:01]wFMCommunicate OK [23:47:01]requested_item fd.num is exist - process it [23:47:01]SAM_PROTO_GetFieldsCounters [23:47:01]wFMCommunicate request_size=4 [23:47:01]MH_SAM_APDU [23:47:01]CAPDU: 80 13 00 00 [23:47:01]Write to MH i2c: E2 08 00 73 14 80 13 00 00 00 00 00 00 03 [23:47:01]Write i2c OK [23:47:01]MH_I2C_Read... [23:47:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:01]Read from MH i2c: E2 [23:47:01]MH_I2C_Read... [23:47:01]Read from MH i2c: E2 62 00 [23:47:01]MH_I2C_Read... [23:47:01]Read from MH i2c: E2 62 00 73 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 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 34 [23:47:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:47:01]wFMCommunicate OK [23:47:01]SAM_PROTO_GetFieldsCounters done [23:47:01]requested_item shift.num is exist - process it [23:47:01]requested_item shift.opened is exist - process it [23:47:01]req_shift_opened [23:47:01]FM_GetShiftState [23:47:01]SAM_PROTO_GetShiftState [23:47:01]wFMCommunicate request_size=4 [23:47:01]MH_SAM_APDU [23:47:01]CAPDU: 80 13 01 00 [23:47:01]Write to MH i2c: E2 08 00 74 14 80 13 01 00 00 00 00 00 05 [23:47:01]Write i2c OK [23:47:01]MH_I2C_Read... [23:47:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:02]Read from MH i2c: E2 [23:47:02]MH_I2C_Read... [23:47:02]Read from MH i2c: E2 0E 00 [23:47:02]MH_I2C_Read... [23:47:02]Read from MH i2c: E2 0E 00 74 14 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 93 [23:47:02]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [23:47:02]wFMCommunicate OK [23:47:02]SAM_PROTO_GetShiftState done [23:47:02]FM_GetShiftState done [23:47:02]req_shift_opened done [23:47:02]requested_item shift.open_date is exist - process it [23:47:02]req_shift_open_date [23:47:02]req_shift_open_date done [23:47:02]produce_requested_data done [23:47:02]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4081,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [23:47:02]process_action_free get_value [23:47:02]json_value_free [23:47:02]json_value_free done [23:47:02]process_json_proto returns [23:47:02]Send response to host [23:47:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4081,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [23:47:02]free response buf [23:47:02]execute_script done [23:47:02]execute_script returns [23:47:02]free content buf [23:47:02]Sock 10.Close socket [23:47:02]Sock 10.Thread stoped [23:47:02]accept exits with 8 [23:47:02]New connection [23:47:02]New thread 3067370852 created [23:47:02]Thread 3067227492 joined [23:47:02]Waiting for new connection... [23:47:02] Sock 8.Parse request [23:47:02]Sock 8.Check first char [23:47:02]Sock 8.First char is OK [23:47:02]request: POST /json_proto HTTP/1.0 [23:47:02]Method: POST [23:47:02]URL: /json_proto [23:47:02]Method is POST - this is cgi request [23:47:02]url: /json_proto [23:47:02]query_string will be loaded in cgi processing [23:47:02]execute_cgi json_proto POST (null) [23:47:02]execute_cgi path=json_proto method=POST [23:47:02]POST find Content-Length [23:47:02]Host: 172.17.56.68:8080 [23:47:02]Content-Length: 331 [23:47:02]Content-Type: application/json [23:47:02] [23:47:02]POST finish read [23:47:02]Found Content-Length = 331 [23:47:02]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:47:02]execute_script... [23:47:02]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:47:02]POST & json_proto [23:47:02]process_json_proto [23:47:02]json parsed OK: [23:47:02]protocol is kg_v1.0 [23:47:02]action value=get_value [23:47:02]process_action get_value [23:47:02]cmd_get_value [23:47:02]process_action get_value done [23:47:02]requested_data is exist [23:47:02]produce_requested_data [23:47:02]requested_item fm.sale.total is exist - process it [23:47:02]SAM_PROTO_GetFMData [23:47:02]wFMCommunicate request_size=4 [23:47:02]MH_SAM_APDU [23:47:02]CAPDU: 80 13 03 00 [23:47:02]Write to MH i2c: E2 08 00 75 14 80 13 03 00 00 00 00 00 08 [23:47:02]Write i2c OK [23:47:02]MH_I2C_Read... [23:47:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:47:02]Read from MH i2c: E2 [23:47:02]MH_I2C_Read... [23:47:02]Read from MH i2c: E2 FD 00 [23:47:02]MH_I2C_Read... [23:47:02]Read from MH i2c: E2 FD 00 75 14 00 BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 48 [23:47:02]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:47:02]wFMCommunicate OK [23:47:02]wFMCommunicate request_size=4 [23:47:02]MH_SAM_APDU [23:47:02]CAPDU: 80 17 00 00 [23:47:02]Write to MH i2c: E2 08 00 76 14 80 17 00 00 00 00 00 00 0A [23:47:02]Write i2c OK [23:47:02]MH_I2C_Read... [23:47:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:03]Read from MH i2c: E2 [23:47:03]MH_I2C_Read... [23:47:03]Read from MH i2c: E2 FD 00 [23:47:03]MH_I2C_Read... [23:47:03]Read from MH i2c: E2 FD 00 76 14 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D2 [23:47:03]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:47:03]wFMCommunicate OK [23:47:03]wFMCommunicate request_size=4 [23:47:03]MH_SAM_APDU [23:47:03]CAPDU: 80 17 00 00 [23:47:03]Write to MH i2c: E2 08 00 77 14 80 17 00 00 00 00 00 00 0B [23:47:03]Write i2c OK [23:47:03]MH_I2C_Read... [23:47:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:03]Read from MH i2c: E2 [23:47:03]MH_I2C_Read... [23:47:03]Read from MH i2c: E2 FD 00 [23:47:03]MH_I2C_Read... [23:47:03]Read from MH i2c: E2 FD 00 77 14 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 37 [23:47:03]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:47:03]wFMCommunicate OK [23:47:03]wFMCommunicate request_size=4 [23:47:03]MH_SAM_APDU [23:47:03]CAPDU: 80 17 00 00 [23:47:03]Write to MH i2c: E2 08 00 78 14 80 17 00 00 00 00 00 00 0C [23:47:03]Write i2c OK [23:47:03]MH_I2C_Read... [23:47:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:03]Read from MH i2c: E2 [23:47:03]MH_I2C_Read... [23:47:03]Read from MH i2c: E2 FD 00 [23:47:03]MH_I2C_Read... [23:47:03]Read from MH i2c: E2 FD 00 78 14 00 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 81 [23:47:03]RAPDU: 00 00 EF 03 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 90 00 [23:47:03]wFMCommunicate OK [23:47:03]wFMCommunicate request_size=4 [23:47:03]MH_SAM_APDU [23:47:03]CAPDU: 80 17 00 00 [23:47:03]Write to MH i2c: E2 08 00 79 14 80 17 00 00 00 00 00 00 0D [23:47:03]Write i2c OK [23:47:03]MH_I2C_Read... [23:47:03]OFD Sender: No OFD packet to send [23:47:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:47:03]Read from MH i2c: E2 [23:47:03]MH_I2C_Read... [23:47:03]Read from MH i2c: E2 D8 00 [23:47:03]MH_I2C_Read... [23:47:03]Read from MH i2c: E2 D8 00 79 14 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 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 F4 [23:47:03]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 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:47:03]wFMCommunicate OK [23:47:03]SAM_PROTO_GetFMData done [23:47:03]requested_item fm.sale_refund.total is exist - process it [23:47:03]requested_item fm.buy.total is exist - process it [23:47:03]requested_item shift.sale.total is exist - process it [23:47:03]SAM_PROTO_GetShiftData [23:47:03]wFMCommunicate request_size=4 [23:47:03]MH_SAM_APDU [23:47:03]CAPDU: 80 13 02 00 [23:47:03]Write to MH i2c: E2 08 00 7A 14 80 13 02 00 00 00 00 00 0C [23:47:03]Write i2c OK [23:47:03]MH_I2C_Read... [23:47:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:47:04]Read from MH i2c: E2 [23:47:04]MH_I2C_Read... [23:47:04]Read from MH i2c: E2 FD 00 [23:47:04]MH_I2C_Read... [23:47:04]Read from MH i2c: E2 FD 00 7A 14 00 AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 80 [23:47:04]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:47:04]wFMCommunicate OK [23:47:04]wFMCommunicate request_size=4 [23:47:04]MH_SAM_APDU [23:47:04]CAPDU: 80 17 00 00 [23:47:04]Write to MH i2c: E2 08 00 7B 14 80 17 00 00 00 00 00 00 0F [23:47:04]Write i2c OK [23:47:04]MH_I2C_Read... [23:47:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:04]Read from MH i2c: E2 [23:47:04]MH_I2C_Read... [23:47:04]Read from MH i2c: E2 FD 00 [23:47:04]MH_I2C_Read... [23:47:04]Read from MH i2c: E2 FD 00 7B 14 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 31 [23:47:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:47:04]wFMCommunicate OK [23:47:04]wFMCommunicate request_size=4 [23:47:04]MH_SAM_APDU [23:47:04]CAPDU: 80 17 00 00 [23:47:04]Write to MH i2c: E2 08 00 7C 14 80 17 00 00 00 00 00 00 10 [23:47:04]Write i2c OK [23:47:04]MH_I2C_Read... [23:47:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:04]Read from MH i2c: E2 [23:47:04]MH_I2C_Read... [23:47:04]Read from MH i2c: E2 FD 00 [23:47:04]MH_I2C_Read... [23:47:04]Read from MH i2c: E2 FD 00 7C 14 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C7 [23:47:04]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:47:04]wFMCommunicate OK [23:47:04]wFMCommunicate request_size=4 [23:47:04]MH_SAM_APDU [23:47:04]CAPDU: 80 17 00 00 [23:47:04]Write to MH i2c: E2 08 00 7D 14 80 17 00 00 00 00 00 00 11 [23:47:04]Write i2c OK [23:47:04]MH_I2C_Read... [23:47:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:05]Read from MH i2c: E2 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: E2 FD 00 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: E2 FD 00 7D 14 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 83 [23:47:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:47:05]wFMCommunicate OK [23:47:05]wFMCommunicate request_size=4 [23:47:05]MH_SAM_APDU [23:47:05]CAPDU: 80 17 00 00 [23:47:05]Write to MH i2c: E2 08 00 7E 14 80 17 00 00 00 00 00 00 12 [23:47:05]Write i2c OK [23:47:05]MH_I2C_Read... [23:47:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:47:05]Read from MH i2c: E2 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: E2 CB 00 [23:47:05]MH_I2C_Read... [23:47:05]Read from MH i2c: E2 CB 00 7E 14 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 FB [23:47:05]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:47:05]wFMCommunicate OK [23:47:05]SAM_PROTO_GetShiftData done [23:47:05]requested_item shift.sale.total_cash is exist - process it [23:47:05]requested_item shift.sale_refund.total is exist - process it [23:47:05]requested_item shift.sale_refund.total_cash is exist - process it [23:47:05]requested_item shift.buy.total is exist - process it [23:47:05]requested_item shift.buy.total_cash is exist - process it [23:47:05]produce_requested_data done [23:47:05]produce_requested_data return {"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:47:05]process_action_free get_value [23:47:05]json_value_free [23:47:05]json_value_free done [23:47:05]process_json_proto returns [23:47:05]Send response to host [23:47:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:47:05]free response buf [23:47:05]execute_script done [23:47:05]execute_script returns [23:47:05]free content buf [23:47:05]Sock 8.Close socket [23:47:05]Sock 8.Thread stoped [23:47:05]accept exits with 9 [23:47:05]New connection [23:47:05]New thread 3067227492 created [23:47:05]Thread 3067370852 joined [23:47:05]Waiting for new connection... [23:47:05] Sock 9.Parse request [23:47:05]Sock 9.Check first char [23:47:05]Sock 9.First char is OK [23:47:05]request: POST /json_proto HTTP/1.0 [23:47:05]Method: POST [23:47:05]URL: /json_proto [23:47:05]Method is POST - this is cgi request [23:47:05]url: /json_proto [23:47:05]query_string will be loaded in cgi processing [23:47:05]execute_cgi json_proto POST (null) [23:47:05]execute_cgi path=json_proto method=POST [23:47:05]POST find Content-Length [23:47:05]Host: 172.17.56.68:8080 [23:47:05]Content-Length: 331 [23:47:05]Content-Type: application/json [23:47:05] [23:47:05]POST finish read [23:47:05]Found Content-Length = 331 [23:47:05]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:47:05]execute_script... [23:47:05]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:47:05]POST & json_proto [23:47:05]process_json_proto [23:47:05]json parsed OK: [23:47:05]protocol is kg_v1.0 [23:47:05]action value=get_value [23:47:05]process_action get_value [23:47:05]cmd_get_value [23:47:05]process_action get_value done [23:47:05]requested_data is exist [23:47:05]produce_requested_data [23:47:05]requested_item fm.sale.total is exist - process it [23:47:05]SAM_PROTO_GetFMData [23:47:05]wFMCommunicate request_size=4 [23:47:05]MH_SAM_APDU [23:47:05]CAPDU: 80 13 03 00 [23:47:05]Write to MH i2c: E2 08 00 7F 14 80 13 03 00 00 00 00 00 12 [23:47:05]Write i2c OK [23:47:05]MH_I2C_Read... [23:47:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:47:06]Read from MH i2c: E2 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 FD 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 FD 00 7F 14 00 BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 52 [23:47:06]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:47:06]wFMCommunicate OK [23:47:06]wFMCommunicate request_size=4 [23:47:06]MH_SAM_APDU [23:47:06]CAPDU: 80 17 00 00 [23:47:06]Write to MH i2c: E2 08 00 80 14 80 17 00 00 00 00 00 00 14 [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:06]Read from MH i2c: E2 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 FD 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 FD 00 80 14 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DC [23:47:06]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:47:06]wFMCommunicate OK [23:47:06]wFMCommunicate request_size=4 [23:47:06]MH_SAM_APDU [23:47:06]CAPDU: 80 17 00 00 [23:47:06]Write to MH i2c: E2 08 00 81 14 80 17 00 00 00 00 00 00 15 [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:06]Read from MH i2c: E2 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 FD 00 [23:47:06]MH_I2C_Read... [23:47:06]Read from MH i2c: E2 FD 00 81 14 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 41 [23:47:06]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:47:06]wFMCommunicate OK [23:47:06]wFMCommunicate request_size=4 [23:47:06]MH_SAM_APDU [23:47:06]CAPDU: 80 17 00 00 [23:47:06]Write to MH i2c: E2 08 00 82 14 80 17 00 00 00 00 00 00 16 [23:47:06]Write i2c OK [23:47:06]MH_I2C_Read... [23:47:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:07]Read from MH i2c: E2 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 FD 00 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 FD 00 82 14 00 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 8B [23:47:07]RAPDU: 00 00 EF 03 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 90 00 [23:47:07]wFMCommunicate OK [23:47:07]wFMCommunicate request_size=4 [23:47:07]MH_SAM_APDU [23:47:07]CAPDU: 80 17 00 00 [23:47:07]Write to MH i2c: E2 08 00 83 14 80 17 00 00 00 00 00 00 17 [23:47:07]Write i2c OK [23:47:07]MH_I2C_Read... [23:47:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:47:07]Read from MH i2c: E2 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 D8 00 [23:47:07]MH_I2C_Read... [23:47:07]Read from MH i2c: E2 D8 00 83 14 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 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 FE [23:47:07]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 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:47:07]wFMCommunicate OK [23:47:07]SAM_PROTO_GetFMData done [23:47:07]requested_item fm.sale_refund.total is exist - process it [23:47:07]requested_item fm.buy.total is exist - process it [23:47:07]requested_item shift.sale.total is exist - process it [23:47:07]SAM_PROTO_GetShiftData [23:47:07]wFMCommunicate request_size=4 [23:47:07]MH_SAM_APDU [23:47:07]CAPDU: 80 13 02 00 [23:47:07]Write to MH i2c: E2 08 00 84 14 80 13 02 00 00 00 00 00 16 [23:47:07]Write i2c OK [23:47:07]MH_I2C_Read... [23:47:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:47:08]Read from MH i2c: E2 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: E2 FD 00 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: E2 FD 00 84 14 00 AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 8A [23:47:08]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:47:08]wFMCommunicate OK [23:47:08]wFMCommunicate request_size=4 [23:47:08]MH_SAM_APDU [23:47:08]CAPDU: 80 17 00 00 [23:47:08]Write to MH i2c: E2 08 00 85 14 80 17 00 00 00 00 00 00 19 [23:47:08]Write i2c OK [23:47:08]MH_I2C_Read... [23:47:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:08]Read from MH i2c: E2 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: E2 FD 00 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: E2 FD 00 85 14 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 3B [23:47:08]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:47:08]wFMCommunicate OK [23:47:08]wFMCommunicate request_size=4 [23:47:08]MH_SAM_APDU [23:47:08]CAPDU: 80 17 00 00 [23:47:08]Write to MH i2c: E2 08 00 86 14 80 17 00 00 00 00 00 00 1A [23:47:08]Write i2c OK [23:47:08]MH_I2C_Read... [23:47:08]OFD Sender: No OFD packet to send [23:47:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:08]Read from MH i2c: E2 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: E2 FD 00 [23:47:08]MH_I2C_Read... [23:47:08]Read from MH i2c: E2 FD 00 86 14 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D1 [23:47:08]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:47:09]wFMCommunicate OK [23:47:09]wFMCommunicate request_size=4 [23:47:09]MH_SAM_APDU [23:47:09]CAPDU: 80 17 00 00 [23:47:09]Write to MH i2c: E2 08 00 87 14 80 17 00 00 00 00 00 00 1B [23:47:09]Write i2c OK [23:47:09]MH_I2C_Read... [23:47:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:09]Read from MH i2c: E2 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 FD 00 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 FD 00 87 14 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 8D [23:47: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 [23:47:09]wFMCommunicate OK [23:47:09]wFMCommunicate request_size=4 [23:47:09]MH_SAM_APDU [23:47:09]CAPDU: 80 17 00 00 [23:47:09]Write to MH i2c: E2 08 00 88 14 80 17 00 00 00 00 00 00 1C [23:47:09]Write i2c OK [23:47:09]MH_I2C_Read... [23:47:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:47:09]Read from MH i2c: E2 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 CB 00 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 CB 00 88 14 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 05 [23:47:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:47:09]wFMCommunicate OK [23:47:09]SAM_PROTO_GetShiftData done [23:47:09]requested_item shift.sale.total_cash is exist - process it [23:47:09]requested_item shift.sale_refund.total is exist - process it [23:47:09]requested_item shift.sale_refund.total_cash is exist - process it [23:47:09]requested_item shift.buy.total is exist - process it [23:47:09]requested_item shift.buy.total_cash is exist - process it [23:47:09]produce_requested_data done [23:47:09]produce_requested_data return {"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:47:09]process_action_free get_value [23:47:09]json_value_free [23:47:09]json_value_free done [23:47:09]process_json_proto returns [23:47:09]Send response to host [23:47:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:47:09]free response buf [23:47:09]execute_script done [23:47:09]execute_script returns [23:47:09]free content buf [23:47:09]Sock 9.Close socket [23:47:09]Sock 9.Thread stoped [23:47:09]accept exits with 8 [23:47:09]New connection [23:47:09]New thread 3067370852 created [23:47:09]Thread 3067227492 joined [23:47:09]Waiting for new connection... [23:47:09] Sock 8.Parse request [23:47:09]Sock 8.Check first char [23:47:09]Sock 8.First char is OK [23:47:09]request: POST /json_proto HTTP/1.0 [23:47:09]Method: POST [23:47:09]URL: /json_proto [23:47:09]Method is POST - this is cgi request [23:47:09]url: /json_proto [23:47:09]query_string will be loaded in cgi processing [23:47:09]execute_cgi json_proto POST (null) [23:47:09]execute_cgi path=json_proto method=POST [23:47:09]POST find Content-Length [23:47:09]Host: 172.17.56.68:8080 [23:47:09]Content-Length: 281 [23:47:09]Content-Type: application/json [23:47:09] [23:47:09]POST finish read [23:47:09]Found Content-Length = 281 [23:47:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:09]execute_script... [23:47:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:09]POST & json_proto [23:47:09]process_json_proto [23:47:09]json parsed OK: [23:47:09]protocol is kg_v1.0 [23:47:09]action value=x_report [23:47:09]process_action x_report [23:47:09]cmd_x_report [23:47:09]MH_GetDate [23:47:09]Write to MH i2c: F0 00 00 89 14 8C [23:47:09]Write i2c OK [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: F0 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: F0 09 00 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: F0 09 00 89 14 00 03 56 5E 66 42 69 5C 66 1F [23:47:09]GetLastDocTimeStamp 1717452902 [23:47:09]current date 1717458435 [23:47:09]FM_GetShiftState [23:47:09]SAM_PROTO_GetShiftState [23:47:09]wFMCommunicate request_size=4 [23:47:09]MH_SAM_APDU [23:47:09]CAPDU: 80 13 01 00 [23:47:09]Write to MH i2c: E2 08 00 8A 14 80 13 01 00 00 00 00 00 1B [23:47:09]Write i2c OK [23:47:09]MH_I2C_Read... [23:47:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:09]Read from MH i2c: E2 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 0E 00 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: E2 0E 00 8A 14 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 A9 [23:47:09]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [23:47:09]wFMCommunicate OK [23:47:09]SAM_PROTO_GetShiftState done [23:47:09]FM_GetShiftState done [23:47:09]KKMCreateXReportDocument [23:47:09]Load OK [23:47:09]Malloc new data [23:47:09]MH_GetDate [23:47:09]Write to MH i2c: F0 00 00 8B 14 8E [23:47:09]Write i2c OK [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: F0 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: F0 09 00 [23:47:09]MH_I2C_Read... [23:47:09]Read from MH i2c: F0 09 00 8B 14 00 04 56 5E 66 42 69 5C 66 22 [23:47:09]Malloc new data [23:47:09]Malloc new data [23:47:09]wFMCommunicate request_size=4 [23:47:09]MH_SAM_APDU [23:47:09]CAPDU: 80 11 00 00 [23:47:09]Write to MH i2c: E2 08 00 8C 14 80 11 00 00 00 00 00 00 1A [23:47:09]Write i2c OK [23:47:09]MH_I2C_Read... [23:47:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:10]Read from MH i2c: E2 [23:47:10]MH_I2C_Read... [23:47:10]Read from MH i2c: E2 17 00 [23:47:10]MH_I2C_Read... [23:47:10]Read from MH i2c: E2 17 00 8C 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6D [23:47:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:47:10]wFMCommunicate OK [23:47:10]SAM_PROTO_GetFieldsCounters [23:47:10]wFMCommunicate request_size=4 [23:47:10]MH_SAM_APDU [23:47:10]CAPDU: 80 13 00 00 [23:47:10]Write to MH i2c: E2 08 00 8D 14 80 13 00 00 00 00 00 00 1D [23:47:10]Write i2c OK [23:47:10]MH_I2C_Read... [23:47:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:10]Read from MH i2c: E2 [23:47:10]MH_I2C_Read... [23:47:10]Read from MH i2c: E2 62 00 [23:47:10]MH_I2C_Read... [23:47:10]Read from MH i2c: E2 62 00 8D 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 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 4E [23:47:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:47:10]wFMCommunicate OK [23:47:10]SAM_PROTO_GetFieldsCounters done [23:47:10]Malloc new data [23:47:10]Malloc new data [23:47:10]Malloc new data [23:47:10]KKMCreateXReportDocument OK [23:47:10]KKMSetXReportData OK [23:47:10]KKMPrepareXReportFMData [23:47:10]SAM_PROTO_GetShiftData [23:47:10]wFMCommunicate request_size=4 [23:47:10]MH_SAM_APDU [23:47:10]CAPDU: 80 13 02 00 [23:47:10]Write to MH i2c: E2 08 00 8E 14 80 13 02 00 00 00 00 00 20 [23:47:10]Write i2c OK [23:47:10]MH_I2C_Read... [23:47:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:47:10]Read from MH i2c: E2 [23:47:10]MH_I2C_Read... [23:47:10]Read from MH i2c: E2 FD 00 [23:47:10]MH_I2C_Read... [23:47:10]Read from MH i2c: E2 FD 00 8E 14 00 AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 94 [23:47:10]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:47:10]wFMCommunicate OK [23:47:10]wFMCommunicate request_size=4 [23:47:10]MH_SAM_APDU [23:47:10]CAPDU: 80 17 00 00 [23:47:10]Write to MH i2c: E2 08 00 8F 14 80 17 00 00 00 00 00 00 23 [23:47:10]Write i2c OK [23:47:10]MH_I2C_Read... [23:47:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:11]Read from MH i2c: E2 [23:47:11]MH_I2C_Read... [23:47:11]Read from MH i2c: E2 FD 00 [23:47:11]MH_I2C_Read... [23:47:11]Read from MH i2c: E2 FD 00 8F 14 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 45 [23:47:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:47:11]wFMCommunicate OK [23:47:11]wFMCommunicate request_size=4 [23:47:11]MH_SAM_APDU [23:47:11]CAPDU: 80 17 00 00 [23:47:11]Write to MH i2c: E2 08 00 90 14 80 17 00 00 00 00 00 00 24 [23:47:11]Write i2c OK [23:47:11]MH_I2C_Read... [23:47:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:11]Read from MH i2c: E2 [23:47:11]MH_I2C_Read... [23:47:11]Read from MH i2c: E2 FD 00 [23:47:11]MH_I2C_Read... [23:47:11]Read from MH i2c: E2 FD 00 90 14 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DB [23:47:11]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:47:11]wFMCommunicate OK [23:47:11]wFMCommunicate request_size=4 [23:47:11]MH_SAM_APDU [23:47:11]CAPDU: 80 17 00 00 [23:47:11]Write to MH i2c: E2 08 00 91 14 80 17 00 00 00 00 00 00 25 [23:47:11]Write i2c OK [23:47:11]MH_I2C_Read... [23:47:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:12]Read from MH i2c: E2 [23:47:12]MH_I2C_Read... [23:47:12]Read from MH i2c: E2 FD 00 [23:47:12]MH_I2C_Read... [23:47:12]Read from MH i2c: E2 FD 00 91 14 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 97 [23:47:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:47:12]wFMCommunicate OK [23:47:12]wFMCommunicate request_size=4 [23:47:12]MH_SAM_APDU [23:47:12]CAPDU: 80 17 00 00 [23:47:12]Write to MH i2c: E2 08 00 92 14 80 17 00 00 00 00 00 00 26 [23:47:12]Write i2c OK [23:47:12]MH_I2C_Read... [23:47:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:47:12]Read from MH i2c: E2 [23:47:12]MH_I2C_Read... [23:47:12]Read from MH i2c: E2 CB 00 [23:47:12]MH_I2C_Read... [23:47:12]Read from MH i2c: E2 CB 00 92 14 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 0F [23:47:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:47:12]wFMCommunicate OK [23:47:12]SAM_PROTO_GetShiftData done [23:47:12]1194 (1194) - счетчики итогов смены [23:47:12] 1134 (4) - 62 - количество чеков со всеми признаками расчетов [23:47:12] 1129 (155) - счетчики операций «приход» [23:47:12] 1135 (4) - 62 - количество чеков по признаку расчетов [23:47:12] 1201 (3) - 13764.00 - общая итоговая сумма в чеках [23:47:12] 1136 (3) - 12124.00 - итоговая сумма в чеках наличными [23:47:12] 1138 (3) - 1640.00 - итоговая сумма в чеках безналичными [23:47:12] 1024 (122) - суммы налогов [23:47:12] 1006 (9) - суммы НДС [23:47:12] 1010 (1) - 0% - код ставки НДС [23:47:12] 1011 (0) - 0.00 - сумма НДС по ставке [23:47:12] 1006 (12) - суммы НДС [23:47:12] 1010 (1) - 12% - код ставки НДС [23:47:12] 1011 (3) - 1461.68 - сумма НДС по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 0% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (11) - суммы НСП [23:47:12] 1014 (1) - 1% - код ставки НСП [23:47:12] 1015 (2) - 121.72 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 2% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 3% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 5% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 0,50% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 1,50% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1130 (141) - счетчики операций «возврат прихода» [23:47:12] 1135 (4) - 0 - количество чеков по признаку расчетов [23:47:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:47:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:47:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:47:12] 1024 (117) - суммы налогов [23:47:12] 1006 (9) - суммы НДС [23:47:12] 1010 (1) - 0% - код ставки НДС [23:47:12] 1011 (0) - 0.00 - сумма НДС по ставке [23:47:12] 1006 (9) - суммы НДС [23:47:12] 1010 (1) - 12% - код ставки НДС [23:47:12] 1011 (0) - 0.00 - сумма НДС по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 0% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 1% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 2% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 3% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 5% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 0,50% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 1,50% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1131 (141) - счетчики операций «расход» [23:47:12] 1135 (4) - 0 - количество чеков по признаку расчетов [23:47:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:47:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:47:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:47:12] 1024 (117) - суммы налогов [23:47:12] 1006 (9) - суммы НДС [23:47:12] 1010 (1) - 0% - код ставки НДС [23:47:12] 1011 (0) - 0.00 - сумма НДС по ставке [23:47:12] 1006 (9) - суммы НДС [23:47:12] 1010 (1) - 12% - код ставки НДС [23:47:12] 1011 (0) - 0.00 - сумма НДС по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 0% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 1% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 2% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 3% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 5% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 0,50% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 1,50% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1132 (141) - счетчики операций «возврат расхода» [23:47:12] 1135 (4) - 0 - количество чеков по признаку расчетов [23:47:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:47:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:47:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:47:12] 1024 (117) - суммы налогов [23:47:12] 1006 (9) - суммы НДС [23:47:12] 1010 (1) - 0% - код ставки НДС [23:47:12] 1011 (0) - 0.00 - сумма НДС по ставке [23:47:12] 1006 (9) - суммы НДС [23:47:12] 1010 (1) - 12% - код ставки НДС [23:47:12] 1011 (0) - 0.00 - сумма НДС по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 0% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 1% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 2% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:12] 1014 (1) - 3% - код ставки НСП [23:47:12] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:12] 1007 (9) - суммы НСП [23:47:13] 1014 (1) - 5% - код ставки НСП [23:47:13] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:13] 1007 (9) - суммы НСП [23:47:13] 1014 (1) - 0,50% - код ставки НСП [23:47:13] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:13] 1007 (9) - суммы НСП [23:47:13] 1014 (1) - 1,50% - код ставки НСП [23:47:13] 1015 (0) - 0.00 - сумма НСП по ставке [23:47:13] 1133 (588) - - счетчики коррекции - не используются [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1194 (04AA) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1134 (046E) [23:47:13]Malloc new data [23:47:13]Processing tag 1129 (0469) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1135 (046F) [23:47:13]Malloc new data [23:47:13]Processing tag 1201 (04B1) [23:47:13]Malloc new data [23:47:13]Processing tag 1136 (0470) [23:47:13]Malloc new data [23:47:13]Processing tag 1138 (0472) [23:47:13]Malloc new data [23:47:13]Processing tag 1024 (0400) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1006 (03EE) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1010 (03F2) [23:47:13]Malloc new data [23:47:13]Processing tag 1011 (03F3) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1006 (03EE) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1010 (03F2) [23:47:13]Malloc new data [23:47:13]Processing tag 1011 (03F3) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1130 (046A) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1135 (046F) [23:47:13]Malloc new data [23:47:13]Processing tag 1201 (04B1) [23:47:13]Malloc new data [23:47:13]Processing tag 1136 (0470) [23:47:13]Malloc new data [23:47:13]Processing tag 1138 (0472) [23:47:13]Malloc new data [23:47:13]Processing tag 1024 (0400) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1006 (03EE) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1010 (03F2) [23:47:13]Malloc new data [23:47:13]Processing tag 1011 (03F3) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1006 (03EE) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1010 (03F2) [23:47:13]Malloc new data [23:47:13]Processing tag 1011 (03F3) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1131 (046B) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1135 (046F) [23:47:13]Malloc new data [23:47:13]Processing tag 1201 (04B1) [23:47:13]Malloc new data [23:47:13]Processing tag 1136 (0470) [23:47:13]Malloc new data [23:47:13]Processing tag 1138 (0472) [23:47:13]Malloc new data [23:47:13]Processing tag 1024 (0400) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1006 (03EE) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1010 (03F2) [23:47:13]Malloc new data [23:47:13]Processing tag 1011 (03F3) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1006 (03EE) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1010 (03F2) [23:47:13]Malloc new data [23:47:13]Processing tag 1011 (03F3) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1132 (046C) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1135 (046F) [23:47:13]Malloc new data [23:47:13]Processing tag 1201 (04B1) [23:47:13]Malloc new data [23:47:13]Processing tag 1136 (0470) [23:47:13]Malloc new data [23:47:13]Processing tag 1138 (0472) [23:47:13]Malloc new data [23:47:13]Processing tag 1024 (0400) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1006 (03EE) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1010 (03F2) [23:47:13]Malloc new data [23:47:13]Processing tag 1011 (03F3) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1006 (03EE) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1010 (03F2) [23:47:13]Malloc new data [23:47:13]Processing tag 1011 (03F3) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1007 (03EF) [23:47:13]Load OK [23:47:13]SetTLVBufToDocument [23:47:13]Processing tag 1014 (03F6) [23:47:13]Malloc new data [23:47:13]Processing tag 1015 (03F7) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Processing tag 1133 (046D) [23:47:13]Malloc new data [23:47:13]SetTLVBufToDocument err=0 [23:47:13]SetTLVBufToDocument err=0 [23:47:13]Malloc new data [23:47:13]SAM_PROTO_GetFMData [23:47:13]wFMCommunicate request_size=4 [23:47:13]MH_SAM_APDU [23:47:13]CAPDU: 80 13 03 00 [23:47:13]Write to MH i2c: E2 08 00 93 14 80 13 03 00 00 00 00 00 26 [23:47:13]OFD Sender: No OFD packet to send [23:47:13]Write i2c OK [23:47:13]MH_I2C_Read... [23:47:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:47:14]Read from MH i2c: E2 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 FD 00 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 FD 00 93 14 00 BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 66 [23:47:14]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:47:14]wFMCommunicate OK [23:47:14]wFMCommunicate request_size=4 [23:47:14]MH_SAM_APDU [23:47:14]CAPDU: 80 17 00 00 [23:47:14]Write to MH i2c: E2 08 00 94 14 80 17 00 00 00 00 00 00 28 [23:47:14]Write i2c OK [23:47:14]MH_I2C_Read... [23:47:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:14]Read from MH i2c: E2 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 FD 00 [23:47:14]MH_I2C_Read... [23:47:14]Read from MH i2c: E2 FD 00 94 14 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F0 [23:47:15]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:47:15]wFMCommunicate OK [23:47:15]wFMCommunicate request_size=4 [23:47:15]MH_SAM_APDU [23:47:15]CAPDU: 80 17 00 00 [23:47:15]Write to MH i2c: E2 08 00 95 14 80 17 00 00 00 00 00 00 29 [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:15]Read from MH i2c: E2 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 FD 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 FD 00 95 14 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 55 [23:47:15]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:47:15]wFMCommunicate OK [23:47:15]wFMCommunicate request_size=4 [23:47:15]MH_SAM_APDU [23:47:15]CAPDU: 80 17 00 00 [23:47:15]Write to MH i2c: E2 08 00 96 14 80 17 00 00 00 00 00 00 2A [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:47:15]Read from MH i2c: E2 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 FD 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 FD 00 96 14 00 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 9F [23:47:16]RAPDU: 00 00 EF 03 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 90 00 [23:47:16]wFMCommunicate OK [23:47:16]wFMCommunicate request_size=4 [23:47:16]MH_SAM_APDU [23:47:16]CAPDU: 80 17 00 00 [23:47:16]Write to MH i2c: E2 08 00 97 14 80 17 00 00 00 00 00 00 2B [23:47:16]Write i2c OK [23:47:16]MH_I2C_Read... [23:47:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:47:16]Read from MH i2c: E2 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 D8 00 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 D8 00 97 14 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 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 12 [23:47:16]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 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:47:16]wFMCommunicate OK [23:47:16]SAM_PROTO_GetFMData done [23:47:16]FM_GetFMData:85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 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 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:47:17]oper:6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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:47:17]total:8B 83 74 05 [23:47:17]Malloc new data [23:47:17]oper:6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 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 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:47:17]total:10 B1 02 [23:47:17]Malloc new data [23:47:17]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:47:17]total: [23:47:17]Malloc new data [23:47:17]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:47:17]total: [23:47:17]Malloc new data [23:47:17]KKMPrepareXReportFMData err=0 [23:47:17]Х отчет ИНН: 02508201610067 Кассир: Барыктабасов Т. 03.06.2024 23:47 Смена: 10 РНМ: 0000000000145775 ЗНМ: 0300000233 СНО: Общий режим Всего чеков: 62 ИТОГИ ПРИХОД Чеков: 62 Общий итог: 13764.00 Итого наличными: 12124.00 Итого безнал.: 1640.00 НДС 0% : 0.00 НДС 12% : 1461.68 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 121.72 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 12124.00 НС Приход: 915219.31 НС Возвр.Прихода: 1764.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959360 [23:47:17]StoreToDocumentArchive [23:47:17]MH_GetDate [23:47:17]Write to MH i2c: F0 00 00 98 14 9B [23:47:17]Write i2c OK [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: F0 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: F0 09 00 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: F0 09 00 98 14 00 0B 56 5E 66 42 69 5C 66 36 [23:47:17]shift 10 fd 1717458443 [23:47:17]Create dir for shift 0010 [23:47:17]save to /storage/0010/doc_1717458443 [23:47:17]save last doc name /storage/0010/doc_1717458443 to /storage/kkm_last_doc_name [23:47:17]save OK [23:47:17]Clear old archive folders... [23:47:17]NVStorageSaveData kkm_last_timestamp [23:47:17]File name is /storage/kkm_last_timestamp [23:47:17]Write 4 bytes [23:47:17]NVStorageSaveData done [23:47:17]ExternCall_PrintAddStr [23:47:17]wPrintStart [23:47:17]Write to MH i2c: 01 00 00 99 14 AD [23:47:17]Write i2c OK [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: 01 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: 01 07 00 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: 01 07 00 99 14 00 00 00 00 00 FF 0F C2 [23:47:17]RasterBufferAndPrint [23:47:17]line Х отчет [23:47:17]line ИНН: 02508201610067 [23:47:17]line Кассир: Барыктабасов Т. [23:47:17]line 03.06.2024 23:47 [23:47:17]line Смена: 10 [23:47:17]line РНМ: 0000000000145775 [23:47:17]line ЗНМ: 0300000233 [23:47:17]line СНО: Общий режим [23:47:17]line Всего чеков: 62 [23:47:17]line ИТОГИ ПРИХОД [23:47:17]line Чеков: 62 [23:47:17]line Общий итог: 13764.00 [23:47:17]line Итого наличными: 12124.00 [23:47:17]line Итого безнал.: 1640.00 [23:47:17]line НДС 0% : 0.00 [23:47:17]line НДС 12% : 1461.68 [23:47:17]line НСП 0% : 0.00 [23:47:17]line НСП 1,50% : 0.00 [23:47:17]line НСП 0,50% : 0.00 [23:47:17]line НСП 5% : 0.00 [23:47:17]line НСП 3% : 0.00 [23:47:17]line НСП 2% : 0.00 [23:47:17]line НСП 1% : 121.72 [23:47:17]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:47:17]line Чеков: 0 [23:47:17]line Общий итог: 0.00 [23:47:17]line Итого наличными: 0.00 [23:47:17]line Итого безнал.: 0.00 [23:47:17]line НДС 0% : 0.00 [23:47:17]line НДС 12% : 0.00 [23:47:17]line НСП 0% : 0.00 [23:47:17]line НСП 1,50% : 0.00 [23:47:17]line НСП 0,50% : 0.00 [23:47:17]line НСП 5% : 0.00 [23:47:17]line НСП 3% : 0.00 [23:47:17]line НСП 2% : 0.00 [23:47:17]line НСП 1% : 0.00 [23:47:17]line ИТОГИ РАСХОД [23:47:17]line Чеков: 0 [23:47:17]line Общий итог: 0.00 [23:47:17]line Итого наличными: 0.00 [23:47:17]line Итого безнал.: 0.00 [23:47:17]line НДС 0% : 0.00 [23:47:17]line НДС 12% : 0.00 [23:47:17]line НСП 0% : 0.00 [23:47:17]line НСП 1,50% : 0.00 [23:47:17]line НСП 0,50% : 0.00 [23:47:17]line НСП 5% : 0.00 [23:47:17]line НСП 3% : 0.00 [23:47:17]line НСП 2% : 0.00 [23:47:17]line НСП 1% : 0.00 [23:47:17]line ИТОГИ ВОЗВРАТ РАСХОДА [23:47:17]line Чеков: 0 [23:47:17]line Общий итог: 0.00 [23:47:17]line Итого наличными: 0.00 [23:47:17]line Итого безнал.: 0.00 [23:47:17]line НДС 0% : 0.00 [23:47:17]line НДС 12% : 0.00 [23:47:17]line НСП 0% : 0.00 [23:47:17]line НСП 1,50% : 0.00 [23:47:17]line НСП 0,50% : 0.00 [23:47:17]line НСП 5% : 0.00 [23:47:17]line НСП 3% : 0.00 [23:47:17]line НСП 2% : 0.00 [23:47:17]line НСП 1% : 0.00 [23:47:17]line Сумма внесений: 0.00 [23:47:17]line Сумма выплат: 0.00 [23:47:17]line Нал. в кассе: 12124.00 [23:47:17]line НС Приход: 915219.31 [23:47:17]line НС Возвр.Прихода: 1764.00 [23:47:17]line НС Расход: 0.00 [23:47:17]line НС Возвр.Расхода: 0.00 [23:47:17]line ФМ: 0000000000959360 [23:47:17]written 0, free lines is 4095 [23:47:18]Write to MH i2c: 01 00 00 E4 14 F8 [23:47:18]Write i2c OK [23:47:18]MH_I2C_Read... [23:47:18]Read from MH i2c: 01 [23:47:18]MH_I2C_Read... [23:47:18]Read from MH i2c: 01 07 00 [23:47:18]MH_I2C_Read... [23:47:18]Read from MH i2c: 01 07 00 E4 14 00 00 00 00 00 31 0A 3A [23:47:18]RasterBufferAndPrint [23:47:18]line [23:47:18]line [23:47:18]line [23:47:18]line [23:47:18]line [23:47:18]written 0, free lines is 2634 [23:47:18]MH_Cut [23:47:18]Write to MH i2c: D1 01 00 EB 14 01 D1 [23:47:18]Write i2c OK [23:47:18]MH_I2C_Read... [23:47:18]Read from MH i2c: D1 [23:47:18]MH_I2C_Read... [23:47:18]Read from MH i2c: D1 01 00 [23:47:18]MH_I2C_Read... [23:47:18]Read from MH i2c: D1 01 00 EB 14 00 D0 [23:47:18]Write to MH i2c: 01 00 00 EC 14 00 [23:47:18]Write i2c OK [23:47:18]MH_I2C_Read... [23:47:18]OFD Sender: No OFD packet to send [23:47:19]*** Cut start [23:47:19]*** Partial cut [23:47:19]*** CUTSNS_PIN = 1 [23:47:19]*** CUTSNS_PIN = 0 [23:47:20]*** Brake cut motor [23:47:20]Read from MH i2c: 01 [23:47:20]MH_I2C_Read... [23:47:20]*** Stop cut motor [23:47:20]*** Cut end [23:47:20]Read from MH i2c: 01 07 00 [23:47:20]MH_I2C_Read... [23:47:20]Read from MH i2c: 01 07 00 EC 14 00 00 00 00 00 FF 0F 15 [23:47:20]process_action x_report done [23:47:20]requested_data is exist [23:47:20]produce_requested_data [23:47:20]requested_item fd.num is exist - process it [23:47:20]SAM_PROTO_GetFieldsCounters [23:47:20]wFMCommunicate request_size=4 [23:47:20]MH_SAM_APDU [23:47:20]CAPDU: 80 13 00 00 [23:47:20]Write to MH i2c: E2 08 00 ED 14 80 13 00 00 00 00 00 00 7D [23:47:20]Write i2c OK [23:47:20]MH_I2C_Read... [23:47:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:20]Read from MH i2c: E2 [23:47:20]MH_I2C_Read... [23:47:20]Read from MH i2c: E2 62 00 [23:47:20]MH_I2C_Read... [23:47:20]Read from MH i2c: E2 62 00 ED 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 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 AE [23:47:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:47:20]wFMCommunicate OK [23:47:20]SAM_PROTO_GetFieldsCounters done [23:47:20]requested_item shift.num is exist - process it [23:47:20]requested_item shift.opened is exist - process it [23:47:20]req_shift_opened [23:47:20]FM_GetShiftState [23:47:20]SAM_PROTO_GetShiftState [23:47:20]wFMCommunicate request_size=4 [23:47:20]MH_SAM_APDU [23:47:20]CAPDU: 80 13 01 00 [23:47:20]Write to MH i2c: E2 08 00 EE 14 80 13 01 00 00 00 00 00 7F [23:47:20]Write i2c OK [23:47:20]MH_I2C_Read... [23:47:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:20]Read from MH i2c: E2 [23:47:20]MH_I2C_Read... [23:47:20]Read from MH i2c: E2 0E 00 [23:47:20]MH_I2C_Read... [23:47:20]Read from MH i2c: E2 0E 00 EE 14 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 0D [23:47:20]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [23:47:20]wFMCommunicate OK [23:47:20]SAM_PROTO_GetShiftState done [23:47:20]FM_GetShiftState done [23:47:20]req_shift_opened done [23:47:20]requested_item shift.open_date is exist - process it [23:47:20]req_shift_open_date [23:47:20]req_shift_open_date done [23:47:20]produce_requested_data done [23:47:20]produce_requested_data return {"fd.num":4081,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [23:47:20]process_action_free x_report [23:47:20]json_value_free [23:47:20]json_value_free done [23:47:20]process_json_proto returns [23:47:20]Send response to host [23:47:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4081,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [23:47:20]free response buf [23:47:20]execute_script done [23:47:20]execute_script returns [23:47:20]free content buf [23:47:20]Sock 8.Close socket [23:47:20]Sock 8.Thread stoped [23:47:23]OFD Sender: No OFD packet to send [23:47:29]OFD Sender: No OFD packet to send [23:47:34]OFD Sender: No OFD packet to send [23:47:39]OFD Sender: No OFD packet to send [23:47:44]OFD Sender: No OFD packet to send [23:47:49]OFD Sender: No OFD packet to send [23:47:54]OFD Sender: No OFD packet to send [23:47:59]OFD Sender: No OFD packet to send [23:48:04]OFD Sender: No OFD packet to send [23:48:09]OFD Sender: No OFD packet to send [23:48:14]OFD Sender: No OFD packet to send [23:48:19]OFD Sender: No OFD packet to send [23:48:19]accept exits with 9 [23:48:19]New connection [23:48:19]New thread 3067227492 created [23:48:19]Thread 3067370852 joined [23:48:19]Waiting for new connection... [23:48:19] Sock 9.Parse request [23:48:19]Sock 9.Check first char [23:48:19]Sock 9.First char is OK [23:48:19]request: POST /json_proto HTTP/1.0 [23:48:19]Method: POST [23:48:19]URL: /json_proto [23:48:19]Method is POST - this is cgi request [23:48:19]url: /json_proto [23:48:19]query_string will be loaded in cgi processing [23:48:19]execute_cgi json_proto POST (null) [23:48:19]execute_cgi path=json_proto method=POST [23:48:19]POST find Content-Length [23:48:19]Host: 172.17.56.68:8080 [23:48:19]Content-Length: 215 [23:48:19]Content-Type: application/json [23:48:19] [23:48:19]POST finish read [23:48:19]Found Content-Length = 215 [23:48:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:19]execute_script... [23:48:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:19]POST & json_proto [23:48:19]process_json_proto [23:48:19]json parsed OK: [23:48:19]protocol is kg_v1.0 [23:48:19]action value=get_value [23:48:19]process_action get_value [23:48:19]cmd_get_value [23:48:19]process_action get_value done [23:48:19]requested_data is exist [23:48:19]produce_requested_data [23:48:19]requested_item kkm.sn is exist - process it [23:48:19]requested_item kkm.ver is exist - process it [23:48:19]requested_item fm.sn is exist - process it [23:48:19]wFMCommunicate request_size=4 [23:48:19]MH_SAM_APDU [23:48:19]CAPDU: 80 11 00 00 [23:48:19]Write to MH i2c: E2 08 00 EF 14 80 11 00 00 00 00 00 00 7D [23:48:19]Write i2c OK [23:48:19]MH_I2C_Read... [23:48:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:19]Read from MH i2c: E2 [23:48:19]MH_I2C_Read... [23:48:19]Read from MH i2c: E2 17 00 [23:48:19]MH_I2C_Read... [23:48:19]Read from MH i2c: E2 17 00 EF 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D0 [23:48:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:48:19]wFMCommunicate OK [23:48:19]requested_item fd.num is exist - process it [23:48:19]SAM_PROTO_GetFieldsCounters [23:48:19]wFMCommunicate request_size=4 [23:48:19]MH_SAM_APDU [23:48:19]CAPDU: 80 13 00 00 [23:48:19]Write to MH i2c: E2 08 00 F0 14 80 13 00 00 00 00 00 00 80 [23:48:19]Write i2c OK [23:48:19]MH_I2C_Read... [23:48:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:48:19]Read from MH i2c: E2 [23:48:19]MH_I2C_Read... [23:48:19]Read from MH i2c: E2 62 00 [23:48:19]MH_I2C_Read... [23:48:19]Read from MH i2c: E2 62 00 F0 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 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 B1 [23:48:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F1 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:48:19]wFMCommunicate OK [23:48:19]SAM_PROTO_GetFieldsCounters done [23:48:19]requested_item shift.num is exist - process it [23:48:19]requested_item shift.opened is exist - process it [23:48:19]req_shift_opened [23:48:19]FM_GetShiftState [23:48:19]SAM_PROTO_GetShiftState [23:48:19]wFMCommunicate request_size=4 [23:48:19]MH_SAM_APDU [23:48:19]CAPDU: 80 13 01 00 [23:48:19]Write to MH i2c: E2 08 00 F1 14 80 13 01 00 00 00 00 00 82 [23:48:19]Write i2c OK [23:48:19]MH_I2C_Read... [23:48:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:19]Read from MH i2c: E2 [23:48:19]MH_I2C_Read... [23:48:19]Read from MH i2c: E2 0E 00 [23:48:19]MH_I2C_Read... [23:48:19]Read from MH i2c: E2 0E 00 F1 14 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 10 [23:48:19]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [23:48:19]wFMCommunicate OK [23:48:19]SAM_PROTO_GetShiftState done [23:48:19]FM_GetShiftState done [23:48:19]req_shift_opened done [23:48:19]requested_item shift.open_date is exist - process it [23:48:19]req_shift_open_date [23:48:19]req_shift_open_date done [23:48:19]produce_requested_data done [23:48:19]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4081,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856} [23:48:19]process_action_free get_value [23:48:19]json_value_free [23:48:19]json_value_free done [23:48:19]process_json_proto returns [23:48:19]Send response to host [23:48:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4081,"shift.num":82,"shift.opened":1,"shift.open_date":1717372856}}} [23:48:19]free response buf [23:48:19]execute_script done [23:48:19]execute_script returns [23:48:19]free content buf [23:48:19]Sock 9.Close socket [23:48:19]Sock 9.Thread stoped [23:48:19]accept exits with 8 [23:48:19]New connection [23:48:19]New thread 3067370852 created [23:48:19]Thread 3067227492 joined [23:48:19]Waiting for new connection... [23:48:19] Sock 8.Parse request [23:48:19]Sock 8.Check first char [23:48:19]Sock 8.First char is OK [23:48:19]request: POST /json_proto HTTP/1.0 [23:48:19]Method: POST [23:48:19]URL: /json_proto [23:48:19]Method is POST - this is cgi request [23:48:19]url: /json_proto [23:48:19]query_string will be loaded in cgi processing [23:48:19]execute_cgi json_proto POST (null) [23:48:19]execute_cgi path=json_proto method=POST [23:48:19]POST find Content-Length [23:48:19]Host: 172.17.56.68:8080 [23:48:19]Content-Length: 331 [23:48:19]Content-Type: application/json [23:48:19] [23:48:19]POST finish read [23:48:19]Found Content-Length = 331 [23:48:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:48:19]execute_script... [23:48:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:48:19]POST & json_proto [23:48:19]process_json_proto [23:48:19]json parsed OK: [23:48:19]protocol is kg_v1.0 [23:48:19]action value=get_value [23:48:19]process_action get_value [23:48:19]cmd_get_value [23:48:19]process_action get_value done [23:48:19]requested_data is exist [23:48:19]produce_requested_data [23:48:19]requested_item fm.sale.total is exist - process it [23:48:19]SAM_PROTO_GetFMData [23:48:19]wFMCommunicate request_size=4 [23:48:19]MH_SAM_APDU [23:48:19]CAPDU: 80 13 03 00 [23:48:19]Write to MH i2c: E2 08 00 F2 14 80 13 03 00 00 00 00 00 85 [23:48:19]Write i2c OK [23:48:19]MH_I2C_Read... [23:48:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:48:20]Read from MH i2c: E2 [23:48:20]MH_I2C_Read... [23:48:20]Read from MH i2c: E2 FD 00 [23:48:20]MH_I2C_Read... [23:48:20]Read from MH i2c: E2 FD 00 F2 14 00 BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 C5 [23:48:20]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:48:20]wFMCommunicate OK [23:48:20]wFMCommunicate request_size=4 [23:48:20]MH_SAM_APDU [23:48:20]CAPDU: 80 17 00 00 [23:48:20]Write to MH i2c: E2 08 00 F3 14 80 17 00 00 00 00 00 00 87 [23:48:20]Write i2c OK [23:48:20]MH_I2C_Read... [23:48:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:20]Read from MH i2c: E2 [23:48:20]MH_I2C_Read... [23:48:20]Read from MH i2c: E2 FD 00 [23:48:20]MH_I2C_Read... [23:48:20]Read from MH i2c: E2 FD 00 F3 14 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4F [23:48:20]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:20]wFMCommunicate OK [23:48:20]wFMCommunicate request_size=4 [23:48:20]MH_SAM_APDU [23:48:20]CAPDU: 80 17 00 00 [23:48:20]Write to MH i2c: E2 08 00 F4 14 80 17 00 00 00 00 00 00 88 [23:48:20]Write i2c OK [23:48:20]MH_I2C_Read... [23:48:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:20]Read from MH i2c: E2 [23:48:20]MH_I2C_Read... [23:48:20]Read from MH i2c: E2 FD 00 [23:48:20]MH_I2C_Read... [23:48:20]Read from MH i2c: E2 FD 00 F4 14 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B4 [23:48:20]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:20]wFMCommunicate OK [23:48:20]wFMCommunicate request_size=4 [23:48:20]MH_SAM_APDU [23:48:20]CAPDU: 80 17 00 00 [23:48:20]Write to MH i2c: E2 08 00 F5 14 80 17 00 00 00 00 00 00 89 [23:48:20]Write i2c OK [23:48:20]MH_I2C_Read... [23:48:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:21]Read from MH i2c: E2 [23:48:21]MH_I2C_Read... [23:48:21]Read from MH i2c: E2 FD 00 [23:48:21]MH_I2C_Read... [23:48:21]Read from MH i2c: E2 FD 00 F5 14 00 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 FE [23:48:21]RAPDU: 00 00 EF 03 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 90 00 [23:48:21]wFMCommunicate OK [23:48:21]wFMCommunicate request_size=4 [23:48:21]MH_SAM_APDU [23:48:21]CAPDU: 80 17 00 00 [23:48:21]Write to MH i2c: E2 08 00 F6 14 80 17 00 00 00 00 00 00 8A [23:48:21]Write i2c OK [23:48:21]MH_I2C_Read... [23:48:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:48:21]Read from MH i2c: E2 [23:48:21]MH_I2C_Read... [23:48:21]Read from MH i2c: E2 D8 00 [23:48:21]MH_I2C_Read... [23:48:21]Read from MH i2c: E2 D8 00 F6 14 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [23:48:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:48:21]wFMCommunicate OK [23:48:21]SAM_PROTO_GetFMData done [23:48:21]requested_item fm.sale_refund.total is exist - process it [23:48:21]requested_item fm.buy.total is exist - process it [23:48:21]requested_item shift.sale.total is exist - process it [23:48:21]SAM_PROTO_GetShiftData [23:48:21]wFMCommunicate request_size=4 [23:48:21]MH_SAM_APDU [23:48:21]CAPDU: 80 13 02 00 [23:48:21]Write to MH i2c: E2 08 00 F7 14 80 13 02 00 00 00 00 00 89 [23:48:21]Write i2c OK [23:48:21]MH_I2C_Read... [23:48:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:48:21]Read from MH i2c: E2 [23:48:21]MH_I2C_Read... [23:48:21]Read from MH i2c: E2 FD 00 [23:48:21]MH_I2C_Read... [23:48:21]Read from MH i2c: E2 FD 00 F7 14 00 AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 FD [23:48:21]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:48:21]wFMCommunicate OK [23:48:21]wFMCommunicate request_size=4 [23:48:21]MH_SAM_APDU [23:48:21]CAPDU: 80 17 00 00 [23:48:21]Write to MH i2c: E2 08 00 F8 14 80 17 00 00 00 00 00 00 8C [23:48:21]Write i2c OK [23:48:21]MH_I2C_Read... [23:48:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:22]Read from MH i2c: E2 [23:48:22]MH_I2C_Read... [23:48:22]Read from MH i2c: E2 FD 00 [23:48:22]MH_I2C_Read... [23:48:22]Read from MH i2c: E2 FD 00 F8 14 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 AE [23:48:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:48:22]wFMCommunicate OK [23:48:22]wFMCommunicate request_size=4 [23:48:22]MH_SAM_APDU [23:48:22]CAPDU: 80 17 00 00 [23:48:22]Write to MH i2c: E2 08 00 F9 14 80 17 00 00 00 00 00 00 8D [23:48:22]Write i2c OK [23:48:22]MH_I2C_Read... [23:48:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:22]Read from MH i2c: E2 [23:48:22]MH_I2C_Read... [23:48:22]Read from MH i2c: E2 FD 00 [23:48:22]MH_I2C_Read... [23:48:22]Read from MH i2c: E2 FD 00 F9 14 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 44 [23:48:22]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:48:22]wFMCommunicate OK [23:48:22]wFMCommunicate request_size=4 [23:48:22]MH_SAM_APDU [23:48:22]CAPDU: 80 17 00 00 [23:48:22]Write to MH i2c: E2 08 00 FA 14 80 17 00 00 00 00 00 00 8E [23:48:22]Write i2c OK [23:48:22]MH_I2C_Read... [23:48:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:22]Read from MH i2c: E2 [23:48:22]MH_I2C_Read... [23:48:22]Read from MH i2c: E2 FD 00 [23:48:22]MH_I2C_Read... [23:48:22]Read from MH i2c: E2 FD 00 FA 14 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 00 [23:48:22]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:48:22]wFMCommunicate OK [23:48:22]wFMCommunicate request_size=4 [23:48:22]MH_SAM_APDU [23:48:22]CAPDU: 80 17 00 00 [23:48:22]Write to MH i2c: E2 08 00 FB 14 80 17 00 00 00 00 00 00 8F [23:48:22]Write i2c OK [23:48:22]MH_I2C_Read... [23:48:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:48:22]Read from MH i2c: E2 [23:48:22]MH_I2C_Read... [23:48:22]Read from MH i2c: E2 CB 00 [23:48:22]MH_I2C_Read... [23:48:22]Read from MH i2c: E2 CB 00 FB 14 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 78 [23:48:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:48:22]wFMCommunicate OK [23:48:22]SAM_PROTO_GetShiftData done [23:48:22]requested_item shift.sale.total_cash is exist - process it [23:48:22]requested_item shift.sale_refund.total is exist - process it [23:48:22]requested_item shift.sale_refund.total_cash is exist - process it [23:48:22]requested_item shift.buy.total is exist - process it [23:48:22]requested_item shift.buy.total_cash is exist - process it [23:48:22]produce_requested_data done [23:48:22]produce_requested_data return {"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:48:22]process_action_free get_value [23:48:22]json_value_free [23:48:22]json_value_free done [23:48:22]process_json_proto returns [23:48:22]Send response to host [23:48:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:48:22]free response buf [23:48:22]execute_script done [23:48:22]execute_script returns [23:48:22]free content buf [23:48:22]Sock 8.Close socket [23:48:22]Sock 8.Thread stoped [23:48:23]accept exits with 9 [23:48:23]New connection [23:48:23]New thread 3067227492 created [23:48:23]Thread 3067370852 joined [23:48:23]Waiting for new connection... [23:48:23] Sock 9.Parse request [23:48:23]Sock 9.Check first char [23:48:23]Sock 9.First char is OK [23:48:23]request: POST /json_proto HTTP/1.0 [23:48:23]Method: POST [23:48:23]URL: /json_proto [23:48:23]Method is POST - this is cgi request [23:48:23]url: /json_proto [23:48:23]query_string will be loaded in cgi processing [23:48:23]execute_cgi json_proto POST (null) [23:48:23]execute_cgi path=json_proto method=POST [23:48:23]POST find Content-Length [23:48:23]Host: 172.17.56.68:8080 [23:48:23]Content-Length: 331 [23:48:23]Content-Type: application/json [23:48:23] [23:48:23]POST finish read [23:48:23]Found Content-Length = 331 [23:48:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:48:23]execute_script... [23:48:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:48:23]POST & json_proto [23:48:23]process_json_proto [23:48:23]json parsed OK: [23:48:23]protocol is kg_v1.0 [23:48:23]action value=get_value [23:48:23]process_action get_value [23:48:23]cmd_get_value [23:48:23]process_action get_value done [23:48:23]requested_data is exist [23:48:23]produce_requested_data [23:48:23]requested_item fm.sale.total is exist - process it [23:48:23]SAM_PROTO_GetFMData [23:48:23]wFMCommunicate request_size=4 [23:48:23]MH_SAM_APDU [23:48:23]CAPDU: 80 13 03 00 [23:48:23]Write to MH i2c: E2 08 00 FC 14 80 13 03 00 00 00 00 00 8F [23:48:23]Write i2c OK [23:48:23]MH_I2C_Read... [23:48:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:48:23]Read from MH i2c: E2 [23:48:23]MH_I2C_Read... [23:48:23]Read from MH i2c: E2 FD 00 [23:48:23]MH_I2C_Read... [23:48:23]Read from MH i2c: E2 FD 00 FC 14 00 BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 CF [23:48:23]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:48:23]wFMCommunicate OK [23:48:23]wFMCommunicate request_size=4 [23:48:23]MH_SAM_APDU [23:48:23]CAPDU: 80 17 00 00 [23:48:23]Write to MH i2c: E2 08 00 FD 14 80 17 00 00 00 00 00 00 91 [23:48:23]Write i2c OK [23:48:23]MH_I2C_Read... [23:48:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:23]Read from MH i2c: E2 [23:48:23]MH_I2C_Read... [23:48:23]Read from MH i2c: E2 FD 00 [23:48:23]MH_I2C_Read... [23:48:23]Read from MH i2c: E2 FD 00 FD 14 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 59 [23:48:23]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:23]wFMCommunicate OK [23:48:23]wFMCommunicate request_size=4 [23:48:23]MH_SAM_APDU [23:48:23]CAPDU: 80 17 00 00 [23:48:23]Write to MH i2c: E2 08 00 FE 14 80 17 00 00 00 00 00 00 92 [23:48:23]Write i2c OK [23:48:23]MH_I2C_Read... [23:48:24]OFD Sender: No OFD packet to send [23:48:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:24]Read from MH i2c: E2 [23:48:24]MH_I2C_Read... [23:48:24]Read from MH i2c: E2 FD 00 [23:48:24]MH_I2C_Read... [23:48:24]Read from MH i2c: E2 FD 00 FE 14 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BE [23:48:24]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:24]wFMCommunicate OK [23:48:24]wFMCommunicate request_size=4 [23:48:24]MH_SAM_APDU [23:48:24]CAPDU: 80 17 00 00 [23:48:24]Write to MH i2c: E2 08 00 FF 14 80 17 00 00 00 00 00 00 93 [23:48:24]Write i2c OK [23:48:24]MH_I2C_Read... [23:48:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:24]Read from MH i2c: E2 [23:48:24]MH_I2C_Read... [23:48:24]Read from MH i2c: E2 FD 00 [23:48:24]MH_I2C_Read... [23:48:24]Read from MH i2c: E2 FD 00 FF 14 00 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 08 [23:48:24]RAPDU: 00 00 EF 03 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 90 00 [23:48:24]wFMCommunicate OK [23:48:24]wFMCommunicate request_size=4 [23:48:24]MH_SAM_APDU [23:48:24]CAPDU: 80 17 00 00 [23:48:24]Write to MH i2c: E2 08 00 00 15 80 17 00 00 00 00 00 00 95 [23:48:24]Write i2c OK [23:48:24]MH_I2C_Read... [23:48:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:48:24]Read from MH i2c: E2 [23:48:24]MH_I2C_Read... [23:48:24]Read from MH i2c: E2 D8 00 [23:48:24]MH_I2C_Read... [23:48:24]Read from MH i2c: E2 D8 00 00 15 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 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 7C [23:48:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:48:25]wFMCommunicate OK [23:48:25]SAM_PROTO_GetFMData done [23:48:25]requested_item fm.sale_refund.total is exist - process it [23:48:25]requested_item fm.buy.total is exist - process it [23:48:25]requested_item shift.sale.total is exist - process it [23:48:25]SAM_PROTO_GetShiftData [23:48:25]wFMCommunicate request_size=4 [23:48:25]MH_SAM_APDU [23:48:25]CAPDU: 80 13 02 00 [23:48:25]Write to MH i2c: E2 08 00 01 15 80 13 02 00 00 00 00 00 94 [23:48:25]Write i2c OK [23:48:25]MH_I2C_Read... [23:48:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:48:25]Read from MH i2c: E2 [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: E2 FD 00 [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: E2 FD 00 01 15 00 AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 08 [23:48:25]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:48:25]wFMCommunicate OK [23:48:25]wFMCommunicate request_size=4 [23:48:25]MH_SAM_APDU [23:48:25]CAPDU: 80 17 00 00 [23:48:25]Write to MH i2c: E2 08 00 02 15 80 17 00 00 00 00 00 00 97 [23:48:25]Write i2c OK [23:48:25]MH_I2C_Read... [23:48:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:25]Read from MH i2c: E2 [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: E2 FD 00 [23:48:25]MH_I2C_Read... [23:48:25]Read from MH i2c: E2 FD 00 02 15 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 B9 [23:48:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:48:25]wFMCommunicate OK [23:48:25]wFMCommunicate request_size=4 [23:48:25]MH_SAM_APDU [23:48:25]CAPDU: 80 17 00 00 [23:48:25]Write to MH i2c: E2 08 00 03 15 80 17 00 00 00 00 00 00 98 [23:48:25]Write i2c OK [23:48:25]MH_I2C_Read... [23:48:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:26]Read from MH i2c: E2 [23:48:26]MH_I2C_Read... [23:48:26]Read from MH i2c: E2 FD 00 [23:48:26]MH_I2C_Read... [23:48:26]Read from MH i2c: E2 FD 00 03 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4F [23:48:26]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:48:26]wFMCommunicate OK [23:48:26]wFMCommunicate request_size=4 [23:48:26]MH_SAM_APDU [23:48:26]CAPDU: 80 17 00 00 [23:48:26]Write to MH i2c: E2 08 00 04 15 80 17 00 00 00 00 00 00 99 [23:48:26]Write i2c OK [23:48:26]MH_I2C_Read... [23:48:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:26]Read from MH i2c: E2 [23:48:26]MH_I2C_Read... [23:48:26]Read from MH i2c: E2 FD 00 [23:48:26]MH_I2C_Read... [23:48:26]Read from MH i2c: E2 FD 00 04 15 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 0B [23:48:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:48:26]wFMCommunicate OK [23:48:26]wFMCommunicate request_size=4 [23:48:26]MH_SAM_APDU [23:48:26]CAPDU: 80 17 00 00 [23:48:26]Write to MH i2c: E2 08 00 05 15 80 17 00 00 00 00 00 00 9A [23:48:26]Write i2c OK [23:48:26]MH_I2C_Read... [23:48:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:48:26]Read from MH i2c: E2 [23:48:26]MH_I2C_Read... [23:48:26]Read from MH i2c: E2 CB 00 [23:48:26]MH_I2C_Read... [23:48:26]Read from MH i2c: E2 CB 00 05 15 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 83 [23:48:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:48:26]wFMCommunicate OK [23:48:26]SAM_PROTO_GetShiftData done [23:48:26]requested_item shift.sale.total_cash is exist - process it [23:48:26]requested_item shift.sale_refund.total is exist - process it [23:48:26]requested_item shift.sale_refund.total_cash is exist - process it [23:48:26]requested_item shift.buy.total is exist - process it [23:48:26]requested_item shift.buy.total_cash is exist - process it [23:48:26]produce_requested_data done [23:48:26]produce_requested_data return {"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:48:26]process_action_free get_value [23:48:27]json_value_free [23:48:27]json_value_free done [23:48:27]process_json_proto returns [23:48:27]Send response to host [23:48:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:48:27]free response buf [23:48:27]execute_script done [23:48:27]execute_script returns [23:48:27]free content buf [23:48:27]Sock 9.Close socket [23:48:27]Sock 9.Thread stoped [23:48:27]accept exits with 8 [23:48:27]New connection [23:48:27]New thread 3067370852 created [23:48:27]Thread 3067227492 joined [23:48:27]Waiting for new connection... [23:48:27] Sock 8.Parse request [23:48:27]Sock 8.Check first char [23:48:27]Sock 8.First char is OK [23:48:27]request: POST /json_proto HTTP/1.0 [23:48:27]Method: POST [23:48:27]URL: /json_proto [23:48:27]Method is POST - this is cgi request [23:48:27]url: /json_proto [23:48:27]query_string will be loaded in cgi processing [23:48:27]execute_cgi json_proto POST (null) [23:48:27]execute_cgi path=json_proto method=POST [23:48:27]POST find Content-Length [23:48:27]Host: 172.17.56.68:8080 [23:48:27]Content-Length: 284 [23:48:27]Content-Type: application/json [23:48:27] [23:48:27]POST finish read [23:48:27]Found Content-Length = 284 [23:48:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:27]execute_script... [23:48:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:48:27]POST & json_proto [23:48:27]process_json_proto [23:48:27]json parsed OK: [23:48:27]protocol is kg_v1.0 [23:48:27]action value=close_shift [23:48:27]process_action close_shift [23:48:27]cmd_close_shift [23:48:27]MH_GetDate [23:48:27]Write to MH i2c: F0 00 00 06 15 0A [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: F0 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: F0 09 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: F0 09 00 06 15 00 51 56 5E 66 42 69 5C 66 EB [23:48:27]GetLastDocTimeStamp 1717458436 [23:48:27]current date 1717458513 [23:48:27]FM_GetShiftState [23:48:27]SAM_PROTO_GetShiftState [23:48:27]wFMCommunicate request_size=4 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 13 01 00 [23:48:27]Write to MH i2c: E2 08 00 07 15 80 13 01 00 00 00 00 00 99 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 0E 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 0E 00 07 15 00 09 00 01 B8 07 5D 66 00 00 00 00 90 00 27 [23:48:27]RAPDU: 09 00 01 B8 07 5D 66 00 00 00 00 90 00 [23:48:27]wFMCommunicate OK [23:48:27]SAM_PROTO_GetShiftState done [23:48:27]FM_GetShiftState done [23:48:27]KKMCreateCloseShiftDocument [23:48:27]Load OK [23:48:27]Malloc new data [23:48:27]MH_GetDate [23:48:27]Write to MH i2c: F0 00 00 08 15 0C [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: F0 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: F0 09 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: F0 09 00 08 15 00 51 56 5E 66 42 69 5C 66 ED [23:48:27]Malloc new data [23:48:27]Malloc new data [23:48:27]Malloc new data [23:48:27]Malloc new data [23:48:27]KKMCreateCloseShiftDocument OK [23:48:27]KKMSetCloseShiftData OK [23:48:27]ProcessDocumentItem done err = 0, tmpTLVsize=79 [23:48:27]tlvbuf is 007C8600 [23:48:27]KKMLoadAndSignCloseShiftData [23:48:27]SAM_PROTO_ProcessDocument [23:48:27]wFMCommunicate request_size=9 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 15 01 00 04 05 00 4F 00 [23:48:27]Write to MH i2c: E2 0C 00 09 15 80 15 01 00 04 00 05 00 4F 00 00 00 F9 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 09 15 00 90 00 92 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]wFMCommunicate request_size=23 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:48:27]Write to MH i2c: E2 1A 00 0A 15 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 94 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 0A 15 00 90 00 93 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]wFMCommunicate request_size=38 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 [23:48:27]Write to MH i2c: E2 29 00 0B 15 80 15 02 00 21 00 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 00 00 2D [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 0B 15 00 90 00 94 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]wFMCommunicate request_size=13 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 15 02 00 08 F4 03 04 00 51 56 5E 66 [23:48:27]Write to MH i2c: E2 10 00 0C 15 80 15 02 00 08 00 F4 03 04 00 51 56 5E 66 00 00 17 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 0C 15 00 90 00 95 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]wFMCommunicate request_size=25 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [23:48:27]Write to MH i2c: E2 1C 00 0D 15 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 08 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:48:27]Read from MH i2c: E2 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 [23:48:27]MH_I2C_Read... [23:48:27]Read from MH i2c: E2 03 00 0D 15 00 90 00 96 [23:48:27]RAPDU: 90 00 [23:48:27]wFMCommunicate OK [23:48:27]wFMCommunicate request_size=4 [23:48:27]MH_SAM_APDU [23:48:27]CAPDU: 80 15 03 00 [23:48:27]Write to MH i2c: E2 08 00 0E 15 80 15 03 00 00 00 00 00 A4 [23:48:27]Write i2c OK [23:48:27]MH_I2C_Read... [23:48:28]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:48:28]Read from MH i2c: E2 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: E2 FD 00 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: E2 FD 00 0E 15 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F2 0F 00 00 0E 04 04 00 52 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 88 [23:48:28]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F2 0F 00 00 0E 04 04 00 52 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [23:48:28]wFMCommunicate OK [23:48:28]SAM_PROTO_ProcessDocument answer len = 1265 [23:48:28]SAM_PROTO_ProcessDocument remain to read = 1017 [23:48:28]wFMCommunicate request_size=4 [23:48:28]MH_SAM_APDU [23:48:28]CAPDU: 80 17 00 00 [23:48:28]Write to MH i2c: E2 08 00 0F 15 80 17 00 00 00 00 00 00 A4 [23:48:28]Write i2c OK [23:48:28]MH_I2C_Read... [23:48:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:28]Read from MH i2c: E2 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: E2 FD 00 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: E2 FD 00 0F 15 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 ED [23:48:28]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:48:28]wFMCommunicate OK [23:48:28]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:48:28]SAM_PROTO_ProcessDocument remain to read = 767 [23:48:28]wFMCommunicate request_size=4 [23:48:28]MH_SAM_APDU [23:48:28]CAPDU: 80 17 00 00 [23:48:28]Write to MH i2c: E2 08 00 10 15 80 17 00 00 00 00 00 00 A5 [23:48:28]Write i2c OK [23:48:28]MH_I2C_Read... [23:48:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:28]Read from MH i2c: E2 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: E2 FD 00 [23:48:28]MH_I2C_Read... [23:48:28]Read from MH i2c: E2 FD 00 10 15 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 07 [23:48:29]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:48:29]wFMCommunicate OK [23:48:29]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:48:29]SAM_PROTO_ProcessDocument remain to read = 517 [23:48:29]wFMCommunicate request_size=4 [23:48:29]MH_SAM_APDU [23:48:29]CAPDU: 80 17 00 00 [23:48:29]Write to MH i2c: E2 08 00 11 15 80 17 00 00 00 00 00 00 A6 [23:48:29]Write i2c OK [23:48:29]MH_I2C_Read... [23:48:29]OFD Sender: No OFD packet to send [23:48:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:29]Read from MH i2c: E2 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 FD 00 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 FD 00 11 15 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 30 [23:48:29]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [23:48:29]wFMCommunicate OK [23:48:29]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:48:29]SAM_PROTO_ProcessDocument remain to read = 267 [23:48:29]wFMCommunicate request_size=4 [23:48:29]MH_SAM_APDU [23:48:29]CAPDU: 80 17 00 00 [23:48:29]Write to MH i2c: E2 08 00 12 15 80 17 00 00 00 00 00 00 A7 [23:48:29]Write i2c OK [23:48:29]MH_I2C_Read... [23:48:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:29]Read from MH i2c: E2 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 FD 00 [23:48:29]MH_I2C_Read... [23:48:29]Read from MH i2c: E2 FD 00 12 15 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 6F [23:48:29]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:48:30]wFMCommunicate OK [23:48:30]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:48:30]SAM_PROTO_ProcessDocument remain to read = 17 [23:48:30]wFMCommunicate request_size=4 [23:48:30]MH_SAM_APDU [23:48:30]CAPDU: 80 17 00 00 [23:48:30]Write to MH i2c: E2 08 00 13 15 80 17 00 00 00 00 00 00 A8 [23:48:30]Write i2c OK [23:48:30]MH_I2C_Read... [23:48:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:48:30]Read from MH i2c: E2 [23:48:30]MH_I2C_Read... [23:48:30]Read from MH i2c: E2 14 00 [23:48:30]MH_I2C_Read... [23:48:30]Read from MH i2c: E2 14 00 13 15 00 01 00 06 F7 03 00 00 35 04 06 00 AB 65 BC 76 F9 92 90 00 BA [23:48:30]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 AB 65 BC 76 F9 92 90 00 [23:48:30]wFMCommunicate OK [23:48:30]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:48:30]SAM_PROTO_ProcessDocument done [23:48:30]1209 (1) - 1.0 - номер версии ФФД [23:48:30]1041 (16) - 0000000000959360 - номер ФМ [23:48:30]1040 (4) - 4082 - номер ФД [23:48:30]1038 (4) - 82 - номер смены [23:48:30]1118 (4) - 62 - количество кассовых чеков за смену [23:48:30]1111 (4) - 64 - общее количество ФД за смену [23:48:30]1194 (1194) - счетчики итогов смены [23:48:30] 1134 (4) - 62 - количество чеков со всеми признаками расчетов [23:48:30] 1129 (155) - счетчики операций «приход» [23:48:30] 1135 (4) - 62 - количество чеков по признаку расчетов [23:48:30] 1201 (3) - 13764.00 - общая итоговая сумма в чеках [23:48:30] 1136 (3) - 12124.00 - итоговая сумма в чеках наличными [23:48:30] 1138 (3) - 1640.00 - итоговая сумма в чеках безналичными [23:48:30] 1024 (122) - суммы налогов [23:48:30] 1006 (9) - суммы НДС [23:48:30] 1010 (1) - 0% - код ставки НДС [23:48:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:48:30] 1006 (12) - суммы НДС [23:48:30] 1010 (1) - 12% - код ставки НДС [23:48:30] 1011 (3) - 1461.68 - сумма НДС по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 0% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (11) - суммы НСП [23:48:30] 1014 (1) - 1% - код ставки НСП [23:48:30] 1015 (2) - 121.72 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 2% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 3% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 5% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 0,50% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 1,50% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1130 (141) - счетчики операций «возврат прихода» [23:48:30] 1135 (4) - 0 - количество чеков по признаку расчетов [23:48:30] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:48:30] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:48:30] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:48:30] 1024 (117) - суммы налогов [23:48:30] 1006 (9) - суммы НДС [23:48:30] 1010 (1) - 0% - код ставки НДС [23:48:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:48:30] 1006 (9) - суммы НДС [23:48:30] 1010 (1) - 12% - код ставки НДС [23:48:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 0% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 1% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 2% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 3% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 5% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 0,50% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 1,50% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1131 (141) - счетчики операций «расход» [23:48:30] 1135 (4) - 0 - количество чеков по признаку расчетов [23:48:30] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:48:30] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:48:30] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:48:30] 1024 (117) - суммы налогов [23:48:30] 1006 (9) - суммы НДС [23:48:30] 1010 (1) - 0% - код ставки НДС [23:48:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:48:30] 1006 (9) - суммы НДС [23:48:30] 1010 (1) - 12% - код ставки НДС [23:48:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 0% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 1% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 2% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 3% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 5% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 0,50% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 1,50% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1132 (141) - счетчики операций «возврат расхода» [23:48:30] 1135 (4) - 0 - количество чеков по признаку расчетов [23:48:30] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:48:30] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:48:30] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:48:30] 1024 (117) - суммы налогов [23:48:30] 1006 (9) - суммы НДС [23:48:30] 1010 (1) - 0% - код ставки НДС [23:48:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:48:30] 1006 (9) - суммы НДС [23:48:30] 1010 (1) - 12% - код ставки НДС [23:48:30] 1011 (0) - 0.00 - сумма НДС по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 0% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 1% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 2% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 3% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 5% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 0,50% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1007 (9) - суммы НСП [23:48:30] 1014 (1) - 1,50% - код ставки НСП [23:48:30] 1015 (0) - 0.00 - сумма НСП по ставке [23:48:30] 1133 (588) - - счетчики коррекции - не используются [23:48:30]1077 (6) - 188453441960338 - ФПД [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1209 (04B9) [23:48:30]Malloc new data [23:48:30]Processing tag 1041 (0411) [23:48:30]Processing tag 1040 (0410) [23:48:30]Malloc new data [23:48:30]Processing tag 1038 (040E) [23:48:30]Malloc new data [23:48:30]Processing tag 1118 (045E) [23:48:30]Malloc new data [23:48:30]Processing tag 1111 (0457) [23:48:30]Malloc new data [23:48:30]Processing tag 1194 (04AA) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1134 (046E) [23:48:30]Malloc new data [23:48:30]Processing tag 1129 (0469) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1135 (046F) [23:48:30]Malloc new data [23:48:30]Processing tag 1201 (04B1) [23:48:30]Malloc new data [23:48:30]Processing tag 1136 (0470) [23:48:30]Malloc new data [23:48:30]Processing tag 1138 (0472) [23:48:30]Malloc new data [23:48:30]Processing tag 1024 (0400) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1006 (03EE) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1010 (03F2) [23:48:30]Malloc new data [23:48:30]Processing tag 1011 (03F3) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1006 (03EE) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1010 (03F2) [23:48:30]Malloc new data [23:48:30]Processing tag 1011 (03F3) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]SetTLVBufToDocument err=0 [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1130 (046A) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1135 (046F) [23:48:30]Malloc new data [23:48:30]Processing tag 1201 (04B1) [23:48:30]Malloc new data [23:48:30]Processing tag 1136 (0470) [23:48:30]Malloc new data [23:48:30]Processing tag 1138 (0472) [23:48:30]Malloc new data [23:48:30]Processing tag 1024 (0400) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1006 (03EE) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1010 (03F2) [23:48:30]Malloc new data [23:48:30]Processing tag 1011 (03F3) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1006 (03EE) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1010 (03F2) [23:48:30]Malloc new data [23:48:30]Processing tag 1011 (03F3) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]SetTLVBufToDocument err=0 [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1131 (046B) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1135 (046F) [23:48:30]Malloc new data [23:48:30]Processing tag 1201 (04B1) [23:48:30]Malloc new data [23:48:30]Processing tag 1136 (0470) [23:48:30]Malloc new data [23:48:30]Processing tag 1138 (0472) [23:48:30]Malloc new data [23:48:30]Processing tag 1024 (0400) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1006 (03EE) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1010 (03F2) [23:48:30]Malloc new data [23:48:30]Processing tag 1011 (03F3) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1006 (03EE) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1010 (03F2) [23:48:30]Malloc new data [23:48:30]Processing tag 1011 (03F3) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:30]Malloc new data [23:48:30]Processing tag 1015 (03F7) [23:48:30]Malloc new data [23:48:30]SetTLVBufToDocument err=0 [23:48:30]Processing tag 1007 (03EF) [23:48:30]Load OK [23:48:30]SetTLVBufToDocument [23:48:30]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]SetTLVBufToDocument err=0 [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1132 (046C) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1135 (046F) [23:48:31]Malloc new data [23:48:31]Processing tag 1201 (04B1) [23:48:31]Malloc new data [23:48:31]Processing tag 1136 (0470) [23:48:31]Malloc new data [23:48:31]Processing tag 1138 (0472) [23:48:31]Malloc new data [23:48:31]Processing tag 1024 (0400) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1006 (03EE) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1010 (03F2) [23:48:31]Malloc new data [23:48:31]Processing tag 1011 (03F3) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1006 (03EE) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1010 (03F2) [23:48:31]Malloc new data [23:48:31]Processing tag 1011 (03F3) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1007 (03EF) [23:48:31]Load OK [23:48:31]SetTLVBufToDocument [23:48:31]Processing tag 1014 (03F6) [23:48:31]Malloc new data [23:48:31]Processing tag 1015 (03F7) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]SetTLVBufToDocument err=0 [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1133 (046D) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Processing tag 1077 (0435) [23:48:31]Malloc new data [23:48:31]SetTLVBufToDocument err=0 [23:48:31]Malloc new data [23:48:31]SAM_PROTO_GetFMData [23:48:31]wFMCommunicate request_size=4 [23:48:31]MH_SAM_APDU [23:48:31]CAPDU: 80 13 03 00 [23:48:31]Write to MH i2c: E2 08 00 14 15 80 13 03 00 00 00 00 00 A8 [23:48:31]Write i2c OK [23:48:31]MH_I2C_Read... [23:48:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:48:31]Read from MH i2c: E2 [23:48:31]MH_I2C_Read... [23:48:31]Read from MH i2c: E2 FD 00 [23:48:31]MH_I2C_Read... [23:48:31]Read from MH i2c: E2 FD 00 14 15 00 BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 E8 [23:48:31]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:48:31]wFMCommunicate OK [23:48:31]wFMCommunicate request_size=4 [23:48:31]MH_SAM_APDU [23:48:31]CAPDU: 80 17 00 00 [23:48:31]Write to MH i2c: E2 08 00 15 15 80 17 00 00 00 00 00 00 AA [23:48:31]Write i2c OK [23:48:31]MH_I2C_Read... [23:48:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:32]Read from MH i2c: E2 [23:48:32]MH_I2C_Read... [23:48:32]Read from MH i2c: E2 FD 00 [23:48:32]MH_I2C_Read... [23:48:32]Read from MH i2c: E2 FD 00 15 15 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 72 [23:48:32]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:32]wFMCommunicate OK [23:48:32]wFMCommunicate request_size=4 [23:48:32]MH_SAM_APDU [23:48:32]CAPDU: 80 17 00 00 [23:48:32]Write to MH i2c: E2 08 00 16 15 80 17 00 00 00 00 00 00 AB [23:48:32]Write i2c OK [23:48:32]MH_I2C_Read... [23:48:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:32]Read from MH i2c: E2 [23:48:32]MH_I2C_Read... [23:48:32]Read from MH i2c: E2 FD 00 [23:48:32]MH_I2C_Read... [23:48:32]Read from MH i2c: E2 FD 00 16 15 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D7 [23:48:32]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:48:32]wFMCommunicate OK [23:48:32]wFMCommunicate request_size=4 [23:48:32]MH_SAM_APDU [23:48:32]CAPDU: 80 17 00 00 [23:48:32]Write to MH i2c: E2 08 00 17 15 80 17 00 00 00 00 00 00 AC [23:48:32]Write i2c OK [23:48:32]MH_I2C_Read... [23:48:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:48:33]Read from MH i2c: E2 [23:48:33]MH_I2C_Read... [23:48:33]Read from MH i2c: E2 FD 00 [23:48:33]MH_I2C_Read... [23:48:33]Read from MH i2c: E2 FD 00 17 15 00 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 21 [23:48:33]RAPDU: 00 00 EF 03 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 90 00 [23:48:33]wFMCommunicate OK [23:48:33]wFMCommunicate request_size=4 [23:48:33]MH_SAM_APDU [23:48:33]CAPDU: 80 17 00 00 [23:48:33]Write to MH i2c: E2 08 00 18 15 80 17 00 00 00 00 00 00 AD [23:48:33]Write i2c OK [23:48:33]MH_I2C_Read... [23:48:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:48:33]Read from MH i2c: E2 [23:48:33]MH_I2C_Read... [23:48:33]Read from MH i2c: E2 D8 00 [23:48:33]MH_I2C_Read... [23:48:33]Read from MH i2c: E2 D8 00 18 15 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 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 [23:48:33]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 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:48:33]wFMCommunicate OK [23:48:33]SAM_PROTO_GetFMData done [23:48:33]Malloc new data [23:48:33]Malloc new data [23:48:33]Malloc new data [23:48:33]Malloc new data [23:48:33]KKMLoadAndSignCloseShiftData err=0 [23:48:33]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Барыктабасов Т. 03.06.2024 23:48 Смена: 82 РНМ: 0000000000145775 ЗНМ: 0300000233 СНО: Общий режим Чеков за смену: 62 ФД за смену: 64 Всего чеков: 62 ИТОГИ ПРИХОД Чеков: 62 Общий итог: 13764.00 Итого наличными: 12124.00 Итого безнал.: 1640.00 НДС 0% : 0.00 НДС 12% : 1461.68 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 121.72 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 12124.00 НС Приход: 915219.31 НС Возвр.Прихода: 1764.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 4082 ФМ: 0000000000959360 ФПД: 188453441960338 [23:48:33]StoreToDocumentArchive [23:48:33]shift 82 fd 4082 [23:48:33]save to /storage/0082/doc_00004082 [23:48:33]save last doc name /storage/0082/doc_00004082 to /storage/kkm_last_doc_name [23:48:33]save OK [23:48:33]Clear old archive folders... [23:48:33]Remove dir /storage/0010 [23:48:33]opendir ok [23:48:33]file . [23:48:33]file .. [23:48:33]file doc_1717458443 [23:48:33]remove file /storage/0010/doc_1717458443 [23:48:33]remove dir /storage/0010 [23:48:33]NVStorageSaveData kkm_registers [23:48:33]File name is /storage/kkm_registers [23:48:33]Write 24 bytes [23:48:33]NVStorageSaveData done [23:48:33]NVStorageSaveData kkm_registers [23:48:33]File name is /storage/kkm_registers [23:48:33]Write 24 bytes [23:48:33]NVStorageSaveData done [23:48:33]ProcessDocumentItem done err = 0, tmpTLVsize=1387 [23:48:33]tlvbuf is 0086BD40 [23:48:33]SAM_PROTO_ClearQueue [23:48:33]wFMCommunicate request_size=4 [23:48:33]MH_SAM_APDU [23:48:33]CAPDU: 80 09 00 00 [23:48:33]Write to MH i2c: E2 08 00 19 15 80 09 00 00 00 00 00 00 A0 [23:48:33]Write i2c OK [23:48:33]MH_I2C_Read... [23:48:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:48:34]Read from MH i2c: E2 [23:48:34]MH_I2C_Read... [23:48:34]Read from MH i2c: E2 03 00 [23:48:34]MH_I2C_Read... [23:48:34]Read from MH i2c: E2 03 00 19 15 00 90 00 A2 [23:48:34]RAPDU: 90 00 [23:48:34]wFMCommunicate OK [23:48:34]SAM_PROTO_ClearQueue done [23:48:34]KKMCreateOFDPacket [23:48:34]OFDProtocolAddRootSTLVToBuf [23:48:34]FM_MakeSignedData [23:48:34]FM_MakeSignedData [23:48:34]SAM_PROTO_SignData [23:48:34]wFMCommunicate request_size=4 [23:48:34]MH_SAM_APDU [23:48:34]CAPDU: 80 0D 01 02 [23:48:34]Write to MH i2c: E2 08 00 1A 15 80 0D 01 02 00 00 00 00 A8 [23:48:34]Write i2c OK [23:48:34]MH_I2C_Read... [23:48:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:48:34]Read from MH i2c: E2 [23:48:34]MH_I2C_Read... [23:48:34]Read from MH i2c: E2 03 00 [23:48:34]MH_I2C_Read... [23:48:34]Read from MH i2c: E2 03 00 1A 15 00 90 00 A3 [23:48:34]RAPDU: 90 00 [23:48:34]wFMCommunicate OK [23:48:34]wFMCommunicate request_size=255 [23:48:34]MH_SAM_APDU [23:48:34]CAPDU: 80 0D 02 02 FA 05 00 6B 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 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 51 56 5E 66 0E 04 04 00 52 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 AA 04 D5 04 6E 04 04 00 3E 00 00 00 69 04 A2 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 OFD Sender: No OFD packet to send [23:48:34]F6 03 01 00 04 F7 03 01 00 00 EF 03 0A [23:48:34]Write to MH i2c: E2 02 01 1B 15 80 0D 02 02 FA 00 05 00 6B 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 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 51 56 5E 66 0E 04 04 00 52 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 AA 04 D5 04 6E 04 04 00 3E 00 00 00 69 04 A2 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 00 8A [23:48:34]Write i2c OK [23:48:34]MH_I2C_Read... [23:48:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:34]Read from MH i2c: E2 [23:48:34]MH_I2C_Read... [23:48:34]Read from MH i2c: E2 03 00 [23:48:34]MH_I2C_Read... [23:48:34]Read from MH i2c: E2 03 00 1B 15 00 90 00 A4 [23:48:34]RAPDU: 90 00 [23:48:34]wFMCommunicate OK [23:48:34]wFMCommunicate request_size=255 [23:48:34]MH_SAM_APDU [23:48:34]CAPDU: 80 0D 02 02 FA 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 8C 2F 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 [23:48:34]Write to MH i2c: E2 02 01 1C 15 80 0D 02 02 FA 00 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 8C 2F 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 00 00 D5 [23:48:34]Write i2c OK [23:48:34]MH_I2C_Read... [23:48:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:35]Read from MH i2c: E2 [23:48:35]MH_I2C_Read... [23:48:35]Read from MH i2c: E2 03 00 [23:48:35]MH_I2C_Read... [23:48:35]Read from MH i2c: E2 03 00 1C 15 00 90 00 A5 [23:48:35]RAPDU: 90 00 [23:48:35]wFMCommunicate OK [23:48:35]wFMCommunicate request_size=255 [23:48:35]MH_SAM_APDU [23:48:35]CAPDU: 80 0D 02 02 FA 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 [23:48:35]Write to MH i2c: E2 02 01 1D 15 80 0D 02 02 FA 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 00 70 [23:48:35]Write i2c OK [23:48:35]MH_I2C_Read... [23:48:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:35]Read from MH i2c: E2 [23:48:35]MH_I2C_Read... [23:48:35]Read from MH i2c: E2 03 00 [23:48:35]MH_I2C_Read... [23:48:35]Read from MH i2c: E2 03 00 1D 15 00 90 00 A6 [23:48:35]RAPDU: 90 00 [23:48:35]wFMCommunicate OK [23:48:35]wFMCommunicate request_size=255 [23:48:35]MH_SAM_APDU [23:48:35]CAPDU: 80 0D 02 02 FA 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 [23:48:35]Write to MH i2c: E2 02 01 1E 15 80 0D 02 02 FA 00 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 00 00 69 [23:48:36]Write i2c OK [23:48:36]MH_I2C_Read... [23:48:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:36]Read from MH i2c: E2 [23:48:36]MH_I2C_Read... [23:48:36]Read from MH i2c: E2 03 00 [23:48:36]MH_I2C_Read... [23:48:36]Read from MH i2c: E2 03 00 1E 15 00 90 00 A7 [23:48:36]RAPDU: 90 00 [23:48:36]wFMCommunicate OK [23:48:36]wFMCommunicate request_size=255 [23:48:36]MH_SAM_APDU [23:48:36]CAPDU: 80 0D 02 02 FA 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:48:36]Write to MH i2c: E2 02 01 1F 15 80 0D 02 02 FA 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 3A [23:48:36]Write i2c OK [23:48:36]MH_I2C_Read... [23:48:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:36]Read from MH i2c: E2 [23:48:36]MH_I2C_Read... [23:48:36]Read from MH i2c: E2 03 00 [23:48:36]MH_I2C_Read... [23:48:36]Read from MH i2c: E2 03 00 1F 15 00 90 00 A8 [23:48:36]RAPDU: 90 00 [23:48:36]wFMCommunicate OK [23:48:36]wFMCommunicate request_size=146 [23:48:36]MH_SAM_APDU [23:48:36]CAPDU: 80 0D 02 02 8D 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F2 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 AB 65 BC 76 F9 92 [23:48:36]Write to MH i2c: E2 95 00 20 15 80 0D 02 02 8D 00 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F2 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 AB 65 BC 76 F9 92 00 00 CA [23:48:37]Write i2c OK [23:48:37]MH_I2C_Read... [23:48:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:37]Read from MH i2c: E2 [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: E2 03 00 [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: E2 03 00 20 15 00 90 00 A9 [23:48:37]RAPDU: 90 00 [23:48:37]wFMCommunicate OK [23:48:37]wFMCommunicate request_size=4 [23:48:37]MH_SAM_APDU [23:48:37]CAPDU: 80 0D 03 02 [23:48:37]Write to MH i2c: E2 08 00 21 15 80 0D 03 02 00 00 00 00 B1 [23:48:37]Write i2c OK [23:48:37]MH_I2C_Read... [23:48:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:48:37]Read from MH i2c: E2 [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: E2 0B 00 [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: E2 0B 00 21 15 00 B0 3B CE EE E7 B7 32 74 90 00 9D [23:48:37]RAPDU: B0 3B CE EE E7 B7 32 74 90 00 [23:48:37]wFMCommunicate OK [23:48:37]SAM_PROTO_SignData done [23:48:37]FM_MakeSignedData done [23:48:37]CreateOFDProtocolMessage [23:48:37]wFMCommunicate request_size=4 [23:48:37]MH_SAM_APDU [23:48:37]CAPDU: 80 11 00 00 [23:48:37]Write to MH i2c: E2 08 00 22 15 80 11 00 00 00 00 00 00 B1 [23:48:37]Write i2c OK [23:48:37]MH_I2C_Read... [23:48:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:37]Read from MH i2c: E2 [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: E2 17 00 [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: E2 17 00 22 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 04 [23:48:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:48:37]wFMCommunicate OK [23:48:37]CreateOFDProtocolMessage done [23:48:37]OFDSenderStorePacket 4082 [23:48:37]StoreOFDPacket docnum=4082 [23:48:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 7F 05 00 00 D4 06 77 05 BC DC 5A 05 01 00 05 00 6B 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 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 51 56 5E 66 0E 04 04 00 52 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 AA 04 D5 04 6E 04 04 00 3E 00 00 00 69 04 A2 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 F2 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 AB 65 BC 76 F9 92 B0 3B CE EE E7 B7 32 74 [23:48:37]CheckFolder [23:48:37]dirname=/storage/ofd_packets [23:48:37]CheckFolder done [23:48:37]ProducePacketName [23:48:37]name=ofd_packets/00004082 [23:48:37]NVStorageSaveData ofd_packets/00004082 [23:48:37]File name is /storage/ofd_packets/00004082 [23:48:37]Write 1437 bytes [23:48:37]NVStorageSaveData done [23:48:37]OFDSenderStorePacket done [23:48:37]KKMCreateOFDPacket done [23:48:37]NVStorageSaveData kkm_last_timestamp [23:48:37]File name is /storage/kkm_last_timestamp [23:48:37]Write 4 bytes [23:48:37]NVStorageSaveData done [23:48:37]ExternCall_PrintAddStr [23:48:37]wPrintStart [23:48:37]Write to MH i2c: 01 00 00 23 15 38 [23:48:37]Write i2c OK [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: 01 [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: 01 07 00 [23:48:37]MH_I2C_Read... [23:48:37]Read from MH i2c: 01 07 00 23 15 00 00 00 00 00 FF 0F 4D [23:48:37]RasterBufferAndPrint [23:48:37]line Отчет о закрытии смены [23:48:37]line ФФД: 1.0 [23:48:37]line ИНН: 02508201610067 [23:48:37]line Кассир: Барыктабасов Т. [23:48:37]line 03.06.2024 23:48 [23:48:37]line Смена: 82 [23:48:37]line РНМ: 0000000000145775 [23:48:37]line ЗНМ: 0300000233 [23:48:37]line СНО: Общий режим [23:48:37]line Чеков за смену: 62 [23:48:37]line ФД за смену: 64 [23:48:37]line Всего чеков: 62 [23:48:37]line ИТОГИ ПРИХОД [23:48:37]line Чеков: 62 [23:48:37]line Общий итог: 13764.00 [23:48:37]line Итого наличными: 12124.00 [23:48:37]line Итого безнал.: 1640.00 [23:48:37]line НДС 0% : 0.00 [23:48:37]line НДС 12% : 1461.68 [23:48:37]line НСП 0% : 0.00 [23:48:37]line НСП 1,50% : 0.00 [23:48:37]line НСП 0,50% : 0.00 [23:48:37]line НСП 5% : 0.00 [23:48:37]line НСП 3% : 0.00 [23:48:37]line НСП 2% : 0.00 [23:48:37]line НСП 1% : 121.72 [23:48:37]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:48:37]line Чеков: 0 [23:48:37]line Общий итог: 0.00 [23:48:37]line Итого наличными: 0.00 [23:48:37]line Итого безнал.: 0.00 [23:48:37]line НДС 0% : 0.00 [23:48:37]line НДС 12% : 0.00 [23:48:37]line НСП 0% : 0.00 [23:48:37]line НСП 1,50% : 0.00 [23:48:37]line НСП 0,50% : 0.00 [23:48:37]line НСП 5% : 0.00 [23:48:37]line НСП 3% : 0.00 [23:48:37]line НСП 2% : 0.00 [23:48:37]line НСП 1% : 0.00 [23:48:37]line ИТОГИ РАСХОД [23:48:37]line Чеков: 0 [23:48:37]line Общий итог: 0.00 [23:48:37]line Итого наличными: 0.00 [23:48:37]line Итого безнал.: 0.00 [23:48:37]line НДС 0% : 0.00 [23:48:37]line НДС 12% : 0.00 [23:48:37]line НСП 0% : 0.00 [23:48:37]line НСП 1,50% : 0.00 [23:48:37]line НСП 0,50% : 0.00 [23:48:37]line НСП 5% : 0.00 [23:48:37]line НСП 3% : 0.00 [23:48:37]line НСП 2% : 0.00 [23:48:37]line НСП 1% : 0.00 [23:48:37]line ИТОГИ ВОЗВРАТ РАСХОДА [23:48:37]line Чеков: 0 [23:48:37]line Общий итог: 0.00 [23:48:37]line Итого наличными: 0.00 [23:48:37]line Итого безнал.: 0.00 [23:48:37]line НДС 0% : 0.00 [23:48:37]line НДС 12% : 0.00 [23:48:37]line НСП 0% : 0.00 [23:48:37]line НСП 1,50% : 0.00 [23:48:37]line НСП 0,50% : 0.00 [23:48:37]line НСП 5% : 0.00 [23:48:37]line НСП 3% : 0.00 [23:48:37]line НСП 2% : 0.00 [23:48:37]line НСП 1% : 0.00 [23:48:37]line Сумма внесений: 0.00 [23:48:37]line Сумма выплат: 0.00 [23:48:37]line Нал. в кассе: 12124.00 [23:48:37]line НС Приход: 915219.31 [23:48:37]line НС Возвр.Прихода: 1764.00 [23:48:37]line НС Расход: 0.00 [23:48:37]line НС Возвр.Расхода: 0.00 [23:48:37]line ФД: 4082 [23:48:37]line ФМ: 0000000000959360 [23:48:37]line ФПД: 188453441960338 [23:48:37]written 0, free lines is 4095 [23:48:37]OFD Sender: Processing packet 4082 [packets to send 2, broken 1] [23:48:37]ProducePacketName [23:48:37]name=ofd_packets/00004082 [23:48:37]OFD Sender: To server: pG, [23:48:37]CommunicateWithHost lk.salyk.kg:30040 [23:48:37]ConnectInit lk.salyk.kg [23:48:37]Connected sock=10 [23:48:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 7F 05 00 00 D4 06 77 05 BC DC 5A 05 01 00 05 00 6B 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 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 51 56 5E 66 0E 04 04 00 52 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 AA 04 D5 04 6E 04 04 00 3E 00 00 00 69 04 A2 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 Write to MH i2c: 04 01 00 00 00 00 70 73 04 15 00 88 00 [23:48:38]72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 Write i2c OK [23:48:38]00 MH_I2C_Read... [23:48:38]00 Read from MH i2c: EE 01 03 [23:48:38]09 MH_I2C_Read... [23:48:38]00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 Read from MH i2c: 03 01 00 07 00 00 EF [23:48:38]03 MH_I2C_Read... [23:48:38]09 Read from MH i2c: 00 01 F6 07 03 00 01 73 00 15 01 00 F7 00 03 00 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 65 F6 0A 03 FE 01 [23:48:38]00 RasterBufferAndPrint [23:48:38]03 line [23:48:38]F7 line [23:48:38]03 line [23:48:38]00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 line [23:48:38]09 line [23:48:38]00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 written 0, free lines is 2782 [23:48:38]03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 MH_Cut [23:48:38]00 Write to MH i2c: 00 D1 00 01 B1 00 04 7A 00 15 00 01 70 61 04 [23:48:38]00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 Write i2c OK [23:48:38]00 MH_I2C_Read... [23:48:38]EE Read from MH i2c: 03 D1 09 [23:48:38]00 MH_I2C_Read... [23:48:38]F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 Read from MH i2c: 00 D1 00 01 EF 00 03 [23:48:38]09 MH_I2C_Read... [23:48:38]00 Read from MH i2c: F6 D1 03 01 01 00 00 7A 01 15 F7 00 03 60 00 [23:48:38]00 Write to MH i2c: EF 01 03 00 09 00 00 7B F6 15 03 90 01 [23:48:38]00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 Write i2c OK [23:48:38]00 MH_I2C_Read... [23:48:38]F6 03 01 00 04 F7 03 00 00 EF 03 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 F2 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 AB 65 BC 76 F9 92 B0 3B CE EE E7 B7 32 74 [23:48:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FE B9 47 00 1D FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F2 0F 00 00 F4 03 04 00 5D 02 5E 66 B6 04 01 00 00 82 49 AF 59 74 D3 CC BD [23:48:39]CommunicateWithHost err = 0 [23:48:39]CheckOFDResponse [23:48:39]1017 (14) - 77093643461234 [23:48:39]1041 (16) - 0000000000959360 [23:48:39]1040 (4) - 4082 [23:48:39]1012 (4) - 03.06.2024 17:50 [23:48:39]1206 (1) - 0 [23:48:39]OFD Sender: Remove packet 4082 [23:48:39]ProducePacketName [23:48:39]name=ofd_packets/00004082 [23:48:39]NVStorageDeleteData [23:48:39]*** Cut start [23:48:39]*** Partial cut [23:48:39]*** CUTSNS_PIN = 1 [23:48:39]*** CUTSNS_PIN = 0 [23:48:39]OFD Sender: No OFD packet to send [23:48:40]*** Brake cut motor [23:48:40]Read from MH i2c: 01 [23:48:40]MH_I2C_Read... [23:48:40]*** Stop cut motor [23:48:40]*** Cut end [23:48:40]Read from MH i2c: 01 07 00 [23:48:40]MH_I2C_Read... [23:48:40]Read from MH i2c: 01 07 00 7B 15 00 00 00 00 00 FF 0F A5 [23:48:40]process_action close_shift done [23:48:40]requested_data is exist [23:48:40]produce_requested_data [23:48:40]requested_item fd.num is exist - process it [23:48:40]SAM_PROTO_GetFieldsCounters [23:48:40]wFMCommunicate request_size=4 [23:48:40]MH_SAM_APDU [23:48:40]CAPDU: 80 13 00 00 [23:48:40]Write to MH i2c: E2 08 00 7C 15 80 13 00 00 00 00 00 00 0D [23:48:40]Write i2c OK [23:48:40]MH_I2C_Read... [23:48:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:48:40]Read from MH i2c: E2 [23:48:40]MH_I2C_Read... [23:48:40]Read from MH i2c: E2 62 00 [23:48:40]MH_I2C_Read... [23:48:40]Read from MH i2c: E2 62 00 7C 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F2 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [23:48:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F2 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:48:40]wFMCommunicate OK [23:48:40]SAM_PROTO_GetFieldsCounters done [23:48:40]requested_item shift.num is exist - process it [23:48:40]requested_item shift.opened is exist - process it [23:48:40]req_shift_opened [23:48:40]FM_GetShiftState [23:48:40]SAM_PROTO_GetShiftState [23:48:40]wFMCommunicate request_size=4 [23:48:40]MH_SAM_APDU [23:48:40]CAPDU: 80 13 01 00 [23:48:40]Write to MH i2c: E2 08 00 7D 15 80 13 01 00 00 00 00 00 0F [23:48:40]Write i2c OK [23:48:40]MH_I2C_Read... [23:48:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:40]Read from MH i2c: E2 [23:48:40]MH_I2C_Read... [23:48:40]Read from MH i2c: E2 0E 00 [23:48:40]MH_I2C_Read... [23:48:40]Read from MH i2c: E2 0E 00 7D 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1A [23:48:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:48:40]wFMCommunicate OK [23:48:40]SAM_PROTO_GetShiftState done [23:48:40]FM_GetShiftState done [23:48:40]req_shift_opened done [23:48:40]requested_item shift.open_date is exist - process it [23:48:40]req_shift_open_date [23:48:40]FM_GetShiftState [23:48:40]SAM_PROTO_GetShiftState [23:48:40]wFMCommunicate request_size=4 [23:48:40]MH_SAM_APDU [23:48:40]CAPDU: 80 13 01 00 [23:48:40]Write to MH i2c: E2 08 00 7E 15 80 13 01 00 00 00 00 00 10 [23:48:40]Write i2c OK [23:48:40]MH_I2C_Read... [23:48:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:41]Read from MH i2c: E2 [23:48:41]MH_I2C_Read... [23:48:41]Read from MH i2c: E2 0E 00 [23:48:41]MH_I2C_Read... [23:48:41]Read from MH i2c: E2 0E 00 7E 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1B [23:48:41]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:48:41]wFMCommunicate OK [23:48:41]SAM_PROTO_GetShiftState done [23:48:41]FM_GetShiftState done [23:48:41]req_shift_open_date done [23:48:41]produce_requested_data done [23:48:41]produce_requested_data return {"fd.num":4082,"shift.num":82,"shift.opened":0,"shift.open_date":0} [23:48:41]process_action_free close_shift [23:48:41]json_value_free [23:48:41]json_value_free done [23:48:41]process_json_proto returns [23:48:41]Send response to host [23:48:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4082,"shift.num":82,"shift.opened":0,"shift.open_date":0}}} [23:48:41]free response buf [23:48:41]execute_script done [23:48:41]execute_script returns [23:48:41]free content buf [23:48:41]Sock 8.Close socket [23:48:41]Sock 8.Thread stoped [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:03]int [23:52:03]Write to MH i2c: 01 00 00 7F 15 94 [23:52:03]*** FLAG_PRN_KEY set [23:52:03]Write i2c OK [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 7F 15 00 08 00 00 00 FF 0F B1 [23:52:03]state=0 [23:52:03]Key pressed [23:52:03]Feed [23:52:03]Write to MH i2c: D8 00 00 80 15 6C [23:52:03]Write i2c OK [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: D8 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: D8 01 00 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: D8 01 00 80 15 00 6D [23:52:03]int [23:52:03]Write to MH i2c: 01 00 00 81 15 96 [23:52:03]Write i2c OK [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 81 15 00 48 00 00 00 3C 00 21 [23:52:03]state=2 [23:52:03]Key pressed [23:52:03]int [23:52:03]Write to MH i2c: 01 00 00 82 15 97 [23:52:03]*** FLAG_PRN_KEY reset [23:52:03]Write i2c OK [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 82 15 00 00 00 00 00 FB 0F A8 [23:52:03]state=2 [23:52:03]Stop feed [23:52:03]int [23:52:03]Write to MH i2c: 01 00 00 83 15 98 [23:52:03]*** FLAG_PRN_KEY set [23:52:03]Write i2c OK [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 83 15 00 08 00 00 00 FF 0F B5 [23:52:03]state=0 [23:52:03]Key pressed [23:52:03]Feed [23:52:03]Write to MH i2c: D8 00 00 84 15 70 [23:52:03]Write i2c OK [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: D8 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: D8 01 00 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: D8 01 00 84 15 00 71 [23:52:03]int [23:52:03]Write to MH i2c: 01 00 00 85 15 9A [23:52:03]Write i2c OK [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 [23:52:03]MH_I2C_Read... [23:52:03]Read from MH i2c: 01 07 00 85 15 00 48 00 00 00 3C 00 25 [23:52:03]state=2 [23:52:03]Key pressed [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 86 15 9B [23:52:04]*** FLAG_PRN_KEY reset [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 86 15 00 00 00 00 00 F6 0F A7 [23:52:04]state=2 [23:52:04]Stop feed [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 87 15 9C [23:52:04]*** FLAG_PRN_KEY set [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 87 15 00 08 00 00 00 FF 0F B9 [23:52:04]state=0 [23:52:04]Key pressed [23:52:04]Feed [23:52:04]Write to MH i2c: D8 00 00 88 15 74 [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 01 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 01 00 88 15 00 75 [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 89 15 9E [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 89 15 00 48 00 00 00 3C 00 29 [23:52:04]state=2 [23:52:04]Key pressed [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 8A 15 9F [23:52:04]*** FLAG_PRN_KEY reset [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 8A 15 00 00 00 00 00 F5 0F AA [23:52:04]state=2 [23:52:04]Stop feed [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 8B 15 A0 [23:52:04]*** FLAG_PRN_KEY set [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 8B 15 00 08 00 00 00 FF 0F BD [23:52:04]state=0 [23:52:04]Key pressed [23:52:04]Feed [23:52:04]Write to MH i2c: D8 00 00 8C 15 78 [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 01 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 01 00 8C 15 00 79 [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 8D 15 A2 [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 8D 15 00 48 00 00 00 3C 00 2D [23:52:04]state=2 [23:52:04]Key pressed [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 8E 15 A3 [23:52:04]*** FLAG_PRN_KEY reset [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 8E 15 00 00 00 00 00 F6 0F AF [23:52:04]state=2 [23:52:04]Stop feed [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 8F 15 A4 [23:52:04]*** FLAG_PRN_KEY set [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 8F 15 00 08 00 00 00 FF 0F C1 [23:52:04]state=0 [23:52:04]Key pressed [23:52:04]Feed [23:52:04]Write to MH i2c: D8 00 00 90 15 7C [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 01 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: D8 01 00 90 15 00 7D [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 91 15 A6 [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 91 15 00 48 00 00 00 3C 00 31 [23:52:04]state=2 [23:52:04]Key pressed [23:52:05]OFD Sender: No OFD packet to send [23:52:05]int [23:52:05]Write to MH i2c: 01 00 00 92 15 A7 [23:52:05]*** FLAG_PRN_KEY reset [23:52:05]Write i2c OK [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 07 00 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 07 00 92 15 00 00 00 00 00 F6 0F B3 [23:52:05]state=2 [23:52:05]Stop feed [23:52:05]int [23:52:05]Write to MH i2c: 01 00 00 93 15 A8 [23:52:05]*** FLAG_PRN_KEY set [23:52:05]Write i2c OK [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 07 00 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 07 00 93 15 00 08 00 00 00 FF 0F C5 [23:52:05]state=0 [23:52:05]Key pressed [23:52:05]Feed [23:52:05]Write to MH i2c: D8 00 00 94 15 80 [23:52:05]Write i2c OK [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: D8 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: D8 01 00 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: D8 01 00 94 15 00 81 [23:52:05]int [23:52:05]Write to MH i2c: 01 00 00 95 15 AA [23:52:05]Write i2c OK [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 07 00 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 07 00 95 15 00 48 00 00 00 3C 00 35 [23:52:05]state=2 [23:52:05]Key pressed [23:52:05]int [23:52:05]Write to MH i2c: 01 00 00 96 15 AB [23:52:05]*** FLAG_PRN_KEY reset [23:52:05]Write i2c OK [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 07 00 [23:52:05]MH_I2C_Read... [23:52:05]Read from MH i2c: 01 07 00 96 15 00 00 00 00 00 F7 0F B8 [23:52:05]state=2 [23:52:05]Stop feed [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:10]OFD Sender: No OFD packet to send [23:57:15]OFD Sender: No OFD packet to send [23:57:20]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:55]OFD Sender: No OFD packet to send [00:08:00]OFD Sender: No OFD packet to send [00:08:05]OFD Sender: No OFD packet to send [00:08:10]OFD Sender: No OFD packet to send [00:08:15]OFD Sender: No OFD packet to send [00:08:20]OFD Sender: No OFD packet to send [00:08:25]OFD Sender: No OFD packet to send [00:08:30]OFD Sender: No OFD packet to send [00:08:35]OFD Sender: No OFD packet to send [00:08:40]OFD Sender: No OFD packet to send [00:08:45]OFD Sender: No OFD packet to send [00:08:50]OFD Sender: No OFD packet to send [00:08:55]OFD Sender: No OFD packet to send [00:09:00]OFD Sender: No OFD packet to send [00:09:05]OFD Sender: No OFD packet to send [00:09:10]OFD Sender: No OFD packet to send [00:09:15]OFD Sender: No OFD packet to send [00:09:20]OFD Sender: No OFD packet to send [00:09:25]OFD Sender: No OFD packet to send [00:09:30]OFD Sender: No OFD packet to send [00:09:35]OFD Sender: No OFD packet to send [00:09:40]OFD Sender: No OFD packet to send [00:09:45]OFD Sender: No OFD packet to send [00:09:50]OFD Sender: No OFD packet to send [00:09:55]OFD Sender: No OFD packet to send [00:10:00]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:12]accept exits with 9 [00:10:12]New connection [00:10:12]New thread 3067227492 created [00:10:12]Thread 3067370852 joined [00:10:12]Waiting for new connection... [00:10:12] Sock 9.Parse request [00:10:12]Sock 9.Check first char [00:10:12]Sock 9.First char is OK [00:10:12]request: POST /json_proto HTTP/1.0 [00:10:12]Method: POST [00:10:12]URL: /json_proto [00:10:12]Method is POST - this is cgi request [00:10:12]url: /json_proto [00:10:12]query_string will be loaded in cgi processing [00:10:12]execute_cgi json_proto POST (null) [00:10:12]execute_cgi path=json_proto method=POST [00:10:12]POST find Content-Length [00:10:12]Host: 172.17.56.68:8080 [00:10:12]Content-Length: 215 [00:10:12]Content-Type: application/json [00:10:12] [00:10:12]POST finish read [00:10:12]Found Content-Length = 215 [00:10:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:12]execute_script... [00:10:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:12]POST & json_proto [00:10:12]process_json_proto [00:10:12]json parsed OK: [00:10:12]protocol is kg_v1.0 [00:10:12]action value=get_value [00:10:12]process_action get_value [00:10:12]cmd_get_value [00:10:12]process_action get_value done [00:10:12]requested_data is exist [00:10:12]produce_requested_data [00:10:12]requested_item kkm.sn is exist - process it [00:10:12]requested_item kkm.ver is exist - process it [00:10:12]requested_item fm.sn is exist - process it [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 11 00 00 [00:10:12]Write to MH i2c: E2 08 00 97 15 80 11 00 00 00 00 00 00 26 [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 17 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 17 00 97 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 79 [00:10:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:10:12]wFMCommunicate OK [00:10:12]requested_item fd.num is exist - process it [00:10:12]SAM_PROTO_GetFieldsCounters [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 13 00 00 [00:10:12]Write to MH i2c: E2 08 00 98 15 80 13 00 00 00 00 00 00 29 [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 62 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 62 00 98 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F2 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 5C [00:10:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F2 0F 00 00 0E 04 04 00 52 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:12]wFMCommunicate OK [00:10:12]SAM_PROTO_GetFieldsCounters done [00:10:12]requested_item shift.num is exist - process it [00:10:12]requested_item shift.opened is exist - process it [00:10:12]req_shift_opened [00:10:12]FM_GetShiftState [00:10:12]SAM_PROTO_GetShiftState [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 13 01 00 [00:10:12]Write to MH i2c: E2 08 00 99 15 80 13 01 00 00 00 00 00 2B [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 0E 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 0E 00 99 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 36 [00:10:12]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:10:12]wFMCommunicate OK [00:10:12]SAM_PROTO_GetShiftState done [00:10:12]FM_GetShiftState done [00:10:12]req_shift_opened done [00:10:12]requested_item shift.open_date is exist - process it [00:10:12]req_shift_open_date [00:10:12]FM_GetShiftState [00:10:12]SAM_PROTO_GetShiftState [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 13 01 00 [00:10:12]Write to MH i2c: E2 08 00 9A 15 80 13 01 00 00 00 00 00 2C [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 0E 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 0E 00 9A 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 37 [00:10:12]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:10:12]wFMCommunicate OK [00:10:12]SAM_PROTO_GetShiftState done [00:10:12]FM_GetShiftState done [00:10:12]req_shift_open_date done [00:10:12]produce_requested_data done [00:10:12]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4082,"shift.num":82,"shift.opened":0,"shift.open_date":0} [00:10:12]process_action_free get_value [00:10:12]json_value_free [00:10:12]json_value_free done [00:10:12]process_json_proto returns [00:10:12]Send response to host [00:10:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4082,"shift.num":82,"shift.opened":0,"shift.open_date":0}}} [00:10:12]free response buf [00:10:12]execute_script done [00:10:12]execute_script returns [00:10:12]free content buf [00:10:12]Sock 9.Close socket [00:10:12]Sock 9.Thread stoped [00:10:12]accept exits with 8 [00:10:12]New connection [00:10:12]New thread 3067370852 created [00:10:12]Thread 3067227492 joined [00:10:12]Waiting for new connection... [00:10:12] Sock 8.Parse request [00:10:12]Sock 8.Check first char [00:10:12]Sock 8.First char is OK [00:10:12]request: POST /json_proto HTTP/1.0 [00:10:12]Method: POST [00:10:12]URL: /json_proto [00:10:12]Method is POST - this is cgi request [00:10:12]url: /json_proto [00:10:12]query_string will be loaded in cgi processing [00:10:12]execute_cgi json_proto POST (null) [00:10:12]execute_cgi path=json_proto method=POST [00:10:12]POST find Content-Length [00:10:12]Host: 172.17.56.68:8080 [00:10:12]Content-Length: 331 [00:10:12]Content-Type: application/json [00:10:12] [00:10:12]POST finish read [00:10:12]Found Content-Length = 331 [00:10: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" ] } } [00:10:12]execute_script... [00:10:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:13]POST & json_proto [00:10:13]process_json_proto [00:10:13]json parsed OK: [00:10:13]protocol is kg_v1.0 [00:10:13]action value=get_value [00:10:13]process_action get_value [00:10:13]cmd_get_value [00:10:13]process_action get_value done [00:10:13]requested_data is exist [00:10:13]produce_requested_data [00:10:13]requested_item fm.sale.total is exist - process it [00:10:13]SAM_PROTO_GetFMData [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 13 03 00 [00:10:13]Write to MH i2c: E2 08 00 9B 15 80 13 03 00 00 00 00 00 2F [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 9B 15 00 BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 6F [00:10:13]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:10:13]wFMCommunicate OK [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 17 00 00 [00:10:13]Write to MH i2c: E2 08 00 9C 15 80 17 00 00 00 00 00 00 31 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 9C 15 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F9 [00:10:13]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:10:13]wFMCommunicate OK [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 17 00 00 [00:10:13]Write to MH i2c: E2 08 00 9D 15 80 17 00 00 00 00 00 00 32 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 9D 15 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5E [00:10:14]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:10:14]wFMCommunicate OK [00:10:14]wFMCommunicate request_size=4 [00:10:14]MH_SAM_APDU [00:10:14]CAPDU: 80 17 00 00 [00:10:14]Write to MH i2c: E2 08 00 9E 15 80 17 00 00 00 00 00 00 33 [00:10:14]Write i2c OK [00:10:14]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 9E 15 00 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A8 [00:10:14]RAPDU: 00 00 EF 03 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 90 00 [00:10:14]wFMCommunicate OK [00:10:14]wFMCommunicate request_size=4 [00:10:14]MH_SAM_APDU [00:10:14]CAPDU: 80 17 00 00 [00:10:14]Write to MH i2c: E2 08 00 9F 15 80 17 00 00 00 00 00 00 34 [00:10:14]Write i2c OK [00:10:14]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 D8 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 D8 00 9F 15 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 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 1B [00:10:14]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 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:10:14]wFMCommunicate OK [00:10:14]SAM_PROTO_GetFMData done [00:10:14]requested_item fm.sale_refund.total is exist - process it [00:10:14]requested_item fm.buy.total is exist - process it [00:10:14]requested_item shift.sale.total is exist - process it [00:10:14]SAM_PROTO_GetShiftData [00:10:14]wFMCommunicate request_size=4 [00:10:14]MH_SAM_APDU [00:10:14]CAPDU: 80 13 02 00 [00:10:14]Write to MH i2c: E2 08 00 A0 15 80 13 02 00 00 00 00 00 33 [00:10:14]Write i2c OK [00:10:14]MH_I2C_Read... [00:10:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:15]Read from MH i2c: E2 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 A0 15 00 AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A7 [00:10:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 90 00 15 70 04 03 00 F0 7F 12 72 04 03 00 A0 80 02 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 F8 3A 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 A1 15 80 17 00 00 00 00 00 00 36 [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:15]Read from MH i2c: E2 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 A1 15 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 58 [00:10: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 [00:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 A2 15 80 17 00 00 00 00 00 00 37 [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:15]Read from MH i2c: E2 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 A2 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EE [00:10:15]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 A3 15 80 17 00 00 00 00 00 00 38 [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 FD 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 FD 00 A3 15 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 AA [00:10: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 OFD Sender: No OFD packet to send [00:10:16]04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:10:16]wFMCommunicate OK [00:10:16]wFMCommunicate request_size=4 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 17 00 00 [00:10:16]Write to MH i2c: E2 08 00 A4 15 80 17 00 00 00 00 00 00 39 [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 [00:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 CB 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 CB 00 A4 15 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 22 [00:10:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:16]wFMCommunicate OK [00:10:16]SAM_PROTO_GetShiftData done [00:10:16]requested_item shift.sale.total_cash is exist - process it [00:10:16]requested_item shift.sale_refund.total is exist - process it [00:10:16]requested_item shift.sale_refund.total_cash is exist - process it [00:10:16]requested_item shift.buy.total is exist - process it [00:10:16]requested_item shift.buy.total_cash is exist - process it [00:10:16]produce_requested_data done [00:10:16]produce_requested_data return {"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.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:10:16]process_action_free get_value [00:10:16]json_value_free [00:10:16]json_value_free done [00:10:16]process_json_proto returns [00:10:16]Send response to host [00:10:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":915219.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":13764.00,"shift.sale.total_cash":12124.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:10:16]free response buf [00:10:16]execute_script done [00:10:16]execute_script returns [00:10:16]free content buf [00:10:16]Sock 8.Close socket [00:10:16]Sock 8.Thread stoped [00:10:16]accept exits with 9 [00:10:16]New connection [00:10:16]New thread 3067227492 created [00:10:16]Thread 3067370852 joined [00:10:16]Waiting for new connection... [00:10:16] Sock 9.Parse request [00:10:16]Sock 9.Check first char [00:10:16]Sock 9.First char is OK [00:10:16]request: POST /json_proto HTTP/1.0 [00:10:16]Method: POST [00:10:16]URL: /json_proto [00:10:16]Method is POST - this is cgi request [00:10:16]url: /json_proto [00:10:16]query_string will be loaded in cgi processing [00:10:16]execute_cgi json_proto POST (null) [00:10:16]execute_cgi path=json_proto method=POST [00:10:16]POST find Content-Length [00:10:16]Host: 172.17.56.68:8080 [00:10:16]Content-Length: 279 [00:10:16]Content-Type: application/json [00:10:16] [00:10:16]POST finish read [00:10:16]Found Content-Length = 279 [00:10:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041D\u0435\u043C\u0430\u0442\u0442\u0438\u043B\u043B\u0430 \u043A. \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:16]execute_script... [00:10:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041D\u0435\u043C\u0430\u0442\u0442\u0438\u043B\u043B\u0430 \u043A. \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:16]POST & json_proto [00:10:16]process_json_proto [00:10:16]json parsed OK: [00:10:16]protocol is kg_v1.0 [00:10:16]action value=open_shift [00:10:16]process_action open_shift [00:10:16]cmd_open_shift [00:10:16]MH_GetDate [00:10:16]Write to MH i2c: F0 00 00 A5 15 A9 [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 09 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 09 00 A5 15 00 6E 5B 5E 66 42 69 5C 66 AC [00:10:16]GetLastDocTimeStamp 1717458513 [00:10:16]current date 1717459822 [00:10:16]FM_GetShiftState [00:10:16]SAM_PROTO_GetShiftState [00:10:16]wFMCommunicate request_size=4 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 13 01 00 [00:10:16]Write to MH i2c: E2 08 00 A6 15 80 13 01 00 00 00 00 00 38 [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 0E 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 0E 00 A6 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 43 [00:10:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:10:16]wFMCommunicate OK [00:10:16]SAM_PROTO_GetShiftState done [00:10:16]FM_GetShiftState done [00:10:16]KKMCreateOpenShiftDocument [00:10:16]Load OK [00:10:16]Malloc new data [00:10:16]MH_GetDate [00:10:16]Write to MH i2c: F0 00 00 A7 15 AB [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 09 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 09 00 A7 15 00 6E 5B 5E 66 42 69 5C 66 AE [00:10:16]Malloc new data [00:10:16]KKMCreateOpenShiftDocument OK [00:10:16]KKMSetOpenShiftData OK [00:10:16]ProcessDocumentItem done err = 0, tmpTLVsize=233 [00:10:16]tlvbuf is 008015A0 [00:10:16]KKMLoadAndSignOpenShiftData [00:10:16]SAM_PROTO_ProcessDocument [00:10:16]wFMCommunicate request_size=9 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 15 01 00 04 02 00 E9 00 [00:10:16]Write to MH i2c: E2 0C 00 A8 15 80 15 01 00 04 00 02 00 E9 00 00 00 2F [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 03 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 03 00 A8 15 00 90 00 31 [00:10:16]RAPDU: 90 00 [00:10:16]wFMCommunicate OK [00:10:16]wFMCommunicate request_size=23 [00:10:16]MH_SAM_APDU [00:10:16]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:10:16]Write to MH i2c: E2 1A 00 A9 15 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 33 [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 03 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 03 00 A9 15 00 90 00 32 [00:10:16]RAPDU: 90 00 [00:10:16]wFMCommunicate OK [00:10:16]wFMCommunicate request_size=38 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 [00:10:16]Write to MH i2c: E2 29 00 AA 15 80 15 02 00 21 00 FD 03 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 00 00 06 [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 03 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 03 00 AA 15 00 90 00 33 [00:10:16]RAPDU: 90 00 [00:10:16]wFMCommunicate OK [00:10:16]wFMCommunicate request_size=113 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 15 02 00 6C F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 [00:10:16]Write to MH i2c: E2 74 00 AB 15 80 15 02 00 6C 00 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 00 00 5A [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 03 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 03 00 AB 15 00 90 00 34 [00:10:16]RAPDU: 90 00 [00:10:16]wFMCommunicate OK [00:10:16]wFMCommunicate request_size=51 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:10:16]Write to MH i2c: E2 36 00 AC 15 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 EB [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 03 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 03 00 AC 15 00 90 00 35 [00:10:17]RAPDU: 90 00 [00:10:17]wFMCommunicate OK [00:10:17]wFMCommunicate request_size=13 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 15 02 00 08 F4 03 04 00 6E 5B 5E 66 [00:10:17]Write to MH i2c: E2 10 00 AD 15 80 15 02 00 08 00 F4 03 04 00 6E 5B 5E 66 00 00 DA [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 03 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 03 00 AD 15 00 90 00 36 [00:10:17]RAPDU: 90 00 [00:10:17]wFMCommunicate OK [00:10:17]wFMCommunicate request_size=25 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [00:10:17]Write to MH i2c: E2 1C 00 AE 15 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 A9 [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 03 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 03 00 AE 15 00 90 00 37 [00:10:17]RAPDU: 90 00 [00:10:17]wFMCommunicate OK [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 15 03 00 [00:10:17]Write to MH i2c: E2 08 00 AF 15 80 15 03 00 00 00 00 00 45 [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 38 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 38 00 AF 15 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F3 0F 00 00 0E 04 04 00 53 00 00 00 35 04 06 00 2A 6A C5 1F 88 A4 90 00 0A [00:10:17]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F3 0F 00 00 0E 04 04 00 53 00 00 00 35 04 06 00 2A 6A C5 1F 88 A4 90 00 [00:10:17]wFMCommunicate OK [00:10:17]SAM_PROTO_ProcessDocument answer len = 51 [00:10:17]SAM_PROTO_ProcessDocument done [00:10:17]SetTLVBufToDocument [00:10:17]Processing tag 1209 (04B9) [00:10:17]Malloc new data [00:10:17]Processing tag 1041 (0411) [00:10:17]Processing tag 1040 (0410) [00:10:17]Malloc new data [00:10:17]Processing tag 1038 (040E) [00:10:17]Malloc new data [00:10:17]Processing tag 1077 (0435) [00:10:17]Malloc new data [00:10:17]SetTLVBufToDocument err=0 [00:10:17]KKMLoadAndSignOpenShiftData store KKM data [00:10:17]KKMLoadAndSignOpenShiftData err=0 [00:10:17]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Нематтилла к. А. Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 Место: АЗС № 116 "Партнер Нефть" 04.06.2024 00:10 Смена: 83 РНМ: 0000000000145775 ЗНМ: 0300000233 ФД: 4083 ФМ: 0000000000959360 ФПД: 46638062078116 [00:10:17]StoreToDocumentArchive [00:10:17]shift 83 fd 4083 [00:10:17]Create dir for shift 0083 [00:10:17]save to /storage/0083/doc_00004083 [00:10:17]save last doc name /storage/0083/doc_00004083 to /storage/kkm_last_doc_name [00:10:17]save OK [00:10:17]Clear old archive folders... [00:10:17]Remove dir /storage/0082 [00:10:17]opendir ok [00:10:17]file . [00:10:17]file .. [00:10:17]file doc_00004019 [00:10:17]remove file /storage/0082/doc_00004019 [00:10:17]file doc_00004020 [00:10:17]remove file /storage/0082/doc_00004020 [00:10:17]file doc_00004021 [00:10:17]remove file /storage/0082/doc_00004021 [00:10:17]file doc_00004022 [00:10:17]remove file /storage/0082/doc_00004022 [00:10:17]file doc_00004023 [00:10:17]remove file /storage/0082/doc_00004023 [00:10:17]file doc_00004024 [00:10:17]remove file /storage/0082/doc_00004024 [00:10:17]file doc_00004025 [00:10:17]remove file /storage/0082/doc_00004025 [00:10:17]file doc_00004026 [00:10:17]remove file /storage/0082/doc_00004026 [00:10:17]file doc_00004027 [00:10:17]remove file /storage/0082/doc_00004027 [00:10:17]file doc_00004028 [00:10:17]remove file /storage/0082/doc_00004028 [00:10:17]file doc_00004029 [00:10:17]remove file /storage/0082/doc_00004029 [00:10:17]file doc_00004030 [00:10:17]remove file /storage/0082/doc_00004030 [00:10:17]file doc_00004031 [00:10:17]remove file /storage/0082/doc_00004031 [00:10:17]file doc_00004032 [00:10:17]remove file /storage/0082/doc_00004032 [00:10:17]file doc_00004033 [00:10:17]remove file /storage/0082/doc_00004033 [00:10:17]file doc_00004034 [00:10:17]remove file /storage/0082/doc_00004034 [00:10:17]file doc_00004035 [00:10:17]remove file /storage/0082/doc_00004035 [00:10:17]file doc_00004036 [00:10:17]remove file /storage/0082/doc_00004036 [00:10:17]file doc_00004037 [00:10:17]remove file /storage/0082/doc_00004037 [00:10:17]file doc_00004038 [00:10:17]remove file /storage/0082/doc_00004038 [00:10:17]file doc_00004039 [00:10:17]remove file /storage/0082/doc_00004039 [00:10:17]file doc_00004040 [00:10:17]remove file /storage/0082/doc_00004040 [00:10:17]file doc_00004041 [00:10:17]remove file /storage/0082/doc_00004041 [00:10:17]file doc_00004042 [00:10:17]remove file /storage/0082/doc_00004042 [00:10:17]file doc_00004043 [00:10:17]remove file /storage/0082/doc_00004043 [00:10:17]file doc_00004044 [00:10:17]remove file /storage/0082/doc_00004044 [00:10:17]file doc_00004045 [00:10:17]remove file /storage/0082/doc_00004045 [00:10:17]file doc_00004046 [00:10:17]remove file /storage/0082/doc_00004046 [00:10:17]file doc_00004047 [00:10:17]remove file /storage/0082/doc_00004047 [00:10:17]file doc_00004048 [00:10:17]remove file /storage/0082/doc_00004048 [00:10:17]file doc_00004049 [00:10:17]remove file /storage/0082/doc_00004049 [00:10:17]file doc_00004050 [00:10:17]remove file /storage/0082/doc_00004050 [00:10:17]file doc_00004051 [00:10:17]remove file /storage/0082/doc_00004051 [00:10:17]file doc_00004052 [00:10:17]remove file /storage/0082/doc_00004052 [00:10:17]file doc_00004053 [00:10:17]remove file /storage/0082/doc_00004053 [00:10:17]file doc_00004054 [00:10:17]remove file /storage/0082/doc_00004054 [00:10:17]file doc_00004055 [00:10:17]remove file /storage/0082/doc_00004055 [00:10:17]file doc_00004056 [00:10:17]remove file /storage/0082/doc_00004056 [00:10:17]file doc_00004057 [00:10:17]remove file /storage/0082/doc_00004057 [00:10:17]file doc_00004058 [00:10:17]remove file /storage/0082/doc_00004058 [00:10:17]file doc_00004059 [00:10:17]remove file /storage/0082/doc_00004059 [00:10:17]file doc_00004060 [00:10:17]remove file /storage/0082/doc_00004060 [00:10:17]file doc_00004061 [00:10:17]remove file /storage/0082/doc_00004061 [00:10:17]file doc_00004062 [00:10:17]remove file /storage/0082/doc_00004062 [00:10:17]file doc_00004063 [00:10:17]remove file /storage/0082/doc_00004063 [00:10:17]file doc_00004064 [00:10:17]remove file /storage/0082/doc_00004064 [00:10:17]file doc_00004065 [00:10:17]remove file /storage/0082/doc_00004065 [00:10:17]file doc_00004066 [00:10:17]remove file /storage/0082/doc_00004066 [00:10:17]file doc_00004067 [00:10:17]remove file /storage/0082/doc_00004067 [00:10:17]file doc_00004068 [00:10:17]remove file /storage/0082/doc_00004068 [00:10:17]file doc_00004069 [00:10:17]remove file /storage/0082/doc_00004069 [00:10:17]file doc_00004070 [00:10:17]remove file /storage/0082/doc_00004070 [00:10:17]file doc_00004071 [00:10:17]remove file /storage/0082/doc_00004071 [00:10:17]file doc_00004072 [00:10:17]remove file /storage/0082/doc_00004072 [00:10:17]file doc_00004073 [00:10:17]remove file /storage/0082/doc_00004073 [00:10:17]file doc_00004074 [00:10:17]remove file /storage/0082/doc_00004074 [00:10:17]file doc_00004075 [00:10:17]remove file /storage/0082/doc_00004075 [00:10:17]file doc_00004076 [00:10:17]remove file /storage/0082/doc_00004076 [00:10:17]file doc_00004077 [00:10:17]remove file /storage/0082/doc_00004077 [00:10:17]file doc_00004078 [00:10:17]remove file /storage/0082/doc_00004078 [00:10:17]file doc_00004079 [00:10:17]remove file /storage/0082/doc_00004079 [00:10:17]file doc_00004080 [00:10:17]remove file /storage/0082/doc_00004080 [00:10:17]file doc_00004081 [00:10:17]remove file /storage/0082/doc_00004081 [00:10:17]file doc_00004082 [00:10:17]remove file /storage/0082/doc_00004082 [00:10:17]remove dir /storage/0082 [00:10:17]ProcessDocumentItem done err = 0, tmpTLVsize=284 [00:10:17]tlvbuf is 00874B90 [00:10:17]SAM_PROTO_ClearQueue [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 09 00 00 [00:10:17]Write to MH i2c: E2 08 00 B0 15 80 09 00 00 00 00 00 00 37 [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 03 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 03 00 B0 15 00 90 00 39 [00:10:17]RAPDU: 90 00 [00:10:17]wFMCommunicate OK [00:10:17]SAM_PROTO_ClearQueue done [00:10:17]KKMCreateOFDPacket [00:10:17]OFDProtocolAddRootSTLVToBuf [00:10:17]FM_MakeSignedData [00:10:17]FM_MakeSignedData [00:10:17]SAM_PROTO_SignData [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 0D 01 02 [00:10:17]Write to MH i2c: E2 08 00 B1 15 80 0D 01 02 00 00 00 00 3F [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 03 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 03 00 B1 15 00 90 00 3A [00:10:18]RAPDU: 90 00 [00:10:18]wFMCommunicate OK [00:10:18]wFMCommunicate request_size=255 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 0D 02 02 FA 02 00 1C 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 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 6E 5B 5E 66 0E 04 04 00 53 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [00:10:18]Write to MH i2c: E2 02 01 B2 15 80 0D 02 02 FA 00 02 00 1C 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 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 6E 5B 5E 66 0E 04 04 00 53 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 29 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 03 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 03 00 B2 15 00 90 00 3B [00:10:18]RAPDU: 90 00 [00:10:18]wFMCommunicate OK [00:10:18]wFMCommunicate request_size=43 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 0D 02 02 26 10 04 04 00 F3 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 2A 6A C5 1F 88 A4 [00:10:18]Write to MH i2c: E2 2E 00 B3 15 80 0D 02 02 26 00 10 04 04 00 F3 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 2A 6A C5 1F 88 A4 00 00 D0 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 03 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 03 00 B3 15 00 90 00 3C [00:10:18]RAPDU: 90 00 [00:10:18]wFMCommunicate OK [00:10:18]wFMCommunicate request_size=4 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 0D 03 02 [00:10:18]Write to MH i2c: E2 08 00 B4 15 80 0D 03 02 00 00 00 00 44 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 0B 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 0B 00 B4 15 00 A9 4D 9A 6E 52 8E BF 86 90 00 68 [00:10:18]RAPDU: A9 4D 9A 6E 52 8E BF 86 90 00 [00:10:18]wFMCommunicate OK [00:10:18]SAM_PROTO_SignData done [00:10:18]FM_MakeSignedData done [00:10:18]CreateOFDProtocolMessage [00:10:18]wFMCommunicate request_size=4 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 11 00 00 [00:10:18]Write to MH i2c: E2 08 00 B5 15 80 11 00 00 00 00 00 00 44 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 17 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 17 00 B5 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 97 [00:10:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:10:18]wFMCommunicate OK [00:10:18]CreateOFDProtocolMessage done [00:10:18]OFDSenderStorePacket 4083 [00:10:18]StoreOFDPacket docnum=4083 [00:10:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 4C 08 28 01 A2 A0 5A 02 01 00 02 00 1C 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 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 6E 5B 5E 66 0E 04 04 00 53 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F3 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 2A 6A C5 1F 88 A4 A9 4D 9A 6E 52 8E BF 86 [00:10:18]CheckFolder [00:10:18]dirname=/storage/ofd_packets [00:10:18]CheckFolder done [00:10:18]ProducePacketName [00:10:18]name=ofd_packets/00004083 [00:10:18]NVStorageSaveData ofd_packets/00004083 [00:10:18]File name is /storage/ofd_packets/00004083 [00:10:18]Write 334 bytes [00:10:18]NVStorageSaveData done [00:10:18]OFDSenderStorePacket done [00:10:18]KKMCreateOFDPacket done [00:10:18]NVStorageSaveData kkm_last_timestamp [00:10:18]File name is /storage/kkm_last_timestamp [00:10:18]Write 4 bytes [00:10:18]NVStorageSaveData done [00:10:18]ExternCall_PrintAddStr [00:10:18]wPrintStart [00:10:18]Write to MH i2c: 01 00 00 B6 15 CB [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: 01 [00:10:18]MH_I2C_Read... [00:10:18]OFD Sender: Processing packet 4083 [packets to send 2, broken 1] [00:10:18]ProducePacketName [00:10:18]name=ofd_packets/00004083 [00:10:18]OFD Sender: To server: pG, [00:10:18]CommunicateWithHost lk.salyk.kg:30040 [00:10:18]ConnectInit lk.salyk.kg [00:10:18]Read from MH i2c: 01 07 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: 01 07 00 B6 15 00 00 00 00 00 FF 0F E0 [00:10:18]RasterBufferAndPrint [00:10:18]line Отчет об открытии смены [00:10:18]line ФФД: 1.0 [00:10:18]line ИНН: 02508201610067 [00:10:18]line Кассир: Нематтилла к. А. [00:10:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [00:10:18]line Место: АЗС № 116 "Партнер Нефть" [00:10:18]line 04.06.2024 00:10 [00:10:18]line Смена: 83 [00:10:18]line РНМ: 0000000000145775 [00:10:18]line ЗНМ: 0300000233 [00:10:18]line ФД: 4083 [00:10:18]line ФМ: 0000000000959360 [00:10:18]line ФПД: 46638062078116 [00:10:18]written 0, free lines is 4095 [00:10:18]Connected sock=10 [00:10:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 4C 08 28 01 A2 A0 5A 02 01 00 02 00 1C 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 1D 00 D0 9D D0 B5 D0 BC D0 B0 D1 82 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 BA 2E 20 D0 90 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 6E 5B 5E 66 0E 04 04 00 53 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F3 0F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 2A 6A C5 1F 88 A4 A9 4D 9A 6E 52 8E BF 86 [00:10:18]Write to MH i2c: 01 00 00 C8 15 DD [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: 01 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: 01 07 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: 01 07 00 C8 15 00 00 00 00 00 66 0E 58 [00:10:18]RasterBufferAndPrint [00:10:18]line [00:10:18]line [00:10:18]line [00:10:18]line [00:10:18]line [00:10:18]written 0, free lines is 3701 [00:10:18]MH_Cut [00:10:18]Write to MH i2c: D1 01 00 CF 15 01 B6 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: D1 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: D1 01 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: D1 01 00 CF 15 00 B5 [00:10:18]Write to MH i2c: 01 00 00 D0 15 E5 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 D8 CF 47 00 AE 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 F3 0F 00 00 F4 03 04 00 71 07 5E 66 B6 04 01 00 00 61 F5 DE 4A A9 9C C5 1A [00:10:19]CommunicateWithHost err = 0 [00:10:19]CheckOFDResponse [00:10:19]1017 (14) - 77093643461234 [00:10:19]1041 (16) - 0000000000959360 [00:10:19]1040 (4) - 4083 [00:10:19]1012 (4) - 03.06.2024 18:12 [00:10:19]1206 (1) - 0 [00:10:19]OFD Sender: Remove packet 4083 [00:10:19]ProducePacketName [00:10:19]name=ofd_packets/00004083 [00:10:19]NVStorageDeleteData [00:10:19]*** Cut start [00:10:19]*** Partial cut [00:10:19]*** CUTSNS_PIN = 1 [00:10:19]*** CUTSNS_PIN = 0 [00:10:19]OFD Sender: No OFD packet to send [00:10:19]*** Brake cut motor [00:10:20]Read from MH i2c: 01 [00:10:20]MH_I2C_Read... [00:10:20]*** Stop cut motor [00:10:20]*** Cut end [00:10:20]Read from MH i2c: 01 07 00 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: 01 07 00 D0 15 00 00 00 00 00 FF 0F FA [00:10:20]process_action open_shift done [00:10:20]requested_data is exist [00:10:20]produce_requested_data [00:10:20]requested_item fd.num is exist - process it [00:10:20]SAM_PROTO_GetFieldsCounters [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 13 00 00 [00:10:20]Write to MH i2c: E2 08 00 D1 15 80 13 00 00 00 00 00 00 62 [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:20]Read from MH i2c: E2 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 62 00 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 62 00 D1 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F3 0F 00 00 0E 04 04 00 53 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 DC [00:10:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 F3 0F 00 00 0E 04 04 00 53 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:10:20]wFMCommunicate OK [00:10:20]SAM_PROTO_GetFieldsCounters done [00:10:20]requested_item shift.num is exist - process it [00:10:20]requested_item shift.opened is exist - process it [00:10:20]req_shift_opened [00:10:20]FM_GetShiftState [00:10:20]SAM_PROTO_GetShiftState [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 13 01 00 [00:10:20]Write to MH i2c: E2 08 00 D2 15 80 13 01 00 00 00 00 00 64 [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:20]Read from MH i2c: E2 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 0E 00 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 0E 00 D2 15 00 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 FD [00:10:20]RAPDU: 09 00 01 6E 5B 5E 66 00 00 00 00 90 00 [00:10:20]wFMCommunicate OK [00:10:20]SAM_PROTO_GetShiftState done [00:10:20]FM_GetShiftState done [00:10:20]req_shift_opened done [00:10:20]requested_item shift.open_date is exist - process it [00:10:20]req_shift_open_date [00:10:20]req_shift_open_date done [00:10:20]produce_requested_data done [00:10:20]produce_requested_data return {"fd.num":4083,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822} [00:10:20]process_action_free open_shift [00:10:20]json_value_free [00:10:20]json_value_free done [00:10:20]process_json_proto returns [00:10:20]Send response to host [00:10:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4083,"shift.num":83,"shift.opened":1,"shift.open_date":1717459822}}} [00:10:20]free response buf [00:10:20]execute_script done [00:10:20]execute_script returns [00:10:20]free content buf [00:10:20]Sock 9.Close socket [00:10:20]Sock 9.Thread stoped [00:10:20]accept exits with 8 [00:10:20]New connection [00:10:20]New thread 3067370852 created [00:10:20]Thread 3067227492 joined [00:10:20]Waiting for new connection... [00:10:20] Sock 8.Parse request [00:10:20]Sock 8.Check first char [00:10:20]Sock 8.First char is OK [00:10:20]request: POST /json_proto HTTP/1.0 [00:10:20]Method: POST [00:10:20]URL: /json_proto [00:10:20]Method is POST - this is cgi request [00:10:20]url: /json_proto [00:10:20]query_string will be loaded in cgi processing [00:10:20]execute_cgi json_proto POST (null) [00:10:20]execute_cgi path=json_proto method=POST [00:10:20]POST find Content-Length [00:10:20]Host: 172.17.56.68:8080 [00:10:20]Content-Length: 331 [00:10:20]Content-Type: application/json [00:10:20] [00:10:20]POST finish read [00:10:20]Found Content-Length = 331 [00:10:20]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:10:20]execute_script... [00:10:20]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:10:20]POST & json_proto [00:10:20]process_json_proto [00:10:20]json parsed OK: [00:10:20]protocol is kg_v1.0 [00:10:20]action value=get_value [00:10:20]process_action get_value [00:10:20]cmd_get_value [00:10:20]process_action get_value done [00:10:20]requested_data is exist [00:10:20]produce_requested_data [00:10:20]requested_item fm.sale.total is exist - process it [00:10:20]SAM_PROTO_GetFMData [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 13 03 00 [00:10:20]Write to MH i2c: E2 08 00 D3 15 80 13 03 00 00 00 00 00 67 [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:20]Read from MH i2c: E2 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 FD 00 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 FD 00 D3 15 00 BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 A7 [00:10:20]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 4D 0F 00 00 69 04 9E 00 6F 04 04 00 44 0F 00 00 B1 04 04 00 8B 83 74 05 70 04 04 00 FC A2 8E 04 72 04 03 00 8F E0 E5 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 7D 4C 94 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 D8 59 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 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 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:10:20]wFMCommunicate OK [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 17 00 00 [00:10:20]Write to MH i2c: E2 08 00 D4 15 80 17 00 00 00 00 00 00 69 [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:21]Read from MH i2c: E2 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 D4 15 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 31 [00:10:21]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:10:21]wFMCommunicate OK [00:10:21]wFMCommunicate request_size=4 [00:10:21]MH_SAM_APDU [00:10:21]CAPDU: 80 17 00 00 [00:10:21]Write to MH i2c: E2 08 00 D5 15 80 17 00 00 00 00 00 00 6A [00:10:21]Write i2c OK [00:10:21]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:21]Read from MH i2c: E2 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 D5 15 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [00:10:21]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:10:21]wFMCommunicate OK [00:10:21]wFMCommunicate request_size=4 [00:10:21]MH_SAM_APDU [00:10:21]CAPDU: 80 17 00 00 [00:10:21]Write to MH i2c: E2 08 00 D6 15 80 17 00 00 00 00 00 00 6B [00:10:21]Write i2c OK [00:10:21]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:21]Read from MH i2c: E2 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 D6 15 00 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 E0 [00:10:21]RAPDU: 00 00 EF 03 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 90 00 [00:10:22]wFMCommunicate OK [00:10:22]wFMCommunicate request_size=4 [00:10:22]MH_SAM_APDU [00:10:22]CAPDU: 80 17 00 00 [00:10:22]Write to MH i2c: E2 08 00 D7 15 80 17 00 00 00 00 00 00 6C [00:10:22]Write i2c OK [00:10:22]MH_I2C_Read... [00:10:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:10:22]Read from MH i2c: E2 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 D8 00 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 D8 00 D7 15 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 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 53 [00:10:22]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 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:10:22]wFMCommunicate OK [00:10:22]SAM_PROTO_GetFMData done [00:10:22]requested_item fm.sale_refund.total is exist - process it [00:10:22]requested_item fm.buy.total is exist - process it [00:10:22]requested_item shift.sale.total is exist - process it [00:10:22]SAM_PROTO_GetShiftData [00:10:22]wFMCommunicate request_size=4 [00:10:22]MH_SAM_APDU [00:10:22]CAPDU: 80 13 02 00 [00:10:22]Write to MH i2c: E2 08 00 D8 15 80 13 02 00 00 00 00 00 6B [00:10:22]Write i2c OK [00:10:22]MH_I2C_Read... [00:10:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:22]Read from MH i2c: E2 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 D8 15 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 DE [00:10:22]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:10:23]wFMCommunicate OK [00:10:23]wFMCommunicate request_size=4 [00:10:23]MH_SAM_APDU [00:10:23]CAPDU: 80 17 00 00 [00:10:23]Write to MH i2c: E2 08 00 D9 15 80 17 00 00 00 00 00 00 6E [00:10:23]Write i2c OK [00:10:23]MH_I2C_Read... [00:10:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:23]Read from MH i2c: E2 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 FD 00 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 FD 00 D9 15 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 76 [00:10:23]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:10:23]wFMCommunicate OK [00:10:23]wFMCommunicate request_size=4 [00:10:23]MH_SAM_APDU [00:10:23]CAPDU: 80 17 00 00 [00:10:23]Write to MH i2c: E2 08 00 DA 15 80 17 00 00 00 00 00 00 6F [00:10:23]Write i2c OK [00:10:23]MH_I2C_Read... [00:10:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:23]Read from MH i2c: E2 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 FD 00 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 FD 00 DA 15 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 41 [00:10:23]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:10:23]wFMCommunicate OK [00:10:23]wFMCommunicate request_size=4 [00:10:23]MH_SAM_APDU [00:10:23]CAPDU: 80 17 00 00 [00:10:23]Write to MH i2c: E2 08 00 DB 15 80 17 00 00 00 00 00 00 70 [00:10:23]Write i2c OK [00:10:23]MH_I2C_Read... [00:10:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 FD 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 FD 00 DB 15 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 E2 [00:10:24]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:10:24]wFMCommunicate OK [00:10:24]wFMCommunicate request_size=4 [00:10:24]MH_SAM_APDU [00:10:24]CAPDU: 80 17 00 00 [00:10:24]Write to MH i2c: E2 08 00 DC 15 80 17 00 00 00 00 00 00 71 [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]OFD Sender: No OFD packet to send [00:10:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 BD 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 BD 00 DC 15 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 57 [00:10:24]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:10:24]wFMCommunicate OK [00:10:24]SAM_PROTO_GetShiftData done [00:10:24]requested_item shift.sale.total_cash is exist - process it [00:10:24]requested_item shift.sale_refund.total is exist - process it [00:10:24]requested_item shift.sale_refund.total_cash is exist - process it [00:10:24]requested_item shift.buy.total is exist - process it [00:10:24]requested_item shift.buy.total_cash is exist - process it [00:10:24]produce_requested_data done [00:10:24]produce_requested_data return {"fm.sale.total":915219.31,"fm.sale_refund.total":1764.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:10:24]process_action_free get_value [00:10:24]json_value_free [00:10:24]json_value_free done [00:10:24]process_json_proto returns [00:10:24]Send response to host [00:10:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":915219.31,"fm.sale_refund.total":1764.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:10:24]free response buf [00:10:24]execute_script done [00:10:24]execute_script returns [00:10:24]free content buf [00:10:24]Sock 8.Close socket [00:10:24]Sock 8.Thread stoped [00:10:29]OFD Sender: No OFD packet to send [00:10:34]OFD Sender: No OFD packet to send [00:10:39]OFD Sender: No OFD packet to send [00:10:44]OFD Sender: No OFD packet to send [00:10:49]OFD Sender: No OFD packet to send [00:10:54]OFD Sender: No OFD packet to send [00:10:59]OFD Sender: No OFD packet to send [00:11:04]OFD Sender: No OFD packet to send [00:11:09]OFD Sender: No OFD packet to send [00:11:14]OFD Sender: No OFD packet to send [00:11:19]OFD Sender: No OFD packet to send [00:11:24]OFD Sender: No OFD packet to send [00:11:29]OFD Sender: No OFD packet to send [00:11:34]OFD Sender: No OFD packet to send [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:34]OFD Sender: No OFD packet to send [00:14:39]OFD Sender: No OFD packet to send [00:14:44]OFD Sender: No OFD packet to send [00:14:49]OFD Sender: No OFD packet to send [00:14:54]OFD Sender: No OFD packet to send [00:14:59]OFD Sender: No OFD packet to send [00:15:04]OFD Sender: No OFD packet to send [00:15:09]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:04]OFD Sender: No OFD packet to send [00:16:09]OFD Sender: No OFD packet to send [00:16:14]OFD Sender: No OFD packet to send [00:16:19]OFD Sender: No OFD packet to send [00:16:24]OFD Sender: No OFD packet to send [00:16:29]OFD Sender: No OFD packet to send [00:16:34]OFD Sender: No OFD packet to send [00:16:39]OFD Sender: No OFD packet to send [00:16:44]OFD Sender: No OFD packet to send [00:16:49]OFD Sender: No OFD packet to send [00:16:54]OFD Sender: No OFD packet to send [00:16:59]OFD Sender: No OFD packet to send [00:17:04]OFD Sender: No OFD packet to send [00:17:09]OFD Sender: No OFD packet to send [00:17:14]OFD Sender: No OFD packet to send [00:17:19]OFD Sender: No OFD packet to send [00:17:24]OFD Sender: No OFD packet to send [00:17:29]OFD Sender: No OFD packet to send [00:17:34]OFD Sender: No OFD packet to send [00:17:39]OFD Sender: No OFD packet to send [00:17:44]OFD Sender: No OFD packet to send [00:17:49]OFD Sender: No OFD packet to send [00:17:54]OFD Sender: No OFD packet to send [00:17:59]OFD Sender: No OFD packet to send [00:18:04]OFD Sender: No OFD packet to send [00:18:09]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:10]OFD Sender: No OFD packet to send [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20:30]OFD Sender: No OFD packet to send [00:20:35]OFD Sender: No OFD packet to send [00:20:40]OFD Sender: No OFD packet to send [00:20:45]OFD Sender: No OFD packet to send [00:20:50]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:25]OFD Sender: No OFD packet to send [00:21:30]OFD Sender: No OFD packet to send [00:21:35]OFD Sender: No OFD packet to send [00:21:40]OFD Sender: No OFD packet to send [00:21:45]OFD Sender: No OFD packet to send [00:21:50]OFD Sender: No OFD packet to send [00:21:55]OFD Sender: No OFD packet to send [00:22:00]OFD Sender: No OFD packet to send [00:22:05]OFD Sender: No OFD packet to send [00:22:10]OFD Sender: No OFD packet to send [00:22:15]OFD Sender: No OFD packet to send [00:22:20]OFD Sender: No OFD packet to send [00:22:25]OFD Sender: No OFD packet to send [00:22:30]OFD Sender: No OFD packet to send [00:22:35]OFD Sender: No OFD packet to send [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:25]OFD Sender: No OFD packet to send [00:24:30]OFD Sender: No OFD packet to send [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [00:35:40]OFD Sender: No OFD packet to send [00:35:45]OFD Sender: No OFD packet to send [00:35:50]OFD Sender: No OFD packet to send [00:35:55]OFD Sender: No OFD packet to send [00:36:00]OFD Sender: No OFD packet to send [00:36:05]OFD Sender: No OFD packet to send [00:36:10]OFD Sender: No OFD packet to send [00:36:15]OFD Sender: No OFD packet to send [00:36:20]OFD Sender: No OFD packet to send [00:36:25]OFD Sender: No OFD packet to send [00:36:30]OFD Sender: No OFD packet to send [00:36:35]OFD Sender: No OFD packet to send [00:36:40]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:10]OFD Sender: No OFD packet to send [00:37:15]OFD Sender: No OFD packet to send [00:37:20]OFD Sender: No OFD packet to send [00:37:25]OFD Sender: No OFD packet to send [00:37:30]OFD Sender: No OFD packet to send [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:55]OFD Sender: No OFD packet to send [00:38:00]OFD Sender: No OFD packet to send [00:38:05]OFD Sender: No OFD packet to send [00:38:10]OFD Sender: No OFD packet to send [00:38:15]OFD Sender: No OFD packet to send [00:38:20]OFD Sender: No OFD packet to send [00:38:25]OFD Sender: No OFD packet to send [00:38:30]OFD Sender: No OFD packet to send [00:38:35]OFD Sender: No OFD packet to send [00:38:40]OFD Sender: No OFD packet to send [00:38:45]OFD Sender: No OFD packet to send [00:38:50]OFD Sender: No OFD packet to send [00:38:55]OFD Sender: No OFD packet to send [00:39:00]OFD Sender: No OFD packet to send [00:39:05]OFD Sender: No OFD packet to send [00:39:10]OFD Sender: No OFD packet to send [00:39:15]OFD Sender: No OFD packet to send [00:39:20]OFD Sender: No OFD packet to send [00:39:25]OFD Sender: No OFD packet to send [00:39:30]OFD Sender: No OFD packet to send [00:39:35]OFD Sender: No OFD packet to send [00:39:40]OFD Sender: No OFD packet to send [00:39:45]OFD Sender: No OFD packet to send [00:39:50]OFD Sender: No OFD packet to send [00:39:55]OFD Sender: No OFD packet to send [00:40:00]OFD Sender: No OFD packet to send [00:40:05]OFD Sender: No OFD packet to send [00:40:11]OFD Sender: No OFD packet to send [00:40:16]OFD Sender: No OFD packet to send [00:40:21]OFD Sender: No OFD packet to send [00:40:26]OFD Sender: No OFD packet to send [00:40:31]OFD Sender: No OFD packet to send [00:40:36]OFD Sender: No OFD packet to send [00:40:41]OFD Sender: No OFD packet to send [00:40:46]OFD Sender: No OFD packet to send [00:40:51]OFD Sender: No OFD packet to send [00:40:56]OFD Sender: No OFD packet to send [00:41:01]OFD Sender: No OFD packet to send [00:41:06]OFD Sender: No OFD packet to send [00:41:11]OFD Sender: No OFD packet to send [00:41:16]OFD Sender: No OFD packet to send [00:41:21]OFD Sender: No OFD packet to send [00:41:26]OFD Sender: No OFD packet to send [00:41:31]OFD Sender: No OFD packet to send [00:41:36]OFD Sender: No OFD packet to send [00:41:41]OFD Sender: No OFD packet to send [00:41:46]OFD Sender: No OFD packet to send [00:41:51]OFD Sender: No OFD packet to send [00:41:56]OFD Sender: No OFD packet to send [00:42:01]OFD Sender: No OFD packet to send [00:42:06]OFD Sender: No OFD packet to send [00:42:11]OFD Sender: No OFD packet to send [00:42:16]OFD Sender: No OFD packet to send [00:42:21]OFD Sender: No OFD packet to send [00:42:26]OFD Sender: No OFD packet to send [00:42:31]OFD Sender: No OFD packet to send [00:42:36]OFD Sender: No OFD packet to send [00:42:41]OFD Sender: No OFD packet to send [00:42:46]OFD Sender: No OFD packet to send [00:42:51]OFD Sender: No OFD packet to send [00:42:56]OFD Sender: No OFD packet to send [00:43:01]OFD Sender: No OFD packet to send [00:43:06]OFD Sender: No OFD packet to send [00:43:11]OFD Sender: No OFD packet to send [00:43:16]OFD Sender: No OFD packet to send [00:43:21]OFD Sender: No OFD packet to send [00:43:26]OFD Sender: No OFD packet to send [00:43:31]OFD Sender: No OFD packet to send [00:43:36]OFD Sender: No OFD packet to send [00:43:41]OFD Sender: No OFD packet to send [00:43:46]OFD Sender: No OFD packet to send [00:43:51]OFD Sender: No OFD packet to send [00:43:56]OFD Sender: No OFD packet to send [00:44:01]OFD Sender: No OFD packet to send [00:44:06]OFD Sender: No OFD packet to send [00:44:11]OFD Sender: No OFD packet to send [00:44:16]OFD Sender: No OFD packet to send [00:44:21]OFD Sender: No OFD packet to send [00:44:26]OFD Sender: No OFD packet to send [00:44:31]OFD Sender: No OFD packet to send [00:44:36]OFD Sender: No OFD packet to send [00:44:41]OFD Sender: No OFD packet to send [00:44:46]OFD Sender: No OFD packet to send [00:44:51]OFD Sender: No OFD packet to send [00:44:56]OFD Sender: No OFD packet to send [00:45:01]OFD Sender: No OFD packet to send [00:45:06]OFD Sender: No OFD packet to send [00:45:11]OFD Sender: No OFD packet to send [00:45:16]OFD Sender: No OFD packet to send [00:45:21]OFD Sender: No OFD packet to send [00:45:26]OFD Sender: No OFD packet to send [00:45:31]OFD Sender: No OFD packet to send [00:45:36]OFD Sender: No OFD packet to send [00:45:41]OFD Sender: No OFD packet to send [00:45:46]OFD Sender: No OFD packet to send [00:45:51]OFD Sender: No OFD packet to send [00:45:56]OFD Sender: No OFD packet to send [00:46:01]OFD Sender: No OFD packet to send [00:46:06]OFD Sender: No OFD packet to send [00:46:11]OFD Sender: No OFD packet to send [00:46:16]OFD Sender: No OFD packet to send [00:46:21]OFD Sender: No OFD packet to send [00:46:26]OFD Sender: No OFD packet to send [00:46:31]OFD Sender: No OFD packet to send [00:46:36]OFD Sender: No OFD packet to send [00:46:41]OFD Sender: No OFD packet to send [00:46:46]OFD Sender: No OFD packet to send [00:46:51]OFD Sender: No OFD packet to send [00:46:56]OFD Sender: No OFD packet to send [00:47:01]OFD Sender: No OFD packet to send [00:47:06]OFD Sender: No OFD packet to send [00:47:11]OFD Sender: No OFD packet to send [00:47:16]OFD Sender: No OFD packet to send [00:47:21]OFD Sender: No OFD packet to send [00:47:26]OFD Sender: No OFD packet to send [00:47:31]OFD Sender: No OFD packet to send [00:47:36]OFD Sender: No OFD packet to send [00:47:41]OFD Sender: No OFD packet to send [00:47:46]OFD Sender: No OFD packet to send [00:47:51]OFD Sender: No OFD packet to send [00:47:56]OFD Sender: No OFD packet to send [00:48:01]OFD Sender: No OFD packet to send [00:48:06]OFD Sender: No OFD packet to send [00:48:11]OFD Sender: No OFD packet to send [00:48:16]OFD Sender: No OFD packet to send [00:48:21]OFD Sender: No OFD packet to send [00:48:26]OFD Sender: No OFD packet to send [00:48:31]OFD Sender: No OFD packet to send [00:48:36]OFD Sender: No OFD packet to send [00:48:41]OFD Sender: No OFD packet to send [00:48:46]OFD Sender: No OFD packet to send [00:48:51]OFD Sender: No OFD packet to send [00:48:56]OFD Sender: No OFD packet to send [00:49:01]OFD Sender: No OFD packet to send [00:49:06]OFD Sender: No OFD packet to send [00:49:11]OFD Sender: No OFD packet to send [00:49:16]OFD Sender: No OFD packet to send [00:49:21]OFD Sender: No OFD packet to send [00:49:26]OFD Sender: No OFD packet to send [00:49:31]OFD Sender: No OFD packet to send [00:49:36]OFD Sender: No OFD packet to send [00:49:41]OFD Sender: No OFD packet to send [00:49:46]OFD Sender: No OFD packet to send [00:49:51]OFD Sender: No OFD packet to send [00:49:56]OFD Sender: No OFD packet to send [00:50:01]OFD Sender: No OFD packet to send [00:50:06]OFD Sender: No OFD packet to send [00:50:11]OFD Sender: No OFD packet to send [00:50:16]OFD Sender: No OFD packet to send [00:50:21]OFD Sender: No OFD packet to send [00:50:26]OFD Sender: No OFD packet to send [00:50:31]OFD Sender: No OFD packet to send [00:50:36]OFD Sender: No OFD packet to send [00:50:41]OFD Sender: No OFD packet to send [00:50:46]OFD Sender: No OFD packet to send [00:50:51]OFD Sender: No OFD packet to send [00:50:56]OFD Sender: No OFD packet to send [00:51:01]OFD Sender: No OFD packet to send [00:51:06]OFD Sender: No OFD packet to send [00:51:11]OFD Sender: No OFD packet to send [00:51:16]OFD Sender: No OFD packet to send [00:51:21]OFD Sender: No OFD packet to send [00:51:26]OFD Sender: No OFD packet to send [00:51:31]OFD Sender: No OFD packet to send [00:51:36]OFD Sender: No OFD packet to send [00:51:41]OFD Sender: No OFD packet to send [00:51:46]OFD Sender: No OFD packet to send [00:51:51]OFD Sender: No OFD packet to send [00:51:56]OFD Sender: No OFD packet to send [00:52:01]OFD Sender: No OFD packet to send [00:52:06]OFD Sender: No OFD packet to send [00:52:11]OFD Sender: No OFD packet to send [00:52:16]OFD Sender: No OFD packet to send [00:52:21]OFD Sender: No OFD packet to send [00:52:26]OFD Sender: No OFD packet to send [00:52:31]OFD Sender: No OFD packet to send [00:52:36]OFD Sender: No OFD packet to send [00:52:41]OFD Sender: No OFD packet to send [00:52:46]OFD Sender: No OFD packet to send [00:52:51]OFD Sender: No OFD packet to send [00:52:56]OFD Sender: No OFD packet to send [00:53:01]OFD Sender: No OFD packet to send [00:53:06]OFD Sender: No OFD packet to send [00:53:11]OFD Sender: No OFD packet to send [00:53:16]OFD Sender: No OFD packet to send [00:53:21]OFD Sender: No OFD packet to send [00:53:26]OFD Sender: No OFD packet to send [00:53:31]OFD Sender: No OFD packet to send [00:53:36]OFD Sender: No OFD packet to send [00:53:41]OFD Sender: No OFD packet to send [00:53:46]OFD Sender: No OFD packet to send [00:53:51]OFD Sender: No OFD packet to send [00:53:56]OFD Sender: No OFD packet to send [00:54:01]OFD Sender: No OFD packet to send [00:54:06]OFD Sender: No OFD packet to send [00:54:11]OFD Sender: No OFD packet to send [00:54:16]OFD Sender: No OFD packet to send [00:54:21]OFD Sender: No OFD packet to send [00:54:26]OFD Sender: No OFD packet to send [00:54:31]OFD Sender: No OFD packet to send [00:54:36]OFD Sender: No OFD packet to send [00:54:41]OFD Sender: No OFD packet to send [00:54:46]OFD Sender: No OFD packet to send [00:54:51]OFD Sender: No OFD packet to send [00:54:56]OFD Sender: No OFD packet to send [00:55:01]OFD Sender: No OFD packet to send [00:55:06]OFD Sender: No OFD packet to send [00:55:11]OFD Sender: No OFD packet to send [00:55:16]OFD Sender: No OFD packet to send [00:55:21]OFD Sender: No OFD packet to send [00:55:26]OFD Sender: No OFD packet to send [00:55:31]OFD Sender: No OFD packet to send [00:55:36]OFD Sender: No OFD packet to send [00:55:41]OFD Sender: No OFD packet to send [00:55:46]OFD Sender: No OFD packet to send [00:55:51]OFD Sender: No OFD packet to send [00:55:56]OFD Sender: No OFD packet to send [00:56:01]OFD Sender: No OFD packet to send [00:56:06]OFD Sender: No OFD packet to send [00:56:11]OFD Sender: No OFD packet to send [00:56:16]OFD Sender: No OFD packet to send [00:56:21]OFD Sender: No OFD packet to send [00:56:26]OFD Sender: No OFD packet to send [00:56:31]OFD Sender: No OFD packet to send [00:56:36]OFD Sender: No OFD packet to send [00:56:41]OFD Sender: No OFD packet to send [00:56:46]OFD Sender: No OFD packet to send [00:56:51]OFD Sender: No OFD packet to send [00:56:56]OFD Sender: No OFD packet to send [00:57:01]OFD Sender: No OFD packet to send [00:57:06]OFD Sender: No OFD packet to send [00:57:11]OFD Sender: No OFD packet to send [00:57:16]OFD Sender: No OFD packet to send [00:57:21]OFD Sender: No OFD packet to send [00:57:26]OFD Sender: No OFD packet to send [00:57:31]OFD Sender: No OFD packet to send [00:57:36]OFD Sender: No OFD packet to send [00:57:41]OFD Sender: No OFD packet to send [00:57:46]OFD Sender: No OFD packet to send [00:57:51]OFD Sender: No OFD packet to send [00:57:56]OFD Sender: No OFD packet to send [00:58:01]OFD Sender: No OFD packet to send [00:58:06]OFD Sender: No OFD packet to send [00:58:11]OFD Sender: No OFD packet to send [00:58:16]OFD Sender: No OFD packet to send [00:58:21]OFD Sender: No OFD packet to send [00:58:26]OFD Sender: No OFD packet to send [00:58:31]OFD Sender: No OFD packet to send [00:58:36]OFD Sender: No OFD packet to send [00:58:41]OFD Sender: No OFD packet to send [00:58:46]OFD Sender: No OFD packet to send [00:58:51]OFD Sender: No OFD packet to send [00:58:56]OFD Sender: No OFD packet to send [00:59:01]OFD Sender: No OFD packet to send [00:59:06]OFD Sender: No OFD packet to send [00:59:11]OFD Sender: No OFD packet to send [00:59:16]OFD Sender: No OFD packet to send [00:59:21]OFD Sender: No OFD packet to send [00:59:26]OFD Sender: No OFD packet to send [00:59:31]OFD Sender: No OFD packet to send [00:59:36]OFD Sender: No OFD packet to send [00:59:41]OFD Sender: No OFD packet to send [00:59:46]OFD Sender: No OFD packet to send [00:59:51]OFD Sender: No OFD packet to send [00:59:56]OFD Sender: No OFD packet to send [01:00:01]OFD Sender: No OFD packet to send [01:00:06]OFD Sender: No OFD packet to send [01:00:11]OFD Sender: No OFD packet to send [01:00:16]OFD Sender: No OFD packet to send [01:00:21]OFD Sender: No OFD packet to send [01:00:26]OFD Sender: No OFD packet to send [01:00:31]OFD Sender: No OFD packet to send [01:00:36]OFD Sender: No OFD packet to send [01:00:41]OFD Sender: No OFD packet to send [01:00:46]OFD Sender: No OFD packet to send [01:00:51]OFD Sender: No OFD packet to send [01:00:56]OFD Sender: No OFD packet to send [01:01:01]OFD Sender: No OFD packet to send [01:01:06]OFD Sender: No OFD packet to send [01:01:11]OFD Sender: No OFD packet to send [01:01:16]OFD Sender: No OFD packet to send [01:01:21]OFD Sender: No OFD packet to send [01:01:26]OFD Sender: No OFD packet to send [01:01:31]OFD Sender: No OFD packet to send [01:01:36]OFD Sender: No OFD packet to send [01:01:41]OFD Sender: No OFD packet to send [01:01:47]OFD Sender: No OFD packet to send [01:01:52]OFD Sender: No OFD packet to send [01:01:57]OFD Sender: No OFD packet to send [01:02:02]OFD Sender: No OFD packet to send [01:02:07]OFD Sender: No OFD packet to send [01:02:12]OFD Sender: No OFD packet to send [01:02:17]OFD Sender: No OFD packet to send [01:02:22]OFD Sender: No OFD packet to send [01:02:27]OFD Sender: No OFD packet to send [01:02:32]OFD Sender: No OFD packet to send [01:02:37]OFD Sender: No OFD packet to send [01:02:42]OFD Sender: No OFD packet to send [01:02:47]OFD Sender: No OFD packet to send [01:02:52]OFD Sender: No OFD packet to send [01:02:57]OFD Sender: No OFD packet to send [01:03:02]OFD Sender: No OFD packet to send [01:03:07]OFD Sender: No OFD packet to send [01:03:12]OFD Sender: No OFD packet to send [01:03:17]OFD Sender: No OFD packet to send [01:03:22]OFD Sender: No OFD packet to send [01:03:27]OFD Sender: No OFD packet to send [01:03:32]OFD Sender: No OFD packet to send [01:03:37]OFD Sender: No OFD packet to send [01:03:42]OFD Sender: No OFD packet to send [01:03:47]OFD Sender: No OFD packet to send [01:03:52]OFD Sender: No OFD packet to send [01:03:57]OFD Sender: No OFD packet to send [01:04:02]OFD Sender: No OFD packet to send [01:04:07]OFD Sender: No OFD packet to send [01:04:12]OFD Sender: No OFD packet to send [01:04:17]OFD Sender: No OFD packet to send [01:04:22]OFD Sender: No OFD packet to send [01:04:27]OFD Sender: No OFD packet to send [01:04:32]OFD Sender: No OFD packet to send [01:04:37]OFD Sender: No OFD packet to send [01:04:42]OFD Sender: No OFD packet to send [01:04:47]OFD Sender: No OFD packet to send [01:04:52]OFD Sender: No OFD packet to send [01:04:57]OFD Sender: No OFD packet to send [01:05:02]OFD Sender: No OFD packet to send [01:05:07]OFD Sender: No OFD packet to send [01:05:12]OFD Sender: No OFD packet to send [01:05:17]OFD Sender: No OFD packet to send [01:05:22]OFD Sender: No OFD packet to send [01:05:27]OFD Sender: No OFD packet to send [01:05:32]OFD Sender: No OFD packet to send [01:05:37]OFD Sender: No OFD packet to send [01:05:42]OFD Sender: No OFD packet to send [01:05:47]OFD Sender: No OFD packet to send [01:05:52]OFD Sender: No OFD packet to send [01:05:57]OFD Sender: No OFD packet to send [01:06:02]OFD Sender: No OFD packet to send [01:06:07]OFD Sender: No OFD packet to send [01:06:12]OFD Sender: No OFD packet to send [01:06:17]OFD Sender: No OFD packet to send [01:06:22]OFD Sender: No OFD packet to send [01:06:27]OFD Sender: No OFD packet to send [01:06:32]OFD Sender: No OFD packet to send [01:06:37]OFD Sender: No OFD packet to send [01:06:42]OFD Sender: No OFD packet to send [01:06:47]OFD Sender: No OFD packet to send [01:06:52]OFD Sender: No OFD packet to send [01:06:57]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]OFD Sender: No OFD packet to send [01:07:47]OFD Sender: No OFD packet to send [01:07:52]OFD Sender: No OFD packet to send [01:07:57]OFD Sender: No OFD packet to send [01:08:02]OFD Sender: No OFD packet to send [01:08:07]OFD Sender: No OFD packet to send [01:08:12]OFD Sender: No OFD packet to send [01:08:17]OFD Sender: No OFD packet to send [01:08:22]OFD Sender: No OFD packet to send [01:08:27]OFD Sender: No OFD packet to send [01:08:32]OFD Sender: No OFD packet to send [01:08:37]OFD Sender: No OFD packet to send [01:08:42]OFD Sender: No OFD packet to send [01:08:47]OFD Sender: No OFD packet to send [01:08:52]OFD Sender: No OFD packet to send [01:08:57]OFD Sender: No OFD packet to send [01:09:02]OFD Sender: No OFD packet to send [01:09:07]OFD Sender: No OFD packet to send [01:09:12]OFD Sender: No OFD packet to send [01:09:17]OFD Sender: No OFD packet to send [01:09:22]OFD Sender: No OFD packet to send [01:09:27]OFD Sender: No OFD packet to send [01:09:32]OFD Sender: No OFD packet to send [01:09:37]OFD Sender: No OFD packet to send [01:09:42]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]OFD Sender: No OFD packet to send [01:17:37]OFD Sender: No OFD packet to send [01:17:42]OFD Sender: No OFD packet to send [01:17:47]OFD Sender: No OFD packet to send [01:17:52]OFD Sender: No OFD packet to send [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:17]OFD Sender: No OFD packet to send [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:27]OFD Sender: No OFD packet to send [01:20:32]OFD Sender: No OFD packet to send [01:20:37]OFD Sender: No OFD packet to send [01:20:42]OFD Sender: No OFD packet to send [01:20:47]OFD Sender: No OFD packet to send [01:20:52]OFD Sender: No OFD packet to send [01:20:57]OFD Sender: No OFD packet to send [01:21:02]OFD Sender: No OFD packet to send [01:21:07]OFD Sender: No OFD packet to send [01:21:12]OFD Sender: No OFD packet to send [01:21:17]OFD Sender: No OFD packet to send [01:21:22]OFD Sender: No OFD packet to send [01:21:27]OFD Sender: No OFD packet to send [01:21:32]OFD Sender: No OFD packet to send [01:21:37]OFD Sender: No OFD packet to send [01:21:42]OFD Sender: No OFD packet to send [01:21:47]OFD Sender: No OFD packet to send [01:21:52]OFD Sender: No OFD packet to send [01:21:57]OFD Sender: No OFD packet to send [01:22:02]OFD Sender: No OFD packet to send [01:22:07]OFD Sender: No OFD packet to send [01:22:12]OFD Sender: No OFD packet to send [01:22:17]OFD Sender: No OFD packet to send [01:22:22]OFD Sender: No OFD packet to send [01:22:27]OFD Sender: No OFD packet to send [01:22:32]OFD Sender: No OFD packet to send [01:22:37]OFD Sender: No OFD packet to send [01:22:42]OFD Sender: No OFD packet to send [01:22:47]OFD Sender: No OFD packet to send [01:22:52]OFD Sender: No OFD packet to send [01:22:57]OFD Sender: No OFD packet to send [01:23:02]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]OFD Sender: No OFD packet to send [01:24:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:13]OFD Sender: No OFD packet to send [01:26:18]OFD Sender: No OFD packet to send [01:26:23]OFD Sender: No OFD packet to send [01:26:28]OFD Sender: No OFD packet to send [01:26:33]OFD Sender: No OFD packet to send [01:26:38]OFD Sender: No OFD packet to send [01:26:43]OFD Sender: No OFD packet to send [01:26:48]OFD Sender: No OFD packet to send [01:26:53]OFD Sender: No OFD packet to send [01:26:58]OFD Sender: No OFD packet to send [01:27:03]OFD Sender: No OFD packet to send [01:27:08]OFD Sender: No OFD packet to send [01:27:13]OFD Sender: No OFD packet to send [01:27:18]OFD Sender: No OFD packet to send [01:27:23]OFD Sender: No OFD packet to send [01:27:28]OFD Sender: No OFD packet to send [01:27:33]OFD Sender: No OFD packet to send [01:27:38]OFD Sender: No OFD packet to send [01:27:43]OFD Sender: No OFD packet to send [01:27:48]OFD Sender: No OFD packet to send [01:27:53]OFD Sender: No OFD packet to send [01:27:58]OFD Sender: No OFD packet to send [01:28:03]OFD Sender: No OFD packet to send [01:28:08]OFD Sender: No OFD packet to send [01:28:13]OFD Sender: No OFD packet to send [01:28:18]OFD Sender: No OFD packet to send [01:28:23]OFD Sender: No OFD packet to send [01:28:28]OFD Sender: No OFD packet to send [01:28:33]OFD Sender: No OFD packet to send [01:28:38]OFD Sender: No OFD packet to send [01:28:43]OFD Sender: No OFD packet to send [01:28:48]OFD Sender: No OFD packet to send [01:28:53]OFD Sender: No OFD packet to send [01:28:58]OFD Sender: No OFD packet to send [01:29:03]OFD Sender: No OFD packet to send [01:29:08]OFD Sender: No OFD packet to send [01:29:13]OFD Sender: No OFD packet to send [01:29:18]OFD Sender: No OFD packet to send [01:29:23]OFD Sender: No OFD packet to send [01:29:28]OFD Sender: No OFD packet to send [01:29:33]OFD Sender: No OFD packet to send [01:29:38]OFD Sender: No OFD packet to send [01:29:43]OFD Sender: No OFD packet to send [01:29:48]OFD Sender: No OFD packet to send [01:29:53]OFD Sender: No OFD packet to send [01:29:58]OFD Sender: No OFD packet to send [01:30:03]OFD Sender: No OFD packet to send [01:30:08]OFD Sender: No OFD packet to send [01:30:13]OFD Sender: No OFD packet to send [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:43]OFD Sender: No OFD packet to send [01:31:48]OFD Sender: No OFD packet to send [01:31:53]OFD Sender: No OFD packet to send [01:31:58]OFD Sender: No OFD packet to send [01:32:03]OFD Sender: No OFD packet to send [01:32:08]OFD Sender: No OFD packet to send [01:32:13]OFD Sender: No OFD packet to send [01:32:18]OFD Sender: No OFD packet to send [01:32:23]OFD Sender: No OFD packet to send [01:32:28]OFD Sender: No OFD packet to send [01:32:33]OFD Sender: No OFD packet to send [01:32:38]OFD Sender: No OFD packet to send [01:32:43]OFD Sender: No OFD packet to send [01:32:48]OFD Sender: No OFD packet to send [01:32:53]OFD Sender: No OFD packet to send [01:32:58]OFD Sender: No OFD packet to send [01:33:03]OFD Sender: No OFD packet to send [01:33:08]OFD Sender: No OFD packet to send [01:33:13]OFD Sender: No OFD packet to send [01:33:18]OFD Sender: No OFD packet to send [01:33:23]OFD Sender: No OFD packet to send [01:33:28]OFD Sender: No OFD packet to send [01:33:33]OFD Sender: No OFD packet to send [01:33:38]OFD Sender: No OFD packet to send [01:33:43]OFD Sender: No OFD packet to send [01:33:48]OFD Sender: No OFD packet to send [01:33:53]OFD Sender: No OFD packet to send [01:33:58]OFD Sender: No OFD packet to send [01:34:03]OFD Sender: No OFD packet to send [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:23]OFD Sender: No OFD packet to send [01:35:28]OFD Sender: No OFD packet to send [01:35:33]OFD Sender: No OFD packet to send [01:35:38]OFD Sender: No OFD packet to send [01:35:43]OFD Sender: No OFD packet to send [01:35:48]OFD Sender: No OFD packet to send [01:35:53]OFD Sender: No OFD packet to send [01:35:58]OFD Sender: No OFD packet to send [01:36:03]OFD Sender: No OFD packet to send [01:36:08]OFD Sender: No OFD packet to send [01:36:13]OFD Sender: No OFD packet to send [01:36:18]OFD Sender: No OFD packet to send [01:36:23]OFD Sender: No OFD packet to send [01:36:28]OFD Sender: No OFD packet to send [01:36:33]OFD Sender: No OFD packet to send [01:36:38]OFD Sender: No OFD packet to send [01:36:43]OFD Sender: No OFD packet to send [01:36:48]OFD Sender: No OFD packet to send [01:36:53]OFD Sender: No OFD packet to send [01:36:58]OFD Sender: No OFD packet to send [01:37:03]OFD Sender: No OFD packet to send [01:37:08]OFD Sender: No OFD packet to send [01:37:13]OFD Sender: No OFD packet to send [01:37:18]OFD Sender: No OFD packet to send [01:37:23]OFD Sender: No OFD packet to send [01:37:28]OFD Sender: No OFD packet to send [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:53]OFD Sender: No OFD packet to send [01:42:58]OFD Sender: No OFD packet to send [01:43:03]OFD Sender: No OFD packet to send [01:43:08]OFD Sender: No OFD packet to send [01:43:13]OFD Sender: No OFD packet to send [01:43:18]OFD Sender: No OFD packet to send [01:43:23]OFD Sender: No OFD packet to send [01:43:28]OFD Sender: No OFD packet to send [01:43:33]OFD Sender: No OFD packet to send [01:43:38]OFD Sender: No OFD packet to send [01:43:43]OFD Sender: No OFD packet to send [01:43:48]OFD Sender: No OFD packet to send [01:43:53]OFD Sender: No OFD packet to send [01:43:58]OFD Sender: No OFD packet to send [01:44:03]OFD Sender: No OFD packet to send [01:44:08]OFD Sender: No OFD packet to send [01:44:13]OFD Sender: No OFD packet to send [01:44:18]OFD Sender: No OFD packet to send [01:44:23]OFD Sender: No OFD packet to send [01:44:28]OFD Sender: No OFD packet to send [01:44:33]OFD Sender: No OFD packet to send [01:44:38]OFD Sender: No OFD packet to send [01:44:43]OFD Sender: No OFD packet to send [01:44:48]OFD Sender: No OFD packet to send [01:44:53]OFD Sender: No OFD packet to send [01:44:58]OFD Sender: No OFD packet to send [01:45:03]OFD Sender: No OFD packet to send [01:45:08]OFD Sender: No OFD packet to send [01:45:13]OFD Sender: No OFD packet to send [01:45:18]OFD Sender: No OFD packet to send [01:45:23]OFD Sender: No OFD packet to send [01:45:28]OFD Sender: No OFD packet to send [01:45:33]OFD Sender: No OFD packet to send [01:45:38]OFD Sender: No OFD packet to send [01:45:43]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:54]OFD Sender: No OFD packet to send [02:04:59]OFD Sender: No OFD packet to send [02:05:04]OFD Sender: No OFD packet to send [02:05:09]OFD Sender: No OFD packet to send [02:05:14]OFD Sender: No OFD packet to send [02:05:19]OFD Sender: No OFD packet to send [02:05:24]OFD Sender: No OFD packet to send [02:05:29]OFD Sender: No OFD packet to send [02:05:34]OFD Sender: No OFD packet to send [02:05:39]OFD Sender: No OFD packet to send [02:05:44]OFD Sender: No OFD packet to send [02:05:49]OFD Sender: No OFD packet to send [02:05:54]OFD Sender: No OFD packet to send [02:05:59]OFD Sender: No OFD packet to send [02:06:04]OFD Sender: No OFD packet to send [02:06:09]OFD Sender: No OFD packet to send [02:06:14]OFD Sender: No OFD packet to send [02:06:19]OFD Sender: No OFD packet to send [02:06:24]OFD Sender: No OFD packet to send [02:06:29]OFD Sender: No OFD packet to send [02:06:34]OFD Sender: No OFD packet to send [02:06:39]OFD Sender: No OFD packet to send [02:06:44]OFD Sender: No OFD packet to send [02:06:49]OFD Sender: No OFD packet to send [02:06:54]OFD Sender: No OFD packet to send [02:06:59]OFD Sender: No OFD packet to send [02:07:04]OFD Sender: No OFD packet to send [02:07:09]OFD Sender: No OFD packet to send [02:07:14]OFD Sender: No OFD packet to send [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:50]OFD Sender: No OFD packet to send [02:28:55]OFD Sender: No OFD packet to send [02:29:00]OFD Sender: No OFD packet to send [02:29:05]OFD Sender: No OFD packet to send [02:29:10]OFD Sender: No OFD packet to send [02:29:15]OFD Sender: No OFD packet to send [02:29:20]OFD Sender: No OFD packet to send [02:29:25]OFD Sender: No OFD packet to send [02:29:30]OFD Sender: No OFD packet to send [02:29:35]OFD Sender: No OFD packet to send [02:29:40]OFD Sender: No OFD packet to send [02:29:45]OFD Sender: No OFD packet to send [02:29:50]OFD Sender: No OFD packet to send [02:29:55]OFD Sender: No OFD packet to send [02:30:00]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:46]OFD Sender: No OFD packet to send [02:48:51]OFD Sender: No OFD packet to send [02:48:56]OFD Sender: No OFD packet to send [02:49:01]OFD Sender: No OFD packet to send [02:49:06]OFD Sender: No OFD packet to send [02:49:11]OFD Sender: No OFD packet to send [02:49:16]OFD Sender: No OFD packet to send [02:49:21]OFD Sender: No OFD packet to send [02:49:26]OFD Sender: No OFD packet to send [02:49:31]OFD Sender: No OFD packet to send [02:49:36]OFD Sender: No OFD packet to send [02:49:41]OFD Sender: No OFD packet to send [02:49:46]OFD Sender: No OFD packet to send [02:49:51]OFD Sender: No OFD packet to send [02:49:56]OFD Sender: No OFD packet to send [02:50:01]OFD Sender: No OFD packet to send [02:50:06]OFD Sender: No OFD packet to send [02:50:11]OFD Sender: No OFD packet to send [02:50:16]OFD Sender: No OFD packet to send [02:50:21]OFD Sender: No OFD packet to send [02:50:26]OFD Sender: No OFD packet to send [02:50:31]OFD Sender: No OFD packet to send [02:50:36]OFD Sender: No OFD packet to send [02:50:41]OFD Sender: No OFD packet to send [02:50:46]OFD Sender: No OFD packet to send [02:50:51]OFD Sender: No OFD packet to send [02:50:56]OFD Sender: No OFD packet to send [02:51:01]OFD Sender: No OFD packet to send [02:51:06]OFD Sender: No OFD packet to send [02:51:11]OFD Sender: No OFD packet to send [02:51:16]OFD Sender: No OFD packet to send [02:51:21]OFD Sender: No OFD packet to send [02:51:26]OFD Sender: No OFD packet to send [02:51:31]OFD Sender: No OFD packet to send [02:51:36]OFD Sender: No OFD packet to send [02:51:41]OFD Sender: No OFD packet to send [02:51:46]OFD Sender: No OFD packet to send [02:51:52]OFD Sender: No OFD packet to send [02:51:57]OFD Sender: No OFD packet to send [02:52:02]OFD Sender: No OFD packet to send [02:52:07]OFD Sender: No OFD packet to send [02:52:12]OFD Sender: No OFD packet to send [02:52:17]OFD Sender: No OFD packet to send [02:52:22]OFD Sender: No OFD packet to send [02:52:27]OFD Sender: No OFD packet to send [02:52:32]OFD Sender: No OFD packet to send [02:52:37]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:27]OFD Sender: No OFD packet to send [02:56:32]OFD Sender: No OFD packet to send [02:56:37]OFD Sender: No OFD packet to send [02:56:42]OFD Sender: No OFD packet to send [02:56:47]OFD Sender: No OFD packet to send [02:56:52]OFD Sender: No OFD packet to send [02:56:57]OFD Sender: No OFD packet to send [02:57:02]OFD Sender: No OFD packet to send [02:57:07]OFD Sender: No OFD packet to send [02:57:12]OFD Sender: No OFD packet to send [02:57:17]OFD Sender: No OFD packet to send [02:57:22]OFD Sender: No OFD packet to send [02:57:27]OFD Sender: No OFD packet to send [02:57:32]OFD Sender: No OFD packet to send [02:57:37]OFD Sender: No OFD packet to send [02:57:42]OFD Sender: No OFD packet to send [02:57:47]OFD Sender: No OFD packet to send [02:57:52]OFD Sender: No OFD packet to send [02:57:57]OFD Sender: No OFD packet to send [02:58:02]OFD Sender: No OFD packet to send [02:58:07]OFD Sender: No OFD packet to send [02:58:12]OFD Sender: No OFD packet to send