[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:04]OFD Sender: No OFD packet to send [03:19:09]OFD Sender: No OFD packet to send [03:19:14]OFD Sender: No OFD packet to send [03:19:19]OFD Sender: No OFD packet to send [03:19:24]OFD Sender: No OFD packet to send [03:19:29]OFD Sender: No OFD packet to send [03:19:34]OFD Sender: No OFD packet to send [03:19:39]OFD Sender: No OFD packet to send [03:19:44]OFD Sender: No OFD packet to send [03:19:49]OFD Sender: No OFD packet to send [03:19:54]OFD Sender: No OFD packet to send [03:19:59]OFD Sender: No OFD packet to send [03:20:04]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: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:00]OFD Sender: No OFD packet to send [03:41:05]OFD Sender: No OFD packet to send [03:41:10]OFD Sender: No OFD packet to send [03:41:15]OFD Sender: No OFD packet to send [03:41:20]OFD Sender: No OFD packet to send [03:41:25]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:06]OFD Sender: No OFD packet to send [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:52]OFD Sender: No OFD packet to send [04:02:57]OFD Sender: No OFD packet to send [04:03:02]OFD Sender: No OFD packet to send [04:03:07]OFD Sender: No OFD packet to send [04:03:12]OFD Sender: No OFD packet to send [04:03:17]OFD Sender: No OFD packet to send [04:03:22]OFD Sender: No OFD packet to send [04:03:27]OFD Sender: No OFD packet to send [04:03:32]OFD Sender: No OFD packet to send [04:03:37]OFD Sender: No OFD packet to send [04:03:42]OFD Sender: No OFD packet to send [04:03:47]OFD Sender: No OFD packet to send [04:03:52]OFD Sender: No OFD packet to send [04:03:57]OFD Sender: No OFD packet to send [04:04:02]OFD Sender: No OFD packet to send [04:04:07]OFD Sender: No OFD packet to send [04:04:12]OFD Sender: No OFD packet to send [04:04:17]OFD Sender: No OFD packet to send [04:04:22]OFD Sender: No OFD packet to send [04:04:27]OFD Sender: No OFD packet to send [04:04:32]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09:02]OFD Sender: No OFD packet to send [04:09:07]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:02]OFD Sender: No OFD packet to send [04:10:07]OFD Sender: No OFD packet to send [04:10:12]OFD Sender: No OFD packet to send [04:10:17]OFD Sender: No OFD packet to send [04:10:22]OFD Sender: No OFD packet to send [04:10:27]OFD Sender: No OFD packet to send [04:10:32]OFD Sender: No OFD packet to send [04:10:37]OFD Sender: No OFD packet to send [04:10:42]OFD Sender: No OFD packet to send [04:10:47]OFD Sender: No OFD packet to send [04:10:52]OFD Sender: No OFD packet to send [04:10:57]OFD Sender: No OFD packet to send [04:11:02]OFD Sender: No OFD packet to send [04:11:07]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:22]OFD Sender: No OFD packet to send [04:11:27]OFD Sender: No OFD packet to send [04:11:32]OFD Sender: No OFD packet to send [04:11:37]OFD Sender: No OFD packet to send [04:11:42]OFD Sender: No OFD packet to send [04:11:47]OFD Sender: No OFD packet to send [04:11:52]OFD Sender: No OFD packet to send [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13:02]OFD Sender: No OFD packet to send [04:13:07]OFD Sender: No OFD packet to send [04:13:12]OFD Sender: No OFD packet to send [04:13:17]OFD Sender: No OFD packet to send [04:13:22]OFD Sender: No OFD packet to send [04:13:27]OFD Sender: No OFD packet to send [04:13:32]OFD Sender: No OFD packet to send [04:13:37]OFD Sender: No OFD packet to send [04:13:42]OFD Sender: No OFD packet to send [04:13:47]OFD Sender: No OFD packet to send [04:13:52]OFD Sender: No OFD packet to send [04:13:57]OFD Sender: No OFD packet to send [04:14:02]OFD Sender: No OFD packet to send [04:14:07]OFD Sender: No OFD packet to send [04:14:12]OFD Sender: No OFD packet to send [04:14:17]OFD Sender: No OFD packet to send [04:14:22]OFD Sender: No OFD packet to send [04:14:27]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:28]OFD Sender: No OFD packet to send [04:24:33]OFD Sender: No OFD packet to send [04:24:38]OFD Sender: No OFD packet to send [04:24:43]OFD Sender: No OFD packet to send [04:24:48]OFD Sender: No OFD packet to send [04:24:53]OFD Sender: No OFD packet to send [04:24:58]OFD Sender: No OFD packet to send [04:25:03]OFD Sender: No OFD packet to send [04:25:08]OFD Sender: No OFD packet to send [04:25:13]OFD Sender: No OFD packet to send [04:25:18]OFD Sender: No OFD packet to send [04:25:23]OFD Sender: No OFD packet to send [04:25:28]OFD Sender: No OFD packet to send [04:25:33]OFD Sender: No OFD packet to send [04:25:38]OFD Sender: No OFD packet to send [04:25:43]OFD Sender: No OFD packet to send [04:25:48]OFD Sender: No OFD packet to send [04:25:53]OFD Sender: No OFD packet to send [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:18]OFD Sender: No OFD packet to send [04:29:23]OFD Sender: No OFD packet to send [04:29:28]OFD Sender: No OFD packet to send [04:29:33]OFD Sender: No OFD packet to send [04:29:38]OFD Sender: No OFD packet to send [04:29:43]OFD Sender: No OFD packet to send [04:29:48]OFD Sender: No OFD packet to send [04:29:53]OFD Sender: No OFD packet to send [04:29:58]OFD Sender: No OFD packet to send [04:30:03]OFD Sender: No OFD packet to send [04:30:08]OFD Sender: No OFD packet to send [04:30:13]OFD Sender: No OFD packet to send [04:30:18]OFD Sender: No OFD packet to send [04:30:23]OFD Sender: No OFD packet to send [04:30:28]OFD Sender: No OFD packet to send [04:30:33]OFD Sender: No OFD packet to send [04:30:38]OFD Sender: No OFD packet to send [04:30:43]OFD Sender: No OFD packet to send [04:30:48]OFD Sender: No OFD packet to send [04:30:53]OFD Sender: No OFD packet to send [04:30:58]OFD Sender: No OFD packet to send [04:31:03]OFD Sender: No OFD packet to send [04:31:08]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:03]OFD Sender: No OFD packet to send [04:32:08]OFD Sender: No OFD packet to send [04:32:13]OFD Sender: No OFD packet to send [04:32:18]OFD Sender: No OFD packet to send [04:32:23]OFD Sender: No OFD packet to send [04:32:28]OFD Sender: No OFD packet to send [04:32:33]OFD Sender: No OFD packet to send [04:32:38]OFD Sender: No OFD packet to send [04:32:43]OFD Sender: No OFD packet to send [04:32:48]OFD Sender: No OFD packet to send [04:32:53]OFD Sender: No OFD packet to send [04:32:58]OFD Sender: No OFD packet to send [04:33:03]OFD Sender: No OFD packet to send [04:33:08]OFD Sender: No OFD packet to send [04:33:13]OFD Sender: No OFD packet to send [04:33:18]OFD Sender: No OFD packet to send [04:33:23]OFD Sender: No OFD packet to send [04:33:28]OFD Sender: No OFD packet to send [04:33:33]OFD Sender: No OFD packet to send [04:33:38]OFD Sender: No OFD packet to send [04:33:43]OFD Sender: No OFD packet to send [04:33:48]OFD Sender: No OFD packet to send [04:33:53]OFD Sender: No OFD packet to send [04:33:58]OFD Sender: No OFD packet to send [04:34:03]OFD Sender: No OFD packet to send [04:34:08]OFD Sender: No OFD packet to send [04:34:13]OFD Sender: No OFD packet to send [04:34:18]OFD Sender: No OFD packet to send [04:34:23]OFD Sender: No OFD packet to send [04:34:28]OFD Sender: No OFD packet to send [04:34:33]OFD Sender: No OFD packet to send [04:34:38]OFD Sender: No OFD packet to send [04:34:43]OFD Sender: No OFD packet to send [04:34:48]OFD Sender: No OFD packet to send [04:34:53]OFD Sender: No OFD packet to send [04:34:58]OFD Sender: No OFD packet to send [04:35:03]OFD Sender: No OFD packet to send [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:23]OFD Sender: No OFD packet to send [04:35:28]OFD Sender: No OFD packet to send [04:35:33]OFD Sender: No OFD packet to send [04:35:38]OFD Sender: No OFD packet to send [04:35:43]OFD Sender: No OFD packet to send [04:35:48]OFD Sender: No OFD packet to send [04:35:53]OFD Sender: No OFD packet to send [04:35:58]OFD Sender: No OFD packet to send [04:36:03]OFD Sender: No OFD packet to send [04:36:08]OFD Sender: No OFD packet to send [04:36:13]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:59]OFD Sender: No OFD packet to send [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:19]OFD Sender: No OFD packet to send [04:53:24]OFD Sender: No OFD packet to send [04:53:29]OFD Sender: No OFD packet to send [04:53:34]OFD Sender: No OFD packet to send [04:53:39]OFD Sender: No OFD packet to send [04:53:44]OFD Sender: No OFD packet to send [04:53:49]OFD Sender: No OFD packet to send [04:53:54]OFD Sender: No OFD packet to send [04:53:59]OFD Sender: No OFD packet to send [04:54:04]OFD Sender: No OFD packet to send [04:54:09]OFD Sender: No OFD packet to send [04:54:14]OFD Sender: No OFD packet to send [04:54:19]OFD Sender: No OFD packet to send [04:54:24]OFD Sender: No OFD packet to send [04:54:29]OFD Sender: No OFD packet to send [04:54:34]OFD Sender: No OFD packet to send [04:54:39]OFD Sender: No OFD packet to send [04:54:44]OFD Sender: No OFD packet to send [04:54:49]OFD Sender: No OFD packet to send [04:54:54]OFD Sender: No OFD packet to send [04:54:59]OFD Sender: No OFD packet to send [04:55:04]OFD Sender: No OFD packet to send [04:55:09]OFD Sender: No OFD packet to send [04:55:14]OFD Sender: No OFD packet to send [04:55:19]OFD Sender: No OFD packet to send [04:55:24]OFD Sender: No OFD packet to send [04:55:29]OFD Sender: No OFD packet to send [04:55:34]OFD Sender: No OFD packet to send [04:55:39]OFD Sender: No OFD packet to send [04:55:44]OFD Sender: No OFD packet to send [04:55:49]OFD Sender: No OFD packet to send [04:55:54]OFD Sender: No OFD packet to send [04:55:59]OFD Sender: No OFD packet to send [04:56:04]OFD Sender: No OFD packet to send [04:56:09]OFD Sender: No OFD packet to send [04:56:14]OFD Sender: No OFD packet to send [04:56:19]OFD Sender: No OFD packet to send [04:56:24]OFD Sender: No OFD packet to send [04:56:29]OFD Sender: No OFD packet to send [04:56:34]OFD Sender: No OFD packet to send [04:56:39]OFD Sender: No OFD packet to send [04:56:44]OFD Sender: No OFD packet to send [04:56:49]OFD Sender: No OFD packet to send [04:56:54]OFD Sender: No OFD packet to send [04:56:59]OFD Sender: No OFD packet to send [04:57:04]OFD Sender: No OFD packet to send [04:57:09]OFD Sender: No OFD packet to send [04:57:14]OFD Sender: No OFD packet to send [04:57:19]OFD Sender: No OFD packet to send [04:57:24]OFD Sender: No OFD packet to send [04:57:29]accept exits with 7 [04:57:29]New connection [04:57:29]New thread 3066936676 created [04:57:29]Thread 3066793316 joined [04:57:29]Waiting for new connection... [04:57:29] Sock 7.Parse request [04:57:29]Sock 7.Check first char [04:57:29]Sock 7.First char is OK [04:57:29]request: POST /json_proto HTTP/1.0 [04:57:29]Method: POST [04:57:29]URL: /json_proto [04:57:29]Method is POST - this is cgi request [04:57:29]url: /json_proto [04:57:29]query_string will be loaded in cgi processing [04:57:29]execute_cgi json_proto POST (null) [04:57:29]execute_cgi path=json_proto method=POST [04:57:29]POST find Content-Length [04:57:29]Host: 172.17.35.196:8080 [04:57:29]Content-Length: 646 [04:57:29]Content-Type: application/json [04:57:29] [04:57:29]POST finish read [04:57:29]Found Content-Length = 646 [04:57:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169147", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:57:29]execute_script... [04:57: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)169147", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:57:29]POST & json_proto [04:57:29]process_json_proto [04:57:29]json parsed OK: [04:57:29]protocol is kg_v1.0 [04:57:29]action value=close_receipt [04:57:29]process_action close_receipt [04:57:29]cmd_close_receipt [04:57:29]MH_GetDate [04:57:29]Write to MH i2c: F0 00 00 1B 12 1C [04:57:29]Write i2c OK [04:57:29]MH_I2C_Read... [04:57:29]Read from MH i2c: F0 [04:57:29]MH_I2C_Read... [04:57:29]Read from MH i2c: F0 09 00 [04:57:29]MH_I2C_Read... [04:57:29]Read from MH i2c: F0 09 00 1B 12 00 BD B7 90 66 AD 14 F4 65 A9 [04:57:29]GetLastDocTimeStamp 1720748590 [04:57:29]current date 1720760253 [04:57:29]FM_GetShiftState [04:57:29]SAM_PROTO_GetShiftState [04:57:29]wFMCommunicate request_size=4 [04:57:29]MH_SAM_APDU [04:57:29]CAPDU: 80 13 01 00 [04:57:29]Write to MH i2c: E2 08 00 1C 12 80 13 01 00 00 00 00 00 AB [04:57:29]Write i2c OK [04:57:29]MH_I2C_Read... [04:57:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:57:29]Read from MH i2c: E2 [04:57:29]MH_I2C_Read... [04:57:29]Read from MH i2c: E2 0E 00 [04:57:29]MH_I2C_Read... [04:57:29]Read from MH i2c: E2 0E 00 1C 12 00 09 00 01 17 74 90 66 00 00 00 00 90 00 38 [04:57:29]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [04:57:29]wFMCommunicate OK [04:57:29]SAM_PROTO_GetShiftState done [04:57:29]FM_GetShiftState done [04:57:29]opened in 1720742935 [04:57:29]opened+sec_in_day 1720829335 [04:57:29]quantity*price = 13000 [04:57:29]sum+1 = 13001 [04:57:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 5 12.07.2024 04:57 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33327 ФПД: 109611884603066 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T045733&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33327&fm=109611884603066&tin=02508201610067®Number=0000000000093033&sum=13000 0 [04:57:30]StoreToDocumentArchive [04:57:30]shift 433 fd 33327 [04:57:30]save to /storage/0433/doc_00033327 [04:57:30]save last doc name /storage/0433/doc_00033327 to /storage/kkm_last_doc_name [04:57:30]save OK [04:57:30]Clear old archive folders... [04:57:30]ProcessDocumentItem done err = 0, tmpTLVsize=282 [04:57:30]tlvbuf is 01CA0C40 [04:57:30]SAM_PROTO_ClearQueue [04:57:30]wFMCommunicate request_size=4 [04:57:30]MH_SAM_APDU [04:57:30]CAPDU: 80 09 00 00 [04:57:30]Write to MH i2c: E2 08 00 29 12 80 09 00 00 00 00 00 00 AD [04:57:30]Write i2c OK [04:57:30]MH_I2C_Read... [04:57:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:57:30]Read from MH i2c: E2 [04:57:30]MH_I2C_Read... [04:57:30]Read from MH i2c: E2 03 00 [04:57:30]MH_I2C_Read... [04:57:30]Read from MH i2c: E2 03 00 29 12 00 90 00 AF [04:57:30]RAPDU: 90 00 [04:57:30]wFMCommunicate OK [04:57:30]SAM_PROTO_ClearQueue done [04:57:30]KKMCreateOFDPacket [04:57:30]OFDProtocolAddRootSTLVToBuf [04:57:30]FM_MakeSignedData [04:57:30]FM_MakeSignedData [04:57:30]SAM_PROTO_SignData [04:57:30]wFMCommunicate request_size=4 [04:57:30]MH_SAM_APDU [04:57:30]CAPDU: 80 0D 01 02 [04:57:30]Write to MH i2c: E2 08 00 2A 12 80 0D 01 02 00 00 00 00 B5 [04:57:30]Write i2c OK [04:57:30]MH_I2C_Read... [04:57:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:57:30]Read from MH i2c: E2 [04:57:30]MH_I2C_Read... [04:57:30]Read from MH i2c: E2 03 00 [04:57:30]MH_I2C_Read... [04:57:30]Read from MH i2c: E2 03 00 2A 12 00 90 00 B0 [04:57:30]RAPDU: 90 00 [04:57:30]wFMCommunicate OK [04:57:30]wFMCommunicate request_size=255 [04:57:30]MH_SAM_APDU [04:57:30]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 BD B7 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [04:57:30]Write to MH i2c: E2 02 01 2B 12 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 BD B7 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 DE [04:57:30]Write i2c OK [04:57:30]MH_I2C_Read... [04:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:57:30]Read from MH i2c: E2 [04:57:30]MH_I2C_Read... [04:57:30]Read from MH i2c: E2 03 00 [04:57:30]MH_I2C_Read... [04:57:30]Read from MH i2c: E2 03 00 2B 12 00 90 00 B1 [04:57:30]RAPDU: 90 00 [04:57:30]wFMCommunicate OK [04:57:30]wFMCommunicate request_size=41 [04:57:30]MH_SAM_APDU [04:57:30]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2F 82 00 00 35 04 06 00 63 B1 01 71 E6 BA [04:57:30]Write to MH i2c: E2 2C 00 2C 12 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2F 82 00 00 35 04 06 00 63 B1 01 71 E6 BA 00 00 57 [04:57:30]Write i2c OK [04:57:30]MH_I2C_Read... [04:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:57:30]Read from MH i2c: E2 [04:57:30]MH_I2C_Read... [04:57:30]Read from MH i2c: E2 03 00 [04:57:30]MH_I2C_Read... [04:57:30]Read from MH i2c: E2 03 00 2C 12 00 90 00 B2 [04:57:30]RAPDU: 90 00 [04:57:30]wFMCommunicate OK [04:57:30]wFMCommunicate request_size=4 [04:57:30]MH_SAM_APDU [04:57:30]CAPDU: 80 0D 03 02 [04:57:30]Write to MH i2c: E2 08 00 2D 12 80 0D 03 02 00 00 00 00 BA [04:57:30]Write i2c OK [04:57:30]MH_I2C_Read... [04:57:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:57:31]Read from MH i2c: E2 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: E2 0B 00 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: E2 0B 00 2D 12 00 7B 7A 5B AC 13 01 EA 5E 90 00 13 [04:57:31]RAPDU: 7B 7A 5B AC 13 01 EA 5E 90 00 [04:57:31]wFMCommunicate OK [04:57:31]SAM_PROTO_SignData done [04:57:31]FM_MakeSignedData done [04:57:31]CreateOFDProtocolMessage [04:57:31]wFMCommunicate request_size=4 [04:57:31]MH_SAM_APDU [04:57:31]CAPDU: 80 11 00 00 [04:57:31]Write to MH i2c: E2 08 00 2E 12 80 11 00 00 00 00 00 00 BA [04:57:31]Write i2c OK [04:57:31]MH_I2C_Read... [04:57:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:57:31]Read from MH i2c: E2 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: E2 17 00 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: E2 17 00 2E 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 06 [04:57:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:57:31]wFMCommunicate OK [04:57:31]CreateOFDProtocolMessage done [04:57:31]OFDSenderStorePacket 33327 [04:57:31]StoreOFDPacket docnum=33327 [04:57:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 C8 6D 26 01 1D 3E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 BD B7 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2F 82 00 00 35 04 06 00 63 B1 01 71 E6 BA 7B 7A 5B AC 13 01 EA 5E [04:57:31]CheckFolder [04:57:31]dirname=/storage/ofd_packets [04:57:31]CheckFolder done [04:57:31]ProducePacketName [04:57:31]name=ofd_packets/00033327 [04:57:31]NVStorageSaveData ofd_packets/00033327 [04:57:31]File name is /storage/ofd_packets/00033327 [04:57:31]Write 332 bytes [04:57:31]NVStorageSaveData done [04:57:31]OFDSenderStorePacket done [04:57:31]KKMCreateOFDPacket done [04:57:31]NVStorageSaveData kkm_last_timestamp [04:57:31]File name is /storage/kkm_last_timestamp [04:57:31]Write 4 bytes [04:57:31]NVStorageSaveData done [04:57:31]ExternCall_PrintAddStr [04:57:31]wPrintStart [04:57:31]Write to MH i2c: 01 00 00 2F 12 41 [04:57:31]Write i2c OK [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: 01 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: 01 07 00 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: 01 07 00 2F 12 00 00 00 00 00 FF 0F 56 [04:57:31]RasterBufferAndPrint [04:57:31]line Счет N : (3)169147 [04:57:31]line ИНН: 02508201610067 [04:57:31]line Контрольно-Кассовый Чек [04:57:31]line ПРОДАЖА [04:57:31]line Товар: 2000036220012 [04:57:31]line Кофе Капучино XL(GABB TRADE) [04:57:31]line 1.000 * 130.00 [04:57:31]line = 130.00 [04:57:31]line НДС 12% НСП 1% [04:57:31]line > о реализуемом товаре [04:57:31]line ИТОГО: 130.00 [04:57:31]line НСП 1% : 1.15 [04:57:31]line НДС 12% : 13.80 [04:57:31]line Наличными: 130.00 [04:57:31]line Безнал.: 0.00 [04:57:31]line Место: АЗС № 77 "Партнер Нефть" [04:57:31]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [04:57:31]line СНО: Общий режим [04:57:31]line Чек 5 12.07.2024 04:57 [04:57:31]line Смена: 433 ФФД: 1.0 [04:57:31]line ЗНМ: 0300000122 [04:57:31]line РНМ: 0000000000093033 [04:57:31]line Версия ККМ: 001 [04:57:31]line ФМ: 0000000000875104 [04:57:31]line ФД: 33327 [04:57:31]line ФПД: 109611884603066 [04:57:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T045733&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33327&fm=109611884603066&tin=02508201610067®Number=0000000000093033&sum=13000 [04:57:31]line 0 [04:57:31]OFD Sender: Processing packet 33327 [packets to send 6, broken 5] [04:57:31]ProducePacketName [04:57:31]name=ofd_packets/00033327 [04:57:31]OFD Sender: To server: pG, [04:57:31]CommunicateWithHost lk.salyk.kg:30040 [04:57:31]ConnectInit lk.salyk.kg [04:57:31]written 0, free lines is 4095 [04:57:31]Connected sock=10 [04:57:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 C8 6D 26 01 1D 3E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 BD B7 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2F 82 00 00 35 04 06 00 63 B1 01 71 E6 BA 7B 7A 5B AC 13 01 EA 5E [04:57:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A0 C9 47 00 1E 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 2F 82 00 00 F4 03 04 00 6B 62 90 66 B6 04 01 00 00 8B 0E 90 33 7F 07 E3 E0 [04:57:31]CommunicateWithHost err = 0 [04:57:31]CheckOFDResponse [04:57:31]1017 (14) - 77093643461234 [04:57:31]1041 (16) - 0000000000875104 [04:57:31]1040 (4) - 33327 [04:57:31]1012 (4) - 11.07.2024 22:53 [04:57:31]1206 (1) - 0 [04:57:31]OFD Sender: Remove packet 33327 [04:57:31]ProducePacketName [04:57:31]name=ofd_packets/00033327 [04:57:31]NVStorageDeleteData [04:57:31]Write to MH i2c: 01 00 00 58 12 6A [04:57:31]Write i2c OK [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: 01 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: 01 07 00 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: 01 07 00 58 12 00 00 00 00 00 F2 0C 6F [04:57:31]RasterBufferAndPrint [04:57:31]line [04:57:31]line [04:57:31]line [04:57:31]line [04:57:31]line [04:57:31]written 0, free lines is 3320 [04:57:31]MH_Cut [04:57:31]Write to MH i2c: D1 01 00 5F 12 01 43 [04:57:31]Write i2c OK [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: D1 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: D1 01 00 [04:57:31]MH_I2C_Read... [04:57:31]Read from MH i2c: D1 01 00 5F 12 00 42 [04:57:31]Write to MH i2c: 01 00 00 60 12 72 [04:57:31]Write i2c OK [04:57:31]MH_I2C_Read... [04:57:32]OFD Sender: No OFD packet to send [04:57:32]*** Cut start [04:57:32]*** Partial cut [04:57:32]*** CUTSNS_PIN = 1 [04:57:32]*** CUTSNS_PIN = 0 [04:57:32]*** Brake cut motor [04:57:33]Read from MH i2c: 01 [04:57:33]MH_I2C_Read... [04:57:33]*** Stop cut motor [04:57:33]*** Cut end [04:57:33]Read from MH i2c: 01 07 00 [04:57:33]MH_I2C_Read... [04:57:33]Read from MH i2c: 01 07 00 60 12 00 00 00 00 00 FF 0F 87 [04:57:33]process_action close_receipt done [04:57:33]requested_data is exist [04:57:33]produce_requested_data [04:57:33]requested_item fm.sn is exist - process it [04:57:33]wFMCommunicate request_size=4 [04:57:33]MH_SAM_APDU [04:57:33]CAPDU: 80 11 00 00 [04:57:33]Write to MH i2c: E2 08 00 61 12 80 11 00 00 00 00 00 00 ED [04:57:33]Write i2c OK [04:57:33]MH_I2C_Read... [04:57:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:57:33]Read from MH i2c: E2 [04:57:33]MH_I2C_Read... [04:57:33]Read from MH i2c: E2 17 00 [04:57:33]MH_I2C_Read... [04:57:33]Read from MH i2c: E2 17 00 61 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 39 [04:57:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [04:57:33]wFMCommunicate OK [04:57:33]requested_item fd.num is exist - process it [04:57:33]SAM_PROTO_GetFieldsCounters [04:57:33]wFMCommunicate request_size=4 [04:57:33]MH_SAM_APDU [04:57:33]CAPDU: 80 13 00 00 [04:57:33]Write to MH i2c: E2 08 00 62 12 80 13 00 00 00 00 00 00 F0 [04:57:33]Write i2c OK [04:57:33]MH_I2C_Read... [04:57:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:57:33]Read from MH i2c: E2 [04:57:33]MH_I2C_Read... [04:57:33]Read from MH i2c: E2 62 00 [04:57:33]MH_I2C_Read... [04:57:33]Read from MH i2c: E2 62 00 62 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2F 82 00 00 0E 04 04 00 B1 01 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 75 [04:57:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 2F 82 00 00 0E 04 04 00 B1 01 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 [04:57:33]wFMCommunicate OK [04:57:33]SAM_PROTO_GetFieldsCounters done [04:57:33]requested_item shift.num is exist - process it [04:57:33]requested_item shift.opened is exist - process it [04:57:33]req_shift_opened [04:57:33]FM_GetShiftState [04:57:33]SAM_PROTO_GetShiftState [04:57:33]wFMCommunicate request_size=4 [04:57:33]MH_SAM_APDU [04:57:33]CAPDU: 80 13 01 00 [04:57:33]Write to MH i2c: E2 08 00 63 12 80 13 01 00 00 00 00 00 F2 [04:57:33]Write i2c OK [04:57:33]MH_I2C_Read... [04:57:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:57:33]Read from MH i2c: E2 [04:57:33]MH_I2C_Read... [04:57:33]Read from MH i2c: E2 0E 00 [04:57:33]MH_I2C_Read... [04:57:33]Read from MH i2c: E2 0E 00 63 12 00 09 00 01 17 74 90 66 00 00 00 00 90 00 7F [04:57:33]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [04:57:33]wFMCommunicate OK [04:57:33]SAM_PROTO_GetShiftState done [04:57:33]FM_GetShiftState done [04:57:33]req_shift_opened done [04:57:33]requested_item shift.open_date is exist - process it [04:57:33]req_shift_open_date [04:57:33]req_shift_open_date done [04:57:33]produce_requested_data done [04:57:33]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33327,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [04:57:33]process_action_free close_receipt [04:57:33]json_value_free [04:57:33]json_value_free done [04:57:33]process_json_proto returns [04:57:33]Send response to host [04:57:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33327,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [04:57:33]free response buf [04:57:33]execute_script done [04:57:33]execute_script returns [04:57:33]free content buf [04:57:33]Sock 7.Close socket [04:57:33]Sock 7.Thread stoped [04:57:37]OFD Sender: No OFD packet to send [04:57:42]OFD Sender: No OFD packet to send [04:57:47]OFD Sender: No OFD packet to send [04:57:52]OFD Sender: No OFD packet to send [04:57:57]OFD Sender: No OFD packet to send [04:58:02]OFD Sender: No OFD packet to send [04:58:07]OFD Sender: No OFD packet to send [04:58:12]OFD Sender: No OFD packet to send [04:58:17]OFD Sender: No OFD packet to send [04:58:22]OFD Sender: No OFD packet to send [04:58:27]OFD Sender: No OFD packet to send [04:58:32]OFD Sender: No OFD packet to send [04:58:37]OFD Sender: No OFD packet to send [04:58:42]OFD Sender: No OFD packet to send [04:58:47]OFD Sender: No OFD packet to send [04:58:52]OFD Sender: No OFD packet to send [04:58:57]OFD Sender: No OFD packet to send [04:59:02]OFD Sender: No OFD packet to send [04:59:07]OFD Sender: No OFD packet to send [04:59:12]OFD Sender: No OFD packet to send [04:59:17]OFD Sender: No OFD packet to send [04:59:22]OFD Sender: No OFD packet to send [04:59:27]OFD Sender: No OFD packet to send [04:59:32]OFD Sender: No OFD packet to send [04:59:37]OFD Sender: No OFD packet to send [04:59:42]OFD Sender: No OFD packet to send [04:59:47]OFD Sender: No OFD packet to send [04:59:52]OFD Sender: No OFD packet to send [04:59:57]OFD Sender: No OFD packet to send [05:00:02]OFD Sender: No OFD packet to send [05:00:07]OFD Sender: No OFD packet to send [05:00:12]OFD Sender: No OFD packet to send [05:00:17]OFD Sender: No OFD packet to send [05:00:22]OFD Sender: No OFD packet to send [05:00:27]OFD Sender: No OFD packet to send [05:00:32]OFD Sender: No OFD packet to send [05:00:37]OFD Sender: No OFD packet to send [05:00:42]OFD Sender: No OFD packet to send [05:00:47]OFD Sender: No OFD packet to send [05:00:52]OFD Sender: No OFD packet to send [05:00:57]OFD Sender: No OFD packet to send [05:01:02]OFD Sender: No OFD packet to send [05:01:07]OFD Sender: No OFD packet to send [05:01:12]OFD Sender: No OFD packet to send [05:01:17]OFD Sender: No OFD packet to send [05:01:22]OFD Sender: No OFD packet to send [05:01:27]OFD Sender: No OFD packet to send [05:01:32]OFD Sender: No OFD packet to send [05:01:37]OFD Sender: No OFD packet to send [05:01:42]OFD Sender: No OFD packet to send [05:01:47]OFD Sender: No OFD packet to send [05:01:52]OFD Sender: No OFD packet to send [05:01:57]OFD Sender: No OFD packet to send [05:02:02]OFD Sender: No OFD packet to send [05:02:07]OFD Sender: No OFD packet to send [05:02:12]OFD Sender: No OFD packet to send [05:02:17]OFD Sender: No OFD packet to send [05:02:22]OFD Sender: No OFD packet to send [05:02:27]OFD Sender: No OFD packet to send [05:02:32]OFD Sender: No OFD packet to send [05:02:37]OFD Sender: No OFD packet to send [05:02:42]OFD Sender: No OFD packet to send [05:02:47]OFD Sender: No OFD packet to send [05:02:52]OFD Sender: No OFD packet to send [05:02:57]OFD Sender: No OFD packet to send [05:03:02]OFD Sender: No OFD packet to send [05:03:07]OFD Sender: No OFD packet to send [05:03:12]OFD Sender: No OFD packet to send [05:03:17]OFD Sender: No OFD packet to send [05:03:22]OFD Sender: No OFD packet to send [05:03:27]OFD Sender: No OFD packet to send [05:03:32]OFD Sender: No OFD packet to send [05:03:37]OFD Sender: No OFD packet to send [05:03:42]OFD Sender: No OFD packet to send [05:03:47]OFD Sender: No OFD packet to send [05:03:52]OFD Sender: No OFD packet to send [05:03:57]OFD Sender: No OFD packet to send [05:04:02]OFD Sender: No OFD packet to send [05:04:07]OFD Sender: No OFD packet to send [05:04:12]OFD Sender: No OFD packet to send [05:04:17]OFD Sender: No OFD packet to send [05:04:22]OFD Sender: No OFD packet to send [05:04:27]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:03]OFD Sender: No OFD packet to send [05:14:08]OFD Sender: No OFD packet to send [05:14:13]OFD Sender: No OFD packet to send [05:14:18]OFD Sender: No OFD packet to send [05:14:23]OFD Sender: No OFD packet to send [05:14:28]OFD Sender: No OFD packet to send [05:14:33]OFD Sender: No OFD packet to send [05:14:38]OFD Sender: No OFD packet to send [05:14:43]OFD Sender: No OFD packet to send [05:14:48]OFD Sender: No OFD packet to send [05:14:53]OFD Sender: No OFD packet to send [05:14:58]OFD Sender: No OFD packet to send [05:15:03]OFD Sender: No OFD packet to send [05:15:08]OFD Sender: No OFD packet to send [05:15:13]OFD Sender: No OFD packet to send [05:15:18]OFD Sender: No OFD packet to send [05:15:23]OFD Sender: No OFD packet to send [05:15:28]OFD Sender: No OFD packet to send [05:15:33]OFD Sender: No OFD packet to send [05:15:38]OFD Sender: No OFD packet to send [05:15:43]OFD Sender: No OFD packet to send [05:15:48]OFD Sender: No OFD packet to send [05:15:53]OFD Sender: No OFD packet to send [05:15:58]OFD Sender: No OFD packet to send [05:16:03]OFD Sender: No OFD packet to send [05:16:08]OFD Sender: No OFD packet to send [05:16:13]OFD Sender: No OFD packet to send [05:16:18]OFD Sender: No OFD packet to send [05:16:23]OFD Sender: No OFD packet to send [05:16:28]OFD Sender: No OFD packet to send [05:16:33]OFD Sender: No OFD packet to send [05:16:38]OFD Sender: No OFD packet to send [05:16:43]OFD Sender: No OFD packet to send [05:16:48]OFD Sender: No OFD packet to send [05:16:53]OFD Sender: No OFD packet to send [05:16:58]OFD Sender: No OFD packet to send [05:17:03]OFD Sender: No OFD packet to send [05:17:08]OFD Sender: No OFD packet to send [05:17:13]OFD Sender: No OFD packet to send [05:17:18]OFD Sender: No OFD packet to send [05:17:23]OFD Sender: No OFD packet to send [05:17:28]OFD Sender: No OFD packet to send [05:17:33]OFD Sender: No OFD packet to send [05:17:38]OFD Sender: No OFD packet to send [05:17:43]OFD Sender: No OFD packet to send [05:17:48]OFD Sender: No OFD packet to send [05:17:53]OFD Sender: No OFD packet to send [05:17:58]OFD Sender: No OFD packet to send [05:18:03]OFD Sender: No OFD packet to send [05:18:08]OFD Sender: No OFD packet to send [05:18:13]OFD Sender: No OFD packet to send [05:18:18]OFD Sender: No OFD packet to send [05:18:23]OFD Sender: No OFD packet to send [05:18:28]OFD Sender: No OFD packet to send [05:18:33]OFD Sender: No OFD packet to send [05:18:38]OFD Sender: No OFD packet to send [05:18:43]OFD Sender: No OFD packet to send [05:18:48]OFD Sender: No OFD packet to send [05:18:53]OFD Sender: No OFD packet to send [05:18:58]OFD Sender: No OFD packet to send [05:19:03]OFD Sender: No OFD packet to send [05:19:08]OFD Sender: No OFD packet to send [05:19:13]OFD Sender: No OFD packet to send [05:19:18]OFD Sender: No OFD packet to send [05:19:23]OFD Sender: No OFD packet to send [05:19:28]OFD Sender: No OFD packet to send [05:19:33]OFD Sender: No OFD packet to send [05:19:38]OFD Sender: No OFD packet to send [05:19:43]OFD Sender: No OFD packet to send [05:19:48]OFD Sender: No OFD packet to send [05:19:53]OFD Sender: No OFD packet to send [05:19:58]OFD Sender: No OFD packet to send [05:20:03]OFD Sender: No OFD packet to send [05:20:08]OFD Sender: No OFD packet to send [05:20:13]OFD Sender: No OFD packet to send [05:20:18]OFD Sender: No OFD packet to send [05:20:23]OFD Sender: No OFD packet to send [05:20:28]OFD Sender: No OFD packet to send [05:20:33]OFD Sender: No OFD packet to send [05:20:38]OFD Sender: No OFD packet to send [05:20:43]OFD Sender: No OFD packet to send [05:20:48]OFD Sender: No OFD packet to send [05:20:53]OFD Sender: No OFD packet to send [05:20:58]OFD Sender: No OFD packet to send [05:21:03]OFD Sender: No OFD packet to send [05:21:08]OFD Sender: No OFD packet to send [05:21:13]OFD Sender: No OFD packet to send [05:21:18]OFD Sender: No OFD packet to send [05:21:23]OFD Sender: No OFD packet to send [05:21:28]OFD Sender: No OFD packet to send [05:21:33]OFD Sender: No OFD packet to send [05:21:38]OFD Sender: No OFD packet to send [05:21:43]OFD Sender: No OFD packet to send [05:21:48]OFD Sender: No OFD packet to send [05:21:53]OFD Sender: No OFD packet to send [05:21:58]OFD Sender: No OFD packet to send [05:22:03]OFD Sender: No OFD packet to send [05:22:08]OFD Sender: No OFD packet to send [05:22:13]OFD Sender: No OFD packet to send [05:22:18]OFD Sender: No OFD packet to send [05:22:23]OFD Sender: No OFD packet to send [05:22:28]OFD Sender: No OFD packet to send [05:22:33]OFD Sender: No OFD packet to send [05:22:38]OFD Sender: No OFD packet to send [05:22:43]OFD Sender: No OFD packet to send [05:22:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:58]OFD Sender: No OFD packet to send [05:23:03]OFD Sender: No OFD packet to send [05:23:08]OFD Sender: No OFD packet to send [05:23:13]OFD Sender: No OFD packet to send [05:23:18]OFD Sender: No OFD packet to send [05:23:23]OFD Sender: No OFD packet to send [05:23:28]OFD Sender: No OFD packet to send [05:23:33]OFD Sender: No OFD packet to send [05:23:38]OFD Sender: No OFD packet to send [05:23:43]OFD Sender: No OFD packet to send [05:23:48]OFD Sender: No OFD packet to send [05:23:53]OFD Sender: No OFD packet to send [05:23:58]OFD Sender: No OFD packet to send [05:24:03]OFD Sender: No OFD packet to send [05:24:08]OFD Sender: No OFD packet to send [05:24:13]OFD Sender: No OFD packet to send [05:24:18]OFD Sender: No OFD packet to send [05:24:23]OFD Sender: No OFD packet to send [05:24:28]OFD Sender: No OFD packet to send [05:24:33]OFD Sender: No OFD packet to send [05:24:38]OFD Sender: No OFD packet to send [05:24:43]OFD Sender: No OFD packet to send [05:24:48]OFD Sender: No OFD packet to send [05:24:53]OFD Sender: No OFD packet to send [05:24:58]OFD Sender: No OFD packet to send [05:25:03]OFD Sender: No OFD packet to send [05:25:08]OFD Sender: No OFD packet to send [05:25:13]OFD Sender: No OFD packet to send [05:25:18]OFD Sender: No OFD packet to send [05:25:23]OFD Sender: No OFD packet to send [05:25:28]OFD Sender: No OFD packet to send [05:25:33]OFD Sender: No OFD packet to send [05:25:38]OFD Sender: No OFD packet to send [05:25:43]OFD Sender: No OFD packet to send [05:25:48]OFD Sender: No OFD packet to send [05:25:53]OFD Sender: No OFD packet to send [05:25:58]OFD Sender: No OFD packet to send [05:26:03]OFD Sender: No OFD packet to send [05:26:08]OFD Sender: No OFD packet to send [05:26:13]OFD Sender: No OFD packet to send [05:26:18]OFD Sender: No OFD packet to send [05:26:23]OFD Sender: No OFD packet to send [05:26:28]OFD Sender: No OFD packet to send [05:26:33]OFD Sender: No OFD packet to send [05:26:38]OFD Sender: No OFD packet to send [05:26:43]OFD Sender: No OFD packet to send [05:26:48]OFD Sender: No OFD packet to send [05:26:53]OFD Sender: No OFD packet to send [05:26:58]OFD Sender: No OFD packet to send [05:27:03]OFD Sender: No OFD packet to send [05:27:08]OFD Sender: No OFD packet to send [05:27:13]OFD Sender: No OFD packet to send [05:27:18]OFD Sender: No OFD packet to send [05:27:23]OFD Sender: No OFD packet to send [05:27:28]OFD Sender: No OFD packet to send [05:27:33]OFD Sender: No OFD packet to send [05:27:38]OFD Sender: No OFD packet to send [05:27:43]OFD Sender: No OFD packet to send [05:27:48]OFD Sender: No OFD packet to send [05:27:53]OFD Sender: No OFD packet to send [05:27:58]OFD Sender: No OFD packet to send [05:28:03]OFD Sender: No OFD packet to send [05:28:08]OFD Sender: No OFD packet to send [05:28:13]OFD Sender: No OFD packet to send [05:28:18]OFD Sender: No OFD packet to send [05:28:23]OFD Sender: No OFD packet to send [05:28:28]OFD Sender: No OFD packet to send [05:28:33]OFD Sender: No OFD packet to send [05:28:38]OFD Sender: No OFD packet to send [05:28:43]OFD Sender: No OFD packet to send [05:28:48]OFD Sender: No OFD packet to send [05:28:53]OFD Sender: No OFD packet to send [05:28:58]OFD Sender: No OFD packet to send [05:29:03]OFD Sender: No OFD packet to send [05:29:08]OFD Sender: No OFD packet to send [05:29:13]OFD Sender: No OFD packet to send [05:29:18]OFD Sender: No OFD packet to send [05:29:23]OFD Sender: No OFD packet to send [05:29:28]OFD Sender: No OFD packet to send [05:29:33]OFD Sender: No OFD packet to send [05:29:38]OFD Sender: No OFD packet to send [05:29:43]OFD Sender: No OFD packet to send [05:29:48]OFD Sender: No OFD packet to send [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:44]OFD Sender: No OFD packet to send [05:35:49]OFD Sender: No OFD packet to send [05:35:54]OFD Sender: No OFD packet to send [05:35:59]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]OFD Sender: No OFD packet to send [05:38:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:19]OFD Sender: No OFD packet to send [05:39:24]OFD Sender: No OFD packet to send [05:39:29]OFD Sender: No OFD packet to send [05:39:34]OFD Sender: No OFD packet to send [05:39:39]OFD Sender: No OFD packet to send [05:39:44]OFD Sender: No OFD packet to send [05:39:49]OFD Sender: No OFD packet to send [05:39:54]OFD Sender: No OFD packet to send [05:39:59]OFD Sender: No OFD packet to send [05:40:04]OFD Sender: No OFD packet to send [05:40:09]OFD Sender: No OFD packet to send [05:40:14]OFD Sender: No OFD packet to send [05:40:19]OFD Sender: No OFD packet to send [05:40:24]OFD Sender: No OFD packet to send [05:40:29]OFD Sender: No OFD packet to send [05:40:34]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:09]OFD Sender: No OFD packet to send [05:41:14]OFD Sender: No OFD packet to send [05:41:19]OFD Sender: No OFD packet to send [05:41:24]OFD Sender: No OFD packet to send [05:41:29]OFD Sender: No OFD packet to send [05:41:34]OFD Sender: No OFD packet to send [05:41:39]OFD Sender: No OFD packet to send [05:41:44]OFD Sender: No OFD packet to send [05:41:49]OFD Sender: No OFD packet to send [05:41:54]OFD Sender: No OFD packet to send [05:41:59]OFD Sender: No OFD packet to send [05:42:04]OFD Sender: No OFD packet to send [05:42:09]OFD Sender: No OFD packet to send [05:42:14]OFD Sender: No OFD packet to send [05:42:19]OFD Sender: No OFD packet to send [05:42:24]OFD Sender: No OFD packet to send [05:42:29]OFD Sender: No OFD packet to send [05:42:34]OFD Sender: No OFD packet to send [05:42:39]OFD Sender: No OFD packet to send [05:42:44]OFD Sender: No OFD packet to send [05:42:49]OFD Sender: No OFD packet to send [05:42:54]OFD Sender: No OFD packet to send [05:42:59]OFD Sender: No OFD packet to send [05:43:04]OFD Sender: No OFD packet to send [05:43:09]OFD Sender: No OFD packet to send [05:43:14]OFD Sender: No OFD packet to send [05:43:19]OFD Sender: No OFD packet to send [05:43:24]OFD Sender: No OFD packet to send [05:43:29]OFD Sender: No OFD packet to send [05:43:34]OFD Sender: No OFD packet to send [05:43:39]OFD Sender: No OFD packet to send [05:43:44]OFD Sender: No OFD packet to send [05:43:49]OFD Sender: No OFD packet to send [05:43:54]OFD Sender: No OFD packet to send [05:43:59]OFD Sender: No OFD packet to send [05:44:04]OFD Sender: No OFD packet to send [05:44:09]OFD Sender: No OFD packet to send [05:44:14]OFD Sender: No OFD packet to send [05:44:19]OFD Sender: No OFD packet to send [05:44:24]OFD Sender: No OFD packet to send [05:44:29]OFD Sender: No OFD packet to send [05:44:34]OFD Sender: No OFD packet to send [05:44:39]OFD Sender: No OFD packet to send [05:44:44]OFD Sender: No OFD packet to send [05:44:49]OFD Sender: No OFD packet to send [05:44:54]OFD Sender: No OFD packet to send [05:44:59]OFD Sender: No OFD packet to send [05:45:04]OFD Sender: No OFD packet to send [05:45:09]OFD Sender: No OFD packet to send [05:45:14]OFD Sender: No OFD packet to send [05:45:19]OFD Sender: No OFD packet to send [05:45:24]OFD Sender: No OFD packet to send [05:45:29]OFD Sender: No OFD packet to send [05:45:34]OFD Sender: No OFD packet to send [05:45:39]OFD Sender: No OFD packet to send [05:45:44]OFD Sender: No OFD packet to send [05:45:49]OFD Sender: No OFD packet to send [05:45:54]OFD Sender: No OFD packet to send [05:45:59]OFD Sender: No OFD packet to send [05:46:04]OFD Sender: No OFD packet to send [05:46:09]OFD Sender: No OFD packet to send [05:46:14]OFD Sender: No OFD packet to send [05:46:19]OFD Sender: No OFD packet to send [05:46:24]OFD Sender: No OFD packet to send [05:46:29]OFD Sender: No OFD packet to send [05:46:34]OFD Sender: No OFD packet to send [05:46:39]OFD Sender: No OFD packet to send [05:46:44]OFD Sender: No OFD packet to send [05:46:49]OFD Sender: No OFD packet to send [05:46:54]OFD Sender: No OFD packet to send [05:46:59]OFD Sender: No OFD packet to send [05:47:04]OFD Sender: No OFD packet to send [05:47:09]OFD Sender: No OFD packet to send [05:47:14]OFD Sender: No OFD packet to send [05:47:19]OFD Sender: No OFD packet to send [05:47:24]OFD Sender: No OFD packet to send [05:47:29]OFD Sender: No OFD packet to send [05:47:34]OFD Sender: No OFD packet to send [05:47:39]OFD Sender: No OFD packet to send [05:47:44]OFD Sender: No OFD packet to send [05:47:49]OFD Sender: No OFD packet to send [05:47:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:10]OFD Sender: No OFD packet to send [05:57:15]OFD Sender: No OFD packet to send [05:57:20]OFD Sender: No OFD packet to send [05:57:25]OFD Sender: No OFD packet to send [05:57:30]OFD Sender: No OFD packet to send [05:57:35]OFD Sender: No OFD packet to send [05:57:40]OFD Sender: No OFD packet to send [05:57:45]OFD Sender: No OFD packet to send [05:57:50]OFD Sender: No OFD packet to send [05:57:55]OFD Sender: No OFD packet to send [05:58:00]OFD Sender: No OFD packet to send [05:58:05]OFD Sender: No OFD packet to send [05:58:10]OFD Sender: No OFD packet to send [05:58:15]OFD Sender: No OFD packet to send [05:58:20]OFD Sender: No OFD packet to send [05:58:25]OFD Sender: No OFD packet to send [05:58:30]OFD Sender: No OFD packet to send [05:58:35]OFD Sender: No OFD packet to send [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59:20]OFD Sender: No OFD packet to send [05:59:25]OFD Sender: No OFD packet to send [05:59:30]OFD Sender: No OFD packet to send [05:59:35]OFD Sender: No OFD packet to send [05:59:40]OFD Sender: No OFD packet to send [05:59:45]OFD Sender: No OFD packet to send [05:59:50]OFD Sender: No OFD packet to send [05:59:55]OFD Sender: No OFD packet to send [06:00:00]OFD Sender: No OFD packet to send [06:00:05]OFD Sender: No OFD packet to send [06:00:10]OFD Sender: No OFD packet to send [06:00:15]OFD Sender: No OFD packet to send [06:00:20]OFD Sender: No OFD packet to send [06:00:25]OFD Sender: No OFD packet to send [06:00:30]OFD Sender: No OFD packet to send [06:00:35]OFD Sender: No OFD packet to send [06:00:40]OFD Sender: No OFD packet to send [06:00:45]OFD Sender: No OFD packet to send [06:00:50]OFD Sender: No OFD packet to send [06:00:55]OFD Sender: No OFD packet to send [06:01:00]OFD Sender: No OFD packet to send [06:01:05]OFD Sender: No OFD packet to send [06:01:10]OFD Sender: No OFD packet to send [06:01:15]OFD Sender: No OFD packet to send [06:01:20]OFD Sender: No OFD packet to send [06:01:25]OFD Sender: No OFD packet to send [06:01:30]OFD Sender: No OFD packet to send [06:01:35]OFD Sender: No OFD packet to send [06:01:40]OFD Sender: No OFD packet to send [06:01:45]OFD Sender: No OFD packet to send [06:01:50]OFD Sender: No OFD packet to send [06:01:55]OFD Sender: No OFD packet to send [06:02:00]OFD Sender: No OFD packet to send [06:02:05]OFD Sender: No OFD packet to send [06:02:10]OFD Sender: No OFD packet to send [06:02:15]OFD Sender: No OFD packet to send [06:02:20]OFD Sender: No OFD packet to send [06:02:25]OFD Sender: No OFD packet to send [06:02:30]OFD Sender: No OFD packet to send [06:02:35]OFD Sender: No OFD packet to send [06:02:40]OFD Sender: No OFD packet to send [06:02:45]OFD Sender: No OFD packet to send [06:02:50]OFD Sender: No OFD packet to send [06:02:55]OFD Sender: No OFD packet to send [06:03:00]OFD Sender: No OFD packet to send [06:03:05]OFD Sender: No OFD packet to send [06:03:10]OFD Sender: No OFD packet to send [06:03:15]OFD Sender: No OFD packet to send [06:03:20]OFD Sender: No OFD packet to send [06:03:25]OFD Sender: No OFD packet to send [06:03:30]OFD Sender: No OFD packet to send [06:03:35]OFD Sender: No OFD packet to send [06:03:40]OFD Sender: No OFD packet to send [06:03:45]OFD Sender: No OFD packet to send [06:03:50]OFD Sender: No OFD packet to send [06:03:55]OFD Sender: No OFD packet to send [06:04:00]OFD Sender: No OFD packet to send [06:04:05]OFD Sender: No OFD packet to send [06:04:10]OFD Sender: No OFD packet to send [06:04:15]OFD Sender: No OFD packet to send [06:04:20]OFD Sender: No OFD packet to send [06:04:25]OFD Sender: No OFD packet to send [06:04:30]OFD Sender: No OFD packet to send [06:04:35]OFD Sender: No OFD packet to send [06:04:40]OFD Sender: No OFD packet to send [06:04:45]OFD Sender: No OFD packet to send [06:04:50]OFD Sender: No OFD packet to send [06:04:55]OFD Sender: No OFD packet to send [06:05:00]OFD Sender: No OFD packet to send [06:05:05]OFD Sender: No OFD packet to send [06:05:10]OFD Sender: No OFD packet to send [06:05:15]OFD Sender: No OFD packet to send [06:05:20]OFD Sender: No OFD packet to send [06:05:25]OFD Sender: No OFD packet to send [06:05:30]OFD Sender: No OFD packet to send [06:05:35]OFD Sender: No OFD packet to send [06:05:40]OFD Sender: No OFD packet to send [06:05:45]OFD Sender: No OFD packet to send [06:05:50]OFD Sender: No OFD packet to send [06:05:55]OFD Sender: No OFD packet to send [06:06:00]OFD Sender: No OFD packet to send [06:06:05]OFD Sender: No OFD packet to send [06:06:10]OFD Sender: No OFD packet to send [06:06:15]OFD Sender: No OFD packet to send [06:06:20]OFD Sender: No OFD packet to send [06:06:25]OFD Sender: No OFD packet to send [06:06:30]OFD Sender: No OFD packet to send [06:06:35]OFD Sender: No OFD packet to send [06:06:40]OFD Sender: No OFD packet to send [06:06:45]OFD Sender: No OFD packet to send [06:06:50]OFD Sender: No OFD packet to send [06:06:55]OFD Sender: No OFD packet to send [06:07:00]OFD Sender: No OFD packet to send [06:07:05]OFD Sender: No OFD packet to send [06:07:10]OFD Sender: No OFD packet to send [06:07:15]OFD Sender: No OFD packet to send [06:07:20]OFD Sender: No OFD packet to send [06:07:25]OFD Sender: No OFD packet to send [06:07:30]OFD Sender: No OFD packet to send [06:07:35]OFD Sender: No OFD packet to send [06:07:40]OFD Sender: No OFD packet to send [06:07:45]OFD Sender: No OFD packet to send [06:07:50]OFD Sender: No OFD packet to send [06:07:55]OFD Sender: No OFD packet to send [06:08:00]OFD Sender: No OFD packet to send [06:08:05]OFD Sender: No OFD packet to send [06:08:10]OFD Sender: No OFD packet to send [06:08:15]OFD Sender: No OFD packet to send [06:08:20]OFD Sender: No OFD packet to send [06:08:25]OFD Sender: No OFD packet to send [06:08:30]OFD Sender: No OFD packet to send [06:08:35]OFD Sender: No OFD packet to send [06:08:40]OFD Sender: No OFD packet to send [06:08:45]OFD Sender: No OFD packet to send [06:08:50]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:15]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:41]OFD Sender: No OFD packet to send [06:18:46]OFD Sender: No OFD packet to send [06:18:51]OFD Sender: No OFD packet to send [06:18:56]OFD Sender: No OFD packet to send [06:19:01]OFD Sender: No OFD packet to send [06:19:06]OFD Sender: No OFD packet to send [06:19:11]OFD Sender: No OFD packet to send [06:19:16]OFD Sender: No OFD packet to send [06:19:21]OFD Sender: No OFD packet to send [06:19:26]OFD Sender: No OFD packet to send [06:19:31]OFD Sender: No OFD packet to send [06:19:36]OFD Sender: No OFD packet to send [06:19:41]OFD Sender: No OFD packet to send [06:19:46]OFD Sender: No OFD packet to send [06:19:51]OFD Sender: No OFD packet to send [06:19:56]OFD Sender: No OFD packet to send [06:20:01]OFD Sender: No OFD packet to send [06:20:06]OFD Sender: No OFD packet to send [06:20:11]OFD Sender: No OFD packet to send [06:20:16]OFD Sender: No OFD packet to send [06:20:21]OFD Sender: No OFD packet to send [06:20:26]OFD Sender: No OFD packet to send [06:20:31]OFD Sender: No OFD packet to send [06:20:36]OFD Sender: No OFD packet to send [06:20:41]OFD Sender: No OFD packet to send [06:20:46]OFD Sender: No OFD packet to send [06:20:50]accept exits with 9 [06:20:50]New connection [06:20:50]New thread 3066793316 created [06:20:50]Thread 3066936676 joined [06:20:50]Waiting for new connection... [06:20:50] Sock 9.Parse request [06:20:50]Sock 9.Check first char [06:20:50]Sock 9.First char is OK [06:20:50]request: POST /json_proto HTTP/1.0 [06:20:50]Method: POST [06:20:50]URL: /json_proto [06:20:50]Method is POST - this is cgi request [06:20:50]url: /json_proto [06:20:50]query_string will be loaded in cgi processing [06:20:50]execute_cgi json_proto POST (null) [06:20:50]execute_cgi path=json_proto method=POST [06:20:50]POST find Content-Length [06:20:50]Host: 172.17.35.196:8080 [06:20:50]Content-Length: 1210 [06:20:50]Content-Type: application/json [06:20:50] [06:20:50]POST finish read [06:20:50]Found Content-Length = 1210 [06:20:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169148", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 3.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\u043B", "price" : 100.00, "quantity" : 3.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160198", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.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" ] } } [06:20:50]execute_script... [06:20:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169148", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 3.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\u043B", "price" : 100.00, "quantity" : 3.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160198", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.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" ] } } [06:20:50]POST & json_proto [06:20:50]process_json_proto [06:20:50]json parsed OK: [06:20:50]protocol is kg_v1.0 [06:20:50]action value=close_receipt [06:20:50]process_action close_receipt [06:20:50]cmd_close_receipt [06:20:50]MH_GetDate [06:20:50]Write to MH i2c: F0 00 00 64 12 65 [06:20:50]Write i2c OK [06:20:50]MH_I2C_Read... [06:20:50]Read from MH i2c: F0 [06:20:50]MH_I2C_Read... [06:20:50]Read from MH i2c: F0 09 00 [06:20:50]MH_I2C_Read... [06:20:50]Read from MH i2c: F0 09 00 64 12 00 46 CB 90 66 AD 14 F4 65 8F [06:20:50]GetLastDocTimeStamp 1720760253 [06:20:50]current date 1720765254 [06:20:50]FM_GetShiftState [06:20:50]SAM_PROTO_GetShiftState [06:20:50]wFMCommunicate request_size=4 [06:20:50]MH_SAM_APDU [06:20:50]CAPDU: 80 13 01 00 [06:20:50]Write to MH i2c: E2 08 00 65 12 80 13 01 00 00 00 00 00 F4 [06:20:50]Write i2c OK [06:20:50]MH_I2C_Read... [06:20:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:20:50]Read from MH i2c: E2 [06:20:50]MH_I2C_Read... [06:20:50]Read from MH i2c: E2 0E 00 [06:20:50]MH_I2C_Read... [06:20:50]Read from MH i2c: E2 0E 00 65 12 00 09 00 01 17 74 90 66 00 00 00 00 90 00 81 [06:20:50]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [06:20:50]wFMCommunicate OK [06:20:50]SAM_PROTO_GetShiftState done [06:20:50]FM_GetShiftState done [06:20:50]opened in 1720742935 [06:20:50]opened+sec_in_day 1720829335 [06:20:50]quantity*price = 12000 [06:20:50]sum+1 = 12001 [06:20:50]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860019001810 Вода Боржоми минеральная ж/б 0,33л 3.000 * 100.00 = 300.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160198 Вода Байтик 0,5л 2.000 * 40.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 6 12.07.2024 06:20 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33328 ФПД: 133063248619448 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T062054&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33328&fm=133063248619448&tin=02508201610067®Number=0000000000093033&sum=50000 0 [06:20:51]StoreToDocumentArchive [06:20:51]shift 433 fd 33328 [06:20:51]save to /storage/0433/doc_00033328 [06:20:51]save last doc name /storage/0433/doc_00033328 to /storage/kkm_last_doc_name [06:20:51]save OK [06:20:51]Clear old archive folders... [06:20:51]ProcessDocumentItem done err = 0, tmpTLVsize=501 [06:20:51]tlvbuf is 01CA0850 [06:20:51]SAM_PROTO_ClearQueue [06:20:51]wFMCommunicate request_size=4 [06:20:51]MH_SAM_APDU [06:20:51]CAPDU: 80 09 00 00 [06:20:51]Write to MH i2c: E2 08 00 72 12 80 09 00 00 00 00 00 00 F6 [06:20:51]Write i2c OK [06:20:51]MH_I2C_Read... [06:20:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:20:51]Read from MH i2c: E2 [06:20:51]MH_I2C_Read... [06:20:51]Read from MH i2c: E2 03 00 [06:20:51]MH_I2C_Read... [06:20:51]Read from MH i2c: E2 03 00 72 12 00 90 00 F8 [06:20:51]RAPDU: 90 00 [06:20:51]wFMCommunicate OK [06:20:51]SAM_PROTO_ClearQueue done [06:20:51]KKMCreateOFDPacket [06:20:51]OFDProtocolAddRootSTLVToBuf [06:20:51]FM_MakeSignedData [06:20:51]FM_MakeSignedData [06:20:51]SAM_PROTO_SignData [06:20:51]wFMCommunicate request_size=4 [06:20:51]MH_SAM_APDU [06:20:51]CAPDU: 80 0D 01 02 [06:20:51]Write to MH i2c: E2 08 00 73 12 80 0D 01 02 00 00 00 00 FE [06:20:51]Write i2c OK [06:20:51]MH_I2C_Read... [06:20:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:20:51]Read from MH i2c: E2 [06:20:51]MH_I2C_Read... [06:20:51]Read from MH i2c: E2 03 00 [06:20:51]MH_I2C_Read... [06:20:51]Read from MH i2c: E2 03 00 73 12 00 90 00 F9 [06:20:51]RAPDU: 90 00 [06:20:51]wFMCommunicate OK [06:20:51]wFMCommunicate request_size=255 [06:20:51]MH_SAM_APDU [06:20:51]CAPDU: 80 0D 02 02 FA 03 00 F5 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 30 75 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 [06:20:52]Write to MH i2c: E2 02 01 74 12 80 0D 02 02 FA 00 03 00 F5 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 30 75 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 00 00 34 [06:20:52]Write i2c OK [06:20:52]MH_I2C_Read... [06:20:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:20:52]Read from MH i2c: E2 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 03 00 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 03 00 74 12 00 90 00 FA [06:20:52]RAPDU: 90 00 [06:20:52]wFMCommunicate OK [06:20:52]wFMCommunicate request_size=255 [06:20:52]MH_SAM_APDU [06:20:52]CAPDU: 80 0D 02 02 FA 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 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 06 00 00 00 F4 03 04 00 46 CB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 30 82 00 00 35 04 06 00 79 [06:20:52]Write to MH i2c: E2 02 01 75 12 80 0D 02 02 FA 00 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 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 06 00 00 00 F4 03 04 00 46 CB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 30 82 00 00 35 04 06 00 79 00 00 6F [06:20:52]Write i2c OK [06:20:52]MH_I2C_Read... [06:20:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:20:52]Read from MH i2c: E2 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 03 00 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 03 00 75 12 00 90 00 FB [06:20:52]RAPDU: 90 00 [06:20:52]wFMCommunicate OK [06:20:52]wFMCommunicate request_size=10 [06:20:52]MH_SAM_APDU [06:20:52]CAPDU: 80 0D 02 02 05 05 33 AA A7 B8 [06:20:52]Write to MH i2c: E2 0D 00 76 12 80 0D 02 02 05 00 05 33 AA A7 B8 00 00 4D [06:20:52]Write i2c OK [06:20:52]MH_I2C_Read... [06:20:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:20:52]Read from MH i2c: E2 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 03 00 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 03 00 76 12 00 90 00 FC [06:20:52]RAPDU: 90 00 [06:20:52]wFMCommunicate OK [06:20:52]wFMCommunicate request_size=4 [06:20:52]MH_SAM_APDU [06:20:52]CAPDU: 80 0D 03 02 [06:20:52]Write to MH i2c: E2 08 00 77 12 80 0D 03 02 00 00 00 00 04 [06:20:52]Write i2c OK [06:20:52]MH_I2C_Read... [06:20:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:20:52]Read from MH i2c: E2 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 0B 00 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 0B 00 77 12 00 EF 4F 56 8C 8B 3A C6 C7 90 00 77 [06:20:52]RAPDU: EF 4F 56 8C 8B 3A C6 C7 90 00 [06:20:52]wFMCommunicate OK [06:20:52]SAM_PROTO_SignData done [06:20:52]FM_MakeSignedData done [06:20:52]CreateOFDProtocolMessage [06:20:52]wFMCommunicate request_size=4 [06:20:52]MH_SAM_APDU [06:20:52]CAPDU: 80 11 00 00 [06:20:52]Write to MH i2c: E2 08 00 78 12 80 11 00 00 00 00 00 00 04 [06:20:52]Write i2c OK [06:20:52]MH_I2C_Read... [06:20:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:20:52]Read from MH i2c: E2 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 17 00 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: E2 17 00 78 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 50 [06:20:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [06:20:52]wFMCommunicate OK [06:20:52]CreateOFDProtocolMessage done [06:20:52]OFDSenderStorePacket 33328 [06:20:52]StoreOFDPacket docnum=33328 [06:20:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 09 02 00 00 6D 15 01 02 A7 9D 5A 03 01 00 03 00 F5 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 30 75 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 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 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 06 00 00 00 F4 03 04 00 46 CB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 30 82 00 00 35 04 06 00 79 05 33 AA A7 B8 EF 4F 56 8C 8B 3A C6 C7 [06:20:52]CheckFolder [06:20:52]dirname=/storage/ofd_packets [06:20:52]CheckFolder done [06:20:52]ProducePacketName [06:20:52]name=ofd_packets/00033328 [06:20:52]NVStorageSaveData ofd_packets/00033328 [06:20:52]File name is /storage/ofd_packets/00033328 [06:20:52]Write 551 bytes [06:20:52]NVStorageSaveData done [06:20:52]OFDSenderStorePacket done [06:20:52]KKMCreateOFDPacket done [06:20:52]NVStorageSaveData kkm_last_timestamp [06:20:52]File name is /storage/kkm_last_timestamp [06:20:52]Write 4 bytes [06:20:52]NVStorageSaveData done [06:20:52]ExternCall_PrintAddStr [06:20:52]wPrintStart [06:20:52]Write to MH i2c: 01 00 00 79 12 8B [06:20:52]Write i2c OK [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: 01 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: 01 07 00 [06:20:52]MH_I2C_Read... [06:20:52]Read from MH i2c: 01 07 00 79 12 00 00 00 00 00 FF 0F A0 [06:20:52]RasterBufferAndPrint [06:20:52]line Счет N : (3)169148 [06:20:52]line ИНН: 02508201610067 [06:20:52]line Контрольно-Кассовый Чек [06:20:52]line ПРОДАЖА [06:20:52]line Товар: 4700000160211 [06:20:52]line Вода Легенда 0,5л [06:20:52]line 3.000 * 40.00 [06:20:52]line = 120.00 [06:20:52]line НДС 12% НСП 1% [06:20:52]line > о реализуемом товаре [06:20:52]line Товар: 4860019001810 [06:20:52]line Вода Боржоми минеральная ж/б 0,33л [06:20:52]line 3.000 * 100.00 [06:20:52]line = 300.00 [06:20:52]line НДС 12% НСП 1% [06:20:52]line > о реализуемом товаре [06:20:52]line Товар: 4700000160198 [06:20:52]line Вода Байтик 0,5л [06:20:52]line 2.000 * 40.00 [06:20:52]line = 80.00 [06:20:52]line НДС 12% НСП 1% [06:20:52]line > о реализуемом товаре [06:20:52]line ИТОГО: 500.00 [06:20:52]line НСП 1% : 4.42 [06:20:52]line НДС 12% : 53.10 [06:20:52]line Наличными: 500.00 [06:20:52]line Безнал.: 0.00 [06:20:52]line Место: АЗС № 77 "Партнер Нефть" [06:20:52]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [06:20:52]line СНО: Общий режим [06:20:52]line Чек 6 12.07.2024 06:20 [06:20:52]line Смена: 433 ФФД: 1.0 [06:20:52]line ЗНМ: 0300000122 [06:20:52]line РНМ: 0000000000093033 [06:20:52]line Версия ККМ: 001 [06:20:52]line ФМ: 0000000000875104 [06:20:52]line ФД: 33328 [06:20:52]line ФПД: 133063248619448 [06:20:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T062054&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33328&fm=133063248619448&tin=02508201610067®Number=0000000000093033&sum=50000 [06:20:52]line 0 [06:20:52]written 0, free lines is 4095 [06:20:52]OFD Sender: Processing packet 33328 [packets to send 6, broken 5] [06:20:52]ProducePacketName [06:20:52]name=ofd_packets/00033328 [06:20:52]OFD Sender: To server: pG, [06:20:52]CommunicateWithHost lk.salyk.kg:30040 [06:20:52]ConnectInit lk.salyk.kg [06:20:53]Connected sock=10 [06:20:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 09 02 00 00 6D 15 01 02 A7 9D 5A 03 01 00 03 00 F5 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 30 75 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 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 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 06 00 00 00 F4 03 04 00 46 CB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 30 82 00 00 35 04 06 00 79 05 33 AA A7 B8 EF 4F 56 8C 8B 3A C6 C7 [06:20:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 3E 8A 47 00 F2 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 30 82 00 00 F4 03 04 00 F4 75 90 66 B6 04 01 00 00 49 12 FF F9 08 8E 26 56 [06:20:53]CommunicateWithHost err = 0 [06:20:53]CheckOFDResponse [06:20:53]1017 (14) - 77093643461234 [06:20:53]1041 (16) - 0000000000875104 [06:20:53]1040 (4) - 33328 [06:20:53]1012 (4) - 12.07.2024 00:16 [06:20:53]1206 (1) - 0 [06:20:53]OFD Sender: Remove packet 33328 [06:20:53]ProducePacketName [06:20:53]name=ofd_packets/00033328 [06:20:53]NVStorageDeleteData [06:20:53]Write to MH i2c: 01 00 00 AE 12 C0 [06:20:53]Write i2c OK [06:20:53]MH_I2C_Read... [06:20:53]Read from MH i2c: 01 [06:20:53]MH_I2C_Read... [06:20:53]Read from MH i2c: 01 07 00 [06:20:53]MH_I2C_Read... [06:20:53]Read from MH i2c: 01 07 00 AE 12 00 00 00 00 00 2B 0C FE [06:20:53]RasterBufferAndPrint [06:20:53]line [06:20:53]line [06:20:53]line [06:20:53]line [06:20:53]line [06:20:53]written 0, free lines is 3122 [06:20:53]MH_Cut [06:20:53]Write to MH i2c: D1 01 00 B5 12 01 99 [06:20:53]Write i2c OK [06:20:53]MH_I2C_Read... [06:20:53]Read from MH i2c: D1 [06:20:53]MH_I2C_Read... [06:20:53]Read from MH i2c: D1 01 00 [06:20:53]MH_I2C_Read... [06:20:53]Read from MH i2c: D1 01 00 B5 12 00 98 [06:20:53]Write to MH i2c: 01 00 00 B6 12 C8 [06:20:53]Write i2c OK [06:20:53]MH_I2C_Read... [06:20:53]OFD Sender: No OFD packet to send [06:20:54]*** Cut start [06:20:54]*** Partial cut [06:20:54]*** CUTSNS_PIN = 1 [06:20:54]*** CUTSNS_PIN = 0 [06:20:54]*** Brake cut motor [06:20:54]Read from MH i2c: 01 [06:20:54]MH_I2C_Read... [06:20:54]*** Stop cut motor [06:20:54]*** Cut end [06:20:54]Read from MH i2c: 01 07 00 [06:20:54]MH_I2C_Read... [06:20:54]Read from MH i2c: 01 07 00 B6 12 00 00 00 00 00 FF 0F DD [06:20:54]process_action close_receipt done [06:20:54]requested_data is exist [06:20:54]produce_requested_data [06:20:54]requested_item fm.sn is exist - process it [06:20:54]wFMCommunicate request_size=4 [06:20:54]MH_SAM_APDU [06:20:54]CAPDU: 80 11 00 00 [06:20:54]Write to MH i2c: E2 08 00 B7 12 80 11 00 00 00 00 00 00 43 [06:20:54]Write i2c OK [06:20:54]MH_I2C_Read... [06:20:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:20:54]Read from MH i2c: E2 [06:20:54]MH_I2C_Read... [06:20:54]Read from MH i2c: E2 17 00 [06:20:54]MH_I2C_Read... [06:20:54]Read from MH i2c: E2 17 00 B7 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8F [06:20:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [06:20:54]wFMCommunicate OK [06:20:54]requested_item fd.num is exist - process it [06:20:54]SAM_PROTO_GetFieldsCounters [06:20:54]wFMCommunicate request_size=4 [06:20:54]MH_SAM_APDU [06:20:54]CAPDU: 80 13 00 00 [06:20:54]Write to MH i2c: E2 08 00 B8 12 80 13 00 00 00 00 00 00 46 [06:20:55]Write i2c OK [06:20:55]MH_I2C_Read... [06:20:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:20:55]Read from MH i2c: E2 [06:20:55]MH_I2C_Read... [06:20:55]Read from MH i2c: E2 62 00 [06:20:55]MH_I2C_Read... [06:20:55]Read from MH i2c: E2 62 00 B8 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 30 82 00 00 0E 04 04 00 B1 01 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 CF [06:20:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 30 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:20:55]wFMCommunicate OK [06:20:55]SAM_PROTO_GetFieldsCounters done [06:20:55]requested_item shift.num is exist - process it [06:20:55]requested_item shift.opened is exist - process it [06:20:55]req_shift_opened [06:20:55]FM_GetShiftState [06:20:55]SAM_PROTO_GetShiftState [06:20:55]wFMCommunicate request_size=4 [06:20:55]MH_SAM_APDU [06:20:55]CAPDU: 80 13 01 00 [06:20:55]Write to MH i2c: E2 08 00 B9 12 80 13 01 00 00 00 00 00 48 [06:20:55]Write i2c OK [06:20:55]MH_I2C_Read... [06:20:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:20:55]Read from MH i2c: E2 [06:20:55]MH_I2C_Read... [06:20:55]Read from MH i2c: E2 0E 00 [06:20:55]MH_I2C_Read... [06:20:55]Read from MH i2c: E2 0E 00 B9 12 00 09 00 01 17 74 90 66 00 00 00 00 90 00 D5 [06:20:55]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [06:20:55]wFMCommunicate OK [06:20:55]SAM_PROTO_GetShiftState done [06:20:55]FM_GetShiftState done [06:20:55]req_shift_opened done [06:20:55]requested_item shift.open_date is exist - process it [06:20:55]req_shift_open_date [06:20:55]req_shift_open_date done [06:20:55]produce_requested_data done [06:20:55]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33328,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [06:20:55]process_action_free close_receipt [06:20:55]json_value_free [06:20:55]json_value_free done [06:20:55]process_json_proto returns [06:20:55]Send response to host [06:20:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33328,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [06:20:55]free response buf [06:20:55]execute_script done [06:20:55]execute_script returns [06:20:55]free content buf [06:20:55]Sock 9.Close socket [06:20:55]Sock 9.Thread stoped [06:20:58]OFD Sender: No OFD packet to send [06:21:03]OFD Sender: No OFD packet to send [06:21:08]OFD Sender: No OFD packet to send [06:21:13]OFD Sender: No OFD packet to send [06:21:18]OFD Sender: No OFD packet to send [06:21:23]OFD Sender: No OFD packet to send [06:21:28]OFD Sender: No OFD packet to send [06:21:33]OFD Sender: No OFD packet to send [06:21:38]OFD Sender: No OFD packet to send [06:21:43]OFD Sender: No OFD packet to send [06:21:48]OFD Sender: No OFD packet to send [06:21:53]OFD Sender: No OFD packet to send [06:21:58]OFD Sender: No OFD packet to send [06:22:03]OFD Sender: No OFD packet to send [06:22:08]OFD Sender: No OFD packet to send [06:22:13]OFD Sender: No OFD packet to send [06:22:18]OFD Sender: No OFD packet to send [06:22:23]OFD Sender: No OFD packet to send [06:22:28]OFD Sender: No OFD packet to send [06:22:33]OFD Sender: No OFD packet to send [06:22:38]OFD Sender: No OFD packet to send [06:22:43]OFD Sender: No OFD packet to send [06:22:48]OFD Sender: No OFD packet to send [06:22:53]OFD Sender: No OFD packet to send [06:22:58]OFD Sender: No OFD packet to send [06:23:03]OFD Sender: No OFD packet to send [06:23:08]OFD Sender: No OFD packet to send [06:23:12]accept exits with 7 [06:23:12]New connection [06:23:12]New thread 3066936676 created [06:23:12]Thread 3066793316 joined [06:23:12]Waiting for new connection... [06:23:12] Sock 7.Parse request [06:23:12]Sock 7.Check first char [06:23:12]Sock 7.First char is OK [06:23:12]request: POST /json_proto HTTP/1.0 [06:23:12]Method: POST [06:23:12]URL: /json_proto [06:23:12]Method is POST - this is cgi request [06:23:12]url: /json_proto [06:23:12]query_string will be loaded in cgi processing [06:23:12]execute_cgi json_proto POST (null) [06:23:12]execute_cgi path=json_proto method=POST [06:23:12]POST find Content-Length [06:23:12]Host: 172.17.35.196:8080 [06:23:12]Content-Length: 601 [06:23:12]Content-Type: application/json [06:23:12] [06:23:12]POST finish read [06:23:12]Found Content-Length = 601 [06:23:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169149", "tax_sys" : 0, "items" : [ { "code": "46153715", "name": "\u0420/\u0436 Orbit XXL white bubblemint 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:23:12]execute_script... [06:23: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)169149", "tax_sys" : 0, "items" : [ { "code": "46153715", "name": "\u0420/\u0436 Orbit XXL white bubblemint 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:23:12]POST & json_proto [06:23:12]process_json_proto [06:23:12]json parsed OK: [06:23:12]protocol is kg_v1.0 [06:23:12]action value=close_receipt [06:23:12]process_action close_receipt [06:23:12]cmd_close_receipt [06:23:12]MH_GetDate [06:23:12]Write to MH i2c: F0 00 00 BA 12 BB [06:23:12]Write i2c OK [06:23:12]MH_I2C_Read... [06:23:12]Read from MH i2c: F0 [06:23:12]MH_I2C_Read... [06:23:12]Read from MH i2c: F0 09 00 [06:23:12]MH_I2C_Read... [06:23:12]Read from MH i2c: F0 09 00 BA 12 00 D4 CB 90 66 AD 14 F4 65 73 [06:23:12]GetLastDocTimeStamp 1720765254 [06:23:12]current date 1720765396 [06:23:12]FM_GetShiftState [06:23:12]SAM_PROTO_GetShiftState [06:23:12]wFMCommunicate request_size=4 [06:23:12]MH_SAM_APDU [06:23:12]CAPDU: 80 13 01 00 [06:23:12]Write to MH i2c: E2 08 00 BB 12 80 13 01 00 00 00 00 00 4A [06:23:12]Write i2c OK [06:23:12]MH_I2C_Read... [06:23:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:23:12]Read from MH i2c: E2 [06:23:12]MH_I2C_Read... [06:23:12]Read from MH i2c: E2 0E 00 [06:23:12]MH_I2C_Read... [06:23:12]Read from MH i2c: E2 0E 00 BB 12 00 09 00 01 17 74 90 66 00 00 00 00 90 00 D7 [06:23:12]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [06:23:12]wFMCommunicate OK [06:23:12]SAM_PROTO_GetShiftState done [06:23:12]FM_GetShiftState done [06:23:12]opened in 1720742935 [06:23:12]opened+sec_in_day 1720829335 [06:23:12]quantity*price = 5100 [06:23:12]sum+1 = 5101 [06:23:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 51.00 НСП 1% : 0.45 НДС 12% : 5.42 Наличными: 51.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 7 12.07.2024 06:23 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33329 ФПД: 275483116945559 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T062316&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33329&fm=275483116945559&tin=02508201610067®Number=0000000000093033&sum=5100 0 [06:23:13]StoreToDocumentArchive [06:23:13]shift 433 fd 33329 [06:23:13]save to /storage/0433/doc_00033329 [06:23:13]save last doc name /storage/0433/doc_00033329 to /storage/kkm_last_doc_name [06:23:13]save OK [06:23:13]Clear old archive folders... [06:23:13]ProcessDocumentItem done err = 0, tmpTLVsize=276 [06:23:13]tlvbuf is 01CA1000 [06:23:13]SAM_PROTO_ClearQueue [06:23:13]wFMCommunicate request_size=4 [06:23:13]MH_SAM_APDU [06:23:13]CAPDU: 80 09 00 00 [06:23:13]Write to MH i2c: E2 08 00 C8 12 80 09 00 00 00 00 00 00 4C [06:23:13]Write i2c OK [06:23:13]MH_I2C_Read... [06:23:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:23:13]Read from MH i2c: E2 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 03 00 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 03 00 C8 12 00 90 00 4E [06:23:13]RAPDU: 90 00 [06:23:13]wFMCommunicate OK [06:23:13]SAM_PROTO_ClearQueue done [06:23:13]KKMCreateOFDPacket [06:23:13]OFDProtocolAddRootSTLVToBuf [06:23:13]FM_MakeSignedData [06:23:13]FM_MakeSignedData [06:23:13]SAM_PROTO_SignData [06:23:13]wFMCommunicate request_size=4 [06:23:13]MH_SAM_APDU [06:23:13]CAPDU: 80 0D 01 02 [06:23:13]Write to MH i2c: E2 08 00 C9 12 80 0D 01 02 00 00 00 00 54 [06:23:13]Write i2c OK [06:23:13]MH_I2C_Read... [06:23:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:23:13]Read from MH i2c: E2 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 03 00 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 03 00 C9 12 00 90 00 4F [06:23:13]RAPDU: 90 00 [06:23:13]wFMCommunicate OK [06:23:13]wFMCommunicate request_size=255 [06:23:13]MH_SAM_APDU [06:23:13]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 D4 CB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 [06:23:13]Write to MH i2c: E2 02 01 CA 12 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 D4 CB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 00 00 EB [06:23:13]Write i2c OK [06:23:13]MH_I2C_Read... [06:23:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:23:13]Read from MH i2c: E2 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 03 00 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 03 00 CA 12 00 90 00 50 [06:23:13]RAPDU: 90 00 [06:23:13]wFMCommunicate OK [06:23:13]wFMCommunicate request_size=35 [06:23:13]MH_SAM_APDU [06:23:13]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 31 82 00 00 35 04 06 00 FA 8C E9 53 C0 97 [06:23:13]Write to MH i2c: E2 26 00 CB 12 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 31 82 00 00 35 04 06 00 FA 8C E9 53 C0 97 00 00 0F [06:23:13]Write i2c OK [06:23:13]MH_I2C_Read... [06:23:13]OFD Sender: No OFD packet to send [06:23:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:23:13]Read from MH i2c: E2 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 03 00 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 03 00 CB 12 00 90 00 51 [06:23:13]RAPDU: 90 00 [06:23:13]wFMCommunicate OK [06:23:13]wFMCommunicate request_size=4 [06:23:13]MH_SAM_APDU [06:23:13]CAPDU: 80 0D 03 02 [06:23:13]Write to MH i2c: E2 08 00 CC 12 80 0D 03 02 00 00 00 00 59 [06:23:13]Write i2c OK [06:23:13]MH_I2C_Read... [06:23:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:23:13]Read from MH i2c: E2 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 0B 00 [06:23:13]MH_I2C_Read... [06:23:13]Read from MH i2c: E2 0B 00 CC 12 00 28 CA 42 CC 66 E2 51 13 90 00 06 [06:23:13]RAPDU: 28 CA 42 CC 66 E2 51 13 90 00 [06:23:13]wFMCommunicate OK [06:23:13]SAM_PROTO_SignData done [06:23:13]FM_MakeSignedData done [06:23:13]CreateOFDProtocolMessage [06:23:13]wFMCommunicate request_size=4 [06:23:13]MH_SAM_APDU [06:23:13]CAPDU: 80 11 00 00 [06:23:13]Write to MH i2c: E2 08 00 CD 12 80 11 00 00 00 00 00 00 59 [06:23:13]Write i2c OK [06:23:13]MH_I2C_Read... [06:23:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:23:14]Read from MH i2c: E2 [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: E2 17 00 [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: E2 17 00 CD 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A5 [06:23:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [06:23:14]wFMCommunicate OK [06:23:14]CreateOFDProtocolMessage done [06:23:14]OFDSenderStorePacket 33329 [06:23:14]StoreOFDPacket docnum=33329 [06:23:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 3C 27 20 01 53 E7 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 D4 CB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 31 82 00 00 35 04 06 00 FA 8C E9 53 C0 97 28 CA 42 CC 66 E2 51 13 [06:23:14]CheckFolder [06:23:14]dirname=/storage/ofd_packets [06:23:14]CheckFolder done [06:23:14]ProducePacketName [06:23:14]name=ofd_packets/00033329 [06:23:14]NVStorageSaveData ofd_packets/00033329 [06:23:14]File name is /storage/ofd_packets/00033329 [06:23:14]Write 326 bytes [06:23:14]NVStorageSaveData done [06:23:14]OFDSenderStorePacket done [06:23:14]KKMCreateOFDPacket done [06:23:14]NVStorageSaveData kkm_last_timestamp [06:23:14]File name is /storage/kkm_last_timestamp [06:23:14]Write 4 bytes [06:23:14]NVStorageSaveData done [06:23:14]ExternCall_PrintAddStr [06:23:14]wPrintStart [06:23:14]Write to MH i2c: 01 00 00 CE 12 E0 [06:23:14]Write i2c OK [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: 01 [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: 01 07 00 [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: 01 07 00 CE 12 00 00 00 00 00 FF 0F F5 [06:23:14]RasterBufferAndPrint [06:23:14]line Счет N : (3)169149 [06:23:14]line ИНН: 02508201610067 [06:23:14]line Контрольно-Кассовый Чек [06:23:14]line ПРОДАЖА [06:23:14]line Товар: 46153715 [06:23:14]line Р/ж Orbit XXL white bubblemint 20,4г [06:23:14]line 1.000 * 51.00 [06:23:14]line = 51.00 [06:23:14]line НДС 12% НСП 1% [06:23:14]line > о реализуемом товаре [06:23:14]line ИТОГО: 51.00 [06:23:14]line НСП 1% : 0.45 [06:23:14]line НДС 12% : 5.42 [06:23:14]line Наличными: 51.00 [06:23:14]line Безнал.: 0.00 [06:23:14]line Место: АЗС № 77 "Партнер Нефть" [06:23:14]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [06:23:14]line СНО: Общий режим [06:23:14]line Чек 7 12.07.2024 06:23 [06:23:14]line Смена: 433 ФФД: 1.0 [06:23:14]line ЗНМ: 0300000122 [06:23:14]line РНМ: 0000000000093033 [06:23:14]line Версия ККМ: 001 [06:23:14]line ФМ: 0000000000875104 [06:23:14]line ФД: 33329 [06:23:14]line ФПД: 275483116945559 [06:23:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T062316&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33329&fm=275483116945559&tin=02508201610067®Number=0000000000093033&sum=5100 [06:23:14]line 0 [06:23:14]OFD Sender: Processing packet 33329 [packets to send 6, broken 5] [06:23:14]ProducePacketName [06:23:14]name=ofd_packets/00033329 [06:23:14]OFD Sender: To server: pG, [06:23:14]CommunicateWithHost lk.salyk.kg:30040 [06:23:14]ConnectInit lk.salyk.kg [06:23:14]written 0, free lines is 4095 [06:23:14]Connected sock=10 [06:23:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 3C 27 20 01 53 E7 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 36 31 35 33 37 31 35 06 04 27 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 62 75 62 62 6C 65 6D 69 6E 74 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 D4 CB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 31 82 00 00 35 04 06 00 FA 8C E9 53 C0 97 28 CA 42 CC 66 E2 51 13 [06:23:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 4D 48 47 00 4D 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 31 82 00 00 F4 03 04 00 82 76 90 66 B6 04 01 00 00 3C 15 06 2C FC A0 CD 11 [06:23:14]CommunicateWithHost err = 0 [06:23:14]CheckOFDResponse [06:23:14]1017 (14) - 77093643461234 [06:23:14]1041 (16) - 0000000000875104 [06:23:14]1040 (4) - 33329 [06:23:14]1012 (4) - 12.07.2024 00:19 [06:23:14]1206 (1) - 0 [06:23:14]OFD Sender: Remove packet 33329 [06:23:14]ProducePacketName [06:23:14]name=ofd_packets/00033329 [06:23:14]NVStorageDeleteData [06:23:14]Write to MH i2c: 01 00 00 F7 12 09 [06:23:14]Write i2c OK [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: 01 [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: 01 07 00 [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: 01 07 00 F7 12 00 00 00 00 00 F4 0C 10 [06:23:14]RasterBufferAndPrint [06:23:14]line [06:23:14]line [06:23:14]line [06:23:14]line [06:23:14]line [06:23:14]written 0, free lines is 3323 [06:23:14]MH_Cut [06:23:14]Write to MH i2c: D1 01 00 FE 12 01 E2 [06:23:14]Write i2c OK [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: D1 [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: D1 01 00 [06:23:14]MH_I2C_Read... [06:23:14]Read from MH i2c: D1 01 00 FE 12 00 E1 [06:23:14]Write to MH i2c: 01 00 00 FF 12 11 [06:23:14]Write i2c OK [06:23:14]MH_I2C_Read... [06:23:15]OFD Sender: No OFD packet to send [06:23:15]*** Cut start [06:23:15]*** Partial cut [06:23:15]*** CUTSNS_PIN = 1 [06:23:15]*** CUTSNS_PIN = 0 [06:23:15]*** Brake cut motor [06:23:16]Read from MH i2c: 01 [06:23:16]MH_I2C_Read... [06:23:16]*** Stop cut motor [06:23:16]*** Cut end [06:23:16]Read from MH i2c: 01 07 00 [06:23:16]MH_I2C_Read... [06:23:16]Read from MH i2c: 01 07 00 FF 12 00 00 00 00 00 FF 0F 26 [06:23:16]process_action close_receipt done [06:23:16]requested_data is exist [06:23:16]produce_requested_data [06:23:16]requested_item fm.sn is exist - process it [06:23:16]wFMCommunicate request_size=4 [06:23:16]MH_SAM_APDU [06:23:16]CAPDU: 80 11 00 00 [06:23:16]Write to MH i2c: E2 08 00 00 13 80 11 00 00 00 00 00 00 8D [06:23:16]Write i2c OK [06:23:16]MH_I2C_Read... [06:23:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:23:16]Read from MH i2c: E2 [06:23:16]MH_I2C_Read... [06:23:16]Read from MH i2c: E2 17 00 [06:23:16]MH_I2C_Read... [06:23:16]Read from MH i2c: E2 17 00 00 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D9 [06:23:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [06:23:16]wFMCommunicate OK [06:23:16]requested_item fd.num is exist - process it [06:23:16]SAM_PROTO_GetFieldsCounters [06:23:16]wFMCommunicate request_size=4 [06:23:16]MH_SAM_APDU [06:23:16]CAPDU: 80 13 00 00 [06:23:16]Write to MH i2c: E2 08 00 01 13 80 13 00 00 00 00 00 00 90 [06:23:16]Write i2c OK [06:23:16]MH_I2C_Read... [06:23:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:23:16]Read from MH i2c: E2 [06:23:16]MH_I2C_Read... [06:23:16]Read from MH i2c: E2 62 00 [06:23:16]MH_I2C_Read... [06:23:16]Read from MH i2c: E2 62 00 01 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 31 82 00 00 0E 04 04 00 B1 01 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 1D [06:23:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 31 82 00 00 0E 04 04 00 B1 01 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 [06:23:16]wFMCommunicate OK [06:23:16]SAM_PROTO_GetFieldsCounters done [06:23:16]requested_item shift.num is exist - process it [06:23:16]requested_item shift.opened is exist - process it [06:23:16]req_shift_opened [06:23:16]FM_GetShiftState [06:23:16]SAM_PROTO_GetShiftState [06:23:16]wFMCommunicate request_size=4 [06:23:16]MH_SAM_APDU [06:23:16]CAPDU: 80 13 01 00 [06:23:16]Write to MH i2c: E2 08 00 02 13 80 13 01 00 00 00 00 00 92 [06:23:16]Write i2c OK [06:23:16]MH_I2C_Read... [06:23:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:23:16]Read from MH i2c: E2 [06:23:16]MH_I2C_Read... [06:23:16]Read from MH i2c: E2 0E 00 [06:23:16]MH_I2C_Read... [06:23:16]Read from MH i2c: E2 0E 00 02 13 00 09 00 01 17 74 90 66 00 00 00 00 90 00 1F [06:23:16]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [06:23:16]wFMCommunicate OK [06:23:16]SAM_PROTO_GetShiftState done [06:23:16]FM_GetShiftState done [06:23:16]req_shift_opened done [06:23:16]requested_item shift.open_date is exist - process it [06:23:16]req_shift_open_date [06:23:16]req_shift_open_date done [06:23:16]produce_requested_data done [06:23:16]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33329,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [06:23:16]process_action_free close_receipt [06:23:16]json_value_free [06:23:16]json_value_free done [06:23:16]process_json_proto returns [06:23:16]Send response to host [06:23:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33329,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [06:23:16]free response buf [06:23:16]execute_script done [06:23:16]execute_script returns [06:23:16]free content buf [06:23:16]Sock 7.Close socket [06:23:16]Sock 7.Thread stoped [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]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:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]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:31]OFD Sender: No OFD packet to send [07:01:36]OFD Sender: No OFD packet to send [07:01:41]OFD Sender: No OFD packet to send [07:01:46]OFD Sender: No OFD packet to send [07:01:51]OFD Sender: No OFD packet to send [07:01:56]OFD Sender: No OFD packet to send [07:02:01]OFD Sender: No OFD packet to send [07:02:06]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:17]OFD Sender: No OFD packet to send [07:07:22]OFD Sender: No OFD packet to send [07:07:27]OFD Sender: No OFD packet to send [07:07:32]OFD Sender: No OFD packet to send [07:07:37]OFD Sender: No OFD packet to send [07:07:42]OFD Sender: No OFD packet to send [07:07:47]OFD Sender: No OFD packet to send [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:52]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:02]OFD Sender: No OFD packet to send [07:10:07]OFD Sender: No OFD packet to send [07:10:12]OFD Sender: No OFD packet to send [07:10:17]OFD Sender: No OFD packet to send [07:10:22]OFD Sender: No OFD packet to send [07:10:27]OFD Sender: No OFD packet to send [07:10:32]OFD Sender: No OFD packet to send [07:10:37]OFD Sender: No OFD packet to send [07:10:42]OFD Sender: No OFD packet to send [07:10:47]OFD Sender: No OFD packet to send [07:10:52]OFD Sender: No OFD packet to send [07:10:57]OFD Sender: No OFD packet to send [07:11:02]OFD Sender: No OFD packet to send [07:11:07]OFD Sender: No OFD packet to send [07:11:12]OFD Sender: No OFD packet to send [07:11:17]OFD Sender: No OFD packet to send [07:11:22]OFD Sender: No OFD packet to send [07:11:27]OFD Sender: No OFD packet to send [07:11:32]OFD Sender: No OFD packet to send [07:11:37]OFD Sender: No OFD packet to send [07:11:42]OFD Sender: No OFD packet to send [07:11:47]OFD Sender: No OFD packet to send [07:11:52]OFD Sender: No OFD packet to send [07:11:57]OFD Sender: No OFD packet to send [07:12:02]OFD Sender: No OFD packet to send [07:12:07]OFD Sender: No OFD packet to send [07:12:12]OFD Sender: No OFD packet to send [07:12:17]OFD Sender: No OFD packet to send [07:12:22]OFD Sender: No OFD packet to send [07:12:27]OFD Sender: No OFD packet to send [07:12:32]OFD Sender: No OFD packet to send [07:12:37]OFD Sender: No OFD packet to send [07:12:42]OFD Sender: No OFD packet to send [07:12:47]OFD Sender: No OFD packet to send [07:12:52]OFD Sender: No OFD packet to send [07:12:57]OFD Sender: No OFD packet to send [07:13:02]OFD Sender: No OFD packet to send [07:13:07]OFD Sender: No OFD packet to send [07:13:12]OFD Sender: No OFD packet to send [07:13:17]OFD Sender: No OFD packet to send [07:13:22]OFD Sender: No OFD packet to send [07:13:27]OFD Sender: No OFD packet to send [07:13:32]OFD Sender: No OFD packet to send [07:13:37]OFD Sender: No OFD packet to send [07:13:42]OFD Sender: No OFD packet to send [07:13:47]OFD Sender: No OFD packet to send [07:13:52]OFD Sender: No OFD packet to send [07:13:57]OFD Sender: No OFD packet to send [07:14:02]OFD Sender: No OFD packet to send [07:14:07]OFD Sender: No OFD packet to send [07:14:12]OFD Sender: No OFD packet to send [07:14:17]OFD Sender: No OFD packet to send [07:14:22]OFD Sender: No OFD packet to send [07:14:27]OFD Sender: No OFD packet to send [07:14:32]OFD Sender: No OFD packet to send [07:14:37]OFD Sender: No OFD packet to send [07:14:42]OFD Sender: No OFD packet to send [07:14:47]OFD Sender: No OFD packet to send [07:14:52]OFD Sender: No OFD packet to send [07:14:57]OFD Sender: No OFD packet to send [07:15:02]OFD Sender: No OFD packet to send [07:15:07]OFD Sender: No OFD packet to send [07:15:12]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15:22]OFD Sender: No OFD packet to send [07:15:27]OFD Sender: No OFD packet to send [07:15:32]OFD Sender: No OFD packet to send [07:15:37]OFD Sender: No OFD packet to send [07:15:42]OFD Sender: No OFD packet to send [07:15:47]OFD Sender: No OFD packet to send [07:15:52]OFD Sender: No OFD packet to send [07:15:57]OFD Sender: No OFD packet to send [07:16:02]OFD Sender: No OFD packet to send [07:16:07]OFD Sender: No OFD packet to send [07:16:12]OFD Sender: No OFD packet to send [07:16:17]OFD Sender: No OFD packet to send [07:16:22]OFD Sender: No OFD packet to send [07:16:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]OFD Sender: No OFD packet to send [07:17:12]OFD Sender: No OFD packet to send [07:17:17]OFD Sender: No OFD packet to send [07:17:22]OFD Sender: No OFD packet to send [07:17:27]OFD Sender: No OFD packet to send [07:17:32]OFD Sender: No OFD packet to send [07:17:37]OFD Sender: No OFD packet to send [07:17:42]OFD Sender: No OFD packet to send [07:17:47]OFD Sender: No OFD packet to send [07:17:52]OFD Sender: No OFD packet to send [07:17:57]OFD Sender: No OFD packet to send [07:18:02]OFD Sender: No OFD packet to send [07:18:07]OFD Sender: No OFD packet to send [07:18:12]OFD Sender: No OFD packet to send [07:18:17]OFD Sender: No OFD packet to send [07:18:22]OFD Sender: No OFD packet to send [07:18:27]OFD Sender: No OFD packet to send [07:18:32]OFD Sender: No OFD packet to send [07:18:37]OFD Sender: No OFD packet to send [07:18:42]OFD Sender: No OFD packet to send [07:18:47]OFD Sender: No OFD packet to send [07:18:52]OFD Sender: No OFD packet to send [07:18:57]OFD Sender: No OFD packet to send [07:19:02]OFD Sender: No OFD packet to send [07:19:07]OFD Sender: No OFD packet to send [07:19:12]OFD Sender: No OFD packet to send [07:19:17]OFD Sender: No OFD packet to send [07:19:22]OFD Sender: No OFD packet to send [07:19:27]OFD Sender: No OFD packet to send [07:19:32]OFD Sender: No OFD packet to send [07:19:37]OFD Sender: No OFD packet to send [07:19:42]OFD Sender: No OFD packet to send [07:19:47]OFD Sender: No OFD packet to send [07:19:52]OFD Sender: No OFD packet to send [07:19:57]OFD Sender: No OFD packet to send [07:20:02]OFD Sender: No OFD packet to send [07:20:07]OFD Sender: No OFD packet to send [07:20:12]OFD Sender: No OFD packet to send [07:20:17]OFD Sender: No OFD packet to send [07:20:22]OFD Sender: No OFD packet to send [07:20:27]OFD Sender: No OFD packet to send [07:20:32]OFD Sender: No OFD packet to send [07:20:37]OFD Sender: No OFD packet to send [07:20:42]OFD Sender: No OFD packet to send [07:20:47]OFD Sender: No OFD packet to send [07:20:52]OFD Sender: No OFD packet to send [07:20:57]OFD Sender: No OFD packet to send [07:21:02]OFD Sender: No OFD packet to send [07:21:07]OFD Sender: No OFD packet to send [07:21:12]OFD Sender: No OFD packet to send [07:21:17]OFD Sender: No OFD packet to send [07:21:22]OFD Sender: No OFD packet to send [07:21:27]OFD Sender: No OFD packet to send [07:21:32]OFD Sender: No OFD packet to send [07:21:37]OFD Sender: No OFD packet to send [07:21:42]OFD Sender: No OFD packet to send [07:21:47]OFD Sender: No OFD packet to send [07:21:52]OFD Sender: No OFD packet to send [07:21:57]OFD Sender: No OFD packet to send [07:22:02]OFD Sender: No OFD packet to send [07:22:07]OFD Sender: No OFD packet to send [07:22:12]OFD Sender: No OFD packet to send [07:22:17]OFD Sender: No OFD packet to send [07:22:22]OFD Sender: No OFD packet to send [07:22:27]OFD Sender: No OFD packet to send [07:22:32]OFD Sender: No OFD packet to send [07:22:37]OFD Sender: No OFD packet to send [07:22:42]OFD Sender: No OFD packet to send [07:22:47]OFD Sender: No OFD packet to send [07:22:52]OFD Sender: No OFD packet to send [07:22:57]OFD Sender: No OFD packet to send [07:23:02]OFD Sender: No OFD packet to send [07:23:07]OFD Sender: No OFD packet to send [07:23:12]OFD Sender: No OFD packet to send [07:23:17]OFD Sender: No OFD packet to send [07:23:22]OFD Sender: No OFD packet to send [07:23:27]OFD Sender: No OFD packet to send [07:23:32]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:19]ConnectInit Can't connect to host [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:36]accept exits with 9 [07:27:36]New connection [07:27:36]New thread 3066793316 created [07:27:36]Thread 3066936676 joined [07:27:36]Waiting for new connection... [07:27:36] Sock 9.Parse request [07:27:36]Sock 9.Check first char [07:27:36]Sock 9.First char is OK [07:27:36]request: POST /json_proto HTTP/1.0 [07:27:36]Method: POST [07:27:36]URL: /json_proto [07:27:36]Method is POST - this is cgi request [07:27:36]url: /json_proto [07:27:36]query_string will be loaded in cgi processing [07:27:36]execute_cgi json_proto POST (null) [07:27:36]execute_cgi path=json_proto method=POST [07:27:36]POST find Content-Length [07:27:36]Host: 172.17.35.196:8080 [07:27:36]Content-Length: 215 [07:27:36]Content-Type: application/json [07:27:36] [07:27:36]POST finish read [07:27:36]Found Content-Length = 215 [07:27:36]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" ] } } [07:27:36]execute_script... [07:27:36]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" ] } } [07:27:36]POST & json_proto [07:27:36]process_json_proto [07:27:36]json parsed OK: [07:27:36]protocol is kg_v1.0 [07:27:36]action value=get_value [07:27:36]process_action get_value [07:27:36]cmd_get_value [07:27:36]process_action get_value done [07:27:36]requested_data is exist [07:27:36]produce_requested_data [07:27:36]requested_item kkm.sn is exist - process it [07:27:36]requested_item kkm.ver is exist - process it [07:27:36]requested_item fm.sn is exist - process it [07:27:36]wFMCommunicate request_size=4 [07:27:36]MH_SAM_APDU [07:27:36]CAPDU: 80 11 00 00 [07:27:36]Write to MH i2c: E2 08 00 03 13 80 11 00 00 00 00 00 00 90 [07:27:36]Write i2c OK [07:27:36]MH_I2C_Read... [07:27:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:27:36]Read from MH i2c: E2 [07:27:36]MH_I2C_Read... [07:27:36]Read from MH i2c: E2 17 00 [07:27:36]MH_I2C_Read... [07:27:36]Read from MH i2c: E2 17 00 03 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DC [07:27:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [07:27:36]wFMCommunicate OK [07:27:36]requested_item fd.num is exist - process it [07:27:36]SAM_PROTO_GetFieldsCounters [07:27:36]wFMCommunicate request_size=4 [07:27:36]MH_SAM_APDU [07:27:36]CAPDU: 80 13 00 00 [07:27:36]Write to MH i2c: E2 08 00 04 13 80 13 00 00 00 00 00 00 93 [07:27:36]Write i2c OK [07:27:36]MH_I2C_Read... [07:27:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:27:36]Read from MH i2c: E2 [07:27:36]MH_I2C_Read... [07:27:36]Read from MH i2c: E2 62 00 [07:27:36]MH_I2C_Read... [07:27:36]Read from MH i2c: E2 62 00 04 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 31 82 00 00 0E 04 04 00 B1 01 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 20 [07:27:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 31 82 00 00 0E 04 04 00 B1 01 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:27:36]wFMCommunicate OK [07:27:36]SAM_PROTO_GetFieldsCounters done [07:27:36]requested_item shift.num is exist - process it [07:27:36]requested_item shift.opened is exist - process it [07:27:36]req_shift_opened [07:27:36]FM_GetShiftState [07:27:36]SAM_PROTO_GetShiftState [07:27:36]wFMCommunicate request_size=4 [07:27:36]MH_SAM_APDU [07:27:36]CAPDU: 80 13 01 00 [07:27:36]Write to MH i2c: E2 08 00 05 13 80 13 01 00 00 00 00 00 95 [07:27:36]Write i2c OK [07:27:36]MH_I2C_Read... [07:27:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:27:36]Read from MH i2c: E2 [07:27:36]MH_I2C_Read... [07:27:36]Read from MH i2c: E2 0E 00 [07:27:36]MH_I2C_Read... [07:27:36]Read from MH i2c: E2 0E 00 05 13 00 09 00 01 17 74 90 66 00 00 00 00 90 00 22 [07:27:36]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [07:27:36]wFMCommunicate OK [07:27:36]SAM_PROTO_GetShiftState done [07:27:36]FM_GetShiftState done [07:27:36]req_shift_opened done [07:27:36]requested_item shift.open_date is exist - process it [07:27:36]req_shift_open_date [07:27:36]req_shift_open_date done [07:27:36]produce_requested_data done [07:27:36]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33329,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [07:27:36]process_action_free get_value [07:27:36]json_value_free [07:27:36]json_value_free done [07:27:36]process_json_proto returns [07:27:36]Send response to host [07:27:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33329,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [07:27:36]free response buf [07:27:36]execute_script done [07:27:36]execute_script returns [07:27:36]free content buf [07:27:36]Sock 9.Close socket [07:27:36]Sock 9.Thread stoped [07:27:38]OFD Sender: No OFD packet to send [07:27:39]accept exits with 10 [07:27:39]New connection [07:27:39]New thread 3066936676 created [07:27:39]Thread 3066793316 joined [07:27:39]Waiting for new connection... [07:27:39] Sock 10.Parse request [07:27:39]Sock 10.Check first char [07:27:39]Sock 10.First char is OK [07:27:39]request: POST /json_proto HTTP/1.0 [07:27:39]Method: POST [07:27:39]URL: /json_proto [07:27:39]Method is POST - this is cgi request [07:27:39]url: /json_proto [07:27:39]query_string will be loaded in cgi processing [07:27:39]execute_cgi json_proto POST (null) [07:27:39]execute_cgi path=json_proto method=POST [07:27:39]POST find Content-Length [07:27:39]Host: 172.17.35.196:8080 [07:27:39]Content-Length: 331 [07:27:39]Content-Type: application/json [07:27:39] [07:27:39]POST finish read [07:27:39]Found Content-Length = 331 [07:27:39]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" ] } } [07:27:39]execute_script... [07:27:39]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" ] } } [07:27:39]POST & json_proto [07:27:39]process_json_proto [07:27:39]json parsed OK: [07:27:39]protocol is kg_v1.0 [07:27:39]action value=get_value [07:27:39]process_action get_value [07:27:39]cmd_get_value [07:27:39]process_action get_value done [07:27:39]requested_data is exist [07:27:39]produce_requested_data [07:27:39]requested_item fm.sale.total is exist - process it [07:27:39]SAM_PROTO_GetFMData [07:27:39]wFMCommunicate request_size=4 [07:27:39]MH_SAM_APDU [07:27:39]CAPDU: 80 13 03 00 [07:27:39]Write to MH i2c: E2 08 00 06 13 80 13 03 00 00 00 00 00 98 [07:27:39]Write i2c OK [07:27:39]MH_I2C_Read... [07:27:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [07:27:40]Read from MH i2c: E2 [07:27:40]MH_I2C_Read... [07:27:40]Read from MH i2c: E2 FD 00 [07:27:40]MH_I2C_Read... [07:27:40]Read from MH i2c: E2 FD 00 06 13 00 C4 04 85 04 C0 04 6E 04 04 00 CF 7E 00 00 69 04 A0 00 6F 04 04 00 EE 7D 00 00 B1 04 04 00 0C B2 8A 3F 70 04 04 00 54 15 E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 97 BF 06 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 A8 EB 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 F8 [07:27:40]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CF 7E 00 00 69 04 A0 00 6F 04 04 00 EE 7D 00 00 B1 04 04 00 0C B2 8A 3F 70 04 04 00 54 15 E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 97 BF 06 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 A8 EB 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [07:27:40]wFMCommunicate OK [07:27:40]wFMCommunicate request_size=4 [07:27:40]MH_SAM_APDU [07:27:40]CAPDU: 80 17 00 00 [07:27:40]Write to MH i2c: E2 08 00 07 13 80 17 00 00 00 00 00 00 9A [07:27:40]Write i2c OK [07:27:40]MH_I2C_Read... [07:27:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:27:40]Read from MH i2c: E2 [07:27:40]MH_I2C_Read... [07:27:40]Read from MH i2c: E2 FD 00 [07:27:40]MH_I2C_Read... [07:27:40]Read from MH i2c: E2 FD 00 07 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 57 [07:27:40]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [07:27:40]wFMCommunicate OK [07:27:40]wFMCommunicate request_size=4 [07:27:40]MH_SAM_APDU [07:27:40]CAPDU: 80 17 00 00 [07:27:40]Write to MH i2c: E2 08 00 08 13 80 17 00 00 00 00 00 00 9B [07:27:40]Write i2c OK [07:27:40]MH_I2C_Read... [07:27:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:27:40]Read from MH i2c: E2 [07:27:40]MH_I2C_Read... [07:27:40]Read from MH i2c: E2 FD 00 [07:27:40]MH_I2C_Read... [07:27:40]Read from MH i2c: E2 FD 00 08 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [07:27:40]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:27:40]wFMCommunicate OK [07:27:40]wFMCommunicate request_size=4 [07:27:40]MH_SAM_APDU [07:27:40]CAPDU: 80 17 00 00 [07:27:40]Write to MH i2c: E2 08 00 09 13 80 17 00 00 00 00 00 00 9C [07:27:40]Write i2c OK [07:27:40]MH_I2C_Read... [07:27:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:27:40]Read from MH i2c: E2 [07:27:40]MH_I2C_Read... [07:27:40]Read from MH i2c: E2 FD 00 [07:27:40]MH_I2C_Read... [07:27:40]Read from MH i2c: E2 FD 00 09 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 14 [07:27:40]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:27:40]wFMCommunicate OK [07:27:40]wFMCommunicate request_size=4 [07:27:40]MH_SAM_APDU [07:27:40]CAPDU: 80 17 00 00 [07:27:40]Write to MH i2c: E2 08 00 0A 13 80 17 00 00 00 00 00 00 9D [07:27:40]Write i2c OK [07:27:40]MH_I2C_Read... [07:27:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [07:27:41]Read from MH i2c: E2 [07:27:41]MH_I2C_Read... [07:27:41]Read from MH i2c: E2 E1 00 [07:27:41]MH_I2C_Read... [07:27:41]Read from MH i2c: E2 E1 00 0A 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8B [07:27:41]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [07:27:41]wFMCommunicate OK [07:27:41]SAM_PROTO_GetFMData done [07:27:41]requested_item fm.sale_refund.total is exist - process it [07:27:41]requested_item fm.buy.total is exist - process it [07:27:41]requested_item shift.sale.total is exist - process it [07:27:41]SAM_PROTO_GetShiftData [07:27:41]wFMCommunicate request_size=4 [07:27:41]MH_SAM_APDU [07:27:41]CAPDU: 80 13 02 00 [07:27:41]Write to MH i2c: E2 08 00 0B 13 80 13 02 00 00 00 00 00 9C [07:27:41]Write i2c OK [07:27:41]MH_I2C_Read... [07:27:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:27:41]Read from MH i2c: E2 [07:27:41]MH_I2C_Read... [07:27:41]Read from MH i2c: E2 FD 00 [07:27:41]MH_I2C_Read... [07:27:41]Read from MH i2c: E2 FD 00 0B 13 00 AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 6C C9 01 70 04 03 00 BC 92 01 72 04 02 00 B0 36 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 94 30 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 0C 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 A3 [07:27:41]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 6C C9 01 70 04 03 00 BC 92 01 72 04 02 00 B0 36 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 94 30 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 0C 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [07:27:41]wFMCommunicate OK [07:27:41]wFMCommunicate request_size=4 [07:27:41]MH_SAM_APDU [07:27:41]CAPDU: 80 17 00 00 [07:27:41]Write to MH i2c: E2 08 00 0C 13 80 17 00 00 00 00 00 00 9F [07:27:41]Write i2c OK [07:27:41]MH_I2C_Read... [07:27:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:27:41]Read from MH i2c: E2 [07:27:41]MH_I2C_Read... [07:27:41]Read from MH i2c: E2 FD 00 [07:27:41]MH_I2C_Read... [07:27:41]Read from MH i2c: E2 FD 00 0C 13 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 B4 [07:27:41]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [07:27:41]wFMCommunicate OK [07:27:41]wFMCommunicate request_size=4 [07:27:41]MH_SAM_APDU [07:27:41]CAPDU: 80 17 00 00 [07:27:41]Write to MH i2c: E2 08 00 0D 13 80 17 00 00 00 00 00 00 A0 [07:27:41]Write i2c OK [07:27:41]MH_I2C_Read... [07:27:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:27:42]Read from MH i2c: E2 [07:27:42]MH_I2C_Read... [07:27:42]Read from MH i2c: E2 FD 00 [07:27:42]MH_I2C_Read... [07:27:42]Read from MH i2c: E2 FD 00 0D 13 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 61 [07:27:42]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [07:27:42]wFMCommunicate OK [07:27:42]wFMCommunicate request_size=4 [07:27:42]MH_SAM_APDU [07:27:42]CAPDU: 80 17 00 00 [07:27:42]Write to MH i2c: E2 08 00 0E 13 80 17 00 00 00 00 00 00 A1 [07:27:42]Write i2c OK [07:27:42]MH_I2C_Read... [07:27:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:27:42]Read from MH i2c: E2 [07:27:42]MH_I2C_Read... [07:27:42]Read from MH i2c: E2 FD 00 [07:27:42]MH_I2C_Read... [07:27:42]Read from MH i2c: E2 FD 00 0E 13 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 16 [07:27:42]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [07:27:42]wFMCommunicate OK [07:27:42]wFMCommunicate request_size=4 [07:27:42]MH_SAM_APDU [07:27:42]CAPDU: 80 17 00 00 [07:27:42]Write to MH i2c: E2 08 00 0F 13 80 17 00 00 00 00 00 00 A2 [07:27:42]Write i2c OK [07:27:42]MH_I2C_Read... [07:27:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [07:27:42]Read from MH i2c: E2 [07:27:42]MH_I2C_Read... [07:27:42]Read from MH i2c: E2 C9 00 [07:27:42]MH_I2C_Read... [07:27:42]Read from MH i2c: E2 C9 00 0F 13 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 86 [07:27:42]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:27:42]wFMCommunicate OK [07:27:42]SAM_PROTO_GetShiftData done [07:27:42]requested_item shift.sale.total_cash is exist - process it [07:27:42]requested_item shift.sale_refund.total is exist - process it [07:27:42]requested_item shift.sale_refund.total_cash is exist - process it [07:27:42]requested_item shift.buy.total is exist - process it [07:27:42]requested_item shift.buy.total_cash is exist - process it [07:27:42]produce_requested_data done [07:27:42]produce_requested_data return {"fm.sale.total":10660541.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1171.00,"shift.sale.total_cash":1031.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} [07:27:42]process_action_free get_value [07:27:42]json_value_free [07:27:42]json_value_free done [07:27:42]process_json_proto returns [07:27:42]Send response to host [07:27:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10660541.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1171.00,"shift.sale.total_cash":1031.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}}} [07:27:42]free response buf [07:27:42]execute_script done [07:27:42]execute_script returns [07:27:42]free content buf [07:27:42]Sock 10.Close socket [07:27:42]Sock 10.Thread stoped [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:28]OFD Sender: No OFD packet to send [07:29:33]OFD Sender: No OFD packet to send [07:29:38]OFD Sender: No OFD packet to send [07:29:43]OFD Sender: No OFD packet to send [07:29:48]OFD Sender: No OFD packet to send [07:29:53]OFD Sender: No OFD packet to send [07:29:58]OFD Sender: No OFD packet to send [07:30:03]OFD Sender: No OFD packet to send [07:30:08]OFD Sender: No OFD packet to send [07:30:13]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:08]OFD Sender: No OFD packet to send [07:31:13]OFD Sender: No OFD packet to send [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:18]OFD Sender: No OFD packet to send [07:33:23]OFD Sender: No OFD packet to send [07:33:28]OFD Sender: No OFD packet to send [07:33:33]OFD Sender: No OFD packet to send [07:33:38]OFD Sender: No OFD packet to send [07:33:43]OFD Sender: No OFD packet to send [07:33:48]OFD Sender: No OFD packet to send [07:33:53]OFD Sender: No OFD packet to send [07:33:58]OFD Sender: No OFD packet to send [07:34:03]OFD Sender: No OFD packet to send [07:34:08]OFD Sender: No OFD packet to send [07:34:13]OFD Sender: No OFD packet to send [07:34:18]OFD Sender: No OFD packet to send [07:34:23]OFD Sender: No OFD packet to send [07:34:28]OFD Sender: No OFD packet to send [07:34:33]OFD Sender: No OFD packet to send [07:34:38]OFD Sender: No OFD packet to send [07:34:43]OFD Sender: No OFD packet to send [07:34:48]OFD Sender: No OFD packet to send [07:34:53]OFD Sender: No OFD packet to send [07:34:58]OFD Sender: No OFD packet to send [07:35:03]OFD Sender: No OFD packet to send [07:35:08]OFD Sender: No OFD packet to send [07:35:13]OFD Sender: No OFD packet to send [07:35:18]OFD Sender: No OFD packet to send [07:35:23]OFD Sender: No OFD packet to send [07:35:28]OFD Sender: No OFD packet to send [07:35:33]OFD Sender: No OFD packet to send [07:35:38]OFD Sender: No OFD packet to send [07:35:43]OFD Sender: No OFD packet to send [07:35:48]OFD Sender: No OFD packet to send [07:35:53]OFD Sender: No OFD packet to send [07:35:58]OFD Sender: No OFD packet to send [07:36:03]OFD Sender: No OFD packet to send [07:36:08]OFD Sender: No OFD packet to send [07:36:13]OFD Sender: No OFD packet to send [07:36:18]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:53]OFD Sender: No OFD packet to send [07:36:58]OFD Sender: No OFD packet to send [07:37:03]OFD Sender: No OFD packet to send [07:37:08]OFD Sender: No OFD packet to send [07:37:13]OFD Sender: No OFD packet to send [07:37:18]OFD Sender: No OFD packet to send [07:37:23]OFD Sender: No OFD packet to send [07:37:28]OFD Sender: No OFD packet to send [07:37:33]OFD Sender: No OFD packet to send [07:37:38]OFD Sender: No OFD packet to send [07:37:43]OFD Sender: No OFD packet to send [07:37:48]OFD Sender: No OFD packet to send [07:37:53]OFD Sender: No OFD packet to send [07:37:58]OFD Sender: No OFD packet to send [07:38:03]OFD Sender: No OFD packet to send [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:38]OFD Sender: No OFD packet to send [07:42:43]OFD Sender: No OFD packet to send [07:42:48]OFD Sender: No OFD packet to send [07:42:53]OFD Sender: No OFD packet to send [07:42:58]OFD Sender: No OFD packet to send [07:43:03]OFD Sender: No OFD packet to send [07:43:08]OFD Sender: No OFD packet to send [07:43:13]OFD Sender: No OFD packet to send [07:43:18]OFD Sender: No OFD packet to send [07:43:23]OFD Sender: No OFD packet to send [07:43:28]OFD Sender: No OFD packet to send [07:43:33]OFD Sender: No OFD packet to send [07:43:38]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:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:30]accept exits with 7 [07:49:30]New connection [07:49:30]New thread 3066793316 created [07:49:30]Thread 3066936676 joined [07:49:30]Waiting for new connection... [07:49:30] Sock 7.Parse request [07:49:30]Sock 7.Check first char [07:49:30]Sock 7.First char is OK [07:49:30]request: POST /json_proto HTTP/1.0 [07:49:30]Method: POST [07:49:30]URL: /json_proto [07:49:30]Method is POST - this is cgi request [07:49:30]url: /json_proto [07:49:30]query_string will be loaded in cgi processing [07:49:30]execute_cgi json_proto POST (null) [07:49:30]execute_cgi path=json_proto method=POST [07:49:30]POST find Content-Length [07:49:30]Host: 172.17.35.196:8080 [07:49:30]Content-Length: 734 [07:49:30]Content-Type: application/json [07:49:30] [07:49:30]POST finish read [07:49:30]Found Content-Length = 734 [07:49:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169150", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:49:30]execute_script... [07:49: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)169150", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:49:30]POST & json_proto [07:49:30]process_json_proto [07:49:30]json parsed OK: [07:49:30]protocol is kg_v1.0 [07:49:30]action value=close_receipt [07:49:30]process_action close_receipt [07:49:30]cmd_close_receipt [07:49:30]MH_GetDate [07:49:30]Write to MH i2c: F0 00 00 10 13 12 [07:49:30]Write i2c OK [07:49:30]MH_I2C_Read... [07:49:30]Read from MH i2c: F0 [07:49:30]MH_I2C_Read... [07:49:30]Read from MH i2c: F0 09 00 [07:49:30]MH_I2C_Read... [07:49:30]Read from MH i2c: F0 09 00 10 13 00 0E E0 90 66 AD 14 F4 65 19 [07:49:30]GetLastDocTimeStamp 1720765396 [07:49:30]current date 1720770574 [07:49:30]FM_GetShiftState [07:49:30]SAM_PROTO_GetShiftState [07:49:30]wFMCommunicate request_size=4 [07:49:30]MH_SAM_APDU [07:49:30]CAPDU: 80 13 01 00 [07:49:30]Write to MH i2c: E2 08 00 11 13 80 13 01 00 00 00 00 00 A1 [07:49:30]Write i2c OK [07:49:30]MH_I2C_Read... [07:49:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:49:30]Read from MH i2c: E2 [07:49:30]MH_I2C_Read... [07:49:30]Read from MH i2c: E2 0E 00 [07:49:30]MH_I2C_Read... [07:49:30]Read from MH i2c: E2 0E 00 11 13 00 09 00 01 17 74 90 66 00 00 00 00 90 00 2E [07:49:30]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [07:49:30]wFMCommunicate OK [07:49:30]SAM_PROTO_GetShiftState done [07:49:30]FM_GetShiftState done [07:49:30]opened in 1720742935 [07:49:30]opened+sec_in_day 1720829335 [07:49:30]quantity*price = 39500 [07:49:30]sum+1 = 39501 [07:49:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 395.00 НСП 1% : 3.50 НДС 12% : 41.95 Наличными: 395.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 8 12.07.2024 07:49 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33330 ФПД: 166697356864029 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T074934&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33330&fm=166697356864029&tin=02508201610067®Number=0000000000093033&sum=39500 0 [07:49:31]StoreToDocumentArchive [07:49:31]shift 433 fd 33330 [07:49:31]save to /storage/0433/doc_00033330 [07:49:31]save last doc name /storage/0433/doc_00033330 to /storage/kkm_last_doc_name [07:49:31]save OK [07:49:31]Clear old archive folders... [07:49:31]ProcessDocumentItem done err = 0, tmpTLVsize=306 [07:49:31]tlvbuf is 01CA0C10 [07:49:31]SAM_PROTO_ClearQueue [07:49:31]wFMCommunicate request_size=4 [07:49:31]MH_SAM_APDU [07:49:31]CAPDU: 80 09 00 00 [07:49:31]Write to MH i2c: E2 08 00 1E 13 80 09 00 00 00 00 00 00 A3 [07:49:31]Write i2c OK [07:49:31]MH_I2C_Read... [07:49:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:49:31]Read from MH i2c: E2 [07:49:31]MH_I2C_Read... [07:49:31]Read from MH i2c: E2 03 00 [07:49:31]MH_I2C_Read... [07:49:31]Read from MH i2c: E2 03 00 1E 13 00 90 00 A5 [07:49:31]RAPDU: 90 00 [07:49:31]wFMCommunicate OK [07:49:31]SAM_PROTO_ClearQueue done [07:49:31]KKMCreateOFDPacket [07:49:31]OFDProtocolAddRootSTLVToBuf [07:49:31]FM_MakeSignedData [07:49:31]FM_MakeSignedData [07:49:31]SAM_PROTO_SignData [07:49:31]wFMCommunicate request_size=4 [07:49:31]MH_SAM_APDU [07:49:31]CAPDU: 80 0D 01 02 [07:49:31]Write to MH i2c: E2 08 00 1F 13 80 0D 01 02 00 00 00 00 AB [07:49:31]Write i2c OK [07:49:31]MH_I2C_Read... [07:49:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:49:31]Read from MH i2c: E2 [07:49:31]MH_I2C_Read... [07:49:31]Read from MH i2c: E2 03 00 [07:49:31]MH_I2C_Read... [07:49:31]Read from MH i2c: E2 03 00 1F 13 00 90 00 A6 [07:49:31]RAPDU: 90 00 [07:49:31]wFMCommunicate OK [07:49:31]wFMCommunicate request_size=255 [07:49:31]MH_SAM_APDU [07:49:31]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0E E0 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 [07:49:31]Write to MH i2c: E2 02 01 20 13 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0E E0 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 00 5D [07:49:31]Write i2c OK [07:49:31]MH_I2C_Read... [07:49:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:49:32]Read from MH i2c: E2 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: E2 03 00 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: E2 03 00 20 13 00 90 00 A7 [07:49:32]RAPDU: 90 00 [07:49:32]wFMCommunicate OK [07:49:32]wFMCommunicate request_size=65 [07:49:32]MH_SAM_APDU [07:49:32]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 32 82 00 00 35 04 06 00 97 9C 40 BD AA 1D [07:49:32]Write to MH i2c: E2 44 00 21 13 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 32 82 00 00 35 04 06 00 97 9C 40 BD AA 1D 00 00 9A [07:49:32]Write i2c OK [07:49:32]MH_I2C_Read... [07:49:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:49:32]Read from MH i2c: E2 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: E2 03 00 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: E2 03 00 21 13 00 90 00 A8 [07:49:32]RAPDU: 90 00 [07:49:32]wFMCommunicate OK [07:49:32]wFMCommunicate request_size=4 [07:49:32]MH_SAM_APDU [07:49:32]CAPDU: 80 0D 03 02 [07:49:32]Write to MH i2c: E2 08 00 22 13 80 0D 03 02 00 00 00 00 B0 [07:49:32]Write i2c OK [07:49:32]MH_I2C_Read... [07:49:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:49:32]Read from MH i2c: E2 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: E2 0B 00 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: E2 0B 00 22 13 00 AC 34 1A 0B 44 DB 10 AB 90 00 90 [07:49:32]RAPDU: AC 34 1A 0B 44 DB 10 AB 90 00 [07:49:32]wFMCommunicate OK [07:49:32]SAM_PROTO_SignData done [07:49:32]FM_MakeSignedData done [07:49:32]CreateOFDProtocolMessage [07:49:32]wFMCommunicate request_size=4 [07:49:32]MH_SAM_APDU [07:49:32]CAPDU: 80 11 00 00 [07:49:32]Write to MH i2c: E2 08 00 23 13 80 11 00 00 00 00 00 00 B0 [07:49:32]Write i2c OK [07:49:32]MH_I2C_Read... [07:49:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:49:32]Read from MH i2c: E2 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: E2 17 00 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: E2 17 00 23 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FC [07:49:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [07:49:32]wFMCommunicate OK [07:49:32]CreateOFDProtocolMessage done [07:49:32]OFDSenderStorePacket 33330 [07:49:32]StoreOFDPacket docnum=33330 [07:49:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 46 01 00 00 5D 44 3E 01 0C CA 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0E E0 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 32 82 00 00 35 04 06 00 97 9C 40 BD AA 1D AC 34 1A 0B 44 DB 10 AB [07:49:32]CheckFolder [07:49:32]dirname=/storage/ofd_packets [07:49:32]CheckFolder done [07:49:32]ProducePacketName [07:49:32]name=ofd_packets/00033330 [07:49:32]NVStorageSaveData ofd_packets/00033330 [07:49:32]File name is /storage/ofd_packets/00033330 [07:49:32]Write 356 bytes [07:49:32]NVStorageSaveData done [07:49:32]OFDSenderStorePacket done [07:49:32]KKMCreateOFDPacket done [07:49:32]NVStorageSaveData kkm_last_timestamp [07:49:32]File name is /storage/kkm_last_timestamp [07:49:32]Write 4 bytes [07:49:32]NVStorageSaveData done [07:49:32]ExternCall_PrintAddStr [07:49:32]wPrintStart [07:49:32]Write to MH i2c: 01 00 00 24 13 37 [07:49:32]Write i2c OK [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: 01 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: 01 07 00 [07:49:32]MH_I2C_Read... [07:49:32]Read from MH i2c: 01 07 00 24 13 00 00 00 00 00 FF 0F 4C [07:49:32]RasterBufferAndPrint [07:49:32]line Счет N : (3)169150 [07:49:32]line ИНН: 02508201610067 [07:49:32]line Контрольно-Кассовый Чек [07:49:32]line ПРОДАЖА [07:49:32]line Товар: 0010420131003133 [07:49:32]line Уголь древесный Партнер Нефть 3кг [07:49:32]line 1.000 * 395.00 [07:49:32]line = 395.00 [07:49:32]line НДС 12% НСП 1% [07:49:32]line > о реализуемом товаре [07:49:32]line ИТОГО: 395.00 [07:49:32]line НСП 1% : 3.50 [07:49:32]line НДС 12% : 41.95 [07:49:32]line Наличными: 395.00 [07:49:32]line Безнал.: 0.00 [07:49:32]line Место: АЗС № 77 "Партнер Нефть" [07:49:32]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [07:49:32]line СНО: Общий режим [07:49:32]line Чек 8 12.07.2024 07:49 [07:49:32]line Смена: 433 ФФД: 1.0 [07:49:32]line ЗНМ: 0300000122 [07:49:32]line РНМ: 0000000000093033 [07:49:32]line Версия ККМ: 001 [07:49:32]line ФМ: 0000000000875104 [07:49:32]line ФД: 33330 [07:49:32]line ФПД: 166697356864029 [07:49:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T074934&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33330&fm=166697356864029&tin=02508201610067®Number=0000000000093033&sum=39500 [07:49:32]line 0 [07:49:32]OFD Sender: Processing packet 33330 [packets to send 6, broken 5] [07:49:32]ProducePacketName [07:49:32]name=ofd_packets/00033330 [07:49:32]OFD Sender: To server: pG, [07:49:32]CommunicateWithHost lk.salyk.kg:30040 [07:49:32]ConnectInit lk.salyk.kg [07:49:32]written 0, free lines is 4095 [07:49:32]Connected sock=10 [07:49:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 46 01 00 00 5D 44 3E 01 0C CA 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0E E0 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 32 82 00 00 35 04 06 00 97 9C 40 BD AA 1D AC 34 1A 0B 44 DB 10 AB [07:49:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 62 3D 47 00 54 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 32 82 00 00 F4 03 04 00 BC 8A 90 66 B6 04 01 00 00 36 69 74 B5 12 50 17 C4 [07:49:32]CommunicateWithHost err = 0 [07:49:32]CheckOFDResponse [07:49:32]1017 (14) - 77093643461234 [07:49:32]1041 (16) - 0000000000875104 [07:49:32]1040 (4) - 33330 [07:49:32]1012 (4) - 12.07.2024 01:45 [07:49:32]1206 (1) - 0 [07:49:32]OFD Sender: Remove packet 33330 [07:49:32]ProducePacketName [07:49:32]name=ofd_packets/00033330 [07:49:32]NVStorageDeleteData [07:49:33]Write to MH i2c: 01 00 00 4D 13 60 [07:49:33]Write i2c OK [07:49:33]MH_I2C_Read... [07:49:33]Read from MH i2c: 01 [07:49:33]MH_I2C_Read... [07:49:33]Read from MH i2c: 01 07 00 [07:49:33]MH_I2C_Read... [07:49:33]Read from MH i2c: 01 07 00 4D 13 00 00 00 00 00 D3 0C 46 [07:49:33]RasterBufferAndPrint [07:49:33]line [07:49:33]line [07:49:33]line [07:49:33]line [07:49:33]line [07:49:33]written 0, free lines is 3293 [07:49:33]MH_Cut [07:49:33]Write to MH i2c: D1 01 00 54 13 01 39 [07:49:33]Write i2c OK [07:49:33]MH_I2C_Read... [07:49:33]Read from MH i2c: D1 [07:49:33]MH_I2C_Read... [07:49:33]Read from MH i2c: D1 01 00 [07:49:33]MH_I2C_Read... [07:49:33]Read from MH i2c: D1 01 00 54 13 00 38 [07:49:33]Write to MH i2c: 01 00 00 55 13 68 [07:49:33]Write i2c OK [07:49:33]MH_I2C_Read... [07:49:33]OFD Sender: No OFD packet to send [07:49:33]*** Cut start [07:49:33]*** Partial cut [07:49:33]*** CUTSNS_PIN = 1 [07:49:33]*** CUTSNS_PIN = 0 [07:49:34]*** Brake cut motor [07:49:34]Read from MH i2c: 01 [07:49:34]MH_I2C_Read... [07:49:34]*** Stop cut motor [07:49:34]*** Cut end [07:49:34]Read from MH i2c: 01 07 00 [07:49:34]MH_I2C_Read... [07:49:34]Read from MH i2c: 01 07 00 55 13 00 00 00 00 00 FF 0F 7D [07:49:34]process_action close_receipt done [07:49:34]requested_data is exist [07:49:34]produce_requested_data [07:49:34]requested_item fm.sn is exist - process it [07:49:34]wFMCommunicate request_size=4 [07:49:34]MH_SAM_APDU [07:49:34]CAPDU: 80 11 00 00 [07:49:34]Write to MH i2c: E2 08 00 56 13 80 11 00 00 00 00 00 00 E3 [07:49:34]Write i2c OK [07:49:34]MH_I2C_Read... [07:49:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:49:34]Read from MH i2c: E2 [07:49:34]MH_I2C_Read... [07:49:34]Read from MH i2c: E2 17 00 [07:49:34]MH_I2C_Read... [07:49:34]Read from MH i2c: E2 17 00 56 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2F [07:49:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [07:49:34]wFMCommunicate OK [07:49:34]requested_item fd.num is exist - process it [07:49:34]SAM_PROTO_GetFieldsCounters [07:49:34]wFMCommunicate request_size=4 [07:49:34]MH_SAM_APDU [07:49:34]CAPDU: 80 13 00 00 [07:49:34]Write to MH i2c: E2 08 00 57 13 80 13 00 00 00 00 00 00 E6 [07:49:34]Write i2c OK [07:49:34]MH_I2C_Read... [07:49:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:49:34]Read from MH i2c: E2 [07:49:34]MH_I2C_Read... [07:49:34]Read from MH i2c: E2 62 00 [07:49:34]MH_I2C_Read... [07:49:34]Read from MH i2c: E2 62 00 57 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 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 77 [07:49:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 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:49:34]wFMCommunicate OK [07:49:34]SAM_PROTO_GetFieldsCounters done [07:49:34]requested_item shift.num is exist - process it [07:49:34]requested_item shift.opened is exist - process it [07:49:34]req_shift_opened [07:49:34]FM_GetShiftState [07:49:34]SAM_PROTO_GetShiftState [07:49:34]wFMCommunicate request_size=4 [07:49:34]MH_SAM_APDU [07:49:34]CAPDU: 80 13 01 00 [07:49:34]Write to MH i2c: E2 08 00 58 13 80 13 01 00 00 00 00 00 E8 [07:49:34]Write i2c OK [07:49:34]MH_I2C_Read... [07:49:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:49:34]Read from MH i2c: E2 [07:49:34]MH_I2C_Read... [07:49:34]Read from MH i2c: E2 0E 00 [07:49:34]MH_I2C_Read... [07:49:34]Read from MH i2c: E2 0E 00 58 13 00 09 00 01 17 74 90 66 00 00 00 00 90 00 75 [07:49:34]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [07:49:34]wFMCommunicate OK [07:49:34]SAM_PROTO_GetShiftState done [07:49:34]FM_GetShiftState done [07:49:34]req_shift_opened done [07:49:34]requested_item shift.open_date is exist - process it [07:49:34]req_shift_open_date [07:49:34]req_shift_open_date done [07:49:34]produce_requested_data done [07:49:34]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [07:49:34]process_action_free close_receipt [07:49:34]json_value_free [07:49:34]json_value_free done [07:49:34]process_json_proto returns [07:49:34]Send response to host [07:49:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [07:49:34]free response buf [07:49:34]execute_script done [07:49:34]execute_script returns [07:49:34]free content buf [07:49:34]Sock 7.Close socket [07:49:34]Sock 7.Thread stoped [07:49:38]OFD Sender: No OFD packet to send [07:49:43]OFD Sender: No OFD packet to send [07:49:48]OFD Sender: No OFD packet to send [07:49:53]OFD Sender: No OFD packet to send [07:49:58]OFD Sender: No OFD packet to send [07:50:03]OFD Sender: No OFD packet to send [07:50:08]OFD Sender: No OFD packet to send [07:50:13]OFD Sender: No OFD packet to send [07:50:18]OFD Sender: No OFD packet to send [07:50:23]OFD Sender: No OFD packet to send [07:50:28]OFD Sender: No OFD packet to send [07:50:33]OFD Sender: No OFD packet to send [07:50:38]OFD Sender: No OFD packet to send [07:50:43]OFD Sender: No OFD packet to send [07:50:48]OFD Sender: No OFD packet to send [07:50:53]OFD Sender: No OFD packet to send [07:50:58]OFD Sender: No OFD packet to send [07:51:03]OFD Sender: No OFD packet to send [07:51:08]OFD Sender: No OFD packet to send [07:51:13]OFD Sender: No OFD packet to send [07:51:18]OFD Sender: No OFD packet to send [07:51:23]OFD Sender: No OFD packet to send [07:51:28]OFD Sender: No OFD packet to send [07:51:33]OFD Sender: No OFD packet to send [07:51:38]OFD Sender: No OFD packet to send [07:51:43]OFD Sender: No OFD packet to send [07:51:48]OFD Sender: No OFD packet to send [07:51:53]OFD Sender: No OFD packet to send [07:51:58]OFD Sender: No OFD packet to send [07:52:03]OFD Sender: No OFD packet to send [07:52:08]OFD Sender: No OFD packet to send [07:52:13]OFD Sender: No OFD packet to send [07:52:18]OFD Sender: No OFD packet to send [07:52:23]OFD Sender: No OFD packet to send [07:52:28]OFD Sender: No OFD packet to send [07:52:33]OFD Sender: No OFD packet to send [07:52:38]OFD Sender: No OFD packet to send [07:52:43]OFD Sender: No OFD packet to send [07:52:48]OFD Sender: No OFD packet to send [07:52:53]OFD Sender: No OFD packet to send [07:52:58]OFD Sender: No OFD packet to send [07:53:03]OFD Sender: No OFD packet to send [07:53:08]OFD Sender: No OFD packet to send [07:53:13]OFD Sender: No OFD packet to send [07:53:18]OFD Sender: No OFD packet to send [07:53:23]OFD Sender: No OFD packet to send [07:53:28]OFD Sender: No OFD packet to send [07:53:33]OFD Sender: No OFD packet to send [07:53:38]OFD Sender: No OFD packet to send [07:53:43]OFD Sender: No OFD packet to send [07:53:48]OFD Sender: No OFD packet to send [07:53:53]OFD Sender: No OFD packet to send [07:53:58]OFD Sender: No OFD packet to send [07:54:03]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:43]OFD Sender: No OFD packet to send [08:00:48]OFD Sender: No OFD packet to send [08:00:53]OFD Sender: No OFD packet to send [08:00:58]OFD Sender: No OFD packet to send [08:01:03]OFD Sender: No OFD packet to send [08:01:08]OFD Sender: No OFD packet to send [08:01:13]OFD Sender: No OFD packet to send [08:01:18]OFD Sender: No OFD packet to send [08:01:23]OFD Sender: No OFD packet to send [08:01:28]OFD Sender: No OFD packet to send [08:01:33]OFD Sender: No OFD packet to send [08:01:38]OFD Sender: No OFD packet to send [08:01:43]OFD Sender: No OFD packet to send [08:01:48]OFD Sender: No OFD packet to send [08:01:53]OFD Sender: No OFD packet to send [08:01:58]OFD Sender: No OFD packet to send [08:02:03]OFD Sender: No OFD packet to send [08:02:08]OFD Sender: No OFD packet to send [08:02:13]OFD Sender: No OFD packet to send [08:02:18]OFD Sender: No OFD packet to send [08:02:23]OFD Sender: No OFD packet to send [08:02:29]OFD Sender: No OFD packet to send [08:02:34]OFD Sender: No OFD packet to send [08:02:39]OFD Sender: No OFD packet to send [08:02:44]OFD Sender: No OFD packet to send [08:02:49]OFD Sender: No OFD packet to send [08:02:54]OFD Sender: No OFD packet to send [08:02:59]OFD Sender: No OFD packet to send [08:03:04]OFD Sender: No OFD packet to send [08:03:09]OFD Sender: No OFD packet to send [08:03:14]OFD Sender: No OFD packet to send [08:03:19]OFD Sender: No OFD packet to send [08:03:24]OFD Sender: No OFD packet to send [08:03:29]OFD Sender: No OFD packet to send [08:03:34]OFD Sender: No OFD packet to send [08:03:39]OFD Sender: No OFD packet to send [08:03:44]OFD Sender: No OFD packet to send [08:03:49]OFD Sender: No OFD packet to send [08:03:54]OFD Sender: No OFD packet to send [08:03:59]OFD Sender: No OFD packet to send [08:04:04]OFD Sender: No OFD packet to send [08:04:09]OFD Sender: No OFD packet to send [08:04:14]OFD Sender: No OFD packet to send [08:04:19]OFD Sender: No OFD packet to send [08:04:24]OFD Sender: No OFD packet to send [08:04:29]OFD Sender: No OFD packet to send [08:04:34]OFD Sender: No OFD packet to send [08:04:39]OFD Sender: No OFD packet to send [08:04:44]OFD Sender: No OFD packet to send [08:04:49]OFD Sender: No OFD packet to send [08:04:54]OFD Sender: No OFD packet to send [08:04:59]OFD Sender: No OFD packet to send [08:05:04]OFD Sender: No OFD packet to send [08:05:09]OFD Sender: No OFD packet to send [08:05:14]OFD Sender: No OFD packet to send [08:05:19]OFD Sender: No OFD packet to send [08:05:24]OFD Sender: No OFD packet to send [08:05:29]OFD Sender: No OFD packet to send [08:05:34]OFD Sender: No OFD packet to send [08:05:39]OFD Sender: No OFD packet to send [08:05:44]OFD Sender: No OFD packet to send [08:05:49]OFD Sender: No OFD packet to send [08:05:54]OFD Sender: No OFD packet to send [08:05:59]OFD Sender: No OFD packet to send [08:06:04]OFD Sender: No OFD packet to send [08:06:09]OFD Sender: No OFD packet to send [08:06:14]OFD Sender: No OFD packet to send [08:06:19]OFD Sender: No OFD packet to send [08:06:24]OFD Sender: No OFD packet to send [08:06:29]OFD Sender: No OFD packet to send [08:06:34]OFD Sender: No OFD packet to send [08:06:39]OFD Sender: No OFD packet to send [08:06:44]OFD Sender: No OFD packet to send [08:06:49]OFD Sender: No OFD packet to send [08:06:54]OFD Sender: No OFD packet to send [08:06:59]OFD Sender: No OFD packet to send [08:07:04]OFD Sender: No OFD packet to send [08:07:09]OFD Sender: No OFD packet to send [08:07:14]OFD Sender: No OFD packet to send [08:07:19]OFD Sender: No OFD packet to send [08:07:24]OFD Sender: No OFD packet to send [08:07:29]OFD Sender: No OFD packet to send [08:07:34]OFD Sender: No OFD packet to send [08:07:39]OFD Sender: No OFD packet to send [08:07:44]OFD Sender: No OFD packet to send [08:07:49]OFD Sender: No OFD packet to send [08:07:54]OFD Sender: No OFD packet to send [08:07:59]OFD Sender: No OFD packet to send [08:08:04]OFD Sender: No OFD packet to send [08:08:09]OFD Sender: No OFD packet to send [08:08:14]OFD Sender: No OFD packet to send [08:08:19]OFD Sender: No OFD packet to send [08:08:24]OFD Sender: No OFD packet to send [08:08:29]OFD Sender: No OFD packet to send [08:08:34]OFD Sender: No OFD packet to send [08:08:39]OFD Sender: No OFD packet to send [08:08:44]OFD Sender: No OFD packet to send [08:08:49]OFD Sender: No OFD packet to send [08:08:54]OFD Sender: No OFD packet to send [08:08:59]OFD Sender: No OFD packet to send [08:09:04]OFD Sender: No OFD packet to send [08:09:09]OFD Sender: No OFD packet to send [08:09:14]OFD Sender: No OFD packet to send [08:09:19]OFD Sender: No OFD packet to send [08:09:24]OFD Sender: No OFD packet to send [08:09:29]OFD Sender: No OFD packet to send [08:09:34]OFD Sender: No OFD packet to send [08:09:39]OFD Sender: No OFD packet to send [08:09:44]OFD Sender: No OFD packet to send [08:09:49]OFD Sender: No OFD packet to send [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:09]OFD Sender: No OFD packet to send [08:10:14]OFD Sender: No OFD packet to send [08:10:19]OFD Sender: No OFD packet to send [08:10:24]OFD Sender: No OFD packet to send [08:10:29]OFD Sender: No OFD packet to send [08:10:34]OFD Sender: No OFD packet to send [08:10:39]OFD Sender: No OFD packet to send [08:10:44]OFD Sender: No OFD packet to send [08:10:49]OFD Sender: No OFD packet to send [08:10:54]OFD Sender: No OFD packet to send [08:10:59]OFD Sender: No OFD packet to send [08:11:04]OFD Sender: No OFD packet to send [08:11:09]OFD Sender: No OFD packet to send [08:11:14]OFD Sender: No OFD packet to send [08:11:19]OFD Sender: No OFD packet to send [08:11:24]OFD Sender: No OFD packet to send [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:19]OFD Sender: No OFD packet to send [08:12:24]OFD Sender: No OFD packet to send [08:12:29]OFD Sender: No OFD packet to send [08:12:34]OFD Sender: No OFD packet to send [08:12:39]OFD Sender: No OFD packet to send [08:12:44]OFD Sender: No OFD packet to send [08:12:49]OFD Sender: No OFD packet to send [08:12:54]OFD Sender: No OFD packet to send [08:12:59]OFD Sender: No OFD packet to send [08:13:04]OFD Sender: No OFD packet to send [08:13:09]OFD Sender: No OFD packet to send [08:13:14]OFD Sender: No OFD packet to send [08:13:19]OFD Sender: No OFD packet to send [08:13:24]OFD Sender: No OFD packet to send [08:13:29]OFD Sender: No OFD packet to send [08:13:34]OFD Sender: No OFD packet to send [08:13:39]OFD Sender: No OFD packet to send [08:13:44]OFD Sender: No OFD packet to send [08:13:49]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:13:59]OFD Sender: No OFD packet to send [08:14:04]OFD Sender: No OFD packet to send [08:14:09]OFD Sender: No OFD packet to send [08:14:14]OFD Sender: No OFD packet to send [08:14:19]OFD Sender: No OFD packet to send [08:14:24]OFD Sender: No OFD packet to send [08:14:29]OFD Sender: No OFD packet to send [08:14:34]OFD Sender: No OFD packet to send [08:14:39]OFD Sender: No OFD packet to send [08:14:44]OFD Sender: No OFD packet to send [08:14:49]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:39]OFD Sender: No OFD packet to send [08:15:44]OFD Sender: No OFD packet to send [08:15:49]OFD Sender: No OFD packet to send [08:15:54]OFD Sender: No OFD packet to send [08:15:59]OFD Sender: No OFD packet to send [08:16:04]OFD Sender: No OFD packet to send [08:16:09]OFD Sender: No OFD packet to send [08:16:14]OFD Sender: No OFD packet to send [08:16:19]OFD Sender: No OFD packet to send [08:16:24]OFD Sender: No OFD packet to send [08:16:29]OFD Sender: No OFD packet to send [08:16:34]OFD Sender: No OFD packet to send [08:16:39]OFD Sender: No OFD packet to send [08:16:44]OFD Sender: No OFD packet to send [08:16:49]OFD Sender: No OFD packet to send [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:04]OFD Sender: No OFD packet to send [08:17:09]OFD Sender: No OFD packet to send [08:17:14]OFD Sender: No OFD packet to send [08:17:19]OFD Sender: No OFD packet to send [08:17:24]OFD Sender: No OFD packet to send [08:17:29]OFD Sender: No OFD packet to send [08:17:34]OFD Sender: No OFD packet to send [08:17:39]OFD Sender: No OFD packet to send [08:17:44]OFD Sender: No OFD packet to send [08:17:49]OFD Sender: No OFD packet to send [08:17:54]OFD Sender: No OFD packet to send [08:17:59]OFD Sender: No OFD packet to send [08:18:04]OFD Sender: No OFD packet to send [08:18:09]OFD Sender: No OFD packet to send [08:18:14]OFD Sender: No OFD packet to send [08:18:19]OFD Sender: No OFD packet to send [08:18:24]OFD Sender: No OFD packet to send [08:18:29]OFD Sender: No OFD packet to send [08:18:34]OFD Sender: No OFD packet to send [08:18:39]OFD Sender: No OFD packet to send [08:18:44]OFD Sender: No OFD packet to send [08:18:49]OFD Sender: No OFD packet to send [08:18:54]OFD Sender: No OFD packet to send [08:18:59]OFD Sender: No OFD packet to send [08:19:04]OFD Sender: No OFD packet to send [08:19:09]OFD Sender: No OFD packet to send [08:19:14]OFD Sender: No OFD packet to send [08:19:19]OFD Sender: No OFD packet to send [08:19:24]OFD Sender: No OFD packet to send [08:19:29]OFD Sender: No OFD packet to send [08:19:34]OFD Sender: No OFD packet to send [08:19:39]OFD Sender: No OFD packet to send [08:19:44]OFD Sender: No OFD packet to send [08:19:49]OFD Sender: No OFD packet to send [08:19:54]OFD Sender: No OFD packet to send [08:19:59]OFD Sender: No OFD packet to send [08:20:04]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:03]accept exits with 9 [08:21:03]New connection [08:21:03]New thread 3066936676 created [08:21:03]Thread 3066793316 joined [08:21:03]Waiting for new connection... [08:21:03] Sock 9.Parse request [08:21:03]Sock 9.Check first char [08:21:03]Sock 9.First char is OK [08:21:03]request: POST /json_proto HTTP/1.0 [08:21:03]Method: POST [08:21:03]URL: /json_proto [08:21:03]Method is POST - this is cgi request [08:21:03]url: /json_proto [08:21:03]query_string will be loaded in cgi processing [08:21:03]execute_cgi json_proto POST (null) [08:21:03]execute_cgi path=json_proto method=POST [08:21:03]POST find Content-Length [08:21:03]Host: 172.17.35.196:8080 [08:21:03]Content-Length: 215 [08:21:03]Content-Type: application/json [08:21:03] [08:21:03]POST finish read [08:21:03]Found Content-Length = 215 [08:21:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:03]execute_script... [08:21:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:03]POST & json_proto [08:21:03]process_json_proto [08:21:03]json parsed OK: [08:21:03]protocol is kg_v1.0 [08:21:03]action value=get_value [08:21:03]process_action get_value [08:21:03]cmd_get_value [08:21:03]process_action get_value done [08:21:03]requested_data is exist [08:21:03]produce_requested_data [08:21:03]requested_item kkm.sn is exist - process it [08:21:03]requested_item kkm.ver is exist - process it [08:21:03]requested_item fm.sn is exist - process it [08:21:03]wFMCommunicate request_size=4 [08:21:03]MH_SAM_APDU [08:21:03]CAPDU: 80 11 00 00 [08:21:03]Write to MH i2c: E2 08 00 59 13 80 11 00 00 00 00 00 00 E6 [08:21:03]Write i2c OK [08:21:03]MH_I2C_Read... [08:21:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:21:03]Read from MH i2c: E2 [08:21:03]MH_I2C_Read... [08:21:03]Read from MH i2c: E2 17 00 [08:21:03]MH_I2C_Read... [08:21:03]Read from MH i2c: E2 17 00 59 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 32 [08:21:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:21:03]wFMCommunicate OK [08:21:03]requested_item fd.num is exist - process it [08:21:03]SAM_PROTO_GetFieldsCounters [08:21:03]wFMCommunicate request_size=4 [08:21:03]MH_SAM_APDU [08:21:03]CAPDU: 80 13 00 00 [08:21:03]Write to MH i2c: E2 08 00 5A 13 80 13 00 00 00 00 00 00 E9 [08:21:03]Write i2c OK [08:21:03]MH_I2C_Read... [08:21:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:21:03]Read from MH i2c: E2 [08:21:03]MH_I2C_Read... [08:21:03]Read from MH i2c: E2 62 00 [08:21:03]MH_I2C_Read... [08:21:03]Read from MH i2c: E2 62 00 5A 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 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 7A [08:21:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:21:03]wFMCommunicate OK [08:21:03]SAM_PROTO_GetFieldsCounters done [08:21:03]requested_item shift.num is exist - process it [08:21:03]requested_item shift.opened is exist - process it [08:21:03]req_shift_opened [08:21:03]FM_GetShiftState [08:21:03]SAM_PROTO_GetShiftState [08:21:03]wFMCommunicate request_size=4 [08:21:03]MH_SAM_APDU [08:21:03]CAPDU: 80 13 01 00 [08:21:03]Write to MH i2c: E2 08 00 5B 13 80 13 01 00 00 00 00 00 EB [08:21:03]Write i2c OK [08:21:03]MH_I2C_Read... [08:21:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:21:03]Read from MH i2c: E2 [08:21:03]MH_I2C_Read... [08:21:03]Read from MH i2c: E2 0E 00 [08:21:03]MH_I2C_Read... [08:21:03]Read from MH i2c: E2 0E 00 5B 13 00 09 00 01 17 74 90 66 00 00 00 00 90 00 78 [08:21:03]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [08:21:03]wFMCommunicate OK [08:21:03]SAM_PROTO_GetShiftState done [08:21:03]FM_GetShiftState done [08:21:03]req_shift_opened done [08:21:03]requested_item shift.open_date is exist - process it [08:21:03]req_shift_open_date [08:21:03]req_shift_open_date done [08:21:03]produce_requested_data done [08:21:03]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [08:21:03]process_action_free get_value [08:21:03]json_value_free [08:21:03]json_value_free done [08:21:03]process_json_proto returns [08:21:03]Send response to host [08:21:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [08:21:03]free response buf [08:21:03]execute_script done [08:21:03]execute_script returns [08:21:03]free content buf [08:21:03]Sock 9.Close socket [08:21:03]Sock 9.Thread stoped [08:21:03]accept exits with 7 [08:21:03]New connection [08:21:03]New thread 3066793316 created [08:21:03]Thread 3066936676 joined [08:21:03]Waiting for new connection... [08:21:03] Sock 7.Parse request [08:21:03]Sock 7.Check first char [08:21:03]Sock 7.First char is OK [08:21:03]request: POST /json_proto HTTP/1.0 [08:21:03]Method: POST [08:21:03]URL: /json_proto [08:21:03]Method is POST - this is cgi request [08:21:03]url: /json_proto [08:21:03]query_string will be loaded in cgi processing [08:21:03]execute_cgi json_proto POST (null) [08:21:03]execute_cgi path=json_proto method=POST [08:21:03]POST find Content-Length [08:21:03]Host: 172.17.35.196:8080 [08:21:03]Content-Length: 331 [08:21:03]Content-Type: application/json [08:21:03] [08:21:03]POST finish read [08:21:03]Found Content-Length = 331 [08:21:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:21:03]execute_script... [08:21:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:21:04]POST & json_proto [08:21:04]process_json_proto [08:21:04]json parsed OK: [08:21:04]protocol is kg_v1.0 [08:21:04]action value=get_value [08:21:04]process_action get_value [08:21:04]cmd_get_value [08:21:04]process_action get_value done [08:21:04]requested_data is exist [08:21:04]produce_requested_data [08:21:04]requested_item fm.sale.total is exist - process it [08:21:04]SAM_PROTO_GetFMData [08:21:04]wFMCommunicate request_size=4 [08:21:04]MH_SAM_APDU [08:21:04]CAPDU: 80 13 03 00 [08:21:04]Write to MH i2c: E2 08 00 5C 13 80 13 03 00 00 00 00 00 EE [08:21:04]Write i2c OK [08:21:04]MH_I2C_Read... [08:21:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:21:04]Read from MH i2c: E2 [08:21:04]MH_I2C_Read... [08:21:04]Read from MH i2c: E2 FD 00 [08:21:04]MH_I2C_Read... [08:21:04]Read from MH i2c: E2 FD 00 5C 13 00 C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 F0 [08:21:04]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [08:21:04]wFMCommunicate OK [08:21:04]wFMCommunicate request_size=4 [08:21:04]MH_SAM_APDU [08:21:04]CAPDU: 80 17 00 00 [08:21:04]Write to MH i2c: E2 08 00 5D 13 80 17 00 00 00 00 00 00 F0 [08:21:04]Write i2c OK [08:21:04]MH_I2C_Read... [08:21:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:04]Read from MH i2c: E2 [08:21:04]MH_I2C_Read... [08:21:04]Read from MH i2c: E2 FD 00 [08:21:04]MH_I2C_Read... [08:21:04]Read from MH i2c: E2 FD 00 5D 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 AD [08:21:04]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [08:21:04]wFMCommunicate OK [08:21:04]wFMCommunicate request_size=4 [08:21:04]MH_SAM_APDU [08:21:04]CAPDU: 80 17 00 00 [08:21:04]Write to MH i2c: E2 08 00 5E 13 80 17 00 00 00 00 00 00 F1 [08:21:04]Write i2c OK [08:21:04]MH_I2C_Read... [08:21:04]OFD Sender: No OFD packet to send [08:21:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:04]Read from MH i2c: E2 [08:21:04]MH_I2C_Read... [08:21:04]Read from MH i2c: E2 FD 00 [08:21:04]MH_I2C_Read... [08:21:04]Read from MH i2c: E2 FD 00 5E 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 06 [08:21:04]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:21:04]wFMCommunicate OK [08:21:04]wFMCommunicate request_size=4 [08:21:04]MH_SAM_APDU [08:21:04]CAPDU: 80 17 00 00 [08:21:04]Write to MH i2c: E2 08 00 5F 13 80 17 00 00 00 00 00 00 F2 [08:21:04]Write i2c OK [08:21:04]MH_I2C_Read... [08:21:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:05]Read from MH i2c: E2 [08:21:05]MH_I2C_Read... [08:21:05]Read from MH i2c: E2 FD 00 [08:21:05]MH_I2C_Read... [08:21:05]Read from MH i2c: E2 FD 00 5F 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6A [08:21:05]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:21:05]wFMCommunicate OK [08:21:05]wFMCommunicate request_size=4 [08:21:05]MH_SAM_APDU [08:21:05]CAPDU: 80 17 00 00 [08:21:05]Write to MH i2c: E2 08 00 60 13 80 17 00 00 00 00 00 00 F3 [08:21:05]Write i2c OK [08:21:05]MH_I2C_Read... [08:21:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [08:21:05]Read from MH i2c: E2 [08:21:05]MH_I2C_Read... [08:21:05]Read from MH i2c: E2 E1 00 [08:21:05]MH_I2C_Read... [08:21:05]Read from MH i2c: E2 E1 00 60 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E1 [08:21:05]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:21:05]wFMCommunicate OK [08:21:05]SAM_PROTO_GetFMData done [08:21:05]requested_item fm.sale_refund.total is exist - process it [08:21:05]requested_item fm.buy.total is exist - process it [08:21:05]requested_item shift.sale.total is exist - process it [08:21:05]SAM_PROTO_GetShiftData [08:21:05]wFMCommunicate request_size=4 [08:21:05]MH_SAM_APDU [08:21:05]CAPDU: 80 13 02 00 [08:21:05]Write to MH i2c: E2 08 00 61 13 80 13 02 00 00 00 00 00 F2 [08:21:05]Write i2c OK [08:21:05]MH_I2C_Read... [08:21:05]Read from MH i2c: E2 [08:21:05]MH_I2C_Read... [08:21:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:21:05]Read from MH i2c: E2 FD 00 [08:21:05]MH_I2C_Read... [08:21:05]Read from MH i2c: E2 FD 00 61 13 00 AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 9C [08:21:05]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:21:05]wFMCommunicate OK [08:21:05]wFMCommunicate request_size=4 [08:21:05]MH_SAM_APDU [08:21:05]CAPDU: 80 17 00 00 [08:21:05]Write to MH i2c: E2 08 00 62 13 80 17 00 00 00 00 00 00 F5 [08:21:05]Write i2c OK [08:21:05]MH_I2C_Read... [08:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:06]Read from MH i2c: E2 [08:21:06]MH_I2C_Read... [08:21:06]Read from MH i2c: E2 FD 00 [08:21:06]MH_I2C_Read... [08:21:06]Read from MH i2c: E2 FD 00 62 13 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 0A [08:21:06]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:21:06]wFMCommunicate OK [08:21:06]wFMCommunicate request_size=4 [08:21:06]MH_SAM_APDU [08:21:06]CAPDU: 80 17 00 00 [08:21:06]Write to MH i2c: E2 08 00 63 13 80 17 00 00 00 00 00 00 F6 [08:21:06]Write i2c OK [08:21:06]MH_I2C_Read... [08:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:06]Read from MH i2c: E2 [08:21:06]MH_I2C_Read... [08:21:06]Read from MH i2c: E2 FD 00 [08:21:06]MH_I2C_Read... [08:21:06]Read from MH i2c: E2 FD 00 63 13 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 B7 [08:21:06]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:21:06]wFMCommunicate OK [08:21:06]wFMCommunicate request_size=4 [08:21:06]MH_SAM_APDU [08:21:06]CAPDU: 80 17 00 00 [08:21:06]Write to MH i2c: E2 08 00 64 13 80 17 00 00 00 00 00 00 F7 [08:21:06]Write i2c OK [08:21:06]MH_I2C_Read... [08:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:06]Read from MH i2c: E2 [08:21:06]MH_I2C_Read... [08:21:06]Read from MH i2c: E2 FD 00 [08:21:06]MH_I2C_Read... [08:21:06]Read from MH i2c: E2 FD 00 64 13 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 6C [08:21:06]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:21:06]wFMCommunicate OK [08:21:06]wFMCommunicate request_size=4 [08:21:06]MH_SAM_APDU [08:21:06]CAPDU: 80 17 00 00 [08:21:06]Write to MH i2c: E2 08 00 65 13 80 17 00 00 00 00 00 00 F8 [08:21:06]Write i2c OK [08:21:06]MH_I2C_Read... [08:21:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:21:07]Read from MH i2c: E2 [08:21:07]MH_I2C_Read... [08:21:07]Read from MH i2c: E2 C9 00 [08:21:07]MH_I2C_Read... [08:21:07]Read from MH i2c: E2 C9 00 65 13 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DC [08:21:07]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:21:07]wFMCommunicate OK [08:21:07]SAM_PROTO_GetShiftData done [08:21:07]requested_item shift.sale.total_cash is exist - process it [08:21:07]requested_item shift.sale_refund.total is exist - process it [08:21:07]requested_item shift.sale_refund.total_cash is exist - process it [08:21:07]requested_item shift.buy.total is exist - process it [08:21:07]requested_item shift.buy.total_cash is exist - process it [08:21:07]produce_requested_data done [08:21:07]produce_requested_data return {"fm.sale.total":10660936.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1566.00,"shift.sale.total_cash":1426.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:21:07]process_action_free get_value [08:21:07]json_value_free [08:21:07]json_value_free done [08:21:07]process_json_proto returns [08:21:07]Send response to host [08:21:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10660936.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1566.00,"shift.sale.total_cash":1426.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:21:07]free response buf [08:21:07]execute_script done [08:21:07]execute_script returns [08:21:07]free content buf [08:21:07]Sock 7.Close socket [08:21:07]Sock 7.Thread stoped [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:36]accept exits with 9 [08:21:36]New connection [08:21:36]New thread 3066936676 created [08:21:36]Thread 3066793316 joined [08:21:36]Waiting for new connection... [08:21:36] Sock 9.Parse request [08:21:36]Sock 9.Check first char [08:21:36]Sock 9.First char is OK [08:21:36]request: POST /json_proto HTTP/1.0 [08:21:36]Method: POST [08:21:36]URL: /json_proto [08:21:36]Method is POST - this is cgi request [08:21:36]url: /json_proto [08:21:36]query_string will be loaded in cgi processing [08:21:36]execute_cgi json_proto POST (null) [08:21:36]execute_cgi path=json_proto method=POST [08:21:36]POST find Content-Length [08:21:36]Host: 172.17.35.196:8080 [08:21:36]Content-Length: 215 [08:21:36]Content-Type: application/json [08:21:36] [08:21:36]POST finish read [08:21:36]Found Content-Length = 215 [08:21:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:36]execute_script... [08:21:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:36]POST & json_proto [08:21:36]process_json_proto [08:21:36]json parsed OK: [08:21:36]protocol is kg_v1.0 [08:21:36]action value=get_value [08:21:36]process_action get_value [08:21:36]cmd_get_value [08:21:36]process_action get_value done [08:21:36]requested_data is exist [08:21:36]produce_requested_data [08:21:36]requested_item kkm.sn is exist - process it [08:21:36]requested_item kkm.ver is exist - process it [08:21:36]requested_item fm.sn is exist - process it [08:21:36]wFMCommunicate request_size=4 [08:21:36]MH_SAM_APDU [08:21:36]CAPDU: 80 11 00 00 [08:21:36]Write to MH i2c: E2 08 00 66 13 80 11 00 00 00 00 00 00 F3 [08:21:36]Write i2c OK [08:21:36]MH_I2C_Read... [08:21:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:21:36]Read from MH i2c: E2 [08:21:36]MH_I2C_Read... [08:21:36]Read from MH i2c: E2 17 00 [08:21:36]MH_I2C_Read... [08:21:36]Read from MH i2c: E2 17 00 66 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 3F [08:21:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:21:36]wFMCommunicate OK [08:21:36]requested_item fd.num is exist - process it [08:21:36]SAM_PROTO_GetFieldsCounters [08:21:36]wFMCommunicate request_size=4 [08:21:36]MH_SAM_APDU [08:21:36]CAPDU: 80 13 00 00 [08:21:36]Write to MH i2c: E2 08 00 67 13 80 13 00 00 00 00 00 00 F6 [08:21:36]Write i2c OK [08:21:36]MH_I2C_Read... [08:21:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:21:36]Read from MH i2c: E2 [08:21:36]MH_I2C_Read... [08:21:36]Read from MH i2c: E2 62 00 [08:21:36]MH_I2C_Read... [08:21:36]Read from MH i2c: E2 62 00 67 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 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 87 [08:21:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:21:36]wFMCommunicate OK [08:21:36]SAM_PROTO_GetFieldsCounters done [08:21:36]requested_item shift.num is exist - process it [08:21:36]requested_item shift.opened is exist - process it [08:21:36]req_shift_opened [08:21:36]FM_GetShiftState [08:21:36]SAM_PROTO_GetShiftState [08:21:36]wFMCommunicate request_size=4 [08:21:36]MH_SAM_APDU [08:21:36]CAPDU: 80 13 01 00 [08:21:36]Write to MH i2c: E2 08 00 68 13 80 13 01 00 00 00 00 00 F8 [08:21:36]Write i2c OK [08:21:36]MH_I2C_Read... [08:21:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:21:36]Read from MH i2c: E2 [08:21:36]MH_I2C_Read... [08:21:36]Read from MH i2c: E2 0E 00 [08:21:36]MH_I2C_Read... [08:21:36]Read from MH i2c: E2 0E 00 68 13 00 09 00 01 17 74 90 66 00 00 00 00 90 00 85 [08:21:36]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [08:21:36]wFMCommunicate OK [08:21:36]SAM_PROTO_GetShiftState done [08:21:36]FM_GetShiftState done [08:21:36]req_shift_opened done [08:21:36]requested_item shift.open_date is exist - process it [08:21:36]req_shift_open_date [08:21:36]req_shift_open_date done [08:21:36]produce_requested_data done [08:21:36]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [08:21:36]process_action_free get_value [08:21:36]json_value_free [08:21:36]json_value_free done [08:21:36]process_json_proto returns [08:21:36]Send response to host [08:21:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [08:21:36]free response buf [08:21:36]execute_script done [08:21:36]execute_script returns [08:21:36]free content buf [08:21:36]Sock 9.Close socket [08:21:36]Sock 9.Thread stoped [08:21:36]accept exits with 7 [08:21:36]New connection [08:21:36]New thread 3066793316 created [08:21:36]Thread 3066936676 joined [08:21:36]Waiting for new connection... [08:21:36] Sock 7.Parse request [08:21:36]Sock 7.Check first char [08:21:36]Sock 7.First char is OK [08:21:36]request: POST /json_proto HTTP/1.0 [08:21:36]Method: POST [08:21:36]URL: /json_proto [08:21:36]Method is POST - this is cgi request [08:21:36]url: /json_proto [08:21:36]query_string will be loaded in cgi processing [08:21:36]execute_cgi json_proto POST (null) [08:21:36]execute_cgi path=json_proto method=POST [08:21:36]POST find Content-Length [08:21:36]Host: 172.17.35.196:8080 [08:21:36]Content-Length: 331 [08:21:36]Content-Type: application/json [08:21:36] [08:21:36]POST finish read [08:21:36]Found Content-Length = 331 [08:21:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:21:36]execute_script... [08:21:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:21:37]POST & json_proto [08:21:37]process_json_proto [08:21:37]json parsed OK: [08:21:37]protocol is kg_v1.0 [08:21:37]action value=get_value [08:21:37]process_action get_value [08:21:37]cmd_get_value [08:21:37]process_action get_value done [08:21:37]requested_data is exist [08:21:37]produce_requested_data [08:21:37]requested_item fm.sale.total is exist - process it [08:21:37]SAM_PROTO_GetFMData [08:21:37]wFMCommunicate request_size=4 [08:21:37]MH_SAM_APDU [08:21:37]CAPDU: 80 13 03 00 [08:21:37]Write to MH i2c: E2 08 00 69 13 80 13 03 00 00 00 00 00 FB [08:21:37]Write i2c OK [08:21:37]MH_I2C_Read... [08:21:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:21:37]Read from MH i2c: E2 [08:21:37]MH_I2C_Read... [08:21:37]Read from MH i2c: E2 FD 00 [08:21:37]MH_I2C_Read... [08:21:37]Read from MH i2c: E2 FD 00 69 13 00 C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 FD [08:21:37]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [08:21:37]wFMCommunicate OK [08:21:37]wFMCommunicate request_size=4 [08:21:37]MH_SAM_APDU [08:21:37]CAPDU: 80 17 00 00 [08:21:37]Write to MH i2c: E2 08 00 6A 13 80 17 00 00 00 00 00 00 FD [08:21:37]Write i2c OK [08:21:37]MH_I2C_Read... [08:21:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:37]Read from MH i2c: E2 [08:21:37]MH_I2C_Read... [08:21:37]Read from MH i2c: E2 FD 00 [08:21:37]MH_I2C_Read... [08:21:37]Read from MH i2c: E2 FD 00 6A 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 BA [08:21:37]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [08:21:37]wFMCommunicate OK [08:21:37]wFMCommunicate request_size=4 [08:21:37]MH_SAM_APDU [08:21:37]CAPDU: 80 17 00 00 [08:21:37]Write to MH i2c: E2 08 00 6B 13 80 17 00 00 00 00 00 00 FE [08:21:37]Write i2c OK [08:21:37]MH_I2C_Read... [08:21:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:37]Read from MH i2c: E2 [08:21:37]MH_I2C_Read... [08:21:37]Read from MH i2c: E2 FD 00 [08:21:37]MH_I2C_Read... [08:21:37]Read from MH i2c: E2 FD 00 6B 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 13 [08:21:37]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:21:38]wFMCommunicate OK [08:21:38]wFMCommunicate request_size=4 [08:21:38]MH_SAM_APDU [08:21:38]CAPDU: 80 17 00 00 [08:21:38]Write to MH i2c: E2 08 00 6C 13 80 17 00 00 00 00 00 00 FF [08:21:38]Write i2c OK [08:21:38]MH_I2C_Read... [08:21:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:38]Read from MH i2c: E2 [08:21:38]MH_I2C_Read... [08:21:38]Read from MH i2c: E2 FD 00 [08:21:38]MH_I2C_Read... [08:21:38]Read from MH i2c: E2 FD 00 6C 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 77 [08:21:38]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:21:38]wFMCommunicate OK [08:21:38]wFMCommunicate request_size=4 [08:21:38]MH_SAM_APDU [08:21:38]CAPDU: 80 17 00 00 [08:21:38]Write to MH i2c: E2 08 00 6D 13 80 17 00 00 00 00 00 00 00 [08:21:38]Write i2c OK [08:21:38]MH_I2C_Read... [08:21:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [08:21:38]Read from MH i2c: E2 [08:21:38]MH_I2C_Read... [08:21:38]Read from MH i2c: E2 E1 00 [08:21:38]MH_I2C_Read... [08:21:38]Read from MH i2c: E2 E1 00 6D 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EE [08:21:38]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:21:38]wFMCommunicate OK [08:21:38]SAM_PROTO_GetFMData done [08:21:38]requested_item fm.sale_refund.total is exist - process it [08:21:38]requested_item fm.buy.total is exist - process it [08:21:38]requested_item shift.sale.total is exist - process it [08:21:38]SAM_PROTO_GetShiftData [08:21:38]wFMCommunicate request_size=4 [08:21:38]MH_SAM_APDU [08:21:38]CAPDU: 80 13 02 00 [08:21:38]Write to MH i2c: E2 08 00 6E 13 80 13 02 00 00 00 00 00 FF [08:21:38]Write i2c OK [08:21:38]MH_I2C_Read... [08:21:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:21:38]Read from MH i2c: E2 [08:21:38]MH_I2C_Read... [08:21:38]Read from MH i2c: E2 FD 00 [08:21:38]MH_I2C_Read... [08:21:38]Read from MH i2c: E2 FD 00 6E 13 00 AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 A9 [08:21:38]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:21:38]wFMCommunicate OK [08:21:38]wFMCommunicate request_size=4 [08:21:38]MH_SAM_APDU [08:21:38]CAPDU: 80 17 00 00 [08:21:39]Write to MH i2c: E2 08 00 6F 13 80 17 00 00 00 00 00 00 02 [08:21:39]Write i2c OK [08:21:39]MH_I2C_Read... [08:21:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:39]Read from MH i2c: E2 [08:21:39]MH_I2C_Read... [08:21:39]Read from MH i2c: E2 FD 00 [08:21:39]MH_I2C_Read... [08:21:39]Read from MH i2c: E2 FD 00 6F 13 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 17 [08:21:39]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:21:39]wFMCommunicate OK [08:21:39]wFMCommunicate request_size=4 [08:21:39]MH_SAM_APDU [08:21:39]CAPDU: 80 17 00 00 [08:21:39]Write to MH i2c: E2 08 00 70 13 80 17 00 00 00 00 00 00 03 [08:21:39]Write i2c OK [08:21:39]MH_I2C_Read... [08:21:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:39]Read from MH i2c: E2 [08:21:39]MH_I2C_Read... [08:21:39]Read from MH i2c: E2 FD 00 [08:21:39]MH_I2C_Read... [08:21:39]Read from MH i2c: E2 FD 00 70 13 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 C4 [08:21:39]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:21:39]wFMCommunicate OK [08:21:39]wFMCommunicate request_size=4 [08:21:39]MH_SAM_APDU [08:21:39]CAPDU: 80 17 00 00 [08:21:39]Write to MH i2c: E2 08 00 71 13 80 17 00 00 00 00 00 00 04 [08:21:39]Write i2c OK [08:21:39]MH_I2C_Read... [08:21:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:39]Read from MH i2c: E2 [08:21:39]MH_I2C_Read... [08:21:39]Read from MH i2c: E2 FD 00 [08:21:39]MH_I2C_Read... [08:21:39]Read from MH i2c: E2 FD 00 71 13 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 79 [08:21:39]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:21:39]wFMCommunicate OK [08:21:39]wFMCommunicate request_size=4 [08:21:39]MH_SAM_APDU [08:21:39]CAPDU: 80 17 00 00 [08:21:39]Write to MH i2c: E2 08 00 72 13 80 17 00 00 00 00 00 00 05 [08:21:39]Write i2c OK [08:21:39]MH_I2C_Read... [08:21:39]OFD Sender: No OFD packet to send [08:21:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:21:40]Read from MH i2c: E2 [08:21:40]MH_I2C_Read... [08:21:40]Read from MH i2c: E2 C9 00 [08:21:40]MH_I2C_Read... [08:21:40]Read from MH i2c: E2 C9 00 72 13 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E9 [08:21:40]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:21:40]wFMCommunicate OK [08:21:40]SAM_PROTO_GetShiftData done [08:21:40]requested_item shift.sale.total_cash is exist - process it [08:21:40]requested_item shift.sale_refund.total is exist - process it [08:21:40]requested_item shift.sale_refund.total_cash is exist - process it [08:21:40]requested_item shift.buy.total is exist - process it [08:21:40]requested_item shift.buy.total_cash is exist - process it [08:21:40]produce_requested_data done [08:21:40]produce_requested_data return {"fm.sale.total":10660936.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1566.00,"shift.sale.total_cash":1426.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:21:40]process_action_free get_value [08:21:40]json_value_free [08:21:40]json_value_free done [08:21:40]process_json_proto returns [08:21:40]Send response to host [08:21:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10660936.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1566.00,"shift.sale.total_cash":1426.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:21:40]free response buf [08:21:40]execute_script done [08:21:40]execute_script returns [08:21:40]free content buf [08:21:40]Sock 7.Close socket [08:21:40]Sock 7.Thread stoped [08:21:40]accept exits with 9 [08:21:40]New connection [08:21:40]New thread 3066936676 created [08:21:40]Thread 3066793316 joined [08:21:40]Waiting for new connection... [08:21:40] Sock 9.Parse request [08:21:40]Sock 9.Check first char [08:21:40]Sock 9.First char is OK [08:21:40]request: POST /json_proto HTTP/1.0 [08:21:40]Method: POST [08:21:40]URL: /json_proto [08:21:40]Method is POST - this is cgi request [08:21:40]url: /json_proto [08:21:40]query_string will be loaded in cgi processing [08:21:40]execute_cgi json_proto POST (null) [08:21:40]execute_cgi path=json_proto method=POST [08:21:40]POST find Content-Length [08:21:40]Host: 172.17.35.196:8080 [08:21:40]Content-Length: 331 [08:21:40]Content-Type: application/json [08:21:40] [08:21:40]POST finish read [08:21:40]Found Content-Length = 331 [08:21:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:21:40]execute_script... [08:21:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:21:40]POST & json_proto [08:21:40]process_json_proto [08:21:40]json parsed OK: [08:21:40]protocol is kg_v1.0 [08:21:40]action value=get_value [08:21:40]process_action get_value [08:21:40]cmd_get_value [08:21:40]process_action get_value done [08:21:40]requested_data is exist [08:21:40]produce_requested_data [08:21:40]requested_item fm.sale.total is exist - process it [08:21:40]SAM_PROTO_GetFMData [08:21:40]wFMCommunicate request_size=4 [08:21:40]MH_SAM_APDU [08:21:40]CAPDU: 80 13 03 00 [08:21:40]Write to MH i2c: E2 08 00 73 13 80 13 03 00 00 00 00 00 05 [08:21:40]Write i2c OK [08:21:40]MH_I2C_Read... [08:21:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:21:40]Read from MH i2c: E2 [08:21:40]MH_I2C_Read... [08:21:40]Read from MH i2c: E2 FD 00 [08:21:40]MH_I2C_Read... [08:21:40]Read from MH i2c: E2 FD 00 73 13 00 C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 07 [08:21:40]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [08:21:40]wFMCommunicate OK [08:21:40]wFMCommunicate request_size=4 [08:21:40]MH_SAM_APDU [08:21:40]CAPDU: 80 17 00 00 [08:21:40]Write to MH i2c: E2 08 00 74 13 80 17 00 00 00 00 00 00 07 [08:21:40]Write i2c OK [08:21:40]MH_I2C_Read... [08:21:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:41]Read from MH i2c: E2 [08:21:41]MH_I2C_Read... [08:21:41]Read from MH i2c: E2 FD 00 [08:21:41]MH_I2C_Read... [08:21:41]Read from MH i2c: E2 FD 00 74 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 C4 [08:21:41]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [08:21:41]wFMCommunicate OK [08:21:41]wFMCommunicate request_size=4 [08:21:41]MH_SAM_APDU [08:21:41]CAPDU: 80 17 00 00 [08:21:41]Write to MH i2c: E2 08 00 75 13 80 17 00 00 00 00 00 00 08 [08:21:41]Write i2c OK [08:21:41]MH_I2C_Read... [08:21:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:41]Read from MH i2c: E2 [08:21:41]MH_I2C_Read... [08:21:41]Read from MH i2c: E2 FD 00 [08:21:41]MH_I2C_Read... [08:21:41]Read from MH i2c: E2 FD 00 75 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1D [08:21:41]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:21:41]wFMCommunicate OK [08:21:41]wFMCommunicate request_size=4 [08:21:41]MH_SAM_APDU [08:21:41]CAPDU: 80 17 00 00 [08:21:41]Write to MH i2c: E2 08 00 76 13 80 17 00 00 00 00 00 00 09 [08:21:41]Write i2c OK [08:21:41]MH_I2C_Read... [08:21:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:41]Read from MH i2c: E2 [08:21:41]MH_I2C_Read... [08:21:41]Read from MH i2c: E2 FD 00 [08:21:41]MH_I2C_Read... [08:21:41]Read from MH i2c: E2 FD 00 76 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 81 [08:21:41]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:21:42]wFMCommunicate OK [08:21:42]wFMCommunicate request_size=4 [08:21:42]MH_SAM_APDU [08:21:42]CAPDU: 80 17 00 00 [08:21:42]Write to MH i2c: E2 08 00 77 13 80 17 00 00 00 00 00 00 0A [08:21:42]Write i2c OK [08:21:42]MH_I2C_Read... [08:21:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [08:21:42]Read from MH i2c: E2 [08:21:42]MH_I2C_Read... [08:21:42]Read from MH i2c: E2 E1 00 [08:21:42]MH_I2C_Read... [08:21:42]Read from MH i2c: E2 E1 00 77 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F8 [08:21:42]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:21:42]wFMCommunicate OK [08:21:42]SAM_PROTO_GetFMData done [08:21:42]requested_item fm.sale_refund.total is exist - process it [08:21:42]requested_item fm.buy.total is exist - process it [08:21:42]requested_item shift.sale.total is exist - process it [08:21:42]SAM_PROTO_GetShiftData [08:21:42]wFMCommunicate request_size=4 [08:21:42]MH_SAM_APDU [08:21:42]CAPDU: 80 13 02 00 [08:21:42]Write to MH i2c: E2 08 00 78 13 80 13 02 00 00 00 00 00 09 [08:21:42]Write i2c OK [08:21:42]MH_I2C_Read... [08:21:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:21:42]Read from MH i2c: E2 [08:21:42]MH_I2C_Read... [08:21:42]Read from MH i2c: E2 FD 00 [08:21:42]MH_I2C_Read... [08:21:42]Read from MH i2c: E2 FD 00 78 13 00 AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 B3 [08:21:42]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:21:42]wFMCommunicate OK [08:21:42]wFMCommunicate request_size=4 [08:21:42]MH_SAM_APDU [08:21:42]CAPDU: 80 17 00 00 [08:21:43]Write to MH i2c: E2 08 00 79 13 80 17 00 00 00 00 00 00 0C [08:21:43]Write i2c OK [08:21:43]MH_I2C_Read... [08:21:43]Read from MH i2c: E2 [08:21:43]MH_I2C_Read... [08:21:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:43]Read from MH i2c: E2 FD 00 [08:21:43]MH_I2C_Read... [08:21:43]Read from MH i2c: E2 FD 00 79 13 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 21 [08:21:43]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:21:43]wFMCommunicate OK [08:21:43]wFMCommunicate request_size=4 [08:21:43]MH_SAM_APDU [08:21:43]CAPDU: 80 17 00 00 [08:21:43]Write to MH i2c: E2 08 00 7A 13 80 17 00 00 00 00 00 00 0D [08:21:43]Write i2c OK [08:21:43]MH_I2C_Read... [08:21:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:43]Read from MH i2c: E2 [08:21:43]MH_I2C_Read... [08:21:43]Read from MH i2c: E2 FD 00 [08:21:43]MH_I2C_Read... [08:21:43]Read from MH i2c: E2 FD 00 7A 13 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 CE [08:21:43]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:21:43]wFMCommunicate OK [08:21:43]wFMCommunicate request_size=4 [08:21:43]MH_SAM_APDU [08:21:43]CAPDU: 80 17 00 00 [08:21:43]Write to MH i2c: E2 08 00 7B 13 80 17 00 00 00 00 00 00 0E [08:21:43]Write i2c OK [08:21:43]MH_I2C_Read... [08:21:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:44]Read from MH i2c: E2 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: E2 FD 00 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: E2 FD 00 7B 13 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 83 [08:21:44]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:21:44]wFMCommunicate OK [08:21:44]wFMCommunicate request_size=4 [08:21:44]MH_SAM_APDU [08:21:44]CAPDU: 80 17 00 00 [08:21:44]Write to MH i2c: E2 08 00 7C 13 80 17 00 00 00 00 00 00 0F [08:21:44]Write i2c OK [08:21:44]MH_I2C_Read... [08:21:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:21:44]Read from MH i2c: E2 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: E2 C9 00 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: E2 C9 00 7C 13 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F3 [08:21:44]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:21:44]wFMCommunicate OK [08:21:44]SAM_PROTO_GetShiftData done [08:21:44]requested_item shift.sale.total_cash is exist - process it [08:21:44]requested_item shift.sale_refund.total is exist - process it [08:21:44]requested_item shift.sale_refund.total_cash is exist - process it [08:21:44]requested_item shift.buy.total is exist - process it [08:21:44]requested_item shift.buy.total_cash is exist - process it [08:21:44]produce_requested_data done [08:21:44]produce_requested_data return {"fm.sale.total":10660936.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1566.00,"shift.sale.total_cash":1426.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:21:44]process_action_free get_value [08:21:44]json_value_free [08:21:44]json_value_free done [08:21:44]process_json_proto returns [08:21:44]Send response to host [08:21:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10660936.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1566.00,"shift.sale.total_cash":1426.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:21:44]free response buf [08:21:44]execute_script done [08:21:44]execute_script returns [08:21:44]free content buf [08:21:44]Sock 9.Close socket [08:21:44]Sock 9.Thread stoped [08:21:44]accept exits with 7 [08:21:44]New connection [08:21:44]New thread 3066793316 created [08:21:44]Thread 3066936676 joined [08:21:44]Waiting for new connection... [08:21:44] Sock 7.Parse request [08:21:44]Sock 7.Check first char [08:21:44]Sock 7.First char is OK [08:21:44]request: POST /json_proto HTTP/1.0 [08:21:44]Method: POST [08:21:44]URL: /json_proto [08:21:44]Method is POST - this is cgi request [08:21:44]url: /json_proto [08:21:44]query_string will be loaded in cgi processing [08:21:44]execute_cgi json_proto POST (null) [08:21:44]execute_cgi path=json_proto method=POST [08:21:44]POST find Content-Length [08:21:44]Host: 172.17.35.196:8080 [08:21:44]Content-Length: 263 [08:21:44]Content-Type: application/json [08:21:44] [08:21:44]POST finish read [08:21:44]Found Content-Length = 263 [08:21:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:44]execute_script... [08:21:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:44]POST & json_proto [08:21:44]process_json_proto [08:21:44]json parsed OK: [08:21:44]protocol is kg_v1.0 [08:21:44]action value=x_report [08:21:44]process_action x_report [08:21:44]cmd_x_report [08:21:44]MH_GetDate [08:21:44]Write to MH i2c: F0 00 00 7D 13 7F [08:21:44]Write i2c OK [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: F0 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: F0 09 00 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: F0 09 00 7D 13 00 9D E7 90 66 AD 14 F4 65 1C [08:21:44]GetLastDocTimeStamp 1720770574 [08:21:44]current date 1720772509 [08:21:44]FM_GetShiftState [08:21:44]SAM_PROTO_GetShiftState [08:21:44]wFMCommunicate request_size=4 [08:21:44]MH_SAM_APDU [08:21:44]CAPDU: 80 13 01 00 [08:21:44]Write to MH i2c: E2 08 00 7E 13 80 13 01 00 00 00 00 00 0E [08:21:44]Write i2c OK [08:21:44]MH_I2C_Read... [08:21:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:21:44]Read from MH i2c: E2 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: E2 0E 00 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: E2 0E 00 7E 13 00 09 00 01 17 74 90 66 00 00 00 00 90 00 9B [08:21:44]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [08:21:44]wFMCommunicate OK [08:21:44]SAM_PROTO_GetShiftState done [08:21:44]FM_GetShiftState done [08:21:44]KKMCreateXReportDocument [08:21:44]Load OK [08:21:44]Malloc new data [08:21:44]MH_GetDate [08:21:44]Write to MH i2c: F0 00 00 7F 13 81 [08:21:44]Write i2c OK [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: F0 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: F0 09 00 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: F0 09 00 7F 13 00 9D E7 90 66 AD 14 F4 65 1E [08:21:44]Malloc new data [08:21:44]Malloc new data [08:21:44]wFMCommunicate request_size=4 [08:21:44]MH_SAM_APDU [08:21:44]CAPDU: 80 11 00 00 [08:21:44]Write to MH i2c: E2 08 00 80 13 80 11 00 00 00 00 00 00 0D [08:21:44]Write i2c OK [08:21:44]MH_I2C_Read... [08:21:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:21:44]Read from MH i2c: E2 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: E2 17 00 [08:21:44]MH_I2C_Read... [08:21:44]Read from MH i2c: E2 17 00 80 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 59 [08:21:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:21:44]wFMCommunicate OK [08:21:44]SAM_PROTO_GetFieldsCounters [08:21:44]wFMCommunicate request_size=4 [08:21:44]MH_SAM_APDU [08:21:44]CAPDU: 80 13 00 00 [08:21:44]Write to MH i2c: E2 08 00 81 13 80 13 00 00 00 00 00 00 10 [08:21:44]Write i2c OK [08:21:44]MH_I2C_Read... [08:21:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:21:45]Read from MH i2c: E2 [08:21:45]MH_I2C_Read... [08:21:45]Read from MH i2c: E2 62 00 [08:21:45]MH_I2C_Read... [08:21:45]Read from MH i2c: E2 62 00 81 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 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 A1 [08:21:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:21:45]wFMCommunicate OK [08:21:45]SAM_PROTO_GetFieldsCounters done [08:21:45]Malloc new data [08:21:45]Malloc new data [08:21:45]Malloc new data [08:21:45]KKMCreateXReportDocument OK [08:21:45]KKMSetXReportData OK [08:21:45]KKMPrepareXReportFMData [08:21:45]SAM_PROTO_GetShiftData [08:21:45]wFMCommunicate request_size=4 [08:21:45]MH_SAM_APDU [08:21:45]CAPDU: 80 13 02 00 [08:21:45]Write to MH i2c: E2 08 00 82 13 80 13 02 00 00 00 00 00 13 [08:21:45]OFD Sender: No OFD packet to send [08:21:45]Write i2c OK [08:21:45]MH_I2C_Read... [08:21:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:21:45]Read from MH i2c: E2 [08:21:45]MH_I2C_Read... [08:21:45]Read from MH i2c: E2 FD 00 [08:21:45]MH_I2C_Read... [08:21:45]Read from MH i2c: E2 FD 00 82 13 00 AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 BD [08:21:45]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:21:45]wFMCommunicate OK [08:21:45]wFMCommunicate request_size=4 [08:21:45]MH_SAM_APDU [08:21:45]CAPDU: 80 17 00 00 [08:21:45]Write to MH i2c: E2 08 00 83 13 80 17 00 00 00 00 00 00 16 [08:21:45]Write i2c OK [08:21:45]MH_I2C_Read... [08:21:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:46]Read from MH i2c: E2 [08:21:46]MH_I2C_Read... [08:21:46]Read from MH i2c: E2 FD 00 [08:21:46]MH_I2C_Read... [08:21:46]Read from MH i2c: E2 FD 00 83 13 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 2B [08:21:46]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:21:46]wFMCommunicate OK [08:21:46]wFMCommunicate request_size=4 [08:21:46]MH_SAM_APDU [08:21:46]CAPDU: 80 17 00 00 [08:21:46]Write to MH i2c: E2 08 00 84 13 80 17 00 00 00 00 00 00 17 [08:21:46]Write i2c OK [08:21:46]MH_I2C_Read... [08:21:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:46]Read from MH i2c: E2 [08:21:46]MH_I2C_Read... [08:21:46]Read from MH i2c: E2 FD 00 [08:21:46]MH_I2C_Read... [08:21:46]Read from MH i2c: E2 FD 00 84 13 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 D8 [08:21:46]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:21:46]wFMCommunicate OK [08:21:46]wFMCommunicate request_size=4 [08:21:46]MH_SAM_APDU [08:21:46]CAPDU: 80 17 00 00 [08:21:46]Write to MH i2c: E2 08 00 85 13 80 17 00 00 00 00 00 00 18 [08:21:46]Write i2c OK [08:21:46]MH_I2C_Read... [08:21:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:47]Read from MH i2c: E2 [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: E2 FD 00 [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: E2 FD 00 85 13 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 8D [08:21:47]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:21:47]wFMCommunicate OK [08:21:47]wFMCommunicate request_size=4 [08:21:47]MH_SAM_APDU [08:21:47]CAPDU: 80 17 00 00 [08:21:47]Write to MH i2c: E2 08 00 86 13 80 17 00 00 00 00 00 00 19 [08:21:47]Write i2c OK [08:21:47]MH_I2C_Read... [08:21:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:21:47]Read from MH i2c: E2 [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: E2 C9 00 [08:21:47]MH_I2C_Read... [08:21:47]Read from MH i2c: E2 C9 00 86 13 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FD [08:21:47]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:21:47]wFMCommunicate OK [08:21:47]SAM_PROTO_GetShiftData done [08:21:47]1194 (1192) - счетчики итогов смены [08:21:47] 1134 (4) - 8 - количество чеков со всеми признаками расчетов [08:21:47] 1129 (153) - счетчики операций «приход» [08:21:47] 1135 (4) - 8 - количество чеков по признаку расчетов [08:21:47] 1201 (3) - 1566.00 - общая итоговая сумма в чеках [08:21:47] 1136 (3) - 1426.00 - итоговая сумма в чеках наличными [08:21:47] 1138 (2) - 140.00 - итоговая сумма в чеках безналичными [08:21:47] 1024 (121) - суммы налогов [08:21:47] 1006 (9) - суммы НДС [08:21:47] 1010 (1) - 0% - код ставки НДС [08:21:47] 1011 (0) - 0.00 - сумма НДС по ставке [08:21:47] 1006 (11) - суммы НДС [08:21:47] 1010 (1) - 12% - код ставки НДС [08:21:47] 1011 (2) - 166.31 - сумма НДС по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 0% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (11) - суммы НСП [08:21:47] 1014 (1) - 1% - код ставки НСП [08:21:47] 1015 (2) - 13.86 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 2% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 3% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 5% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 0,50% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 1,50% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1130 (141) - счетчики операций «возврат прихода» [08:21:47] 1135 (4) - 0 - количество чеков по признаку расчетов [08:21:47] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:21:47] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:21:47] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:21:47] 1024 (117) - суммы налогов [08:21:47] 1006 (9) - суммы НДС [08:21:47] 1010 (1) - 0% - код ставки НДС [08:21:47] 1011 (0) - 0.00 - сумма НДС по ставке [08:21:47] 1006 (9) - суммы НДС [08:21:47] 1010 (1) - 12% - код ставки НДС [08:21:47] 1011 (0) - 0.00 - сумма НДС по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 0% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 1% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 2% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 3% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 5% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 0,50% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 1,50% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1131 (141) - счетчики операций «расход» [08:21:47] 1135 (4) - 0 - количество чеков по признаку расчетов [08:21:47] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:21:47] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:21:47] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:21:47] 1024 (117) - суммы налогов [08:21:47] 1006 (9) - суммы НДС [08:21:47] 1010 (1) - 0% - код ставки НДС [08:21:47] 1011 (0) - 0.00 - сумма НДС по ставке [08:21:47] 1006 (9) - суммы НДС [08:21:47] 1010 (1) - 12% - код ставки НДС [08:21:47] 1011 (0) - 0.00 - сумма НДС по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 0% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 1% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 2% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 3% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 5% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 0,50% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 1,50% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1132 (141) - счетчики операций «возврат расхода» [08:21:47] 1135 (4) - 0 - количество чеков по признаку расчетов [08:21:47] 1201 (0) - 0.00 - общая итоговая сумма в чеках [08:21:47] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [08:21:47] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [08:21:47] 1024 (117) - суммы налогов [08:21:47] 1006 (9) - суммы НДС [08:21:47] 1010 (1) - 0% - код ставки НДС [08:21:47] 1011 (0) - 0.00 - сумма НДС по ставке [08:21:47] 1006 (9) - суммы НДС [08:21:47] 1010 (1) - 12% - код ставки НДС [08:21:47] 1011 (0) - 0.00 - сумма НДС по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 0% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 1% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 2% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 3% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 5% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 0,50% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1007 (9) - суммы НСП [08:21:47] 1014 (1) - 1,50% - код ставки НСП [08:21:47] 1015 (0) - 0.00 - сумма НСП по ставке [08:21:47] 1133 (588) - - счетчики коррекции - не используются [08:21:47]SetTLVBufToDocument [08:21:47]Processing tag 1194 (04AA) [08:21:47]Load OK [08:21:47]SetTLVBufToDocument [08:21:47]Processing tag 1134 (046E) [08:21:47]Malloc new data [08:21:47]Processing tag 1129 (0469) [08:21:47]Load OK [08:21:47]SetTLVBufToDocument [08:21:47]Processing tag 1135 (046F) [08:21:47]Malloc new data [08:21:47]Processing tag 1201 (04B1) [08:21:48]Malloc new data [08:21:48]Processing tag 1136 (0470) [08:21:48]Malloc new data [08:21:48]Processing tag 1138 (0472) [08:21:48]Malloc new data [08:21:48]Processing tag 1024 (0400) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1006 (03EE) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1010 (03F2) [08:21:48]Malloc new data [08:21:48]Processing tag 1011 (03F3) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1006 (03EE) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1010 (03F2) [08:21:48]Malloc new data [08:21:48]Processing tag 1011 (03F3) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1130 (046A) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1135 (046F) [08:21:48]Malloc new data [08:21:48]Processing tag 1201 (04B1) [08:21:48]Malloc new data [08:21:48]Processing tag 1136 (0470) [08:21:48]Malloc new data [08:21:48]Processing tag 1138 (0472) [08:21:48]Malloc new data [08:21:48]Processing tag 1024 (0400) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1006 (03EE) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1010 (03F2) [08:21:48]Malloc new data [08:21:48]Processing tag 1011 (03F3) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1006 (03EE) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1010 (03F2) [08:21:48]Malloc new data [08:21:48]Processing tag 1011 (03F3) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1131 (046B) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1135 (046F) [08:21:48]Malloc new data [08:21:48]Processing tag 1201 (04B1) [08:21:48]Malloc new data [08:21:48]Processing tag 1136 (0470) [08:21:48]Malloc new data [08:21:48]Processing tag 1138 (0472) [08:21:48]Malloc new data [08:21:48]Processing tag 1024 (0400) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1006 (03EE) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1010 (03F2) [08:21:48]Malloc new data [08:21:48]Processing tag 1011 (03F3) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1006 (03EE) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1010 (03F2) [08:21:48]Malloc new data [08:21:48]Processing tag 1011 (03F3) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1132 (046C) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1135 (046F) [08:21:48]Malloc new data [08:21:48]Processing tag 1201 (04B1) [08:21:48]Malloc new data [08:21:48]Processing tag 1136 (0470) [08:21:48]Malloc new data [08:21:48]Processing tag 1138 (0472) [08:21:48]Malloc new data [08:21:48]Processing tag 1024 (0400) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1006 (03EE) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1010 (03F2) [08:21:48]Malloc new data [08:21:48]Processing tag 1011 (03F3) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1006 (03EE) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1010 (03F2) [08:21:48]Malloc new data [08:21:48]Processing tag 1011 (03F3) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1007 (03EF) [08:21:48]Load OK [08:21:48]SetTLVBufToDocument [08:21:48]Processing tag 1014 (03F6) [08:21:48]Malloc new data [08:21:48]Processing tag 1015 (03F7) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Processing tag 1133 (046D) [08:21:48]Malloc new data [08:21:48]SetTLVBufToDocument err=0 [08:21:48]SetTLVBufToDocument err=0 [08:21:48]Malloc new data [08:21:48]SAM_PROTO_GetFMData [08:21:48]wFMCommunicate request_size=4 [08:21:48]MH_SAM_APDU [08:21:48]CAPDU: 80 13 03 00 [08:21:48]Write to MH i2c: E2 08 00 87 13 80 13 03 00 00 00 00 00 19 [08:21:48]Write i2c OK [08:21:48]MH_I2C_Read... [08:21:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:21:49]Read from MH i2c: E2 [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: E2 FD 00 [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: E2 FD 00 87 13 00 C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 1B [08:21:49]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [08:21:49]wFMCommunicate OK [08:21:49]wFMCommunicate request_size=4 [08:21:49]MH_SAM_APDU [08:21:49]CAPDU: 80 17 00 00 [08:21:49]Write to MH i2c: E2 08 00 88 13 80 17 00 00 00 00 00 00 1B [08:21:49]Write i2c OK [08:21:49]MH_I2C_Read... [08:21:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:49]Read from MH i2c: E2 [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: E2 FD 00 [08:21:49]MH_I2C_Read... [08:21:49]Read from MH i2c: E2 FD 00 88 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 D8 [08:21:49]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [08:21:49]wFMCommunicate OK [08:21:49]wFMCommunicate request_size=4 [08:21:49]MH_SAM_APDU [08:21:49]CAPDU: 80 17 00 00 [08:21:49]Write to MH i2c: E2 08 00 89 13 80 17 00 00 00 00 00 00 1C [08:21:49]Write i2c OK [08:21:49]MH_I2C_Read... [08:21:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:50]Read from MH i2c: E2 [08:21:50]MH_I2C_Read... [08:21:50]Read from MH i2c: E2 FD 00 [08:21:50]MH_I2C_Read... [08:21:50]OFD Sender: No OFD packet to send [08:21:50]Read from MH i2c: E2 FD 00 89 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 31 [08:21:50]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:21:50]wFMCommunicate OK [08:21:50]wFMCommunicate request_size=4 [08:21:50]MH_SAM_APDU [08:21:50]CAPDU: 80 17 00 00 [08:21:50]Write to MH i2c: E2 08 00 8A 13 80 17 00 00 00 00 00 00 1D [08:21:50]Write i2c OK [08:21:50]MH_I2C_Read... [08:21:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:21:50]Read from MH i2c: E2 [08:21:50]MH_I2C_Read... [08:21:50]Read from MH i2c: E2 FD 00 [08:21:50]MH_I2C_Read... [08:21:50]Read from MH i2c: E2 FD 00 8A 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 95 [08:21:50]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:21:51]wFMCommunicate OK [08:21:51]wFMCommunicate request_size=4 [08:21:51]MH_SAM_APDU [08:21:51]CAPDU: 80 17 00 00 [08:21:51]Write to MH i2c: E2 08 00 8B 13 80 17 00 00 00 00 00 00 1E [08:21:51]Write i2c OK [08:21:51]MH_I2C_Read... [08:21:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [08:21:51]Read from MH i2c: E2 [08:21:51]MH_I2C_Read... [08:21:51]Read from MH i2c: E2 E1 00 [08:21:51]MH_I2C_Read... [08:21:51]Read from MH i2c: E2 E1 00 8B 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0C [08:21:51]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:21:51]wFMCommunicate OK [08:21:51]SAM_PROTO_GetFMData done [08:21:51]FM_GetFMData:85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B 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 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:21:52]oper:6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:21:52]total:58 4C 8B 3F [08:21:52]Malloc new data [08:21:52]oper:6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B 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 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [08:21:52]total:BC 87 2D 02 [08:21:52]Malloc new data [08:21:52]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 [08:21:52]total: [08:21:52]Malloc new data [08:21:52]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 [08:21:52]total: [08:21:52]Malloc new data [08:21:52]KKMPrepareXReportFMData err=0 [08:21:52]Х отчет ИНН: 02508201610067 Кассир: Ташыбеков М. 12.07.2024 08:21 Смена: 266 РНМ: 0000000000093033 ЗНМ: 0300000122 СНО: Общий режим Всего чеков: 8 ИТОГИ ПРИХОД Чеков: 8 Общий итог: 1566.00 Итого наличными: 1426.00 Итого безнал.: 140.00 НДС 0% : 0.00 НДС 12% : 166.31 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 13.86 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 1426.00 НС Приход: 10660936.56 НС Возвр.Прихода: 365383.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875104 [08:21:52]StoreToDocumentArchive [08:21:52]MH_GetDate [08:21:52]Write to MH i2c: F0 00 00 8C 13 8E [08:21:52]Write i2c OK [08:21:52]MH_I2C_Read... [08:21:52]Read from MH i2c: F0 [08:21:52]MH_I2C_Read... [08:21:52]Read from MH i2c: F0 09 00 [08:21:52]MH_I2C_Read... [08:21:52]Read from MH i2c: F0 09 00 8C 13 00 A5 E7 90 66 AD 14 F4 65 33 [08:21:52]shift 266 fd 1720772517 [08:21:52]Create dir for shift 0266 [08:21:52]save to /storage/0266/doc_1720772517 [08:21:52]save last doc name /storage/0266/doc_1720772517 to /storage/kkm_last_doc_name [08:21:52]save OK [08:21:52]Clear old archive folders... [08:21:52]NVStorageSaveData kkm_last_timestamp [08:21:52]File name is /storage/kkm_last_timestamp [08:21:52]Write 4 bytes [08:21:52]NVStorageSaveData done [08:21:52]ExternCall_PrintAddStr [08:21:52]wPrintStart [08:21:52]Write to MH i2c: 01 00 00 8D 13 A0 [08:21:52]Write i2c OK [08:21:52]MH_I2C_Read... [08:21:52]Read from MH i2c: 01 [08:21:52]MH_I2C_Read... [08:21:53]Read from MH i2c: 01 07 00 [08:21:53]MH_I2C_Read... [08:21:53]Read from MH i2c: 01 07 00 8D 13 00 00 00 00 00 FF 0F B5 [08:21:53]RasterBufferAndPrint [08:21:53]line Х отчет [08:21:53]line ИНН: 02508201610067 [08:21:53]line Кассир: Ташыбеков М. [08:21:53]line 12.07.2024 08:21 [08:21:53]line Смена: 266 [08:21:53]line РНМ: 0000000000093033 [08:21:53]line ЗНМ: 0300000122 [08:21:53]line СНО: Общий режим [08:21:53]line Всего чеков: 8 [08:21:53]line ИТОГИ ПРИХОД [08:21:53]line Чеков: 8 [08:21:53]line Общий итог: 1566.00 [08:21:53]line Итого наличными: 1426.00 [08:21:53]line Итого безнал.: 140.00 [08:21:53]line НДС 0% : 0.00 [08:21:53]line НДС 12% : 166.31 [08:21:53]line НСП 0% : 0.00 [08:21:53]line НСП 1,50% : 0.00 [08:21:53]line НСП 0,50% : 0.00 [08:21:53]line НСП 5% : 0.00 [08:21:53]line НСП 3% : 0.00 [08:21:53]line НСП 2% : 0.00 [08:21:53]line НСП 1% : 13.86 [08:21:53]line ИТОГИ ВОЗВРАТ ПРИХОДА [08:21:53]line Чеков: 0 [08:21:53]line Общий итог: 0.00 [08:21:53]line Итого наличными: 0.00 [08:21:53]line Итого безнал.: 0.00 [08:21:53]line НДС 0% : 0.00 [08:21:53]line НДС 12% : 0.00 [08:21:53]line НСП 0% : 0.00 [08:21:53]line НСП 1,50% : 0.00 [08:21:53]line НСП 0,50% : 0.00 [08:21:53]line НСП 5% : 0.00 [08:21:53]line НСП 3% : 0.00 [08:21:53]line НСП 2% : 0.00 [08:21:53]line НСП 1% : 0.00 [08:21:53]line ИТОГИ РАСХОД [08:21:53]line Чеков: 0 [08:21:53]line Общий итог: 0.00 [08:21:53]line Итого наличными: 0.00 [08:21:53]line Итого безнал.: 0.00 [08:21:53]line НДС 0% : 0.00 [08:21:53]line НДС 12% : 0.00 [08:21:53]line НСП 0% : 0.00 [08:21:53]line НСП 1,50% : 0.00 [08:21:53]line НСП 0,50% : 0.00 [08:21:53]line НСП 5% : 0.00 [08:21:53]line НСП 3% : 0.00 [08:21:53]line НСП 2% : 0.00 [08:21:53]line НСП 1% : 0.00 [08:21:53]line ИТОГИ ВОЗВРАТ РАСХОДА [08:21:53]line Чеков: 0 [08:21:53]line Общий итог: 0.00 [08:21:53]line Итого наличными: 0.00 [08:21:53]line Итого безнал.: 0.00 [08:21:53]line НДС 0% : 0.00 [08:21:53]line НДС 12% : 0.00 [08:21:53]line НСП 0% : 0.00 [08:21:53]line НСП 1,50% : 0.00 [08:21:53]line НСП 0,50% : 0.00 [08:21:53]line НСП 5% : 0.00 [08:21:53]line НСП 3% : 0.00 [08:21:53]line НСП 2% : 0.00 [08:21:53]line НСП 1% : 0.00 [08:21:53]line Сумма внесений: 0.00 [08:21:53]line Сумма выплат: 0.00 [08:21:53]line Нал. в кассе: 1426.00 [08:21:53]line НС Приход: 10660936.56 [08:21:53]line НС Возвр.Прихода: 365383.00 [08:21:53]line НС Расход: 0.00 [08:21:53]line НС Возвр.Расхода: 0.00 [08:21:53]line ФМ: 0000000000875104 [08:21:53]written 0, free lines is 4095 [08:21:53]Write to MH i2c: 01 00 00 D8 13 EB [08:21:53]Write i2c OK [08:21:53]MH_I2C_Read... [08:21:53]Read from MH i2c: 01 [08:21:53]MH_I2C_Read... [08:21:53]Read from MH i2c: 01 07 00 [08:21:53]MH_I2C_Read... [08:21:53]Read from MH i2c: 01 07 00 D8 13 00 00 00 00 00 C1 0A BD [08:21:53]RasterBufferAndPrint [08:21:53]line [08:21:53]line [08:21:53]line [08:21:53]line [08:21:53]line [08:21:53]written 0, free lines is 2789 [08:21:53]MH_Cut [08:21:53]Write to MH i2c: D1 01 00 DF 13 01 C4 [08:21:53]Write i2c OK [08:21:53]MH_I2C_Read... [08:21:53]Read from MH i2c: D1 [08:21:53]MH_I2C_Read... [08:21:53]Read from MH i2c: D1 01 00 [08:21:53]MH_I2C_Read... [08:21:53]Read from MH i2c: D1 01 00 DF 13 00 C3 [08:21:53]Write to MH i2c: 01 00 00 E0 13 F3 [08:21:53]Write i2c OK [08:21:53]MH_I2C_Read... [08:21:54]*** Cut start [08:21:54]*** Partial cut [08:21:54]*** CUTSNS_PIN = 1 [08:21:54]*** CUTSNS_PIN = 0 [08:21:55]*** Brake cut motor [08:21:55]OFD Sender: No OFD packet to send [08:21:55]Read from MH i2c: 01 [08:21:55]MH_I2C_Read... [08:21:55]*** Stop cut motor [08:21:55]*** Cut end [08:21:55]Read from MH i2c: 01 07 00 [08:21:55]MH_I2C_Read... [08:21:55]Read from MH i2c: 01 07 00 E0 13 00 00 00 00 00 FF 0F 08 [08:21:55]process_action x_report done [08:21:55]requested_data is exist [08:21:55]produce_requested_data [08:21:55]requested_item fd.num is exist - process it [08:21:55]SAM_PROTO_GetFieldsCounters [08:21:55]wFMCommunicate request_size=4 [08:21:55]MH_SAM_APDU [08:21:55]CAPDU: 80 13 00 00 [08:21:55]Write to MH i2c: E2 08 00 E1 13 80 13 00 00 00 00 00 00 70 [08:21:55]Write i2c OK [08:21:55]MH_I2C_Read... [08:21:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:21:55]Read from MH i2c: E2 [08:21:55]MH_I2C_Read... [08:21:55]Read from MH i2c: E2 62 00 [08:21:55]MH_I2C_Read... [08:21:55]Read from MH i2c: E2 62 00 E1 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 01 [08:21:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:21:55]wFMCommunicate OK [08:21:55]SAM_PROTO_GetFieldsCounters done [08:21:55]requested_item shift.num is exist - process it [08:21:55]requested_item shift.opened is exist - process it [08:21:55]req_shift_opened [08:21:55]FM_GetShiftState [08:21:55]SAM_PROTO_GetShiftState [08:21:55]wFMCommunicate request_size=4 [08:21:55]MH_SAM_APDU [08:21:55]CAPDU: 80 13 01 00 [08:21:55]Write to MH i2c: E2 08 00 E2 13 80 13 01 00 00 00 00 00 72 [08:21:55]Write i2c OK [08:21:55]MH_I2C_Read... [08:21:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:21:55]Read from MH i2c: E2 [08:21:55]MH_I2C_Read... [08:21:55]Read from MH i2c: E2 0E 00 [08:21:55]MH_I2C_Read... [08:21:55]Read from MH i2c: E2 0E 00 E2 13 00 09 00 01 17 74 90 66 00 00 00 00 90 00 FF [08:21:55]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [08:21:55]wFMCommunicate OK [08:21:55]SAM_PROTO_GetShiftState done [08:21:55]FM_GetShiftState done [08:21:55]req_shift_opened done [08:21:55]requested_item shift.open_date is exist - process it [08:21:55]req_shift_open_date [08:21:55]req_shift_open_date done [08:21:55]produce_requested_data done [08:21:55]produce_requested_data return {"fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [08:21:55]process_action_free x_report [08:21:55]json_value_free [08:21:55]json_value_free done [08:21:55]process_json_proto returns [08:21:55]Send response to host [08:21:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [08:21:55]free response buf [08:21:55]execute_script done [08:21:55]execute_script returns [08:21:55]free content buf [08:21:55]Sock 7.Close socket [08:21:55]Sock 7.Thread stoped [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:55]OFD Sender: No OFD packet to send [08:23:00]OFD Sender: No OFD packet to send [08:23:05]OFD Sender: No OFD packet to send [08:23:10]OFD Sender: No OFD packet to send [08:23:15]OFD Sender: No OFD packet to send [08:23:20]OFD Sender: No OFD packet to send [08:23:25]OFD Sender: No OFD packet to send [08:23:30]OFD Sender: No OFD packet to send [08:23:35]OFD Sender: No OFD packet to send [08:23:40]OFD Sender: No OFD packet to send [08:23:45]OFD Sender: No OFD packet to send [08:23:50]OFD Sender: No OFD packet to send [08:23:55]OFD Sender: No OFD packet to send [08:24:00]OFD Sender: No OFD packet to send [08:24:05]OFD Sender: No OFD packet to send [08:24:10]OFD Sender: No OFD packet to send [08:24:15]OFD Sender: No OFD packet to send [08:24:20]OFD Sender: No OFD packet to send [08:24:25]OFD Sender: No OFD packet to send [08:24:30]OFD Sender: No OFD packet to send [08:24:35]OFD Sender: No OFD packet to send [08:24:40]OFD Sender: No OFD packet to send [08:24:45]OFD Sender: No OFD packet to send [08:24:50]OFD Sender: No OFD packet to send [08:24:55]OFD Sender: No OFD packet to send [08: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:25]OFD Sender: No OFD packet to send [08:26:30]OFD Sender: No OFD packet to send [08:26:35]OFD Sender: No OFD packet to send [08:26:40]OFD Sender: No OFD packet to send [08:26:45]OFD Sender: No OFD packet to send [08:26:50]OFD Sender: No OFD packet to send [08:26:55]OFD Sender: No OFD packet to send [08:27:00]OFD Sender: No OFD packet to send [08:27:05]OFD Sender: No OFD packet to send [08:27:10]OFD Sender: No OFD packet to send [08:27:15]OFD Sender: No OFD packet to send [08:27:20]OFD Sender: No OFD packet to send [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:20]OFD Sender: No OFD packet to send [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:40]OFD Sender: No OFD packet to send [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:55]OFD Sender: No OFD packet to send [08:33:00]OFD Sender: No OFD packet to send [08:33:05]OFD Sender: No OFD packet to send [08:33:10]OFD Sender: No OFD packet to send [08:33:15]OFD Sender: No OFD packet to send [08:33:20]OFD Sender: No OFD packet to send [08:33:25]OFD Sender: No OFD packet to send [08:33:30]OFD Sender: No OFD packet to send [08:33:35]OFD Sender: No OFD packet to send [08:33:40]OFD Sender: No OFD packet to send [08:33:45]OFD Sender: No OFD packet to send [08:33:50]OFD Sender: No OFD packet to send [08:33:55]OFD Sender: No OFD packet to send [08:34:00]OFD Sender: No OFD packet to send [08:34:05]OFD Sender: No OFD packet to send [08:34:10]OFD Sender: No OFD packet to send [08:34:15]OFD Sender: No OFD packet to send [08:34:20]OFD Sender: No OFD packet to send [08:34:25]OFD Sender: No OFD packet to send [08:34:30]OFD Sender: No OFD packet to send [08:34:35]OFD Sender: No OFD packet to send [08:34:40]OFD Sender: No OFD packet to send [08:34:45]OFD Sender: No OFD packet to send [08:34:50]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]OFD Sender: No OFD packet to send [08:37:55]OFD Sender: No OFD packet to send [08:38:00]OFD Sender: No OFD packet to send [08:38:06]OFD Sender: No OFD packet to send [08:38:11]OFD Sender: No OFD packet to send [08:38:16]OFD Sender: No OFD packet to send [08:38:21]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:21]OFD Sender: No OFD packet to send [08:39:26]OFD Sender: No OFD packet to send [08:39:31]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:11]OFD Sender: No OFD packet to send [08:40:16]OFD Sender: No OFD packet to send [08:40:21]OFD Sender: No OFD packet to send [08:40:26]OFD Sender: No OFD packet to send [08:40:31]OFD Sender: No OFD packet to send [08:40:36]OFD Sender: No OFD packet to send [08:40:41]OFD Sender: No OFD packet to send [08:40:46]OFD Sender: No OFD packet to send [08:40:51]OFD Sender: No OFD packet to send [08:40:56]OFD Sender: No OFD packet to send [08:41:01]OFD Sender: No OFD packet to send [08:41:06]OFD Sender: No OFD packet to send [08:41:11]OFD Sender: No OFD packet to send [08:41:16]OFD Sender: No OFD packet to send [08:41:21]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:31]OFD Sender: No OFD packet to send [08:41:36]OFD Sender: No OFD packet to send [08:41:41]OFD Sender: No OFD packet to send [08:41:46]OFD Sender: No OFD packet to send [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 E8 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 8D [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725E8 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 10279134+1710494893=1720774027 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33540623 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 E8 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 8E [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 8C ED 90 66 AD 14 F4 65 88 [08:47:08]Current date/time: 12.07.2024 08:47 [08:47:08]FM_Init [08:47:08]wFMConnect [08:47:08]MH_SAM_On [08:47:08]Write to MH i2c: E0 00 00 08 00 E7 [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]*** iso7816_init finished! [08:47:08]*** atr: [08:47:08]*** 0F 3B D5 18 FF 81 91 FE [08:47:08]*** 1F C3 80 73 C8 21 10 0A [08:47:08]*** 00 00 00 00 00 00 00 00 [08:47:08]*** 00 00 00 00 00 00 00 00 [08:47:08]*** 00 00 00 00 00 00 00 00 [08:47:08]*** 00 00 00 00 00 00 00 00 [08:47:08]*** 00 00 00 00 00 00 00 00 [08:47:08]*** 00 00 00 00 00 00 00 00 [08:47:08]Read from MH i2c: E0 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E0 10 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [08:47:08]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [08:47:08]wFMCommunicate request_size=10 [08:47:08]MH_SAM_APDU [08:47:08]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [08:47:08]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [08:47:08]Read from MH i2c: E2 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 03 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [08:47:08]RAPDU: 90 00 [08:47:08]wFMCommunicate OK [08:47:08]wFMCommunicate request_size=4 [08:47:08]MH_SAM_APDU [08:47:08]CAPDU: 80 11 00 00 [08:47:08]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:08]Read from MH i2c: E2 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 17 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D0 [08:47:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:47:08]wFMCommunicate OK [08:47:08]Detected FM SN is 0000000000875104 [08:47:08]Stored FM SN is 0000000000875104 [08:47:08]wFMCommunicate request_size=9 [08:47:08]MH_SAM_APDU [08:47:08]CAPDU: 80 16 00 00 04 C2 14 01 00 [08:47:08]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 C2 14 01 00 00 00 69 [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [08:47:08]Read from MH i2c: E2 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 03 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [08:47:08]RAPDU: 90 00 [08:47:08]wFMCommunicate OK [08:47:08]FM PIN OK [08:47:08]wFMCommunicate request_size=8 [08:47:08]MH_SAM_APDU [08:47:08]CAPDU: 80 14 04 00 03 02 00 01 [08:47:08]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [08:47:08]Read from MH i2c: E2 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 03 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [08:47:08]RAPDU: 90 00 [08:47:08]wFMCommunicate OK [08:47:08]wFMCommunicate request_size=13 [08:47:08]MH_SAM_APDU [08:47:08]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [08:47:08]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [08:47:08]Read from MH i2c: E2 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 03 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [08:47:08]RAPDU: 90 00 [08:47:08]wFMCommunicate OK [08:47:08]wFMCommunicate request_size=4 [08:47:08]MH_SAM_APDU [08:47:08]CAPDU: 80 11 00 00 [08:47:08]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:08]Read from MH i2c: E2 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 17 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D4 [08:47:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:47:08]wFMCommunicate OK [08:47:08]DocumentArchiveInit [08:47:08]Start Httpd... [08:47:08]Httpd thread 3066891620 created [08:47:08]Write to MH i2c: 01 00 00 0F 00 0F [08:47:08]Write i2c OK [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: 01 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: 01 07 00 [08:47:08]MH_I2C_Read... [08:47:08]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [08:47:08]MH Int Process started [08:47:08]Allocated Socket 8 [08:47:08]Bind OK [08:47:08]Listen OK [08:47:08]httpd running on port 8080 [08:47:08]Waiting for new connection... [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:26]accept exits with 9 [08:47:26]New connection [08:47:26]New thread 3066604900 created [08:47:26]Waiting for new connection... [08:47:26] Sock 9.Parse request [08:47:26]Sock 9.Check first char [08:47:26]Sock 9.First char is OK [08:47:26]request: POST /json_proto HTTP/1.0 [08:47:26]Method: POST [08:47:26]URL: /json_proto [08:47:26]Method is POST - this is cgi request [08:47:26]url: /json_proto [08:47:26]query_string will be loaded in cgi processing [08:47:26]execute_cgi json_proto POST (null) [08:47:26]execute_cgi path=json_proto method=POST [08:47:26]POST find Content-Length [08:47:26]Host: 172.17.35.196:8080 [08:47:26]Content-Length: 215 [08:47:26]Content-Type: application/json [08:47:26] [08:47:26]POST finish read [08:47:26]Found Content-Length = 215 [08:47:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:47:26]execute_script... [08:47:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:47:26]POST & json_proto [08:47:26]process_json_proto [08:47:26]json parsed OK: [08:47:26]protocol is kg_v1.0 [08:47:26]action value=get_value [08:47:26]process_action get_value [08:47:26]cmd_get_value [08:47:26]process_action get_value done [08:47:26]requested_data is exist [08:47:26]produce_requested_data [08:47:26]requested_item kkm.sn is exist - process it [08:47:26]requested_item kkm.ver is exist - process it [08:47:26]requested_item fm.sn is exist - process it [08:47:26]wFMCommunicate request_size=4 [08:47:26]MH_SAM_APDU [08:47:26]CAPDU: 80 11 00 00 [08:47:26]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [08:47:26]Write i2c OK [08:47:26]MH_I2C_Read... [08:47:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:26]Read from MH i2c: E2 [08:47:26]MH_I2C_Read... [08:47:26]Read from MH i2c: E2 17 00 [08:47:26]MH_I2C_Read... [08:47:26]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D6 [08:47:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [08:47:26]wFMCommunicate OK [08:47:26]requested_item fd.num is exist - process it [08:47:26]SAM_PROTO_GetFieldsCounters [08:47:26]wFMCommunicate request_size=4 [08:47:26]MH_SAM_APDU [08:47:26]CAPDU: 80 13 00 00 [08:47:26]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [08:47:26]Write i2c OK [08:47:26]MH_I2C_Read... [08:47:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:47:26]Read from MH i2c: E2 [08:47:26]MH_I2C_Read... [08:47:26]Read from MH i2c: E2 62 00 [08:47:26]MH_I2C_Read... [08:47:26]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 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 1E [08:47:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 32 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:47:26]wFMCommunicate OK [08:47:26]SAM_PROTO_GetFieldsCounters done [08:47:26]requested_item shift.num is exist - process it [08:47:26]requested_item shift.opened is exist - process it [08:47:26]req_shift_opened [08:47:26]FM_GetShiftState [08:47:26]SAM_PROTO_GetShiftState [08:47:26]wFMCommunicate request_size=4 [08:47:26]MH_SAM_APDU [08:47:26]CAPDU: 80 13 01 00 [08:47:26]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [08:47:26]Write i2c OK [08:47:26]MH_I2C_Read... [08:47:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:47:26]Read from MH i2c: E2 [08:47:26]MH_I2C_Read... [08:47:26]Read from MH i2c: E2 0E 00 [08:47:26]MH_I2C_Read... [08:47:26]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 17 74 90 66 00 00 00 00 90 00 1C [08:47:26]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [08:47:26]wFMCommunicate OK [08:47:26]SAM_PROTO_GetShiftState done [08:47:26]FM_GetShiftState done [08:47:26]req_shift_opened done [08:47:26]requested_item shift.open_date is exist - process it [08:47:26]req_shift_open_date [08:47:26]req_shift_open_date done [08:47:26]produce_requested_data done [08:47:26]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [08:47:26]process_action_free get_value [08:47:26]json_value_free [08:47:26]json_value_free done [08:47:26]process_json_proto returns [08:47:26]Send response to host [08:47:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33330,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [08:47:26]free response buf [08:47:26]execute_script done [08:47:26]execute_script returns [08:47:26]free content buf [08:47:26]Sock 9.Close socket [08:47:26]Sock 9.Thread stoped [08:47:26]accept exits with 7 [08:47:26]New connection [08:47:26]New thread 3066461540 created [08:47:26]Thread 3066604900 joined [08:47:26]Waiting for new connection... [08:47:26] Sock 7.Parse request [08:47:26]Sock 7.Check first char [08:47:26]Sock 7.First char is OK [08:47:26]request: POST /json_proto HTTP/1.0 [08:47:26]Method: POST [08:47:26]URL: /json_proto [08:47:26]Method is POST - this is cgi request [08:47:26]url: /json_proto [08:47:26]query_string will be loaded in cgi processing [08:47:26]execute_cgi json_proto POST (null) [08:47:26]execute_cgi path=json_proto method=POST [08:47:26]POST find Content-Length [08:47:26]Host: 172.17.35.196:8080 [08:47:26]Content-Length: 331 [08:47:26]Content-Type: application/json [08:47:26] [08:47:26]POST finish read [08:47:26]Found Content-Length = 331 [08:47:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:47:26]execute_script... [08:47:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:47:26]POST & json_proto [08:47:26]process_json_proto [08:47:26]json parsed OK: [08:47:26]protocol is kg_v1.0 [08:47:26]action value=get_value [08:47:26]process_action get_value [08:47:26]cmd_get_value [08:47:26]process_action get_value done [08:47:26]requested_data is exist [08:47:26]produce_requested_data [08:47:26]requested_item fm.sale.total is exist - process it [08:47:26]SAM_PROTO_GetFMData [08:47:26]wFMCommunicate request_size=4 [08:47:26]MH_SAM_APDU [08:47:26]CAPDU: 80 13 03 00 [08:47:26]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [08:47:26]Write i2c OK [08:47:26]MH_I2C_Read... [08:47:27]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:47:27]Read from MH i2c: E2 [08:47:27]MH_I2C_Read... [08:47:27]Read from MH i2c: E2 FD 00 [08:47:27]MH_I2C_Read... [08:47:27]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 94 [08:47:27]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 D0 7E 00 00 69 04 A0 00 6F 04 04 00 EF 7D 00 00 B1 04 04 00 58 4C 8B 3F 70 04 04 00 A0 AF E5 34 72 04 04 00 B8 9C A5 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 A7 BF 06 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 06 ED 8F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [08:47:27]wFMCommunicate OK [08:47:27]wFMCommunicate request_size=4 [08:47:27]MH_SAM_APDU [08:47:27]CAPDU: 80 17 00 00 [08:47:27]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [08:47:27]Write i2c OK [08:47:27]MH_I2C_Read... [08:47:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:47:27]Read from MH i2c: E2 [08:47:27]MH_I2C_Read... [08:47:27]Read from MH i2c: E2 FD 00 [08:47:27]MH_I2C_Read... [08:47:27]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 51 [08:47:27]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [08:47:27]wFMCommunicate OK [08:47:27]wFMCommunicate request_size=4 [08:47:27]MH_SAM_APDU [08:47:27]CAPDU: 80 17 00 00 [08:47:27]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [08:47:27]Write i2c OK [08:47:27]MH_I2C_Read... [08:47:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:47:27]Read from MH i2c: E2 [08:47:27]MH_I2C_Read... [08:47:27]Read from MH i2c: E2 FD 00 [08:47:27]MH_I2C_Read... [08:47:27]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AA [08:47:27]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:47:27]wFMCommunicate OK [08:47:27]wFMCommunicate request_size=4 [08:47:27]MH_SAM_APDU [08:47:27]CAPDU: 80 17 00 00 [08:47:27]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [08:47:27]Write i2c OK [08:47:27]MH_I2C_Read... [08:47:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:47:27]Read from MH i2c: E2 [08:47:27]MH_I2C_Read... [08:47:27]Read from MH i2c: E2 FD 00 [08:47:27]MH_I2C_Read... [08:47:27]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [08:47:27]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:47:27]wFMCommunicate OK [08:47:27]wFMCommunicate request_size=4 [08:47:27]MH_SAM_APDU [08:47:27]CAPDU: 80 17 00 00 [08:47:27]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [08:47:27]Write i2c OK [08:47:27]MH_I2C_Read... [08:47:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [08:47:28]Read from MH i2c: E2 [08:47:28]MH_I2C_Read... [08:47:28]Read from MH i2c: E2 E1 00 [08:47:28]MH_I2C_Read... [08:47:28]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [08:47:28]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:47:28]wFMCommunicate OK [08:47:28]SAM_PROTO_GetFMData done [08:47:28]requested_item fm.sale_refund.total is exist - process it [08:47:28]requested_item fm.buy.total is exist - process it [08:47:28]requested_item shift.sale.total is exist - process it [08:47:28]SAM_PROTO_GetShiftData [08:47:28]wFMCommunicate request_size=4 [08:47:28]MH_SAM_APDU [08:47:28]CAPDU: 80 13 02 00 [08:47:28]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [08:47:28]Write i2c OK [08:47:28]MH_I2C_Read... [08:47:28]OFD Sender: No OFD packet to send [08:47:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:47:28]Read from MH i2c: E2 [08:47:28]MH_I2C_Read... [08:47:28]Read from MH i2c: E2 FD 00 [08:47:28]MH_I2C_Read... [08:47:28]Read from MH i2c: E2 FD 00 18 00 00 AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 40 [08:47:28]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 B8 63 02 70 04 03 00 08 2D 02 72 04 02 00 B0 36 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 F7 40 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 6A 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:47:28]wFMCommunicate OK [08:47:28]wFMCommunicate request_size=4 [08:47:28]MH_SAM_APDU [08:47:28]CAPDU: 80 17 00 00 [08:47:28]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [08:47:28]Write i2c OK [08:47:28]MH_I2C_Read... [08:47:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:47:28]Read from MH i2c: E2 [08:47:28]MH_I2C_Read... [08:47:28]Read from MH i2c: E2 FD 00 [08:47:28]MH_I2C_Read... [08:47:28]Read from MH i2c: E2 FD 00 19 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 AE [08:47:28]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:47:28]wFMCommunicate OK [08:47:28]wFMCommunicate request_size=4 [08:47:28]MH_SAM_APDU [08:47:28]CAPDU: 80 17 00 00 [08:47:28]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [08:47:28]Write i2c OK [08:47:28]MH_I2C_Read... [08:47:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:47:29]Read from MH i2c: E2 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: E2 FD 00 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: E2 FD 00 1A 00 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 5B [08:47:29]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:47:29]wFMCommunicate OK [08:47:29]wFMCommunicate request_size=4 [08:47:29]MH_SAM_APDU [08:47:29]CAPDU: 80 17 00 00 [08:47:29]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [08:47:29]Write i2c OK [08:47:29]MH_I2C_Read... [08:47:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:47:29]Read from MH i2c: E2 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: E2 FD 00 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: E2 FD 00 1B 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 90 00 10 [08:47:29]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:47:29]wFMCommunicate OK [08:47:29]wFMCommunicate request_size=4 [08:47:29]MH_SAM_APDU [08:47:29]CAPDU: 80 17 00 00 [08:47:29]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [08:47:29]Write i2c OK [08:47:29]MH_I2C_Read... [08:47:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:47:29]Read from MH i2c: E2 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: E2 C9 00 [08:47:29]MH_I2C_Read... [08:47:29]Read from MH i2c: E2 C9 00 1C 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [08:47:29]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:47:29]wFMCommunicate OK [08:47:29]SAM_PROTO_GetShiftData done [08:47:29]requested_item shift.sale.total_cash is exist - process it [08:47:29]requested_item shift.sale_refund.total is exist - process it [08:47:29]requested_item shift.sale_refund.total_cash is exist - process it [08:47:29]requested_item shift.buy.total is exist - process it [08:47:29]requested_item shift.buy.total_cash is exist - process it [08:47:29]produce_requested_data done [08:47:29]produce_requested_data return {"fm.sale.total":10660936.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1566.00,"shift.sale.total_cash":1426.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:47:29]process_action_free get_value [08:47:29]json_value_free [08:47:29]json_value_free done [08:47:29]process_json_proto returns [08:47:29]Send response to host [08:47:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10660936.56,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":1566.00,"shift.sale.total_cash":1426.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:47:29]free response buf [08:47:29]execute_script done [08:47:29]execute_script returns [08:47:29]free content buf [08:47:29]Sock 7.Close socket [08:47:29]Sock 7.Thread stoped [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:23]OFD Sender: No OFD packet to send [08:48:28]OFD Sender: No OFD packet to send [08:48:33]OFD Sender: No OFD packet to send [08:48:38]OFD Sender: No OFD packet to send [08:48:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:03]OFD Sender: No OFD packet to send [08:51:08]OFD Sender: No OFD packet to send [08:51:13]OFD Sender: No OFD packet to send [08:51:18]OFD Sender: No OFD packet to send [08:51:23]OFD Sender: No OFD packet to send [08:51:28]OFD Sender: No OFD packet to send [08:51:33]OFD Sender: No OFD packet to send [08:51:38]OFD Sender: No OFD packet to send [08:51:43]OFD Sender: No OFD packet to send [08:51:48]OFD Sender: No OFD packet to send [08:51:53]OFD Sender: No OFD packet to send [08:51:58]OFD Sender: No OFD packet to send [08:52:03]OFD Sender: No OFD packet to send [08:52:08]OFD Sender: No OFD packet to send [08:52:13]OFD Sender: No OFD packet to send [08:52:18]OFD Sender: No OFD packet to send [08:52:23]OFD Sender: No OFD packet to send [08:52:28]OFD Sender: No OFD packet to send [08:52:33]OFD Sender: No OFD packet to send [08:52:38]OFD Sender: No OFD packet to send [08:52:43]OFD Sender: No OFD packet to send [08:52:48]OFD Sender: No OFD packet to send [08:52:53]OFD Sender: No OFD packet to send [08:52:58]OFD Sender: No OFD packet to send [08:53:03]OFD Sender: No OFD packet to send [08:53:08]OFD Sender: No OFD packet to send [08:53:13]OFD Sender: No OFD packet to send [08:53:18]OFD Sender: No OFD packet to send [08:53:23]OFD Sender: No OFD packet to send [08:53:28]OFD Sender: No OFD packet to send [08:53:33]OFD Sender: No OFD packet to send [08:53:38]OFD Sender: No OFD packet to send [08:53:43]OFD Sender: No OFD packet to send [08:53:48]OFD Sender: No OFD packet to send [08:53:53]OFD Sender: No OFD packet to send [08:53:58]OFD Sender: No OFD packet to send [08:54:03]OFD Sender: No OFD packet to send [08:54:08]OFD Sender: No OFD packet to send [08:54:13]OFD Sender: No OFD packet to send [08:54:18]OFD Sender: No OFD packet to send [08:54:23]OFD Sender: No OFD packet to send [08:54:28]OFD Sender: No OFD packet to send [08:54:33]OFD Sender: No OFD packet to send [08:54:38]OFD Sender: No OFD packet to send [08:54:43]OFD Sender: No OFD packet to send [08:54:48]OFD Sender: No OFD packet to send [08:54:53]OFD Sender: No OFD packet to send [08:54:58]OFD Sender: No OFD packet to send [08:55:03]OFD Sender: No OFD packet to send [08:55:08]OFD Sender: No OFD packet to send [08:55:13]OFD Sender: No OFD packet to send [08:55:18]OFD Sender: No OFD packet to send [08:55:23]OFD Sender: No OFD packet to send [08:55:28]OFD Sender: No OFD packet to send [08:55:33]OFD Sender: No OFD packet to send [08:55:38]OFD Sender: No OFD packet to send [08:55:43]OFD Sender: No OFD packet to send [08:55:48]OFD Sender: No OFD packet to send [08:55:53]OFD Sender: No OFD packet to send [08:55:58]OFD Sender: No OFD packet to send [08:56:03]OFD Sender: No OFD packet to send [08:56:08]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [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:43]accept exits with 9 [09:03:43]New connection [09:03:43]New thread 3066604900 created [09:03:43]Thread 3066461540 joined [09:03:43]Waiting for new connection... [09:03:43] Sock 9.Parse request [09:03:43]Sock 9.Check first char [09:03:43]Sock 9.First char is OK [09:03:43]request: POST /json_proto HTTP/1.0 [09:03:43]Method: POST [09:03:43]URL: /json_proto [09:03:43]Method is POST - this is cgi request [09:03:43]url: /json_proto [09:03:43]query_string will be loaded in cgi processing [09:03:43]execute_cgi json_proto POST (null) [09:03:43]execute_cgi path=json_proto method=POST [09:03:43]POST find Content-Length [09:03:43]Host: 172.17.35.196:8080 [09:03:43]Content-Length: 847 [09:03:43]Content-Type: application/json [09:03:43] [09:03:43]POST finish read [09:03:43]Found Content-Length = 847 [09:03:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169151", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:03:43]execute_script... [09:03:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169151", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:03:43]POST & json_proto [09:03:43]process_json_proto [09:03:43]json parsed OK: [09:03:43]protocol is kg_v1.0 [09:03:43]action value=close_receipt [09:03:43]process_action close_receipt [09:03:43]cmd_close_receipt [09:03:43]MH_GetDate [09:03:43]Write to MH i2c: F0 00 00 1D 00 0C [09:03:43]Write i2c OK [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: F0 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: F0 09 00 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: F0 09 00 1D 00 00 70 F1 90 66 AD 14 F4 65 86 [09:03:43]GetLastDocTimeStamp 1720772509 [09:03:43]current date 1720775024 [09:03:43]FM_GetShiftState [09:03:43]SAM_PROTO_GetShiftState [09:03:43]wFMCommunicate request_size=4 [09:03:43]MH_SAM_APDU [09:03:43]CAPDU: 80 13 01 00 [09:03:43]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [09:03:43]Write i2c OK [09:03:43]MH_I2C_Read... [09:03:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:43]Read from MH i2c: E2 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: E2 0E 00 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 17 74 90 66 00 00 00 00 90 00 28 [09:03:43]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:03:43]wFMCommunicate OK [09:03:43]SAM_PROTO_GetShiftState done [09:03:43]FM_GetShiftState done [09:03:43]opened in 1720742935 [09:03:43]opened+sec_in_day 1720829335 [09:03:43]quantity*price = 13000 [09:03:43]sum+1 = 13001 [09:03:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 9 12.07.2024 09:03 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33331 ФПД: 264374747023919 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090344&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33331&fm=264374747023919&tin=02508201610067®Number=0000000000093033&sum=13000 0 [09:03:45]StoreToDocumentArchive [09:03:45]shift 433 fd 33331 [09:03:45]save to /storage/0433/doc_00033331 [09:03:45]save last doc name /storage/0433/doc_00033331 to /storage/kkm_last_doc_name [09:03:45]save OK [09:03:45]Clear old archive folders... [09:03:45]Remove dir /storage/0266 [09:03:45]opendir ok [09:03:45]file . [09:03:45]file .. [09:03:45]file doc_1720772517 [09:03:45]remove file /storage/0266/doc_1720772517 [09:03:45]remove dir /storage/0266 [09:03:45]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:03:45]tlvbuf is 00A42C90 [09:03:45]SAM_PROTO_ClearQueue [09:03:45]wFMCommunicate request_size=4 [09:03:45]MH_SAM_APDU [09:03:45]CAPDU: 80 09 00 00 [09:03:45]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [09:03:45]Write i2c OK [09:03:45]MH_I2C_Read... [09:03:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:03:45]Read from MH i2c: E2 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 03 00 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [09:03:45]RAPDU: 90 00 [09:03:45]wFMCommunicate OK [09:03:45]SAM_PROTO_ClearQueue done [09:03:45]KKMCreateOFDPacket [09:03:45]OFDProtocolAddRootSTLVToBuf [09:03:45]FM_MakeSignedData [09:03:45]FM_MakeSignedData [09:03:45]SAM_PROTO_SignData [09:03:45]wFMCommunicate request_size=4 [09:03:45]MH_SAM_APDU [09:03:45]CAPDU: 80 0D 01 02 [09:03:45]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [09:03:45]Write i2c OK [09:03:45]MH_I2C_Read... [09:03:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:03:45]Read from MH i2c: E2 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 03 00 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [09:03:45]RAPDU: 90 00 [09:03:45]wFMCommunicate OK [09:03:45]wFMCommunicate request_size=255 [09:03:45]MH_SAM_APDU [09:03:45]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 70 F1 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [09:03:45]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 70 F1 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 BF [09:03:45]Write i2c OK [09:03:45]MH_I2C_Read... [09:03:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:45]Read from MH i2c: E2 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 03 00 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [09:03:45]RAPDU: 90 00 [09:03:45]wFMCommunicate OK [09:03:45]wFMCommunicate request_size=41 [09:03:45]MH_SAM_APDU [09:03:45]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 33 82 00 00 35 04 06 00 F0 72 8A E2 4A 2F [09:03:45]Write to MH i2c: E2 2C 00 2E 00 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 33 82 00 00 35 04 06 00 F0 72 8A E2 4A 2F 00 00 6C [09:03:45]Write i2c OK [09:03:45]MH_I2C_Read... [09:03:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:45]Read from MH i2c: E2 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 03 00 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [09:03:45]RAPDU: 90 00 [09:03:45]wFMCommunicate OK [09:03:45]wFMCommunicate request_size=4 [09:03:45]MH_SAM_APDU [09:03:45]CAPDU: 80 0D 03 02 [09:03:45]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [09:03:45]Write i2c OK [09:03:45]MH_I2C_Read... [09:03:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:03:45]Read from MH i2c: E2 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 0B 00 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 0B 00 2F 00 00 8B 73 07 17 DE 1D 32 7A 90 00 6E [09:03:45]RAPDU: 8B 73 07 17 DE 1D 32 7A 90 00 [09:03:45]wFMCommunicate OK [09:03:45]SAM_PROTO_SignData done [09:03:45]FM_MakeSignedData done [09:03:45]CreateOFDProtocolMessage [09:03:45]wFMCommunicate request_size=4 [09:03:45]MH_SAM_APDU [09:03:45]CAPDU: 80 11 00 00 [09:03:45]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [09:03:45]Write i2c OK [09:03:45]MH_I2C_Read... [09:03:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:45]Read from MH i2c: E2 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 17 00 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F6 [09:03:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:03:45]wFMCommunicate OK [09:03:45]CreateOFDProtocolMessage done [09:03:45]OFDSenderStorePacket 33331 [09:03:45]StoreOFDPacket docnum=33331 [09:03:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 18 88 26 01 11 C6 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 70 F1 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 33 82 00 00 35 04 06 00 F0 72 8A E2 4A 2F 8B 73 07 17 DE 1D 32 7A [09:03:45]CheckFolder [09:03:45]dirname=/storage/ofd_packets [09:03:45]CheckFolder done [09:03:45]ProducePacketName [09:03:45]name=ofd_packets/00033331 [09:03:45]NVStorageSaveData ofd_packets/00033331 [09:03:45]File name is /storage/ofd_packets/00033331 [09:03:45]Write 332 bytes [09:03:45]NVStorageSaveData done [09:03:45]OFDSenderStorePacket done [09:03:45]KKMCreateOFDPacket done [09:03:45]NVStorageSaveData kkm_last_timestamp [09:03:45]File name is /storage/kkm_last_timestamp [09:03:45]Write 4 bytes [09:03:45]NVStorageSaveData done [09:03:45]ExternCall_PrintAddStr [09:03:45]wPrintStart [09:03:45]Write to MH i2c: 01 00 00 31 00 31 [09:03:45]Write i2c OK [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: 01 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: 01 07 00 [09:03:45]MH_I2C_Read... [09:03:45]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [09:03:45]RasterBufferAndPrint [09:03:45]line Счет N : (3)169151 [09:03:45]line ИНН: 02508201610067 [09:03:45]line Контрольно-Кассовый Чек [09:03:45]line ПРОДАЖА [09:03:45]line Товар: 2000036220012 [09:03:45]line Кофе Капучино XL(GABB TRADE) [09:03:45]line 1.000 * 130.00 [09:03:45]line = 130.00 [09:03:45]line НДС 12% НСП 1% [09:03:45]line > о реализуемом товаре [09:03:45]line ИТОГО: 130.00 [09:03:45]line НСП 1% : 1.15 [09:03:45]line НДС 12% : 13.80 [09:03:45]line Наличными: 0.00 [09:03:45]line Безнал.: 130.00 [09:03:45]line Место: АЗС № 77 "Партнер Нефть" [09:03:45]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:03:45]line СНО: Общий режим [09:03:45]line Чек 9 12.07.2024 09:03 [09:03:45]line Смена: 433 ФФД: 1.0 [09:03:45]line ЗНМ: 0300000122 [09:03:45]line РНМ: 0000000000093033 [09:03:45]line Версия ККМ: 001 [09:03:45]line Платежная система: АКБ Кыргызстан [09:03:45]line ФМ: 0000000000875104 [09:03:45]line ФД: 33331 [09:03:45]line ФПД: 264374747023919 [09:03:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090344&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33331&fm=264374747023919&tin=02508201610067®Number=0000000000093033&sum=13000 [09:03:45]OFD Sender: Processing packet 33331 [packets to send 6, broken 5] [09:03:45]ProducePacketName [09:03:45]name=ofd_packets/00033331 [09:03:45]OFD Sender: To server: pG, [09:03:45]CommunicateWithHost lk.salyk.kg:30040 [09:03:45]ConnectInit lk.salyk.kg [09:03:45]line 0 [09:03:45]written 0, free lines is 4095 [09:03:46]Connected sock=10 [09:03:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 18 88 26 01 11 C6 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 70 F1 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 33 82 00 00 35 04 06 00 F0 72 8A E2 4A 2F 8B 73 07 17 DE 1D 32 7A [09:03:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 28 63 47 00 F4 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 38 37 35 31 30 34 10 04 04 00 33 82 00 00 F4 03 04 00 1D 9C 90 66 B6 04 01 00 00 57 D5 2F B4 17 AD 82 0E [09:03:46]CommunicateWithHost err = 0 [09:03:46]CheckOFDResponse [09:03:46]1017 (14) - 77093643461234 [09:03:46]1041 (16) - 0000000000875104 [09:03:46]1040 (4) - 33331 [09:03:46]1012 (4) - 12.07.2024 02:59 [09:03:46]1206 (1) - 0 [09:03:46]OFD Sender: Remove packet 33331 [09:03:46]ProducePacketName [09:03:46]name=ofd_packets/00033331 [09:03:46]NVStorageDeleteData [09:03:46]Write to MH i2c: 01 00 00 5C 00 5C [09:03:46]Write i2c OK [09:03:46]MH_I2C_Read... [09:03:46]Read from MH i2c: 01 [09:03:46]MH_I2C_Read... [09:03:46]Read from MH i2c: 01 07 00 [09:03:46]MH_I2C_Read... [09:03:46]Read from MH i2c: 01 07 00 5C 00 00 00 00 00 00 DF 0C 4E [09:03:46]RasterBufferAndPrint [09:03:46]line [09:03:46]line [09:03:46]line [09:03:46]line [09:03:46]line [09:03:46]written 0, free lines is 3301 [09:03:46]MH_Cut [09:03:46]Write to MH i2c: D1 01 00 63 00 01 35 [09:03:46]Write i2c OK [09:03:46]MH_I2C_Read... [09:03:46]Read from MH i2c: D1 [09:03:46]MH_I2C_Read... [09:03:46]Read from MH i2c: D1 01 00 [09:03:46]MH_I2C_Read... [09:03:46]Read from MH i2c: D1 01 00 63 00 00 34 [09:03:46]Write to MH i2c: 01 00 00 64 00 64 [09:03:46]Write i2c OK [09:03:46]MH_I2C_Read... [09:03:46]OFD Sender: No OFD packet to send [09:03:47]*** Cut start [09:03:47]*** Partial cut [09:03:47]*** CUTSNS_PIN = 1 [09:03:47]*** CUTSNS_PIN = 0 [09:03:47]*** Brake cut motor [09:03:47]Read from MH i2c: 01 [09:03:47]MH_I2C_Read... [09:03:47]*** Stop cut motor [09:03:47]*** Cut end [09:03:47]Read from MH i2c: 01 07 00 [09:03:47]MH_I2C_Read... [09:03:47]Read from MH i2c: 01 07 00 64 00 00 00 00 00 00 FF 0F 79 [09:03:47]process_action close_receipt done [09:03:47]requested_data is exist [09:03:47]produce_requested_data [09:03:47]requested_item fm.sn is exist - process it [09:03:47]wFMCommunicate request_size=4 [09:03:47]MH_SAM_APDU [09:03:47]CAPDU: 80 11 00 00 [09:03:47]Write to MH i2c: E2 08 00 65 00 80 11 00 00 00 00 00 00 DF [09:03:47]Write i2c OK [09:03:47]MH_I2C_Read... [09:03:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:47]Read from MH i2c: E2 [09:03:47]MH_I2C_Read... [09:03:47]Read from MH i2c: E2 17 00 [09:03:47]MH_I2C_Read... [09:03:47]Read from MH i2c: E2 17 00 65 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2B [09:03:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:03:47]wFMCommunicate OK [09:03:47]requested_item fd.num is exist - process it [09:03:47]SAM_PROTO_GetFieldsCounters [09:03:47]wFMCommunicate request_size=4 [09:03:47]MH_SAM_APDU [09:03:47]CAPDU: 80 13 00 00 [09:03:47]Write to MH i2c: E2 08 00 66 00 80 13 00 00 00 00 00 00 E2 [09:03:47]Write i2c OK [09:03:47]MH_I2C_Read... [09:03:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:03:48]Read from MH i2c: E2 [09:03:48]MH_I2C_Read... [09:03:48]Read from MH i2c: E2 62 00 [09:03:48]MH_I2C_Read... [09:03:48]Read from MH i2c: E2 62 00 66 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 33 82 00 00 0E 04 04 00 B1 01 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 77 [09:03:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 33 82 00 00 0E 04 04 00 B1 01 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 [09:03:48]wFMCommunicate OK [09:03:48]SAM_PROTO_GetFieldsCounters done [09:03:48]requested_item shift.num is exist - process it [09:03:48]requested_item shift.opened is exist - process it [09:03:48]req_shift_opened [09:03:48]FM_GetShiftState [09:03:48]SAM_PROTO_GetShiftState [09:03:48]wFMCommunicate request_size=4 [09:03:48]MH_SAM_APDU [09:03:48]CAPDU: 80 13 01 00 [09:03:48]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [09:03:48]Write i2c OK [09:03:48]MH_I2C_Read... [09:03:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:48]Read from MH i2c: E2 [09:03:48]MH_I2C_Read... [09:03:48]Read from MH i2c: E2 0E 00 [09:03:48]MH_I2C_Read... [09:03:48]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 17 74 90 66 00 00 00 00 90 00 71 [09:03:48]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:03:48]wFMCommunicate OK [09:03:48]SAM_PROTO_GetShiftState done [09:03:48]FM_GetShiftState done [09:03:48]req_shift_opened done [09:03:48]requested_item shift.open_date is exist - process it [09:03:48]req_shift_open_date [09:03:48]req_shift_open_date done [09:03:48]produce_requested_data done [09:03:48]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33331,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [09:03:48]process_action_free close_receipt [09:03:48]json_value_free [09:03:48]json_value_free done [09:03:48]process_json_proto returns [09:03:48]Send response to host [09:03:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33331,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [09:03:48]free response buf [09:03:48]execute_script done [09:03:48]execute_script returns [09:03:48]free content buf [09:03:48]Sock 9.Close socket [09:03:48]Sock 9.Thread stoped [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:22]OFD Sender: No OFD packet to send [09:08:27]OFD Sender: No OFD packet to send [09:08:32]OFD Sender: No OFD packet to send [09:08:37]OFD Sender: No OFD packet to send [09:08:42]OFD Sender: No OFD packet to send [09:08:47]OFD Sender: No OFD packet to send [09:08:52]OFD Sender: No OFD packet to send [09:08:57]OFD Sender: No OFD packet to send [09:09:02]OFD Sender: No OFD packet to send [09:09:07]OFD Sender: No OFD packet to send [09:09:12]OFD Sender: No OFD packet to send [09:09:17]OFD Sender: No OFD packet to send [09:09:22]OFD Sender: No OFD packet to send [09:09:27]OFD Sender: No OFD packet to send [09:09:32]OFD Sender: No OFD packet to send [09:09:37]OFD Sender: No OFD packet to send [09:09:42]OFD Sender: No OFD packet to send [09:09:47]OFD Sender: No OFD packet to send [09:09:52]OFD Sender: No OFD packet to send [09:09:56]accept exits with 7 [09:09:56]New connection [09:09:56]New thread 3066461540 created [09:09:56]Thread 3066604900 joined [09:09:56]Waiting for new connection... [09:09:56] Sock 7.Parse request [09:09:56]Sock 7.Check first char [09:09:56]Sock 7.First char is OK [09:09:56]request: POST /json_proto HTTP/1.0 [09:09:56]Method: POST [09:09:56]URL: /json_proto [09:09:56]Method is POST - this is cgi request [09:09:56]url: /json_proto [09:09:56]query_string will be loaded in cgi processing [09:09:56]execute_cgi json_proto POST (null) [09:09:56]execute_cgi path=json_proto method=POST [09:09:56]POST find Content-Length [09:09:56]Host: 172.17.35.196:8080 [09:09:56]Content-Length: 822 [09:09:56]Content-Type: application/json [09:09:56] [09:09:56]POST finish read [09:09:56]Found Content-Length = 822 [09:09:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169152", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:56]execute_script... [09:09: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)169152", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:56]POST & json_proto [09:09:56]process_json_proto [09:09:56]json parsed OK: [09:09:56]protocol is kg_v1.0 [09:09:56]action value=close_receipt [09:09:56]process_action close_receipt [09:09:56]cmd_close_receipt [09:09:56]MH_GetDate [09:09:56]Write to MH i2c: F0 00 00 68 00 57 [09:09:56]Write i2c OK [09:09:56]MH_I2C_Read... [09:09:56]Read from MH i2c: F0 [09:09:56]MH_I2C_Read... [09:09:56]Read from MH i2c: F0 09 00 [09:09:56]MH_I2C_Read... [09:09:56]Read from MH i2c: F0 09 00 68 00 00 E4 F2 90 66 AD 14 F4 65 46 [09:09:56]GetLastDocTimeStamp 1720775024 [09:09:56]current date 1720775396 [09:09:56]FM_GetShiftState [09:09:56]SAM_PROTO_GetShiftState [09:09:56]wFMCommunicate request_size=4 [09:09:56]MH_SAM_APDU [09:09:56]CAPDU: 80 13 01 00 [09:09:56]Write to MH i2c: E2 08 00 69 00 80 13 01 00 00 00 00 00 E6 [09:09:56]Write i2c OK [09:09:56]MH_I2C_Read... [09:09:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:56]Read from MH i2c: E2 [09:09:56]MH_I2C_Read... [09:09:56]Read from MH i2c: E2 0E 00 [09:09:56]MH_I2C_Read... [09:09:56]Read from MH i2c: E2 0E 00 69 00 00 09 00 01 17 74 90 66 00 00 00 00 90 00 73 [09:09:56]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:09:56]wFMCommunicate OK [09:09:56]SAM_PROTO_GetShiftState done [09:09:56]FM_GetShiftState done [09:09:56]opened in 1720742935 [09:09:56]opened+sec_in_day 1720829335 [09:09:56]quantity*price = 14000 [09:09:56]sum+1 = 14001 [09:09:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 10 12.07.2024 09:09 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33332 ФПД: 127225911932337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090957&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33332&fm=127225911932337&tin=02508201610067®Number=0000000000093033&sum=14000 0 [09:09:58]StoreToDocumentArchive [09:09:58]shift 433 fd 33332 [09:09:58]save to /storage/0433/doc_00033332 [09:09:58]save last doc name /storage/0433/doc_00033332 to /storage/kkm_last_doc_name [09:09:58]save OK [09:09:58]Clear old archive folders... [09:09:58]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:09:58]tlvbuf is 00A41780 [09:09:58]SAM_PROTO_ClearQueue [09:09:58]wFMCommunicate request_size=4 [09:09:58]MH_SAM_APDU [09:09:58]CAPDU: 80 09 00 00 [09:09:58]Write to MH i2c: E2 08 00 76 00 80 09 00 00 00 00 00 00 E8 [09:09:58]Write i2c OK [09:09:58]MH_I2C_Read... [09:09:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:09:58]Read from MH i2c: E2 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 03 00 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [09:09:58]RAPDU: 90 00 [09:09:58]wFMCommunicate OK [09:09:58]SAM_PROTO_ClearQueue done [09:09:58]KKMCreateOFDPacket [09:09:58]OFDProtocolAddRootSTLVToBuf [09:09:58]FM_MakeSignedData [09:09:58]FM_MakeSignedData [09:09:58]SAM_PROTO_SignData [09:09:58]wFMCommunicate request_size=4 [09:09:58]MH_SAM_APDU [09:09:58]CAPDU: 80 0D 01 02 [09:09:58]Write to MH i2c: E2 08 00 77 00 80 0D 01 02 00 00 00 00 F0 [09:09:58]Write i2c OK [09:09:58]MH_I2C_Read... [09:09:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:09:58]Read from MH i2c: E2 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 03 00 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [09:09:58]RAPDU: 90 00 [09:09:58]wFMCommunicate OK [09:09:58]wFMCommunicate request_size=255 [09:09:58]MH_SAM_APDU [09:09:58]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 E5 F2 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 [09:09:58]Write to MH i2c: E2 02 01 78 00 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 E5 F2 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 00 00 67 [09:09:58]Write i2c OK [09:09:58]MH_I2C_Read... [09:09:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:58]Read from MH i2c: E2 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 03 00 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [09:09:58]RAPDU: 90 00 [09:09:58]wFMCommunicate OK [09:09:58]wFMCommunicate request_size=32 [09:09:58]MH_SAM_APDU [09:09:58]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 31 30 34 10 04 04 00 34 82 00 00 35 04 06 00 73 B6 17 49 75 B1 [09:09:58]Write to MH i2c: E2 23 00 79 00 80 0D 02 02 1B 00 30 30 30 38 37 35 31 30 34 10 04 04 00 34 82 00 00 35 04 06 00 73 B6 17 49 75 B1 00 00 AE [09:09:58]Write i2c OK [09:09:58]MH_I2C_Read... [09:09:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:58]Read from MH i2c: E2 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 03 00 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [09:09:58]RAPDU: 90 00 [09:09:58]wFMCommunicate OK [09:09:58]wFMCommunicate request_size=4 [09:09:58]MH_SAM_APDU [09:09:58]CAPDU: 80 0D 03 02 [09:09:58]Write to MH i2c: E2 08 00 7A 00 80 0D 03 02 00 00 00 00 F5 [09:09:58]Write i2c OK [09:09:58]MH_I2C_Read... [09:09:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:09:58]Read from MH i2c: E2 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 0B 00 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 0B 00 7A 00 00 FA D3 68 1C 24 05 F4 45 90 00 A9 [09:09:58]RAPDU: FA D3 68 1C 24 05 F4 45 90 00 [09:09:58]wFMCommunicate OK [09:09:58]SAM_PROTO_SignData done [09:09:58]FM_MakeSignedData done [09:09:58]CreateOFDProtocolMessage [09:09:58]wFMCommunicate request_size=4 [09:09:58]MH_SAM_APDU [09:09:58]CAPDU: 80 11 00 00 [09:09:58]Write to MH i2c: E2 08 00 7B 00 80 11 00 00 00 00 00 00 F5 [09:09:58]Write i2c OK [09:09:58]MH_I2C_Read... [09:09:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:58]Read from MH i2c: E2 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 17 00 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: E2 17 00 7B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 41 [09:09:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:09:58]wFMCommunicate OK [09:09:58]CreateOFDProtocolMessage done [09:09:58]OFDSenderStorePacket 33332 [09:09:58]StoreOFDPacket docnum=33332 [09:09:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 A8 D1 1D 01 B4 44 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 E5 F2 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 34 82 00 00 35 04 06 00 73 B6 17 49 75 B1 FA D3 68 1C 24 05 F4 45 [09:09:58]CheckFolder [09:09:58]dirname=/storage/ofd_packets [09:09:58]CheckFolder done [09:09:58]ProducePacketName [09:09:58]name=ofd_packets/00033332 [09:09:58]NVStorageSaveData ofd_packets/00033332 [09:09:58]File name is /storage/ofd_packets/00033332 [09:09:58]Write 323 bytes [09:09:58]NVStorageSaveData done [09:09:58]OFDSenderStorePacket done [09:09:58]KKMCreateOFDPacket done [09:09:58]NVStorageSaveData kkm_last_timestamp [09:09:58]File name is /storage/kkm_last_timestamp [09:09:58]Write 4 bytes [09:09:58]NVStorageSaveData done [09:09:58]ExternCall_PrintAddStr [09:09:58]wPrintStart [09:09:58]Write to MH i2c: 01 00 00 7C 00 7C [09:09:58]Write i2c OK [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: 01 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: 01 07 00 [09:09:58]MH_I2C_Read... [09:09:58]Read from MH i2c: 01 07 00 7C 00 00 00 00 00 00 FF 0F 91 [09:09:58]RasterBufferAndPrint [09:09:58]line Счет N : (3)169152 [09:09:58]line ИНН: 02508201610067 [09:09:58]line Контрольно-Кассовый Чек [09:09:58]line ПРОДАЖА [09:09:58]line Товар: 48743570 [09:09:58]line Сигареты Winston XStyle Blue [09:09:58]line 1.000 * 140.00 [09:09:58]line = 140.00 [09:09:58]line НДС 12% НСП 1% [09:09:58]line > о реализуемом товаре [09:09:58]line ИТОГО: 140.00 [09:09:58]line НСП 1% : 1.24 [09:09:58]line НДС 12% : 14.87 [09:09:58]line Наличными: 0.00 [09:09:58]line Безнал.: 140.00 [09:09:58]line Место: АЗС № 77 "Партнер Нефть" [09:09:58]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:09:58]line СНО: Общий режим [09:09:58]line Чек 10 12.07.2024 09:09 [09:09:58]line Смена: 433 ФФД: 1.0 [09:09:58]line ЗНМ: 0300000122 [09:09:58]line РНМ: 0000000000093033 [09:09:58]line Версия ККМ: 001 [09:09:58]line Платежная система: АКБ Кыргызстан [09:09:58]line ФМ: 0000000000875104 [09:09:58]line ФД: 33332 [09:09:58]line ФПД: 127225911932337 [09:09:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T090957&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33332&fm=127225911932337&tin=02508201610067®Number=0000000000093033&sum=14000 [09:09:58]OFD Sender: Processing packet 33332 [packets to send 6, broken 5] [09:09:58]ProducePacketName [09:09:58]name=ofd_packets/00033332 [09:09:58]OFD Sender: To server: pG, [09:09:58]CommunicateWithHost lk.salyk.kg:30040 [09:09:58]ConnectInit lk.salyk.kg [09:09:58]line 0 [09:09:58]written 0, free lines is 4095 [09:09:59]Connected sock=10 [09:09:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 25 01 00 00 A8 D1 1D 01 B4 44 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 E5 F2 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 34 82 00 00 35 04 06 00 73 B6 17 49 75 B1 FA D3 68 1C 24 05 F4 45 [09:09:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 10 8A 47 00 4B 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 34 82 00 00 F4 03 04 00 92 9D 90 66 B6 04 01 00 00 5B BD 91 40 DA 04 40 80 [09:09:59]CommunicateWithHost err = 0 [09:09:59]CheckOFDResponse [09:09:59]1017 (14) - 77093643461234 [09:09:59]1041 (16) - 0000000000875104 [09:09:59]1040 (4) - 33332 [09:09:59]1012 (4) - 12.07.2024 03:05 [09:09:59]1206 (1) - 0 [09:09:59]OFD Sender: Remove packet 33332 [09:09:59]ProducePacketName [09:09:59]name=ofd_packets/00033332 [09:09:59]NVStorageDeleteData [09:09:59]Write to MH i2c: 01 00 00 A6 00 A6 [09:09:59]Write i2c OK [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: 01 [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: 01 07 00 [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: 01 07 00 A6 00 00 00 00 00 00 E8 0C A1 [09:09:59]RasterBufferAndPrint [09:09:59]line [09:09:59]line [09:09:59]line [09:09:59]line [09:09:59]line [09:09:59]written 0, free lines is 3310 [09:09:59]MH_Cut [09:09:59]Write to MH i2c: D1 01 00 AD 00 01 7F [09:09:59]Write i2c OK [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: D1 [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: D1 01 00 [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: D1 01 00 AD 00 00 7E [09:09:59]Write to MH i2c: 01 00 00 AE 00 AE [09:09:59]Write i2c OK [09:09:59]MH_I2C_Read... [09:09:59]OFD Sender: No OFD packet to send [09:10:00]*** Cut start [09:10:00]*** Partial cut [09:10:00]*** CUTSNS_PIN = 1 [09:10:00]*** CUTSNS_PIN = 0 [09:10:00]*** Brake cut motor [09:10:00]Read from MH i2c: 01 [09:10:00]MH_I2C_Read... [09:10:00]*** Stop cut motor [09:10:00]*** Cut end [09:10:00]Read from MH i2c: 01 07 00 [09:10:00]MH_I2C_Read... [09:10:00]Read from MH i2c: 01 07 00 AE 00 00 00 00 00 00 FF 0F C3 [09:10:00]process_action close_receipt done [09:10:00]requested_data is exist [09:10:00]produce_requested_data [09:10:00]requested_item fm.sn is exist - process it [09:10:00]wFMCommunicate request_size=4 [09:10:00]MH_SAM_APDU [09:10:00]CAPDU: 80 11 00 00 [09:10:00]Write to MH i2c: E2 08 00 AF 00 80 11 00 00 00 00 00 00 29 [09:10:00]Write i2c OK [09:10:00]MH_I2C_Read... [09:10:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:00]Read from MH i2c: E2 [09:10:00]MH_I2C_Read... [09:10:00]Read from MH i2c: E2 17 00 [09:10:00]MH_I2C_Read... [09:10:00]Read from MH i2c: E2 17 00 AF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 75 [09:10:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:10:00]wFMCommunicate OK [09:10:00]requested_item fd.num is exist - process it [09:10:00]SAM_PROTO_GetFieldsCounters [09:10:00]wFMCommunicate request_size=4 [09:10:00]MH_SAM_APDU [09:10:00]CAPDU: 80 13 00 00 [09:10:00]Write to MH i2c: E2 08 00 B0 00 80 13 00 00 00 00 00 00 2C [09:10:00]Write i2c OK [09:10:00]MH_I2C_Read... [09:10:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:10:00]Read from MH i2c: E2 [09:10:00]MH_I2C_Read... [09:10:00]Read from MH i2c: E2 62 00 [09:10:00]MH_I2C_Read... [09:10:00]Read from MH i2c: E2 62 00 B0 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 34 82 00 00 0E 04 04 00 B1 01 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 C5 [09:10:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 34 82 00 00 0E 04 04 00 B1 01 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 [09:10:00]wFMCommunicate OK [09:10:00]SAM_PROTO_GetFieldsCounters done [09:10:00]requested_item shift.num is exist - process it [09:10:00]requested_item shift.opened is exist - process it [09:10:00]req_shift_opened [09:10:00]FM_GetShiftState [09:10:00]SAM_PROTO_GetShiftState [09:10:00]wFMCommunicate request_size=4 [09:10:00]MH_SAM_APDU [09:10:00]CAPDU: 80 13 01 00 [09:10:00]Write to MH i2c: E2 08 00 B1 00 80 13 01 00 00 00 00 00 2E [09:10:00]Write i2c OK [09:10:00]MH_I2C_Read... [09:10:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:01]Read from MH i2c: E2 [09:10:01]MH_I2C_Read... [09:10:01]Read from MH i2c: E2 0E 00 [09:10:01]MH_I2C_Read... [09:10:01]Read from MH i2c: E2 0E 00 B1 00 00 09 00 01 17 74 90 66 00 00 00 00 90 00 BB [09:10:01]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:10:01]wFMCommunicate OK [09:10:01]SAM_PROTO_GetShiftState done [09:10:01]FM_GetShiftState done [09:10:01]req_shift_opened done [09:10:01]requested_item shift.open_date is exist - process it [09:10:01]req_shift_open_date [09:10:01]req_shift_open_date done [09:10:01]produce_requested_data done [09:10:01]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33332,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [09:10:01]process_action_free close_receipt [09:10:01]json_value_free [09:10:01]json_value_free done [09:10:01]process_json_proto returns [09:10:01]Send response to host [09:10:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33332,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [09:10:01]free response buf [09:10:01]execute_script done [09:10:01]execute_script returns [09:10:01]free content buf [09:10:01]Sock 7.Close socket [09:10:01]Sock 7.Thread stoped [09:10:04]OFD Sender: No OFD packet to send [09:10:09]OFD Sender: No OFD packet to send [09:10:14]OFD Sender: No OFD packet to send [09:10:19]OFD Sender: No OFD packet to send [09:10:24]OFD Sender: No OFD packet to send [09:10:29]OFD Sender: No OFD packet to send [09:10:34]OFD Sender: No OFD packet to send [09:10:39]OFD Sender: No OFD packet to send [09:10:44]OFD Sender: No OFD packet to send [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:44]OFD Sender: No OFD packet to send [09:12:49]OFD Sender: No OFD packet to send [09:12:54]OFD Sender: No OFD packet to send [09:12:59]OFD Sender: No OFD packet to send [09:13:04]OFD Sender: No OFD packet to send [09:13:09]OFD Sender: No OFD packet to send [09:13:14]OFD Sender: No OFD packet to send [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:16:00]OFD Sender: No OFD packet to send [09:16:05]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21:45]OFD Sender: No OFD packet to send [09:21:50]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:30]OFD Sender: No OFD packet to send [09:25:35]OFD Sender: No OFD packet to send [09:25:40]OFD Sender: No OFD packet to send [09:25:45]OFD Sender: No OFD packet to send [09:25:50]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:07]accept exits with 9 [09:26:07]New connection [09:26:07]New thread 3066604900 created [09:26:07]Thread 3066461540 joined [09:26:07]Waiting for new connection... [09:26:07] Sock 9.Parse request [09:26:07]Sock 9.Check first char [09:26:07]Sock 9.First char is OK [09:26:07]request: POST /json_proto HTTP/1.0 [09:26:07]Method: POST [09:26:07]URL: /json_proto [09:26:07]Method is POST - this is cgi request [09:26:07]url: /json_proto [09:26:07]query_string will be loaded in cgi processing [09:26:07]execute_cgi json_proto POST (null) [09:26:07]execute_cgi path=json_proto method=POST [09:26:07]POST find Content-Length [09:26:07]Host: 172.17.35.196:8080 [09:26:07]Content-Length: 801 [09:26:07]Content-Type: application/json [09:26:07] [09:26:07]POST finish read [09:26:07]Found Content-Length = 801 [09:26:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169153", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:26:07]execute_script... [09:26:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169153", "tax_sys" : 0, "items" : [ { "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:26:07]POST & json_proto [09:26:07]process_json_proto [09:26:07]json parsed OK: [09:26:07]protocol is kg_v1.0 [09:26:07]action value=close_receipt [09:26:07]process_action close_receipt [09:26:07]cmd_close_receipt [09:26:07]MH_GetDate [09:26:07]Write to MH i2c: F0 00 00 B2 00 A1 [09:26:07]Write i2c OK [09:26:07]MH_I2C_Read... [09:26:07]Read from MH i2c: F0 [09:26:07]MH_I2C_Read... [09:26:07]Read from MH i2c: F0 09 00 [09:26:07]MH_I2C_Read... [09:26:07]Read from MH i2c: F0 09 00 B2 00 00 B0 F6 90 66 AD 14 F4 65 60 [09:26:07]GetLastDocTimeStamp 1720775397 [09:26:07]current date 1720776368 [09:26:07]FM_GetShiftState [09:26:07]SAM_PROTO_GetShiftState [09:26:07]wFMCommunicate request_size=4 [09:26:07]MH_SAM_APDU [09:26:07]CAPDU: 80 13 01 00 [09:26:07]Write to MH i2c: E2 08 00 B3 00 80 13 01 00 00 00 00 00 30 [09:26:07]Write i2c OK [09:26:07]MH_I2C_Read... [09:26:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:26:07]Read from MH i2c: E2 [09:26:07]MH_I2C_Read... [09:26:07]Read from MH i2c: E2 0E 00 [09:26:07]MH_I2C_Read... [09:26:07]Read from MH i2c: E2 0E 00 B3 00 00 09 00 01 17 74 90 66 00 00 00 00 90 00 BD [09:26:07]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:26:07]wFMCommunicate OK [09:26:07]SAM_PROTO_GetShiftState done [09:26:07]FM_GetShiftState done [09:26:07]opened in 1720742935 [09:26:07]opened+sec_in_day 1720829335 [09:26:07]quantity*price = 3500 [09:26:07]sum+1 = 3501 [09:26:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 0.00 Безнал.: 35.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 11 12.07.2024 09:26 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875104 ФД: 33333 ФПД: 168624540899450 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T092608&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33333&fm=168624540899450&tin=02508201610067®Number=0000000000093033&sum=3500 0 [09:26:09]StoreToDocumentArchive [09:26:09]shift 433 fd 33333 [09:26:09]save to /storage/0433/doc_00033333 [09:26:09]save last doc name /storage/0433/doc_00033333 to /storage/kkm_last_doc_name [09:26:09]save OK [09:26:09]Clear old archive folders... [09:26:09]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:26:09]tlvbuf is 00A34E40 [09:26:09]SAM_PROTO_ClearQueue [09:26:09]wFMCommunicate request_size=4 [09:26:09]MH_SAM_APDU [09:26:09]CAPDU: 80 09 00 00 [09:26:09]Write to MH i2c: E2 08 00 C0 00 80 09 00 00 00 00 00 00 32 [09:26:09]Write i2c OK [09:26:09]MH_I2C_Read... [09:26:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:26:09]Read from MH i2c: E2 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 03 00 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [09:26:09]RAPDU: 90 00 [09:26:09]wFMCommunicate OK [09:26:09]SAM_PROTO_ClearQueue done [09:26:09]KKMCreateOFDPacket [09:26:09]OFDProtocolAddRootSTLVToBuf [09:26:09]FM_MakeSignedData [09:26:09]FM_MakeSignedData [09:26:09]SAM_PROTO_SignData [09:26:09]wFMCommunicate request_size=4 [09:26:09]MH_SAM_APDU [09:26:09]CAPDU: 80 0D 01 02 [09:26:09]Write to MH i2c: E2 08 00 C1 00 80 0D 01 02 00 00 00 00 3A [09:26:09]Write i2c OK [09:26:09]MH_I2C_Read... [09:26:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:26:09]Read from MH i2c: E2 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 03 00 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [09:26:09]RAPDU: 90 00 [09:26:09]wFMCommunicate OK [09:26:09]wFMCommunicate request_size=255 [09:26:09]MH_SAM_APDU [09:26:09]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 B0 F6 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [09:26:09]Write to MH i2c: E2 02 01 C2 00 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 B0 F6 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 63 [09:26:09]Write i2c OK [09:26:09]MH_I2C_Read... [09:26:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:26:09]Read from MH i2c: E2 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 03 00 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [09:26:09]RAPDU: 90 00 [09:26:09]wFMCommunicate OK [09:26:09]wFMCommunicate request_size=34 [09:26:09]MH_SAM_APDU [09:26:09]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 35 82 00 00 35 04 06 00 99 5C F5 DC 58 7A [09:26:09]Write to MH i2c: E2 25 00 C3 00 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 35 82 00 00 35 04 06 00 99 5C F5 DC 58 7A 00 00 46 [09:26:09]Write i2c OK [09:26:09]MH_I2C_Read... [09:26:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:26:09]Read from MH i2c: E2 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 03 00 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [09:26:09]RAPDU: 90 00 [09:26:09]wFMCommunicate OK [09:26:09]wFMCommunicate request_size=4 [09:26:09]MH_SAM_APDU [09:26:09]CAPDU: 80 0D 03 02 [09:26:09]Write to MH i2c: E2 08 00 C4 00 80 0D 03 02 00 00 00 00 3F [09:26:09]Write i2c OK [09:26:09]MH_I2C_Read... [09:26:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:26:09]Read from MH i2c: E2 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 0B 00 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 0B 00 C4 00 00 C2 0E 9F F4 D2 DA F6 E3 90 00 28 [09:26:09]RAPDU: C2 0E 9F F4 D2 DA F6 E3 90 00 [09:26:09]wFMCommunicate OK [09:26:09]SAM_PROTO_SignData done [09:26:09]FM_MakeSignedData done [09:26:09]CreateOFDProtocolMessage [09:26:09]wFMCommunicate request_size=4 [09:26:09]MH_SAM_APDU [09:26:09]CAPDU: 80 11 00 00 [09:26:09]Write to MH i2c: E2 08 00 C5 00 80 11 00 00 00 00 00 00 3F [09:26:09]Write i2c OK [09:26:09]MH_I2C_Read... [09:26:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:26:09]Read from MH i2c: E2 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 17 00 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: E2 17 00 C5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8B [09:26:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:26:09]wFMCommunicate OK [09:26:09]CreateOFDProtocolMessage done [09:26:09]OFDSenderStorePacket 33333 [09:26:09]StoreOFDPacket docnum=33333 [09:26:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 50 FA 1F 01 2B B9 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 B0 F6 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 35 82 00 00 35 04 06 00 99 5C F5 DC 58 7A C2 0E 9F F4 D2 DA F6 E3 [09:26:09]CheckFolder [09:26:09]dirname=/storage/ofd_packets [09:26:09]CheckFolder done [09:26:09]ProducePacketName [09:26:09]name=ofd_packets/00033333 [09:26:09]NVStorageSaveData ofd_packets/00033333 [09:26:09]File name is /storage/ofd_packets/00033333 [09:26:09]Write 325 bytes [09:26:09]NVStorageSaveData done [09:26:09]OFDSenderStorePacket done [09:26:09]KKMCreateOFDPacket done [09:26:09]NVStorageSaveData kkm_last_timestamp [09:26:09]File name is /storage/kkm_last_timestamp [09:26:09]Write 4 bytes [09:26:09]NVStorageSaveData done [09:26:09]ExternCall_PrintAddStr [09:26:09]wPrintStart [09:26:09]Write to MH i2c: 01 00 00 C6 00 C6 [09:26:09]Write i2c OK [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: 01 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: 01 07 00 [09:26:09]MH_I2C_Read... [09:26:09]Read from MH i2c: 01 07 00 C6 00 00 00 00 00 00 FF 0F DB [09:26:09]RasterBufferAndPrint [09:26:09]line Счет N : (3)169153 [09:26:09]line ИНН: 02508201610067 [09:26:09]line Контрольно-Кассовый Чек [09:26:09]line ПРОДАЖА [09:26:09]line Товар: 2000032710015 [09:26:09]line Сочник DC творог 75г [09:26:09]line 1.000 * 35.00 [09:26:09]line = 35.00 [09:26:09]line НДС 12% НСП 1% [09:26:09]line > о реализуемом товаре [09:26:09]line ИТОГО: 35.00 [09:26:09]line НСП 1% : 0.31 [09:26:09]line НДС 12% : 3.72 [09:26:09]line Наличными: 0.00 [09:26:09]line Безнал.: 35.00 [09:26:09]line Место: АЗС № 77 "Партнер Нефть" [09:26:09]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:26:09]line СНО: Общий режим [09:26:09]line Чек 11 12.07.2024 09:26 [09:26:09]line Смена: 433 ФФД: 1.0 [09:26:09]line ЗНМ: 0300000122 [09:26:09]line РНМ: 0000000000093033 [09:26:09]line Версия ККМ: 001 [09:26:09]line Платежная система: O! деньги [09:26:09]line ФМ: 0000000000875104 [09:26:09]line ФД: 33333 [09:26:09]line ФПД: 168624540899450 [09:26:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T092608&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33333&fm=168624540899450&tin=02508201610067®Number=0000000000093033&sum=3500 [09:26:09]OFD Sender: Processing packet 33333 [packets to send 6, broken 5] [09:26:09]ProducePacketName [09:26:09]name=ofd_packets/00033333 [09:26:09]OFD Sender: To server: pG, [09:26:09]CommunicateWithHost lk.salyk.kg:30040 [09:26:09]ConnectInit lk.salyk.kg [09:26:09]line 0 [09:26:09]written 0, free lines is 4095 [09:26:10]Connected sock=10 [09:26:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 50 FA 1F 01 2B B9 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 B0 F6 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 35 82 00 00 35 04 06 00 99 5C F5 DC 58 7A C2 0E 9F F4 D2 DA F6 E3 [09:26:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F1 16 47 00 80 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 38 37 35 31 30 34 10 04 04 00 35 82 00 00 F4 03 04 00 5D A1 90 66 B6 04 01 00 00 00 2C 99 14 CB 82 A6 4B [09:26:10]CommunicateWithHost err = 0 [09:26:10]CheckOFDResponse [09:26:10]1017 (14) - 77093643461234 [09:26:10]1041 (16) - 0000000000875104 [09:26:10]1040 (4) - 33333 [09:26:10]1012 (4) - 12.07.2024 03:22 [09:26:10]1206 (1) - 0 [09:26:10]OFD Sender: Remove packet 33333 [09:26:10]ProducePacketName [09:26:10]name=ofd_packets/00033333 [09:26:10]NVStorageDeleteData [09:26:10]Write to MH i2c: 01 00 00 F0 00 F0 [09:26:10]Write i2c OK [09:26:10]MH_I2C_Read... [09:26:10]Read from MH i2c: 01 [09:26:10]MH_I2C_Read... [09:26:10]Read from MH i2c: 01 07 00 [09:26:10]MH_I2C_Read... [09:26:10]Read from MH i2c: 01 07 00 F0 00 00 00 00 00 00 DE 0C E1 [09:26:10]RasterBufferAndPrint [09:26:10]line [09:26:10]line [09:26:10]line [09:26:10]line [09:26:10]line [09:26:10]written 0, free lines is 3301 [09:26:10]MH_Cut [09:26:10]Write to MH i2c: D1 01 00 F7 00 01 C9 [09:26:10]Write i2c OK [09:26:10]MH_I2C_Read... [09:26:10]Read from MH i2c: D1 [09:26:10]MH_I2C_Read... [09:26:10]Read from MH i2c: D1 01 00 [09:26:10]MH_I2C_Read... [09:26:10]Read from MH i2c: D1 01 00 F7 00 00 C8 [09:26:10]Write to MH i2c: 01 00 00 F8 00 F8 [09:26:10]Write i2c OK [09:26:10]MH_I2C_Read... [09:26:10]OFD Sender: No OFD packet to send [09:26:11]*** Cut start [09:26:11]*** Partial cut [09:26:11]*** CUTSNS_PIN = 1 [09:26:11]*** CUTSNS_PIN = 0 [09:26:11]*** Brake cut motor [09:26:11]Read from MH i2c: 01 [09:26:11]MH_I2C_Read... [09:26:11]*** Stop cut motor [09:26:11]*** Cut end [09:26:11]Read from MH i2c: 01 07 00 [09:26:11]MH_I2C_Read... [09:26:11]Read from MH i2c: 01 07 00 F8 00 00 00 00 00 00 FF 0F 0D [09:26:11]process_action close_receipt done [09:26:11]requested_data is exist [09:26:11]produce_requested_data [09:26:11]requested_item fm.sn is exist - process it [09:26:11]wFMCommunicate request_size=4 [09:26:11]MH_SAM_APDU [09:26:11]CAPDU: 80 11 00 00 [09:26:11]Write to MH i2c: E2 08 00 F9 00 80 11 00 00 00 00 00 00 73 [09:26:11]Write i2c OK [09:26:11]MH_I2C_Read... [09:26:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:26:11]Read from MH i2c: E2 [09:26:11]MH_I2C_Read... [09:26:11]Read from MH i2c: E2 17 00 [09:26:11]MH_I2C_Read... [09:26:11]Read from MH i2c: E2 17 00 F9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 BF [09:26:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:26:11]wFMCommunicate OK [09:26:11]requested_item fd.num is exist - process it [09:26:11]SAM_PROTO_GetFieldsCounters [09:26:11]wFMCommunicate request_size=4 [09:26:11]MH_SAM_APDU [09:26:11]CAPDU: 80 13 00 00 [09:26:11]Write to MH i2c: E2 08 00 FA 00 80 13 00 00 00 00 00 00 76 [09:26:11]Write i2c OK [09:26:11]MH_I2C_Read... [09:26:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:26:11]Read from MH i2c: E2 [09:26:11]MH_I2C_Read... [09:26:11]Read from MH i2c: E2 62 00 [09:26:11]MH_I2C_Read... [09:26:11]Read from MH i2c: E2 62 00 FA 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 35 82 00 00 0E 04 04 00 B1 01 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 13 [09:26:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 35 82 00 00 0E 04 04 00 B1 01 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 [09:26:11]wFMCommunicate OK [09:26:11]SAM_PROTO_GetFieldsCounters done [09:26:11]requested_item shift.num is exist - process it [09:26:11]requested_item shift.opened is exist - process it [09:26:11]req_shift_opened [09:26:11]FM_GetShiftState [09:26:11]SAM_PROTO_GetShiftState [09:26:11]wFMCommunicate request_size=4 [09:26:11]MH_SAM_APDU [09:26:11]CAPDU: 80 13 01 00 [09:26:11]Write to MH i2c: E2 08 00 FB 00 80 13 01 00 00 00 00 00 78 [09:26:11]Write i2c OK [09:26:11]MH_I2C_Read... [09:26:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:26:12]Read from MH i2c: E2 [09:26:12]MH_I2C_Read... [09:26:12]Read from MH i2c: E2 0E 00 [09:26:12]MH_I2C_Read... [09:26:12]Read from MH i2c: E2 0E 00 FB 00 00 09 00 01 17 74 90 66 00 00 00 00 90 00 05 [09:26:12]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:26:12]wFMCommunicate OK [09:26:12]SAM_PROTO_GetShiftState done [09:26:12]FM_GetShiftState done [09:26:12]req_shift_opened done [09:26:12]requested_item shift.open_date is exist - process it [09:26:12]req_shift_open_date [09:26:12]req_shift_open_date done [09:26:12]produce_requested_data done [09:26:12]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33333,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [09:26:12]process_action_free close_receipt [09:26:12]json_value_free [09:26:12]json_value_free done [09:26:12]process_json_proto returns [09:26:12]Send response to host [09:26:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33333,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [09:26:12]free response buf [09:26:12]execute_script done [09:26:12]execute_script returns [09:26:12]free content buf [09:26:12]Sock 9.Close socket [09:26:12]Sock 9.Thread stoped [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:41]recv_with_timeout no data received [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]OFD Sender: No OFD packet to send [09:30:40]OFD Sender: No OFD packet to send [09:30:45]OFD Sender: No OFD packet to send [09:30:50]OFD Sender: No OFD packet to send [09:30:55]OFD Sender: No OFD packet to send [09:31:00]OFD Sender: No OFD packet to send [09:31:05]OFD Sender: No OFD packet to send [09:31:10]OFD Sender: No OFD packet to send [09:31:15]OFD Sender: No OFD packet to send [09:31:20]OFD Sender: No OFD packet to send [09:31:25]OFD Sender: No OFD packet to send [09:31:30]OFD Sender: No OFD packet to send [09:31:35]OFD Sender: No OFD packet to send [09:31:40]OFD Sender: No OFD packet to send [09:31:45]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:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:21]OFD Sender: No OFD packet to send [09:41:26]OFD Sender: No OFD packet to send [09:41:31]OFD Sender: No OFD packet to send [09:41:36]OFD Sender: No OFD packet to send [09:41:41]OFD Sender: No OFD packet to send [09:41:46]OFD Sender: No OFD packet to send [09:41:51]OFD Sender: No OFD packet to send [09:41:56]OFD Sender: No OFD packet to send [09:42:01]OFD Sender: No OFD packet to send [09:42:06]OFD Sender: No OFD packet to send [09:42:11]OFD Sender: No OFD packet to send [09:42:16]OFD Sender: No OFD packet to send [09:42:21]OFD Sender: No OFD packet to send [09:42:26]OFD Sender: No OFD packet to send [09:42:31]OFD Sender: No OFD packet to send [09:42:36]OFD Sender: No OFD packet to send [09:42:41]OFD Sender: No OFD packet to send [09:42:46]OFD Sender: No OFD packet to send [09:42:51]OFD Sender: No OFD packet to send [09:42:56]OFD Sender: No OFD packet to send [09:43:01]OFD Sender: No OFD packet to send [09:43:06]OFD Sender: No OFD packet to send [09:43:11]OFD Sender: No OFD packet to send [09:43:16]OFD Sender: No OFD packet to send [09:43:21]OFD Sender: No OFD packet to send [09:43:26]OFD Sender: No OFD packet to send [09:43:31]OFD Sender: No OFD packet to send [09:43:36]OFD Sender: No OFD packet to send [09:43:41]OFD Sender: No OFD packet to send [09:43:46]OFD Sender: No OFD packet to send [09:43:51]OFD Sender: No OFD packet to send [09:43:56]OFD Sender: No OFD packet to send [09:44:01]OFD Sender: No OFD packet to send [09:44:06]OFD Sender: No OFD packet to send [09:44:11]OFD Sender: No OFD packet to send [09:44:16]OFD Sender: No OFD packet to send [09:44:21]OFD Sender: No OFD packet to send [09:44:26]OFD Sender: No OFD packet to send [09:44:31]OFD Sender: No OFD packet to send [09:44:36]OFD Sender: No OFD packet to send [09:44:41]OFD Sender: No OFD packet to send [09:44:46]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:26]OFD Sender: No OFD packet to send [09:45:31]OFD Sender: No OFD packet to send [09:45:36]OFD Sender: No OFD packet to send [09:45:41]OFD Sender: No OFD packet to send [09:45:46]OFD Sender: No OFD packet to send [09:45:51]OFD Sender: No OFD packet to send [09:45:56]OFD Sender: No OFD packet to send [09:46:01]OFD Sender: No OFD packet to send [09:46:06]OFD Sender: No OFD packet to send [09:46:11]OFD Sender: No OFD packet to send [09:46:16]OFD Sender: No OFD packet to send [09:46:21]OFD Sender: No OFD packet to send [09:46:24]accept exits with 7 [09:46:24]New connection [09:46:24]New thread 3066461540 created [09:46:24]Thread 3066604900 joined [09:46:24]Waiting for new connection... [09:46:24] Sock 7.Parse request [09:46:24]Sock 7.Check first char [09:46:24]Sock 7.First char is OK [09:46:24]request: POST /json_proto HTTP/1.0 [09:46:24]Method: POST [09:46:24]URL: /json_proto [09:46:24]Method is POST - this is cgi request [09:46:24]url: /json_proto [09:46:24]query_string will be loaded in cgi processing [09:46:24]execute_cgi json_proto POST (null) [09:46:24]execute_cgi path=json_proto method=POST [09:46:24]POST find Content-Length [09:46:24]Host: 172.17.35.196:8080 [09:46:24]Content-Length: 1164 [09:46:24]Content-Type: application/json [09:46:24] [09:46:24]POST finish read [09:46:24]Found Content-Length = 1164 [09:46:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5669999\u000A12.07.2024 09:39\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 33\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 25.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1657.50\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30102216\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:24]execute_script... [09:46:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5669999\u000A12.07.2024 09:39\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 33\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 25.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1657.50\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30102216\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:24]POST & json_proto [09:46:24]process_json_proto [09:46:24]json parsed OK: [09:46:24]protocol is kg_v1.0 [09:46:24]action value=print_text [09:46:24]process_action print_text [09:46:24]cmd_print_text [09:46:24]ExternCall_PrintAddStr [09:46:24]wPrintStart [09:46:24]Write to MH i2c: 01 00 00 FC 00 FC [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: 01 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: 01 07 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: 01 07 00 FC 00 00 00 00 00 00 FF 0F 11 [09:46:24]RasterBufferAndPrint [09:46:24]line *****ТОВАРНЫЙ ЧЕК***** [09:46:24]line АЗС 77 [09:46:24]line Партнер нефть [09:46:24]line 02508201610067 [09:46:24]line Кассир : Ташыбеков М. [09:46:24]line Счет N : (1)5669999 [09:46:24]line 12.07.2024 09:39 [09:46:24]line ПРОДАЖА [09:46:24]line ТРК (МРК, ГНК): 33 [09:46:24]line Вид ГСМ : 2710124130 [09:46:24]line Аи-92-К-5 [09:46:24]line 25.000 x 66.30 [09:46:24]line ИТОГ: 1657.50 [09:46:24]line Тип оплаты: Талоны: ТК ГПНА Online [09:46:24]line 30102216 [09:46:24]line ______________________ [09:46:24]line (подпись) [09:46:24]written 0, free lines is 4095 [09:46:24]Write to MH i2c: 01 00 00 10 01 11 [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: 01 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: 01 07 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: 01 07 00 10 01 00 00 00 00 00 11 0E 37 [09:46:24]RasterBufferAndPrint [09:46:24]line [09:46:24]line [09:46:24]line [09:46:24]line [09:46:24]line [09:46:24]written 0, free lines is 3602 [09:46:24]MH_Cut [09:46:24]Write to MH i2c: D1 01 00 17 01 01 EA [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: D1 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: D1 01 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: D1 01 00 17 01 00 E9 [09:46:24]Write to MH i2c: 01 00 00 18 01 19 [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:25]*** Cut start [09:46:25]*** Partial cut [09:46:25]*** CUTSNS_PIN = 1 [09:46:25]*** CUTSNS_PIN = 0 [09:46:25]*** Brake cut motor [09:46:25]Read from MH i2c: 01 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: 01 07 00 [09:46:25]MH_I2C_Read... [09:46:25]*** Stop cut motor [09:46:25]*** Cut end [09:46:25]Read from MH i2c: 01 07 00 18 01 00 00 00 00 00 FF 0F 2E [09:46:25]process_action print_text done [09:46:25]requested_data is exist [09:46:25]produce_requested_data [09:46:25]requested_item fm.sn is exist - process it [09:46:25]wFMCommunicate request_size=4 [09:46:25]MH_SAM_APDU [09:46:25]CAPDU: 80 11 00 00 [09:46:25]Write to MH i2c: E2 08 00 19 01 80 11 00 00 00 00 00 00 94 [09:46:25]Write i2c OK [09:46:25]MH_I2C_Read... [09:46:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:25]Read from MH i2c: E2 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: E2 17 00 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: E2 17 00 19 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E0 [09:46:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:46:25]wFMCommunicate OK [09:46:25]requested_item fd.num is exist - process it [09:46:25]SAM_PROTO_GetFieldsCounters [09:46:25]wFMCommunicate request_size=4 [09:46:25]MH_SAM_APDU [09:46:25]CAPDU: 80 13 00 00 [09:46:25]Write to MH i2c: E2 08 00 1A 01 80 13 00 00 00 00 00 00 97 [09:46:25]Write i2c OK [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: E2 [09:46:25]MH_I2C_Read... [09:46:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:25]Read from MH i2c: E2 62 00 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: E2 62 00 1A 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 35 82 00 00 0E 04 04 00 B1 01 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 34 [09:46:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 35 82 00 00 0E 04 04 00 B1 01 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 [09:46:25]wFMCommunicate OK [09:46:25]SAM_PROTO_GetFieldsCounters done [09:46:25]requested_item shift.num is exist - process it [09:46:25]requested_item shift.opened is exist - process it [09:46:25]req_shift_opened [09:46:25]FM_GetShiftState [09:46:25]SAM_PROTO_GetShiftState [09:46:25]wFMCommunicate request_size=4 [09:46:25]MH_SAM_APDU [09:46:25]CAPDU: 80 13 01 00 [09:46:25]Write to MH i2c: E2 08 00 1B 01 80 13 01 00 00 00 00 00 99 [09:46:25]Write i2c OK [09:46:25]MH_I2C_Read... [09:46:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:25]Read from MH i2c: E2 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: E2 0E 00 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: E2 0E 00 1B 01 00 09 00 01 17 74 90 66 00 00 00 00 90 00 26 [09:46:25]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:46:25]wFMCommunicate OK [09:46:25]SAM_PROTO_GetShiftState done [09:46:25]FM_GetShiftState done [09:46:25]req_shift_opened done [09:46:25]requested_item shift.open_date is exist - process it [09:46:25]req_shift_open_date [09:46:25]req_shift_open_date done [09:46:25]produce_requested_data done [09:46:25]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33333,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [09:46:25]process_action_free print_text [09:46:25]json_value_free [09:46:25]json_value_free done [09:46:25]process_json_proto returns [09:46:25]Send response to host [09:46:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33333,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [09:46:25]free response buf [09:46:25]execute_script done [09:46:25]execute_script returns [09:46:25]free content buf [09:46:25]Sock 7.Close socket [09:46:25]Sock 7.Thread stoped [09:46:26]OFD Sender: No OFD packet to send [09:46:31]OFD Sender: No OFD packet to send [09:46:36]OFD Sender: No OFD packet to send [09:46:41]OFD Sender: No OFD packet to send [09:46:46]OFD Sender: No OFD packet to send [09:46:51]OFD Sender: No OFD packet to send [09:46:56]OFD Sender: No OFD packet to send [09:47:01]OFD Sender: No OFD packet to send [09:47:06]OFD Sender: No OFD packet to send [09:47:11]OFD Sender: No OFD packet to send [09:47:16]OFD Sender: No OFD packet to send [09:47:21]OFD Sender: No OFD packet to send [09:47:26]OFD Sender: No OFD packet to send [09:47:31]OFD Sender: No OFD packet to send [09:47:36]OFD Sender: No OFD packet to send [09:47:41]OFD Sender: No OFD packet to send [09:47:46]OFD Sender: No OFD packet to send [09:47:51]OFD Sender: No OFD packet to send [09:47:56]OFD Sender: No OFD packet to send [09:48:01]OFD Sender: No OFD packet to send [09:48:06]OFD Sender: No OFD packet to send [09:48:11]OFD Sender: No OFD packet to send [09:48:16]OFD Sender: No OFD packet to send [09:48:21]OFD Sender: No OFD packet to send [09:48:26]OFD Sender: No OFD packet to send [09:48:30]accept exits with 9 [09:48:30]New connection [09:48:30]New thread 3066604900 created [09:48:30]Thread 3066461540 joined [09:48:30]Waiting for new connection... [09:48:30] Sock 9.Parse request [09:48:30]Sock 9.Check first char [09:48:30]Sock 9.First char is OK [09:48:30]request: POST /json_proto HTTP/1.0 [09:48:30]Method: POST [09:48:30]URL: /json_proto [09:48:30]Method is POST - this is cgi request [09:48:30]url: /json_proto [09:48:30]query_string will be loaded in cgi processing [09:48:30]execute_cgi json_proto POST (null) [09:48:30]execute_cgi path=json_proto method=POST [09:48:30]POST find Content-Length [09:48:30]Host: 172.17.35.196:8080 [09:48:30]Content-Length: 671 [09:48:30]Content-Type: application/json [09:48:30] [09:48:30]POST finish read [09:48:30]Found Content-Length = 671 [09:48:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670001", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 7.430, "sum" : 500.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:48:30]execute_script... [09:48:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670001", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 7.430, "sum" : 500.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:48:30]POST & json_proto [09:48:30]process_json_proto [09:48:30]json parsed OK: [09:48:30]protocol is kg_v1.0 [09:48:30]action value=close_receipt [09:48:30]process_action close_receipt [09:48:30]cmd_close_receipt [09:48:30]MH_GetDate [09:48:30]Write to MH i2c: F0 00 00 1C 01 0C [09:48:30]Write i2c OK [09:48:30]MH_I2C_Read... [09:48:30]Read from MH i2c: F0 [09:48:30]MH_I2C_Read... [09:48:30]Read from MH i2c: F0 09 00 [09:48:30]MH_I2C_Read... [09:48:30]Read from MH i2c: F0 09 00 1C 01 00 EE FB 90 66 AD 14 F4 65 0E [09:48:30]GetLastDocTimeStamp 1720776368 [09:48:30]current date 1720777710 [09:48:30]FM_GetShiftState [09:48:30]SAM_PROTO_GetShiftState [09:48:30]wFMCommunicate request_size=4 [09:48:30]MH_SAM_APDU [09:48:30]CAPDU: 80 13 01 00 [09:48:30]Write to MH i2c: E2 08 00 1D 01 80 13 01 00 00 00 00 00 9B [09:48:30]Write i2c OK [09:48:30]MH_I2C_Read... [09:48:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:48:30]Read from MH i2c: E2 [09:48:30]MH_I2C_Read... [09:48:30]Read from MH i2c: E2 0E 00 [09:48:30]MH_I2C_Read... [09:48:30]Read from MH i2c: E2 0E 00 1D 01 00 09 00 01 17 74 90 66 00 00 00 00 90 00 28 [09:48:30]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:48:30]wFMCommunicate OK [09:48:30]SAM_PROTO_GetShiftState done [09:48:30]FM_GetShiftState done [09:48:30]opened in 1720742935 [09:48:30]opened+sec_in_day 1720829335 [09:48:30]quantity*price = 50003 [09:48:30]sum+1 = 50005 [09:48:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.04 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 12 12.07.2024 09:48 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33334 ФПД: 144906365610854 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T094830&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33334&fm=144906365610854&tin=02508201610067®Number=0000000000093033&sum=50000 [09:48:31]StoreToDocumentArchive [09:48:31]shift 433 fd 33334 [09:48:31]save to /storage/0433/doc_00033334 [09:48:31]save last doc name /storage/0433/doc_00033334 to /storage/kkm_last_doc_name [09:48:31]save OK [09:48:31]Clear old archive folders... [09:48:31]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:48:31]tlvbuf is 00A34C20 [09:48:31]SAM_PROTO_ClearQueue [09:48:31]wFMCommunicate request_size=4 [09:48:31]MH_SAM_APDU [09:48:31]CAPDU: 80 09 00 00 [09:48:31]Write to MH i2c: E2 08 00 2A 01 80 09 00 00 00 00 00 00 9D [09:48:31]Write i2c OK [09:48:31]MH_I2C_Read... [09:48:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:48:31]Read from MH i2c: E2 [09:48:31]MH_I2C_Read... [09:48:31]Read from MH i2c: E2 03 00 [09:48:31]MH_I2C_Read... [09:48:31]Read from MH i2c: E2 03 00 2A 01 00 90 00 9F [09:48:31]RAPDU: 90 00 [09:48:31]wFMCommunicate OK [09:48:31]SAM_PROTO_ClearQueue done [09:48:31]KKMCreateOFDPacket [09:48:31]OFDProtocolAddRootSTLVToBuf [09:48:31]FM_MakeSignedData [09:48:31]FM_MakeSignedData [09:48:31]SAM_PROTO_SignData [09:48:31]wFMCommunicate request_size=4 [09:48:31]MH_SAM_APDU [09:48:31]CAPDU: 80 0D 01 02 [09:48:31]Write to MH i2c: E2 08 00 2B 01 80 0D 01 02 00 00 00 00 A5 [09:48:31]Write i2c OK [09:48:31]MH_I2C_Read... [09:48:31]OFD Sender: No OFD packet to send [09:48:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:48:31]Read from MH i2c: E2 [09:48:31]MH_I2C_Read... [09:48:31]Read from MH i2c: E2 03 00 [09:48:31]MH_I2C_Read... [09:48:31]Read from MH i2c: E2 03 00 2B 01 00 90 00 A0 [09:48:31]RAPDU: 90 00 [09:48:31]wFMCommunicate OK [09:48:31]wFMCommunicate request_size=255 [09:48:31]MH_SAM_APDU [09:48:31]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 06 1D 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 54 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 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 0C 00 00 00 F4 03 04 00 EE FB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 36 82 00 00 35 04 06 00 [09:48:31]Write to MH i2c: E2 02 01 2C 01 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 06 1D 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 54 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 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 0C 00 00 00 F4 03 04 00 EE FB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 36 82 00 00 35 04 06 00 00 00 E4 [09:48:31]Write i2c OK [09:48:31]MH_I2C_Read... [09:48:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:48:32]Read from MH i2c: E2 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: E2 03 00 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: E2 03 00 2C 01 00 90 00 A1 [09:48:32]RAPDU: 90 00 [09:48:32]wFMCommunicate OK [09:48:32]wFMCommunicate request_size=11 [09:48:32]MH_SAM_APDU [09:48:32]CAPDU: 80 0D 02 02 06 83 CA A4 72 AB 66 [09:48:32]Write to MH i2c: E2 0E 00 2D 01 80 0D 02 02 06 00 83 CA A4 72 AB 66 00 00 28 [09:48:32]Write i2c OK [09:48:32]MH_I2C_Read... [09:48:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:48:32]Read from MH i2c: E2 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: E2 03 00 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: E2 03 00 2D 01 00 90 00 A2 [09:48:32]RAPDU: 90 00 [09:48:32]wFMCommunicate OK [09:48:32]wFMCommunicate request_size=4 [09:48:32]MH_SAM_APDU [09:48:32]CAPDU: 80 0D 03 02 [09:48:32]Write to MH i2c: E2 08 00 2E 01 80 0D 03 02 00 00 00 00 AA [09:48:32]Write i2c OK [09:48:32]MH_I2C_Read... [09:48:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:48:32]Read from MH i2c: E2 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: E2 0B 00 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: E2 0B 00 2E 01 00 F2 EC A0 2E D0 E9 02 36 90 00 48 [09:48:32]RAPDU: F2 EC A0 2E D0 E9 02 36 90 00 [09:48:32]wFMCommunicate OK [09:48:32]SAM_PROTO_SignData done [09:48:32]FM_MakeSignedData done [09:48:32]CreateOFDProtocolMessage [09:48:32]wFMCommunicate request_size=4 [09:48:32]MH_SAM_APDU [09:48:32]CAPDU: 80 11 00 00 [09:48:32]Write to MH i2c: E2 08 00 2F 01 80 11 00 00 00 00 00 00 AA [09:48:32]Write i2c OK [09:48:32]MH_I2C_Read... [09:48:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:48:32]Read from MH i2c: E2 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: E2 17 00 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: E2 17 00 2F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F6 [09:48:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:48:32]wFMCommunicate OK [09:48:32]CreateOFDProtocolMessage done [09:48:32]OFDSenderStorePacket 33334 [09:48:32]StoreOFDPacket docnum=33334 [09:48:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 01 00 00 19 48 08 01 6D 0E 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 06 1D 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 54 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 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 0C 00 00 00 F4 03 04 00 EE FB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 36 82 00 00 35 04 06 00 83 CA A4 72 AB 66 F2 EC A0 2E D0 E9 02 36 [09:48:32]CheckFolder [09:48:32]dirname=/storage/ofd_packets [09:48:32]CheckFolder done [09:48:32]ProducePacketName [09:48:32]name=ofd_packets/00033334 [09:48:32]NVStorageSaveData ofd_packets/00033334 [09:48:32]File name is /storage/ofd_packets/00033334 [09:48:32]Write 302 bytes [09:48:32]NVStorageSaveData done [09:48:32]OFDSenderStorePacket done [09:48:32]KKMCreateOFDPacket done [09:48:32]NVStorageSaveData kkm_last_timestamp [09:48:32]File name is /storage/kkm_last_timestamp [09:48:32]Write 4 bytes [09:48:32]NVStorageSaveData done [09:48:32]ExternCall_PrintAddStr [09:48:32]wPrintStart [09:48:32]Write to MH i2c: 01 00 00 30 01 31 [09:48:32]Write i2c OK [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: 01 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: 01 07 00 [09:48:32]MH_I2C_Read... [09:48:32]Read from MH i2c: 01 07 00 30 01 00 00 00 00 00 FF 0F 46 [09:48:32]RasterBufferAndPrint [09:48:32]line Счет N : (1)5670001 [09:48:32]line ИНН: 02508201610067 [09:48:32]line Контрольно-Кассовый Чек [09:48:32]line ПРОДАЖА [09:48:32]line ТРК (МРК, ГНК) : 41 [09:48:32]line Товар: 2710124130 [09:48:32]line SUPER 92-К-5 [09:48:32]line 7.430 * 67.30 [09:48:32]line = 500.04 [09:48:32]line НДС 12% НСП 1% [09:48:32]line > о реализуемом товаре [09:48:32]line ОКРУГЛЕНИЕ: -0.04 [09:48:32]line ИТОГО: 500.00 [09:48:32]line Внесено: 500.00 [09:48:32]line СДАЧА: 0.00 [09:48:32]line НСП 1% : 4.42 [09:48:32]line НДС 12% : 53.10 [09:48:32]line Наличными: 500.00 [09:48:32]line Безнал.: 0.00 [09:48:32]line Место: АЗС № 77 "Партнер Нефть" [09:48:32]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [09:48:32]line СНО: Общий режим [09:48:32]line Чек 12 12.07.2024 09:48 [09:48:32]line Смена: 433 ФФД: 1.0 [09:48:32]line ЗНМ: 0300000122 [09:48:32]line РНМ: 0000000000093033 [09:48:32]line Версия ККМ: 001 [09:48:32]line ФМ: 0000000000875104 [09:48:32]line ФД: 33334 [09:48:32]line ФПД: 144906365610854 [09:48:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T094830&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33334&fm=144906365610854&tin=02508201610067®Number=0000000000093033&sum=50000 [09:48:32]OFD Sender: Processing packet 33334 [packets to send 6, broken 5] [09:48:32]ProducePacketName [09:48:32]name=ofd_packets/00033334 [09:48:32]OFD Sender: To server: pG, [09:48:32]CommunicateWithHost lk.salyk.kg:30040 [09:48:32]ConnectInit lk.salyk.kg [09:48:32]written 0, free lines is 4095 [09:48:32]Connected sock=10 [09:48:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 01 00 00 19 48 08 01 6D 0E 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 06 1D 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 54 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 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 0C 00 00 00 F4 03 04 00 EE FB 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 36 82 00 00 35 04 06 00 83 CA A4 72 AB 66 F2 EC A0 2E D0 E9 02 36 [09:48:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 22 74 47 00 B2 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 38 37 35 31 30 34 10 04 04 00 36 82 00 00 F4 03 04 00 9C A6 90 66 B6 04 01 00 00 3B F2 0E 9C EE 2D 61 D5 [09:48:32]CommunicateWithHost err = 0 [09:48:32]CheckOFDResponse [09:48:32]1017 (14) - 77093643461234 [09:48:32]1041 (16) - 0000000000875104 [09:48:32]1040 (4) - 33334 [09:48:32]1012 (4) - 12.07.2024 03:44 [09:48:32]1206 (1) - 0 [09:48:32]OFD Sender: Remove packet 33334 [09:48:32]ProducePacketName [09:48:32]name=ofd_packets/00033334 [09:48:32]NVStorageDeleteData [09:48:33]Write to MH i2c: 01 00 00 5B 01 5C [09:48:33]Write i2c OK [09:48:33]MH_I2C_Read... [09:48:33]Read from MH i2c: 01 [09:48:33]MH_I2C_Read... [09:48:33]Read from MH i2c: 01 07 00 [09:48:33]MH_I2C_Read... [09:48:33]Read from MH i2c: 01 07 00 5B 01 00 00 00 00 00 D1 0C 40 [09:48:33]RasterBufferAndPrint [09:48:33]line [09:48:33]line [09:48:33]line [09:48:33]line [09:48:33]line [09:48:33]written 0, free lines is 3288 [09:48:33]MH_Cut [09:48:33]Write to MH i2c: D1 01 00 62 01 01 35 [09:48:33]Write i2c OK [09:48:33]MH_I2C_Read... [09:48:33]Read from MH i2c: D1 [09:48:33]MH_I2C_Read... [09:48:33]Read from MH i2c: D1 01 00 [09:48:33]MH_I2C_Read... [09:48:33]Read from MH i2c: D1 01 00 62 01 00 34 [09:48:33]Write to MH i2c: 01 00 00 63 01 64 [09:48:33]Write i2c OK [09:48:33]MH_I2C_Read... [09:48:33]OFD Sender: No OFD packet to send [09:48:33]*** Cut start [09:48:33]*** Partial cut [09:48:33]*** CUTSNS_PIN = 1 [09:48:33]*** CUTSNS_PIN = 0 [09:48:34]*** Brake cut motor [09:48:34]Read from MH i2c: 01 [09:48:34]MH_I2C_Read... [09:48:34]*** Stop cut motor [09:48:34]*** Cut end [09:48:34]Read from MH i2c: 01 07 00 [09:48:34]MH_I2C_Read... [09:48:34]Read from MH i2c: 01 07 00 63 01 00 00 00 00 00 FF 0F 79 [09:48:34]process_action close_receipt done [09:48:34]requested_data is exist [09:48:34]produce_requested_data [09:48:34]requested_item fm.sn is exist - process it [09:48:34]wFMCommunicate request_size=4 [09:48:34]MH_SAM_APDU [09:48:34]CAPDU: 80 11 00 00 [09:48:34]Write to MH i2c: E2 08 00 64 01 80 11 00 00 00 00 00 00 DF [09:48:34]Write i2c OK [09:48:34]MH_I2C_Read... [09:48:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:48:34]Read from MH i2c: E2 [09:48:34]MH_I2C_Read... [09:48:34]Read from MH i2c: E2 17 00 [09:48:34]MH_I2C_Read... [09:48:34]Read from MH i2c: E2 17 00 64 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2B [09:48:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:48:34]wFMCommunicate OK [09:48:34]requested_item fd.num is exist - process it [09:48:34]SAM_PROTO_GetFieldsCounters [09:48:34]wFMCommunicate request_size=4 [09:48:34]MH_SAM_APDU [09:48:34]CAPDU: 80 13 00 00 [09:48:34]Write to MH i2c: E2 08 00 65 01 80 13 00 00 00 00 00 00 E2 [09:48:34]Write i2c OK [09:48:34]MH_I2C_Read... [09:48:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:48:34]Read from MH i2c: E2 [09:48:34]MH_I2C_Read... [09:48:34]Read from MH i2c: E2 62 00 [09:48:34]MH_I2C_Read... [09:48:34]Read from MH i2c: E2 62 00 65 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 36 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [09:48:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 36 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:48:34]wFMCommunicate OK [09:48:34]SAM_PROTO_GetFieldsCounters done [09:48:34]requested_item shift.num is exist - process it [09:48:34]requested_item shift.opened is exist - process it [09:48:34]req_shift_opened [09:48:34]FM_GetShiftState [09:48:34]SAM_PROTO_GetShiftState [09:48:34]wFMCommunicate request_size=4 [09:48:34]MH_SAM_APDU [09:48:34]CAPDU: 80 13 01 00 [09:48:34]Write to MH i2c: E2 08 00 66 01 80 13 01 00 00 00 00 00 E4 [09:48:34]Write i2c OK [09:48:34]MH_I2C_Read... [09:48:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:48:34]Read from MH i2c: E2 [09:48:34]MH_I2C_Read... [09:48:34]Read from MH i2c: E2 0E 00 [09:48:34]MH_I2C_Read... [09:48:34]Read from MH i2c: E2 0E 00 66 01 00 09 00 01 17 74 90 66 00 00 00 00 90 00 71 [09:48:34]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:48:34]wFMCommunicate OK [09:48:34]SAM_PROTO_GetShiftState done [09:48:34]FM_GetShiftState done [09:48:34]req_shift_opened done [09:48:34]requested_item shift.open_date is exist - process it [09:48:34]req_shift_open_date [09:48:34]req_shift_open_date done [09:48:34]produce_requested_data done [09:48:34]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33334,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [09:48:34]process_action_free close_receipt [09:48:34]json_value_free [09:48:34]json_value_free done [09:48:34]process_json_proto returns [09:48:34]Send response to host [09:48:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33334,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [09:48:34]free response buf [09:48:34]execute_script done [09:48:34]execute_script returns [09:48:34]free content buf [09:48:34]Sock 9.Close socket [09:48:34]Sock 9.Thread stoped [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:24]accept exits with 7 [09:50:24]New connection [09:50:24]New thread 3066461540 created [09:50:24]Thread 3066604900 joined [09:50:24]Waiting for new connection... [09:50:24] Sock 7.Parse request [09:50:24]Sock 7.Check first char [09:50:24]Sock 7.First char is OK [09:50:24]request: POST /json_proto HTTP/1.0 [09:50:24]Method: POST [09:50:24]URL: /json_proto [09:50:24]Method is POST - this is cgi request [09:50:24]url: /json_proto [09:50:24]query_string will be loaded in cgi processing [09:50:24]execute_cgi json_proto POST (null) [09:50:24]execute_cgi path=json_proto method=POST [09:50:24]POST find Content-Length [09:50:24]Host: 172.17.35.196:8080 [09:50:24]Content-Length: 1201 [09:50:24]Content-Type: application/json [09:50:24] [09:50:24]POST finish read [09:50:24]Found Content-Length = 1201 [09:50:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670004\u000A12.07.2024 09:43\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 33\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 15.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 994.50\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32734\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:24]execute_script... [09:50:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670004\u000A12.07.2024 09:43\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 33\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 15.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 994.50\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32734\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:24]POST & json_proto [09:50:24]process_json_proto [09:50:24]json parsed OK: [09:50:24]protocol is kg_v1.0 [09:50:24]action value=print_text [09:50:24]process_action print_text [09:50:24]cmd_print_text [09:50:24]ExternCall_PrintAddStr [09:50:24]wPrintStart [09:50:24]Write to MH i2c: 01 00 00 67 01 68 [09:50:24]Write i2c OK [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: 01 [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: 01 07 00 [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: 01 07 00 67 01 00 00 00 00 00 FF 0F 7D [09:50:24]RasterBufferAndPrint [09:50:24]line *****ТОВАРНЫЙ ЧЕК***** [09:50:24]line АЗС 77 [09:50:24]line Партнер нефть [09:50:24]line 02508201610067 [09:50:24]line Кассир : Ташыбеков М. [09:50:24]line Счет N : (1)5670004 [09:50:24]line 12.07.2024 09:43 [09:50:24]line ПРОДАЖА [09:50:24]line ТРК (МРК, ГНК): 33 [09:50:24]line Вид ГСМ : 2710124130 [09:50:24]line Аи-92-К-5 [09:50:24]line 15.000 x 66.30 [09:50:24]line ИТОГ: 994.50 [09:50:24]line Тип оплаты: Талоны: Топливная Карта [09:50:24]line 32734 [09:50:24]line ______________________ [09:50:24]line (подпись) [09:50:24]written 0, free lines is 4095 [09:50:24]Write to MH i2c: 01 00 00 7B 01 7C [09:50:24]Write i2c OK [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: 01 [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: 01 07 00 [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: 01 07 00 7B 01 00 00 00 00 00 10 0E A1 [09:50:24]RasterBufferAndPrint [09:50:24]line [09:50:24]line [09:50:24]line [09:50:24]line [09:50:24]line [09:50:24]written 0, free lines is 3601 [09:50:24]MH_Cut [09:50:24]Write to MH i2c: D1 01 00 82 01 01 55 [09:50:24]Write i2c OK [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: D1 [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: D1 01 00 [09:50:24]MH_I2C_Read... [09:50:24]Read from MH i2c: D1 01 00 82 01 00 54 [09:50:24]Write to MH i2c: 01 00 00 83 01 84 [09:50:24]Write i2c OK [09:50:24]MH_I2C_Read... [09:50:24]*** Cut start [09:50:24]*** Partial cut [09:50:24]*** CUTSNS_PIN = 1 [09:50:24]*** CUTSNS_PIN = 0 [09:50:25]*** Brake cut motor [09:50:25]Read from MH i2c: 01 [09:50:25]MH_I2C_Read... [09:50:25]Read from MH i2c: 01 07 00 [09:50:25]MH_I2C_Read... [09:50:25]*** Stop cut motor [09:50:25]*** Cut end [09:50:25]Read from MH i2c: 01 07 00 83 01 00 00 00 00 00 FF 0F 99 [09:50:25]process_action print_text done [09:50:25]requested_data is exist [09:50:25]produce_requested_data [09:50:25]requested_item fm.sn is exist - process it [09:50:25]wFMCommunicate request_size=4 [09:50:25]MH_SAM_APDU [09:50:25]CAPDU: 80 11 00 00 [09:50:25]Write to MH i2c: E2 08 00 84 01 80 11 00 00 00 00 00 00 FF [09:50:25]Write i2c OK [09:50:25]MH_I2C_Read... [09:50:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:25]Read from MH i2c: E2 [09:50:25]MH_I2C_Read... [09:50:25]Read from MH i2c: E2 17 00 [09:50:25]MH_I2C_Read... [09:50:25]Read from MH i2c: E2 17 00 84 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4B [09:50:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [09:50:25]wFMCommunicate OK [09:50:25]requested_item fd.num is exist - process it [09:50:25]SAM_PROTO_GetFieldsCounters [09:50:25]wFMCommunicate request_size=4 [09:50:25]MH_SAM_APDU [09:50:25]CAPDU: 80 13 00 00 [09:50:25]Write to MH i2c: E2 08 00 85 01 80 13 00 00 00 00 00 00 02 [09:50:25]Write i2c OK [09:50:25]MH_I2C_Read... [09:50:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:50:25]Read from MH i2c: E2 [09:50:25]MH_I2C_Read... [09:50:25]Read from MH i2c: E2 62 00 [09:50:25]MH_I2C_Read... [09:50:25]Read from MH i2c: E2 62 00 85 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 36 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [09:50:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 36 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:50:25]wFMCommunicate OK [09:50:25]SAM_PROTO_GetFieldsCounters done [09:50:25]requested_item shift.num is exist - process it [09:50:25]requested_item shift.opened is exist - process it [09:50:25]req_shift_opened [09:50:25]FM_GetShiftState [09:50:25]SAM_PROTO_GetShiftState [09:50:25]wFMCommunicate request_size=4 [09:50:25]MH_SAM_APDU [09:50:25]CAPDU: 80 13 01 00 [09:50:25]Write to MH i2c: E2 08 00 86 01 80 13 01 00 00 00 00 00 04 [09:50:25]Write i2c OK [09:50:25]MH_I2C_Read... [09:50:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:25]Read from MH i2c: E2 [09:50:25]MH_I2C_Read... [09:50:25]Read from MH i2c: E2 0E 00 [09:50:25]MH_I2C_Read... [09:50:25]Read from MH i2c: E2 0E 00 86 01 00 09 00 01 17 74 90 66 00 00 00 00 90 00 91 [09:50:25]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [09:50:25]wFMCommunicate OK [09:50:25]SAM_PROTO_GetShiftState done [09:50:25]FM_GetShiftState done [09:50:25]req_shift_opened done [09:50:25]requested_item shift.open_date is exist - process it [09:50:25]req_shift_open_date [09:50:25]req_shift_open_date done [09:50:25]produce_requested_data done [09:50:25]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33334,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [09:50:25]process_action_free print_text [09:50:25]json_value_free [09:50:25]json_value_free done [09:50:25]process_json_proto returns [09:50:25]Send response to host [09:50:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33334,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [09:50:25]free response buf [09:50:25]execute_script done [09:50:25]execute_script returns [09:50:25]free content buf [09:50:25]Sock 7.Close socket [09:50:25]Sock 7.Thread stoped [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:43]OFD Sender: No OFD packet to send [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [09:53:48]OFD Sender: No OFD packet to send [09:53:53]OFD Sender: No OFD packet to send [09:53:58]OFD Sender: No OFD packet to send [09:54:03]OFD Sender: No OFD packet to send [09:54:08]OFD Sender: No OFD packet to send [09:54:13]OFD Sender: No OFD packet to send [09:54:18]OFD Sender: No OFD packet to send [09:54:23]OFD Sender: No OFD packet to send [09:54:28]OFD Sender: No OFD packet to send [09:54:33]OFD Sender: No OFD packet to send [09:54:38]OFD Sender: No OFD packet to send [09:54:43]OFD Sender: No OFD packet to send [09:54:48]OFD Sender: No OFD packet to send [09:54:53]OFD Sender: No OFD packet to send [09:54:58]OFD Sender: No OFD packet to send [09:55:03]OFD Sender: No OFD packet to send [09:55:08]OFD Sender: No OFD packet to send [09:55:13]OFD Sender: No OFD packet to send [09:55:18]OFD Sender: No OFD packet to send [09:55:23]OFD Sender: No OFD packet to send [09:55:28]OFD Sender: No OFD packet to send [09:55:33]OFD Sender: No OFD packet to send [09:55:38]OFD Sender: No OFD packet to send [09:55:43]OFD Sender: No OFD packet to send [09:55:48]OFD Sender: No OFD packet to send [09:55:53]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:28]OFD Sender: No OFD packet to send [09:56:33]OFD Sender: No OFD packet to send [09:56:38]OFD Sender: No OFD packet to send [09:56:43]OFD Sender: No OFD packet to send [09:56:48]OFD Sender: No OFD packet to send [09:56:53]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:23]OFD Sender: No OFD packet to send [09:57:28]OFD Sender: No OFD packet to send [09:57:33]OFD Sender: No OFD packet to send [09:57:38]OFD Sender: No OFD packet to send [09:57:43]OFD Sender: No OFD packet to send [09:57:48]OFD Sender: No OFD packet to send [09:57:53]OFD Sender: No OFD packet to send [09:57:58]OFD Sender: No OFD packet to send [09:58:03]OFD Sender: No OFD packet to send [09:58:08]OFD Sender: No OFD packet to send [09:58:13]OFD Sender: No OFD packet to send [09:58:18]OFD Sender: No OFD packet to send [09:58:23]OFD Sender: No OFD packet to send [09:58:28]OFD Sender: No OFD packet to send [09:58:33]OFD Sender: No OFD packet to send [09:58:38]OFD Sender: No OFD packet to send [09:58:43]OFD Sender: No OFD packet to send [09:58:48]OFD Sender: No OFD packet to send [09:58:53]OFD Sender: No OFD packet to send [09:58:58]OFD Sender: No OFD packet to send [09:59:03]OFD Sender: No OFD packet to send [09:59:08]OFD Sender: No OFD packet to send [09:59:13]OFD Sender: No OFD packet to send [09:59:18]OFD Sender: No OFD packet to send [09:59:23]OFD Sender: No OFD packet to send [09:59:28]OFD Sender: No OFD packet to send [09:59:33]OFD Sender: No OFD packet to send [09:59:38]OFD Sender: No OFD packet to send [09:59:43]OFD Sender: No OFD packet to send [09:59:48]OFD Sender: No OFD packet to send [09:59:53]OFD Sender: No OFD packet to send [09:59:58]OFD Sender: No OFD packet to send [10:00:03]OFD Sender: No OFD packet to send [10:00:08]OFD Sender: No OFD packet to send [10:00:13]OFD Sender: No OFD packet to send [10:00:18]OFD Sender: No OFD packet to send [10:00:23]OFD Sender: No OFD packet to send [10:00:28]OFD Sender: No OFD packet to send [10:00:33]OFD Sender: No OFD packet to send [10:00:38]OFD Sender: No OFD packet to send [10:00:43]OFD Sender: No OFD packet to send [10:00:48]OFD Sender: No OFD packet to send [10:00:53]OFD Sender: No OFD packet to send [10:00:58]OFD Sender: No OFD packet to send [10:01:03]OFD Sender: No OFD packet to send [10:01:08]OFD Sender: No OFD packet to send [10:01:13]OFD Sender: No OFD packet to send [10:01:18]OFD Sender: No OFD packet to send [10:01:23]OFD Sender: No OFD packet to send [10:01:28]OFD Sender: No OFD packet to send [10:01:33]OFD Sender: No OFD packet to send [10:01:38]OFD Sender: No OFD packet to send [10:01:43]OFD Sender: No OFD packet to send [10:01:48]OFD Sender: No OFD packet to send [10:01:53]OFD Sender: No OFD packet to send [10:01:58]OFD Sender: No OFD packet to send [10:02:03]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:47]accept exits with 9 [10:02:47]New connection [10:02:47]New thread 3066604900 created [10:02:47]Thread 3066461540 joined [10:02:47]Waiting for new connection... [10:02:47] Sock 9.Parse request [10:02:47]Sock 9.Check first char [10:02:47]Sock 9.First char is OK [10:02:47]request: POST /json_proto HTTP/1.0 [10:02:47]Method: POST [10:02:47]URL: /json_proto [10:02:47]Method is POST - this is cgi request [10:02:47]url: /json_proto [10:02:47]query_string will be loaded in cgi processing [10:02:47]execute_cgi json_proto POST (null) [10:02:47]execute_cgi path=json_proto method=POST [10:02:47]POST find Content-Length [10:02:47]Host: 172.17.35.196:8080 [10:02:47]Content-Length: 1163 [10:02:47]Content-Type: application/json [10:02:47] [10:02:47]POST finish read [10:02:47]Found Content-Length = 1163 [10:02:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670012\u000A12.07.2024 09:56\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 23\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 13.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 861.90\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30102216\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:02:47]execute_script... [10:02:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670012\u000A12.07.2024 09:56\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 23\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 13.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 861.90\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30102216\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:02:47]POST & json_proto [10:02:47]process_json_proto [10:02:47]json parsed OK: [10:02:47]protocol is kg_v1.0 [10:02:47]action value=print_text [10:02:47]process_action print_text [10:02:47]cmd_print_text [10:02:47]ExternCall_PrintAddStr [10:02:47]wPrintStart [10:02:47]Write to MH i2c: 01 00 00 87 01 88 [10:02:47]Write i2c OK [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: 01 [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: 01 07 00 [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: 01 07 00 87 01 00 00 00 00 00 FF 0F 9D [10:02:47]RasterBufferAndPrint [10:02:47]line *****ТОВАРНЫЙ ЧЕК***** [10:02:47]line АЗС 77 [10:02:47]line Партнер нефть [10:02:47]line 02508201610067 [10:02:47]line Кассир : Ташыбеков М. [10:02:47]line Счет N : (1)5670012 [10:02:47]line 12.07.2024 09:56 [10:02:47]line ПРОДАЖА [10:02:47]line ТРК (МРК, ГНК): 23 [10:02:47]line Вид ГСМ : 2710124130 [10:02:47]line Аи-92-К-5 [10:02:47]line 13.000 x 66.30 [10:02:47]line ИТОГ: 861.90 [10:02:47]line Тип оплаты: Талоны: ТК ГПНА Online [10:02:47]line 30102216 [10:02:47]line ______________________ [10:02:47]line (подпись) [10:02:47]written 0, free lines is 4095 [10:02:47]Write to MH i2c: 01 00 00 9B 01 9C [10:02:47]Write i2c OK [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: 01 [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: 01 07 00 [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: 01 07 00 9B 01 00 00 00 00 00 0F 0E C0 [10:02:47]RasterBufferAndPrint [10:02:47]line [10:02:47]line [10:02:47]line [10:02:47]line [10:02:47]line [10:02:47]written 0, free lines is 3600 [10:02:47]MH_Cut [10:02:47]Write to MH i2c: D1 01 00 A2 01 01 75 [10:02:47]Write i2c OK [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: D1 [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: D1 01 00 [10:02:47]MH_I2C_Read... [10:02:47]Read from MH i2c: D1 01 00 A2 01 00 74 [10:02:47]Write to MH i2c: 01 00 00 A3 01 A4 [10:02:47]Write i2c OK [10:02:47]MH_I2C_Read... [10:02:47]*** Cut start [10:02:47]*** Partial cut [10:02:47]*** CUTSNS_PIN = 1 [10:02:47]*** CUTSNS_PIN = 0 [10:02:48]*** Brake cut motor [10:02:48]Read from MH i2c: 01 [10:02:48]MH_I2C_Read... [10:02:48]Read from MH i2c: 01 07 00 [10:02:48]MH_I2C_Read... [10:02:48]*** Stop cut motor [10:02:48]*** Cut end [10:02:48]Read from MH i2c: 01 07 00 A3 01 00 00 00 00 00 FF 0F B9 [10:02:48]process_action print_text done [10:02:48]requested_data is exist [10:02:48]produce_requested_data [10:02:48]requested_item fm.sn is exist - process it [10:02:48]wFMCommunicate request_size=4 [10:02:48]MH_SAM_APDU [10:02:48]CAPDU: 80 11 00 00 [10:02:48]Write to MH i2c: E2 08 00 A4 01 80 11 00 00 00 00 00 00 1F [10:02:48]Write i2c OK [10:02:48]MH_I2C_Read... [10:02:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:02:48]Read from MH i2c: E2 [10:02:48]MH_I2C_Read... [10:02:48]Read from MH i2c: E2 17 00 [10:02:48]MH_I2C_Read... [10:02:48]Read from MH i2c: E2 17 00 A4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 6B [10:02:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:02:48]wFMCommunicate OK [10:02:48]requested_item fd.num is exist - process it [10:02:48]SAM_PROTO_GetFieldsCounters [10:02:48]wFMCommunicate request_size=4 [10:02:48]MH_SAM_APDU [10:02:48]CAPDU: 80 13 00 00 [10:02:48]Write to MH i2c: E2 08 00 A5 01 80 13 00 00 00 00 00 00 22 [10:02:48]Write i2c OK [10:02:48]MH_I2C_Read... [10:02:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:02:48]Read from MH i2c: E2 [10:02:48]MH_I2C_Read... [10:02:48]Read from MH i2c: E2 62 00 [10:02:48]MH_I2C_Read... [10:02:48]Read from MH i2c: E2 62 00 A5 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 36 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 C3 [10:02:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 36 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:02:48]wFMCommunicate OK [10:02:48]SAM_PROTO_GetFieldsCounters done [10:02:48]requested_item shift.num is exist - process it [10:02:48]requested_item shift.opened is exist - process it [10:02:48]req_shift_opened [10:02:48]FM_GetShiftState [10:02:48]SAM_PROTO_GetShiftState [10:02:48]wFMCommunicate request_size=4 [10:02:48]MH_SAM_APDU [10:02:48]CAPDU: 80 13 01 00 [10:02:48]Write to MH i2c: E2 08 00 A6 01 80 13 01 00 00 00 00 00 24 [10:02:48]Write i2c OK [10:02:48]MH_I2C_Read... [10:02:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:02:48]Read from MH i2c: E2 [10:02:48]MH_I2C_Read... [10:02:48]Read from MH i2c: E2 0E 00 [10:02:48]MH_I2C_Read... [10:02:48]Read from MH i2c: E2 0E 00 A6 01 00 09 00 01 17 74 90 66 00 00 00 00 90 00 B1 [10:02:48]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:02:48]wFMCommunicate OK [10:02:48]SAM_PROTO_GetShiftState done [10:02:48]FM_GetShiftState done [10:02:48]req_shift_opened done [10:02:48]requested_item shift.open_date is exist - process it [10:02:48]req_shift_open_date [10:02:48]req_shift_open_date done [10:02:48]produce_requested_data done [10:02:48]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33334,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [10:02:48]process_action_free print_text [10:02:48]json_value_free [10:02:48]json_value_free done [10:02:48]process_json_proto returns [10:02:48]Send response to host [10:02:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33334,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [10:02:48]free response buf [10:02:48]execute_script done [10:02:48]execute_script returns [10:02:48]free content buf [10:02:48]Sock 9.Close socket [10:02:48]Sock 9.Thread stoped [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:11]accept exits with 7 [10:03:11]New connection [10:03:11]New thread 3066461540 created [10:03:11]Thread 3066604900 joined [10:03:11]Waiting for new connection... [10:03:11] Sock 7.Parse request [10:03:11]Sock 7.Check first char [10:03:11]Sock 7.First char is OK [10:03:11]request: POST /json_proto HTTP/1.0 [10:03:11]Method: POST [10:03:11]URL: /json_proto [10:03:11]Method is POST - this is cgi request [10:03:11]url: /json_proto [10:03:11]query_string will be loaded in cgi processing [10:03:11]execute_cgi json_proto POST (null) [10:03:11]execute_cgi path=json_proto method=POST [10:03:11]POST find Content-Length [10:03:11]Host: 172.17.35.196:8080 [10:03:11]Content-Length: 844 [10:03:11]Content-Type: application/json [10:03:11] [10:03:11]POST finish read [10:03:11]Found Content-Length = 844 [10:03:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670014", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 18.820, "sum" : 1400.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1400.21 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:03:11]execute_script... [10:03: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 : (1)5670014", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.40, "quantity" : 18.820, "sum" : 1400.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1400.21 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:03:11]POST & json_proto [10:03:11]process_json_proto [10:03:11]json parsed OK: [10:03:11]protocol is kg_v1.0 [10:03:11]action value=close_receipt [10:03:11]process_action close_receipt [10:03:11]cmd_close_receipt [10:03:11]MH_GetDate [10:03:11]Write to MH i2c: F0 00 00 A7 01 97 [10:03:11]Write i2c OK [10:03:11]MH_I2C_Read... [10:03:11]Read from MH i2c: F0 [10:03:11]MH_I2C_Read... [10:03:11]Read from MH i2c: F0 09 00 [10:03:11]MH_I2C_Read... [10:03:11]Read from MH i2c: F0 09 00 A7 01 00 5F FF 90 66 AD 14 F4 65 0E [10:03:11]GetLastDocTimeStamp 1720777710 [10:03:11]current date 1720778591 [10:03:11]FM_GetShiftState [10:03:11]SAM_PROTO_GetShiftState [10:03:11]wFMCommunicate request_size=4 [10:03:11]MH_SAM_APDU [10:03:11]CAPDU: 80 13 01 00 [10:03:11]Write to MH i2c: E2 08 00 A8 01 80 13 01 00 00 00 00 00 26 [10:03:11]Write i2c OK [10:03:11]MH_I2C_Read... [10:03:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:03:11]Read from MH i2c: E2 [10:03:11]MH_I2C_Read... [10:03:11]Read from MH i2c: E2 0E 00 [10:03:11]MH_I2C_Read... [10:03:11]Read from MH i2c: E2 0E 00 A8 01 00 09 00 01 17 74 90 66 00 00 00 00 90 00 B3 [10:03:11]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:03:11]wFMCommunicate OK [10:03:11]SAM_PROTO_GetShiftState done [10:03:11]FM_GetShiftState done [10:03:11]opened in 1720742935 [10:03:11]opened+sec_in_day 1720829335 [10:03:11]quantity*price = 140020 [10:03:11]sum+1 = 140022 [10:03:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1400.21 НСП 1% : 12.39 НДС 12% : 148.69 Наличными: 0.00 Безнал.: 1400.21 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 13 12.07.2024 10:03 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33335 ФПД: 269991690674256 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T100311&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33335&fm=269991690674256&tin=02508201610067®Number=0000000000093033&sum=140021 [10:03:12]StoreToDocumentArchive [10:03:12]shift 433 fd 33335 [10:03:12]save to /storage/0433/doc_00033335 [10:03:12]save last doc name /storage/0433/doc_00033335 to /storage/kkm_last_doc_name [10:03:12]save OK [10:03:12]Clear old archive folders... [10:03:12]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:03:12]tlvbuf is 00A69360 [10:03:12]SAM_PROTO_ClearQueue [10:03:12]wFMCommunicate request_size=4 [10:03:12]MH_SAM_APDU [10:03:12]CAPDU: 80 09 00 00 [10:03:12]Write to MH i2c: E2 08 00 B5 01 80 09 00 00 00 00 00 00 28 [10:03:12]Write i2c OK [10:03:12]MH_I2C_Read... [10:03:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:03:12]Read from MH i2c: E2 [10:03:12]MH_I2C_Read... [10:03:12]Read from MH i2c: E2 03 00 [10:03:12]MH_I2C_Read... [10:03:12]Read from MH i2c: E2 03 00 B5 01 00 90 00 2A [10:03:12]RAPDU: 90 00 [10:03:12]wFMCommunicate OK [10:03:12]SAM_PROTO_ClearQueue done [10:03:12]KKMCreateOFDPacket [10:03:12]OFDProtocolAddRootSTLVToBuf [10:03:12]FM_MakeSignedData [10:03:12]FM_MakeSignedData [10:03:12]SAM_PROTO_SignData [10:03:12]wFMCommunicate request_size=4 [10:03:12]MH_SAM_APDU [10:03:12]CAPDU: 80 0D 01 02 [10:03:12]Write to MH i2c: E2 08 00 B6 01 80 0D 01 02 00 00 00 00 30 [10:03:12]Write i2c OK [10:03:12]MH_I2C_Read... [10:03:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:03:12]Read from MH i2c: E2 [10:03:12]MH_I2C_Read... [10:03:12]Read from MH i2c: E2 03 00 [10:03:12]MH_I2C_Read... [10:03:12]Read from MH i2c: E2 03 00 B6 01 00 90 00 2B [10:03:12]RAPDU: 90 00 [10:03:12]wFMCommunicate OK [10:03:12]wFMCommunicate request_size=255 [10:03:12]MH_SAM_APDU [10:03:12]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 84 49 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 F5 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F5 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 3A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F5 22 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 5F FF 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 37 82 00 00 35 04 06 00 F5 [10:03:12]Write to MH i2c: E2 02 01 B7 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 84 49 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 F5 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F5 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 3A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F5 22 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 5F FF 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 37 82 00 00 35 04 06 00 F5 00 00 60 [10:03:12]Write i2c OK [10:03:12]MH_I2C_Read... [10:03:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:03:12]Read from MH i2c: E2 [10:03:12]MH_I2C_Read... [10:03:12]Read from MH i2c: E2 03 00 [10:03:12]MH_I2C_Read... [10:03:12]Read from MH i2c: E2 03 00 B7 01 00 90 00 2C [10:03:12]RAPDU: 90 00 [10:03:12]wFMCommunicate OK [10:03:12]wFMCommunicate request_size=10 [10:03:12]MH_SAM_APDU [10:03:12]CAPDU: 80 0D 02 02 05 8E 56 D0 A0 50 [10:03:12]Write to MH i2c: E2 0D 00 B8 01 80 0D 02 02 05 00 8E 56 D0 A0 50 00 00 E1 [10:03:12]Write i2c OK [10:03:12]MH_I2C_Read... [10:03:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:03:13]Read from MH i2c: E2 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: E2 03 00 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: E2 03 00 B8 01 00 90 00 2D [10:03:13]RAPDU: 90 00 [10:03:13]wFMCommunicate OK [10:03:13]wFMCommunicate request_size=4 [10:03:13]MH_SAM_APDU [10:03:13]CAPDU: 80 0D 03 02 [10:03:13]Write to MH i2c: E2 08 00 B9 01 80 0D 03 02 00 00 00 00 35 [10:03:13]Write i2c OK [10:03:13]MH_I2C_Read... [10:03:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:03:13]Read from MH i2c: E2 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: E2 0B 00 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: E2 0B 00 B9 01 00 3D 70 BB DF 73 08 5A 34 90 00 86 [10:03:13]RAPDU: 3D 70 BB DF 73 08 5A 34 90 00 [10:03:13]wFMCommunicate OK [10:03:13]SAM_PROTO_SignData done [10:03:13]FM_MakeSignedData done [10:03:13]CreateOFDProtocolMessage [10:03:13]wFMCommunicate request_size=4 [10:03:13]MH_SAM_APDU [10:03:13]CAPDU: 80 11 00 00 [10:03:13]Write to MH i2c: E2 08 00 BA 01 80 11 00 00 00 00 00 00 35 [10:03:13]Write i2c OK [10:03:13]MH_I2C_Read... [10:03:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:03:13]Read from MH i2c: E2 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: E2 17 00 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: E2 17 00 BA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 81 [10:03:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:03:13]wFMCommunicate OK [10:03:13]CreateOFDProtocolMessage done [10:03:13]OFDSenderStorePacket 33335 [10:03:13]StoreOFDPacket docnum=33335 [10:03:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 50 C9 07 01 FB A0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 84 49 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 F5 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F5 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 3A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F5 22 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 5F FF 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 37 82 00 00 35 04 06 00 F5 8E 56 D0 A0 50 3D 70 BB DF 73 08 5A 34 [10:03:13]CheckFolder [10:03:13]dirname=/storage/ofd_packets [10:03:13]CheckFolder done [10:03:13]ProducePacketName [10:03:13]name=ofd_packets/00033335 [10:03:13]NVStorageSaveData ofd_packets/00033335 [10:03:13]File name is /storage/ofd_packets/00033335 [10:03:13]Write 301 bytes [10:03:13]NVStorageSaveData done [10:03:13]OFDSenderStorePacket done [10:03:13]KKMCreateOFDPacket done [10:03:13]NVStorageSaveData kkm_last_timestamp [10:03:13]File name is /storage/kkm_last_timestamp [10:03:13]Write 4 bytes [10:03:13]NVStorageSaveData done [10:03:13]ExternCall_PrintAddStr [10:03:13]wPrintStart [10:03:13]Write to MH i2c: 01 00 00 BB 01 BC [10:03:13]Write i2c OK [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: 01 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: 01 07 00 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: 01 07 00 BB 01 00 00 00 00 00 FF 0F D1 [10:03:13]RasterBufferAndPrint [10:03:13]line Счет N : (1)5670014 [10:03:13]line ИНН: 02508201610067 [10:03:13]line Контрольно-Кассовый Чек [10:03:13]line ПРОДАЖА [10:03:13]line ТРК (МРК, ГНК) : 32 [10:03:13]line Товар: 2710124500 [10:03:13]line Аи-95-К-5 [10:03:13]line 18.820 * 74.40 [10:03:13]line = 1400.21 [10:03:13]line НДС 12% НСП 1% [10:03:13]line > о реализуемом товаре [10:03:13]line ИТОГО: 1400.21 [10:03:13]line НСП 1% : 12.39 [10:03:13]line НДС 12% : 148.69 [10:03:13]line Наличными: 0.00 [10:03:13]line Безнал.: 1400.21 [10:03:13]line Место: АЗС № 77 "Партнер Нефть" [10:03:13]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:03:13]line СНО: Общий режим [10:03:13]line Чек 13 12.07.2024 10:03 [10:03:13]line Смена: 433 ФФД: 1.0 [10:03:13]line ЗНМ: 0300000122 [10:03:13]line РНМ: 0000000000093033 [10:03:13]line Версия ККМ: 001 [10:03:13]line Платежная система: АКБ Кыргызстан [10:03:13]line ФМ: 0000000000875104 [10:03:13]line ФД: 33335 [10:03:13]line ФПД: 269991690674256 [10:03:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T100311&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33335&fm=269991690674256&tin=02508201610067®Number=0000000000093033&sum=140021 [10:03:13]written 0, free lines is 4095 [10:03:13]OFD Sender: Processing packet 33335 [packets to send 6, broken 5] [10:03:13]ProducePacketName [10:03:13]name=ofd_packets/00033335 [10:03:13]OFD Sender: To server: pG, [10:03:13]CommunicateWithHost lk.salyk.kg:30040 [10:03:13]ConnectInit lk.salyk.kg [10:03:13]Connected sock=10 [10:03:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 50 C9 07 01 FB A0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 84 49 00 00 00 00 00 37 04 06 00 10 1D 00 00 00 00 13 04 06 00 F5 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F5 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 3A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F5 22 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 5F FF 90 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 37 82 00 00 35 04 06 00 F5 8E 56 D0 A0 50 3D 70 BB DF 73 08 5A 34 [10:03:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 4C 0E 47 00 56 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 38 37 35 31 30 34 10 04 04 00 37 82 00 00 F4 03 04 00 0D AA 90 66 B6 04 01 00 00 8C 31 2E 78 CD DB 02 58 [10:03:13]CommunicateWithHost err = 0 [10:03:13]CheckOFDResponse [10:03:13]1017 (14) - 77093643461234 [10:03:13]1041 (16) - 0000000000875104 [10:03:13]1040 (4) - 33335 [10:03:13]1012 (4) - 12.07.2024 03:59 [10:03:13]1206 (1) - 0 [10:03:13]OFD Sender: Remove packet 33335 [10:03:13]ProducePacketName [10:03:13]name=ofd_packets/00033335 [10:03:13]NVStorageDeleteData [10:03:13]Write to MH i2c: 01 00 00 E5 01 E6 [10:03:13]Write i2c OK [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: 01 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: 01 07 00 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: 01 07 00 E5 01 00 00 00 00 00 EC 0C E5 [10:03:13]RasterBufferAndPrint [10:03:13]line [10:03:13]line [10:03:13]line [10:03:13]line [10:03:13]line [10:03:13]written 0, free lines is 3315 [10:03:13]MH_Cut [10:03:13]Write to MH i2c: D1 01 00 EC 01 01 BF [10:03:13]Write i2c OK [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: D1 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: D1 01 00 [10:03:13]MH_I2C_Read... [10:03:13]Read from MH i2c: D1 01 00 EC 01 00 BE [10:03:13]Write to MH i2c: 01 00 00 ED 01 EE [10:03:13]Write i2c OK [10:03:13]MH_I2C_Read... [10:03:14]OFD Sender: No OFD packet to send [10:03:14]*** Cut start [10:03:14]*** Partial cut [10:03:14]*** CUTSNS_PIN = 1 [10:03:14]*** CUTSNS_PIN = 0 [10:03:14]*** Brake cut motor [10:03:15]Read from MH i2c: 01 [10:03:15]MH_I2C_Read... [10:03:15]*** Stop cut motor [10:03:15]*** Cut end [10:03:15]Read from MH i2c: 01 07 00 [10:03:15]MH_I2C_Read... [10:03:15]Read from MH i2c: 01 07 00 ED 01 00 00 00 00 00 FF 0F 03 [10:03:15]process_action close_receipt done [10:03:15]requested_data is exist [10:03:15]produce_requested_data [10:03:15]requested_item fm.sn is exist - process it [10:03:15]wFMCommunicate request_size=4 [10:03:15]MH_SAM_APDU [10:03:15]CAPDU: 80 11 00 00 [10:03:15]Write to MH i2c: E2 08 00 EE 01 80 11 00 00 00 00 00 00 69 [10:03:15]Write i2c OK [10:03:15]MH_I2C_Read... [10:03:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:03:15]Read from MH i2c: E2 [10:03:15]MH_I2C_Read... [10:03:15]Read from MH i2c: E2 17 00 [10:03:15]MH_I2C_Read... [10:03:15]Read from MH i2c: E2 17 00 EE 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B5 [10:03:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:03:15]wFMCommunicate OK [10:03:15]requested_item fd.num is exist - process it [10:03:15]SAM_PROTO_GetFieldsCounters [10:03:15]wFMCommunicate request_size=4 [10:03:15]MH_SAM_APDU [10:03:15]CAPDU: 80 13 00 00 [10:03:15]Write to MH i2c: E2 08 00 EF 01 80 13 00 00 00 00 00 00 6C [10:03:15]Write i2c OK [10:03:15]MH_I2C_Read... [10:03:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:03:15]Read from MH i2c: E2 [10:03:15]MH_I2C_Read... [10:03:15]Read from MH i2c: E2 62 00 [10:03:15]MH_I2C_Read... [10:03:15]Read from MH i2c: E2 62 00 EF 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 37 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 11 [10:03:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 37 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:03:15]wFMCommunicate OK [10:03:15]SAM_PROTO_GetFieldsCounters done [10:03:15]requested_item shift.num is exist - process it [10:03:15]requested_item shift.opened is exist - process it [10:03:15]req_shift_opened [10:03:15]FM_GetShiftState [10:03:15]SAM_PROTO_GetShiftState [10:03:15]wFMCommunicate request_size=4 [10:03:15]MH_SAM_APDU [10:03:15]CAPDU: 80 13 01 00 [10:03:15]Write to MH i2c: E2 08 00 F0 01 80 13 01 00 00 00 00 00 6E [10:03:15]Write i2c OK [10:03:15]MH_I2C_Read... [10:03:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:03:15]Read from MH i2c: E2 [10:03:15]MH_I2C_Read... [10:03:15]Read from MH i2c: E2 0E 00 [10:03:15]MH_I2C_Read... [10:03:15]Read from MH i2c: E2 0E 00 F0 01 00 09 00 01 17 74 90 66 00 00 00 00 90 00 FB [10:03:15]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:03:15]wFMCommunicate OK [10:03:15]SAM_PROTO_GetShiftState done [10:03:15]FM_GetShiftState done [10:03:15]req_shift_opened done [10:03:15]requested_item shift.open_date is exist - process it [10:03:15]req_shift_open_date [10:03:15]req_shift_open_date done [10:03:15]produce_requested_data done [10:03:15]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33335,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [10:03:15]process_action_free close_receipt [10:03:15]json_value_free [10:03:15]json_value_free done [10:03:15]process_json_proto returns [10:03:15]Send response to host [10:03:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33335,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [10:03:15]free response buf [10:03:15]execute_script done [10:03:15]execute_script returns [10:03:15]free content buf [10:03:15]Sock 7.Close socket [10:03:15]Sock 7.Thread stoped [10:03:19]OFD Sender: No OFD packet to send [10:03:24]OFD Sender: No OFD packet to send [10:03:29]OFD Sender: No OFD packet to send [10:03:34]OFD Sender: No OFD packet to send [10:03:39]OFD Sender: No OFD packet to send [10:03:44]OFD Sender: No OFD packet to send [10:03:49]OFD Sender: No OFD packet to send [10:03:54]OFD Sender: No OFD packet to send [10:03:59]OFD Sender: No OFD packet to send [10:04:04]OFD Sender: No OFD packet to send [10:04:09]OFD Sender: No OFD packet to send [10:04:14]OFD Sender: No OFD packet to send [10:04:19]OFD Sender: No OFD packet to send [10:04:24]OFD Sender: No OFD packet to send [10:04:29]OFD Sender: No OFD packet to send [10:04:34]OFD Sender: No OFD packet to send [10:04:39]OFD Sender: No OFD packet to send [10:04:44]OFD Sender: No OFD packet to send [10:04:49]OFD Sender: No OFD packet to send [10:04:54]OFD Sender: No OFD packet to send [10:04:59]OFD Sender: No OFD packet to send [10:05:04]OFD Sender: No OFD packet to send [10:05:09]OFD Sender: No OFD packet to send [10:05:14]OFD Sender: No OFD packet to send [10:05:19]OFD Sender: No OFD packet to send [10:05:24]OFD Sender: No OFD packet to send [10:05:29]OFD Sender: No OFD packet to send [10:05:34]OFD Sender: No OFD packet to send [10:05:39]OFD Sender: No OFD packet to send [10:05:44]OFD Sender: No OFD packet to send [10:05:49]OFD Sender: No OFD packet to send [10:05:54]OFD Sender: No OFD packet to send [10:05:59]OFD Sender: No OFD packet to send [10:06:04]OFD Sender: No OFD packet to send [10:06:09]OFD Sender: No OFD packet to send [10:06:14]OFD Sender: No OFD packet to send [10:06:19]OFD Sender: No OFD packet to send [10:06:24]OFD Sender: No OFD packet to send [10:06:29]OFD Sender: No OFD packet to send [10:06:34]OFD Sender: No OFD packet to send [10:06:39]OFD Sender: No OFD packet to send [10:06:44]OFD Sender: No OFD packet to send [10:06:49]OFD Sender: No OFD packet to send [10:06:54]OFD Sender: No OFD packet to send [10:06:59]OFD Sender: No OFD packet to send [10:07:04]OFD Sender: No OFD packet to send [10:07:09]OFD Sender: No OFD packet to send [10:07:14]OFD Sender: No OFD packet to send [10:07:19]OFD Sender: No OFD packet to send [10:07:24]OFD Sender: No OFD packet to send [10:07:29]OFD Sender: No OFD packet to send [10:07:34]OFD Sender: No OFD packet to send [10:07:39]OFD Sender: No OFD packet to send [10:07:44]OFD Sender: No OFD packet to send [10:07:49]OFD Sender: No OFD packet to send [10:07:54]OFD Sender: No OFD packet to send [10:07:59]OFD Sender: No OFD packet to send [10:08:04]OFD Sender: No OFD packet to send [10:08:09]OFD Sender: No OFD packet to send [10:08:14]OFD Sender: No OFD packet to send [10:08:19]OFD Sender: No OFD packet to send [10:08:24]OFD Sender: No OFD packet to send [10:08:29]OFD Sender: No OFD packet to send [10:08:34]OFD Sender: No OFD packet to send [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:14]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:59]OFD Sender: No OFD packet to send [10:11:04]OFD Sender: No OFD packet to send [10:11:09]OFD Sender: No OFD packet to send [10:11:14]OFD Sender: No OFD packet to send [10:11:19]OFD Sender: No OFD packet to send [10:11:24]OFD Sender: No OFD packet to send [10:11:29]OFD Sender: No OFD packet to send [10:11:34]OFD Sender: No OFD packet to send [10:11:39]OFD Sender: No OFD packet to send [10:11:44]OFD Sender: No OFD packet to send [10:11:49]OFD Sender: No OFD packet to send [10:11:54]OFD Sender: No OFD packet to send [10:11:59]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:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:14:34]OFD Sender: No OFD packet to send [10:14:39]OFD Sender: No OFD packet to send [10:14:44]OFD Sender: No OFD packet to send [10:14:49]OFD Sender: No OFD packet to send [10:14:54]OFD Sender: No OFD packet to send [10:14:59]OFD Sender: No OFD packet to send [10:15:04]OFD Sender: No OFD packet to send [10:15:09]OFD Sender: No OFD packet to send [10:15:14]OFD Sender: No OFD packet to send [10:15:19]OFD Sender: No OFD packet to send [10:15:24]OFD Sender: No OFD packet to send [10:15:29]OFD Sender: No OFD packet to send [10:15:34]OFD Sender: No OFD packet to send [10:15:39]OFD Sender: No OFD packet to send [10:15:44]OFD Sender: No OFD packet to send [10:15:48]accept exits with 9 [10:15:48]New connection [10:15:48]New thread 3066604900 created [10:15:48]Thread 3066461540 joined [10:15:48]Waiting for new connection... [10:15:48] Sock 9.Parse request [10:15:48]Sock 9.Check first char [10:15:48]Sock 9.First char is OK [10:15:48]request: POST /json_proto HTTP/1.0 [10:15:48]Method: POST [10:15:48]URL: /json_proto [10:15:48]Method is POST - this is cgi request [10:15:48]url: /json_proto [10:15:48]query_string will be loaded in cgi processing [10:15:48]execute_cgi json_proto POST (null) [10:15:48]execute_cgi path=json_proto method=POST [10:15:48]POST find Content-Length [10:15:48]Host: 172.17.35.196:8080 [10:15:48]Content-Length: 1008 [10:15:48]Content-Type: application/json [10:15:48] [10:15:48]POST finish read [10:15:48]Found Content-Length = 1008 [10:15:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169154", "tax_sys" : 0, "items" : [ { "code": "4870202521186", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:48]execute_script... [10:15: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)169154", "tax_sys" : 0, "items" : [ { "code": "4870202521186", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:48]POST & json_proto [10:15:48]process_json_proto [10:15:48]json parsed OK: [10:15:48]protocol is kg_v1.0 [10:15:48]action value=close_receipt [10:15:48]process_action close_receipt [10:15:48]cmd_close_receipt [10:15:48]MH_GetDate [10:15:48]Write to MH i2c: F0 00 00 F1 01 E1 [10:15:48]Write i2c OK [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: F0 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: F0 09 00 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: F0 09 00 F1 01 00 54 02 91 66 AD 14 F4 65 51 [10:15:48]GetLastDocTimeStamp 1720778591 [10:15:48]current date 1720779348 [10:15:48]FM_GetShiftState [10:15:48]SAM_PROTO_GetShiftState [10:15:48]wFMCommunicate request_size=4 [10:15:48]MH_SAM_APDU [10:15:48]CAPDU: 80 13 01 00 [10:15:48]Write to MH i2c: E2 08 00 F2 01 80 13 01 00 00 00 00 00 70 [10:15:48]Write i2c OK [10:15:48]MH_I2C_Read... [10:15:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:48]Read from MH i2c: E2 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 0E 00 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 0E 00 F2 01 00 09 00 01 17 74 90 66 00 00 00 00 90 00 FD [10:15:48]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:15:48]wFMCommunicate OK [10:15:48]SAM_PROTO_GetShiftState done [10:15:48]FM_GetShiftState done [10:15:48]opened in 1720742935 [10:15:48]opened+sec_in_day 1720829335 [10:15:48]quantity*price = 7000 [10:15:48]sum+1 = 7001 [10:15:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 330.00 НСП 1% : 2.92 НДС 12% : 35.04 Наличными: 330.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 14 12.07.2024 10:15 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33336 ФПД: 276386540750172 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T101548&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33336&fm=276386540750172&tin=02508201610067®Number=0000000000093033&sum=33000 0 [10:15:49]StoreToDocumentArchive [10:15:49]shift 433 fd 33336 [10:15:49]save to /storage/0433/doc_00033336 [10:15:49]save last doc name /storage/0433/doc_00033336 to /storage/kkm_last_doc_name [10:15:49]save OK [10:15:49]Clear old archive folders... [10:15:49]ProcessDocumentItem done err = 0, tmpTLVsize=424 [10:15:49]tlvbuf is 00A34B90 [10:15:49]SAM_PROTO_ClearQueue [10:15:49]wFMCommunicate request_size=4 [10:15:49]MH_SAM_APDU [10:15:49]CAPDU: 80 09 00 00 [10:15:49]Write to MH i2c: E2 08 00 FF 01 80 09 00 00 00 00 00 00 72 [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:15:49]Read from MH i2c: E2 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 03 00 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 03 00 FF 01 00 90 00 74 [10:15:49]RAPDU: 90 00 [10:15:49]wFMCommunicate OK [10:15:49]SAM_PROTO_ClearQueue done [10:15:49]KKMCreateOFDPacket [10:15:49]OFDProtocolAddRootSTLVToBuf [10:15:49]FM_MakeSignedData [10:15:49]FM_MakeSignedData [10:15:49]SAM_PROTO_SignData [10:15:49]wFMCommunicate request_size=4 [10:15:49]MH_SAM_APDU [10:15:49]CAPDU: 80 0D 01 02 [10:15:49]Write to MH i2c: E2 08 00 00 02 80 0D 01 02 00 00 00 00 7B [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:15:49]Read from MH i2c: E2 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 03 00 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 03 00 00 02 00 90 00 76 [10:15:49]RAPDU: 90 00 [10:15:49]wFMCommunicate OK [10:15:49]wFMCommunicate request_size=255 [10:15:49]MH_SAM_APDU [10:15:49]CAPDU: 80 0D 02 02 FA 03 00 A8 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 [10:15:49]Write to MH i2c: E2 02 01 01 02 80 0D 02 02 FA 00 03 00 A8 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 00 00 04 [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:49]Read from MH i2c: E2 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 03 00 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 03 00 01 02 00 90 00 77 [10:15:49]RAPDU: 90 00 [10:15:49]wFMCommunicate OK [10:15:49]wFMCommunicate request_size=183 [10:15:49]MH_SAM_APDU [10:15:49]CAPDU: 80 0D 02 02 B2 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 54 02 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 38 82 00 00 35 04 06 00 FB 5F 41 95 05 5C [10:15:49]Write to MH i2c: E2 BA 00 02 02 80 0D 02 02 B2 00 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 54 02 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 38 82 00 00 35 04 06 00 FB 5F 41 95 05 5C 00 00 DF [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:49]Read from MH i2c: E2 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 03 00 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 03 00 02 02 00 90 00 78 [10:15:49]RAPDU: 90 00 [10:15:49]wFMCommunicate OK [10:15:49]wFMCommunicate request_size=4 [10:15:49]MH_SAM_APDU [10:15:49]CAPDU: 80 0D 03 02 [10:15:49]Write to MH i2c: E2 08 00 03 02 80 0D 03 02 00 00 00 00 80 [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:15:49]Read from MH i2c: E2 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 0B 00 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 0B 00 03 02 00 60 A7 DF 4A 6F 46 E2 6D 90 00 B5 [10:15:49]RAPDU: 60 A7 DF 4A 6F 46 E2 6D 90 00 [10:15:49]wFMCommunicate OK [10:15:49]SAM_PROTO_SignData done [10:15:49]FM_MakeSignedData done [10:15:49]CreateOFDProtocolMessage [10:15:49]wFMCommunicate request_size=4 [10:15:49]MH_SAM_APDU [10:15:49]CAPDU: 80 11 00 00 [10:15:49]Write to MH i2c: E2 08 00 04 02 80 11 00 00 00 00 00 00 80 [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:49]Read from MH i2c: E2 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 17 00 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: E2 17 00 04 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CC [10:15:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:15:49]wFMCommunicate OK [10:15:49]CreateOFDProtocolMessage done [10:15:49]OFDSenderStorePacket 33336 [10:15:49]StoreOFDPacket docnum=33336 [10:15:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 BC 01 00 00 6D 17 B4 01 82 6B 5A 03 01 00 03 00 A8 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 54 02 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 38 82 00 00 35 04 06 00 FB 5F 41 95 05 5C 60 A7 DF 4A 6F 46 E2 6D [10:15:49]CheckFolder [10:15:49]dirname=/storage/ofd_packets [10:15:49]CheckFolder done [10:15:49]ProducePacketName [10:15:49]name=ofd_packets/00033336 [10:15:49]NVStorageSaveData ofd_packets/00033336 [10:15:49]File name is /storage/ofd_packets/00033336 [10:15:49]Write 474 bytes [10:15:49]NVStorageSaveData done [10:15:49]OFDSenderStorePacket done [10:15:49]KKMCreateOFDPacket done [10:15:49]NVStorageSaveData kkm_last_timestamp [10:15:49]File name is /storage/kkm_last_timestamp [10:15:49]Write 4 bytes [10:15:49]NVStorageSaveData done [10:15:49]ExternCall_PrintAddStr [10:15:49]wPrintStart [10:15:49]Write to MH i2c: 01 00 00 05 02 07 [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: 01 [10:15:50]MH_I2C_Read... [10:15:50]OFD Sender: Processing packet 33336 [packets to send 6, broken 5] [10:15:50]ProducePacketName [10:15:50]name=ofd_packets/00033336 [10:15:50]OFD Sender: To server: pG, [10:15:50]CommunicateWithHost lk.salyk.kg:30040 [10:15:50]ConnectInit lk.salyk.kg [10:15:50]Read from MH i2c: 01 07 00 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: 01 07 00 05 02 00 00 00 00 00 FF 0F 1C [10:15:50]RasterBufferAndPrint [10:15:50]line Счет N : (3)169154 [10:15:50]line ИНН: 02508201610067 [10:15:50]line Контрольно-Кассовый Чек [10:15:50]line ПРОДАЖА [10:15:50]line Товар: 4870202521186 [10:15:50]line Чай холодный MAXI черный со вкусом клубн [10:15:50]line 1.000 * 70.00 [10:15:50]line = 70.00 [10:15:50]line НДС 12% НСП 1% [10:15:50]line > о реализуемом товаре [10:15:50]line Товар: 2000036220012 [10:15:50]line Кофе Капучино XL(GABB TRADE) [10:15:50]line 2.000 * 130.00 [10:15:50]line = 260.00 [10:15:50]line НДС 12% НСП 1% [10:15:50]line > о реализуемом товаре [10:15:50]line ИТОГО: 330.00 [10:15:50]line НСП 1% : 2.92 [10:15:50]line НДС 12% : 35.04 [10:15:50]line Наличными: 330.00 [10:15:50]line Безнал.: 0.00 [10:15:50]line Место: АЗС № 77 "Партнер Нефть" [10:15:50]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:15:50]line СНО: Общий режим [10:15:50]line Чек 14 12.07.2024 10:15 [10:15:50]line Смена: 433 ФФД: 1.0 [10:15:50]line ЗНМ: 0300000122 [10:15:50]line РНМ: 0000000000093033 [10:15:50]line Версия ККМ: 001 [10:15:50]line ФМ: 0000000000875104 [10:15:50]line ФД: 33336 [10:15:50]line ФПД: 276386540750172 [10:15:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T101548&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33336&fm=276386540750172&tin=02508201610067®Number=0000000000093033&sum=33000 [10:15:50]line 0 [10:15:50]written 0, free lines is 4095 [10:15:50]Connected sock=10 [10:15:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 BC 01 00 00 6D 17 B4 01 82 6B 5A 03 01 00 03 00 A8 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 54 02 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 38 82 00 00 35 04 06 00 FB 5F 41 95 05 5C 60 A7 DF 4A 6F 46 E2 6D [10:15:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 6C 59 47 00 95 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 38 82 00 00 F4 03 04 00 02 AD 90 66 B6 04 01 00 00 71 AB 25 C4 5B 83 05 3F [10:15:50]CommunicateWithHost err = 0 [10:15:50]CheckOFDResponse [10:15:50]1017 (14) - 77093643461234 [10:15:50]1041 (16) - 0000000000875104 [10:15:50]1040 (4) - 33336 [10:15:50]1012 (4) - 12.07.2024 04:11 [10:15:50]1206 (1) - 0 [10:15:50]OFD Sender: Remove packet 33336 [10:15:50]ProducePacketName [10:15:50]name=ofd_packets/00033336 [10:15:50]NVStorageDeleteData [10:15:50]Write to MH i2c: 01 00 00 35 02 37 [10:15:50]Write i2c OK [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: 01 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: 01 07 00 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: 01 07 00 35 02 00 00 00 00 00 8B 0C D5 [10:15:50]RasterBufferAndPrint [10:15:50]line [10:15:50]line [10:15:50]line [10:15:50]line [10:15:50]line [10:15:50]written 0, free lines is 3216 [10:15:50]MH_Cut [10:15:50]Write to MH i2c: D1 01 00 3C 02 01 10 [10:15:50]Write i2c OK [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: D1 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: D1 01 00 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: D1 01 00 3C 02 00 0F [10:15:50]Write to MH i2c: 01 00 00 3D 02 3F [10:15:50]Write i2c OK [10:15:50]MH_I2C_Read... [10:15:51]OFD Sender: No OFD packet to send [10:15:51]*** Cut start [10:15:51]*** Partial cut [10:15:51]*** CUTSNS_PIN = 1 [10:15:51]*** CUTSNS_PIN = 0 [10:15:51]*** Brake cut motor [10:15:52]Read from MH i2c: 01 [10:15:52]MH_I2C_Read... [10:15:52]*** Stop cut motor [10:15:52]*** Cut end [10:15:52]Read from MH i2c: 01 07 00 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: 01 07 00 3D 02 00 00 00 00 00 FF 0F 54 [10:15:52]process_action close_receipt done [10:15:52]requested_data is exist [10:15:52]produce_requested_data [10:15:52]requested_item fm.sn is exist - process it [10:15:52]wFMCommunicate request_size=4 [10:15:52]MH_SAM_APDU [10:15:52]CAPDU: 80 11 00 00 [10:15:52]Write to MH i2c: E2 08 00 3E 02 80 11 00 00 00 00 00 00 BA [10:15:52]Write i2c OK [10:15:52]MH_I2C_Read... [10:15:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:52]Read from MH i2c: E2 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: E2 17 00 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: E2 17 00 3E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 06 [10:15:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:15:52]wFMCommunicate OK [10:15:52]requested_item fd.num is exist - process it [10:15:52]SAM_PROTO_GetFieldsCounters [10:15:52]wFMCommunicate request_size=4 [10:15:52]MH_SAM_APDU [10:15:52]CAPDU: 80 13 00 00 [10:15:52]Write to MH i2c: E2 08 00 3F 02 80 13 00 00 00 00 00 00 BD [10:15:52]Write i2c OK [10:15:52]MH_I2C_Read... [10:15:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:15:52]Read from MH i2c: E2 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: E2 62 00 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: E2 62 00 3F 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 38 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 66 [10:15:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 38 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:15:52]wFMCommunicate OK [10:15:52]SAM_PROTO_GetFieldsCounters done [10:15:52]requested_item shift.num is exist - process it [10:15:52]requested_item shift.opened is exist - process it [10:15:52]req_shift_opened [10:15:52]FM_GetShiftState [10:15:52]SAM_PROTO_GetShiftState [10:15:52]wFMCommunicate request_size=4 [10:15:52]MH_SAM_APDU [10:15:52]CAPDU: 80 13 01 00 [10:15:52]Write to MH i2c: E2 08 00 40 02 80 13 01 00 00 00 00 00 BF [10:15:52]Write i2c OK [10:15:52]MH_I2C_Read... [10:15:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:52]Read from MH i2c: E2 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: E2 0E 00 [10:15:52]MH_I2C_Read... [10:15:52]Read from MH i2c: E2 0E 00 40 02 00 09 00 01 17 74 90 66 00 00 00 00 90 00 4C [10:15:52]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:15:52]wFMCommunicate OK [10:15:52]SAM_PROTO_GetShiftState done [10:15:52]FM_GetShiftState done [10:15:52]req_shift_opened done [10:15:52]requested_item shift.open_date is exist - process it [10:15:52]req_shift_open_date [10:15:52]req_shift_open_date done [10:15:52]produce_requested_data done [10:15:52]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33336,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [10:15:52]process_action_free close_receipt [10:15:52]json_value_free [10:15:52]json_value_free done [10:15:52]process_json_proto returns [10:15:52]Send response to host [10:15:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33336,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [10:15:52]free response buf [10:15:52]execute_script done [10:15:52]execute_script returns [10:15:52]free content buf [10:15:52]Sock 9.Close socket [10:15:52]Sock 9.Thread stoped [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:36]OFD Sender: No OFD packet to send [10:16:41]OFD Sender: No OFD packet to send [10:16:46]OFD Sender: No OFD packet to send [10:16:51]OFD Sender: No OFD packet to send [10:16:56]OFD Sender: No OFD packet to send [10:17:01]OFD Sender: No OFD packet to send [10:17:06]OFD Sender: No OFD packet to send [10:17:11]OFD Sender: No OFD packet to send [10:17:16]OFD Sender: No OFD packet to send [10:17:21]OFD Sender: No OFD packet to send [10:17:26]OFD Sender: No OFD packet to send [10:17:31]OFD Sender: No OFD packet to send [10:17:36]OFD Sender: No OFD packet to send [10:17:41]OFD Sender: No OFD packet to send [10:17:42]accept exits with 7 [10:17:42]New connection [10:17:42]New thread 3066461540 created [10:17:42]Thread 3066604900 joined [10:17:42]Waiting for new connection... [10:17:42] Sock 7.Parse request [10:17:42]Sock 7.Check first char [10:17:42]Sock 7.First char is OK [10:17:42]request: POST /json_proto HTTP/1.0 [10:17:42]Method: POST [10:17:42]URL: /json_proto [10:17:42]Method is POST - this is cgi request [10:17:42]url: /json_proto [10:17:42]query_string will be loaded in cgi processing [10:17:42]execute_cgi json_proto POST (null) [10:17:42]execute_cgi path=json_proto method=POST [10:17:42]POST find Content-Length [10:17:42]Host: 172.17.35.196:8080 [10:17:42]Content-Length: 646 [10:17:42]Content-Type: application/json [10:17:42] [10:17:42]POST finish read [10:17:42]Found Content-Length = 646 [10:17:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169155", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:17:42]execute_script... [10:17:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169155", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:17:42]POST & json_proto [10:17:42]process_json_proto [10:17:42]json parsed OK: [10:17:42]protocol is kg_v1.0 [10:17:42]action value=close_receipt [10:17:42]process_action close_receipt [10:17:42]cmd_close_receipt [10:17:42]MH_GetDate [10:17:42]Write to MH i2c: F0 00 00 41 02 32 [10:17:42]Write i2c OK [10:17:42]MH_I2C_Read... [10:17:42]Read from MH i2c: F0 [10:17:42]MH_I2C_Read... [10:17:42]Read from MH i2c: F0 09 00 [10:17:42]MH_I2C_Read... [10:17:42]Read from MH i2c: F0 09 00 41 02 00 C7 02 91 66 AD 14 F4 65 15 [10:17:42]GetLastDocTimeStamp 1720779348 [10:17:42]current date 1720779463 [10:17:42]FM_GetShiftState [10:17:42]SAM_PROTO_GetShiftState [10:17:42]wFMCommunicate request_size=4 [10:17:42]MH_SAM_APDU [10:17:42]CAPDU: 80 13 01 00 [10:17:42]Write to MH i2c: E2 08 00 42 02 80 13 01 00 00 00 00 00 C1 [10:17:42]Write i2c OK [10:17:42]MH_I2C_Read... [10:17:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:17:42]Read from MH i2c: E2 [10:17:42]MH_I2C_Read... [10:17:42]Read from MH i2c: E2 0E 00 [10:17:42]MH_I2C_Read... [10:17:42]Read from MH i2c: E2 0E 00 42 02 00 09 00 01 17 74 90 66 00 00 00 00 90 00 4E [10:17:42]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:17:42]wFMCommunicate OK [10:17:42]SAM_PROTO_GetShiftState done [10:17:42]FM_GetShiftState done [10:17:42]opened in 1720742935 [10:17:42]opened+sec_in_day 1720829335 [10:17:42]quantity*price = 13000 [10:17:42]sum+1 = 13001 [10:17:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 15 12.07.2024 10:17 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33337 ФПД: 224678311700415 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T101743&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33337&fm=224678311700415&tin=02508201610067®Number=0000000000093033&sum=13000 0 [10:17:44]StoreToDocumentArchive [10:17:44]shift 433 fd 33337 [10:17:44]save to /storage/0433/doc_00033337 [10:17:44]save last doc name /storage/0433/doc_00033337 to /storage/kkm_last_doc_name [10:17:44]save OK [10:17:44]Clear old archive folders... [10:17:44]ProcessDocumentItem done err = 0, tmpTLVsize=282 [10:17:44]tlvbuf is 00A360A0 [10:17:44]SAM_PROTO_ClearQueue [10:17:44]wFMCommunicate request_size=4 [10:17:44]MH_SAM_APDU [10:17:44]CAPDU: 80 09 00 00 [10:17:44]Write to MH i2c: E2 08 00 4F 02 80 09 00 00 00 00 00 00 C3 [10:17:44]Write i2c OK [10:17:44]MH_I2C_Read... [10:17:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:17:44]Read from MH i2c: E2 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 03 00 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 03 00 4F 02 00 90 00 C5 [10:17:44]RAPDU: 90 00 [10:17:44]wFMCommunicate OK [10:17:44]SAM_PROTO_ClearQueue done [10:17:44]KKMCreateOFDPacket [10:17:44]OFDProtocolAddRootSTLVToBuf [10:17:44]FM_MakeSignedData [10:17:44]FM_MakeSignedData [10:17:44]SAM_PROTO_SignData [10:17:44]wFMCommunicate request_size=4 [10:17:44]MH_SAM_APDU [10:17:44]CAPDU: 80 0D 01 02 [10:17:44]Write to MH i2c: E2 08 00 50 02 80 0D 01 02 00 00 00 00 CB [10:17:44]Write i2c OK [10:17:44]MH_I2C_Read... [10:17:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:17:44]Read from MH i2c: E2 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 03 00 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 03 00 50 02 00 90 00 C6 [10:17:44]RAPDU: 90 00 [10:17:44]wFMCommunicate OK [10:17:44]wFMCommunicate request_size=255 [10:17:44]MH_SAM_APDU [10:17:44]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 C7 02 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [10:17:44]Write to MH i2c: E2 02 01 51 02 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 C7 02 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 54 [10:17:44]Write i2c OK [10:17:44]MH_I2C_Read... [10:17:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:17:44]Read from MH i2c: E2 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 03 00 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 03 00 51 02 00 90 00 C7 [10:17:44]RAPDU: 90 00 [10:17:44]wFMCommunicate OK [10:17:44]wFMCommunicate request_size=41 [10:17:44]MH_SAM_APDU [10:17:44]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 39 82 00 00 35 04 06 00 CC 57 FE F5 27 BF [10:17:44]Write to MH i2c: E2 2C 00 52 02 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 39 82 00 00 35 04 06 00 CC 57 FE F5 27 BF 00 00 4D [10:17:44]Write i2c OK [10:17:44]MH_I2C_Read... [10:17:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:17:44]Read from MH i2c: E2 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 03 00 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 03 00 52 02 00 90 00 C8 [10:17:44]RAPDU: 90 00 [10:17:44]wFMCommunicate OK [10:17:44]wFMCommunicate request_size=4 [10:17:44]MH_SAM_APDU [10:17:44]CAPDU: 80 0D 03 02 [10:17:44]Write to MH i2c: E2 08 00 53 02 80 0D 03 02 00 00 00 00 D0 [10:17:44]Write i2c OK [10:17:44]MH_I2C_Read... [10:17:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:17:44]Read from MH i2c: E2 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 0B 00 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 0B 00 53 02 00 DF 8C 67 78 36 7C 4B C1 90 00 D9 [10:17:44]RAPDU: DF 8C 67 78 36 7C 4B C1 90 00 [10:17:44]wFMCommunicate OK [10:17:44]SAM_PROTO_SignData done [10:17:44]FM_MakeSignedData done [10:17:44]CreateOFDProtocolMessage [10:17:44]wFMCommunicate request_size=4 [10:17:44]MH_SAM_APDU [10:17:44]CAPDU: 80 11 00 00 [10:17:44]Write to MH i2c: E2 08 00 54 02 80 11 00 00 00 00 00 00 D0 [10:17:44]Write i2c OK [10:17:44]MH_I2C_Read... [10:17:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:17:44]Read from MH i2c: E2 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 17 00 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: E2 17 00 54 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1C [10:17:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:17:44]wFMCommunicate OK [10:17:44]CreateOFDProtocolMessage done [10:17:44]OFDSenderStorePacket 33337 [10:17:44]StoreOFDPacket docnum=33337 [10:17:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 78 2D 26 01 C5 8D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 C7 02 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 39 82 00 00 35 04 06 00 CC 57 FE F5 27 BF DF 8C 67 78 36 7C 4B C1 [10:17:44]CheckFolder [10:17:44]dirname=/storage/ofd_packets [10:17:44]CheckFolder done [10:17:44]ProducePacketName [10:17:44]name=ofd_packets/00033337 [10:17:44]NVStorageSaveData ofd_packets/00033337 [10:17:44]File name is /storage/ofd_packets/00033337 [10:17:44]Write 332 bytes [10:17:44]NVStorageSaveData done [10:17:44]OFDSenderStorePacket done [10:17:44]KKMCreateOFDPacket done [10:17:44]NVStorageSaveData kkm_last_timestamp [10:17:44]File name is /storage/kkm_last_timestamp [10:17:44]Write 4 bytes [10:17:44]NVStorageSaveData done [10:17:44]ExternCall_PrintAddStr [10:17:44]wPrintStart [10:17:44]Write to MH i2c: 01 00 00 55 02 57 [10:17:44]Write i2c OK [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: 01 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: 01 07 00 [10:17:44]MH_I2C_Read... [10:17:44]Read from MH i2c: 01 07 00 55 02 00 00 00 00 00 FF 0F 6C [10:17:44]RasterBufferAndPrint [10:17:44]line Счет N : (3)169155 [10:17:44]line ИНН: 02508201610067 [10:17:44]line Контрольно-Кассовый Чек [10:17:44]line ПРОДАЖА [10:17:44]line Товар: 2000036220012 [10:17:44]line Кофе Капучино XL(GABB TRADE) [10:17:44]line 1.000 * 130.00 [10:17:44]line = 130.00 [10:17:44]line НДС 12% НСП 1% [10:17:44]line > о реализуемом товаре [10:17:44]line ИТОГО: 130.00 [10:17:44]line НСП 1% : 1.15 [10:17:44]line НДС 12% : 13.80 [10:17:44]line Наличными: 130.00 [10:17:44]line Безнал.: 0.00 [10:17:44]line Место: АЗС № 77 "Партнер Нефть" [10:17:44]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:17:44]line СНО: Общий режим [10:17:44]line Чек 15 12.07.2024 10:17 [10:17:44]line Смена: 433 ФФД: 1.0 [10:17:44]line ЗНМ: 0300000122 [10:17:44]line РНМ: 0000000000093033 [10:17:44]line Версия ККМ: 001 [10:17:44]line ФМ: 0000000000875104 [10:17:44]line ФД: 33337 [10:17:44]line ФПД: 224678311700415 [10:17:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T101743&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33337&fm=224678311700415&tin=02508201610067®Number=0000000000093033&sum=13000 [10:17:44]line 0 [10:17:44]OFD Sender: Processing packet 33337 [packets to send 6, broken 5] [10:17:44]ProducePacketName [10:17:44]name=ofd_packets/00033337 [10:17:44]OFD Sender: To server: pG, [10:17:44]CommunicateWithHost lk.salyk.kg:30040 [10:17:44]ConnectInit lk.salyk.kg [10:17:44]written 0, free lines is 4095 [10:17:45]Connected sock=10 [10:17:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 78 2D 26 01 C5 8D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 C7 02 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 39 82 00 00 35 04 06 00 CC 57 FE F5 27 BF DF 8C 67 78 36 7C 4B C1 [10:17:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 BB 17 47 00 3D 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 39 82 00 00 F4 03 04 00 74 AD 90 66 B6 04 01 00 00 A9 2F E3 36 4C E1 F8 9A [10:17:45]CommunicateWithHost err = 0 [10:17:45]CheckOFDResponse [10:17:45]1017 (14) - 77093643461234 [10:17:45]1041 (16) - 0000000000875104 [10:17:45]1040 (4) - 33337 [10:17:45]1012 (4) - 12.07.2024 04:13 [10:17:45]1206 (1) - 0 [10:17:45]OFD Sender: Remove packet 33337 [10:17:45]ProducePacketName [10:17:45]name=ofd_packets/00033337 [10:17:45]NVStorageDeleteData [10:17:45]Write to MH i2c: 01 00 00 7E 02 80 [10:17:45]Write i2c OK [10:17:45]MH_I2C_Read... [10:17:45]Read from MH i2c: 01 [10:17:45]MH_I2C_Read... [10:17:45]Read from MH i2c: 01 07 00 [10:17:45]MH_I2C_Read... [10:17:45]Read from MH i2c: 01 07 00 7E 02 00 00 00 00 00 F5 0C 88 [10:17:45]RasterBufferAndPrint [10:17:45]line [10:17:45]line [10:17:45]line [10:17:45]line [10:17:45]line [10:17:45]written 0, free lines is 3324 [10:17:45]MH_Cut [10:17:45]Write to MH i2c: D1 01 00 85 02 01 59 [10:17:45]Write i2c OK [10:17:45]MH_I2C_Read... [10:17:45]Read from MH i2c: D1 [10:17:45]MH_I2C_Read... [10:17:45]Read from MH i2c: D1 01 00 [10:17:45]MH_I2C_Read... [10:17:45]Read from MH i2c: D1 01 00 85 02 00 58 [10:17:45]Write to MH i2c: 01 00 00 86 02 88 [10:17:45]Write i2c OK [10:17:45]MH_I2C_Read... [10:17:45]OFD Sender: No OFD packet to send [10:17:46]*** Cut start [10:17:46]*** Partial cut [10:17:46]*** CUTSNS_PIN = 1 [10:17:46]*** CUTSNS_PIN = 0 [10:17:46]*** Brake cut motor [10:17:46]Read from MH i2c: 01 [10:17:46]MH_I2C_Read... [10:17:46]*** Stop cut motor [10:17:46]*** Cut end [10:17:46]Read from MH i2c: 01 07 00 [10:17:46]MH_I2C_Read... [10:17:46]Read from MH i2c: 01 07 00 86 02 00 00 00 00 00 FF 0F 9D [10:17:46]process_action close_receipt done [10:17:46]requested_data is exist [10:17:46]produce_requested_data [10:17:46]requested_item fm.sn is exist - process it [10:17:46]wFMCommunicate request_size=4 [10:17:46]MH_SAM_APDU [10:17:46]CAPDU: 80 11 00 00 [10:17:46]Write to MH i2c: E2 08 00 87 02 80 11 00 00 00 00 00 00 03 [10:17:46]Write i2c OK [10:17:46]MH_I2C_Read... [10:17:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:17:46]Read from MH i2c: E2 [10:17:46]MH_I2C_Read... [10:17:46]Read from MH i2c: E2 17 00 [10:17:46]MH_I2C_Read... [10:17:46]Read from MH i2c: E2 17 00 87 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4F [10:17:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:17:46]wFMCommunicate OK [10:17:46]requested_item fd.num is exist - process it [10:17:46]SAM_PROTO_GetFieldsCounters [10:17:46]wFMCommunicate request_size=4 [10:17:46]MH_SAM_APDU [10:17:46]CAPDU: 80 13 00 00 [10:17:46]Write to MH i2c: E2 08 00 88 02 80 13 00 00 00 00 00 00 06 [10:17:46]Write i2c OK [10:17:46]MH_I2C_Read... [10:17:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:17:46]Read from MH i2c: E2 [10:17:46]MH_I2C_Read... [10:17:46]Read from MH i2c: E2 62 00 [10:17:46]MH_I2C_Read... [10:17:46]Read from MH i2c: E2 62 00 88 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 39 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [10:17:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 39 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:17:46]wFMCommunicate OK [10:17:46]SAM_PROTO_GetFieldsCounters done [10:17:46]requested_item shift.num is exist - process it [10:17:46]requested_item shift.opened is exist - process it [10:17:46]req_shift_opened [10:17:46]FM_GetShiftState [10:17:46]SAM_PROTO_GetShiftState [10:17:46]wFMCommunicate request_size=4 [10:17:46]MH_SAM_APDU [10:17:46]CAPDU: 80 13 01 00 [10:17:46]Write to MH i2c: E2 08 00 89 02 80 13 01 00 00 00 00 00 08 [10:17:46]Write i2c OK [10:17:46]MH_I2C_Read... [10:17:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:17:47]Read from MH i2c: E2 [10:17:47]MH_I2C_Read... [10:17:47]Read from MH i2c: E2 0E 00 [10:17:47]MH_I2C_Read... [10:17:47]Read from MH i2c: E2 0E 00 89 02 00 09 00 01 17 74 90 66 00 00 00 00 90 00 95 [10:17:47]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:17:47]wFMCommunicate OK [10:17:47]SAM_PROTO_GetShiftState done [10:17:47]FM_GetShiftState done [10:17:47]req_shift_opened done [10:17:47]requested_item shift.open_date is exist - process it [10:17:47]req_shift_open_date [10:17:47]req_shift_open_date done [10:17:47]produce_requested_data done [10:17:47]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33337,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [10:17:47]process_action_free close_receipt [10:17:47]json_value_free [10:17:47]json_value_free done [10:17:47]process_json_proto returns [10:17:47]Send response to host [10:17:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33337,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [10:17:47]free response buf [10:17:47]execute_script done [10:17:47]execute_script returns [10:17:47]free content buf [10:17:47]Sock 7.Close socket [10:17:47]Sock 7.Thread stoped [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:05]OFD Sender: No OFD packet to send [10:18:10]OFD Sender: No OFD packet to send [10:18:15]OFD Sender: No OFD packet to send [10:18:20]OFD Sender: No OFD packet to send [10:18:25]OFD Sender: No OFD packet to send [10:18:30]OFD Sender: No OFD packet to send [10:18:35]OFD Sender: No OFD packet to send [10:18:40]OFD Sender: No OFD packet to send [10:18:45]OFD Sender: No OFD packet to send [10:18:50]OFD Sender: No OFD packet to send [10:18:55]OFD Sender: No OFD packet to send [10:19:00]OFD Sender: No OFD packet to send [10:19:05]OFD Sender: No OFD packet to send [10:19:10]OFD Sender: No OFD packet to send [10:19:15]OFD Sender: No OFD packet to send [10:19:20]OFD Sender: No OFD packet to send [10:19:25]OFD Sender: No OFD packet to send [10:19:30]OFD Sender: No OFD packet to send [10:19:35]OFD Sender: No OFD packet to send [10:19:40]OFD Sender: No OFD packet to send [10:19:45]OFD Sender: No OFD packet to send [10:19:50]OFD Sender: No OFD packet to send [10:19:55]OFD Sender: No OFD packet to send [10:20:00]OFD Sender: No OFD packet to send [10:20:05]OFD Sender: No OFD packet to send [10:20:10]OFD Sender: No OFD packet to send [10:20:15]OFD Sender: No OFD packet to send [10:20:20]OFD Sender: No OFD packet to send [10:20:25]OFD Sender: No OFD packet to send [10:20:30]OFD Sender: No OFD packet to send [10:20:35]OFD Sender: No OFD packet to send [10:20:40]OFD Sender: No OFD packet to send [10:20:45]OFD Sender: No OFD packet to send [10:20:50]OFD Sender: No OFD packet to send [10:20:55]OFD Sender: No OFD packet to send [10:21:00]OFD Sender: No OFD packet to send [10:21:05]OFD Sender: No OFD packet to send [10:21:10]OFD Sender: No OFD packet to send [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [10:21:40]OFD Sender: No OFD packet to send [10:21:45]OFD Sender: No OFD packet to send [10:21:50]OFD Sender: No OFD packet to send [10:21:55]OFD Sender: No OFD packet to send [10:22:00]OFD Sender: No OFD packet to send [10:22:05]OFD Sender: No OFD packet to send [10:22:10]OFD Sender: No OFD packet to send [10:22:15]OFD Sender: No OFD packet to send [10:22:20]OFD Sender: No OFD packet to send [10:22:25]OFD Sender: No OFD packet to send [10:22:30]OFD Sender: No OFD packet to send [10:22:35]OFD Sender: No OFD packet to send [10:22:40]OFD Sender: No OFD packet to send [10:22:45]OFD Sender: No OFD packet to send [10:22:50]OFD Sender: No OFD packet to send [10:22:56]OFD Sender: No OFD packet to send [10:23:01]OFD Sender: No OFD packet to send [10:23:06]OFD Sender: No OFD packet to send [10:23:11]OFD Sender: No OFD packet to send [10:23:16]OFD Sender: No OFD packet to send [10:23:21]OFD Sender: No OFD packet to send [10:23:26]OFD Sender: No OFD packet to send [10:23:31]OFD Sender: No OFD packet to send [10:23:36]OFD Sender: No OFD packet to send [10:23:41]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24:31]OFD Sender: No OFD packet to send [10:24:36]OFD Sender: No OFD packet to send [10:24:41]OFD Sender: No OFD packet to send [10:24:46]OFD Sender: No OFD packet to send [10:24:51]OFD Sender: No OFD packet to send [10:24:56]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:26]OFD Sender: No OFD packet to send [10:26:31]OFD Sender: No OFD packet to send [10:26:36]OFD Sender: No OFD packet to send [10:26:41]OFD Sender: No OFD packet to send [10:26:46]OFD Sender: No OFD packet to send [10:26:51]OFD Sender: No OFD packet to send [10:26:56]OFD Sender: No OFD packet to send [10:27:01]OFD Sender: No OFD packet to send [10:27:06]OFD Sender: No OFD packet to send [10:27:11]OFD Sender: No OFD packet to send [10:27:16]OFD Sender: No OFD packet to send [10:27:21]OFD Sender: No OFD packet to send [10:27:26]OFD Sender: No OFD packet to send [10:27:31]OFD Sender: No OFD packet to send [10:27:36]OFD Sender: No OFD packet to send [10:27:41]OFD Sender: No OFD packet to send [10:27:46]OFD Sender: No OFD packet to send [10:27:51]OFD Sender: No OFD packet to send [10:27:56]OFD Sender: No OFD packet to send [10:28:01]OFD Sender: No OFD packet to send [10:28:06]OFD Sender: No OFD packet to send [10:28:11]OFD Sender: No OFD packet to send [10:28:16]OFD Sender: No OFD packet to send [10:28:21]OFD Sender: No OFD packet to send [10:28:26]OFD Sender: No OFD packet to send [10:28:31]OFD Sender: No OFD packet to send [10:28:36]OFD Sender: No OFD packet to send [10:28:41]OFD Sender: No OFD packet to send [10:28:46]OFD Sender: No OFD packet to send [10:28:51]OFD Sender: No OFD packet to send [10:28:56]OFD Sender: No OFD packet to send [10:29:01]OFD Sender: No OFD packet to send [10:29:06]OFD Sender: No OFD packet to send [10:29:11]OFD Sender: No OFD packet to send [10:29:16]OFD Sender: No OFD packet to send [10:29:21]OFD Sender: No OFD packet to send [10:29:26]OFD Sender: No OFD packet to send [10:29:31]OFD Sender: No OFD packet to send [10:29:36]OFD Sender: No OFD packet to send [10:29:41]OFD Sender: No OFD packet to send [10:29:46]OFD Sender: No OFD packet to send [10:29:51]OFD Sender: No OFD packet to send [10:29:56]OFD Sender: No OFD packet to send [10:30:01]OFD Sender: No OFD packet to send [10:30:06]OFD Sender: No OFD packet to send [10:30:11]OFD Sender: No OFD packet to send [10:30:16]OFD Sender: No OFD packet to send [10:30:21]OFD Sender: No OFD packet to send [10:30:26]OFD Sender: No OFD packet to send [10:30:31]OFD Sender: No OFD packet to send [10:30:36]OFD Sender: No OFD packet to send [10:30:41]OFD Sender: No OFD packet to send [10:30:46]OFD Sender: No OFD packet to send [10:30:51]OFD Sender: No OFD packet to send [10:30:56]OFD Sender: No OFD packet to send [10:31:01]OFD Sender: No OFD packet to send [10:31:06]OFD Sender: No OFD packet to send [10:31:11]OFD Sender: No OFD packet to send [10:31:16]OFD Sender: No OFD packet to send [10:31:21]OFD Sender: No OFD packet to send [10:31:26]OFD Sender: No OFD packet to send [10:31:31]OFD Sender: No OFD packet to send [10:31:36]OFD Sender: No OFD packet to send [10:31:41]OFD Sender: No OFD packet to send [10:31:46]OFD Sender: No OFD packet to send [10:31:50]accept exits with 9 [10:31:50]New connection [10:31:50]New thread 3066604900 created [10:31:50]Thread 3066461540 joined [10:31:50]Waiting for new connection... [10:31:50] Sock 9.Parse request [10:31:50]Sock 9.Check first char [10:31:50]Sock 9.First char is OK [10:31:50]request: POST /json_proto HTTP/1.0 [10:31:50]Method: POST [10:31:50]URL: /json_proto [10:31:50]Method is POST - this is cgi request [10:31:50]url: /json_proto [10:31:50]query_string will be loaded in cgi processing [10:31:50]execute_cgi json_proto POST (null) [10:31:50]execute_cgi path=json_proto method=POST [10:31:50]POST find Content-Length [10:31:50]Host: 172.17.35.196:8080 [10:31:50]Content-Length: 805 [10:31:50]Content-Type: application/json [10:31:50] [10:31:50]POST finish read [10:31:50]Found Content-Length = 805 [10:31:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169156", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:31:50]execute_script... [10:31:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169156", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:31:50]POST & json_proto [10:31:50]process_json_proto [10:31:50]json parsed OK: [10:31:50]protocol is kg_v1.0 [10:31:50]action value=close_receipt [10:31:50]process_action close_receipt [10:31:50]cmd_close_receipt [10:31:50]MH_GetDate [10:31:50]Write to MH i2c: F0 00 00 8A 02 7B [10:31:50]Write i2c OK [10:31:50]MH_I2C_Read... [10:31:50]Read from MH i2c: F0 [10:31:50]MH_I2C_Read... [10:31:50]Read from MH i2c: F0 09 00 [10:31:50]MH_I2C_Read... [10:31:50]Read from MH i2c: F0 09 00 8A 02 00 17 06 91 66 AD 14 F4 65 B2 [10:31:50]GetLastDocTimeStamp 1720779463 [10:31:50]current date 1720780311 [10:31:50]FM_GetShiftState [10:31:50]SAM_PROTO_GetShiftState [10:31:50]wFMCommunicate request_size=4 [10:31:50]MH_SAM_APDU [10:31:50]CAPDU: 80 13 01 00 [10:31:50]Write to MH i2c: E2 08 00 8B 02 80 13 01 00 00 00 00 00 0A [10:31:50]Write i2c OK [10:31:50]MH_I2C_Read... [10:31:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:31:50]Read from MH i2c: E2 [10:31:50]MH_I2C_Read... [10:31:50]Read from MH i2c: E2 0E 00 [10:31:50]MH_I2C_Read... [10:31:50]Read from MH i2c: E2 0E 00 8B 02 00 09 00 01 17 74 90 66 00 00 00 00 90 00 97 [10:31:50]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:31:50]wFMCommunicate OK [10:31:50]SAM_PROTO_GetShiftState done [10:31:50]FM_GetShiftState done [10:31:50]opened in 1720742935 [10:31:50]opened+sec_in_day 1720829335 [10:31:50]quantity*price = 11500 [10:31:50]sum+1 = 11501 [10:31:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 16 12.07.2024 10:31 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875104 ФД: 33338 ФПД: 5282461862957 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T103151&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33338&fm=5282461862957&tin=02508201610067®Number=0000000000093033&sum=11500 0 [10:31:52]StoreToDocumentArchive [10:31:52]shift 433 fd 33338 [10:31:52]save to /storage/0433/doc_00033338 [10:31:52]save last doc name /storage/0433/doc_00033338 to /storage/kkm_last_doc_name [10:31:52]save OK [10:31:52]Clear old archive folders... [10:31:52]ProcessDocumentItem done err = 0, tmpTLVsize=280 [10:31:52]tlvbuf is 00A691B0 [10:31:52]SAM_PROTO_ClearQueue [10:31:52]wFMCommunicate request_size=4 [10:31:52]MH_SAM_APDU [10:31:52]CAPDU: 80 09 00 00 [10:31:52]Write to MH i2c: E2 08 00 98 02 80 09 00 00 00 00 00 00 0C [10:31:52]Write i2c OK [10:31:52]MH_I2C_Read... [10:31:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:31:52]Read from MH i2c: E2 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 03 00 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 03 00 98 02 00 90 00 0E [10:31:52]RAPDU: 90 00 [10:31:52]wFMCommunicate OK [10:31:52]SAM_PROTO_ClearQueue done [10:31:52]KKMCreateOFDPacket [10:31:52]OFDProtocolAddRootSTLVToBuf [10:31:52]FM_MakeSignedData [10:31:52]FM_MakeSignedData [10:31:52]SAM_PROTO_SignData [10:31:52]wFMCommunicate request_size=4 [10:31:52]MH_SAM_APDU [10:31:52]CAPDU: 80 0D 01 02 [10:31:52]Write to MH i2c: E2 08 00 99 02 80 0D 01 02 00 00 00 00 14 [10:31:52]Write i2c OK [10:31:52]MH_I2C_Read... [10:31:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:31:52]Read from MH i2c: E2 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 03 00 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 03 00 99 02 00 90 00 0F [10:31:52]RAPDU: 90 00 [10:31:52]wFMCommunicate OK [10:31:52]wFMCommunicate request_size=255 [10:31:52]MH_SAM_APDU [10:31:52]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 17 06 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [10:31:52]Write to MH i2c: E2 02 01 9A 02 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 17 06 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 23 [10:31:52]Write i2c OK [10:31:52]MH_I2C_Read... [10:31:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:31:52]Read from MH i2c: E2 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 03 00 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 03 00 9A 02 00 90 00 10 [10:31:52]RAPDU: 90 00 [10:31:52]wFMCommunicate OK [10:31:52]wFMCommunicate request_size=39 [10:31:52]MH_SAM_APDU [10:31:52]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3A 82 00 00 35 04 06 00 04 CD EB 43 4C 2D [10:31:52]Write to MH i2c: E2 2A 00 9B 02 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3A 82 00 00 35 04 06 00 04 CD EB 43 4C 2D 00 00 FF [10:31:52]Write i2c OK [10:31:52]MH_I2C_Read... [10:31:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:31:52]Read from MH i2c: E2 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 03 00 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 03 00 9B 02 00 90 00 11 [10:31:52]RAPDU: 90 00 [10:31:52]wFMCommunicate OK [10:31:52]wFMCommunicate request_size=4 [10:31:52]MH_SAM_APDU [10:31:52]CAPDU: 80 0D 03 02 [10:31:52]Write to MH i2c: E2 08 00 9C 02 80 0D 03 02 00 00 00 00 19 [10:31:52]Write i2c OK [10:31:52]MH_I2C_Read... [10:31:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:31:52]Read from MH i2c: E2 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 0B 00 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 0B 00 9C 02 00 9F 2D B1 BC 88 E1 CC 52 90 00 DA [10:31:52]RAPDU: 9F 2D B1 BC 88 E1 CC 52 90 00 [10:31:52]wFMCommunicate OK [10:31:52]SAM_PROTO_SignData done [10:31:52]FM_MakeSignedData done [10:31:52]CreateOFDProtocolMessage [10:31:52]wFMCommunicate request_size=4 [10:31:52]MH_SAM_APDU [10:31:52]CAPDU: 80 11 00 00 [10:31:52]Write to MH i2c: E2 08 00 9D 02 80 11 00 00 00 00 00 00 19 [10:31:52]Write i2c OK [10:31:52]MH_I2C_Read... [10:31:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:31:52]Read from MH i2c: E2 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 17 00 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: E2 17 00 9D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 65 [10:31:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:31:52]wFMCommunicate OK [10:31:52]CreateOFDProtocolMessage done [10:31:52]OFDSenderStorePacket 33338 [10:31:52]StoreOFDPacket docnum=33338 [10:31:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 30 49 24 01 A6 D7 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 17 06 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3A 82 00 00 35 04 06 00 04 CD EB 43 4C 2D 9F 2D B1 BC 88 E1 CC 52 [10:31:52]CheckFolder [10:31:52]dirname=/storage/ofd_packets [10:31:52]CheckFolder done [10:31:52]ProducePacketName [10:31:52]name=ofd_packets/00033338 [10:31:52]NVStorageSaveData ofd_packets/00033338 [10:31:52]File name is /storage/ofd_packets/00033338 [10:31:52]Write 330 bytes [10:31:52]NVStorageSaveData done [10:31:52]OFDSenderStorePacket done [10:31:52]KKMCreateOFDPacket done [10:31:52]NVStorageSaveData kkm_last_timestamp [10:31:52]File name is /storage/kkm_last_timestamp [10:31:52]Write 4 bytes [10:31:52]NVStorageSaveData done [10:31:52]ExternCall_PrintAddStr [10:31:52]wPrintStart [10:31:52]Write to MH i2c: 01 00 00 9E 02 A0 [10:31:52]Write i2c OK [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: 01 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: 01 07 00 [10:31:52]MH_I2C_Read... [10:31:52]Read from MH i2c: 01 07 00 9E 02 00 00 00 00 00 FF 0F B5 [10:31:52]RasterBufferAndPrint [10:31:52]line Счет N : (3)169156 [10:31:52]line ИНН: 02508201610067 [10:31:52]line Контрольно-Кассовый Чек [10:31:52]line ПРОДАЖА [10:31:52]line Товар: 2000036210013 [10:31:52]line Кофе Капучино (GABB TRADE) [10:31:52]line 1.000 * 115.00 [10:31:52]line = 115.00 [10:31:52]line НДС 12% НСП 1% [10:31:52]line > о реализуемом товаре [10:31:52]line ИТОГО: 115.00 [10:31:52]line НСП 1% : 1.02 [10:31:52]line НДС 12% : 12.21 [10:31:52]line Наличными: 0.00 [10:31:52]line Безнал.: 115.00 [10:31:52]line Место: АЗС № 77 "Партнер Нефть" [10:31:52]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:31:52]line СНО: Общий режим [10:31:52]line Чек 16 12.07.2024 10:31 [10:31:52]line Смена: 433 ФФД: 1.0 [10:31:52]line ЗНМ: 0300000122 [10:31:52]line РНМ: 0000000000093033 [10:31:52]line Версия ККМ: 001 [10:31:52]line Платежная система: O! деньги [10:31:52]line ФМ: 0000000000875104 [10:31:52]line ФД: 33338 [10:31:52]line ФПД: 5282461862957 [10:31:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T103151&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33338&fm=5282461862957&tin=02508201610067®Number=0000000000093033&sum=11500 [10:31:52]line 0 [10:31:52]OFD Sender: Processing packet 33338 [packets to send 6, broken 5] [10:31:52]ProducePacketName [10:31:52]name=ofd_packets/00033338 [10:31:52]OFD Sender: To server: pG, [10:31:52]CommunicateWithHost lk.salyk.kg:30040 [10:31:52]ConnectInit lk.salyk.kg [10:31:52]written 0, free lines is 4095 [10:31:53]Connected sock=10 [10:31:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 30 49 24 01 A6 D7 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 17 06 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3A 82 00 00 35 04 06 00 04 CD EB 43 4C 2D 9F 2D B1 BC 88 E1 CC 52 [10:31:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 14 03 47 00 C0 C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 3A 82 00 00 F4 03 04 00 C4 B0 90 66 B6 04 01 00 00 84 D7 33 54 20 DC 86 33 [10:31:53]CommunicateWithHost err = 0 [10:31:53]CheckOFDResponse [10:31:53]1017 (14) - 77093643461234 [10:31:53]1041 (16) - 0000000000875104 [10:31:53]1040 (4) - 33338 [10:31:53]1012 (4) - 12.07.2024 04:27 [10:31:53]1206 (1) - 0 [10:31:53]OFD Sender: Remove packet 33338 [10:31:53]ProducePacketName [10:31:53]name=ofd_packets/00033338 [10:31:53]NVStorageDeleteData [10:31:53]Write to MH i2c: 01 00 00 C8 02 CA [10:31:53]Write i2c OK [10:31:53]MH_I2C_Read... [10:31:53]Read from MH i2c: 01 [10:31:53]MH_I2C_Read... [10:31:53]Read from MH i2c: 01 07 00 [10:31:53]MH_I2C_Read... [10:31:53]Read from MH i2c: 01 07 00 C8 02 00 00 00 00 00 E2 0C BF [10:31:53]RasterBufferAndPrint [10:31:53]line [10:31:53]line [10:31:53]line [10:31:53]line [10:31:53]line [10:31:53]written 0, free lines is 3304 [10:31:53]MH_Cut [10:31:53]Write to MH i2c: D1 01 00 CF 02 01 A3 [10:31:53]Write i2c OK [10:31:53]MH_I2C_Read... [10:31:53]Read from MH i2c: D1 [10:31:53]MH_I2C_Read... [10:31:53]Read from MH i2c: D1 01 00 [10:31:53]MH_I2C_Read... [10:31:53]Read from MH i2c: D1 01 00 CF 02 00 A2 [10:31:53]Write to MH i2c: 01 00 00 D0 02 D2 [10:31:53]Write i2c OK [10:31:53]MH_I2C_Read... [10:31:53]OFD Sender: No OFD packet to send [10:31:54]*** Cut start [10:31:54]*** Partial cut [10:31:54]*** CUTSNS_PIN = 1 [10:31:54]*** CUTSNS_PIN = 0 [10:31:54]*** Brake cut motor [10:31:54]Read from MH i2c: 01 [10:31:54]MH_I2C_Read... [10:31:54]*** Stop cut motor [10:31:54]*** Cut end [10:31:54]Read from MH i2c: 01 07 00 [10:31:54]MH_I2C_Read... [10:31:54]Read from MH i2c: 01 07 00 D0 02 00 00 00 00 00 FF 0F E7 [10:31:54]process_action close_receipt done [10:31:54]requested_data is exist [10:31:54]produce_requested_data [10:31:54]requested_item fm.sn is exist - process it [10:31:54]wFMCommunicate request_size=4 [10:31:54]MH_SAM_APDU [10:31:54]CAPDU: 80 11 00 00 [10:31:54]Write to MH i2c: E2 08 00 D1 02 80 11 00 00 00 00 00 00 4D [10:31:54]Write i2c OK [10:31:54]MH_I2C_Read... [10:31:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:31:54]Read from MH i2c: E2 [10:31:54]MH_I2C_Read... [10:31:54]Read from MH i2c: E2 17 00 [10:31:54]MH_I2C_Read... [10:31:54]Read from MH i2c: E2 17 00 D1 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 99 [10:31:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:31:54]wFMCommunicate OK [10:31:54]requested_item fd.num is exist - process it [10:31:54]SAM_PROTO_GetFieldsCounters [10:31:54]wFMCommunicate request_size=4 [10:31:54]MH_SAM_APDU [10:31:54]CAPDU: 80 13 00 00 [10:31:54]Write to MH i2c: E2 08 00 D2 02 80 13 00 00 00 00 00 00 50 [10:31:54]Write i2c OK [10:31:54]MH_I2C_Read... [10:31:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:31:54]Read from MH i2c: E2 [10:31:54]MH_I2C_Read... [10:31:54]Read from MH i2c: E2 62 00 [10:31:54]MH_I2C_Read... [10:31:54]Read from MH i2c: E2 62 00 D2 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3A 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 01 [10:31:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3A 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:31:54]wFMCommunicate OK [10:31:54]SAM_PROTO_GetFieldsCounters done [10:31:54]requested_item shift.num is exist - process it [10:31:54]requested_item shift.opened is exist - process it [10:31:54]req_shift_opened [10:31:54]FM_GetShiftState [10:31:54]SAM_PROTO_GetShiftState [10:31:54]wFMCommunicate request_size=4 [10:31:54]MH_SAM_APDU [10:31:54]CAPDU: 80 13 01 00 [10:31:54]Write to MH i2c: E2 08 00 D3 02 80 13 01 00 00 00 00 00 52 [10:31:54]Write i2c OK [10:31:54]MH_I2C_Read... [10:31:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:31:55]Read from MH i2c: E2 [10:31:55]MH_I2C_Read... [10:31:55]Read from MH i2c: E2 0E 00 [10:31:55]MH_I2C_Read... [10:31:55]Read from MH i2c: E2 0E 00 D3 02 00 09 00 01 17 74 90 66 00 00 00 00 90 00 DF [10:31:55]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:31:55]wFMCommunicate OK [10:31:55]SAM_PROTO_GetShiftState done [10:31:55]FM_GetShiftState done [10:31:55]req_shift_opened done [10:31:55]requested_item shift.open_date is exist - process it [10:31:55]req_shift_open_date [10:31:55]req_shift_open_date done [10:31:55]produce_requested_data done [10:31:55]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33338,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [10:31:55]process_action_free close_receipt [10:31:55]json_value_free [10:31:55]json_value_free done [10:31:55]process_json_proto returns [10:31:55]Send response to host [10:31:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33338,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [10:31:55]free response buf [10:31:55]execute_script done [10:31:55]execute_script returns [10:31:55]free content buf [10:31:55]Sock 9.Close socket [10:31:55]Sock 9.Thread stoped [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:48]OFD Sender: No OFD packet to send [10:36:53]OFD Sender: No OFD packet to send [10:36:58]OFD Sender: No OFD packet to send [10:37:03]OFD Sender: No OFD packet to send [10:37:08]OFD Sender: No OFD packet to send [10:37:13]OFD Sender: No OFD packet to send [10:37:18]OFD Sender: No OFD packet to send [10:37:23]OFD Sender: No OFD packet to send [10:37:28]OFD Sender: No OFD packet to send [10:37:33]OFD Sender: No OFD packet to send [10:37:38]OFD Sender: No OFD packet to send [10:37:43]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:04]OFD Sender: No OFD packet to send [10:43:09]OFD Sender: No OFD packet to send [10:43:14]OFD Sender: No OFD packet to send [10:43:19]OFD Sender: No OFD packet to send [10:43:24]OFD Sender: No OFD packet to send [10:43:29]OFD Sender: No OFD packet to send [10:43:34]OFD Sender: No OFD packet to send [10:43:39]OFD Sender: No OFD packet to send [10:43:44]OFD Sender: No OFD packet to send [10:43:49]OFD Sender: No OFD packet to send [10:43:54]OFD Sender: No OFD packet to send [10:43:59]OFD Sender: No OFD packet to send [10:44:04]OFD Sender: No OFD packet to send [10:44:09]OFD Sender: No OFD packet to send [10:44:14]OFD Sender: No OFD packet to send [10:44:19]OFD Sender: No OFD packet to send [10:44:24]OFD Sender: No OFD packet to send [10:44:29]OFD Sender: No OFD packet to send [10:44:34]OFD Sender: No OFD packet to send [10:44:39]OFD Sender: No OFD packet to send [10:44:44]OFD Sender: No OFD packet to send [10:44:49]OFD Sender: No OFD packet to send [10:44:54]OFD Sender: No OFD packet to send [10:44:59]OFD Sender: No OFD packet to send [10:45:04]OFD Sender: No OFD packet to send [10:45:09]OFD Sender: No OFD packet to send [10:45:14]OFD Sender: No OFD packet to send [10:45:19]OFD Sender: No OFD packet to send [10:45:24]OFD Sender: No OFD packet to send [10:45:29]OFD Sender: No OFD packet to send [10:45:34]OFD Sender: No OFD packet to send [10:45:39]OFD Sender: No OFD packet to send [10:45:44]OFD Sender: No OFD packet to send [10:45:49]OFD Sender: No OFD packet to send [10:45:54]OFD Sender: No OFD packet to send [10:45:59]OFD Sender: No OFD packet to send [10:46:04]OFD Sender: No OFD packet to send [10:46:09]OFD Sender: No OFD packet to send [10:46:14]OFD Sender: No OFD packet to send [10:46:19]OFD Sender: No OFD packet to send [10:46:24]OFD Sender: No OFD packet to send [10:46:29]OFD Sender: No OFD packet to send [10:46:34]OFD Sender: No OFD packet to send [10:46:39]OFD Sender: No OFD packet to send [10:46:44]OFD Sender: No OFD packet to send [10:46:49]OFD Sender: No OFD packet to send [10:46:54]OFD Sender: No OFD packet to send [10:46:59]OFD Sender: No OFD packet to send [10:47:04]OFD Sender: No OFD packet to send [10:47:09]OFD Sender: No OFD packet to send [10:47:14]OFD Sender: No OFD packet to send [10:47:19]OFD Sender: No OFD packet to send [10:47:24]OFD Sender: No OFD packet to send [10:47:29]OFD Sender: No OFD packet to send [10:47:34]OFD Sender: No OFD packet to send [10:47:39]OFD Sender: No OFD packet to send [10:47:44]OFD Sender: No OFD packet to send [10:47:49]OFD Sender: No OFD packet to send [10:47:54]OFD Sender: No OFD packet to send [10:47:59]OFD Sender: No OFD packet to send [10:48:04]OFD Sender: No OFD packet to send [10:48:09]OFD Sender: No OFD packet to send [10:48:14]OFD Sender: No OFD packet to send [10:48:19]OFD Sender: No OFD packet to send [10:48:24]OFD Sender: No OFD packet to send [10:48:29]OFD Sender: No OFD packet to send [10:48:34]OFD Sender: No OFD packet to send [10:48:39]OFD Sender: No OFD packet to send [10:48:44]OFD Sender: No OFD packet to send [10:48:49]OFD Sender: No OFD packet to send [10:48:54]OFD Sender: No OFD packet to send [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:26]accept exits with 7 [10:50:26]New connection [10:50:26]New thread 3066461540 created [10:50:26]Thread 3066604900 joined [10:50:26]Waiting for new connection... [10:50:26] Sock 7.Parse request [10:50:26]Sock 7.Check first char [10:50:26]Sock 7.First char is OK [10:50:26]request: POST /json_proto HTTP/1.0 [10:50:26]Method: POST [10:50:26]URL: /json_proto [10:50:26]Method is POST - this is cgi request [10:50:26]url: /json_proto [10:50:26]query_string will be loaded in cgi processing [10:50:26]execute_cgi json_proto POST (null) [10:50:26]execute_cgi path=json_proto method=POST [10:50:26]POST find Content-Length [10:50:26]Host: 172.17.35.196:8080 [10:50:26]Content-Length: 707 [10:50:26]Content-Type: application/json [10:50:26] [10:50:26]POST finish read [10:50:26]Found Content-Length = 707 [10:50:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169157", "tax_sys" : 0, "items" : [ { "code": "4600338007724", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u044F\u0431\u043B\u043E\u043A\u043E,\u0432\u0438\u0448\u043D\u044F 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:50:26]execute_script... [10:50: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)169157", "tax_sys" : 0, "items" : [ { "code": "4600338007724", "name": "\u0421\u043E\u043A \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u044F\u0431\u043B\u043E\u043A\u043E,\u0432\u0438\u0448\u043D\u044F 0,2\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:50:26]POST & json_proto [10:50:26]process_json_proto [10:50:26]json parsed OK: [10:50:26]protocol is kg_v1.0 [10:50:26]action value=close_receipt [10:50:26]process_action close_receipt [10:50:26]cmd_close_receipt [10:50:26]MH_GetDate [10:50:26]Write to MH i2c: F0 00 00 D4 02 C5 [10:50:26]Write i2c OK [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: F0 [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: F0 09 00 [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: F0 09 00 D4 02 00 73 0A 91 66 AD 14 F4 65 5C [10:50:26]GetLastDocTimeStamp 1720780311 [10:50:26]current date 1720781427 [10:50:26]FM_GetShiftState [10:50:26]SAM_PROTO_GetShiftState [10:50:26]wFMCommunicate request_size=4 [10:50:26]MH_SAM_APDU [10:50:26]CAPDU: 80 13 01 00 [10:50:26]Write to MH i2c: E2 08 00 D5 02 80 13 01 00 00 00 00 00 54 [10:50:26]Write i2c OK [10:50:26]MH_I2C_Read... [10:50:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:50:26]Read from MH i2c: E2 [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: E2 0E 00 [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: E2 0E 00 D5 02 00 09 00 01 17 74 90 66 00 00 00 00 90 00 E1 [10:50:26]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:50:26]wFMCommunicate OK [10:50:26]SAM_PROTO_GetShiftState done [10:50:26]FM_GetShiftState done [10:50:26]opened in 1720742935 [10:50:26]opened+sec_in_day 1720829335 [10:50:26]quantity*price = 6500 [10:50:26]sum+1 = 6501 [10:50:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 17 12.07.2024 10:50 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33339 ФПД: 38316275385504 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T105027&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33339&fm=38316275385504&tin=02508201610067®Number=0000000000093033&sum=6500 0 [10:50:27]StoreToDocumentArchive [10:50:27]shift 433 fd 33339 [10:50:27]save to /storage/0433/doc_00033339 [10:50:27]save last doc name /storage/0433/doc_00033339 to /storage/kkm_last_doc_name [10:50:27]save OK [10:50:27]Clear old archive folders... [10:50:27]ProcessDocumentItem done err = 0, tmpTLVsize=298 [10:50:27]tlvbuf is 00A39C20 [10:50:27]SAM_PROTO_ClearQueue [10:50:27]wFMCommunicate request_size=4 [10:50:27]MH_SAM_APDU [10:50:27]CAPDU: 80 09 00 00 [10:50:27]Write to MH i2c: E2 08 00 E2 02 80 09 00 00 00 00 00 00 56 [10:50:27]Write i2c OK [10:50:27]MH_I2C_Read... [10:50:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:50:27]Read from MH i2c: E2 [10:50:27]MH_I2C_Read... [10:50:27]Read from MH i2c: E2 03 00 [10:50:27]MH_I2C_Read... [10:50:27]Read from MH i2c: E2 03 00 E2 02 00 90 00 58 [10:50:27]RAPDU: 90 00 [10:50:27]wFMCommunicate OK [10:50:27]SAM_PROTO_ClearQueue done [10:50:27]KKMCreateOFDPacket [10:50:27]OFDProtocolAddRootSTLVToBuf [10:50:27]FM_MakeSignedData [10:50:27]FM_MakeSignedData [10:50:27]SAM_PROTO_SignData [10:50:27]wFMCommunicate request_size=4 [10:50:27]MH_SAM_APDU [10:50:27]CAPDU: 80 0D 01 02 [10:50:27]Write to MH i2c: E2 08 00 E3 02 80 0D 01 02 00 00 00 00 5E [10:50:27]Write i2c OK [10:50:27]MH_I2C_Read... [10:50:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:50:27]Read from MH i2c: E2 [10:50:27]MH_I2C_Read... [10:50:27]Read from MH i2c: E2 03 00 [10:50:27]MH_I2C_Read... [10:50:27]Read from MH i2c: E2 03 00 E3 02 00 90 00 59 [10:50:27]RAPDU: 90 00 [10:50:27]wFMCommunicate OK [10:50:27]wFMCommunicate request_size=255 [10:50:27]MH_SAM_APDU [10:50:27]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 37 37 32 34 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 2C D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 73 0A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [10:50:27]Write to MH i2c: E2 02 01 E4 02 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 37 37 32 34 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 2C D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 73 0A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 54 [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 E4 02 00 90 00 5A [10:50:28]RAPDU: 90 00 [10:50:28]wFMCommunicate OK [10:50:28]wFMCommunicate request_size=57 [10:50:28]MH_SAM_APDU [10:50:28]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3B 82 00 00 35 04 06 00 22 D9 33 FB C4 A0 [10:50:28]Write to MH i2c: E2 3C 00 E5 02 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3B 82 00 00 35 04 06 00 22 D9 33 FB C4 A0 00 00 5A [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 E5 02 00 90 00 5B [10:50:28]RAPDU: 90 00 [10:50:28]wFMCommunicate OK [10:50:28]wFMCommunicate request_size=4 [10:50:28]MH_SAM_APDU [10:50:28]CAPDU: 80 0D 03 02 [10:50:28]Write to MH i2c: E2 08 00 E6 02 80 0D 03 02 00 00 00 00 63 [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 0B 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 0B 00 E6 02 00 1E 3A E5 57 97 51 5E EF 90 00 2D [10:50:28]RAPDU: 1E 3A E5 57 97 51 5E EF 90 00 [10:50:28]wFMCommunicate OK [10:50:28]SAM_PROTO_SignData done [10:50:28]FM_MakeSignedData done [10:50:28]CreateOFDProtocolMessage [10:50:28]wFMCommunicate request_size=4 [10:50:28]MH_SAM_APDU [10:50:28]CAPDU: 80 11 00 00 [10:50:28]Write to MH i2c: E2 08 00 E7 02 80 11 00 00 00 00 00 00 63 [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 17 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 17 00 E7 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AF [10:50:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:50:28]wFMCommunicate OK [10:50:28]CreateOFDProtocolMessage done [10:50:28]OFDSenderStorePacket 33339 [10:50:28]StoreOFDPacket docnum=33339 [10:50:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3E 01 00 00 69 3E 36 01 67 78 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 37 37 32 34 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 2C D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 73 0A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3B 82 00 00 35 04 06 00 22 D9 33 FB C4 A0 1E 3A E5 57 97 51 5E EF [10:50:28]CheckFolder [10:50:28]dirname=/storage/ofd_packets [10:50:28]CheckFolder done [10:50:28]ProducePacketName [10:50:28]name=ofd_packets/00033339 [10:50:28]NVStorageSaveData ofd_packets/00033339 [10:50:28]File name is /storage/ofd_packets/00033339 [10:50:28]Write 348 bytes [10:50:28]NVStorageSaveData done [10:50:28]OFDSenderStorePacket done [10:50:28]KKMCreateOFDPacket done [10:50:28]NVStorageSaveData kkm_last_timestamp [10:50:28]File name is /storage/kkm_last_timestamp [10:50:28]Write 4 bytes [10:50:28]NVStorageSaveData done [10:50:28]ExternCall_PrintAddStr [10:50:28]wPrintStart [10:50:28]Write to MH i2c: 01 00 00 E8 02 EA [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: 01 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: 01 07 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: 01 07 00 E8 02 00 00 00 00 00 FF 0F FF [10:50:28]RasterBufferAndPrint [10:50:28]line Счет N : (3)169157 [10:50:28]line ИНН: 02508201610067 [10:50:28]line Контрольно-Кассовый Чек [10:50:28]line ПРОДАЖА [10:50:28]line Товар: 4600338007724 [10:50:28]line Сок Фруто НЯНЯ яблоко,вишня 0,2л [10:50:28]line 1.000 * 65.00 [10:50:28]line = 65.00 [10:50:28]line НДС 12% НСП 1% [10:50:28]line > о реализуемом товаре [10:50:28]line ИТОГО: 65.00 [10:50:28]line НСП 1% : 0.57 [10:50:28]line НДС 12% : 6.90 [10:50:28]line Наличными: 65.00 [10:50:28]line Безнал.: 0.00 [10:50:28]line Место: АЗС № 77 "Партнер Нефть" [10:50:28]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [10:50:28]line СНО: Общий режим [10:50:28]line Чек 17 12.07.2024 10:50 [10:50:28]line Смена: 433 ФФД: 1.0 [10:50:28]line ЗНМ: 0300000122 [10:50:28]line РНМ: 0000000000093033 [10:50:28]line Версия ККМ: 001 [10:50:28]line ФМ: 0000000000875104 [10:50:28]line ФД: 33339 [10:50:28]line ФПД: 38316275385504 [10:50:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T105027&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33339&fm=38316275385504&tin=02508201610067®Number=0000000000093033&sum=6500 [10:50:28]OFD Sender: Processing packet 33339 [packets to send 6, broken 5] [10:50:28]ProducePacketName [10:50:28]name=ofd_packets/00033339 [10:50:28]OFD Sender: To server: pG, [10:50:28]CommunicateWithHost lk.salyk.kg:30040 [10:50:28]ConnectInit lk.salyk.kg [10:50:28]line 0 [10:50:28]written 0, free lines is 4095 [10:50:28]Connected sock=10 [10:50:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3E 01 00 00 69 3E 36 01 67 78 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 37 37 32 34 06 04 38 00 D0 A1 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 2C D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 73 0A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3B 82 00 00 35 04 06 00 22 D9 33 FB C4 A0 1E 3A E5 57 97 51 5E EF [10:50:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 B6 E9 47 00 AF BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 3B 82 00 00 F4 03 04 00 20 B5 90 66 B6 04 01 00 00 4B A0 CB 48 D3 58 70 0E [10:50:29]CommunicateWithHost err = 0 [10:50:29]CheckOFDResponse [10:50:29]1017 (14) - 77093643461234 [10:50:29]1041 (16) - 0000000000875104 [10:50:29]1040 (4) - 33339 [10:50:29]1012 (4) - 12.07.2024 04:46 [10:50:29]1206 (1) - 0 [10:50:29]OFD Sender: Remove packet 33339 [10:50:29]ProducePacketName [10:50:29]name=ofd_packets/00033339 [10:50:29]NVStorageDeleteData [10:50:29]Write to MH i2c: 01 00 00 11 03 14 [10:50:29]Write i2c OK [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: 01 [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: 01 07 00 [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: 01 07 00 11 03 00 00 00 00 00 F3 0C 1A [10:50:29]RasterBufferAndPrint [10:50:29]line [10:50:29]line [10:50:29]line [10:50:29]line [10:50:29]line [10:50:29]written 0, free lines is 3323 [10:50:29]MH_Cut [10:50:29]Write to MH i2c: D1 01 00 18 03 01 ED [10:50:29]Write i2c OK [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: D1 [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: D1 01 00 [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: D1 01 00 18 03 00 EC [10:50:29]Write to MH i2c: 01 00 00 19 03 1C [10:50:29]Write i2c OK [10:50:29]MH_I2C_Read... [10:50:29]OFD Sender: No OFD packet to send [10:50:29]*** Cut start [10:50:29]*** Partial cut [10:50:29]*** CUTSNS_PIN = 1 [10:50:30]*** CUTSNS_PIN = 0 [10:50:30]*** Brake cut motor [10:50:30]Read from MH i2c: 01 [10:50:30]MH_I2C_Read... [10:50:30]*** Stop cut motor [10:50:30]*** Cut end [10:50:30]Read from MH i2c: 01 07 00 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: 01 07 00 19 03 00 00 00 00 00 FF 0F 31 [10:50:30]process_action close_receipt done [10:50:30]requested_data is exist [10:50:30]produce_requested_data [10:50:30]requested_item fm.sn is exist - process it [10:50:30]wFMCommunicate request_size=4 [10:50:30]MH_SAM_APDU [10:50:30]CAPDU: 80 11 00 00 [10:50:30]Write to MH i2c: E2 08 00 1A 03 80 11 00 00 00 00 00 00 97 [10:50:30]Write i2c OK [10:50:30]MH_I2C_Read... [10:50:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:50:30]Read from MH i2c: E2 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: E2 17 00 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: E2 17 00 1A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E3 [10:50:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [10:50:30]wFMCommunicate OK [10:50:30]requested_item fd.num is exist - process it [10:50:30]SAM_PROTO_GetFieldsCounters [10:50:30]wFMCommunicate request_size=4 [10:50:30]MH_SAM_APDU [10:50:30]CAPDU: 80 13 00 00 [10:50:30]Write to MH i2c: E2 08 00 1B 03 80 13 00 00 00 00 00 00 9A [10:50:30]Write i2c OK [10:50:30]MH_I2C_Read... [10:50:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:50:30]Read from MH i2c: E2 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: E2 62 00 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: E2 62 00 1B 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3B 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [10:50:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3B 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:50:30]wFMCommunicate OK [10:50:30]SAM_PROTO_GetFieldsCounters done [10:50:30]requested_item shift.num is exist - process it [10:50:30]requested_item shift.opened is exist - process it [10:50:30]req_shift_opened [10:50:30]FM_GetShiftState [10:50:30]SAM_PROTO_GetShiftState [10:50:30]wFMCommunicate request_size=4 [10:50:30]MH_SAM_APDU [10:50:30]CAPDU: 80 13 01 00 [10:50:30]Write to MH i2c: E2 08 00 1C 03 80 13 01 00 00 00 00 00 9C [10:50:30]Write i2c OK [10:50:30]MH_I2C_Read... [10:50:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:50:30]Read from MH i2c: E2 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: E2 0E 00 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: E2 0E 00 1C 03 00 09 00 01 17 74 90 66 00 00 00 00 90 00 29 [10:50:30]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [10:50:30]wFMCommunicate OK [10:50:30]SAM_PROTO_GetShiftState done [10:50:30]FM_GetShiftState done [10:50:30]req_shift_opened done [10:50:30]requested_item shift.open_date is exist - process it [10:50:30]req_shift_open_date [10:50:30]req_shift_open_date done [10:50:30]produce_requested_data done [10:50:30]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33339,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [10:50:30]process_action_free close_receipt [10:50:30]json_value_free [10:50:30]json_value_free done [10:50:30]process_json_proto returns [10:50:30]Send response to host [10:50:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33339,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [10:50:30]free response buf [10:50:30]execute_script done [10:50:30]execute_script returns [10:50:30]free content buf [10:50:30]Sock 7.Close socket [10:50:30]Sock 7.Thread stoped [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]OFD Sender: No OFD packet to send [10:59:30]OFD Sender: No OFD packet to send [10:59:35]OFD Sender: No OFD packet to send [10:59:40]OFD Sender: No OFD packet to send [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:05]OFD Sender: No OFD packet to send [11:00:10]OFD Sender: No OFD packet to send [11:00:15]OFD Sender: No OFD packet to send [11:00:20]OFD Sender: No OFD packet to send [11:00:25]OFD Sender: No OFD packet to send [11:00:30]OFD Sender: No OFD packet to send [11:00:35]OFD Sender: No OFD packet to send [11:00:40]OFD Sender: No OFD packet to send [11:00:45]OFD Sender: No OFD packet to send [11:00:50]OFD Sender: No OFD packet to send [11:00:55]OFD Sender: No OFD packet to send [11:01:00]OFD Sender: No OFD packet to send [11:01:05]OFD Sender: No OFD packet to send [11:01:10]OFD Sender: No OFD packet to send [11:01:15]OFD Sender: No OFD packet to send [11:01:20]OFD Sender: No OFD packet to send [11:01:25]OFD Sender: No OFD packet to send [11:01:30]OFD Sender: No OFD packet to send [11:01:35]OFD Sender: No OFD packet to send [11:01:40]OFD Sender: No OFD packet to send [11:01:45]OFD Sender: No OFD packet to send [11:01:50]OFD Sender: No OFD packet to send [11:01:55]OFD Sender: No OFD packet to send [11:02:00]OFD Sender: No OFD packet to send [11:02:05]OFD Sender: No OFD packet to send [11:02:10]OFD Sender: No OFD packet to send [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:19]accept exits with 9 [11:04:19]New connection [11:04:19]New thread 3066604900 created [11:04:19]Thread 3066461540 joined [11:04:19]Waiting for new connection... [11:04:19] Sock 9.Parse request [11:04:19]Sock 9.Check first char [11:04:19]Sock 9.First char is OK [11:04:19]request: POST /json_proto HTTP/1.0 [11:04:19]Method: POST [11:04:19]URL: /json_proto [11:04:19]Method is POST - this is cgi request [11:04:19]url: /json_proto [11:04:19]query_string will be loaded in cgi processing [11:04:19]execute_cgi json_proto POST (null) [11:04:19]execute_cgi path=json_proto method=POST [11:04:19]POST find Content-Length [11:04:19]Host: 172.17.35.196:8080 [11:04:19]Content-Length: 913 [11:04:19]Content-Type: application/json [11:04:19] [11:04:19]POST finish read [11:04:19]Found Content-Length = 913 [11:04:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169158", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 258.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:04:19]execute_script... [11:04: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)169158", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 258.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:04:19]POST & json_proto [11:04:19]process_json_proto [11:04:19]json parsed OK: [11:04:19]protocol is kg_v1.0 [11:04:19]action value=close_receipt [11:04:19]process_action close_receipt [11:04:19]cmd_close_receipt [11:04:19]MH_GetDate [11:04:19]Write to MH i2c: F0 00 00 1D 03 0F [11:04:19]Write i2c OK [11:04:19]MH_I2C_Read... [11:04:19]Read from MH i2c: F0 [11:04:19]MH_I2C_Read... [11:04:19]Read from MH i2c: F0 09 00 [11:04:19]MH_I2C_Read... [11:04:19]Read from MH i2c: F0 09 00 1D 03 00 B4 0D 91 66 AD 14 F4 65 EA [11:04:19]GetLastDocTimeStamp 1720781427 [11:04:19]current date 1720782260 [11:04:19]FM_GetShiftState [11:04:19]SAM_PROTO_GetShiftState [11:04:19]wFMCommunicate request_size=4 [11:04:19]MH_SAM_APDU [11:04:19]CAPDU: 80 13 01 00 [11:04:19]Write to MH i2c: E2 08 00 1E 03 80 13 01 00 00 00 00 00 9E [11:04:19]Write i2c OK [11:04:19]MH_I2C_Read... [11:04:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:04:19]Read from MH i2c: E2 [11:04:19]MH_I2C_Read... [11:04:19]Read from MH i2c: E2 0E 00 [11:04:19]MH_I2C_Read... [11:04:19]Read from MH i2c: E2 0E 00 1E 03 00 09 00 01 17 74 90 66 00 00 00 00 90 00 2B [11:04:19]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [11:04:19]wFMCommunicate OK [11:04:19]SAM_PROTO_GetShiftState done [11:04:19]FM_GetShiftState done [11:04:19]opened in 1720742935 [11:04:19]opened+sec_in_day 1720829335 [11:04:19]quantity*price = 15100 [11:04:19]sum+1 = 15101 [11:04:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 258.00 НСП 1% : 2.29 НДС 12% : 27.39 Наличными: 258.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 18 12.07.2024 11:04 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33340 ФПД: 39899403001660 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T110420&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33340&fm=39899403001660&tin=02508201610067®Number=0000000000093033&sum=25800 0 [11:04:21]StoreToDocumentArchive [11:04:21]shift 433 fd 33340 [11:04:21]save to /storage/0433/doc_00033340 [11:04:21]save last doc name /storage/0433/doc_00033340 to /storage/kkm_last_doc_name [11:04:21]save OK [11:04:21]Clear old archive folders... [11:04:21]ProcessDocumentItem done err = 0, tmpTLVsize=391 [11:04:21]tlvbuf is 00A394B0 [11:04:21]SAM_PROTO_ClearQueue [11:04:21]wFMCommunicate request_size=4 [11:04:21]MH_SAM_APDU [11:04:21]CAPDU: 80 09 00 00 [11:04:21]Write to MH i2c: E2 08 00 2B 03 80 09 00 00 00 00 00 00 A0 [11:04:21]Write i2c OK [11:04:21]MH_I2C_Read... [11:04:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:04:21]Read from MH i2c: E2 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 03 00 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 03 00 2B 03 00 90 00 A2 [11:04:21]RAPDU: 90 00 [11:04:21]wFMCommunicate OK [11:04:21]SAM_PROTO_ClearQueue done [11:04:21]KKMCreateOFDPacket [11:04:21]OFDProtocolAddRootSTLVToBuf [11:04:21]FM_MakeSignedData [11:04:21]FM_MakeSignedData [11:04:21]SAM_PROTO_SignData [11:04:21]wFMCommunicate request_size=4 [11:04:21]MH_SAM_APDU [11:04:21]CAPDU: 80 0D 01 02 [11:04:21]Write to MH i2c: E2 08 00 2C 03 80 0D 01 02 00 00 00 00 A8 [11:04:21]Write i2c OK [11:04:21]MH_I2C_Read... [11:04:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:04:21]Read from MH i2c: E2 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 03 00 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 03 00 2C 03 00 90 00 A3 [11:04:21]RAPDU: 90 00 [11:04:21]wFMCommunicate OK [11:04:21]wFMCommunicate request_size=255 [11:04:21]MH_SAM_APDU [11:04:21]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [11:04:21]Write to MH i2c: E2 02 01 2D 03 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 08 [11:04:21]Write i2c OK [11:04:21]MH_I2C_Read... [11:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:04:21]Read from MH i2c: E2 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 03 00 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 03 00 2D 03 00 90 00 A4 [11:04:21]RAPDU: 90 00 [11:04:21]wFMCommunicate OK [11:04:21]wFMCommunicate request_size=150 [11:04:21]MH_SAM_APDU [11:04:21]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 0A 00 00 00 00 07 04 06 00 C8 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 12 00 00 00 F4 03 04 00 B4 0D 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3C 82 00 00 35 04 06 00 24 49 CD BE 1F 3C [11:04:21]Write to MH i2c: E2 99 00 2E 03 80 0D 02 02 91 00 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 0A 00 00 00 00 07 04 06 00 C8 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 12 00 00 00 F4 03 04 00 B4 0D 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3C 82 00 00 35 04 06 00 24 49 CD BE 1F 3C 00 00 49 [11:04:21]Write i2c OK [11:04:21]MH_I2C_Read... [11:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:04:21]Read from MH i2c: E2 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 03 00 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 03 00 2E 03 00 90 00 A5 [11:04:21]RAPDU: 90 00 [11:04:21]wFMCommunicate OK [11:04:21]wFMCommunicate request_size=4 [11:04:21]MH_SAM_APDU [11:04:21]CAPDU: 80 0D 03 02 [11:04:21]Write to MH i2c: E2 08 00 2F 03 80 0D 03 02 00 00 00 00 AD [11:04:21]Write i2c OK [11:04:21]MH_I2C_Read... [11:04:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:04:21]Read from MH i2c: E2 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 0B 00 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 0B 00 2F 03 00 6E F3 6D CB 21 2F CB 60 90 00 C2 [11:04:21]RAPDU: 6E F3 6D CB 21 2F CB 60 90 00 [11:04:21]wFMCommunicate OK [11:04:21]SAM_PROTO_SignData done [11:04:21]FM_MakeSignedData done [11:04:21]CreateOFDProtocolMessage [11:04:21]wFMCommunicate request_size=4 [11:04:21]MH_SAM_APDU [11:04:21]CAPDU: 80 11 00 00 [11:04:21]Write to MH i2c: E2 08 00 30 03 80 11 00 00 00 00 00 00 AD [11:04:21]Write i2c OK [11:04:21]MH_I2C_Read... [11:04:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:04:21]Read from MH i2c: E2 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 17 00 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: E2 17 00 30 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F9 [11:04:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:04:21]wFMCommunicate OK [11:04:21]CreateOFDProtocolMessage done [11:04:21]OFDSenderStorePacket 33340 [11:04:21]StoreOFDPacket docnum=33340 [11:04:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 9B 01 00 00 47 F7 93 01 73 3D 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 0A 00 00 00 00 07 04 06 00 C8 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 12 00 00 00 F4 03 04 00 B4 0D 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3C 82 00 00 35 04 06 00 24 49 CD BE 1F 3C 6E F3 6D CB 21 2F CB 60 [11:04:21]CheckFolder [11:04:21]dirname=/storage/ofd_packets [11:04:21]CheckFolder done [11:04:21]ProducePacketName [11:04:21]name=ofd_packets/00033340 [11:04:21]NVStorageSaveData ofd_packets/00033340 [11:04:21]File name is /storage/ofd_packets/00033340 [11:04:21]Write 441 bytes [11:04:21]NVStorageSaveData done [11:04:21]OFDSenderStorePacket done [11:04:21]KKMCreateOFDPacket done [11:04:21]NVStorageSaveData kkm_last_timestamp [11:04:21]File name is /storage/kkm_last_timestamp [11:04:21]Write 4 bytes [11:04:21]NVStorageSaveData done [11:04:21]ExternCall_PrintAddStr [11:04:21]wPrintStart [11:04:21]Write to MH i2c: 01 00 00 31 03 34 [11:04:21]Write i2c OK [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: 01 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: 01 07 00 [11:04:21]MH_I2C_Read... [11:04:21]Read from MH i2c: 01 07 00 31 03 00 00 00 00 00 FF 0F 49 [11:04:21]RasterBufferAndPrint [11:04:22]line Счет N : (3)169158 [11:04:22]line ИНН: 02508201610067 [11:04:22]line Контрольно-Кассовый Чек [11:04:22]line ПРОДАЖА [11:04:22]line Товар: 48741958 [11:04:22]line Сигареты Parliament Aqua Blue [11:04:22]line 1.000 * 151.00 [11:04:22]line = 151.00 [11:04:22]line НДС 12% НСП 1% [11:04:22]line > о реализуемом товаре [11:04:22]line Товар: 5449000189332 [11:04:22]line Холодный чай Fuse персик 1л [11:04:22]line 1.000 * 107.00 [11:04:22]line = 107.00 [11:04:22]line НДС 12% НСП 1% [11:04:22]line > о реализуемом товаре [11:04:22]line ИТОГО: 258.00 [11:04:22]line НСП 1% : 2.29 [11:04:22]line НДС 12% : 27.39 [11:04:22]line Наличными: 258.00 [11:04:22]line Безнал.: 0.00 [11:04:22]line Место: АЗС № 77 "Партнер Нефть" [11:04:22]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:04:22]line СНО: Общий режим [11:04:22]line Чек 18 12.07.2024 11:04 [11:04:22]line Смена: 433 ФФД: 1.0 [11:04:22]line ЗНМ: 0300000122 [11:04:22]line РНМ: 0000000000093033 [11:04:22]line Версия ККМ: 001 [11:04:22]line ФМ: 0000000000875104 [11:04:22]line ФД: 33340 [11:04:22]line ФПД: 39899403001660 [11:04:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T110420&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33340&fm=39899403001660&tin=02508201610067®Number=0000000000093033&sum=25800 [11:04:22]line 0 [11:04:22]OFD Sender: Processing packet 33340 [packets to send 6, broken 5] [11:04:22]ProducePacketName [11:04:22]name=ofd_packets/00033340 [11:04:22]OFD Sender: To server: pG, [11:04:22]CommunicateWithHost lk.salyk.kg:30040 [11:04:22]ConnectInit lk.salyk.kg [11:04:22]written 0, free lines is 4095 [11:04:22]Connected sock=10 [11:04:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 9B 01 00 00 47 F7 93 01 73 3D 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 0A 00 00 00 00 07 04 06 00 C8 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 12 00 00 00 F4 03 04 00 B4 0D 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3C 82 00 00 35 04 06 00 24 49 CD BE 1F 3C 6E F3 6D CB 21 2F CB 60 [11:04:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A9 C5 47 00 1D B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3C 82 00 00 F4 03 04 00 62 B8 90 66 B6 04 01 00 00 AC 2F 5C 92 AA 07 0C DE [11:04:22]CommunicateWithHost err = 0 [11:04:22]CheckOFDResponse [11:04:22]1017 (14) - 77093643461234 [11:04:22]1041 (16) - 0000000000875104 [11:04:22]1040 (4) - 33340 [11:04:22]1012 (4) - 12.07.2024 05:00 [11:04:22]1206 (1) - 0 [11:04:22]OFD Sender: Remove packet 33340 [11:04:22]ProducePacketName [11:04:22]name=ofd_packets/00033340 [11:04:22]NVStorageDeleteData [11:04:22]Write to MH i2c: 01 00 00 60 03 63 [11:04:22]Write i2c OK [11:04:22]MH_I2C_Read... [11:04:22]Read from MH i2c: 01 [11:04:22]MH_I2C_Read... [11:04:22]Read from MH i2c: 01 07 00 [11:04:22]MH_I2C_Read... [11:04:22]Read from MH i2c: 01 07 00 60 03 00 00 00 00 00 70 0C E6 [11:04:22]RasterBufferAndPrint [11:04:22]line [11:04:22]line [11:04:22]line [11:04:22]line [11:04:22]line [11:04:22]written 0, free lines is 3193 [11:04:22]MH_Cut [11:04:22]Write to MH i2c: D1 01 00 67 03 01 3C [11:04:22]Write i2c OK [11:04:22]MH_I2C_Read... [11:04:22]Read from MH i2c: D1 [11:04:22]MH_I2C_Read... [11:04:22]Read from MH i2c: D1 01 00 [11:04:22]MH_I2C_Read... [11:04:22]Read from MH i2c: D1 01 00 67 03 00 3B [11:04:22]Write to MH i2c: 01 00 00 68 03 6B [11:04:22]Write i2c OK [11:04:22]MH_I2C_Read... [11:04:22]OFD Sender: No OFD packet to send [11:04:23]*** Cut start [11:04:23]*** Partial cut [11:04:23]*** CUTSNS_PIN = 1 [11:04:23]*** CUTSNS_PIN = 0 [11:04:23]*** Brake cut motor [11:04:24]Read from MH i2c: 01 [11:04:24]MH_I2C_Read... [11:04:24]*** Stop cut motor [11:04:24]*** Cut end [11:04:24]Read from MH i2c: 01 07 00 [11:04:24]MH_I2C_Read... [11:04:24]Read from MH i2c: 01 07 00 68 03 00 00 00 00 00 FF 0F 80 [11:04:24]process_action close_receipt done [11:04:24]requested_data is exist [11:04:24]produce_requested_data [11:04:24]requested_item fm.sn is exist - process it [11:04:24]wFMCommunicate request_size=4 [11:04:24]MH_SAM_APDU [11:04:24]CAPDU: 80 11 00 00 [11:04:24]Write to MH i2c: E2 08 00 69 03 80 11 00 00 00 00 00 00 E6 [11:04:24]Write i2c OK [11:04:24]MH_I2C_Read... [11:04:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:04:24]Read from MH i2c: E2 [11:04:24]MH_I2C_Read... [11:04:24]Read from MH i2c: E2 17 00 [11:04:24]MH_I2C_Read... [11:04:24]Read from MH i2c: E2 17 00 69 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 32 [11:04:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:04:24]wFMCommunicate OK [11:04:24]requested_item fd.num is exist - process it [11:04:24]SAM_PROTO_GetFieldsCounters [11:04:24]wFMCommunicate request_size=4 [11:04:24]MH_SAM_APDU [11:04:24]CAPDU: 80 13 00 00 [11:04:24]Write to MH i2c: E2 08 00 6A 03 80 13 00 00 00 00 00 00 E9 [11:04:24]Write i2c OK [11:04:24]MH_I2C_Read... [11:04:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:04:24]Read from MH i2c: E2 [11:04:24]MH_I2C_Read... [11:04:24]Read from MH i2c: E2 62 00 [11:04:24]MH_I2C_Read... [11:04:24]Read from MH i2c: E2 62 00 6A 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [11:04:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:04:24]wFMCommunicate OK [11:04:24]SAM_PROTO_GetFieldsCounters done [11:04:24]requested_item shift.num is exist - process it [11:04:24]requested_item shift.opened is exist - process it [11:04:24]req_shift_opened [11:04:24]FM_GetShiftState [11:04:24]SAM_PROTO_GetShiftState [11:04:24]wFMCommunicate request_size=4 [11:04:24]MH_SAM_APDU [11:04:24]CAPDU: 80 13 01 00 [11:04:24]Write to MH i2c: E2 08 00 6B 03 80 13 01 00 00 00 00 00 EB [11:04:24]Write i2c OK [11:04:24]MH_I2C_Read... [11:04:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:04:24]Read from MH i2c: E2 [11:04:24]MH_I2C_Read... [11:04:24]Read from MH i2c: E2 0E 00 [11:04:24]MH_I2C_Read... [11:04:24]Read from MH i2c: E2 0E 00 6B 03 00 09 00 01 17 74 90 66 00 00 00 00 90 00 78 [11:04:24]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [11:04:24]wFMCommunicate OK [11:04:24]SAM_PROTO_GetShiftState done [11:04:24]FM_GetShiftState done [11:04:24]req_shift_opened done [11:04:24]requested_item shift.open_date is exist - process it [11:04:24]req_shift_open_date [11:04:24]req_shift_open_date done [11:04:24]produce_requested_data done [11:04:24]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33340,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [11:04:24]process_action_free close_receipt [11:04:24]json_value_free [11:04:24]json_value_free done [11:04:24]process_json_proto returns [11:04:24]Send response to host [11:04:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33340,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [11:04:24]free response buf [11:04:24]execute_script done [11:04:24]execute_script returns [11:04:24]free content buf [11:04:24]Sock 9.Close socket [11:04:24]Sock 9.Thread stoped [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:22]OFD Sender: No OFD packet to send [11:05:27]OFD Sender: No OFD packet to send [11:05:32]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:04]accept exits with 7 [11:06:04]New connection [11:06:04]New thread 3066461540 created [11:06:04]Thread 3066604900 joined [11:06:04]Waiting for new connection... [11:06:04] Sock 7.Parse request [11:06:04]Sock 7.Check first char [11:06:04]Sock 7.First char is OK [11:06:04]request: POST /json_proto HTTP/1.0 [11:06:04]Method: POST [11:06:04]URL: /json_proto [11:06:04]Method is POST - this is cgi request [11:06:04]url: /json_proto [11:06:04]query_string will be loaded in cgi processing [11:06:04]execute_cgi json_proto POST (null) [11:06:04]execute_cgi path=json_proto method=POST [11:06:04]POST find Content-Length [11:06:04]Host: 172.17.35.196:8080 [11:06:04]Content-Length: 1432 [11:06:04]Content-Type: application/json [11:06:04] [11:06:04]POST finish read [11:06:04]Found Content-Length = 1432 [11:06:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169159", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:06:04]execute_script... [11:06: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)169159", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:06:04]POST & json_proto [11:06:04]process_json_proto [11:06:04]json parsed OK: [11:06:04]protocol is kg_v1.0 [11:06:04]action value=close_receipt [11:06:04]process_action close_receipt [11:06:04]cmd_close_receipt [11:06:04]MH_GetDate [11:06:04]Write to MH i2c: F0 00 00 6C 03 5E [11:06:04]Write i2c OK [11:06:04]MH_I2C_Read... [11:06:04]Read from MH i2c: F0 [11:06:04]MH_I2C_Read... [11:06:04]Read from MH i2c: F0 09 00 [11:06:04]MH_I2C_Read... [11:06:04]Read from MH i2c: F0 09 00 6C 03 00 1C 0E 91 66 AD 14 F4 65 A2 [11:06:04]GetLastDocTimeStamp 1720782260 [11:06:04]current date 1720782364 [11:06:04]FM_GetShiftState [11:06:04]SAM_PROTO_GetShiftState [11:06:04]wFMCommunicate request_size=4 [11:06:04]MH_SAM_APDU [11:06:04]CAPDU: 80 13 01 00 [11:06:04]Write to MH i2c: E2 08 00 6D 03 80 13 01 00 00 00 00 00 ED [11:06:04]Write i2c OK [11:06:04]MH_I2C_Read... [11:06:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:06:04]Read from MH i2c: E2 [11:06:04]MH_I2C_Read... [11:06:04]Read from MH i2c: E2 0E 00 [11:06:04]MH_I2C_Read... [11:06:04]Read from MH i2c: E2 0E 00 6D 03 00 09 00 01 17 74 90 66 00 00 00 00 90 00 7A [11:06:04]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [11:06:04]wFMCommunicate OK [11:06:04]SAM_PROTO_GetShiftState done [11:06:04]FM_GetShiftState done [11:06:04]opened in 1720742935 [11:06:04]opened+sec_in_day 1720829335 [11:06:04]quantity*price = 12500 [11:06:04]sum+1 = 12501 [11:06:04]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000005489 Вода Бонаква 1л б/г 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4631162227163 Напиток газированный Mojito LEMON LIME ж 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 0.00 Безнал.: 270.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 19 12.07.2024 11:06 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33341 ФПД: 153860957665526 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T110605&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33341&fm=153860957665526&tin=02508201610067®Number=0000000000093033&sum=27000 0 [11:06:05]StoreToDocumentArchive [11:06:05]shift 433 fd 33341 [11:06:05]save to /storage/0433/doc_00033341 [11:06:05]save last doc name /storage/0433/doc_00033341 to /storage/kkm_last_doc_name [11:06:05]save OK [11:06:05]Clear old archive folders... [11:06:05]ProcessDocumentItem done err = 0, tmpTLVsize=515 [11:06:05]tlvbuf is 00A527C0 [11:06:05]SAM_PROTO_ClearQueue [11:06:05]wFMCommunicate request_size=4 [11:06:05]MH_SAM_APDU [11:06:05]CAPDU: 80 09 00 00 [11:06:05]Write to MH i2c: E2 08 00 7A 03 80 09 00 00 00 00 00 00 EF [11:06:05]Write i2c OK [11:06:05]MH_I2C_Read... [11:06:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:06:05]Read from MH i2c: E2 [11:06:05]MH_I2C_Read... [11:06:05]Read from MH i2c: E2 03 00 [11:06:05]MH_I2C_Read... [11:06:05]Read from MH i2c: E2 03 00 7A 03 00 90 00 F1 [11:06:05]RAPDU: 90 00 [11:06:05]wFMCommunicate OK [11:06:05]SAM_PROTO_ClearQueue done [11:06:05]KKMCreateOFDPacket [11:06:05]OFDProtocolAddRootSTLVToBuf [11:06:05]FM_MakeSignedData [11:06:05]FM_MakeSignedData [11:06:05]SAM_PROTO_SignData [11:06:05]wFMCommunicate request_size=4 [11:06:05]MH_SAM_APDU [11:06:05]CAPDU: 80 0D 01 02 [11:06:05]Write to MH i2c: E2 08 00 7B 03 80 0D 01 02 00 00 00 00 F7 [11:06:05]Write i2c OK [11:06:05]MH_I2C_Read... [11:06:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:06:05]Read from MH i2c: E2 [11:06:05]MH_I2C_Read... [11:06:05]Read from MH i2c: E2 03 00 [11:06:05]MH_I2C_Read... [11:06:05]Read from MH i2c: E2 03 00 7B 03 00 90 00 F2 [11:06:05]RAPDU: 90 00 [11:06:05]wFMCommunicate OK [11:06:05]wFMCommunicate request_size=255 [11:06:05]MH_SAM_APDU [11:06:05]CAPDU: 80 0D 02 02 FA 03 00 03 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 [11:06:05]Write to MH i2c: E2 02 01 7C 03 80 0D 02 02 FA 00 03 00 03 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 00 00 19 [11:06:05]Write i2c OK [11:06:05]MH_I2C_Read... [11:06:05]Read from MH i2c: E2 [11:06:05]MH_I2C_Read... [11:06:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:06:06]Read from MH i2c: E2 03 00 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 03 00 7C 03 00 90 00 F3 [11:06:06]RAPDU: 90 00 [11:06:06]wFMCommunicate OK [11:06:06]wFMCommunicate request_size=255 [11:06:06]MH_SAM_APDU [11:06:06]CAPDU: 80 0D 02 02 FA B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 1D 0E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 [11:06:06]Write to MH i2c: E2 02 01 7D 03 80 0D 02 02 FA 00 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 1D 0E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 00 00 58 [11:06:06]Write i2c OK [11:06:06]MH_I2C_Read... [11:06:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:06:06]Read from MH i2c: E2 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 03 00 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 03 00 7D 03 00 90 00 F4 [11:06:06]RAPDU: 90 00 [11:06:06]wFMCommunicate OK [11:06:06]wFMCommunicate request_size=24 [11:06:06]MH_SAM_APDU [11:06:06]CAPDU: 80 0D 02 02 13 34 10 04 04 00 3D 82 00 00 35 04 06 00 8B EF 8B B9 F8 F6 [11:06:06]Write to MH i2c: E2 1B 00 7E 03 80 0D 02 02 13 00 34 10 04 04 00 3D 82 00 00 35 04 06 00 8B EF 8B B9 F8 F6 00 00 17 [11:06:06]Write i2c OK [11:06:06]MH_I2C_Read... [11:06:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:06:06]Read from MH i2c: E2 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 03 00 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 03 00 7E 03 00 90 00 F5 [11:06:06]RAPDU: 90 00 [11:06:06]wFMCommunicate OK [11:06:06]wFMCommunicate request_size=4 [11:06:06]MH_SAM_APDU [11:06:06]CAPDU: 80 0D 03 02 [11:06:06]Write to MH i2c: E2 08 00 7F 03 80 0D 03 02 00 00 00 00 FD [11:06:06]Write i2c OK [11:06:06]MH_I2C_Read... [11:06:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:06:06]Read from MH i2c: E2 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 0B 00 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 0B 00 7F 03 00 90 53 DA D2 9D 94 56 1F 90 00 33 [11:06:06]RAPDU: 90 53 DA D2 9D 94 56 1F 90 00 [11:06:06]wFMCommunicate OK [11:06:06]SAM_PROTO_SignData done [11:06:06]FM_MakeSignedData done [11:06:06]CreateOFDProtocolMessage [11:06:06]wFMCommunicate request_size=4 [11:06:06]MH_SAM_APDU [11:06:06]CAPDU: 80 11 00 00 [11:06:06]Write to MH i2c: E2 08 00 80 03 80 11 00 00 00 00 00 00 FD [11:06:06]Write i2c OK [11:06:06]MH_I2C_Read... [11:06:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:06]Read from MH i2c: E2 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 17 00 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: E2 17 00 80 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 49 [11:06:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:06:06]wFMCommunicate OK [11:06:06]CreateOFDProtocolMessage done [11:06:06]OFDSenderStorePacket 33341 [11:06:06]StoreOFDPacket docnum=33341 [11:06:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 17 02 00 00 14 42 0F 02 82 7D 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 1D 0E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3D 82 00 00 35 04 06 00 8B EF 8B B9 F8 F6 90 53 DA D2 9D 94 56 1F [11:06:06]CheckFolder [11:06:06]dirname=/storage/ofd_packets [11:06:06]CheckFolder done [11:06:06]ProducePacketName [11:06:06]name=ofd_packets/00033341 [11:06:06]NVStorageSaveData ofd_packets/00033341 [11:06:06]File name is /storage/ofd_packets/00033341 [11:06:06]Write 565 bytes [11:06:06]NVStorageSaveData done [11:06:06]OFDSenderStorePacket done [11:06:06]KKMCreateOFDPacket done [11:06:06]NVStorageSaveData kkm_last_timestamp [11:06:06]File name is /storage/kkm_last_timestamp [11:06:06]Write 4 bytes [11:06:06]NVStorageSaveData done [11:06:06]ExternCall_PrintAddStr [11:06:06]wPrintStart [11:06:06]Write to MH i2c: 01 00 00 81 03 84 [11:06:06]Write i2c OK [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: 01 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: 01 07 00 [11:06:06]MH_I2C_Read... [11:06:06]Read from MH i2c: 01 07 00 81 03 00 00 00 00 00 FF 0F 99 [11:06:06]RasterBufferAndPrint [11:06:06]line Счет N : (3)169159 [11:06:06]line ИНН: 02508201610067 [11:06:06]line Контрольно-Кассовый Чек [11:06:06]line ПРОДАЖА [11:06:06]line Товар: 5449000054227 [11:06:06]line Напиток Кока-Кола 1л [11:06:06]line 1.000 * 125.00 [11:06:06]line = 125.00 [11:06:06]line НДС 12% НСП 1% [11:06:06]line > о реализуемом товаре [11:06:06]line Товар: 5449000005489 [11:06:06]line Вода Бонаква 1л б/г [11:06:06]line 1.000 * 50.00 [11:06:06]line = 50.00 [11:06:06]line НДС 12% НСП 1% [11:06:06]line > о реализуемом товаре [11:06:06]line Товар: 4631162227163 [11:06:06]line Напиток газированный Mojito LEMON LIME ж [11:06:06]line 1.000 * 95.00 [11:06:06]line = 95.00 [11:06:06]line НДС 12% НСП 1% [11:06:06]line > о реализуемом товаре [11:06:06]line ИТОГО: 270.00 [11:06:06]line НСП 1% : 2.39 [11:06:06]line НДС 12% : 28.67 [11:06:06]line Наличными: 0.00 [11:06:06]line Безнал.: 270.00 [11:06:06]line Место: АЗС № 77 "Партнер Нефть" [11:06:06]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:06:06]line СНО: Общий режим [11:06:06]line Чек 19 12.07.2024 11:06 [11:06:06]line Смена: 433 ФФД: 1.0 [11:06:06]line ЗНМ: 0300000122 [11:06:06]line РНМ: 0000000000093033 [11:06:06]line Версия ККМ: 001 [11:06:06]line Платежная система: АКБ Кыргызстан [11:06:06]line ФМ: 0000000000875104 [11:06:06]line ФД: 33341 [11:06:06]line ФПД: 153860957665526 [11:06:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T110605&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33341&fm=153860957665526&tin=02508201610067®Number=0000000000093033&sum=27000 [11:06:06]line 0 [11:06:06]OFD Sender: Processing packet 33341 [packets to send 6, broken 5] [11:06:06]ProducePacketName [11:06:06]name=ofd_packets/00033341 [11:06:06]OFD Sender: To server: pG, [11:06:06]CommunicateWithHost lk.salyk.kg:30040 [11:06:06]ConnectInit lk.salyk.kg [11:06:06]written 0, free lines is 4095 [11:06:06]Connected sock=10 [11:06:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 17 02 00 00 14 42 0F 02 82 7D 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 1D 0E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3D 82 00 00 35 04 06 00 8B EF 8B B9 F8 F6 90 53 DA D2 9D 94 56 1F [11:06:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 B9 62 47 00 7F 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 3D 82 00 00 F4 03 04 00 CA B8 90 66 B6 04 01 00 00 5A 0B AD A2 91 A1 63 8D [11:06:07]CommunicateWithHost err = 0 [11:06:07]CheckOFDResponse [11:06:07]1017 (14) - 77093643461234 [11:06:07]1041 (16) - 0000000000875104 [11:06:07]1040 (4) - 33341 [11:06:07]1012 (4) - 12.07.2024 05:02 [11:06:07]1206 (1) - 0 [11:06:07]OFD Sender: Remove packet 33341 [11:06:07]ProducePacketName [11:06:07]name=ofd_packets/00033341 [11:06:07]NVStorageDeleteData [11:06:07]Write to MH i2c: 01 00 00 B8 03 BB [11:06:07]Write i2c OK [11:06:07]MH_I2C_Read... [11:06:07]Read from MH i2c: 01 [11:06:07]MH_I2C_Read... [11:06:07]Read from MH i2c: 01 07 00 [11:06:07]MH_I2C_Read... [11:06:07]Read from MH i2c: 01 07 00 B8 03 00 00 00 00 00 35 0C 03 [11:06:07]RasterBufferAndPrint [11:06:07]line [11:06:07]line [11:06:07]line [11:06:07]line [11:06:07]line [11:06:07]written 0, free lines is 3134 [11:06:07]MH_Cut [11:06:07]Write to MH i2c: D1 01 00 BF 03 01 94 [11:06:07]Write i2c OK [11:06:07]MH_I2C_Read... [11:06:07]Read from MH i2c: D1 [11:06:07]MH_I2C_Read... [11:06:07]Read from MH i2c: D1 01 00 [11:06:07]MH_I2C_Read... [11:06:07]Read from MH i2c: D1 01 00 BF 03 00 93 [11:06:07]Write to MH i2c: 01 00 00 C0 03 C3 [11:06:07]Write i2c OK [11:06:07]MH_I2C_Read... [11:06:07]OFD Sender: No OFD packet to send [11:06:08]*** Cut start [11:06:08]*** Partial cut [11:06:08]*** CUTSNS_PIN = 1 [11:06:08]*** CUTSNS_PIN = 0 [11:06:08]*** Brake cut motor [11:06:08]Read from MH i2c: 01 [11:06:08]MH_I2C_Read... [11:06:08]*** Stop cut motor [11:06:08]*** Cut end [11:06:08]Read from MH i2c: 01 07 00 [11:06:08]MH_I2C_Read... [11:06:08]Read from MH i2c: 01 07 00 C0 03 00 00 00 00 00 FF 0F D8 [11:06:08]process_action close_receipt done [11:06:08]requested_data is exist [11:06:08]produce_requested_data [11:06:08]requested_item fm.sn is exist - process it [11:06:08]wFMCommunicate request_size=4 [11:06:08]MH_SAM_APDU [11:06:08]CAPDU: 80 11 00 00 [11:06:08]Write to MH i2c: E2 08 00 C1 03 80 11 00 00 00 00 00 00 3E [11:06:08]Write i2c OK [11:06:08]MH_I2C_Read... [11:06:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:08]Read from MH i2c: E2 [11:06:08]MH_I2C_Read... [11:06:08]Read from MH i2c: E2 17 00 [11:06:08]MH_I2C_Read... [11:06:08]Read from MH i2c: E2 17 00 C1 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8A [11:06:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:06:08]wFMCommunicate OK [11:06:08]requested_item fd.num is exist - process it [11:06:08]SAM_PROTO_GetFieldsCounters [11:06:08]wFMCommunicate request_size=4 [11:06:08]MH_SAM_APDU [11:06:08]CAPDU: 80 13 00 00 [11:06:08]Write to MH i2c: E2 08 00 C2 03 80 13 00 00 00 00 00 00 41 [11:06:08]Write i2c OK [11:06:08]MH_I2C_Read... [11:06:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:06:09]Read from MH i2c: E2 [11:06:09]MH_I2C_Read... [11:06:09]Read from MH i2c: E2 62 00 [11:06:09]MH_I2C_Read... [11:06:09]Read from MH i2c: E2 62 00 C2 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [11:06:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:06:09]wFMCommunicate OK [11:06:09]SAM_PROTO_GetFieldsCounters done [11:06:09]requested_item shift.num is exist - process it [11:06:09]requested_item shift.opened is exist - process it [11:06:09]req_shift_opened [11:06:09]FM_GetShiftState [11:06:09]SAM_PROTO_GetShiftState [11:06:09]wFMCommunicate request_size=4 [11:06:09]MH_SAM_APDU [11:06:09]CAPDU: 80 13 01 00 [11:06:09]Write to MH i2c: E2 08 00 C3 03 80 13 01 00 00 00 00 00 43 [11:06:09]Write i2c OK [11:06:09]MH_I2C_Read... [11:06:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:06:09]Read from MH i2c: E2 [11:06:09]MH_I2C_Read... [11:06:09]Read from MH i2c: E2 0E 00 [11:06:09]MH_I2C_Read... [11:06:09]Read from MH i2c: E2 0E 00 C3 03 00 09 00 01 17 74 90 66 00 00 00 00 90 00 D0 [11:06:09]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [11:06:09]wFMCommunicate OK [11:06:09]SAM_PROTO_GetShiftState done [11:06:09]FM_GetShiftState done [11:06:09]req_shift_opened done [11:06:09]requested_item shift.open_date is exist - process it [11:06:09]req_shift_open_date [11:06:09]req_shift_open_date done [11:06:09]produce_requested_data done [11:06:09]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33341,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [11:06:09]process_action_free close_receipt [11:06:09]json_value_free [11:06:09]json_value_free done [11:06:09]process_json_proto returns [11:06:09]Send response to host [11:06:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33341,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [11:06:09]free response buf [11:06:09]execute_script done [11:06:09]execute_script returns [11:06:09]free content buf [11:06:09]Sock 7.Close socket [11:06:09]Sock 7.Thread stoped [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:37]OFD Sender: No OFD packet to send [11:06:42]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:37]OFD Sender: No OFD packet to send [11:10:42]OFD Sender: No OFD packet to send [11:10:47]OFD Sender: No OFD packet to send [11:10:52]OFD Sender: No OFD packet to send [11:10:57]OFD Sender: No OFD packet to send [11:11:02]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:12]OFD Sender: No OFD packet to send [11:13:17]OFD Sender: No OFD packet to send [11:13:22]OFD Sender: No OFD packet to send [11:13:27]OFD Sender: No OFD packet to send [11:13:32]OFD Sender: No OFD packet to send [11:13:37]OFD Sender: No OFD packet to send [11:13:42]OFD Sender: No OFD packet to send [11:13:47]OFD Sender: No OFD packet to send [11:13:52]OFD Sender: No OFD packet to send [11:13:57]OFD Sender: No OFD packet to send [11:14:02]OFD Sender: No OFD packet to send [11:14:07]OFD Sender: No OFD packet to send [11:14:12]OFD Sender: No OFD packet to send [11:14:17]OFD Sender: No OFD packet to send [11:14:22]OFD Sender: No OFD packet to send [11:14:27]OFD Sender: No OFD packet to send [11:14:32]OFD Sender: No OFD packet to send [11:14:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:03]OFD Sender: No OFD packet to send [11:15:08]OFD Sender: No OFD packet to send [11:15:13]OFD Sender: No OFD packet to send [11:15:18]OFD Sender: No OFD packet to send [11:15:23]OFD Sender: No OFD packet to send [11:15:28]OFD Sender: No OFD packet to send [11:15:33]OFD Sender: No OFD packet to send [11:15:38]OFD Sender: No OFD packet to send [11:15:43]OFD Sender: No OFD packet to send [11:15:48]OFD Sender: No OFD packet to send [11:15:53]OFD Sender: No OFD packet to send [11:15:58]OFD Sender: No OFD packet to send [11:16:03]OFD Sender: No OFD packet to send [11:16:08]OFD Sender: No OFD packet to send [11:16:13]OFD Sender: No OFD packet to send [11:16:18]OFD Sender: No OFD packet to send [11:16:23]OFD Sender: No OFD packet to send [11:16:28]OFD Sender: No OFD packet to send [11:16:33]OFD Sender: No OFD packet to send [11:16:38]OFD Sender: No OFD packet to send [11:16:43]OFD Sender: No OFD packet to send [11:16:48]OFD Sender: No OFD packet to send [11:16:53]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:08]OFD Sender: No OFD packet to send [11:20:13]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:38]OFD Sender: No OFD packet to send [11:20:43]OFD Sender: No OFD packet to send [11:20:48]OFD Sender: No OFD packet to send [11:20:53]OFD Sender: No OFD packet to send [11:20:58]OFD Sender: No OFD packet to send [11:21:03]OFD Sender: No OFD packet to send [11:21:08]OFD Sender: No OFD packet to send [11:21:13]OFD Sender: No OFD packet to send [11:21:18]OFD Sender: No OFD packet to send [11:21:23]OFD Sender: No OFD packet to send [11:21:23]accept exits with 9 [11:21:23]New connection [11:21:23]New thread 3066604900 created [11:21:23]Thread 3066461540 joined [11:21:23]Waiting for new connection... [11:21:23] Sock 9.Parse request [11:21:23]Sock 9.Check first char [11:21:23]Sock 9.First char is OK [11:21:23]request: POST /json_proto HTTP/1.0 [11:21:23]Method: POST [11:21:23]URL: /json_proto [11:21:23]Method is POST - this is cgi request [11:21:23]url: /json_proto [11:21:23]query_string will be loaded in cgi processing [11:21:23]execute_cgi json_proto POST (null) [11:21:23]execute_cgi path=json_proto method=POST [11:21:23]POST find Content-Length [11:21:23]Host: 172.17.35.196:8080 [11:21:23]Content-Length: 747 [11:21:23]Content-Type: application/json [11:21:23] [11:21:23]POST finish read [11:21:23]Found Content-Length = 747 [11:21:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169160", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:21:23]execute_script... [11:21: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)169160", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:21:23]POST & json_proto [11:21:23]process_json_proto [11:21:23]json parsed OK: [11:21:23]protocol is kg_v1.0 [11:21:23]action value=close_receipt [11:21:23]process_action close_receipt [11:21:23]cmd_close_receipt [11:21:23]MH_GetDate [11:21:23]Write to MH i2c: F0 00 00 C4 03 B6 [11:21:23]Write i2c OK [11:21:23]MH_I2C_Read... [11:21:23]Read from MH i2c: F0 [11:21:23]MH_I2C_Read... [11:21:23]Read from MH i2c: F0 09 00 [11:21:23]MH_I2C_Read... [11:21:23]Read from MH i2c: F0 09 00 C4 03 00 B4 11 91 66 AD 14 F4 65 95 [11:21:23]GetLastDocTimeStamp 1720782365 [11:21:23]current date 1720783284 [11:21:23]FM_GetShiftState [11:21:23]SAM_PROTO_GetShiftState [11:21:23]wFMCommunicate request_size=4 [11:21:23]MH_SAM_APDU [11:21:23]CAPDU: 80 13 01 00 [11:21:23]Write to MH i2c: E2 08 00 C5 03 80 13 01 00 00 00 00 00 45 [11:21:23]Write i2c OK [11:21:23]MH_I2C_Read... [11:21:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:21:23]Read from MH i2c: E2 [11:21:23]MH_I2C_Read... [11:21:23]Read from MH i2c: E2 0E 00 [11:21:23]MH_I2C_Read... [11:21:23]Read from MH i2c: E2 0E 00 C5 03 00 09 00 01 17 74 90 66 00 00 00 00 90 00 D2 [11:21:23]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [11:21:23]wFMCommunicate OK [11:21:23]SAM_PROTO_GetShiftState done [11:21:23]FM_GetShiftState done [11:21:23]opened in 1720742935 [11:21:23]opened+sec_in_day 1720829335 [11:21:23]quantity*price = 59000 [11:21:23]sum+1 = 59001 [11:21:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 590.00 НСП 1% : 5.22 НДС 12% : 62.65 Наличными: 590.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 20 12.07.2024 11:21 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33342 ФПД: 183355131433768 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T112124&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33342&fm=183355131433768&tin=02508201610067®Number=0000000000093033&sum=59000 0 [11:21:24]StoreToDocumentArchive [11:21:24]shift 433 fd 33342 [11:21:24]save to /storage/0433/doc_00033342 [11:21:24]save last doc name /storage/0433/doc_00033342 to /storage/kkm_last_doc_name [11:21:24]save OK [11:21:24]Clear old archive folders... [11:21:24]ProcessDocumentItem done err = 0, tmpTLVsize=307 [11:21:24]tlvbuf is 00A69FE0 [11:21:24]SAM_PROTO_ClearQueue [11:21:24]wFMCommunicate request_size=4 [11:21:24]MH_SAM_APDU [11:21:24]CAPDU: 80 09 00 00 [11:21:24]Write to MH i2c: E2 08 00 D2 03 80 09 00 00 00 00 00 00 47 [11:21:24]Write i2c OK [11:21:24]MH_I2C_Read... [11:21:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:21:24]Read from MH i2c: E2 [11:21:24]MH_I2C_Read... [11:21:24]Read from MH i2c: E2 03 00 [11:21:24]MH_I2C_Read... [11:21:24]Read from MH i2c: E2 03 00 D2 03 00 90 00 49 [11:21:24]RAPDU: 90 00 [11:21:24]wFMCommunicate OK [11:21:24]SAM_PROTO_ClearQueue done [11:21:24]KKMCreateOFDPacket [11:21:24]OFDProtocolAddRootSTLVToBuf [11:21:24]FM_MakeSignedData [11:21:24]FM_MakeSignedData [11:21:24]SAM_PROTO_SignData [11:21:24]wFMCommunicate request_size=4 [11:21:24]MH_SAM_APDU [11:21:24]CAPDU: 80 0D 01 02 [11:21:24]Write to MH i2c: E2 08 00 D3 03 80 0D 01 02 00 00 00 00 4F [11:21:24]Write i2c OK [11:21:24]MH_I2C_Read... [11:21:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:21:24]Read from MH i2c: E2 [11:21:24]MH_I2C_Read... [11:21:24]Read from MH i2c: E2 03 00 [11:21:24]MH_I2C_Read... [11:21:24]Read from MH i2c: E2 03 00 D3 03 00 90 00 4A [11:21:24]RAPDU: 90 00 [11:21:24]wFMCommunicate OK [11:21:24]wFMCommunicate request_size=255 [11:21:24]MH_SAM_APDU [11:21:24]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 B4 11 91 66 0E 04 04 00 B1 01 00 00 B9 04 [11:21:24]Write to MH i2c: E2 02 01 D4 03 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 B4 11 91 66 0E 04 04 00 B1 01 00 00 B9 04 00 00 58 [11:21:24]Write i2c OK [11:21:24]MH_I2C_Read... [11:21:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:21:25]Read from MH i2c: E2 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: E2 03 00 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: E2 03 00 D4 03 00 90 00 4B [11:21:25]RAPDU: 90 00 [11:21:25]wFMCommunicate OK [11:21:25]wFMCommunicate request_size=66 [11:21:25]MH_SAM_APDU [11:21:25]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3E 82 00 00 35 04 06 00 A6 C2 B1 7A 13 28 [11:21:25]Write to MH i2c: E2 45 00 D5 03 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3E 82 00 00 35 04 06 00 A6 C2 B1 7A 13 28 00 00 24 [11:21:25]Write i2c OK [11:21:25]MH_I2C_Read... [11:21:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:21:25]Read from MH i2c: E2 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: E2 03 00 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: E2 03 00 D5 03 00 90 00 4C [11:21:25]RAPDU: 90 00 [11:21:25]wFMCommunicate OK [11:21:25]wFMCommunicate request_size=4 [11:21:25]MH_SAM_APDU [11:21:25]CAPDU: 80 0D 03 02 [11:21:25]Write to MH i2c: E2 08 00 D6 03 80 0D 03 02 00 00 00 00 54 [11:21:25]Write i2c OK [11:21:25]MH_I2C_Read... [11:21:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:21:25]Read from MH i2c: E2 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: E2 0B 00 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: E2 0B 00 D6 03 00 AA 1D CF 8A 74 DD FB FA 90 00 BB [11:21:25]RAPDU: AA 1D CF 8A 74 DD FB FA 90 00 [11:21:25]wFMCommunicate OK [11:21:25]SAM_PROTO_SignData done [11:21:25]FM_MakeSignedData done [11:21:25]CreateOFDProtocolMessage [11:21:25]wFMCommunicate request_size=4 [11:21:25]MH_SAM_APDU [11:21:25]CAPDU: 80 11 00 00 [11:21:25]Write to MH i2c: E2 08 00 D7 03 80 11 00 00 00 00 00 00 54 [11:21:25]Write i2c OK [11:21:25]MH_I2C_Read... [11:21:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:21:25]Read from MH i2c: E2 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: E2 17 00 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: E2 17 00 D7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A0 [11:21:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:21:25]wFMCommunicate OK [11:21:25]CreateOFDProtocolMessage done [11:21:25]OFDSenderStorePacket 33342 [11:21:25]StoreOFDPacket docnum=33342 [11:21:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 47 01 00 00 38 D6 3F 01 81 E9 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 B4 11 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3E 82 00 00 35 04 06 00 A6 C2 B1 7A 13 28 AA 1D CF 8A 74 DD FB FA [11:21:25]CheckFolder [11:21:25]dirname=/storage/ofd_packets [11:21:25]CheckFolder done [11:21:25]ProducePacketName [11:21:25]name=ofd_packets/00033342 [11:21:25]NVStorageSaveData ofd_packets/00033342 [11:21:25]File name is /storage/ofd_packets/00033342 [11:21:25]Write 357 bytes [11:21:25]NVStorageSaveData done [11:21:25]OFDSenderStorePacket done [11:21:25]KKMCreateOFDPacket done [11:21:25]NVStorageSaveData kkm_last_timestamp [11:21:25]File name is /storage/kkm_last_timestamp [11:21:25]Write 4 bytes [11:21:25]NVStorageSaveData done [11:21:25]ExternCall_PrintAddStr [11:21:25]wPrintStart [11:21:25]Write to MH i2c: 01 00 00 D8 03 DB [11:21:25]Write i2c OK [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: 01 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: 01 07 00 [11:21:25]MH_I2C_Read... [11:21:25]Read from MH i2c: 01 07 00 D8 03 00 00 00 00 00 FF 0F F0 [11:21:25]RasterBufferAndPrint [11:21:25]line Счет N : (3)169160 [11:21:25]line ИНН: 02508201610067 [11:21:25]line Контрольно-Кассовый Чек [11:21:25]line ПРОДАЖА [11:21:25]line Товар: 2000029770012 [11:21:25]line Очки солнцезащитные в ассортименте [11:21:25]line 1.000 * 590.00 [11:21:25]line = 590.00 [11:21:25]line НДС 12% НСП 1% [11:21:25]line > о реализуемом товаре [11:21:25]line ИТОГО: 590.00 [11:21:25]line НСП 1% : 5.22 [11:21:25]line НДС 12% : 62.65 [11:21:25]line Наличными: 590.00 [11:21:25]line Безнал.: 0.00 [11:21:25]line Место: АЗС № 77 "Партнер Нефть" [11:21:25]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:21:25]line СНО: Общий режим [11:21:25]line Чек 20 12.07.2024 11:21 [11:21:25]line Смена: 433 ФФД: 1.0 [11:21:25]line ЗНМ: 0300000122 [11:21:25]line РНМ: 0000000000093033 [11:21:25]line Версия ККМ: 001 [11:21:25]line ФМ: 0000000000875104 [11:21:25]line ФД: 33342 [11:21:25]line ФПД: 183355131433768 [11:21:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T112124&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33342&fm=183355131433768&tin=02508201610067®Number=0000000000093033&sum=59000 [11:21:25]line 0 [11:21:25]OFD Sender: Processing packet 33342 [packets to send 6, broken 5] [11:21:25]ProducePacketName [11:21:25]name=ofd_packets/00033342 [11:21:25]OFD Sender: To server: pG, [11:21:25]CommunicateWithHost lk.salyk.kg:30040 [11:21:25]ConnectInit lk.salyk.kg [11:21:25]written 0, free lines is 4095 [11:21:25]Connected sock=10 [11:21:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 47 01 00 00 38 D6 3F 01 81 E9 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 B4 11 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3E 82 00 00 35 04 06 00 A6 C2 B1 7A 13 28 AA 1D CF 8A 74 DD FB FA [11:21:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 3F 56 47 00 3D CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3E 82 00 00 F4 03 04 00 61 BC 90 66 B6 04 01 00 00 F2 68 01 1F B7 60 3B 9E [11:21:26]CommunicateWithHost err = 0 [11:21:26]CheckOFDResponse [11:21:26]1017 (14) - 77093643461234 [11:21:26]1041 (16) - 0000000000875104 [11:21:26]1040 (4) - 33342 [11:21:26]1012 (4) - 12.07.2024 05:17 [11:21:26]1206 (1) - 0 [11:21:26]OFD Sender: Remove packet 33342 [11:21:26]ProducePacketName [11:21:26]name=ofd_packets/00033342 [11:21:26]NVStorageDeleteData [11:21:26]Write to MH i2c: 01 00 00 01 04 05 [11:21:26]Write i2c OK [11:21:26]MH_I2C_Read... [11:21:26]Read from MH i2c: 01 [11:21:26]MH_I2C_Read... [11:21:26]Read from MH i2c: 01 07 00 [11:21:26]MH_I2C_Read... [11:21:26]Read from MH i2c: 01 07 00 01 04 00 00 00 00 00 E8 0C 00 [11:21:26]RasterBufferAndPrint [11:21:26]line [11:21:26]line [11:21:26]line [11:21:26]line [11:21:26]line [11:21:26]written 0, free lines is 3313 [11:21:26]MH_Cut [11:21:26]Write to MH i2c: D1 01 00 08 04 01 DE [11:21:26]Write i2c OK [11:21:26]MH_I2C_Read... [11:21:26]Read from MH i2c: D1 [11:21:26]MH_I2C_Read... [11:21:26]Read from MH i2c: D1 01 00 [11:21:26]MH_I2C_Read... [11:21:26]Read from MH i2c: D1 01 00 08 04 00 DD [11:21:26]Write to MH i2c: 01 00 00 09 04 0D [11:21:26]Write i2c OK [11:21:26]MH_I2C_Read... [11:21:26]OFD Sender: No OFD packet to send [11:21:26]*** Cut start [11:21:26]*** Partial cut [11:21:26]*** CUTSNS_PIN = 1 [11:21:26]*** CUTSNS_PIN = 0 [11:21:27]*** Brake cut motor [11:21:27]Read from MH i2c: 01 [11:21:27]MH_I2C_Read... [11:21:27]*** Stop cut motor [11:21:27]*** Cut end [11:21:27]Read from MH i2c: 01 07 00 [11:21:27]MH_I2C_Read... [11:21:27]Read from MH i2c: 01 07 00 09 04 00 00 00 00 00 FF 0F 22 [11:21:27]process_action close_receipt done [11:21:27]requested_data is exist [11:21:27]produce_requested_data [11:21:27]requested_item fm.sn is exist - process it [11:21:27]wFMCommunicate request_size=4 [11:21:27]MH_SAM_APDU [11:21:27]CAPDU: 80 11 00 00 [11:21:27]Write to MH i2c: E2 08 00 0A 04 80 11 00 00 00 00 00 00 88 [11:21:27]Write i2c OK [11:21:27]MH_I2C_Read... [11:21:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:21:27]Read from MH i2c: E2 [11:21:27]MH_I2C_Read... [11:21:27]Read from MH i2c: E2 17 00 [11:21:27]MH_I2C_Read... [11:21:27]Read from MH i2c: E2 17 00 0A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D4 [11:21:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:21:27]wFMCommunicate OK [11:21:27]requested_item fd.num is exist - process it [11:21:27]SAM_PROTO_GetFieldsCounters [11:21:27]wFMCommunicate request_size=4 [11:21:27]MH_SAM_APDU [11:21:27]CAPDU: 80 13 00 00 [11:21:27]Write to MH i2c: E2 08 00 0B 04 80 13 00 00 00 00 00 00 8B [11:21:27]Write i2c OK [11:21:27]MH_I2C_Read... [11:21:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:21:27]Read from MH i2c: E2 [11:21:27]MH_I2C_Read... [11:21:27]Read from MH i2c: E2 62 00 [11:21:27]MH_I2C_Read... [11:21:27]Read from MH i2c: E2 62 00 0B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3E 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [11:21:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3E 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:21:27]wFMCommunicate OK [11:21:27]SAM_PROTO_GetFieldsCounters done [11:21:27]requested_item shift.num is exist - process it [11:21:27]requested_item shift.opened is exist - process it [11:21:27]req_shift_opened [11:21:27]FM_GetShiftState [11:21:27]SAM_PROTO_GetShiftState [11:21:27]wFMCommunicate request_size=4 [11:21:27]MH_SAM_APDU [11:21:27]CAPDU: 80 13 01 00 [11:21:27]Write to MH i2c: E2 08 00 0C 04 80 13 01 00 00 00 00 00 8D [11:21:27]Write i2c OK [11:21:27]MH_I2C_Read... [11:21:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:21:27]Read from MH i2c: E2 [11:21:27]MH_I2C_Read... [11:21:27]Read from MH i2c: E2 0E 00 [11:21:27]MH_I2C_Read... [11:21:27]Read from MH i2c: E2 0E 00 0C 04 00 09 00 01 17 74 90 66 00 00 00 00 90 00 1A [11:21:27]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [11:21:27]wFMCommunicate OK [11:21:27]SAM_PROTO_GetShiftState done [11:21:27]FM_GetShiftState done [11:21:27]req_shift_opened done [11:21:27]requested_item shift.open_date is exist - process it [11:21:27]req_shift_open_date [11:21:27]req_shift_open_date done [11:21:27]produce_requested_data done [11:21:27]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33342,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [11:21:27]process_action_free close_receipt [11:21:27]json_value_free [11:21:27]json_value_free done [11:21:27]process_json_proto returns [11:21:27]Send response to host [11:21:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33342,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [11:21:27]free response buf [11:21:27]execute_script done [11:21:27]execute_script returns [11:21:27]free content buf [11:21:27]Sock 9.Close socket [11:21:27]Sock 9.Thread stoped [11:21:31]OFD Sender: No OFD packet to send [11:21:36]OFD Sender: No OFD packet to send [11:21:41]OFD Sender: No OFD packet to send [11:21:46]OFD Sender: No OFD packet to send [11:21:51]OFD Sender: No OFD packet to send [11:21:56]OFD Sender: No OFD packet to send [11:22:01]OFD Sender: No OFD packet to send [11:22:06]OFD Sender: No OFD packet to send [11:22:11]OFD Sender: No OFD packet to send [11:22:16]OFD Sender: No OFD packet to send [11:22:21]OFD Sender: No OFD packet to send [11:22:26]OFD Sender: No OFD packet to send [11:22:31]OFD Sender: No OFD packet to send [11:22:36]OFD Sender: No OFD packet to send [11:22:41]OFD Sender: No OFD packet to send [11:22:46]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]OFD Sender: No OFD packet to send [11:23:41]OFD Sender: No OFD packet to send [11:23:46]OFD Sender: No OFD packet to send [11:23:51]OFD Sender: No OFD packet to send [11:23:56]OFD Sender: No OFD packet to send [11:24:01]OFD Sender: No OFD packet to send [11:24:06]OFD Sender: No OFD packet to send [11:24:11]OFD Sender: No OFD packet to send [11:24:16]OFD Sender: No OFD packet to send [11:24:21]OFD Sender: No OFD packet to send [11:24:26]OFD Sender: No OFD packet to send [11:24:31]OFD Sender: No OFD packet to send [11:24:36]OFD Sender: No OFD packet to send [11:24:41]OFD Sender: No OFD packet to send [11:24:46]OFD Sender: No OFD packet to send [11:24:51]OFD Sender: No OFD packet to send [11:24:56]OFD Sender: No OFD packet to send [11:25:01]OFD Sender: No OFD packet to send [11:25:06]OFD Sender: No OFD packet to send [11:25:11]OFD Sender: No OFD packet to send [11:25:16]OFD Sender: No OFD packet to send [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]OFD Sender: No OFD packet to send [11:27:41]OFD Sender: No OFD packet to send [11:27:46]OFD Sender: No OFD packet to send [11:27:51]OFD Sender: No OFD packet to send [11:27:56]OFD Sender: No OFD packet to send [11:28:01]OFD Sender: No OFD packet to send [11:28:06]OFD Sender: No OFD packet to send [11:28:11]OFD Sender: No OFD packet to send [11:28:16]OFD Sender: No OFD packet to send [11:28:21]OFD Sender: No OFD packet to send [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:36]OFD Sender: No OFD packet to send [11:28:41]OFD Sender: No OFD packet to send [11:28:46]OFD Sender: No OFD packet to send [11:28:51]OFD Sender: No OFD packet to send [11:28:56]OFD Sender: No OFD packet to send [11:29:01]OFD Sender: No OFD packet to send [11:29:06]OFD Sender: No OFD packet to send [11:29:11]OFD Sender: No OFD packet to send [11:29:16]OFD Sender: No OFD packet to send [11:29:21]OFD Sender: No OFD packet to send [11:29:26]OFD Sender: No OFD packet to send [11:29:31]OFD Sender: No OFD packet to send [11:29:36]OFD Sender: No OFD packet to send [11:29:41]OFD Sender: No OFD packet to send [11:29:46]OFD Sender: No OFD packet to send [11:29:51]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:46]OFD Sender: No OFD packet to send [11:30:51]OFD Sender: No OFD packet to send [11:30:57]OFD Sender: No OFD packet to send [11:31:02]OFD Sender: No OFD packet to send [11:31:07]OFD Sender: No OFD packet to send [11:31:12]OFD Sender: No OFD packet to send [11:31:17]OFD Sender: No OFD packet to send [11:31:22]OFD Sender: No OFD packet to send [11:31:27]OFD Sender: No OFD packet to send [11:31:32]OFD Sender: No OFD packet to send [11:31:37]OFD Sender: No OFD packet to send [11:31:42]OFD Sender: No OFD packet to send [11:31:47]OFD Sender: No OFD packet to send [11:31:52]OFD Sender: No OFD packet to send [11:31:57]OFD Sender: No OFD packet to send [11:32:02]OFD Sender: No OFD packet to send [11:32:07]OFD Sender: No OFD packet to send [11:32:12]OFD Sender: No OFD packet to send [11:32:17]OFD Sender: No OFD packet to send [11:32:22]OFD Sender: No OFD packet to send [11:32:27]OFD Sender: No OFD packet to send [11:32:32]OFD Sender: No OFD packet to send [11:32:37]OFD Sender: No OFD packet to send [11:32:42]OFD Sender: No OFD packet to send [11:32:47]OFD Sender: No OFD packet to send [11:32:52]OFD Sender: No OFD packet to send [11:32:57]OFD Sender: No OFD packet to send [11:33:02]OFD Sender: No OFD packet to send [11:33:07]OFD Sender: No OFD packet to send [11:33:12]OFD Sender: No OFD packet to send [11:33:17]OFD Sender: No OFD packet to send [11:33:22]OFD Sender: No OFD packet to send [11:33:27]OFD Sender: No OFD packet to send [11:33:32]OFD Sender: No OFD packet to send [11:33:37]OFD Sender: No OFD packet to send [11:33:42]OFD Sender: No OFD packet to send [11:33:47]OFD Sender: No OFD packet to send [11:33:52]OFD Sender: No OFD packet to send [11:33:57]OFD Sender: No OFD packet to send [11:34:02]OFD Sender: No OFD packet to send [11:34:07]OFD Sender: No OFD packet to send [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:47]OFD Sender: No OFD packet to send [11:36:52]OFD Sender: No OFD packet to send [11:36:57]OFD Sender: No OFD packet to send [11:37:02]OFD Sender: No OFD packet to send [11:37:07]OFD Sender: No OFD packet to send [11:37:12]OFD Sender: No OFD packet to send [11:37:17]OFD Sender: No OFD packet to send [11:37:22]OFD Sender: No OFD packet to send [11:37:27]OFD Sender: No OFD packet to send [11:37:32]OFD Sender: No OFD packet to send [11:37:37]OFD Sender: No OFD packet to send [11:37:42]OFD Sender: No OFD packet to send [11:37:47]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:27]OFD Sender: No OFD packet to send [11:46:32]OFD Sender: No OFD packet to send [11:46:37]OFD Sender: No OFD packet to send [11:46:42]OFD Sender: No OFD packet to send [11:46:47]OFD Sender: No OFD packet to send [11:46:52]OFD Sender: No OFD packet to send [11:46:57]OFD Sender: No OFD packet to send [11:47:02]OFD Sender: No OFD packet to send [11:47:07]OFD Sender: No OFD packet to send [11:47:12]OFD Sender: No OFD packet to send [11:47:17]OFD Sender: No OFD packet to send [11:47:22]OFD Sender: No OFD packet to send [11:47:27]OFD Sender: No OFD packet to send [11:47:32]OFD Sender: No OFD packet to send [11:47:37]OFD Sender: No OFD packet to send [11:47:42]OFD Sender: No OFD packet to send [11:47:47]OFD Sender: No OFD packet to send [11:47:52]OFD Sender: No OFD packet to send [11:47:57]OFD Sender: No OFD packet to send [11:48:02]OFD Sender: No OFD packet to send [11:48:07]OFD Sender: No OFD packet to send [11:48:12]OFD Sender: No OFD packet to send [11:48:17]OFD Sender: No OFD packet to send [11:48:22]OFD Sender: No OFD packet to send [11:48:27]OFD Sender: No OFD packet to send [11:48:32]OFD Sender: No OFD packet to send [11:48:37]OFD Sender: No OFD packet to send [11:48:42]OFD Sender: No OFD packet to send [11:48:47]OFD Sender: No OFD packet to send [11:48:52]OFD Sender: No OFD packet to send [11:48:57]OFD Sender: No OFD packet to send [11:49:02]OFD Sender: No OFD packet to send [11:49:07]OFD Sender: No OFD packet to send [11:49:12]OFD Sender: No OFD packet to send [11:49:17]OFD Sender: No OFD packet to send [11:49:22]OFD Sender: No OFD packet to send [11:49:27]OFD Sender: No OFD packet to send [11:49:32]OFD Sender: No OFD packet to send [11:49:37]OFD Sender: No OFD packet to send [11:49:42]OFD Sender: No OFD packet to send [11:49:47]OFD Sender: No OFD packet to send [11:49:52]OFD Sender: No OFD packet to send [11:49:57]OFD Sender: No OFD packet to send [11:50:02]OFD Sender: No OFD packet to send [11:50:07]OFD Sender: No OFD packet to send [11:50:12]OFD Sender: No OFD packet to send [11:50:17]OFD Sender: No OFD packet to send [11:50:22]OFD Sender: No OFD packet to send [11:50:27]OFD Sender: No OFD packet to send [11:50:32]OFD Sender: No OFD packet to send [11:50:37]OFD Sender: No OFD packet to send [11:50:42]OFD Sender: No OFD packet to send [11:50:47]OFD Sender: No OFD packet to send [11:50:52]OFD Sender: No OFD packet to send [11:50:57]OFD Sender: No OFD packet to send [11:51:02]OFD Sender: No OFD packet to send [11:51:07]OFD Sender: No OFD packet to send [11:51:12]OFD Sender: No OFD packet to send [11:51:17]OFD Sender: No OFD packet to send [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:58:59]accept exits with 7 [11:58:59]New connection [11:58:59]New thread 3066461540 created [11:58:59]Thread 3066604900 joined [11:58:59]Waiting for new connection... [11:58:59] Sock 7.Parse request [11:58:59]Sock 7.Check first char [11:58:59]Sock 7.First char is OK [11:58:59]request: POST /json_proto HTTP/1.0 [11:58:59]Method: POST [11:58:59]URL: /json_proto [11:58:59]Method is POST - this is cgi request [11:58:59]url: /json_proto [11:58:59]query_string will be loaded in cgi processing [11:58:59]execute_cgi json_proto POST (null) [11:58:59]execute_cgi path=json_proto method=POST [11:58:59]POST find Content-Length [11:58:59]Host: 172.17.35.196:8080 [11:58:59]Content-Length: 1819 [11:58:59]Content-Type: application/json [11:58:59] [11:58:59]POST finish read [11:58:59]Found Content-Length = 1819 [11:58:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169161", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "240020010391", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 3.000, "sum" : 210.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" : 111.00, "quantity" : 1.000, "sum" : 111.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" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 557.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:58:59]execute_script... [11:58:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169161", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "240020010391", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 3.000, "sum" : 210.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" : 111.00, "quantity" : 1.000, "sum" : 111.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" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 557.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:58:59]POST & json_proto [11:58:59]process_json_proto [11:58:59]json parsed OK: [11:58:59]protocol is kg_v1.0 [11:58:59]action value=close_receipt [11:58:59]process_action close_receipt [11:58:59]cmd_close_receipt [11:58:59]MH_GetDate [11:58:59]Write to MH i2c: F0 00 00 0D 04 00 [11:58:59]Write i2c OK [11:58:59]MH_I2C_Read... [11:58:59]Read from MH i2c: F0 [11:58:59]MH_I2C_Read... [11:58:59]Read from MH i2c: F0 09 00 [11:58:59]MH_I2C_Read... [11:58:59]Read from MH i2c: F0 09 00 0D 04 00 84 1A 91 66 AD 14 F4 65 B8 [11:58:59]GetLastDocTimeStamp 1720783284 [11:58:59]current date 1720785540 [11:58:59]FM_GetShiftState [11:58:59]SAM_PROTO_GetShiftState [11:58:59]wFMCommunicate request_size=4 [11:58:59]MH_SAM_APDU [11:58:59]CAPDU: 80 13 01 00 [11:58:59]Write to MH i2c: E2 08 00 0E 04 80 13 01 00 00 00 00 00 8F [11:58:59]Write i2c OK [11:58:59]MH_I2C_Read... [11:58:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:58:59]Read from MH i2c: E2 [11:58:59]MH_I2C_Read... [11:58:59]Read from MH i2c: E2 0E 00 [11:58:59]MH_I2C_Read... [11:58:59]Read from MH i2c: E2 0E 00 0E 04 00 09 00 01 17 74 90 66 00 00 00 00 90 00 1C [11:58:59]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [11:58:59]wFMCommunicate OK [11:58:59]SAM_PROTO_GetShiftState done [11:58:59]FM_GetShiftState done [11:58:59]opened in 1720742935 [11:58:59]opened+sec_in_day 1720829335 [11:58:59]quantity*price = 400 [11:58:59]sum+1 = 401 [11:58:59]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 240020010391 Сэндвич с кетчупом Талас Даамы 3.000 * 70.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000006271 Напиток Фанта 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 557.00 НСП 1% : 4.93 НДС 12% : 59.14 Наличными: 557.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 21 12.07.2024 11:59 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33343 ФПД: 172864425607011 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T115900&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33343&fm=172864425607011&tin=02508201610067®Number=0000000000093033&sum=55700 0 [11:59:01]StoreToDocumentArchive [11:59:01]shift 433 fd 33343 [11:59:01]save to /storage/0433/doc_00033343 [11:59:01]save last doc name /storage/0433/doc_00033343 to /storage/kkm_last_doc_name [11:59:01]save OK [11:59:01]Clear old archive folders... [11:59:01]ProcessDocumentItem done err = 0, tmpTLVsize=740 [11:59:01]tlvbuf is 00A5C6C0 [11:59:01]SAM_PROTO_ClearQueue [11:59:01]wFMCommunicate request_size=4 [11:59:01]MH_SAM_APDU [11:59:01]CAPDU: 80 09 00 00 [11:59:01]Write to MH i2c: E2 08 00 1B 04 80 09 00 00 00 00 00 00 91 [11:59:01]Write i2c OK [11:59:01]MH_I2C_Read... [11:59:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:59:01]Read from MH i2c: E2 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 1B 04 00 90 00 93 [11:59:01]RAPDU: 90 00 [11:59:01]wFMCommunicate OK [11:59:01]SAM_PROTO_ClearQueue done [11:59:01]KKMCreateOFDPacket [11:59:01]OFDProtocolAddRootSTLVToBuf [11:59:01]FM_MakeSignedData [11:59:01]FM_MakeSignedData [11:59:01]SAM_PROTO_SignData [11:59:01]wFMCommunicate request_size=4 [11:59:01]MH_SAM_APDU [11:59:01]CAPDU: 80 0D 01 02 [11:59:01]Write to MH i2c: E2 08 00 1C 04 80 0D 01 02 00 00 00 00 99 [11:59:01]Write i2c OK [11:59:01]MH_I2C_Read... [11:59:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:59:01]Read from MH i2c: E2 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 1C 04 00 90 00 94 [11:59:01]RAPDU: 90 00 [11:59:01]wFMCommunicate OK [11:59:01]wFMCommunicate request_size=255 [11:59:01]MH_SAM_APDU [11:59:01]CAPDU: 80 0D 02 02 FA 03 00 E4 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0C 00 32 34 30 30 32 30 30 31 30 33 39 31 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 [11:59:01]Write to MH i2c: E2 02 01 1D 04 80 0D 02 02 FA 00 03 00 E4 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0C 00 32 34 30 30 32 30 30 31 30 33 39 31 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 00 00 25 [11:59:01]Write i2c OK [11:59:01]MH_I2C_Read... [11:59:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:01]Read from MH i2c: E2 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 1D 04 00 90 00 95 [11:59:01]RAPDU: 90 00 [11:59:01]wFMCommunicate OK [11:59:01]wFMCommunicate request_size=255 [11:59:01]MH_SAM_APDU [11:59:01]CAPDU: 80 0D 02 02 FA 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 [11:59:01]Write to MH i2c: E2 02 01 1E 04 80 0D 02 02 FA 00 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 00 00 B1 [11:59:01]Write i2c OK [11:59:01]MH_I2C_Read... [11:59:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:01]Read from MH i2c: E2 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 1E 04 00 90 00 96 [11:59:01]RAPDU: 90 00 [11:59:01]wFMCommunicate OK [11:59:01]wFMCommunicate request_size=249 [11:59:01]MH_SAM_APDU [11:59:01]CAPDU: 80 0D 02 02 F4 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 D9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 17 00 00 00 00 07 04 06 00 94 D9 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 84 1A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3F 82 00 00 35 04 06 00 9D 38 22 AE BF 63 [11:59:01]Write to MH i2c: E2 FC 00 1F 04 80 0D 02 02 F4 00 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 D9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 17 00 00 00 00 07 04 06 00 94 D9 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 84 1A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3F 82 00 00 35 04 06 00 9D 38 22 AE BF 63 00 00 33 [11:59:01]Write i2c OK [11:59:01]MH_I2C_Read... [11:59:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:01]Read from MH i2c: E2 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 [11:59:01]MH_I2C_Read... [11:59:01]Read from MH i2c: E2 03 00 1F 04 00 90 00 97 [11:59:01]RAPDU: 90 00 [11:59:01]wFMCommunicate OK [11:59:01]wFMCommunicate request_size=4 [11:59:01]MH_SAM_APDU [11:59:01]CAPDU: 80 0D 03 02 [11:59:02]Write to MH i2c: E2 08 00 20 04 80 0D 03 02 00 00 00 00 9F [11:59:02]Write i2c OK [11:59:02]MH_I2C_Read... [11:59:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:59:02]Read from MH i2c: E2 [11:59:02]MH_I2C_Read... [11:59:02]Read from MH i2c: E2 0B 00 [11:59:02]MH_I2C_Read... [11:59:02]Read from MH i2c: E2 0B 00 20 04 00 85 52 66 EB FC 30 EC 22 90 00 02 [11:59:02]RAPDU: 85 52 66 EB FC 30 EC 22 90 00 [11:59:02]wFMCommunicate OK [11:59:02]SAM_PROTO_SignData done [11:59:02]FM_MakeSignedData done [11:59:02]CreateOFDProtocolMessage [11:59:02]wFMCommunicate request_size=4 [11:59:02]MH_SAM_APDU [11:59:02]CAPDU: 80 11 00 00 [11:59:02]Write to MH i2c: E2 08 00 21 04 80 11 00 00 00 00 00 00 9F [11:59:02]Write i2c OK [11:59:02]MH_I2C_Read... [11:59:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:02]Read from MH i2c: E2 [11:59:02]MH_I2C_Read... [11:59:02]Read from MH i2c: E2 17 00 [11:59:02]MH_I2C_Read... [11:59:02]Read from MH i2c: E2 17 00 21 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EB [11:59:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:59:02]wFMCommunicate OK [11:59:02]CreateOFDProtocolMessage done [11:59:02]OFDSenderStorePacket 33343 [11:59:02]StoreOFDPacket docnum=33343 [11:59:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 F8 02 00 00 FA 76 F0 02 64 E0 5A 03 01 00 03 00 E4 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0C 00 32 34 30 30 32 30 30 31 30 33 39 31 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 D9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 17 00 00 00 00 07 04 06 00 94 D9 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 84 1A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3F 82 00 00 35 04 06 00 9D 38 22 AE BF 63 85 52 66 EB FC 30 EC 22 [11:59:02]CheckFolder [11:59:02]dirname=/storage/ofd_packets [11:59:02]CheckFolder done [11:59:02]ProducePacketName [11:59:02]name=ofd_packets/00033343 [11:59:02]NVStorageSaveData ofd_packets/00033343 [11:59:02]File name is /storage/ofd_packets/00033343 [11:59:02]Write 790 bytes [11:59:02]NVStorageSaveData done [11:59:02]OFDSenderStorePacket done [11:59:02]KKMCreateOFDPacket done [11:59:02]NVStorageSaveData kkm_last_timestamp [11:59:02]File name is /storage/kkm_last_timestamp [11:59:02]Write 4 bytes [11:59:02]NVStorageSaveData done [11:59:02]ExternCall_PrintAddStr [11:59:02]wPrintStart [11:59:02]Write to MH i2c: 01 00 00 22 04 26 [11:59:02]Write i2c OK [11:59:02]MH_I2C_Read... [11:59:02]Read from MH i2c: 01 [11:59:02]MH_I2C_Read... [11:59:02]Read from MH i2c: 01 07 00 [11:59:02]MH_I2C_Read... [11:59:02]Read from MH i2c: 01 07 00 22 04 00 00 00 00 00 FF 0F 3B [11:59:02]RasterBufferAndPrint [11:59:02]line Счет N : (3)169161 [11:59:02]line ИНН: 02508201610067 [11:59:02]line Контрольно-Кассовый Чек [11:59:02]line ПРОДАЖА [11:59:02]line Товар: 2000031750019 [11:59:02]line Пакет Партнер Нефть [11:59:02]line 1.000 * 4.00 [11:59:02]line = 4.00 [11:59:02]line НДС 12% НСП 1% [11:59:02]line > о реализуемом товаре [11:59:02]line Товар: 240020010391 [11:59:02]line Сэндвич с кетчупом Талас Даамы [11:59:02]line 3.000 * 70.00 [11:59:02]line = 210.00 [11:59:02]line НДС 12% НСП 1% [11:59:02]line > о реализуемом товаре [11:59:02]line Товар: 4870001570071 [11:59:02]line Напиток Pepsi 1л [11:59:02]line 1.000 * 111.00 [11:59:02]line = 111.00 [11:59:02]line НДС 12% НСП 1% [11:59:02]line > о реализуемом товаре [11:59:02]line Товар: 5449000006271 [11:59:02]line Напиток Фанта 1л [11:59:02]line 1.000 * 125.00 [11:59:02]line = 125.00 [11:59:02]line НДС 12% НСП 1% [11:59:02]line > о реализуемом товаре [11:59:02]line Товар: 5449000027474 [11:59:02]line Напиток FuzeTea зел чай манго,ромашка 1л [11:59:02]line 1.000 * 107.00 [11:59:02]line = 107.00 [11:59:02]line НДС 12% НСП 1% [11:59:02]line > о реализуемом товаре [11:59:02]line ИТОГО: 557.00 [11:59:02]line НСП 1% : 4.93 [11:59:02]line НДС 12% : 59.14 [11:59:02]line Наличными: 557.00 [11:59:02]line Безнал.: 0.00 [11:59:02]line Место: АЗС № 77 "Партнер Нефть" [11:59:02]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [11:59:02]line СНО: Общий режим [11:59:02]line Чек 21 12.07.2024 11:59 [11:59:02]line Смена: 433 ФФД: 1.0 [11:59:02]line ЗНМ: 0300000122 [11:59:02]line РНМ: 0000000000093033 [11:59:02]line Версия ККМ: 001 [11:59:02]line ФМ: 0000000000875104 [11:59:02]line ФД: 33343 [11:59:02]line ФПД: 172864425607011 [11:59:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T115900&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33343&fm=172864425607011&tin=02508201610067®Number=0000000000093033&sum=55700 [11:59:02]line 0 [11:59:02]written 0, free lines is 4095 [11:59:02]OFD Sender: Processing packet 33343 [packets to send 6, broken 5] [11:59:02]ProducePacketName [11:59:02]name=ofd_packets/00033343 [11:59:02]OFD Sender: To server: pG, [11:59:02]CommunicateWithHost lk.salyk.kg:30040 [11:59:02]ConnectInit lk.salyk.kg [11:59:02]Connected sock=10 [11:59:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 F8 02 00 00 FA 76 F0 02 64 E0 5A 03 01 00 03 00 E4 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0C 00 32 34 30 30 32 30 30 31 30 33 39 31 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 D9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 17 00 00 00 00 07 04 06 00 94 D9 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 84 1A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3F 82 00 00 35 04 06 00 9D 38 22 AE BF 63 85 52 66 EB FC 30 EC 22 [11:59:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 78 60 47 00 C0 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 3F 82 00 00 F4 03 04 00 32 C5 90 66 B6 04 01 00 00 87 63 F5 7E AA F7 44 6E [11:59:02]CommunicateWithHost err = 0 [11:59:02]CheckOFDResponse [11:59:02]1017 (14) - 77093643461234 [11:59:02]1041 (16) - 0000000000875104 [11:59:02]1040 (4) - 33343 [11:59:02]1012 (4) - 12.07.2024 05:54 [11:59:02]1206 (1) - 0 [11:59:02]OFD Sender: Remove packet 33343 [11:59:02]ProducePacketName [11:59:02]name=ofd_packets/00033343 [11:59:02]NVStorageDeleteData [11:59:03]Write to MH i2c: 01 00 00 64 04 68 [11:59:03]Write i2c OK [11:59:03]MH_I2C_Read... [11:59:03]Read from MH i2c: 01 [11:59:03]MH_I2C_Read... [11:59:03]Read from MH i2c: 01 07 00 [11:59:03]MH_I2C_Read... [11:59:03]Read from MH i2c: 01 07 00 64 04 00 00 00 00 00 6C 0B E6 [11:59:03]RasterBufferAndPrint [11:59:03]line [11:59:03]line [11:59:03]line [11:59:03]line [11:59:03]line [11:59:03]written 0, free lines is 2934 [11:59:03]MH_Cut [11:59:03]Write to MH i2c: D1 01 00 6B 04 01 41 [11:59:03]Write i2c OK [11:59:03]MH_I2C_Read... [11:59:03]Read from MH i2c: D1 [11:59:03]MH_I2C_Read... [11:59:03]Read from MH i2c: D1 01 00 [11:59:03]MH_I2C_Read... [11:59:03]Read from MH i2c: D1 01 00 6B 04 00 40 [11:59:03]Write to MH i2c: 01 00 00 6C 04 70 [11:59:03]Write i2c OK [11:59:03]MH_I2C_Read... [11:59:03]OFD Sender: No OFD packet to send [11:59:04]*** Cut start [11:59:04]*** Partial cut [11:59:04]*** CUTSNS_PIN = 1 [11:59:04]*** CUTSNS_PIN = 0 [11:59:04]*** Brake cut motor [11:59:04]Read from MH i2c: 01 [11:59:04]MH_I2C_Read... [11:59:04]*** Stop cut motor [11:59:04]*** Cut end [11:59:04]Read from MH i2c: 01 07 00 [11:59:04]MH_I2C_Read... [11:59:04]Read from MH i2c: 01 07 00 6C 04 00 00 00 00 00 FF 0F 85 [11:59:04]process_action close_receipt done [11:59:04]requested_data is exist [11:59:04]produce_requested_data [11:59:04]requested_item fm.sn is exist - process it [11:59:04]wFMCommunicate request_size=4 [11:59:04]MH_SAM_APDU [11:59:04]CAPDU: 80 11 00 00 [11:59:04]Write to MH i2c: E2 08 00 6D 04 80 11 00 00 00 00 00 00 EB [11:59:04]Write i2c OK [11:59:04]MH_I2C_Read... [11:59:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:04]Read from MH i2c: E2 [11:59:04]MH_I2C_Read... [11:59:04]Read from MH i2c: E2 17 00 [11:59:04]MH_I2C_Read... [11:59:04]Read from MH i2c: E2 17 00 6D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 37 [11:59:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [11:59:04]wFMCommunicate OK [11:59:04]requested_item fd.num is exist - process it [11:59:04]SAM_PROTO_GetFieldsCounters [11:59:04]wFMCommunicate request_size=4 [11:59:04]MH_SAM_APDU [11:59:04]CAPDU: 80 13 00 00 [11:59:04]Write to MH i2c: E2 08 00 6E 04 80 13 00 00 00 00 00 00 EE [11:59:04]Write i2c OK [11:59:04]MH_I2C_Read... [11:59:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:59:04]Read from MH i2c: E2 [11:59:04]MH_I2C_Read... [11:59:04]Read from MH i2c: E2 62 00 [11:59:04]MH_I2C_Read... [11:59:04]Read from MH i2c: E2 62 00 6E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3F 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [11:59:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 3F 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:59:05]wFMCommunicate OK [11:59:05]SAM_PROTO_GetFieldsCounters done [11:59:05]requested_item shift.num is exist - process it [11:59:05]requested_item shift.opened is exist - process it [11:59:05]req_shift_opened [11:59:05]FM_GetShiftState [11:59:05]SAM_PROTO_GetShiftState [11:59:05]wFMCommunicate request_size=4 [11:59:05]MH_SAM_APDU [11:59:05]CAPDU: 80 13 01 00 [11:59:05]Write to MH i2c: E2 08 00 6F 04 80 13 01 00 00 00 00 00 F0 [11:59:05]Write i2c OK [11:59:05]MH_I2C_Read... [11:59:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:05]Read from MH i2c: E2 [11:59:05]MH_I2C_Read... [11:59:05]Read from MH i2c: E2 0E 00 [11:59:05]MH_I2C_Read... [11:59:05]Read from MH i2c: E2 0E 00 6F 04 00 09 00 01 17 74 90 66 00 00 00 00 90 00 7D [11:59:05]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [11:59:05]wFMCommunicate OK [11:59:05]SAM_PROTO_GetShiftState done [11:59:05]FM_GetShiftState done [11:59:05]req_shift_opened done [11:59:05]requested_item shift.open_date is exist - process it [11:59:05]req_shift_open_date [11:59:05]req_shift_open_date done [11:59:05]produce_requested_data done [11:59:05]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33343,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [11:59:05]process_action_free close_receipt [11:59:05]json_value_free [11:59:05]json_value_free done [11:59:05]process_json_proto returns [11:59:05]Send response to host [11:59:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33343,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [11:59:05]free response buf [11:59:05]execute_script done [11:59:05]execute_script returns [11:59:05]free content buf [11:59:05]Sock 7.Close socket [11:59:05]Sock 7.Thread stoped [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:33]OFD Sender: No OFD packet to send [11:59:38]OFD Sender: No OFD packet to send [11:59:43]OFD Sender: No OFD packet to send [11:59:48]OFD Sender: No OFD packet to send [11:59:53]OFD Sender: No OFD packet to send [11:59:58]OFD Sender: No OFD packet to send [12:00:03]OFD Sender: No OFD packet to send [12:00:08]OFD Sender: No OFD packet to send [12:00:13]OFD Sender: No OFD packet to send [12:00:18]OFD Sender: No OFD packet to send [12:00:23]OFD Sender: No OFD packet to send [12:00:28]OFD Sender: No OFD packet to send [12:00:33]OFD Sender: No OFD packet to send [12:00:38]OFD Sender: No OFD packet to send [12:00:43]OFD Sender: No OFD packet to send [12:00:48]OFD Sender: No OFD packet to send [12:00:53]OFD Sender: No OFD packet to send [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:13]OFD Sender: No OFD packet to send [12:04:18]OFD Sender: No OFD packet to send [12:04:23]OFD Sender: No OFD packet to send [12:04:28]OFD Sender: No OFD packet to send [12:04:33]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:18]OFD Sender: No OFD packet to send [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]OFD Sender: No OFD packet to send [12:06:13]OFD Sender: No OFD packet to send [12:06:18]OFD Sender: No OFD packet to send [12:06:23]OFD Sender: No OFD packet to send [12:06:28]OFD Sender: No OFD packet to send [12:06:33]OFD Sender: No OFD packet to send [12:06:38]OFD Sender: No OFD packet to send [12:06:43]OFD Sender: No OFD packet to send [12:06:48]OFD Sender: No OFD packet to send [12:06:53]OFD Sender: No OFD packet to send [12:06:58]OFD Sender: No OFD packet to send [12:07:03]OFD Sender: No OFD packet to send [12:07:08]OFD Sender: No OFD packet to send [12:07:13]OFD Sender: No OFD packet to send [12:07:18]OFD Sender: No OFD packet to send [12:07:23]OFD Sender: No OFD packet to send [12:07:28]OFD Sender: No OFD packet to send [12:07:33]OFD Sender: No OFD packet to send [12:07:38]OFD Sender: No OFD packet to send [12:07:43]OFD Sender: No OFD packet to send [12:07:48]OFD Sender: No OFD packet to send [12:07:53]OFD Sender: No OFD packet to send [12:07:58]OFD Sender: No OFD packet to send [12:08:03]OFD Sender: No OFD packet to send [12:08:08]OFD Sender: No OFD packet to send [12:08:13]OFD Sender: No OFD packet to send [12:08:18]OFD Sender: No OFD packet to send [12:08:23]OFD Sender: No OFD packet to send [12:08:28]OFD Sender: No OFD packet to send [12:08:33]OFD Sender: No OFD packet to send [12:08:38]OFD Sender: No OFD packet to send [12:08:43]OFD Sender: No OFD packet to send [12:08:48]OFD Sender: No OFD packet to send [12:08:53]OFD Sender: No OFD packet to send [12:08:58]OFD Sender: No OFD packet to send [12:09:03]OFD Sender: No OFD packet to send [12:09:08]OFD Sender: No OFD packet to send [12:09:13]OFD Sender: No OFD packet to send [12:09:18]OFD Sender: No OFD packet to send [12:09:23]OFD Sender: No OFD packet to send [12:09:28]OFD Sender: No OFD packet to send [12:09:33]OFD Sender: No OFD packet to send [12:09:38]OFD Sender: No OFD packet to send [12:09:43]OFD Sender: No OFD packet to send [12:09:48]OFD Sender: No OFD packet to send [12:09:53]OFD Sender: No OFD packet to send [12:09:58]OFD Sender: No OFD packet to send [12:10:03]OFD Sender: No OFD packet to send [12:10:08]OFD Sender: No OFD packet to send [12:10:13]OFD Sender: No OFD packet to send [12:10:18]OFD Sender: No OFD packet to send [12:10:23]OFD Sender: No OFD packet to send [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:33]OFD Sender: No OFD packet to send [12:12:38]OFD Sender: No OFD packet to send [12:12:43]OFD Sender: No OFD packet to send [12:12:48]OFD Sender: No OFD packet to send [12:12:53]OFD Sender: No OFD packet to send [12:12:58]OFD Sender: No OFD packet to send [12:13:03]OFD Sender: No OFD packet to send [12:13:08]OFD Sender: No OFD packet to send [12:13:13]OFD Sender: No OFD packet to send [12:13:18]OFD Sender: No OFD packet to send [12:13:23]OFD Sender: No OFD packet to send [12:13:28]OFD Sender: No OFD packet to send [12:13:33]OFD Sender: No OFD packet to send [12:13:38]OFD Sender: No OFD packet to send [12:13:43]OFD Sender: No OFD packet to send [12:13:48]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:22]accept exits with 9 [12:14:22]New connection [12:14:22]New thread 3066604900 created [12:14:22]Thread 3066461540 joined [12:14:22]Waiting for new connection... [12:14:22] Sock 9.Parse request [12:14:22]Sock 9.Check first char [12:14:22]Sock 9.First char is OK [12:14:22]request: POST /json_proto HTTP/1.0 [12:14:22]Method: POST [12:14:22]URL: /json_proto [12:14:22]Method is POST - this is cgi request [12:14:22]url: /json_proto [12:14:22]query_string will be loaded in cgi processing [12:14:22]execute_cgi json_proto POST (null) [12:14:22]execute_cgi path=json_proto method=POST [12:14:22]POST find Content-Length [12:14:22]Host: 172.17.35.196:8080 [12:14:22]Content-Length: 644 [12:14:22]Content-Type: application/json [12:14:22] [12:14:22]POST finish read [12:14:22]Found Content-Length = 644 [12:14:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169162", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:22]execute_script... [12:14: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)169162", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:22]POST & json_proto [12:14:22]process_json_proto [12:14:22]json parsed OK: [12:14:22]protocol is kg_v1.0 [12:14:22]action value=close_receipt [12:14:22]process_action close_receipt [12:14:22]cmd_close_receipt [12:14:22]MH_GetDate [12:14:22]Write to MH i2c: F0 00 00 70 04 63 [12:14:22]Write i2c OK [12:14:22]MH_I2C_Read... [12:14:22]Read from MH i2c: F0 [12:14:22]MH_I2C_Read... [12:14:22]Read from MH i2c: F0 09 00 [12:14:22]MH_I2C_Read... [12:14:22]Read from MH i2c: F0 09 00 70 04 00 1F 1E 91 66 AD 14 F4 65 BA [12:14:22]GetLastDocTimeStamp 1720785540 [12:14:22]current date 1720786463 [12:14:22]FM_GetShiftState [12:14:22]SAM_PROTO_GetShiftState [12:14:22]wFMCommunicate request_size=4 [12:14:22]MH_SAM_APDU [12:14:22]CAPDU: 80 13 01 00 [12:14:22]Write to MH i2c: E2 08 00 71 04 80 13 01 00 00 00 00 00 F2 [12:14:22]Write i2c OK [12:14:22]MH_I2C_Read... [12:14:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:22]Read from MH i2c: E2 [12:14:22]MH_I2C_Read... [12:14:22]Read from MH i2c: E2 0E 00 [12:14:22]MH_I2C_Read... [12:14:22]Read from MH i2c: E2 0E 00 71 04 00 09 00 01 17 74 90 66 00 00 00 00 90 00 7F [12:14:22]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [12:14:22]wFMCommunicate OK [12:14:22]SAM_PROTO_GetShiftState done [12:14:22]FM_GetShiftState done [12:14:22]opened in 1720742935 [12:14:22]opened+sec_in_day 1720829335 [12:14:22]quantity*price = 5000 [12:14:22]sum+1 = 5001 [12:14:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 22 12.07.2024 12:14 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33344 ФПД: 272213782998219 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121423&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33344&fm=272213782998219&tin=02508201610067®Number=0000000000093033&sum=5000 0 [12:14:23]StoreToDocumentArchive [12:14:23]shift 433 fd 33344 [12:14:23]save to /storage/0433/doc_00033344 [12:14:23]save last doc name /storage/0433/doc_00033344 to /storage/kkm_last_doc_name [12:14:23]save OK [12:14:23]Clear old archive folders... [12:14:23]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:14:23]tlvbuf is 00A3D750 [12:14:23]SAM_PROTO_ClearQueue [12:14:23]wFMCommunicate request_size=4 [12:14:23]MH_SAM_APDU [12:14:23]CAPDU: 80 09 00 00 [12:14:23]Write to MH i2c: E2 08 00 7E 04 80 09 00 00 00 00 00 00 F4 [12:14:23]Write i2c OK [12:14:23]MH_I2C_Read... [12:14:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:14:23]Read from MH i2c: E2 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 03 00 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 03 00 7E 04 00 90 00 F6 [12:14:23]RAPDU: 90 00 [12:14:23]wFMCommunicate OK [12:14:23]SAM_PROTO_ClearQueue done [12:14:23]KKMCreateOFDPacket [12:14:23]OFDProtocolAddRootSTLVToBuf [12:14:23]FM_MakeSignedData [12:14:23]FM_MakeSignedData [12:14:23]SAM_PROTO_SignData [12:14:23]wFMCommunicate request_size=4 [12:14:23]MH_SAM_APDU [12:14:23]CAPDU: 80 0D 01 02 [12:14:23]Write to MH i2c: E2 08 00 7F 04 80 0D 01 02 00 00 00 00 FC [12:14:23]Write i2c OK [12:14:23]MH_I2C_Read... [12:14:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:14:23]Read from MH i2c: E2 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 03 00 [12:14:23]MH_I2C_Read... [12:14:23]Read from MH i2c: E2 03 00 7F 04 00 90 00 F7 [12:14:23]RAPDU: 90 00 [12:14:23]wFMCommunicate OK [12:14:23]wFMCommunicate request_size=255 [12:14:23]MH_SAM_APDU [12:14:23]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 1E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [12:14:23]Write to MH i2c: E2 02 01 80 04 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 1E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 52 [12:14:23]Write i2c OK [12:14:23]MH_I2C_Read... [12:14:24]OFD Sender: No OFD packet to send [12:14:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:24]Read from MH i2c: E2 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 03 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 03 00 80 04 00 90 00 F8 [12:14:24]RAPDU: 90 00 [12:14:24]wFMCommunicate OK [12:14:24]wFMCommunicate request_size=34 [12:14:24]MH_SAM_APDU [12:14:24]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 40 82 00 00 35 04 06 00 F7 93 B5 D6 AC CB [12:14:24]Write to MH i2c: E2 25 00 81 04 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 40 82 00 00 35 04 06 00 F7 93 B5 D6 AC CB 00 00 07 [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:24]Read from MH i2c: E2 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 03 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 03 00 81 04 00 90 00 F9 [12:14:24]RAPDU: 90 00 [12:14:24]wFMCommunicate OK [12:14:24]wFMCommunicate request_size=4 [12:14:24]MH_SAM_APDU [12:14:24]CAPDU: 80 0D 03 02 [12:14:24]Write to MH i2c: E2 08 00 82 04 80 0D 03 02 00 00 00 00 01 [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:14:24]Read from MH i2c: E2 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 0B 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 0B 00 82 04 00 EE D4 FD 8E A5 12 20 9D 90 00 C3 [12:14:24]RAPDU: EE D4 FD 8E A5 12 20 9D 90 00 [12:14:24]wFMCommunicate OK [12:14:24]SAM_PROTO_SignData done [12:14:24]FM_MakeSignedData done [12:14:24]CreateOFDProtocolMessage [12:14:24]wFMCommunicate request_size=4 [12:14:24]MH_SAM_APDU [12:14:24]CAPDU: 80 11 00 00 [12:14:24]Write to MH i2c: E2 08 00 83 04 80 11 00 00 00 00 00 00 01 [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:24]Read from MH i2c: E2 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 17 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 17 00 83 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4D [12:14:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:14:24]wFMCommunicate OK [12:14:24]CreateOFDProtocolMessage done [12:14:24]OFDSenderStorePacket 33344 [12:14:24]StoreOFDPacket docnum=33344 [12:14:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 61 E3 1F 01 3F 4E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 1E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 40 82 00 00 35 04 06 00 F7 93 B5 D6 AC CB EE D4 FD 8E A5 12 20 9D [12:14:24]CheckFolder [12:14:24]dirname=/storage/ofd_packets [12:14:24]CheckFolder done [12:14:24]ProducePacketName [12:14:24]name=ofd_packets/00033344 [12:14:24]NVStorageSaveData ofd_packets/00033344 [12:14:24]File name is /storage/ofd_packets/00033344 [12:14:24]Write 325 bytes [12:14:24]NVStorageSaveData done [12:14:24]OFDSenderStorePacket done [12:14:24]KKMCreateOFDPacket done [12:14:24]NVStorageSaveData kkm_last_timestamp [12:14:24]File name is /storage/kkm_last_timestamp [12:14:24]Write 4 bytes [12:14:24]NVStorageSaveData done [12:14:24]ExternCall_PrintAddStr [12:14:24]wPrintStart [12:14:24]Write to MH i2c: 01 00 00 84 04 88 [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: 01 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: 01 07 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: 01 07 00 84 04 00 00 00 00 00 FF 0F 9D [12:14:24]RasterBufferAndPrint [12:14:24]line Счет N : (3)169162 [12:14:24]line ИНН: 02508201610067 [12:14:24]line Контрольно-Кассовый Чек [12:14:24]line ПРОДАЖА [12:14:24]line Товар: 5449000005489 [12:14:24]line Вода Бонаква 1л б/г [12:14:24]line 1.000 * 50.00 [12:14:24]line = 50.00 [12:14:24]line НДС 12% НСП 1% [12:14:24]line > о реализуемом товаре [12:14:24]line ИТОГО: 50.00 [12:14:24]line НСП 1% : 0.44 [12:14:24]line НДС 12% : 5.31 [12:14:24]line Наличными: 50.00 [12:14:24]line Безнал.: 0.00 [12:14:24]line Место: АЗС № 77 "Партнер Нефть" [12:14:24]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:14:24]line СНО: Общий режим [12:14:24]line Чек 22 12.07.2024 12:14 [12:14:24]line Смена: 433 ФФД: 1.0 [12:14:24]line ЗНМ: 0300000122 [12:14:24]line РНМ: 0000000000093033 [12:14:24]line Версия ККМ: 001 [12:14:24]line ФМ: 0000000000875104 [12:14:24]line ФД: 33344 [12:14:24]line ФПД: 272213782998219 [12:14:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T121423&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33344&fm=272213782998219&tin=02508201610067®Number=0000000000093033&sum=5000 [12:14:24]OFD Sender: Processing packet 33344 [packets to send 6, broken 5] [12:14:24]ProducePacketName [12:14:24]name=ofd_packets/00033344 [12:14:24]OFD Sender: To server: pG, [12:14:24]CommunicateWithHost lk.salyk.kg:30040 [12:14:24]ConnectInit lk.salyk.kg [12:14:24]line 0 [12:14:24]written 0, free lines is 4095 [12:14:24]Connected sock=10 [12:14:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 61 E3 1F 01 3F 4E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1F 1E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 40 82 00 00 35 04 06 00 F7 93 B5 D6 AC CB EE D4 FD 8E A5 12 20 9D [12:14:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 C9 2E 47 00 DB 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 40 82 00 00 F4 03 04 00 CC C8 90 66 B6 04 01 00 00 10 1A 82 7F 57 F9 BE 84 [12:14:25]CommunicateWithHost err = 0 [12:14:25]CheckOFDResponse [12:14:25]1017 (14) - 77093643461234 [12:14:25]1041 (16) - 0000000000875104 [12:14:25]1040 (4) - 33344 [12:14:25]1012 (4) - 12.07.2024 06:10 [12:14:25]1206 (1) - 0 [12:14:25]OFD Sender: Remove packet 33344 [12:14:25]ProducePacketName [12:14:25]name=ofd_packets/00033344 [12:14:25]NVStorageDeleteData [12:14:25]Write to MH i2c: 01 00 00 AC 04 B0 [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: 01 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: 01 07 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: 01 07 00 AC 04 00 00 00 00 00 01 0D C5 [12:14:25]RasterBufferAndPrint [12:14:25]line [12:14:25]line [12:14:25]line [12:14:25]line [12:14:25]line [12:14:25]written 0, free lines is 3335 [12:14:25]MH_Cut [12:14:25]Write to MH i2c: D1 01 00 B3 04 01 89 [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: D1 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: D1 01 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: D1 01 00 B3 04 00 88 [12:14:25]Write to MH i2c: 01 00 00 B4 04 B8 [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]OFD Sender: No OFD packet to send [12:14:25]*** Cut start [12:14:25]*** Partial cut [12:14:25]*** CUTSNS_PIN = 1 [12:14:25]*** CUTSNS_PIN = 0 [12:14:26]*** Brake cut motor [12:14:26]Read from MH i2c: 01 [12:14:26]MH_I2C_Read... [12:14:26]*** Stop cut motor [12:14:26]*** Cut end [12:14:26]Read from MH i2c: 01 07 00 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: 01 07 00 B4 04 00 00 00 00 00 FF 0F CD [12:14:26]process_action close_receipt done [12:14:26]requested_data is exist [12:14:26]produce_requested_data [12:14:26]requested_item fm.sn is exist - process it [12:14:26]wFMCommunicate request_size=4 [12:14:26]MH_SAM_APDU [12:14:26]CAPDU: 80 11 00 00 [12:14:26]Write to MH i2c: E2 08 00 B5 04 80 11 00 00 00 00 00 00 33 [12:14:26]Write i2c OK [12:14:26]MH_I2C_Read... [12:14:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:26]Read from MH i2c: E2 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: E2 17 00 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: E2 17 00 B5 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7F [12:14:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:14:26]wFMCommunicate OK [12:14:26]requested_item fd.num is exist - process it [12:14:26]SAM_PROTO_GetFieldsCounters [12:14:26]wFMCommunicate request_size=4 [12:14:26]MH_SAM_APDU [12:14:26]CAPDU: 80 13 00 00 [12:14:26]Write to MH i2c: E2 08 00 B6 04 80 13 00 00 00 00 00 00 36 [12:14:26]Write i2c OK [12:14:26]MH_I2C_Read... [12:14:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:14:26]Read from MH i2c: E2 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: E2 62 00 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: E2 62 00 B6 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 40 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 FF [12:14:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 40 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:14:26]wFMCommunicate OK [12:14:26]SAM_PROTO_GetFieldsCounters done [12:14:26]requested_item shift.num is exist - process it [12:14:26]requested_item shift.opened is exist - process it [12:14:26]req_shift_opened [12:14:26]FM_GetShiftState [12:14:26]SAM_PROTO_GetShiftState [12:14:26]wFMCommunicate request_size=4 [12:14:26]MH_SAM_APDU [12:14:26]CAPDU: 80 13 01 00 [12:14:26]Write to MH i2c: E2 08 00 B7 04 80 13 01 00 00 00 00 00 38 [12:14:26]Write i2c OK [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: E2 [12:14:26]MH_I2C_Read... [12:14:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:26]Read from MH i2c: E2 0E 00 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: E2 0E 00 B7 04 00 09 00 01 17 74 90 66 00 00 00 00 90 00 C5 [12:14:26]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [12:14:26]wFMCommunicate OK [12:14:26]SAM_PROTO_GetShiftState done [12:14:26]FM_GetShiftState done [12:14:26]req_shift_opened done [12:14:26]requested_item shift.open_date is exist - process it [12:14:26]req_shift_open_date [12:14:26]req_shift_open_date done [12:14:26]produce_requested_data done [12:14:26]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33344,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [12:14:26]process_action_free close_receipt [12:14:26]json_value_free [12:14:26]json_value_free done [12:14:26]process_json_proto returns [12:14:26]Send response to host [12:14:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33344,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [12:14:26]free response buf [12:14:26]execute_script done [12:14:26]execute_script returns [12:14:26]free content buf [12:14:26]Sock 9.Close socket [12:14:26]Sock 9.Thread stoped [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23:00]OFD Sender: No OFD packet to send [12:23:05]OFD Sender: No OFD packet to send [12:23:10]OFD Sender: No OFD packet to send [12:23:15]OFD Sender: No OFD packet to send [12:23:20]OFD Sender: No OFD packet to send [12:23:25]OFD Sender: No OFD packet to send [12:23:30]OFD Sender: No OFD packet to send [12:23:35]OFD Sender: No OFD packet to send [12:23:40]OFD Sender: No OFD packet to send [12:23:45]OFD Sender: No OFD packet to send [12:23:50]OFD Sender: No OFD packet to send [12:23:55]OFD Sender: No OFD packet to send [12:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:11]OFD Sender: No OFD packet to send [12:24:16]OFD Sender: No OFD packet to send [12:24:21]OFD Sender: No OFD packet to send [12:24:26]OFD Sender: No OFD packet to send [12:24:31]OFD Sender: No OFD packet to send [12:24:36]OFD Sender: No OFD packet to send [12:24:41]OFD Sender: No OFD packet to send [12:24:46]OFD Sender: No OFD packet to send [12:24:51]OFD Sender: No OFD packet to send [12:24:56]OFD Sender: No OFD packet to send [12:25:01]OFD Sender: No OFD packet to send [12:25:06]OFD Sender: No OFD packet to send [12:25:11]OFD Sender: No OFD packet to send [12:25:16]OFD Sender: No OFD packet to send [12:25:21]OFD Sender: No OFD packet to send [12:25:26]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:07]accept exits with 7 [12:28:07]New connection [12:28:07]New thread 3066461540 created [12:28:07]Thread 3066604900 joined [12:28:07]Waiting for new connection... [12:28:07] Sock 7.Parse request [12:28:07]Sock 7.Check first char [12:28:07]Sock 7.First char is OK [12:28:07]request: POST /json_proto HTTP/1.0 [12:28:07]Method: POST [12:28:07]URL: /json_proto [12:28:07]Method is POST - this is cgi request [12:28:07]url: /json_proto [12:28:07]query_string will be loaded in cgi processing [12:28:07]execute_cgi json_proto POST (null) [12:28:07]execute_cgi path=json_proto method=POST [12:28:07]POST find Content-Length [12:28:07]Host: 172.17.35.196:8080 [12:28:07]Content-Length: 635 [12:28:07]Content-Type: application/json [12:28:07] [12:28:07]POST finish read [12:28:07]Found Content-Length = 635 [12:28:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169163", "tax_sys" : 0, "items" : [ { "code": "4607969940024", "name": "Bizon \u044D\u043D\u0435\u0440. \u043D\u0430\u043F\u0438\u0442\u043E\u043A Black", "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" ] } } [12:28:07]execute_script... [12:28:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169163", "tax_sys" : 0, "items" : [ { "code": "4607969940024", "name": "Bizon \u044D\u043D\u0435\u0440. \u043D\u0430\u043F\u0438\u0442\u043E\u043A Black", "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" ] } } [12:28:07]POST & json_proto [12:28:07]process_json_proto [12:28:07]json parsed OK: [12:28:07]protocol is kg_v1.0 [12:28:07]action value=close_receipt [12:28:07]process_action close_receipt [12:28:07]cmd_close_receipt [12:28:07]MH_GetDate [12:28:07]Write to MH i2c: F0 00 00 B8 04 AB [12:28:07]Write i2c OK [12:28:07]MH_I2C_Read... [12:28:07]Read from MH i2c: F0 [12:28:07]MH_I2C_Read... [12:28:07]Read from MH i2c: F0 09 00 [12:28:07]MH_I2C_Read... [12:28:07]Read from MH i2c: F0 09 00 B8 04 00 58 21 91 66 AD 14 F4 65 3E [12:28:07]GetLastDocTimeStamp 1720786463 [12:28:07]current date 1720787288 [12:28:07]FM_GetShiftState [12:28:07]SAM_PROTO_GetShiftState [12:28:07]wFMCommunicate request_size=4 [12:28:07]MH_SAM_APDU [12:28:07]CAPDU: 80 13 01 00 [12:28:07]Write to MH i2c: E2 08 00 B9 04 80 13 01 00 00 00 00 00 3A [12:28:07]Write i2c OK [12:28:07]MH_I2C_Read... [12:28:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:28:07]Read from MH i2c: E2 [12:28:07]MH_I2C_Read... [12:28:07]Read from MH i2c: E2 0E 00 [12:28:07]MH_I2C_Read... [12:28:07]Read from MH i2c: E2 0E 00 B9 04 00 09 00 01 17 74 90 66 00 00 00 00 90 00 C7 [12:28:07]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [12:28:07]wFMCommunicate OK [12:28:07]SAM_PROTO_GetShiftState done [12:28:07]FM_GetShiftState done [12:28:07]opened in 1720742935 [12:28:07]opened+sec_in_day 1720829335 [12:28:07]quantity*price = 8500 [12:28:07]sum+1 = 8501 [12:28:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 23 12.07.2024 12:28 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33345 ФПД: 51722803949689 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T122808&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33345&fm=51722803949689&tin=02508201610067®Number=0000000000093033&sum=8500 0 [12:28:08]StoreToDocumentArchive [12:28:08]shift 433 fd 33345 [12:28:08]save to /storage/0433/doc_00033345 [12:28:08]save last doc name /storage/0433/doc_00033345 to /storage/kkm_last_doc_name [12:28:08]save OK [12:28:08]Clear old archive folders... [12:28:08]ProcessDocumentItem done err = 0, tmpTLVsize=278 [12:28:08]tlvbuf is 00A6A030 [12:28:08]SAM_PROTO_ClearQueue [12:28:08]wFMCommunicate request_size=4 [12:28:08]MH_SAM_APDU [12:28:08]CAPDU: 80 09 00 00 [12:28:08]Write to MH i2c: E2 08 00 C6 04 80 09 00 00 00 00 00 00 3C [12:28:08]Write i2c OK [12:28:08]MH_I2C_Read... [12:28:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:28:08]Read from MH i2c: E2 [12:28:08]MH_I2C_Read... [12:28:08]Read from MH i2c: E2 03 00 [12:28:08]MH_I2C_Read... [12:28:08]Read from MH i2c: E2 03 00 C6 04 00 90 00 3E [12:28:08]RAPDU: 90 00 [12:28:08]wFMCommunicate OK [12:28:08]SAM_PROTO_ClearQueue done [12:28:08]KKMCreateOFDPacket [12:28:08]OFDProtocolAddRootSTLVToBuf [12:28:08]FM_MakeSignedData [12:28:08]FM_MakeSignedData [12:28:08]SAM_PROTO_SignData [12:28:08]wFMCommunicate request_size=4 [12:28:08]MH_SAM_APDU [12:28:08]CAPDU: 80 0D 01 02 [12:28:08]Write to MH i2c: E2 08 00 C7 04 80 0D 01 02 00 00 00 00 44 [12:28:08]Write i2c OK [12:28:08]MH_I2C_Read... [12:28:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:28:08]Read from MH i2c: E2 [12:28:08]MH_I2C_Read... [12:28:08]Read from MH i2c: E2 03 00 [12:28:08]MH_I2C_Read... [12:28:08]Read from MH i2c: E2 03 00 C7 04 00 90 00 3F [12:28:08]RAPDU: 90 00 [12:28:08]wFMCommunicate OK [12:28:08]wFMCommunicate request_size=255 [12:28:08]MH_SAM_APDU [12:28:08]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 30 37 39 36 39 39 34 30 30 32 34 06 04 24 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 42 6C 61 63 6B 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 17 00 00 00 F4 03 04 00 58 21 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 [12:28:08]Write to MH i2c: E2 02 01 C8 04 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 30 37 39 36 39 39 34 30 30 32 34 06 04 24 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 42 6C 61 63 6B 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 17 00 00 00 F4 03 04 00 58 21 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 00 00 CA [12:28:08]Write i2c OK [12:28:08]MH_I2C_Read... [12:28:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:28:09]Read from MH i2c: E2 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: E2 03 00 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: E2 03 00 C8 04 00 90 00 40 [12:28:09]RAPDU: 90 00 [12:28:09]wFMCommunicate OK [12:28:09]wFMCommunicate request_size=37 [12:28:09]MH_SAM_APDU [12:28:09]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 41 82 00 00 35 04 06 00 2F 0A A7 5B 30 79 [12:28:09]Write to MH i2c: E2 28 00 C9 04 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 41 82 00 00 35 04 06 00 2F 0A A7 5B 30 79 00 00 3E [12:28:09]Write i2c OK [12:28:09]MH_I2C_Read... [12:28:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:28:09]Read from MH i2c: E2 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: E2 03 00 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: E2 03 00 C9 04 00 90 00 41 [12:28:09]RAPDU: 90 00 [12:28:09]wFMCommunicate OK [12:28:09]wFMCommunicate request_size=4 [12:28:09]MH_SAM_APDU [12:28:09]CAPDU: 80 0D 03 02 [12:28:09]Write to MH i2c: E2 08 00 CA 04 80 0D 03 02 00 00 00 00 49 [12:28:09]Write i2c OK [12:28:09]MH_I2C_Read... [12:28:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:28:09]Read from MH i2c: E2 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: E2 0B 00 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: E2 0B 00 CA 04 00 D9 A6 5B 4E 35 B8 2A CD 90 00 56 [12:28:09]RAPDU: D9 A6 5B 4E 35 B8 2A CD 90 00 [12:28:09]wFMCommunicate OK [12:28:09]SAM_PROTO_SignData done [12:28:09]FM_MakeSignedData done [12:28:09]CreateOFDProtocolMessage [12:28:09]wFMCommunicate request_size=4 [12:28:09]MH_SAM_APDU [12:28:09]CAPDU: 80 11 00 00 [12:28:09]Write to MH i2c: E2 08 00 CB 04 80 11 00 00 00 00 00 00 49 [12:28:09]Write i2c OK [12:28:09]MH_I2C_Read... [12:28:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:28:09]Read from MH i2c: E2 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: E2 17 00 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: E2 17 00 CB 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 95 [12:28:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:28:09]wFMCommunicate OK [12:28:09]CreateOFDProtocolMessage done [12:28:09]OFDSenderStorePacket 33345 [12:28:09]StoreOFDPacket docnum=33345 [12:28:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2A 01 00 00 F6 B0 22 01 8A A9 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 32 34 06 04 24 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 42 6C 61 63 6B 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 17 00 00 00 F4 03 04 00 58 21 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 41 82 00 00 35 04 06 00 2F 0A A7 5B 30 79 D9 A6 5B 4E 35 B8 2A CD [12:28:09]CheckFolder [12:28:09]dirname=/storage/ofd_packets [12:28:09]CheckFolder done [12:28:09]ProducePacketName [12:28:09]name=ofd_packets/00033345 [12:28:09]NVStorageSaveData ofd_packets/00033345 [12:28:09]File name is /storage/ofd_packets/00033345 [12:28:09]Write 328 bytes [12:28:09]NVStorageSaveData done [12:28:09]OFDSenderStorePacket done [12:28:09]KKMCreateOFDPacket done [12:28:09]NVStorageSaveData kkm_last_timestamp [12:28:09]File name is /storage/kkm_last_timestamp [12:28:09]Write 4 bytes [12:28:09]NVStorageSaveData done [12:28:09]ExternCall_PrintAddStr [12:28:09]wPrintStart [12:28:09]Write to MH i2c: 01 00 00 CC 04 D0 [12:28:09]Write i2c OK [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: 01 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: 01 07 00 [12:28:09]MH_I2C_Read... [12:28:09]Read from MH i2c: 01 07 00 CC 04 00 00 00 00 00 FF 0F E5 [12:28:09]RasterBufferAndPrint [12:28:09]line Счет N : (3)169163 [12:28:09]line ИНН: 02508201610067 [12:28:09]line Контрольно-Кассовый Чек [12:28:09]line ПРОДАЖА [12:28:09]line Товар: 4607969940024 [12:28:09]line Bizon энер. напиток Black [12:28:09]line 1.000 * 85.00 [12:28:09]line = 85.00 [12:28:09]line НДС 12% НСП 1% [12:28:09]line > о реализуемом товаре [12:28:09]line ИТОГО: 85.00 [12:28:09]line НСП 1% : 0.75 [12:28:09]line НДС 12% : 9.03 [12:28:09]line Наличными: 85.00 [12:28:09]line Безнал.: 0.00 [12:28:09]line Место: АЗС № 77 "Партнер Нефть" [12:28:09]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [12:28:09]line СНО: Общий режим [12:28:09]line Чек 23 12.07.2024 12:28 [12:28:09]line Смена: 433 ФФД: 1.0 [12:28:09]line ЗНМ: 0300000122 [12:28:09]line РНМ: 0000000000093033 [12:28:09]line Версия ККМ: 001 [12:28:09]line ФМ: 0000000000875104 [12:28:09]line ФД: 33345 [12:28:09]line ФПД: 51722803949689 [12:28:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T122808&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33345&fm=51722803949689&tin=02508201610067®Number=0000000000093033&sum=8500 [12:28:09]line 0 [12:28:09]OFD Sender: Processing packet 33345 [packets to send 6, broken 5] [12:28:09]ProducePacketName [12:28:09]name=ofd_packets/00033345 [12:28:09]OFD Sender: To server: pG, [12:28:09]CommunicateWithHost lk.salyk.kg:30040 [12:28:09]ConnectInit lk.salyk.kg [12:28:09]written 0, free lines is 4095 [12:28:09]Connected sock=10 [12:28:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2A 01 00 00 F6 B0 22 01 8A A9 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 39 36 39 39 34 30 30 32 34 06 04 24 00 42 69 7A 6F 6E 20 D1 8D D0 BD D0 B5 D1 80 2E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 42 6C 61 63 6B 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 17 00 00 00 F4 03 04 00 58 21 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 41 82 00 00 35 04 06 00 2F 0A A7 5B 30 79 D9 A6 5B 4E 35 B8 2A CD [12:28:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 BD 11 47 00 F8 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 41 82 00 00 F4 03 04 00 05 CC 90 66 B6 04 01 00 00 B9 83 44 E0 9C 94 4E 92 [12:28:10]CommunicateWithHost err = 0 [12:28:10]CheckOFDResponse [12:28:10]1017 (14) - 77093643461234 [12:28:10]1041 (16) - 0000000000875104 [12:28:10]1040 (4) - 33345 [12:28:10]1012 (4) - 12.07.2024 06:24 [12:28:10]1206 (1) - 0 [12:28:10]OFD Sender: Remove packet 33345 [12:28:10]ProducePacketName [12:28:10]name=ofd_packets/00033345 [12:28:10]NVStorageDeleteData [12:28:10]Write to MH i2c: 01 00 00 F4 04 F8 [12:28:10]Write i2c OK [12:28:10]MH_I2C_Read... [12:28:10]Read from MH i2c: 01 [12:28:10]MH_I2C_Read... [12:28:10]Read from MH i2c: 01 07 00 [12:28:10]MH_I2C_Read... [12:28:10]Read from MH i2c: 01 07 00 F4 04 00 00 00 00 00 FC 0C 07 [12:28:10]RasterBufferAndPrint [12:28:10]line [12:28:10]line [12:28:10]line [12:28:10]line [12:28:10]line [12:28:10]written 0, free lines is 3331 [12:28:10]MH_Cut [12:28:10]Write to MH i2c: D1 01 00 FB 04 01 D1 [12:28:10]Write i2c OK [12:28:10]MH_I2C_Read... [12:28:10]Read from MH i2c: D1 [12:28:10]MH_I2C_Read... [12:28:10]Read from MH i2c: D1 01 00 [12:28:10]MH_I2C_Read... [12:28:10]Read from MH i2c: D1 01 00 FB 04 00 D0 [12:28:10]Write to MH i2c: 01 00 00 FC 04 00 [12:28:10]Write i2c OK [12:28:10]MH_I2C_Read... [12:28:10]OFD Sender: No OFD packet to send [12:28:10]*** Cut start [12:28:10]*** Partial cut [12:28:10]*** CUTSNS_PIN = 1 [12:28:10]*** CUTSNS_PIN = 0 [12:28:11]*** Brake cut motor [12:28:11]Read from MH i2c: 01 [12:28:11]MH_I2C_Read... [12:28:11]*** Stop cut motor [12:28:11]*** Cut end [12:28:11]Read from MH i2c: 01 07 00 [12:28:11]MH_I2C_Read... [12:28:11]Read from MH i2c: 01 07 00 FC 04 00 00 00 00 00 FF 0F 15 [12:28:11]process_action close_receipt done [12:28:11]requested_data is exist [12:28:11]produce_requested_data [12:28:11]requested_item fm.sn is exist - process it [12:28:11]wFMCommunicate request_size=4 [12:28:11]MH_SAM_APDU [12:28:11]CAPDU: 80 11 00 00 [12:28:11]Write to MH i2c: E2 08 00 FD 04 80 11 00 00 00 00 00 00 7B [12:28:11]Write i2c OK [12:28:11]MH_I2C_Read... [12:28:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:28:11]Read from MH i2c: E2 [12:28:11]MH_I2C_Read... [12:28:11]Read from MH i2c: E2 17 00 [12:28:11]MH_I2C_Read... [12:28:11]Read from MH i2c: E2 17 00 FD 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C7 [12:28:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [12:28:11]wFMCommunicate OK [12:28:11]requested_item fd.num is exist - process it [12:28:11]SAM_PROTO_GetFieldsCounters [12:28:11]wFMCommunicate request_size=4 [12:28:11]MH_SAM_APDU [12:28:11]CAPDU: 80 13 00 00 [12:28:11]Write to MH i2c: E2 08 00 FE 04 80 13 00 00 00 00 00 00 7E [12:28:11]Write i2c OK [12:28:11]MH_I2C_Read... [12:28:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:28:11]Read from MH i2c: E2 [12:28:11]MH_I2C_Read... [12:28:11]Read from MH i2c: E2 62 00 [12:28:11]MH_I2C_Read... [12:28:11]Read from MH i2c: E2 62 00 FE 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 41 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 4B [12:28:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 41 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:28:11]wFMCommunicate OK [12:28:11]SAM_PROTO_GetFieldsCounters done [12:28:11]requested_item shift.num is exist - process it [12:28:11]requested_item shift.opened is exist - process it [12:28:11]req_shift_opened [12:28:11]FM_GetShiftState [12:28:11]SAM_PROTO_GetShiftState [12:28:11]wFMCommunicate request_size=4 [12:28:11]MH_SAM_APDU [12:28:11]CAPDU: 80 13 01 00 [12:28:11]Write to MH i2c: E2 08 00 FF 04 80 13 01 00 00 00 00 00 80 [12:28:11]Write i2c OK [12:28:11]MH_I2C_Read... [12:28:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:28:11]Read from MH i2c: E2 [12:28:11]MH_I2C_Read... [12:28:11]Read from MH i2c: E2 0E 00 [12:28:11]MH_I2C_Read... [12:28:11]Read from MH i2c: E2 0E 00 FF 04 00 09 00 01 17 74 90 66 00 00 00 00 90 00 0D [12:28:11]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [12:28:11]wFMCommunicate OK [12:28:11]SAM_PROTO_GetShiftState done [12:28:11]FM_GetShiftState done [12:28:11]req_shift_opened done [12:28:11]requested_item shift.open_date is exist - process it [12:28:11]req_shift_open_date [12:28:11]req_shift_open_date done [12:28:11]produce_requested_data done [12:28:11]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33345,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [12:28:11]process_action_free close_receipt [12:28:11]json_value_free [12:28:11]json_value_free done [12:28:11]process_json_proto returns [12:28:11]Send response to host [12:28:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33345,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [12:28:11]free response buf [12:28:11]execute_script done [12:28:11]execute_script returns [12:28:11]free content buf [12:28:11]Sock 7.Close socket [12:28:11]Sock 7.Thread stoped [12:28:15]OFD Sender: No OFD packet to send [12:28:20]OFD Sender: No OFD packet to send [12:28:25]OFD Sender: No OFD packet to send [12:28:30]OFD Sender: No OFD packet to send [12:28:35]OFD Sender: No OFD packet to send [12:28:40]OFD Sender: No OFD packet to send [12:28:45]OFD Sender: No OFD packet to send [12:28:50]OFD Sender: No OFD packet to send [12:28:55]OFD Sender: No OFD packet to send [12:29:00]OFD Sender: No OFD packet to send [12:29:05]OFD Sender: No OFD packet to send [12:29:10]OFD Sender: No OFD packet to send [12:29:15]OFD Sender: No OFD packet to send [12:29:20]OFD Sender: No OFD packet to send [12:29:25]OFD Sender: No OFD packet to send [12:29:30]OFD Sender: No OFD packet to send [12:29:35]OFD Sender: No OFD packet to send [12:29:40]OFD Sender: No OFD packet to send [12:29:45]OFD Sender: No OFD packet to send [12:29:50]OFD Sender: No OFD packet to send [12:29:55]OFD Sender: No OFD packet to send [12:30:00]OFD Sender: No OFD packet to send [12:30:05]OFD Sender: No OFD packet to send [12:30:10]OFD Sender: No OFD packet to send [12:30:15]OFD Sender: No OFD packet to send [12:30:20]OFD Sender: No OFD packet to send [12:30:25]OFD Sender: No OFD packet to send [12:30:30]OFD Sender: No OFD packet to send [12:30:35]OFD Sender: No OFD packet to send [12:30:40]OFD Sender: No OFD packet to send [12:30:45]OFD Sender: No OFD packet to send [12:30:50]OFD Sender: No OFD packet to send [12:30:55]OFD Sender: No OFD packet to send [12:31:00]OFD Sender: No OFD packet to send [12:31:05]OFD Sender: No OFD packet to send [12:31:10]OFD Sender: No OFD packet to send [12:31:15]OFD Sender: No OFD packet to send [12:31:20]OFD Sender: No OFD packet to send [12:31:25]OFD Sender: No OFD packet to send [12:31:30]OFD Sender: No OFD packet to send [12:31:35]OFD Sender: No OFD packet to send [12:31:40]OFD Sender: No OFD packet to send [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]OFD Sender: No OFD packet to send [12:32:55]OFD Sender: No OFD packet to send [12:33:00]OFD Sender: No OFD packet to send [12:33:05]OFD Sender: No OFD packet to send [12:33:10]OFD Sender: No OFD packet to send [12:33:15]OFD Sender: No OFD packet to send [12:33:20]OFD Sender: No OFD packet to send [12:33:25]OFD Sender: No OFD packet to send [12:33:30]OFD Sender: No OFD packet to send [12:33:35]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38: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:11]OFD Sender: No OFD packet to send [12:49:16]OFD Sender: No OFD packet to send [12:49:21]OFD Sender: No OFD packet to send [12:49:26]OFD Sender: No OFD packet to send [12:49:31]OFD Sender: No OFD packet to send [12:49:36]OFD Sender: No OFD packet to send [12:49:41]OFD Sender: No OFD packet to send [12:49:46]OFD Sender: No OFD packet to send [12:49:51]OFD Sender: No OFD packet to send [12:49:56]OFD Sender: No OFD packet to send [12:50:01]OFD Sender: No OFD packet to send [12:50:06]OFD Sender: No OFD packet to send [12:50:11]OFD Sender: No OFD packet to send [12:50:16]OFD Sender: No OFD packet to send [12:50:21]OFD Sender: No OFD packet to send [12:50:26]OFD Sender: No OFD packet to send [12:50:31]OFD Sender: No OFD packet to send [12:50:36]OFD Sender: No OFD packet to send [12:50:41]OFD Sender: No OFD packet to send [12:50:46]OFD Sender: No OFD packet to send [12:50:51]OFD Sender: No OFD packet to send [12:50:56]OFD Sender: No OFD packet to send [12:51:01]OFD Sender: No OFD packet to send [12:51:06]OFD Sender: No OFD packet to send [12:51:11]OFD Sender: No OFD packet to send [12:51:16]OFD Sender: No OFD packet to send [12:51:21]OFD Sender: No OFD packet to send [12:51:26]OFD Sender: No OFD packet to send [12:51:31]OFD Sender: No OFD packet to send [12:51:36]OFD Sender: No OFD packet to send [12:51:41]OFD Sender: No OFD packet to send [12:51:46]OFD Sender: No OFD packet to send [12:51:51]OFD Sender: No OFD packet to send [12:51:56]OFD Sender: No OFD packet to send [12:52:01]OFD Sender: No OFD packet to send [12:52:06]OFD Sender: No OFD packet to send [12:52:11]OFD Sender: No OFD packet to send [12:52:16]OFD Sender: No OFD packet to send [12:52:21]OFD Sender: No OFD packet to send [12:52:26]OFD Sender: No OFD packet to send [12:52:31]OFD Sender: No OFD packet to send [12:52:36]OFD Sender: No OFD packet to send [12:52:41]OFD Sender: No OFD packet to send [12:52:46]OFD Sender: No OFD packet to send [12:52:51]OFD Sender: No OFD packet to send [12:52:56]OFD Sender: No OFD packet to send [12:53:01]OFD Sender: No OFD packet to send [12:53:06]OFD Sender: No OFD packet to send [12:53:11]OFD Sender: No OFD packet to send [12:53:16]OFD Sender: No OFD packet to send [12:53:21]OFD Sender: No OFD packet to send [12:53:26]OFD Sender: No OFD packet to send [12:53:31]OFD Sender: No OFD packet to send [12:53:36]OFD Sender: No OFD packet to send [12:53:41]OFD Sender: No OFD packet to send [12:53:46]OFD Sender: No OFD packet to send [12:53:51]OFD Sender: No OFD packet to send [12:53:56]OFD Sender: No OFD packet to send [12:54:01]OFD Sender: No OFD packet to send [12:54:06]OFD Sender: No OFD packet to send [12:54:11]OFD Sender: No OFD packet to send [12:54:16]OFD Sender: No OFD packet to send [12:54:21]OFD Sender: No OFD packet to send [12:54:26]OFD Sender: No OFD packet to send [12:54:31]OFD Sender: No OFD packet to send [12:54:36]OFD Sender: No OFD packet to send [12:54:41]OFD Sender: No OFD packet to send [12:54:46]OFD Sender: No OFD packet to send [12:54:51]OFD Sender: No OFD packet to send [12:54:56]OFD Sender: No OFD packet to send [12:55:01]OFD Sender: No OFD packet to send [12:55:06]OFD Sender: No OFD packet to send [12:55:11]OFD Sender: No OFD packet to send [12:55:16]OFD Sender: No OFD packet to send [12:55:21]OFD Sender: No OFD packet to send [12:55:26]OFD Sender: No OFD packet to send [12:55:31]OFD Sender: No OFD packet to send [12:55:36]OFD Sender: No OFD packet to send [12:55:41]OFD Sender: No OFD packet to send [12:55:46]OFD Sender: No OFD packet to send [12:55:51]OFD Sender: No OFD packet to send [12:55:56]OFD Sender: No OFD packet to send [12:56:01]OFD Sender: No OFD packet to send [12:56:06]OFD Sender: No OFD packet to send [12:56:11]OFD Sender: No OFD packet to send [12:56:16]OFD Sender: No OFD packet to send [12:56:21]OFD Sender: No OFD packet to send [12:56:26]OFD Sender: No OFD packet to send [12:56:31]OFD Sender: No OFD packet to send [12:56:36]OFD Sender: No OFD packet to send [12:56:41]OFD Sender: No OFD packet to send [12:56:46]OFD Sender: No OFD packet to send [12:56:51]OFD Sender: No OFD packet to send [12:56:56]OFD Sender: No OFD packet to send [12:57:01]OFD Sender: No OFD packet to send [12:57:06]OFD Sender: No OFD packet to send [12:57:11]OFD Sender: No OFD packet to send [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:45]int [12:58:45]Write to MH i2c: 01 00 00 00 05 05 [12:58:45]*** FLAG_PRN_KEY set [12:58:45]Write i2c OK [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: 01 [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: 01 07 00 [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: 01 07 00 00 05 00 08 00 00 00 FF 0F 22 [12:58:45]state=0 [12:58:45]Key pressed [12:58:45]Feed [12:58:45]Write to MH i2c: D8 00 00 01 05 DD [12:58:45]Write i2c OK [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: D8 [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: D8 01 00 [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: D8 01 00 01 05 00 DE [12:58:45]int [12:58:45]Write to MH i2c: 01 00 00 02 05 07 [12:58:45]Write i2c OK [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: 01 [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: 01 07 00 [12:58:45]MH_I2C_Read... [12:58:45]Read from MH i2c: 01 07 00 02 05 00 48 00 00 00 3C 00 92 [12:58:45]state=2 [12:58:45]Key pressed [12:58:46]int [12:58:46]Write to MH i2c: 01 00 00 03 05 08 [12:58:46]*** FLAG_PRN_KEY reset [12:58:46]Write i2c OK [12:58:46]MH_I2C_Read... [12:58:46]Read from MH i2c: 01 [12:58:46]MH_I2C_Read... [12:58:46]Read from MH i2c: 01 07 00 [12:58:46]MH_I2C_Read... [12:58:46]Read from MH i2c: 01 07 00 03 05 00 00 00 00 00 F6 0F 14 [12:58:46]state=2 [12:58:46]Stop feed [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]OFD Sender: No OFD packet to send [12:59:01]OFD Sender: No OFD packet to send [12:59:06]OFD Sender: No OFD packet to send [12:59:11]OFD Sender: No OFD packet to send [12:59:16]OFD Sender: No OFD packet to send [12:59:21]OFD Sender: No OFD packet to send [12:59:26]OFD Sender: No OFD packet to send [12:59:31]OFD Sender: No OFD packet to send [12:59:37]OFD Sender: No OFD packet to send [12:59:42]OFD Sender: No OFD packet to send [12:59:47]OFD Sender: No OFD packet to send [12:59:52]OFD Sender: No OFD packet to send [12:59:57]OFD Sender: No OFD packet to send [13:00:02]OFD Sender: No OFD packet to send [13:00:07]OFD Sender: No OFD packet to send [13:00:12]OFD Sender: No OFD packet to send [13:00:17]OFD Sender: No OFD packet to send [13:00:22]OFD Sender: No OFD packet to send [13:00:27]OFD Sender: No OFD packet to send [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:12]OFD Sender: No OFD packet to send [13:01:17]OFD Sender: No OFD packet to send [13:01:22]OFD Sender: No OFD packet to send [13:01:27]OFD Sender: No OFD packet to send [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:22]OFD Sender: No OFD packet to send [13:02:26]accept exits with 9 [13:02:26]New connection [13:02:26]New thread 3066604900 created [13:02:26]Thread 3066461540 joined [13:02:26]Waiting for new connection... [13:02:26] Sock 9.Parse request [13:02:26]Sock 9.Check first char [13:02:26]Sock 9.First char is OK [13:02:26]request: POST /json_proto HTTP/1.0 [13:02:26]Method: POST [13:02:26]URL: /json_proto [13:02:26]Method is POST - this is cgi request [13:02:26]url: /json_proto [13:02:26]query_string will be loaded in cgi processing [13:02:26]execute_cgi json_proto POST (null) [13:02:26]execute_cgi path=json_proto method=POST [13:02:26]POST find Content-Length [13:02:26]Host: 172.17.35.196:8080 [13:02:26]Content-Length: 1163 [13:02:26]Content-Type: application/json [13:02:26] [13:02:26]POST finish read [13:02:26]Found Content-Length = 1163 [13:02:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670102\u000A12.07.2024 12:56\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 23\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 10.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 663.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30150025\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:02:26]execute_script... [13:02:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670102\u000A12.07.2024 12:56\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 23\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 10.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 663.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30150025\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:02:26]POST & json_proto [13:02:26]process_json_proto [13:02:26]json parsed OK: [13:02:26]protocol is kg_v1.0 [13:02:26]action value=print_text [13:02:26]process_action print_text [13:02:26]cmd_print_text [13:02:26]ExternCall_PrintAddStr [13:02:26]wPrintStart [13:02:26]Write to MH i2c: 01 00 00 04 05 09 [13:02:26]Write i2c OK [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: 01 [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: 01 07 00 [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: 01 07 00 04 05 00 00 00 00 00 FF 0F 1E [13:02:26]RasterBufferAndPrint [13:02:26]line *****ТОВАРНЫЙ ЧЕК***** [13:02:26]line АЗС 77 [13:02:26]line Партнер нефть [13:02:26]line 02508201610067 [13:02:26]line Кассир : Ташыбеков М. [13:02:26]line Счет N : (1)5670102 [13:02:26]line 12.07.2024 12:56 [13:02:26]line ПРОДАЖА [13:02:26]line ТРК (МРК, ГНК): 23 [13:02:26]line Вид ГСМ : 2710124130 [13:02:26]line Аи-92-К-5 [13:02:26]line 10.000 x 66.30 [13:02:26]line ИТОГ: 663.00 [13:02:26]line Тип оплаты: Талоны: ТК ГПНА Online [13:02:26]line 30150025 [13:02:26]line ______________________ [13:02:26]line (подпись) [13:02:26]written 0, free lines is 4095 [13:02:26]Write to MH i2c: 01 00 00 18 05 1D [13:02:26]Write i2c OK [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: 01 [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: 01 07 00 [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: 01 07 00 18 05 00 00 00 00 00 12 0E 44 [13:02:26]RasterBufferAndPrint [13:02:26]line [13:02:26]line [13:02:26]line [13:02:26]line [13:02:26]line [13:02:26]written 0, free lines is 3603 [13:02:26]MH_Cut [13:02:26]Write to MH i2c: D1 01 00 1F 05 01 F6 [13:02:26]Write i2c OK [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: D1 [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: D1 01 00 [13:02:26]MH_I2C_Read... [13:02:26]Read from MH i2c: D1 01 00 1F 05 00 F5 [13:02:26]Write to MH i2c: 01 00 00 20 05 25 [13:02:26]Write i2c OK [13:02:26]MH_I2C_Read... [13:02:26]*** Cut start [13:02:26]*** Partial cut [13:02:26]*** CUTSNS_PIN = 1 [13:02:27]*** CUTSNS_PIN = 0 [13:02:27]OFD Sender: No OFD packet to send [13:02:27]*** Brake cut motor [13:02:27]Read from MH i2c: 01 [13:02:27]MH_I2C_Read... [13:02:27]*** Stop cut motor [13:02:27]*** Cut end [13:02:27]Read from MH i2c: 01 07 00 [13:02:27]MH_I2C_Read... [13:02:27]Read from MH i2c: 01 07 00 20 05 00 00 00 00 00 FF 0F 3A [13:02:27]process_action print_text done [13:02:27]requested_data is exist [13:02:27]produce_requested_data [13:02:27]requested_item fm.sn is exist - process it [13:02:27]wFMCommunicate request_size=4 [13:02:27]MH_SAM_APDU [13:02:27]CAPDU: 80 11 00 00 [13:02:27]Write to MH i2c: E2 08 00 21 05 80 11 00 00 00 00 00 00 A0 [13:02:27]Write i2c OK [13:02:27]MH_I2C_Read... [13:02:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:02:27]Read from MH i2c: E2 [13:02:27]MH_I2C_Read... [13:02:27]Read from MH i2c: E2 17 00 [13:02:27]MH_I2C_Read... [13:02:27]Read from MH i2c: E2 17 00 21 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EC [13:02:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:02:27]wFMCommunicate OK [13:02:27]requested_item fd.num is exist - process it [13:02:27]SAM_PROTO_GetFieldsCounters [13:02:27]wFMCommunicate request_size=4 [13:02:27]MH_SAM_APDU [13:02:27]CAPDU: 80 13 00 00 [13:02:27]Write to MH i2c: E2 08 00 22 05 80 13 00 00 00 00 00 00 A3 [13:02:27]Write i2c OK [13:02:27]MH_I2C_Read... [13:02:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:02:27]Read from MH i2c: E2 [13:02:27]MH_I2C_Read... [13:02:27]Read from MH i2c: E2 62 00 [13:02:27]MH_I2C_Read... [13:02:27]Read from MH i2c: E2 62 00 22 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 41 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [13:02:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 41 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:02:27]wFMCommunicate OK [13:02:27]SAM_PROTO_GetFieldsCounters done [13:02:27]requested_item shift.num is exist - process it [13:02:27]requested_item shift.opened is exist - process it [13:02:27]req_shift_opened [13:02:27]FM_GetShiftState [13:02:27]SAM_PROTO_GetShiftState [13:02:27]wFMCommunicate request_size=4 [13:02:27]MH_SAM_APDU [13:02:27]CAPDU: 80 13 01 00 [13:02:27]Write to MH i2c: E2 08 00 23 05 80 13 01 00 00 00 00 00 A5 [13:02:27]Write i2c OK [13:02:27]MH_I2C_Read... [13:02:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:02:27]Read from MH i2c: E2 [13:02:27]MH_I2C_Read... [13:02:27]Read from MH i2c: E2 0E 00 [13:02:27]MH_I2C_Read... [13:02:27]Read from MH i2c: E2 0E 00 23 05 00 09 00 01 17 74 90 66 00 00 00 00 90 00 32 [13:02:27]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [13:02:27]wFMCommunicate OK [13:02:27]SAM_PROTO_GetShiftState done [13:02:27]FM_GetShiftState done [13:02:27]req_shift_opened done [13:02:27]requested_item shift.open_date is exist - process it [13:02:27]req_shift_open_date [13:02:27]req_shift_open_date done [13:02:27]produce_requested_data done [13:02:27]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33345,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [13:02:27]process_action_free print_text [13:02:27]json_value_free [13:02:27]json_value_free done [13:02:27]process_json_proto returns [13:02:27]Send response to host [13:02:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33345,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [13:02:27]free response buf [13:02:27]execute_script done [13:02:27]execute_script returns [13:02:27]free content buf [13:02:27]Sock 9.Close socket [13:02:27]Sock 9.Thread stoped [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:07]OFD Sender: No OFD packet to send [13:03:12]OFD Sender: No OFD packet to send [13:03:17]OFD Sender: No OFD packet to send [13:03:22]OFD Sender: No OFD packet to send [13:03:27]OFD Sender: No OFD packet to send [13:03:32]OFD Sender: No OFD packet to send [13:03:37]OFD Sender: No OFD packet to send [13:03:42]OFD Sender: No OFD packet to send [13:03:47]OFD Sender: No OFD packet to send [13:03:52]OFD Sender: No OFD packet to send [13:03:57]OFD Sender: No OFD packet to send [13:04:02]OFD Sender: No OFD packet to send [13:04:07]OFD Sender: No OFD packet to send [13:04:12]OFD Sender: No OFD packet to send [13:04:17]OFD Sender: No OFD packet to send [13:04:22]OFD Sender: No OFD packet to send [13:04:27]OFD Sender: No OFD packet to send [13:04:29]accept exits with 7 [13:04:29]New connection [13:04:29]New thread 3066461540 created [13:04:29]Thread 3066604900 joined [13:04:29]Waiting for new connection... [13:04:29] Sock 7.Parse request [13:04:29]Sock 7.Check first char [13:04:29]Sock 7.First char is OK [13:04:29]request: POST /json_proto HTTP/1.0 [13:04:29]Method: POST [13:04:29]URL: /json_proto [13:04:29]Method is POST - this is cgi request [13:04:29]url: /json_proto [13:04:29]query_string will be loaded in cgi processing [13:04:29]execute_cgi json_proto POST (null) [13:04:29]execute_cgi path=json_proto method=POST [13:04:29]POST find Content-Length [13:04:29]Host: 172.17.35.196:8080 [13:04:29]Content-Length: 872 [13:04:29]Content-Type: application/json [13:04:29] [13:04:29]POST finish read [13:04:29]Found Content-Length = 872 [13:04:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169164", "tax_sys" : 0, "items" : [ { "code": "4650243871842", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F 0,275 \u043B \u041C\u0410\u041D\u0413\u041E \u041A\u041E\u041A\u041E\u0421", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:04:29]execute_script... [13:04: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)169164", "tax_sys" : 0, "items" : [ { "code": "4650243871842", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F 0,275 \u043B \u041C\u0410\u041D\u0413\u041E \u041A\u041E\u041A\u041E\u0421", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:04:29]POST & json_proto [13:04:29]process_json_proto [13:04:29]json parsed OK: [13:04:29]protocol is kg_v1.0 [13:04:29]action value=close_receipt [13:04:29]process_action close_receipt [13:04:29]cmd_close_receipt [13:04:29]MH_GetDate [13:04:29]Write to MH i2c: F0 00 00 24 05 18 [13:04:29]Write i2c OK [13:04:29]MH_I2C_Read... [13:04:29]Read from MH i2c: F0 [13:04:29]MH_I2C_Read... [13:04:29]Read from MH i2c: F0 09 00 [13:04:29]MH_I2C_Read... [13:04:29]Read from MH i2c: F0 09 00 24 05 00 DE 29 91 66 AD 14 F4 65 39 [13:04:29]GetLastDocTimeStamp 1720787288 [13:04:29]current date 1720789470 [13:04:29]FM_GetShiftState [13:04:29]SAM_PROTO_GetShiftState [13:04:29]wFMCommunicate request_size=4 [13:04:29]MH_SAM_APDU [13:04:29]CAPDU: 80 13 01 00 [13:04:29]Write to MH i2c: E2 08 00 25 05 80 13 01 00 00 00 00 00 A7 [13:04:29]Write i2c OK [13:04:29]MH_I2C_Read... [13:04:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:04:29]Read from MH i2c: E2 [13:04:29]MH_I2C_Read... [13:04:29]Read from MH i2c: E2 0E 00 [13:04:29]MH_I2C_Read... [13:04:29]Read from MH i2c: E2 0E 00 25 05 00 09 00 01 17 74 90 66 00 00 00 00 90 00 34 [13:04:29]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [13:04:29]wFMCommunicate OK [13:04:29]SAM_PROTO_GetShiftState done [13:04:29]FM_GetShiftState done [13:04:29]opened in 1720742935 [13:04:29]opened+sec_in_day 1720829335 [13:04:29]quantity*price = 18000 [13:04:29]sum+1 = 18001 [13:04:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 0.00 Безнал.: 180.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 24 12.07.2024 13:04 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33346 ФПД: 126591495368170 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T130430&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33346&fm=126591495368170&tin=02508201610067®Number=0000000000093033&sum=18000 0 [13:04:30]StoreToDocumentArchive [13:04:30]shift 433 fd 33346 [13:04:30]save to /storage/0433/doc_00033346 [13:04:30]save last doc name /storage/0433/doc_00033346 to /storage/kkm_last_doc_name [13:04:30]save OK [13:04:30]Clear old archive folders... [13:04:30]ProcessDocumentItem done err = 0, tmpTLVsize=292 [13:04:30]tlvbuf is B6F034D0 [13:04:30]SAM_PROTO_ClearQueue [13:04:30]wFMCommunicate request_size=4 [13:04:30]MH_SAM_APDU [13:04:30]CAPDU: 80 09 00 00 [13:04:30]Write to MH i2c: E2 08 00 32 05 80 09 00 00 00 00 00 00 A9 [13:04:30]Write i2c OK [13:04:30]MH_I2C_Read... [13:04:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:04:30]Read from MH i2c: E2 [13:04:30]MH_I2C_Read... [13:04:30]Read from MH i2c: E2 03 00 [13:04:30]MH_I2C_Read... [13:04:30]Read from MH i2c: E2 03 00 32 05 00 90 00 AB [13:04:30]RAPDU: 90 00 [13:04:30]wFMCommunicate OK [13:04:30]SAM_PROTO_ClearQueue done [13:04:30]KKMCreateOFDPacket [13:04:30]OFDProtocolAddRootSTLVToBuf [13:04:30]FM_MakeSignedData [13:04:30]FM_MakeSignedData [13:04:30]SAM_PROTO_SignData [13:04:30]wFMCommunicate request_size=4 [13:04:30]MH_SAM_APDU [13:04:30]CAPDU: 80 0D 01 02 [13:04:30]Write to MH i2c: E2 08 00 33 05 80 0D 01 02 00 00 00 00 B1 [13:04:30]Write i2c OK [13:04:30]MH_I2C_Read... [13:04:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:04:30]Read from MH i2c: E2 [13:04:30]MH_I2C_Read... [13:04:30]Read from MH i2c: E2 03 00 [13:04:30]MH_I2C_Read... [13:04:30]Read from MH i2c: E2 03 00 33 05 00 90 00 AC [13:04:30]RAPDU: 90 00 [13:04:30]wFMCommunicate OK [13:04:30]wFMCommunicate request_size=255 [13:04:30]MH_SAM_APDU [13:04:30]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 34 32 06 04 32 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 20 D0 BB 20 D0 9C D0 90 D0 9D D0 93 D0 9E 20 D0 9A D0 9E D0 9A D0 9E D0 A1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 DE 29 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [13:04:30]Write to MH i2c: E2 02 01 34 05 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 34 32 06 04 32 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 20 D0 BB 20 D0 9C D0 90 D0 9D D0 93 D0 9E 20 D0 9A D0 9E D0 9A D0 9E D0 A1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 DE 29 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 C4 [13:04:30]Write i2c OK [13:04:30]MH_I2C_Read... [13:04:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:04:31]Read from MH i2c: E2 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: E2 03 00 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: E2 03 00 34 05 00 90 00 AD [13:04:31]RAPDU: 90 00 [13:04:31]wFMCommunicate OK [13:04:31]wFMCommunicate request_size=51 [13:04:31]MH_SAM_APDU [13:04:31]CAPDU: 80 0D 02 02 2E 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 42 82 00 00 35 04 06 00 73 22 61 1C ED EA [13:04:31]Write to MH i2c: E2 36 00 35 05 80 0D 02 02 2E 00 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 42 82 00 00 35 04 06 00 73 22 61 1C ED EA 00 00 E4 [13:04:31]Write i2c OK [13:04:31]MH_I2C_Read... [13:04:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:04:31]Read from MH i2c: E2 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: E2 03 00 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: E2 03 00 35 05 00 90 00 AE [13:04:31]RAPDU: 90 00 [13:04:31]wFMCommunicate OK [13:04:31]wFMCommunicate request_size=4 [13:04:31]MH_SAM_APDU [13:04:31]CAPDU: 80 0D 03 02 [13:04:31]Write to MH i2c: E2 08 00 36 05 80 0D 03 02 00 00 00 00 B6 [13:04:31]Write i2c OK [13:04:31]MH_I2C_Read... [13:04:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:04:31]Read from MH i2c: E2 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: E2 0B 00 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: E2 0B 00 36 05 00 31 F2 BB AB 21 B2 37 3B 90 00 85 [13:04:31]RAPDU: 31 F2 BB AB 21 B2 37 3B 90 00 [13:04:31]wFMCommunicate OK [13:04:31]SAM_PROTO_SignData done [13:04:31]FM_MakeSignedData done [13:04:31]CreateOFDProtocolMessage [13:04:31]wFMCommunicate request_size=4 [13:04:31]MH_SAM_APDU [13:04:31]CAPDU: 80 11 00 00 [13:04:31]Write to MH i2c: E2 08 00 37 05 80 11 00 00 00 00 00 00 B6 [13:04:31]Write i2c OK [13:04:31]MH_I2C_Read... [13:04:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:04:31]Read from MH i2c: E2 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: E2 17 00 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: E2 17 00 37 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 02 [13:04:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:04:31]wFMCommunicate OK [13:04:31]CreateOFDProtocolMessage done [13:04:31]OFDSenderStorePacket 33346 [13:04:31]StoreOFDPacket docnum=33346 [13:04:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 38 01 00 00 ED D6 30 01 73 E2 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 34 32 06 04 32 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 20 D0 BB 20 D0 9C D0 90 D0 9D D0 93 D0 9E 20 D0 9A D0 9E D0 9A D0 9E D0 A1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 DE 29 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 42 82 00 00 35 04 06 00 73 22 61 1C ED EA 31 F2 BB AB 21 B2 37 3B [13:04:31]CheckFolder [13:04:31]dirname=/storage/ofd_packets [13:04:31]CheckFolder done [13:04:31]ProducePacketName [13:04:31]name=ofd_packets/00033346 [13:04:31]NVStorageSaveData ofd_packets/00033346 [13:04:31]File name is /storage/ofd_packets/00033346 [13:04:31]Write 342 bytes [13:04:31]NVStorageSaveData done [13:04:31]OFDSenderStorePacket done [13:04:31]KKMCreateOFDPacket done [13:04:31]NVStorageSaveData kkm_last_timestamp [13:04:31]File name is /storage/kkm_last_timestamp [13:04:31]Write 4 bytes [13:04:31]NVStorageSaveData done [13:04:31]ExternCall_PrintAddStr [13:04:31]wPrintStart [13:04:31]Write to MH i2c: 01 00 00 38 05 3D [13:04:31]Write i2c OK [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: 01 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: 01 07 00 [13:04:31]MH_I2C_Read... [13:04:31]Read from MH i2c: 01 07 00 38 05 00 00 00 00 00 FF 0F 52 [13:04:31]RasterBufferAndPrint [13:04:31]line Счет N : (3)169164 [13:04:31]line ИНН: 02508201610067 [13:04:31]line Контрольно-Кассовый Чек [13:04:31]line ПРОДАЖА [13:04:31]line Товар: 4650243871842 [13:04:31]line Gorilla эн нап 0,275 л МАНГО КОКОС [13:04:31]line 2.000 * 90.00 [13:04:31]line = 180.00 [13:04:31]line НДС 12% НСП 1% [13:04:31]line > о реализуемом товаре [13:04:31]line ИТОГО: 180.00 [13:04:31]line НСП 1% : 1.59 [13:04:31]line НДС 12% : 19.11 [13:04:31]line Наличными: 0.00 [13:04:31]line Безнал.: 180.00 [13:04:31]line Место: АЗС № 77 "Партнер Нефть" [13:04:31]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:04:31]line СНО: Общий режим [13:04:31]line Чек 24 12.07.2024 13:04 [13:04:31]line Смена: 433 ФФД: 1.0 [13:04:31]line ЗНМ: 0300000122 [13:04:31]line РНМ: 0000000000093033 [13:04:31]line Версия ККМ: 001 [13:04:31]line Платежная система: АКБ Кыргызстан [13:04:31]line ФМ: 0000000000875104 [13:04:31]line ФД: 33346 [13:04:31]line ФПД: 126591495368170 [13:04:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T130430&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33346&fm=126591495368170&tin=02508201610067®Number=0000000000093033&sum=18000 [13:04:31]line 0 [13:04:31]OFD Sender: Processing packet 33346 [packets to send 6, broken 5] [13:04:31]ProducePacketName [13:04:31]name=ofd_packets/00033346 [13:04:31]OFD Sender: To server: pG, [13:04:31]CommunicateWithHost lk.salyk.kg:30040 [13:04:31]ConnectInit lk.salyk.kg [13:04:31]written 0, free lines is 4095 [13:04:31]Connected sock=10 [13:04:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 38 01 00 00 ED D6 30 01 73 E2 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 34 32 06 04 32 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 20 D0 BB 20 D0 9C D0 90 D0 9D D0 93 D0 9E 20 D0 9A D0 9E D0 9A D0 9E D0 A1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 DE 29 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 42 82 00 00 35 04 06 00 73 22 61 1C ED EA 31 F2 BB AB 21 B2 37 3B [13:04:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 F6 42 47 00 73 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 38 37 35 31 30 34 10 04 04 00 42 82 00 00 F4 03 04 00 8B D4 90 66 B6 04 01 00 00 AC 49 A8 81 FE B2 D9 DD [13:04:31]CommunicateWithHost err = 0 [13:04:31]CheckOFDResponse [13:04:31]1017 (14) - 77093643461234 [13:04:31]1041 (16) - 0000000000875104 [13:04:31]1040 (4) - 33346 [13:04:31]1012 (4) - 12.07.2024 07:00 [13:04:31]1206 (1) - 0 [13:04:31]OFD Sender: Remove packet 33346 [13:04:31]ProducePacketName [13:04:31]name=ofd_packets/00033346 [13:04:31]NVStorageDeleteData [13:04:32]Write to MH i2c: 01 00 00 63 05 68 [13:04:32]Write i2c OK [13:04:32]MH_I2C_Read... [13:04:32]Read from MH i2c: 01 [13:04:32]MH_I2C_Read... [13:04:32]Read from MH i2c: 01 07 00 [13:04:32]MH_I2C_Read... [13:04:32]Read from MH i2c: 01 07 00 63 05 00 00 00 00 00 CB 0C 46 [13:04:32]RasterBufferAndPrint [13:04:32]line [13:04:32]line [13:04:32]line [13:04:32]line [13:04:32]line [13:04:32]written 0, free lines is 3281 [13:04:32]MH_Cut [13:04:32]Write to MH i2c: D1 01 00 6A 05 01 41 [13:04:32]Write i2c OK [13:04:32]MH_I2C_Read... [13:04:32]Read from MH i2c: D1 [13:04:32]MH_I2C_Read... [13:04:32]Read from MH i2c: D1 01 00 [13:04:32]MH_I2C_Read... [13:04:32]Read from MH i2c: D1 01 00 6A 05 00 40 [13:04:32]Write to MH i2c: 01 00 00 6B 05 70 [13:04:32]Write i2c OK [13:04:32]MH_I2C_Read... [13:04:32]OFD Sender: No OFD packet to send [13:04:32]*** Cut start [13:04:32]*** Partial cut [13:04:32]*** CUTSNS_PIN = 1 [13:04:32]*** CUTSNS_PIN = 0 [13:04:33]*** Brake cut motor [13:04:33]Read from MH i2c: 01 [13:04:33]MH_I2C_Read... [13:04:33]*** Stop cut motor [13:04:33]*** Cut end [13:04:33]Read from MH i2c: 01 07 00 [13:04:33]MH_I2C_Read... [13:04:33]Read from MH i2c: 01 07 00 6B 05 00 00 00 00 00 FF 0F 85 [13:04:33]process_action close_receipt done [13:04:33]requested_data is exist [13:04:33]produce_requested_data [13:04:33]requested_item fm.sn is exist - process it [13:04:33]wFMCommunicate request_size=4 [13:04:33]MH_SAM_APDU [13:04:33]CAPDU: 80 11 00 00 [13:04:33]Write to MH i2c: E2 08 00 6C 05 80 11 00 00 00 00 00 00 EB [13:04:33]Write i2c OK [13:04:33]MH_I2C_Read... [13:04:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:04:33]Read from MH i2c: E2 [13:04:33]MH_I2C_Read... [13:04:33]Read from MH i2c: E2 17 00 [13:04:33]MH_I2C_Read... [13:04:33]Read from MH i2c: E2 17 00 6C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 37 [13:04:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:04:33]wFMCommunicate OK [13:04:33]requested_item fd.num is exist - process it [13:04:33]SAM_PROTO_GetFieldsCounters [13:04:33]wFMCommunicate request_size=4 [13:04:33]MH_SAM_APDU [13:04:33]CAPDU: 80 13 00 00 [13:04:33]Write to MH i2c: E2 08 00 6D 05 80 13 00 00 00 00 00 00 EE [13:04:33]Write i2c OK [13:04:33]MH_I2C_Read... [13:04:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:04:33]Read from MH i2c: E2 [13:04:33]MH_I2C_Read... [13:04:33]Read from MH i2c: E2 62 00 [13:04:33]MH_I2C_Read... [13:04:33]Read from MH i2c: E2 62 00 6D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 42 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [13:04:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 42 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:04:33]wFMCommunicate OK [13:04:33]SAM_PROTO_GetFieldsCounters done [13:04:33]requested_item shift.num is exist - process it [13:04:33]requested_item shift.opened is exist - process it [13:04:33]req_shift_opened [13:04:33]FM_GetShiftState [13:04:33]SAM_PROTO_GetShiftState [13:04:33]wFMCommunicate request_size=4 [13:04:33]MH_SAM_APDU [13:04:33]CAPDU: 80 13 01 00 [13:04:33]Write to MH i2c: E2 08 00 6E 05 80 13 01 00 00 00 00 00 F0 [13:04:33]Write i2c OK [13:04:33]MH_I2C_Read... [13:04:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:04:33]Read from MH i2c: E2 [13:04:33]MH_I2C_Read... [13:04:33]Read from MH i2c: E2 0E 00 [13:04:33]MH_I2C_Read... [13:04:33]Read from MH i2c: E2 0E 00 6E 05 00 09 00 01 17 74 90 66 00 00 00 00 90 00 7D [13:04:33]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [13:04:33]wFMCommunicate OK [13:04:33]SAM_PROTO_GetShiftState done [13:04:33]FM_GetShiftState done [13:04:33]req_shift_opened done [13:04:33]requested_item shift.open_date is exist - process it [13:04:33]req_shift_open_date [13:04:33]req_shift_open_date done [13:04:33]produce_requested_data done [13:04:33]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33346,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [13:04:33]process_action_free close_receipt [13:04:33]json_value_free [13:04:33]json_value_free done [13:04:33]process_json_proto returns [13:04:33]Send response to host [13:04:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33346,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [13:04:33]free response buf [13:04:33]execute_script done [13:04:33]execute_script returns [13:04:33]free content buf [13:04:33]Sock 7.Close socket [13:04:33]Sock 7.Thread stoped [13:04:37]OFD Sender: No OFD packet to send [13:04:42]OFD Sender: No OFD packet to send [13:04:47]OFD Sender: No OFD packet to send [13:04:52]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:27]OFD Sender: No OFD packet to send [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:02]OFD Sender: No OFD packet to send [13:10:07]OFD Sender: No OFD packet to send [13:10:12]OFD Sender: No OFD packet to send [13:10:17]OFD Sender: No OFD packet to send [13:10:22]OFD Sender: No OFD packet to send [13:10:27]OFD Sender: No OFD packet to send [13:10:32]OFD Sender: No OFD packet to send [13:10:37]OFD Sender: No OFD packet to send [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]OFD Sender: No OFD packet to send [13:11:17]OFD Sender: No OFD packet to send [13:11:22]OFD Sender: No OFD packet to send [13:11:27]OFD Sender: No OFD packet to send [13:11:32]OFD Sender: No OFD packet to send [13:11:37]OFD Sender: No OFD packet to send [13:11:42]OFD Sender: No OFD packet to send [13:11:47]OFD Sender: No OFD packet to send [13:11:52]OFD Sender: No OFD packet to send [13:11:57]OFD Sender: No OFD packet to send [13:12:02]OFD Sender: No OFD packet to send [13:12:07]OFD Sender: No OFD packet to send [13:12:12]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:04]accept exits with 9 [13:14:04]New connection [13:14:04]New thread 3066604900 created [13:14:04]Thread 3066461540 joined [13:14:04]Waiting for new connection... [13:14:04] Sock 9.Parse request [13:14:04]Sock 9.Check first char [13:14:04]Sock 9.First char is OK [13:14:04]request: POST /json_proto HTTP/1.0 [13:14:04]Method: POST [13:14:04]URL: /json_proto [13:14:04]Method is POST - this is cgi request [13:14:04]url: /json_proto [13:14:04]query_string will be loaded in cgi processing [13:14:04]execute_cgi json_proto POST (null) [13:14:04]execute_cgi path=json_proto method=POST [13:14:04]POST find Content-Length [13:14:04]Host: 172.17.35.196:8080 [13:14:04]Content-Length: 747 [13:14:04]Content-Type: application/json [13:14:04] [13:14:04]POST finish read [13:14:04]Found Content-Length = 747 [13:14:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169167", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:14:04]execute_script... [13:14: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)169167", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:14:04]POST & json_proto [13:14:04]process_json_proto [13:14:04]json parsed OK: [13:14:04]protocol is kg_v1.0 [13:14:04]action value=close_receipt [13:14:04]process_action close_receipt [13:14:04]cmd_close_receipt [13:14:04]MH_GetDate [13:14:04]Write to MH i2c: F0 00 00 6F 05 63 [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: F0 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: F0 09 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: F0 09 00 6F 05 00 1D 2C 91 66 AD 14 F4 65 C6 [13:14:04]GetLastDocTimeStamp 1720789470 [13:14:04]current date 1720790045 [13:14:04]FM_GetShiftState [13:14:04]SAM_PROTO_GetShiftState [13:14:04]wFMCommunicate request_size=4 [13:14:04]MH_SAM_APDU [13:14:04]CAPDU: 80 13 01 00 [13:14:04]Write to MH i2c: E2 08 00 70 05 80 13 01 00 00 00 00 00 F2 [13:14:04]Write i2c OK [13:14:04]MH_I2C_Read... [13:14:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:14:04]Read from MH i2c: E2 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 0E 00 [13:14:04]MH_I2C_Read... [13:14:04]Read from MH i2c: E2 0E 00 70 05 00 09 00 01 17 74 90 66 00 00 00 00 90 00 7F [13:14:04]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [13:14:04]wFMCommunicate OK [13:14:04]SAM_PROTO_GetShiftState done [13:14:04]FM_GetShiftState done [13:14:04]opened in 1720742935 [13:14:04]opened+sec_in_day 1720829335 [13:14:04]quantity*price = 59000 [13:14:04]sum+1 = 59001 [13:14:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 590.00 НСП 1% : 5.22 НДС 12% : 62.65 Наличными: 590.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 25 12.07.2024 13:14 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33347 ФПД: 53347060632774 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T131405&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33347&fm=53347060632774&tin=02508201610067®Number=0000000000093033&sum=59000 0 [13:14:05]StoreToDocumentArchive [13:14:05]shift 433 fd 33347 [13:14:05]save to /storage/0433/doc_00033347 [13:14:05]save last doc name /storage/0433/doc_00033347 to /storage/kkm_last_doc_name [13:14:05]save OK [13:14:05]Clear old archive folders... [13:14:05]ProcessDocumentItem done err = 0, tmpTLVsize=307 [13:14:05]tlvbuf is 00A6FF10 [13:14:05]SAM_PROTO_ClearQueue [13:14:05]wFMCommunicate request_size=4 [13:14:05]MH_SAM_APDU [13:14:05]CAPDU: 80 09 00 00 [13:14:05]Write to MH i2c: E2 08 00 7D 05 80 09 00 00 00 00 00 00 F4 [13:14:05]Write i2c OK [13:14:05]MH_I2C_Read... [13:14:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:14:05]Read from MH i2c: E2 [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: E2 03 00 [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: E2 03 00 7D 05 00 90 00 F6 [13:14:05]RAPDU: 90 00 [13:14:05]wFMCommunicate OK [13:14:05]SAM_PROTO_ClearQueue done [13:14:05]KKMCreateOFDPacket [13:14:05]OFDProtocolAddRootSTLVToBuf [13:14:05]FM_MakeSignedData [13:14:05]FM_MakeSignedData [13:14:05]SAM_PROTO_SignData [13:14:05]wFMCommunicate request_size=4 [13:14:05]MH_SAM_APDU [13:14:05]CAPDU: 80 0D 01 02 [13:14:05]Write to MH i2c: E2 08 00 7E 05 80 0D 01 02 00 00 00 00 FC [13:14:05]Write i2c OK [13:14:05]MH_I2C_Read... [13:14:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:14:05]Read from MH i2c: E2 [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: E2 03 00 [13:14:05]MH_I2C_Read... [13:14:05]Read from MH i2c: E2 03 00 7E 05 00 90 00 F7 [13:14:05]RAPDU: 90 00 [13:14:05]wFMCommunicate OK [13:14:05]wFMCommunicate request_size=255 [13:14:05]MH_SAM_APDU [13:14:05]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 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 1D 2C 91 66 0E 04 04 00 B1 01 00 00 B9 04 [13:14:05]Write to MH i2c: E2 02 01 7F 05 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 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 1D 2C 91 66 0E 04 04 00 B1 01 00 00 B9 04 00 00 8E [13:14:05]Write i2c OK [13:14:05]MH_I2C_Read... [13:14:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:14:06]Read from MH i2c: E2 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: E2 03 00 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: E2 03 00 7F 05 00 90 00 F8 [13:14:06]RAPDU: 90 00 [13:14:06]wFMCommunicate OK [13:14:06]wFMCommunicate request_size=66 [13:14:06]MH_SAM_APDU [13:14:06]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 43 82 00 00 35 04 06 00 30 84 D4 99 4C C6 [13:14:06]Write to MH i2c: E2 45 00 80 05 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 43 82 00 00 35 04 06 00 30 84 D4 99 4C C6 00 00 3B [13:14:06]Write i2c OK [13:14:06]MH_I2C_Read... [13:14:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:14:06]Read from MH i2c: E2 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: E2 03 00 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: E2 03 00 80 05 00 90 00 F9 [13:14:06]RAPDU: 90 00 [13:14:06]wFMCommunicate OK [13:14:06]wFMCommunicate request_size=4 [13:14:06]MH_SAM_APDU [13:14:06]CAPDU: 80 0D 03 02 [13:14:06]Write to MH i2c: E2 08 00 81 05 80 0D 03 02 00 00 00 00 01 [13:14:06]Write i2c OK [13:14:06]MH_I2C_Read... [13:14:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:14:06]Read from MH i2c: E2 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: E2 0B 00 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: E2 0B 00 81 05 00 AA 48 DB 25 D6 71 26 A5 90 00 06 [13:14:06]RAPDU: AA 48 DB 25 D6 71 26 A5 90 00 [13:14:06]wFMCommunicate OK [13:14:06]SAM_PROTO_SignData done [13:14:06]FM_MakeSignedData done [13:14:06]CreateOFDProtocolMessage [13:14:06]wFMCommunicate request_size=4 [13:14:06]MH_SAM_APDU [13:14:06]CAPDU: 80 11 00 00 [13:14:06]Write to MH i2c: E2 08 00 82 05 80 11 00 00 00 00 00 00 01 [13:14:06]Write i2c OK [13:14:06]MH_I2C_Read... [13:14:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:14:06]Read from MH i2c: E2 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: E2 17 00 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: E2 17 00 82 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4D [13:14:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:14:06]wFMCommunicate OK [13:14:06]CreateOFDProtocolMessage done [13:14:06]OFDSenderStorePacket 33347 [13:14:06]StoreOFDPacket docnum=33347 [13:14:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 47 01 00 00 B6 3E 3F 01 BF 31 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 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 1D 2C 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 43 82 00 00 35 04 06 00 30 84 D4 99 4C C6 AA 48 DB 25 D6 71 26 A5 [13:14:06]CheckFolder [13:14:06]dirname=/storage/ofd_packets [13:14:06]CheckFolder done [13:14:06]ProducePacketName [13:14:06]name=ofd_packets/00033347 [13:14:06]NVStorageSaveData ofd_packets/00033347 [13:14:06]File name is /storage/ofd_packets/00033347 [13:14:06]Write 357 bytes [13:14:06]NVStorageSaveData done [13:14:06]OFDSenderStorePacket done [13:14:06]KKMCreateOFDPacket done [13:14:06]NVStorageSaveData kkm_last_timestamp [13:14:06]File name is /storage/kkm_last_timestamp [13:14:06]Write 4 bytes [13:14:06]NVStorageSaveData done [13:14:06]ExternCall_PrintAddStr [13:14:06]wPrintStart [13:14:06]Write to MH i2c: 01 00 00 83 05 88 [13:14:06]Write i2c OK [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: 01 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: 01 07 00 [13:14:06]MH_I2C_Read... [13:14:06]Read from MH i2c: 01 07 00 83 05 00 00 00 00 00 FF 0F 9D [13:14:06]RasterBufferAndPrint [13:14:06]line Счет N : (3)169167 [13:14:06]line ИНН: 02508201610067 [13:14:06]line Контрольно-Кассовый Чек [13:14:06]line ПРОДАЖА [13:14:06]line Товар: 2000029770012 [13:14:06]line Очки солнцезащитные в ассортименте [13:14:06]line 1.000 * 590.00 [13:14:06]line = 590.00 [13:14:06]line НДС 12% НСП 1% [13:14:06]line > о реализуемом товаре [13:14:06]line ИТОГО: 590.00 [13:14:06]line НСП 1% : 5.22 [13:14:06]line НДС 12% : 62.65 [13:14:06]line Наличными: 590.00 [13:14:06]line Безнал.: 0.00 [13:14:06]line Место: АЗС № 77 "Партнер Нефть" [13:14:06]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [13:14:06]line СНО: Общий режим [13:14:06]line Чек 25 12.07.2024 13:14 [13:14:06]line Смена: 433 ФФД: 1.0 [13:14:06]line ЗНМ: 0300000122 [13:14:06]line РНМ: 0000000000093033 [13:14:06]line Версия ККМ: 001 [13:14:06]line ФМ: 0000000000875104 [13:14:06]line ФД: 33347 [13:14:06]line ФПД: 53347060632774 [13:14:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T131405&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33347&fm=53347060632774&tin=02508201610067®Number=0000000000093033&sum=59000 [13:14:06]line 0 [13:14:06]OFD Sender: Processing packet 33347 [packets to send 6, broken 5] [13:14:06]ProducePacketName [13:14:06]name=ofd_packets/00033347 [13:14:06]OFD Sender: To server: pG, [13:14:06]CommunicateWithHost lk.salyk.kg:30040 [13:14:06]ConnectInit lk.salyk.kg [13:14:06]written 0, free lines is 4095 [13:14:06]Connected sock=10 [13:14:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 47 01 00 00 B6 3E 3F 01 BF 31 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 78 E6 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 1D 2C 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 43 82 00 00 35 04 06 00 30 84 D4 99 4C C6 AA 48 DB 25 D6 71 26 A5 [13:14:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D4 D1 47 00 CE 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 43 82 00 00 F4 03 04 00 CA D6 90 66 B6 04 01 00 00 A7 05 E3 4F D6 F5 81 39 [13:14:07]CommunicateWithHost err = 0 [13:14:07]CheckOFDResponse [13:14:07]1017 (14) - 77093643461234 [13:14:07]1041 (16) - 0000000000875104 [13:14:07]1040 (4) - 33347 [13:14:07]1012 (4) - 12.07.2024 07:10 [13:14:07]1206 (1) - 0 [13:14:07]OFD Sender: Remove packet 33347 [13:14:07]ProducePacketName [13:14:07]name=ofd_packets/00033347 [13:14:07]NVStorageDeleteData [13:14:07]Write to MH i2c: 01 00 00 AC 05 B1 [13:14:07]Write i2c OK [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: 01 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: 01 07 00 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: 01 07 00 AC 05 00 00 00 00 00 DB 0C 9F [13:14:07]RasterBufferAndPrint [13:14:07]line [13:14:07]line [13:14:07]line [13:14:07]line [13:14:07]line [13:14:07]written 0, free lines is 3297 [13:14:07]MH_Cut [13:14:07]Write to MH i2c: D1 01 00 B3 05 01 8A [13:14:07]Write i2c OK [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: D1 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: D1 01 00 [13:14:07]MH_I2C_Read... [13:14:07]Read from MH i2c: D1 01 00 B3 05 00 89 [13:14:07]Write to MH i2c: 01 00 00 B4 05 B9 [13:14:07]Write i2c OK [13:14:07]MH_I2C_Read... [13:14:07]OFD Sender: No OFD packet to send [13:14:07]*** Cut start [13:14:07]*** Partial cut [13:14:07]*** CUTSNS_PIN = 1 [13:14:07]*** CUTSNS_PIN = 0 [13:14:08]*** Brake cut motor [13:14:08]Read from MH i2c: 01 [13:14:08]MH_I2C_Read... [13:14:08]*** Stop cut motor [13:14:08]*** Cut end [13:14:08]Read from MH i2c: 01 07 00 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: 01 07 00 B4 05 00 00 00 00 00 FF 0F CE [13:14:08]process_action close_receipt done [13:14:08]requested_data is exist [13:14:08]produce_requested_data [13:14:08]requested_item fm.sn is exist - process it [13:14:08]wFMCommunicate request_size=4 [13:14:08]MH_SAM_APDU [13:14:08]CAPDU: 80 11 00 00 [13:14:08]Write to MH i2c: E2 08 00 B5 05 80 11 00 00 00 00 00 00 34 [13:14:08]Write i2c OK [13:14:08]MH_I2C_Read... [13:14:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:14:08]Read from MH i2c: E2 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 17 00 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 17 00 B5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 80 [13:14:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [13:14:08]wFMCommunicate OK [13:14:08]requested_item fd.num is exist - process it [13:14:08]SAM_PROTO_GetFieldsCounters [13:14:08]wFMCommunicate request_size=4 [13:14:08]MH_SAM_APDU [13:14:08]CAPDU: 80 13 00 00 [13:14:08]Write to MH i2c: E2 08 00 B6 05 80 13 00 00 00 00 00 00 37 [13:14:08]Write i2c OK [13:14:08]MH_I2C_Read... [13:14:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:14:08]Read from MH i2c: E2 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 62 00 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 62 00 B6 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 43 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [13:14:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 43 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:14:08]wFMCommunicate OK [13:14:08]SAM_PROTO_GetFieldsCounters done [13:14:08]requested_item shift.num is exist - process it [13:14:08]requested_item shift.opened is exist - process it [13:14:08]req_shift_opened [13:14:08]FM_GetShiftState [13:14:08]SAM_PROTO_GetShiftState [13:14:08]wFMCommunicate request_size=4 [13:14:08]MH_SAM_APDU [13:14:08]CAPDU: 80 13 01 00 [13:14:08]Write to MH i2c: E2 08 00 B7 05 80 13 01 00 00 00 00 00 39 [13:14:08]Write i2c OK [13:14:08]MH_I2C_Read... [13:14:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:14:08]Read from MH i2c: E2 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 0E 00 [13:14:08]MH_I2C_Read... [13:14:08]Read from MH i2c: E2 0E 00 B7 05 00 09 00 01 17 74 90 66 00 00 00 00 90 00 C6 [13:14:08]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [13:14:08]wFMCommunicate OK [13:14:08]SAM_PROTO_GetShiftState done [13:14:08]FM_GetShiftState done [13:14:08]req_shift_opened done [13:14:08]requested_item shift.open_date is exist - process it [13:14:08]req_shift_open_date [13:14:08]req_shift_open_date done [13:14:08]produce_requested_data done [13:14:08]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33347,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [13:14:08]process_action_free close_receipt [13:14:08]json_value_free [13:14:08]json_value_free done [13:14:08]process_json_proto returns [13:14:08]Send response to host [13:14:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33347,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [13:14:08]free response buf [13:14:08]execute_script done [13:14:08]execute_script returns [13:14:08]free content buf [13:14:08]Sock 9.Close socket [13:14:08]Sock 9.Thread stoped [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:32]OFD Sender: No OFD packet to send [13:23:37]OFD Sender: No OFD packet to send [13:23:42]OFD Sender: No OFD packet to send [13:23:47]OFD Sender: No OFD packet to send [13:23:52]OFD Sender: No OFD packet to send [13:23:57]OFD Sender: No OFD packet to send [13:24:02]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:58]OFD Sender: No OFD packet to send [13:38:03]OFD Sender: No OFD packet to send [13:38:08]OFD Sender: No OFD packet to send [13:38:13]OFD Sender: No OFD packet to send [13:38:18]OFD Sender: No OFD packet to send [13:38:23]OFD Sender: No OFD packet to send [13:38:28]OFD Sender: No OFD packet to send [13:38:33]OFD Sender: No OFD packet to send [13:38:38]OFD Sender: No OFD packet to send [13:38:43]OFD Sender: No OFD packet to send [13:38:48]OFD Sender: No OFD packet to send [13:38:53]OFD Sender: No OFD packet to send [13:38:58]OFD Sender: No OFD packet to send [13:39:03]OFD Sender: No OFD packet to send [13:39:08]OFD Sender: No OFD packet to send [13:39:13]OFD Sender: No OFD packet to send [13:39:18]OFD Sender: No OFD packet to send [13:39:23]OFD Sender: No OFD packet to send [13:39:28]OFD Sender: No OFD packet to send [13:39:33]OFD Sender: No OFD packet to send [13:39:38]OFD Sender: No OFD packet to send [13:39:43]OFD Sender: No OFD packet to send [13:39:48]OFD Sender: No OFD packet to send [13:39:53]OFD Sender: No OFD packet to send [13:39:58]OFD Sender: No OFD packet to send [13:40:03]OFD Sender: No OFD packet to send [13:40:08]OFD Sender: No OFD packet to send [13:40:13]OFD Sender: No OFD packet to send [13:40:18]OFD Sender: No OFD packet to send [13:40:23]OFD Sender: No OFD packet to send [13:40:28]OFD Sender: No OFD packet to send [13:40:33]OFD Sender: No OFD packet to send [13:40:38]OFD Sender: No OFD packet to send [13:40:43]OFD Sender: No OFD packet to send [13:40:48]OFD Sender: No OFD packet to send [13:40:53]OFD Sender: No OFD packet to send [13:40:58]OFD Sender: No OFD packet to send [13:41:03]OFD Sender: No OFD packet to send [13:41:08]OFD Sender: No OFD packet to send [13:41:13]OFD Sender: No OFD packet to send [13:41:18]OFD Sender: No OFD packet to send [13:41:23]OFD Sender: No OFD packet to send [13:41:28]OFD Sender: No OFD packet to send [13:41:33]OFD Sender: No OFD packet to send [13:41:38]OFD Sender: No OFD packet to send [13:41:43]OFD Sender: No OFD packet to send [13:41:48]OFD Sender: No OFD packet to send [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42:03]OFD Sender: No OFD packet to send [13:42:08]OFD Sender: No OFD packet to send [13:42:13]OFD Sender: No OFD packet to send [13:42:18]OFD Sender: No OFD packet to send [13:42:23]OFD Sender: No OFD packet to send [13:42:28]OFD Sender: No OFD packet to send [13:42:33]OFD Sender: No OFD packet to send [13:42:38]OFD Sender: No OFD packet to send [13:42:43]OFD Sender: No OFD packet to send [13:42:48]OFD Sender: No OFD packet to send [13:42:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:18]OFD Sender: No OFD packet to send [13:43:23]OFD Sender: No OFD packet to send [13:43:28]OFD Sender: No OFD packet to send [13:43:33]OFD Sender: No OFD packet to send [13:43:38]OFD Sender: No OFD packet to send [13:43:43]OFD Sender: No OFD packet to send [13:43:48]OFD Sender: No OFD packet to send [13:43:53]OFD Sender: No OFD packet to send [13:43:58]OFD Sender: No OFD packet to send [13:44:03]OFD Sender: No OFD packet to send [13:44:08]OFD Sender: No OFD packet to send [13:44:13]OFD Sender: No OFD packet to send [13:44:18]OFD Sender: No OFD packet to send [13:44:23]OFD Sender: No OFD packet to send [13:44:28]OFD Sender: No OFD packet to send [13:44:33]OFD Sender: No OFD packet to send [13:44:38]OFD Sender: No OFD packet to send [13:44:43]OFD Sender: No OFD packet to send [13:44:48]OFD Sender: No OFD packet to send [13:44:53]OFD Sender: No OFD packet to send [13:44:58]OFD Sender: No OFD packet to send [13:45:03]OFD Sender: No OFD packet to send [13:45:08]OFD Sender: No OFD packet to send [13:45:13]OFD Sender: No OFD packet to send [13:45:18]OFD Sender: No OFD packet to send [13:45:23]OFD Sender: No OFD packet to send [13:45:28]OFD Sender: No OFD packet to send [13:45:33]OFD Sender: No OFD packet to send [13:45:38]OFD Sender: No OFD packet to send [13:45:43]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:24]OFD Sender: No OFD packet to send [13:54:29]OFD Sender: No OFD packet to send [13:54:34]OFD Sender: No OFD packet to send [13:54:39]OFD Sender: No OFD packet to send [13:54:44]OFD Sender: No OFD packet to send [13:54:49]OFD Sender: No OFD packet to send [13:54:54]OFD Sender: No OFD packet to send [13:54:59]OFD Sender: No OFD packet to send [13:55:04]OFD Sender: No OFD packet to send [13:55:09]OFD Sender: No OFD packet to send [13:55:14]OFD Sender: No OFD packet to send [13:55:19]OFD Sender: No OFD packet to send [13:55:24]OFD Sender: No OFD packet to send [13:55:29]OFD Sender: No OFD packet to send [13:55:34]OFD Sender: No OFD packet to send [13:55:39]OFD Sender: No OFD packet to send [13:55:44]OFD Sender: No OFD packet to send [13:55:49]OFD Sender: No OFD packet to send [13:55:54]OFD Sender: No OFD packet to send [13:55:59]OFD Sender: No OFD packet to send [13:56:04]OFD Sender: No OFD packet to send [13:56:09]OFD Sender: No OFD packet to send [13:56:14]OFD Sender: No OFD packet to send [13:56:19]OFD Sender: No OFD packet to send [13:56:24]OFD Sender: No OFD packet to send [13:56:29]OFD Sender: No OFD packet to send [13:56:34]OFD Sender: No OFD packet to send [13:56:39]OFD Sender: No OFD packet to send [13:56:44]OFD Sender: No OFD packet to send [13:56:49]OFD Sender: No OFD packet to send [13:56:54]OFD Sender: No OFD packet to send [13:56:59]OFD Sender: No OFD packet to send [13:57:04]OFD Sender: No OFD packet to send [13:57:09]OFD Sender: No OFD packet to send [13:57:14]OFD Sender: No OFD packet to send [13:57:19]OFD Sender: No OFD packet to send [13:57:24]OFD Sender: No OFD packet to send [13:57:29]OFD Sender: No OFD packet to send [13:57:34]OFD Sender: No OFD packet to send [13:57:39]OFD Sender: No OFD packet to send [13:57:44]OFD Sender: No OFD packet to send [13:57:49]OFD Sender: No OFD packet to send [13:57:54]OFD Sender: No OFD packet to send [13:57:59]OFD Sender: No OFD packet to send [13:58:04]OFD Sender: No OFD packet to send [13:58:09]OFD Sender: No OFD packet to send [13:58:14]OFD Sender: No OFD packet to send [13:58:19]OFD Sender: No OFD packet to send [13:58:24]OFD Sender: No OFD packet to send [13:58:29]OFD Sender: No OFD packet to send [13:58:34]OFD Sender: No OFD packet to send [13:58:39]OFD Sender: No OFD packet to send [13:58:44]OFD Sender: No OFD packet to send [13:58:49]OFD Sender: No OFD packet to send [13:58:54]OFD Sender: No OFD packet to send [13:58:59]OFD Sender: No OFD packet to send [13:59:04]OFD Sender: No OFD packet to send [13:59:09]OFD Sender: No OFD packet to send [13:59:14]OFD Sender: No OFD packet to send [13:59:19]OFD Sender: No OFD packet to send [13:59:24]OFD Sender: No OFD packet to send [13:59:29]OFD Sender: No OFD packet to send [13:59:34]OFD Sender: No OFD packet to send [13:59:39]OFD Sender: No OFD packet to send [13:59:44]OFD Sender: No OFD packet to send [13:59:49]OFD Sender: No OFD packet to send [13:59:54]OFD Sender: No OFD packet to send [13:59:59]OFD Sender: No OFD packet to send [14:00:04]OFD Sender: No OFD packet to send [14:00:09]OFD Sender: No OFD packet to send [14:00:14]OFD Sender: No OFD packet to send [14:00:19]OFD Sender: No OFD packet to send [14:00:24]OFD Sender: No OFD packet to send [14:00:29]OFD Sender: No OFD packet to send [14:00:34]OFD Sender: No OFD packet to send [14:00:39]OFD Sender: No OFD packet to send [14:00:44]OFD Sender: No OFD packet to send [14:00:49]OFD Sender: No OFD packet to send [14:00:54]OFD Sender: No OFD packet to send [14:00:59]OFD Sender: No OFD packet to send [14:01:04]OFD Sender: No OFD packet to send [14:01:09]OFD Sender: No OFD packet to send [14:01:14]OFD Sender: No OFD packet to send [14:01:19]OFD Sender: No OFD packet to send [14:01:24]OFD Sender: No OFD packet to send [14:01:29]OFD Sender: No OFD packet to send [14:01:34]OFD Sender: No OFD packet to send [14:01:39]OFD Sender: No OFD packet to send [14:01:44]OFD Sender: No OFD packet to send [14:01:49]OFD Sender: No OFD packet to send [14:01:54]OFD Sender: No OFD packet to send [14:01:59]OFD Sender: No OFD packet to send [14:02:04]OFD Sender: No OFD packet to send [14:02:09]OFD Sender: No OFD packet to send [14:02:14]OFD Sender: No OFD packet to send [14:02:19]OFD Sender: No OFD packet to send [14:02:24]OFD Sender: No OFD packet to send [14:02:25]int [14:02:25]Write to MH i2c: 01 00 00 B8 05 BD [14:02:25]*** FLAG_PRN_KEY set [14:02:25]Write i2c OK [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 07 00 [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 07 00 B8 05 00 08 00 00 00 FF 0F DA [14:02:25]state=0 [14:02:25]Key pressed [14:02:25]Feed [14:02:25]Write to MH i2c: D8 00 00 B9 05 95 [14:02:25]Write i2c OK [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: D8 [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: D8 01 00 [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: D8 01 00 B9 05 00 96 [14:02:25]int [14:02:25]Write to MH i2c: 01 00 00 BA 05 BF [14:02:25]Write i2c OK [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 07 00 [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 07 00 BA 05 00 48 00 00 00 3C 00 4A [14:02:25]state=2 [14:02:25]Key pressed [14:02:25]int [14:02:25]Write to MH i2c: 01 00 00 BB 05 C0 [14:02:25]*** FLAG_PRN_KEY reset [14:02:25]Write i2c OK [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 07 00 [14:02:25]MH_I2C_Read... [14:02:25]Read from MH i2c: 01 07 00 BB 05 00 00 00 00 00 F5 0F CB [14:02:25]state=2 [14:02:25]Stop feed [14:02:29]OFD Sender: No OFD packet to send [14:02:34]OFD Sender: No OFD packet to send [14:02:39]OFD Sender: No OFD packet to send [14:02:44]OFD Sender: No OFD packet to send [14:02:49]OFD Sender: No OFD packet to send [14:02:54]OFD Sender: No OFD packet to send [14:02:59]OFD Sender: No OFD packet to send [14:03:04]OFD Sender: No OFD packet to send [14:03:09]OFD Sender: No OFD packet to send [14:03:14]OFD Sender: No OFD packet to send [14:03:19]OFD Sender: No OFD packet to send [14:03:24]OFD Sender: No OFD packet to send [14:03:29]OFD Sender: No OFD packet to send [14:03:34]OFD Sender: No OFD packet to send [14:03:39]OFD Sender: No OFD packet to send [14:03:44]OFD Sender: No OFD packet to send [14:03:49]OFD Sender: No OFD packet to send [14:03:54]OFD Sender: No OFD packet to send [14:03:59]OFD Sender: No OFD packet to send [14:04:04]OFD Sender: No OFD packet to send [14:04:09]OFD Sender: No OFD packet to send [14:04:14]OFD Sender: No OFD packet to send [14:04:19]OFD Sender: No OFD packet to send [14:04:24]OFD Sender: No OFD packet to send [14:04:29]OFD Sender: No OFD packet to send [14:04:34]OFD Sender: No OFD packet to send [14:04:39]OFD Sender: No OFD packet to send [14:04:44]OFD Sender: No OFD packet to send [14:04:49]OFD Sender: No OFD packet to send [14:04:54]OFD Sender: No OFD packet to send [14:04:59]OFD Sender: No OFD packet to send [14:05:04]OFD Sender: No OFD packet to send [14:05:09]OFD Sender: No OFD packet to send [14:05:14]OFD Sender: No OFD packet to send [14:05:19]OFD Sender: No OFD packet to send [14:05:24]OFD Sender: No OFD packet to send [14:05:29]OFD Sender: No OFD packet to send [14:05:34]OFD Sender: No OFD packet to send [14:05:39]OFD Sender: No OFD packet to send [14:05:44]OFD Sender: No OFD packet to send [14:05:49]OFD Sender: No OFD packet to send [14:05:54]OFD Sender: No OFD packet to send [14:05:59]OFD Sender: No OFD packet to send [14:06:04]OFD Sender: No OFD packet to send [14:06:09]OFD Sender: No OFD packet to send [14:06:14]OFD Sender: No OFD packet to send [14:06:19]OFD Sender: No OFD packet to send [14:06:24]OFD Sender: No OFD packet to send [14:06:29]OFD Sender: No OFD packet to send [14:06:34]OFD Sender: No OFD packet to send [14:06:39]OFD Sender: No OFD packet to send [14:06:44]OFD Sender: No OFD packet to send [14:06:49]OFD Sender: No OFD packet to send [14:06:54]OFD Sender: No OFD packet to send [14:06:59]OFD Sender: No OFD packet to send [14:07:04]OFD Sender: No OFD packet to send [14:07:09]OFD Sender: No OFD packet to send [14:07:14]OFD Sender: No OFD packet to send [14:07:19]OFD Sender: No OFD packet to send [14:07:24]OFD Sender: No OFD packet to send [14:07:30]OFD Sender: No OFD packet to send [14:07:35]OFD Sender: No OFD packet to send [14:07:40]OFD Sender: No OFD packet to send [14:07:45]OFD Sender: No OFD packet to send [14:07:50]OFD Sender: No OFD packet to send [14:07:55]OFD Sender: No OFD packet to send [14:08:00]OFD Sender: No OFD packet to send [14:08:05]OFD Sender: No OFD packet to send [14:08:10]OFD Sender: No OFD packet to send [14:08:15]OFD Sender: No OFD packet to send [14:08:20]OFD Sender: No OFD packet to send [14:08:25]OFD Sender: No OFD packet to send [14:08:30]OFD Sender: No OFD packet to send [14:08:35]OFD Sender: No OFD packet to send [14:08:40]OFD Sender: No OFD packet to send [14:08:45]OFD Sender: No OFD packet to send [14:08:50]OFD Sender: No OFD packet to send [14:08:55]OFD Sender: No OFD packet to send [14:09:00]OFD Sender: No OFD packet to send [14:09:05]OFD Sender: No OFD packet to send [14:09:10]OFD Sender: No OFD packet to send [14:09:15]OFD Sender: No OFD packet to send [14:09:20]OFD Sender: No OFD packet to send [14:09:25]OFD Sender: No OFD packet to send [14:09:30]OFD Sender: No OFD packet to send [14:09:35]OFD Sender: No OFD packet to send [14:09:40]OFD Sender: No OFD packet to send [14:09:45]OFD Sender: No OFD packet to send [14:09:50]OFD Sender: No OFD packet to send [14:09:55]OFD Sender: No OFD packet to send [14:10:00]OFD Sender: No OFD packet to send [14:10:05]OFD Sender: No OFD packet to send [14:10:10]OFD Sender: No OFD packet to send [14:10:15]OFD Sender: No OFD packet to send [14:10:20]OFD Sender: No OFD packet to send [14:10:25]OFD Sender: No OFD packet to send [14:10:30]OFD Sender: No OFD packet to send [14:10:35]OFD Sender: No OFD packet to send [14:10:40]OFD Sender: No OFD packet to send [14:10:45]OFD Sender: No OFD packet to send [14:10:50]OFD Sender: No OFD packet to send [14:10:55]OFD Sender: No OFD packet to send [14:11:00]OFD Sender: No OFD packet to send [14:11:05]OFD Sender: No OFD packet to send [14:11:10]OFD Sender: No OFD packet to send [14:11:15]OFD Sender: No OFD packet to send [14:11:20]OFD Sender: No OFD packet to send [14:11:25]OFD Sender: No OFD packet to send [14:11:30]OFD Sender: No OFD packet to send [14:11:35]OFD Sender: No OFD packet to send [14:11:40]OFD Sender: No OFD packet to send [14:11:45]OFD Sender: No OFD packet to send [14:11:50]OFD Sender: No OFD packet to send [14:11:55]OFD Sender: No OFD packet to send [14:12:00]OFD Sender: No OFD packet to send [14:12:05]OFD Sender: No OFD packet to send [14:12:10]OFD Sender: No OFD packet to send [14:12:15]OFD Sender: No OFD packet to send [14:12:20]OFD Sender: No OFD packet to send [14:12:25]OFD Sender: No OFD packet to send [14:12:30]OFD Sender: No OFD packet to send [14:12:35]OFD Sender: No OFD packet to send [14:12:40]OFD Sender: No OFD packet to send [14:12:45]OFD Sender: No OFD packet to send [14:12:50]OFD Sender: No OFD packet to send [14:12:55]OFD Sender: No OFD packet to send [14:13:00]OFD Sender: No OFD packet to send [14:13:05]OFD Sender: No OFD packet to send [14:13:10]OFD Sender: No OFD packet to send [14:13:15]OFD Sender: No OFD packet to send [14:13:20]OFD Sender: No OFD packet to send [14:13:25]OFD Sender: No OFD packet to send [14:13:30]OFD Sender: No OFD packet to send [14:13:35]OFD Sender: No OFD packet to send [14:13:40]OFD Sender: No OFD packet to send [14:13:45]OFD Sender: No OFD packet to send [14:13:50]OFD Sender: No OFD packet to send [14:13:55]OFD Sender: No OFD packet to send [14:14:00]OFD Sender: No OFD packet to send [14:14:05]OFD Sender: No OFD packet to send [14:14:10]OFD Sender: No OFD packet to send [14:14:15]OFD Sender: No OFD packet to send [14:14:20]OFD Sender: No OFD packet to send [14:14:25]OFD Sender: No OFD packet to send [14:14:30]OFD Sender: No OFD packet to send [14:14:35]OFD Sender: No OFD packet to send [14:14:40]OFD Sender: No OFD packet to send [14:14:45]OFD Sender: No OFD packet to send [14:14:50]OFD Sender: No OFD packet to send [14:14:55]OFD Sender: No OFD packet to send [14:15:00]OFD Sender: No OFD packet to send [14:15:05]OFD Sender: No OFD packet to send [14:15:10]OFD Sender: No OFD packet to send [14:15:15]OFD Sender: No OFD packet to send [14:15:20]OFD Sender: No OFD packet to send [14:15:25]OFD Sender: No OFD packet to send [14:15:30]OFD Sender: No OFD packet to send [14:15:35]OFD Sender: No OFD packet to send [14:15:40]OFD Sender: No OFD packet to send [14:15:45]OFD Sender: No OFD packet to send [14:15:50]OFD Sender: No OFD packet to send [14:15:55]OFD Sender: No OFD packet to send [14:16:00]OFD Sender: No OFD packet to send [14:16:05]OFD Sender: No OFD packet to send [14:16:10]OFD Sender: No OFD packet to send [14:16:15]OFD Sender: No OFD packet to send [14:16:20]OFD Sender: No OFD packet to send [14:16:25]OFD Sender: No OFD packet to send [14:16:30]OFD Sender: No OFD packet to send [14:16:35]OFD Sender: No OFD packet to send [14:16:40]OFD Sender: No OFD packet to send [14:16:45]OFD Sender: No OFD packet to send [14:16:50]OFD Sender: No OFD packet to send [14:16:55]OFD Sender: No OFD packet to send [14:17:00]OFD Sender: No OFD packet to send [14:17:05]OFD Sender: No OFD packet to send [14:17:10]OFD Sender: No OFD packet to send [14:17:15]OFD Sender: No OFD packet to send [14:17:20]OFD Sender: No OFD packet to send [14:17:25]OFD Sender: No OFD packet to send [14:17:30]OFD Sender: No OFD packet to send [14:17:35]OFD Sender: No OFD packet to send [14:17:40]OFD Sender: No OFD packet to send [14:17:45]OFD Sender: No OFD packet to send [14:17:50]OFD Sender: No OFD packet to send [14:17:55]OFD Sender: No OFD packet to send [14:18:00]OFD Sender: No OFD packet to send [14:18:05]OFD Sender: No OFD packet to send [14:18:10]OFD Sender: No OFD packet to send [14:18:15]OFD Sender: No OFD packet to send [14:18:20]OFD Sender: No OFD packet to send [14:18:25]OFD Sender: No OFD packet to send [14:18:30]OFD Sender: No OFD packet to send [14:18:35]OFD Sender: No OFD packet to send [14:18:40]OFD Sender: No OFD packet to send [14:18:45]OFD Sender: No OFD packet to send [14:18:50]OFD Sender: No OFD packet to send [14:18:55]OFD Sender: No OFD packet to send [14:19:00]OFD Sender: No OFD packet to send [14:19:05]OFD Sender: No OFD packet to send [14:19:10]OFD Sender: No OFD packet to send [14:19:15]OFD Sender: No OFD packet to send [14:19:20]OFD Sender: No OFD packet to send [14:19:25]OFD Sender: No OFD packet to send [14:19:30]OFD Sender: No OFD packet to send [14:19:35]OFD Sender: No OFD packet to send [14:19:40]OFD Sender: No OFD packet to send [14:19:45]OFD Sender: No OFD packet to send [14:19:50]OFD Sender: No OFD packet to send [14:19:55]OFD Sender: No OFD packet to send [14:20:00]OFD Sender: No OFD packet to send [14:20:05]OFD Sender: No OFD packet to send [14:20:10]OFD Sender: No OFD packet to send [14:20:15]OFD Sender: No OFD packet to send [14:20:20]OFD Sender: No OFD packet to send [14:20:25]OFD Sender: No OFD packet to send [14:20:30]OFD Sender: No OFD packet to send [14:20:35]OFD Sender: No OFD packet to send [14:20:40]OFD Sender: No OFD packet to send [14:20:45]OFD Sender: No OFD packet to send [14:20:50]OFD Sender: No OFD packet to send [14:20:55]OFD Sender: No OFD packet to send [14:21:00]OFD Sender: No OFD packet to send [14:21:05]OFD Sender: No OFD packet to send [14:21:10]OFD Sender: No OFD packet to send [14:21:15]OFD Sender: No OFD packet to send [14:21:20]OFD Sender: No OFD packet to send [14:21:25]OFD Sender: No OFD packet to send [14:21:30]OFD Sender: No OFD packet to send [14:21:35]OFD Sender: No OFD packet to send [14:21:40]OFD Sender: No OFD packet to send [14:21:45]OFD Sender: No OFD packet to send [14:21:50]OFD Sender: No OFD packet to send [14:21:55]OFD Sender: No OFD packet to send [14:22:00]OFD Sender: No OFD packet to send [14:22:05]OFD Sender: No OFD packet to send [14:22:10]OFD Sender: No OFD packet to send [14:22:15]OFD Sender: No OFD packet to send [14:22:20]OFD Sender: No OFD packet to send [14:22:25]OFD Sender: No OFD packet to send [14:22:30]OFD Sender: No OFD packet to send [14:22:35]OFD Sender: No OFD packet to send [14:22:40]OFD Sender: No OFD packet to send [14:22:45]OFD Sender: No OFD packet to send [14:22:50]OFD Sender: No OFD packet to send [14:22:55]OFD Sender: No OFD packet to send [14:23:00]OFD Sender: No OFD packet to send [14:23:05]OFD Sender: No OFD packet to send [14:23:10]OFD Sender: No OFD packet to send [14:23:15]OFD Sender: No OFD packet to send [14:23:20]OFD Sender: No OFD packet to send [14:23:25]OFD Sender: No OFD packet to send [14:23:30]OFD Sender: No OFD packet to send [14:23:35]OFD Sender: No OFD packet to send [14:23:40]OFD Sender: No OFD packet to send [14:23:45]OFD Sender: No OFD packet to send [14:23:50]OFD Sender: No OFD packet to send [14:23:55]OFD Sender: No OFD packet to send [14:24:00]OFD Sender: No OFD packet to send [14:24:05]OFD Sender: No OFD packet to send [14:24:10]OFD Sender: No OFD packet to send [14:24:15]OFD Sender: No OFD packet to send [14:24:20]OFD Sender: No OFD packet to send [14:24:25]OFD Sender: No OFD packet to send [14:24:30]OFD Sender: No OFD packet to send [14:24:35]OFD Sender: No OFD packet to send [14:24:40]OFD Sender: No OFD packet to send [14:24:45]OFD Sender: No OFD packet to send [14:24:50]OFD Sender: No OFD packet to send [14:24:55]OFD Sender: No OFD packet to send [14:25:00]OFD Sender: No OFD packet to send [14:25:05]OFD Sender: No OFD packet to send [14:25:10]OFD Sender: No OFD packet to send [14:25:15]OFD Sender: No OFD packet to send [14:25:20]OFD Sender: No OFD packet to send [14:25:25]OFD Sender: No OFD packet to send [14:25:30]OFD Sender: No OFD packet to send [14:25:35]OFD Sender: No OFD packet to send [14:25:40]OFD Sender: No OFD packet to send [14:25:45]OFD Sender: No OFD packet to send [14:25:50]OFD Sender: No OFD packet to send [14:25:55]OFD Sender: No OFD packet to send [14:26:00]OFD Sender: No OFD packet to send [14:26:05]OFD Sender: No OFD packet to send [14:26:10]OFD Sender: No OFD packet to send [14:26:15]OFD Sender: No OFD packet to send [14:26:20]OFD Sender: No OFD packet to send [14:26:25]OFD Sender: No OFD packet to send [14:26:30]OFD Sender: No OFD packet to send [14:26:35]OFD Sender: No OFD packet to send [14:26:40]OFD Sender: No OFD packet to send [14:26:45]OFD Sender: No OFD packet to send [14:26:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:35]OFD Sender: No OFD packet to send [14:27:40]OFD Sender: No OFD packet to send [14:27:45]OFD Sender: No OFD packet to send [14:27:50]OFD Sender: No OFD packet to send [14:27:55]OFD Sender: No OFD packet to send [14:28:00]OFD Sender: No OFD packet to send [14:28:05]OFD Sender: No OFD packet to send [14:28:10]OFD Sender: No OFD packet to send [14:28:15]OFD Sender: No OFD packet to send [14:28:20]OFD Sender: No OFD packet to send [14:28:25]OFD Sender: No OFD packet to send [14:28:28]accept exits with 7 [14:28:28]New connection [14:28:28]New thread 3066461540 created [14:28:28]Thread 3066604900 joined [14:28:28]Waiting for new connection... [14:28:28] Sock 7.Parse request [14:28:28]Sock 7.Check first char [14:28:28]Sock 7.First char is OK [14:28:28]request: POST /json_proto HTTP/1.0 [14:28:28]Method: POST [14:28:28]URL: /json_proto [14:28:28]Method is POST - this is cgi request [14:28:28]url: /json_proto [14:28:28]query_string will be loaded in cgi processing [14:28:28]execute_cgi json_proto POST (null) [14:28:28]execute_cgi path=json_proto method=POST [14:28:28]POST find Content-Length [14:28:28]Host: 172.17.35.196:8080 [14:28:28]Content-Length: 1050 [14:28:28]Content-Type: application/json [14:28:28] [14:28:28]POST finish read [14:28:28]Found Content-Length = 1050 [14:28:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169168", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 214.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:28:28]execute_script... [14:28:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169168", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 214.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:28:28]POST & json_proto [14:28:28]process_json_proto [14:28:28]json parsed OK: [14:28:28]protocol is kg_v1.0 [14:28:28]action value=close_receipt [14:28:28]process_action close_receipt [14:28:28]cmd_close_receipt [14:28:28]MH_GetDate [14:28:28]Write to MH i2c: F0 00 00 BC 05 B0 [14:28:28]Write i2c OK [14:28:28]MH_I2C_Read... [14:28:28]Read from MH i2c: F0 [14:28:28]MH_I2C_Read... [14:28:28]Read from MH i2c: F0 09 00 [14:28:28]MH_I2C_Read... [14:28:28]Read from MH i2c: F0 09 00 BC 05 00 8D 3D 91 66 AD 14 F4 65 94 [14:28:28]GetLastDocTimeStamp 1720790045 [14:28:28]current date 1720794509 [14:28:28]FM_GetShiftState [14:28:28]SAM_PROTO_GetShiftState [14:28:28]wFMCommunicate request_size=4 [14:28:28]MH_SAM_APDU [14:28:28]CAPDU: 80 13 01 00 [14:28:28]Write to MH i2c: E2 08 00 BD 05 80 13 01 00 00 00 00 00 3F [14:28:28]Write i2c OK [14:28:28]MH_I2C_Read... [14:28:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:28:28]Read from MH i2c: E2 [14:28:28]MH_I2C_Read... [14:28:28]Read from MH i2c: E2 0E 00 [14:28:28]MH_I2C_Read... [14:28:28]Read from MH i2c: E2 0E 00 BD 05 00 09 00 01 17 74 90 66 00 00 00 00 90 00 CC [14:28:28]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [14:28:28]wFMCommunicate OK [14:28:28]SAM_PROTO_GetShiftState done [14:28:28]FM_GetShiftState done [14:28:28]opened in 1720742935 [14:28:28]opened+sec_in_day 1720829335 [14:28:28]quantity*price = 10700 [14:28:28]sum+1 = 10701 [14:28:28]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 214.00 НСП 1% : 1.90 НДС 12% : 22.72 Наличными: 214.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 26 12.07.2024 14:28 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33348 ФПД: 247250020003747 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T142829&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33348&fm=247250020003747&tin=02508201610067®Number=0000000000093033&sum=21400 0 [14:28:29]StoreToDocumentArchive [14:28:29]shift 433 fd 33348 [14:28:29]save to /storage/0433/doc_00033348 [14:28:29]save last doc name /storage/0433/doc_00033348 to /storage/kkm_last_doc_name [14:28:29]save OK [14:28:29]Clear old archive folders... [14:28:29]ProcessDocumentItem done err = 0, tmpTLVsize=436 [14:28:29]tlvbuf is 00A6FA00 [14:28:29]SAM_PROTO_ClearQueue [14:28:29]wFMCommunicate request_size=4 [14:28:29]MH_SAM_APDU [14:28:29]CAPDU: 80 09 00 00 [14:28:29]Write to MH i2c: E2 08 00 CA 05 80 09 00 00 00 00 00 00 41 [14:28:29]Write i2c OK [14:28:29]MH_I2C_Read... [14:28:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:28:29]Read from MH i2c: E2 [14:28:29]MH_I2C_Read... [14:28:29]Read from MH i2c: E2 03 00 [14:28:29]MH_I2C_Read... [14:28:29]Read from MH i2c: E2 03 00 CA 05 00 90 00 43 [14:28:29]RAPDU: 90 00 [14:28:29]wFMCommunicate OK [14:28:29]SAM_PROTO_ClearQueue done [14:28:29]KKMCreateOFDPacket [14:28:29]OFDProtocolAddRootSTLVToBuf [14:28:29]FM_MakeSignedData [14:28:29]FM_MakeSignedData [14:28:29]SAM_PROTO_SignData [14:28:29]wFMCommunicate request_size=4 [14:28:29]MH_SAM_APDU [14:28:29]CAPDU: 80 0D 01 02 [14:28:29]Write to MH i2c: E2 08 00 CB 05 80 0D 01 02 00 00 00 00 49 [14:28:29]Write i2c OK [14:28:29]MH_I2C_Read... [14:28:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:28:29]Read from MH i2c: E2 [14:28:29]MH_I2C_Read... [14:28:29]Read from MH i2c: E2 03 00 [14:28:29]MH_I2C_Read... [14:28:29]Read from MH i2c: E2 03 00 CB 05 00 90 00 44 [14:28:29]RAPDU: 90 00 [14:28:29]wFMCommunicate OK [14:28:29]wFMCommunicate request_size=255 [14:28:29]MH_SAM_APDU [14:28:29]CAPDU: 80 0D 02 02 FA 03 00 B4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 [14:28:29]Write to MH i2c: E2 02 01 CC 05 80 0D 02 02 FA 00 03 00 B4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 00 00 29 [14:28:29]Write i2c OK [14:28:29]MH_I2C_Read... [14:28:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:28:30]Read from MH i2c: E2 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: E2 03 00 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: E2 03 00 CC 05 00 90 00 45 [14:28:30]RAPDU: 90 00 [14:28:30]wFMCommunicate OK [14:28:30]wFMCommunicate request_size=195 [14:28:30]MH_SAM_APDU [14:28:30]CAPDU: 80 0D 02 02 BE 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 98 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8D 3D 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 44 82 00 00 35 04 06 00 E0 DF 61 9C EF A3 [14:28:30]Write to MH i2c: E2 C6 00 CD 05 80 0D 02 02 BE 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 98 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8D 3D 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 44 82 00 00 35 04 06 00 E0 DF 61 9C EF A3 00 00 DF [14:28:30]Write i2c OK [14:28:30]MH_I2C_Read... [14:28:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:28:30]Read from MH i2c: E2 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: E2 03 00 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: E2 03 00 CD 05 00 90 00 46 [14:28:30]RAPDU: 90 00 [14:28:30]wFMCommunicate OK [14:28:30]wFMCommunicate request_size=4 [14:28:30]MH_SAM_APDU [14:28:30]CAPDU: 80 0D 03 02 [14:28:30]Write to MH i2c: E2 08 00 CE 05 80 0D 03 02 00 00 00 00 4E [14:28:30]Write i2c OK [14:28:30]MH_I2C_Read... [14:28:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:28:30]Read from MH i2c: E2 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: E2 0B 00 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: E2 0B 00 CE 05 00 75 A6 5F 88 6E C2 CB 0A 90 00 56 [14:28:30]RAPDU: 75 A6 5F 88 6E C2 CB 0A 90 00 [14:28:30]wFMCommunicate OK [14:28:30]SAM_PROTO_SignData done [14:28:30]FM_MakeSignedData done [14:28:30]CreateOFDProtocolMessage [14:28:30]wFMCommunicate request_size=4 [14:28:30]MH_SAM_APDU [14:28:30]CAPDU: 80 11 00 00 [14:28:30]Write to MH i2c: E2 08 00 CF 05 80 11 00 00 00 00 00 00 4E [14:28:30]Write i2c OK [14:28:30]MH_I2C_Read... [14:28:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:28:30]Read from MH i2c: E2 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: E2 17 00 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: E2 17 00 CF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9A [14:28:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:28:30]wFMCommunicate OK [14:28:30]CreateOFDProtocolMessage done [14:28:30]OFDSenderStorePacket 33348 [14:28:30]StoreOFDPacket docnum=33348 [14:28:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 C8 01 00 00 26 14 C0 01 BF 94 5A 03 01 00 03 00 B4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 98 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8D 3D 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 44 82 00 00 35 04 06 00 E0 DF 61 9C EF A3 75 A6 5F 88 6E C2 CB 0A [14:28:30]CheckFolder [14:28:30]dirname=/storage/ofd_packets [14:28:30]CheckFolder done [14:28:30]ProducePacketName [14:28:30]name=ofd_packets/00033348 [14:28:30]NVStorageSaveData ofd_packets/00033348 [14:28:30]File name is /storage/ofd_packets/00033348 [14:28:30]Write 486 bytes [14:28:30]NVStorageSaveData done [14:28:30]OFDSenderStorePacket done [14:28:30]KKMCreateOFDPacket done [14:28:30]NVStorageSaveData kkm_last_timestamp [14:28:30]File name is /storage/kkm_last_timestamp [14:28:30]Write 4 bytes [14:28:30]NVStorageSaveData done [14:28:30]ExternCall_PrintAddStr [14:28:30]wPrintStart [14:28:30]Write to MH i2c: 01 00 00 D0 05 D5 [14:28:30]OFD Sender: Processing packet 33348 [packets to send 6, broken 5] [14:28:30]ProducePacketName [14:28:30]name=ofd_packets/00033348 [14:28:30]OFD Sender: To server: pG, [14:28:30]CommunicateWithHost lk.salyk.kg:30040 [14:28:30]ConnectInit lk.salyk.kg [14:28:30]Write i2c OK [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: 01 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: 01 07 00 [14:28:30]MH_I2C_Read... [14:28:30]Read from MH i2c: 01 07 00 D0 05 00 00 00 00 00 FF 0F EA [14:28:30]RasterBufferAndPrint [14:28:30]line Счет N : (3)169168 [14:28:30]line ИНН: 02508201610067 [14:28:30]line Контрольно-Кассовый Чек [14:28:30]line ПРОДАЖА [14:28:30]line Товар: 5449000189356 [14:28:30]line Холодный чай Fuse манго ананас 1л [14:28:30]line 1.000 * 107.00 [14:28:30]line = 107.00 [14:28:30]line НДС 12% НСП 1% [14:28:30]line > о реализуемом товаре [14:28:30]line Товар: 5449000027474 [14:28:30]line Напиток FuzeTea зел чай манго,ромашка 1л [14:28:30]line 1.000 * 107.00 [14:28:30]line = 107.00 [14:28:30]line НДС 12% НСП 1% [14:28:30]line > о реализуемом товаре [14:28:30]line ИТОГО: 214.00 [14:28:30]line НСП 1% : 1.90 [14:28:30]line НДС 12% : 22.72 [14:28:30]line Наличными: 214.00 [14:28:30]line Безнал.: 0.00 [14:28:30]line Место: АЗС № 77 "Партнер Нефть" [14:28:30]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:28:30]line СНО: Общий режим [14:28:30]line Чек 26 12.07.2024 14:28 [14:28:30]line Смена: 433 ФФД: 1.0 [14:28:30]line ЗНМ: 0300000122 [14:28:30]line РНМ: 0000000000093033 [14:28:30]line Версия ККМ: 001 [14:28:30]line ФМ: 0000000000875104 [14:28:30]line ФД: 33348 [14:28:30]line ФПД: 247250020003747 [14:28:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T142829&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33348&fm=247250020003747&tin=02508201610067®Number=0000000000093033&sum=21400 [14:28:30]line 0 [14:28:30]written 0, free lines is 4095 [14:28:30]Connected sock=10 [14:28:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 C8 01 00 00 26 14 C0 01 BF 94 5A 03 01 00 03 00 B4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E0 08 00 00 00 00 07 04 06 00 98 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8D 3D 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 44 82 00 00 35 04 06 00 E0 DF 61 9C EF A3 75 A6 5F 88 6E C2 CB 0A [14:28:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 43 B5 47 00 AC EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 44 82 00 00 F4 03 04 00 3B E8 90 66 B6 04 01 00 00 3B C8 CF 4D 06 00 F8 C1 [14:28:31]CommunicateWithHost err = 0 [14:28:31]CheckOFDResponse [14:28:31]1017 (14) - 77093643461234 [14:28:31]1041 (16) - 0000000000875104 [14:28:31]1040 (4) - 33348 [14:28:31]1012 (4) - 12.07.2024 08:24 [14:28:31]1206 (1) - 0 [14:28:31]OFD Sender: Remove packet 33348 [14:28:31]ProducePacketName [14:28:31]name=ofd_packets/00033348 [14:28:31]NVStorageDeleteData [14:28:31]Write to MH i2c: 01 00 00 00 06 06 [14:28:31]Write i2c OK [14:28:31]MH_I2C_Read... [14:28:31]Read from MH i2c: 01 [14:28:31]MH_I2C_Read... [14:28:31]Read from MH i2c: 01 07 00 [14:28:31]MH_I2C_Read... [14:28:31]Read from MH i2c: 01 07 00 00 06 00 00 00 00 00 6E 0C 87 [14:28:31]RasterBufferAndPrint [14:28:31]line [14:28:31]line [14:28:31]line [14:28:31]line [14:28:31]line [14:28:31]written 0, free lines is 3188 [14:28:31]MH_Cut [14:28:31]Write to MH i2c: D1 01 00 07 06 01 DF [14:28:31]Write i2c OK [14:28:31]MH_I2C_Read... [14:28:31]Read from MH i2c: D1 [14:28:31]MH_I2C_Read... [14:28:31]Read from MH i2c: D1 01 00 [14:28:31]MH_I2C_Read... [14:28:31]Read from MH i2c: D1 01 00 07 06 00 DE [14:28:31]Write to MH i2c: 01 00 00 08 06 0E [14:28:31]Write i2c OK [14:28:31]MH_I2C_Read... [14:28:31]OFD Sender: No OFD packet to send [14:28:32]*** Cut start [14:28:32]*** Partial cut [14:28:32]*** CUTSNS_PIN = 1 [14:28:32]*** CUTSNS_PIN = 0 [14:28:32]*** Brake cut motor [14:28:32]Read from MH i2c: 01 [14:28:32]MH_I2C_Read... [14:28:32]*** Stop cut motor [14:28:32]*** Cut end [14:28:32]Read from MH i2c: 01 07 00 [14:28:32]MH_I2C_Read... [14:28:32]Read from MH i2c: 01 07 00 08 06 00 00 00 00 00 FF 0F 23 [14:28:32]process_action close_receipt done [14:28:32]requested_data is exist [14:28:32]produce_requested_data [14:28:32]requested_item fm.sn is exist - process it [14:28:32]wFMCommunicate request_size=4 [14:28:32]MH_SAM_APDU [14:28:32]CAPDU: 80 11 00 00 [14:28:32]Write to MH i2c: E2 08 00 09 06 80 11 00 00 00 00 00 00 89 [14:28:32]Write i2c OK [14:28:32]MH_I2C_Read... [14:28:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:28:32]Read from MH i2c: E2 [14:28:32]MH_I2C_Read... [14:28:32]Read from MH i2c: E2 17 00 [14:28:32]MH_I2C_Read... [14:28:32]Read from MH i2c: E2 17 00 09 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 D5 [14:28:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:28:32]wFMCommunicate OK [14:28:32]requested_item fd.num is exist - process it [14:28:32]SAM_PROTO_GetFieldsCounters [14:28:32]wFMCommunicate request_size=4 [14:28:32]MH_SAM_APDU [14:28:32]CAPDU: 80 13 00 00 [14:28:32]Write to MH i2c: E2 08 00 0A 06 80 13 00 00 00 00 00 00 8C [14:28:32]Write i2c OK [14:28:32]MH_I2C_Read... [14:28:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:28:33]Read from MH i2c: E2 [14:28:33]MH_I2C_Read... [14:28:33]Read from MH i2c: E2 62 00 [14:28:33]MH_I2C_Read... [14:28:33]Read from MH i2c: E2 62 00 0A 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 44 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 65 [14:28:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 44 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:28:33]wFMCommunicate OK [14:28:33]SAM_PROTO_GetFieldsCounters done [14:28:33]requested_item shift.num is exist - process it [14:28:33]requested_item shift.opened is exist - process it [14:28:33]req_shift_opened [14:28:33]FM_GetShiftState [14:28:33]SAM_PROTO_GetShiftState [14:28:33]wFMCommunicate request_size=4 [14:28:33]MH_SAM_APDU [14:28:33]CAPDU: 80 13 01 00 [14:28:33]Write to MH i2c: E2 08 00 0B 06 80 13 01 00 00 00 00 00 8E [14:28:33]Write i2c OK [14:28:33]MH_I2C_Read... [14:28:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:28:33]Read from MH i2c: E2 [14:28:33]MH_I2C_Read... [14:28:33]Read from MH i2c: E2 0E 00 [14:28:33]MH_I2C_Read... [14:28:33]Read from MH i2c: E2 0E 00 0B 06 00 09 00 01 17 74 90 66 00 00 00 00 90 00 1B [14:28:33]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [14:28:33]wFMCommunicate OK [14:28:33]SAM_PROTO_GetShiftState done [14:28:33]FM_GetShiftState done [14:28:33]req_shift_opened done [14:28:33]requested_item shift.open_date is exist - process it [14:28:33]req_shift_open_date [14:28:33]req_shift_open_date done [14:28:33]produce_requested_data done [14:28:33]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33348,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [14:28:33]process_action_free close_receipt [14:28:33]json_value_free [14:28:33]json_value_free done [14:28:33]process_json_proto returns [14:28:33]Send response to host [14:28:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33348,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [14:28:33]free response buf [14:28:33]execute_script done [14:28:33]execute_script returns [14:28:33]free content buf [14:28:33]Sock 7.Close socket [14:28:33]Sock 7.Thread stoped [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:41]OFD Sender: No OFD packet to send [14:31:46]OFD Sender: No OFD packet to send [14:31:51]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:52]OFD Sender: No OFD packet to send [14:34:57]OFD Sender: No OFD packet to send [14:35:02]OFD Sender: No OFD packet to send [14:35:07]OFD Sender: No OFD packet to send [14:35:12]OFD Sender: No OFD packet to send [14:35:17]OFD Sender: No OFD packet to send [14:35:22]OFD Sender: No OFD packet to send [14:35:27]OFD Sender: No OFD packet to send [14:35:32]OFD Sender: No OFD packet to send [14:35:37]OFD Sender: No OFD packet to send [14:35:42]OFD Sender: No OFD packet to send [14:35:47]OFD Sender: No OFD packet to send [14:35:52]OFD Sender: No OFD packet to send [14:35:57]OFD Sender: No OFD packet to send [14:36:02]OFD Sender: No OFD packet to send [14:36:07]OFD Sender: No OFD packet to send [14:36:12]OFD Sender: No OFD packet to send [14:36:17]OFD Sender: No OFD packet to send [14:36:22]OFD Sender: No OFD packet to send [14:36:27]OFD Sender: No OFD packet to send [14:36:32]OFD Sender: No OFD packet to send [14:36:37]OFD Sender: No OFD packet to send [14:36:42]OFD Sender: No OFD packet to send [14:36:47]OFD Sender: No OFD packet to send [14:36:52]OFD Sender: No OFD packet to send [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:17]accept exits with 9 [14:42:17]New connection [14:42:17]New thread 3066604900 created [14:42:17]Thread 3066461540 joined [14:42:17]Waiting for new connection... [14:42:17] Sock 9.Parse request [14:42:17]Sock 9.Check first char [14:42:17]Sock 9.First char is OK [14:42:17]request: POST /json_proto HTTP/1.0 [14:42:17]Method: POST [14:42:17]URL: /json_proto [14:42:17]Method is POST - this is cgi request [14:42:17]url: /json_proto [14:42:17]query_string will be loaded in cgi processing [14:42:17]execute_cgi json_proto POST (null) [14:42:17]execute_cgi path=json_proto method=POST [14:42:17]POST find Content-Length [14:42:17]Host: 172.17.35.196:8080 [14:42:17]Content-Length: 630 [14:42:17]Content-Type: application/json [14:42:17] [14:42:17]POST finish read [14:42:17]Found Content-Length = 630 [14:42:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169169", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:42:17]execute_script... [14:42:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169169", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:42:17]POST & json_proto [14:42:17]process_json_proto [14:42:17]json parsed OK: [14:42:17]protocol is kg_v1.0 [14:42:17]action value=close_receipt [14:42:17]process_action close_receipt [14:42:17]cmd_close_receipt [14:42:17]MH_GetDate [14:42:17]Write to MH i2c: F0 00 00 0C 06 01 [14:42:17]Write i2c OK [14:42:17]MH_I2C_Read... [14:42:17]Read from MH i2c: F0 [14:42:17]MH_I2C_Read... [14:42:17]Read from MH i2c: F0 09 00 [14:42:17]MH_I2C_Read... [14:42:17]Read from MH i2c: F0 09 00 0C 06 00 CA 40 91 66 AD 14 F4 65 25 [14:42:17]GetLastDocTimeStamp 1720794509 [14:42:17]current date 1720795338 [14:42:17]FM_GetShiftState [14:42:17]SAM_PROTO_GetShiftState [14:42:17]wFMCommunicate request_size=4 [14:42:17]MH_SAM_APDU [14:42:17]CAPDU: 80 13 01 00 [14:42:17]Write to MH i2c: E2 08 00 0D 06 80 13 01 00 00 00 00 00 90 [14:42:17]Write i2c OK [14:42:17]MH_I2C_Read... [14:42:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:42:17]Read from MH i2c: E2 [14:42:17]MH_I2C_Read... [14:42:17]Read from MH i2c: E2 0E 00 [14:42:17]MH_I2C_Read... [14:42:17]Read from MH i2c: E2 0E 00 0D 06 00 09 00 01 17 74 90 66 00 00 00 00 90 00 1D [14:42:17]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [14:42:17]wFMCommunicate OK [14:42:17]SAM_PROTO_GetShiftState done [14:42:17]FM_GetShiftState done [14:42:17]opened in 1720742935 [14:42:17]opened+sec_in_day 1720829335 [14:42:17]quantity*price = 5000 [14:42:17]sum+1 = 5001 [14:42:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 27 12.07.2024 14:42 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33349 ФПД: 149425794076663 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T144218&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33349&fm=149425794076663&tin=02508201610067®Number=0000000000093033&sum=5000 0 [14:42:18]StoreToDocumentArchive [14:42:18]shift 433 fd 33349 [14:42:18]save to /storage/0433/doc_00033349 [14:42:18]save last doc name /storage/0433/doc_00033349 to /storage/kkm_last_doc_name [14:42:18]save OK [14:42:18]Clear old archive folders... [14:42:18]ProcessDocumentItem done err = 0, tmpTLVsize=269 [14:42:18]tlvbuf is 00A5DE00 [14:42:18]SAM_PROTO_ClearQueue [14:42:18]wFMCommunicate request_size=4 [14:42:18]MH_SAM_APDU [14:42:18]CAPDU: 80 09 00 00 [14:42:18]Write to MH i2c: E2 08 00 1A 06 80 09 00 00 00 00 00 00 92 [14:42:18]Write i2c OK [14:42:18]MH_I2C_Read... [14:42:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:42:18]Read from MH i2c: E2 [14:42:18]MH_I2C_Read... [14:42:18]Read from MH i2c: E2 03 00 [14:42:18]MH_I2C_Read... [14:42:18]Read from MH i2c: E2 03 00 1A 06 00 90 00 94 [14:42:18]RAPDU: 90 00 [14:42:18]wFMCommunicate OK [14:42:18]SAM_PROTO_ClearQueue done [14:42:18]KKMCreateOFDPacket [14:42:18]OFDProtocolAddRootSTLVToBuf [14:42:18]FM_MakeSignedData [14:42:18]FM_MakeSignedData [14:42:18]SAM_PROTO_SignData [14:42:18]wFMCommunicate request_size=4 [14:42:18]MH_SAM_APDU [14:42:18]CAPDU: 80 0D 01 02 [14:42:18]Write to MH i2c: E2 08 00 1B 06 80 0D 01 02 00 00 00 00 9A [14:42:18]Write i2c OK [14:42:18]MH_I2C_Read... [14:42:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:42:18]Read from MH i2c: E2 [14:42:18]MH_I2C_Read... [14:42:18]Read from MH i2c: E2 03 00 [14:42:18]MH_I2C_Read... [14:42:18]Read from MH i2c: E2 03 00 1B 06 00 90 00 95 [14:42:18]RAPDU: 90 00 [14:42:18]wFMCommunicate OK [14:42:18]wFMCommunicate request_size=255 [14:42:18]MH_SAM_APDU [14:42:18]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 CA 40 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [14:42:18]Write to MH i2c: E2 02 01 1C 06 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 CA 40 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 78 [14:42:18]Write i2c OK [14:42:18]MH_I2C_Read... [14:42:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:42:18]Read from MH i2c: E2 [14:42:18]MH_I2C_Read... [14:42:18]Read from MH i2c: E2 03 00 [14:42:18]MH_I2C_Read... [14:42:18]Read from MH i2c: E2 03 00 1C 06 00 90 00 96 [14:42:18]RAPDU: 90 00 [14:42:18]wFMCommunicate OK [14:42:18]wFMCommunicate request_size=28 [14:42:18]MH_SAM_APDU [14:42:18]CAPDU: 80 0D 02 02 17 37 35 31 30 34 10 04 04 00 45 82 00 00 35 04 06 00 87 E6 E7 60 4F F7 [14:42:18]Write to MH i2c: E2 1F 00 1D 06 80 0D 02 02 17 00 37 35 31 30 34 10 04 04 00 45 82 00 00 35 04 06 00 87 E6 E7 60 4F F7 00 00 E4 [14:42:19]Write i2c OK [14:42:19]MH_I2C_Read... [14:42:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:42:19]Read from MH i2c: E2 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: E2 03 00 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: E2 03 00 1D 06 00 90 00 97 [14:42:19]RAPDU: 90 00 [14:42:19]wFMCommunicate OK [14:42:19]wFMCommunicate request_size=4 [14:42:19]MH_SAM_APDU [14:42:19]CAPDU: 80 0D 03 02 [14:42:19]Write to MH i2c: E2 08 00 1E 06 80 0D 03 02 00 00 00 00 9F [14:42:19]Write i2c OK [14:42:19]MH_I2C_Read... [14:42:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:42:19]Read from MH i2c: E2 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: E2 0B 00 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: E2 0B 00 1E 06 00 74 BA 31 F3 5D 6F 4B E1 90 00 EA [14:42:19]RAPDU: 74 BA 31 F3 5D 6F 4B E1 90 00 [14:42:19]wFMCommunicate OK [14:42:19]SAM_PROTO_SignData done [14:42:19]FM_MakeSignedData done [14:42:19]CreateOFDProtocolMessage [14:42:19]wFMCommunicate request_size=4 [14:42:19]MH_SAM_APDU [14:42:19]CAPDU: 80 11 00 00 [14:42:19]Write to MH i2c: E2 08 00 1F 06 80 11 00 00 00 00 00 00 9F [14:42:19]Write i2c OK [14:42:19]MH_I2C_Read... [14:42:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:42:19]Read from MH i2c: E2 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: E2 17 00 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: E2 17 00 1F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 EB [14:42:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:42:19]wFMCommunicate OK [14:42:19]CreateOFDProtocolMessage done [14:42:19]OFDSenderStorePacket 33349 [14:42:19]StoreOFDPacket docnum=33349 [14:42:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 BD AF 19 01 CA 05 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 CA 40 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 45 82 00 00 35 04 06 00 87 E6 E7 60 4F F7 74 BA 31 F3 5D 6F 4B E1 [14:42:19]CheckFolder [14:42:19]dirname=/storage/ofd_packets [14:42:19]CheckFolder done [14:42:19]ProducePacketName [14:42:19]name=ofd_packets/00033349 [14:42:19]NVStorageSaveData ofd_packets/00033349 [14:42:19]File name is /storage/ofd_packets/00033349 [14:42:19]Write 319 bytes [14:42:19]NVStorageSaveData done [14:42:19]OFDSenderStorePacket done [14:42:19]KKMCreateOFDPacket done [14:42:19]NVStorageSaveData kkm_last_timestamp [14:42:19]File name is /storage/kkm_last_timestamp [14:42:19]Write 4 bytes [14:42:19]NVStorageSaveData done [14:42:19]ExternCall_PrintAddStr [14:42:19]wPrintStart [14:42:19]Write to MH i2c: 01 00 00 20 06 26 [14:42:19]Write i2c OK [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: 01 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: 01 07 00 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: 01 07 00 20 06 00 00 00 00 00 FF 0F 3B [14:42:19]RasterBufferAndPrint [14:42:19]line Счет N : (3)169169 [14:42:19]line ИНН: 02508201610067 [14:42:19]line Контрольно-Кассовый Чек [14:42:19]line ПРОДАЖА [14:42:19]line Товар: 4700000160358 [14:42:19]line Вода Легенда 1л [14:42:19]line 1.000 * 50.00 [14:42:19]line = 50.00 [14:42:19]line НДС 12% НСП 1% [14:42:19]line > о реализуемом товаре [14:42:19]line ИТОГО: 50.00 [14:42:19]line НСП 1% : 0.44 [14:42:19]line НДС 12% : 5.31 [14:42:19]line Наличными: 50.00 [14:42:19]line Безнал.: 0.00 [14:42:19]line Место: АЗС № 77 "Партнер Нефть" [14:42:19]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:42:19]line СНО: Общий режим [14:42:19]line Чек 27 12.07.2024 14:42 [14:42:19]line Смена: 433 ФФД: 1.0 [14:42:19]line ЗНМ: 0300000122 [14:42:19]line РНМ: 0000000000093033 [14:42:19]line Версия ККМ: 001 [14:42:19]line ФМ: 0000000000875104 [14:42:19]line ФД: 33349 [14:42:19]line ФПД: 149425794076663 [14:42:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T144218&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33349&fm=149425794076663&tin=02508201610067®Number=0000000000093033&sum=5000 [14:42:19]line 0 [14:42:19]OFD Sender: Processing packet 33349 [packets to send 6, broken 5] [14:42:19]ProducePacketName [14:42:19]name=ofd_packets/00033349 [14:42:19]OFD Sender: To server: pG, [14:42:19]CommunicateWithHost lk.salyk.kg:30040 [14:42:19]ConnectInit lk.salyk.kg [14:42:19]written 0, free lines is 4095 [14:42:19]Connected sock=10 [14:42:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 BD AF 19 01 CA 05 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 CA 40 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 45 82 00 00 35 04 06 00 87 E6 E7 60 4F F7 74 BA 31 F3 5D 6F 4B E1 [14:42:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 92 54 47 00 AE 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 45 82 00 00 F4 03 04 00 77 EB 90 66 B6 04 01 00 00 9A 1F 0B 20 4E 00 DF 65 [14:42:19]CommunicateWithHost err = 0 [14:42:19]CheckOFDResponse [14:42:19]1017 (14) - 77093643461234 [14:42:19]1041 (16) - 0000000000875104 [14:42:19]1040 (4) - 33349 [14:42:19]1012 (4) - 12.07.2024 08:38 [14:42:19]1206 (1) - 0 [14:42:19]OFD Sender: Remove packet 33349 [14:42:19]ProducePacketName [14:42:19]name=ofd_packets/00033349 [14:42:19]NVStorageDeleteData [14:42:19]Write to MH i2c: 01 00 00 48 06 4E [14:42:19]Write i2c OK [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: 01 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: 01 07 00 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: 01 07 00 48 06 00 00 00 00 00 F8 0C 59 [14:42:19]RasterBufferAndPrint [14:42:19]line [14:42:19]line [14:42:19]line [14:42:19]line [14:42:19]line [14:42:19]written 0, free lines is 3326 [14:42:19]MH_Cut [14:42:19]Write to MH i2c: D1 01 00 4F 06 01 27 [14:42:19]Write i2c OK [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: D1 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: D1 01 00 [14:42:19]MH_I2C_Read... [14:42:19]Read from MH i2c: D1 01 00 4F 06 00 26 [14:42:19]Write to MH i2c: 01 00 00 50 06 56 [14:42:19]Write i2c OK [14:42:19]MH_I2C_Read... [14:42:20]OFD Sender: No OFD packet to send [14:42:20]*** Cut start [14:42:20]*** Partial cut [14:42:20]*** CUTSNS_PIN = 1 [14:42:20]*** CUTSNS_PIN = 0 [14:42:20]*** Brake cut motor [14:42:21]Read from MH i2c: 01 [14:42:21]MH_I2C_Read... [14:42:21]*** Stop cut motor [14:42:21]*** Cut end [14:42:21]Read from MH i2c: 01 07 00 [14:42:21]MH_I2C_Read... [14:42:21]Read from MH i2c: 01 07 00 50 06 00 00 00 00 00 FF 0F 6B [14:42:21]process_action close_receipt done [14:42:21]requested_data is exist [14:42:21]produce_requested_data [14:42:21]requested_item fm.sn is exist - process it [14:42:21]wFMCommunicate request_size=4 [14:42:21]MH_SAM_APDU [14:42:21]CAPDU: 80 11 00 00 [14:42:21]Write to MH i2c: E2 08 00 51 06 80 11 00 00 00 00 00 00 D1 [14:42:21]Write i2c OK [14:42:21]MH_I2C_Read... [14:42:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:42:21]Read from MH i2c: E2 [14:42:21]MH_I2C_Read... [14:42:21]Read from MH i2c: E2 17 00 [14:42:21]MH_I2C_Read... [14:42:21]Read from MH i2c: E2 17 00 51 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1D [14:42:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:42:21]wFMCommunicate OK [14:42:21]requested_item fd.num is exist - process it [14:42:21]SAM_PROTO_GetFieldsCounters [14:42:21]wFMCommunicate request_size=4 [14:42:21]MH_SAM_APDU [14:42:21]CAPDU: 80 13 00 00 [14:42:21]Write to MH i2c: E2 08 00 52 06 80 13 00 00 00 00 00 00 D4 [14:42:21]Write i2c OK [14:42:21]MH_I2C_Read... [14:42:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:42:21]Read from MH i2c: E2 [14:42:21]MH_I2C_Read... [14:42:21]Read from MH i2c: E2 62 00 [14:42:21]MH_I2C_Read... [14:42:21]Read from MH i2c: E2 62 00 52 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 45 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [14:42:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 45 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:42:21]wFMCommunicate OK [14:42:21]SAM_PROTO_GetFieldsCounters done [14:42:21]requested_item shift.num is exist - process it [14:42:21]requested_item shift.opened is exist - process it [14:42:21]req_shift_opened [14:42:21]FM_GetShiftState [14:42:21]SAM_PROTO_GetShiftState [14:42:21]wFMCommunicate request_size=4 [14:42:21]MH_SAM_APDU [14:42:21]CAPDU: 80 13 01 00 [14:42:21]Write to MH i2c: E2 08 00 53 06 80 13 01 00 00 00 00 00 D6 [14:42:21]Write i2c OK [14:42:21]MH_I2C_Read... [14:42:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:42:21]Read from MH i2c: E2 [14:42:21]MH_I2C_Read... [14:42:21]Read from MH i2c: E2 0E 00 [14:42:21]MH_I2C_Read... [14:42:21]Read from MH i2c: E2 0E 00 53 06 00 09 00 01 17 74 90 66 00 00 00 00 90 00 63 [14:42:21]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [14:42:21]wFMCommunicate OK [14:42:21]SAM_PROTO_GetShiftState done [14:42:21]FM_GetShiftState done [14:42:21]req_shift_opened done [14:42:21]requested_item shift.open_date is exist - process it [14:42:21]req_shift_open_date [14:42:21]req_shift_open_date done [14:42:21]produce_requested_data done [14:42:21]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33349,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [14:42:21]process_action_free close_receipt [14:42:21]json_value_free [14:42:21]json_value_free done [14:42:21]process_json_proto returns [14:42:21]Send response to host [14:42:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33349,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [14:42:21]free response buf [14:42:21]execute_script done [14:42:21]execute_script returns [14:42:21]free content buf [14:42:21]Sock 9.Close socket [14:42:21]Sock 9.Thread stoped [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [14:43:40]OFD Sender: No OFD packet to send [14:43:45]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:02]accept exits with 7 [14:45:02]New connection [14:45:02]New thread 3066461540 created [14:45:02]Thread 3066604900 joined [14:45:02]Waiting for new connection... [14:45:02] Sock 7.Parse request [14:45:02]Sock 7.Check first char [14:45:02]Sock 7.First char is OK [14:45:02]request: POST /json_proto HTTP/1.0 [14:45:02]Method: POST [14:45:02]URL: /json_proto [14:45:02]Method is POST - this is cgi request [14:45:02]url: /json_proto [14:45:02]query_string will be loaded in cgi processing [14:45:02]execute_cgi json_proto POST (null) [14:45:02]execute_cgi path=json_proto method=POST [14:45:02]POST find Content-Length [14:45:02]Host: 172.17.35.196:8080 [14:45:02]Content-Length: 847 [14:45:02]Content-Type: application/json [14:45:02] [14:45:02]POST finish read [14:45:02]Found Content-Length = 847 [14:45:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169170", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:45:02]execute_script... [14:45:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169170", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:45:02]POST & json_proto [14:45:02]process_json_proto [14:45:02]json parsed OK: [14:45:02]protocol is kg_v1.0 [14:45:02]action value=close_receipt [14:45:02]process_action close_receipt [14:45:02]cmd_close_receipt [14:45:02]MH_GetDate [14:45:02]Write to MH i2c: F0 00 00 54 06 49 [14:45:02]Write i2c OK [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: F0 [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: F0 09 00 [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: F0 09 00 54 06 00 6F 41 91 66 AD 14 F4 65 13 [14:45:02]GetLastDocTimeStamp 1720795338 [14:45:02]current date 1720795503 [14:45:02]FM_GetShiftState [14:45:02]SAM_PROTO_GetShiftState [14:45:02]wFMCommunicate request_size=4 [14:45:02]MH_SAM_APDU [14:45:02]CAPDU: 80 13 01 00 [14:45:02]Write to MH i2c: E2 08 00 55 06 80 13 01 00 00 00 00 00 D8 [14:45:02]Write i2c OK [14:45:02]MH_I2C_Read... [14:45:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:45:02]Read from MH i2c: E2 [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: E2 0E 00 [14:45:02]MH_I2C_Read... [14:45:02]Read from MH i2c: E2 0E 00 55 06 00 09 00 01 17 74 90 66 00 00 00 00 90 00 65 [14:45:02]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [14:45:02]wFMCommunicate OK [14:45:02]SAM_PROTO_GetShiftState done [14:45:02]FM_GetShiftState done [14:45:02]opened in 1720742935 [14:45:02]opened+sec_in_day 1720829335 [14:45:02]quantity*price = 13000 [14:45:02]sum+1 = 13001 [14:45:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 28 12.07.2024 14:45 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33350 ФПД: 180083034514674 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T144503&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33350&fm=180083034514674&tin=02508201610067®Number=0000000000093033&sum=13000 0 [14:45:03]StoreToDocumentArchive [14:45:03]shift 433 fd 33350 [14:45:03]save to /storage/0433/doc_00033350 [14:45:03]save last doc name /storage/0433/doc_00033350 to /storage/kkm_last_doc_name [14:45:03]save OK [14:45:03]Clear old archive folders... [14:45:03]ProcessDocumentItem done err = 0, tmpTLVsize=282 [14:45:03]tlvbuf is 00A8E8C0 [14:45:03]SAM_PROTO_ClearQueue [14:45:03]wFMCommunicate request_size=4 [14:45:03]MH_SAM_APDU [14:45:03]CAPDU: 80 09 00 00 [14:45:03]Write to MH i2c: E2 08 00 62 06 80 09 00 00 00 00 00 00 DA [14:45:03]Write i2c OK [14:45:03]MH_I2C_Read... [14:45:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:45:03]Read from MH i2c: E2 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 03 00 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 03 00 62 06 00 90 00 DC [14:45:03]RAPDU: 90 00 [14:45:03]wFMCommunicate OK [14:45:03]SAM_PROTO_ClearQueue done [14:45:03]KKMCreateOFDPacket [14:45:03]OFDProtocolAddRootSTLVToBuf [14:45:03]FM_MakeSignedData [14:45:03]FM_MakeSignedData [14:45:03]SAM_PROTO_SignData [14:45:03]wFMCommunicate request_size=4 [14:45:03]MH_SAM_APDU [14:45:03]CAPDU: 80 0D 01 02 [14:45:03]Write to MH i2c: E2 08 00 63 06 80 0D 01 02 00 00 00 00 E2 [14:45:03]Write i2c OK [14:45:03]MH_I2C_Read... [14:45:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:45:03]Read from MH i2c: E2 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 03 00 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 03 00 63 06 00 90 00 DD [14:45:03]RAPDU: 90 00 [14:45:03]wFMCommunicate OK [14:45:03]wFMCommunicate request_size=255 [14:45:03]MH_SAM_APDU [14:45:03]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 6F 41 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 [14:45:03]Write to MH i2c: E2 02 01 64 06 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 6F 41 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 00 00 5F [14:45:03]Write i2c OK [14:45:03]MH_I2C_Read... [14:45:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:45:03]Read from MH i2c: E2 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 03 00 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 03 00 64 06 00 90 00 DE [14:45:03]RAPDU: 90 00 [14:45:03]wFMCommunicate OK [14:45:03]wFMCommunicate request_size=41 [14:45:03]MH_SAM_APDU [14:45:03]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 46 82 00 00 35 04 06 00 A3 C8 D9 4D 64 F2 [14:45:03]Write to MH i2c: E2 2C 00 65 06 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 46 82 00 00 35 04 06 00 A3 C8 D9 4D 64 F2 00 00 5C [14:45:03]Write i2c OK [14:45:03]MH_I2C_Read... [14:45:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:45:03]Read from MH i2c: E2 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 03 00 [14:45:03]MH_I2C_Read... [14:45:03]Read from MH i2c: E2 03 00 65 06 00 90 00 DF [14:45:03]RAPDU: 90 00 [14:45:03]wFMCommunicate OK [14:45:03]wFMCommunicate request_size=4 [14:45:03]MH_SAM_APDU [14:45:03]CAPDU: 80 0D 03 02 [14:45:03]Write to MH i2c: E2 08 00 66 06 80 0D 03 02 00 00 00 00 E7 [14:45:03]Write i2c OK [14:45:03]MH_I2C_Read... [14:45:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:45:04]Read from MH i2c: E2 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: E2 0B 00 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: E2 0B 00 66 06 00 28 3C EA C2 7F FC 97 31 90 00 3B [14:45:04]RAPDU: 28 3C EA C2 7F FC 97 31 90 00 [14:45:04]wFMCommunicate OK [14:45:04]SAM_PROTO_SignData done [14:45:04]FM_MakeSignedData done [14:45:04]CreateOFDProtocolMessage [14:45:04]wFMCommunicate request_size=4 [14:45:04]MH_SAM_APDU [14:45:04]CAPDU: 80 11 00 00 [14:45:04]Write to MH i2c: E2 08 00 67 06 80 11 00 00 00 00 00 00 E7 [14:45:04]Write i2c OK [14:45:04]MH_I2C_Read... [14:45:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:45:04]Read from MH i2c: E2 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: E2 17 00 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: E2 17 00 67 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 33 [14:45:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:45:04]wFMCommunicate OK [14:45:04]CreateOFDProtocolMessage done [14:45:04]OFDSenderStorePacket 33350 [14:45:04]StoreOFDPacket docnum=33350 [14:45:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 72 D7 26 01 EB AB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 6F 41 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 46 82 00 00 35 04 06 00 A3 C8 D9 4D 64 F2 28 3C EA C2 7F FC 97 31 [14:45:04]CheckFolder [14:45:04]dirname=/storage/ofd_packets [14:45:04]CheckFolder done [14:45:04]ProducePacketName [14:45:04]name=ofd_packets/00033350 [14:45:04]NVStorageSaveData ofd_packets/00033350 [14:45:04]File name is /storage/ofd_packets/00033350 [14:45:04]Write 332 bytes [14:45:04]NVStorageSaveData done [14:45:04]OFDSenderStorePacket done [14:45:04]KKMCreateOFDPacket done [14:45:04]NVStorageSaveData kkm_last_timestamp [14:45:04]File name is /storage/kkm_last_timestamp [14:45:04]Write 4 bytes [14:45:04]NVStorageSaveData done [14:45:04]ExternCall_PrintAddStr [14:45:04]wPrintStart [14:45:04]Write to MH i2c: 01 00 00 68 06 6E [14:45:04]Write i2c OK [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: 01 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: 01 07 00 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: 01 07 00 68 06 00 00 00 00 00 FF 0F 83 [14:45:04]RasterBufferAndPrint [14:45:04]line Счет N : (3)169170 [14:45:04]line ИНН: 02508201610067 [14:45:04]line Контрольно-Кассовый Чек [14:45:04]line ПРОДАЖА [14:45:04]line Товар: 2000036220012 [14:45:04]line Кофе Капучино XL(GABB TRADE) [14:45:04]line 1.000 * 130.00 [14:45:04]line = 130.00 [14:45:04]line НДС 12% НСП 1% [14:45:04]line > о реализуемом товаре [14:45:04]line ИТОГО: 130.00 [14:45:04]line НСП 1% : 1.15 [14:45:04]line НДС 12% : 13.80 [14:45:04]line Наличными: 0.00 [14:45:04]line Безнал.: 130.00 [14:45:04]line Место: АЗС № 77 "Партнер Нефть" [14:45:04]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:45:04]line СНО: Общий режим [14:45:04]line Чек 28 12.07.2024 14:45 [14:45:04]line Смена: 433 ФФД: 1.0 [14:45:04]line ЗНМ: 0300000122 [14:45:04]line РНМ: 0000000000093033 [14:45:04]line Версия ККМ: 001 [14:45:04]line Платежная система: АКБ Кыргызстан [14:45:04]line ФМ: 0000000000875104 [14:45:04]line ФД: 33350 [14:45:04]line ФПД: 180083034514674 [14:45:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T144503&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33350&fm=180083034514674&tin=02508201610067®Number=0000000000093033&sum=13000 [14:45:04]line 0 [14:45:04]OFD Sender: Processing packet 33350 [packets to send 6, broken 5] [14:45:04]ProducePacketName [14:45:04]name=ofd_packets/00033350 [14:45:04]OFD Sender: To server: pG, [14:45:04]CommunicateWithHost lk.salyk.kg:30040 [14:45:04]ConnectInit lk.salyk.kg [14:45:04]written 0, free lines is 4095 [14:45:04]Connected sock=10 [14:45:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2E 01 00 00 72 D7 26 01 EB AB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 6F 41 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 46 82 00 00 35 04 06 00 A3 C8 D9 4D 64 F2 28 3C EA C2 7F FC 97 31 [14:45:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 0E F7 47 00 5E DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 46 82 00 00 F4 03 04 00 1C EC 90 66 B6 04 01 00 00 08 0F 95 58 69 9D 25 63 [14:45:04]CommunicateWithHost err = 0 [14:45:04]CheckOFDResponse [14:45:04]1017 (14) - 77093643461234 [14:45:04]1041 (16) - 0000000000875104 [14:45:04]1040 (4) - 33350 [14:45:04]1012 (4) - 12.07.2024 08:41 [14:45:04]1206 (1) - 0 [14:45:04]OFD Sender: Remove packet 33350 [14:45:04]ProducePacketName [14:45:04]name=ofd_packets/00033350 [14:45:04]NVStorageDeleteData [14:45:04]Write to MH i2c: 01 00 00 93 06 99 [14:45:04]Write i2c OK [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: 01 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: 01 07 00 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: 01 07 00 93 06 00 00 00 00 00 D5 0C 81 [14:45:04]RasterBufferAndPrint [14:45:04]line [14:45:04]line [14:45:04]line [14:45:04]line [14:45:04]line [14:45:04]written 0, free lines is 3291 [14:45:04]MH_Cut [14:45:04]Write to MH i2c: D1 01 00 9A 06 01 72 [14:45:04]Write i2c OK [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: D1 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: D1 01 00 [14:45:04]MH_I2C_Read... [14:45:04]Read from MH i2c: D1 01 00 9A 06 00 71 [14:45:04]Write to MH i2c: 01 00 00 9B 06 A1 [14:45:04]Write i2c OK [14:45:04]MH_I2C_Read... [14:45:05]OFD Sender: No OFD packet to send [14:45:05]*** Cut start [14:45:05]*** Partial cut [14:45:05]*** CUTSNS_PIN = 1 [14:45:05]*** CUTSNS_PIN = 0 [14:45:05]*** Brake cut motor [14:45:06]Read from MH i2c: 01 [14:45:06]MH_I2C_Read... [14:45:06]*** Stop cut motor [14:45:06]*** Cut end [14:45:06]Read from MH i2c: 01 07 00 [14:45:06]MH_I2C_Read... [14:45:06]Read from MH i2c: 01 07 00 9B 06 00 00 00 00 00 FF 0F B6 [14:45:06]process_action close_receipt done [14:45:06]requested_data is exist [14:45:06]produce_requested_data [14:45:06]requested_item fm.sn is exist - process it [14:45:06]wFMCommunicate request_size=4 [14:45:06]MH_SAM_APDU [14:45:06]CAPDU: 80 11 00 00 [14:45:06]Write to MH i2c: E2 08 00 9C 06 80 11 00 00 00 00 00 00 1C [14:45:06]Write i2c OK [14:45:06]MH_I2C_Read... [14:45:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:45:06]Read from MH i2c: E2 [14:45:06]MH_I2C_Read... [14:45:06]Read from MH i2c: E2 17 00 [14:45:06]MH_I2C_Read... [14:45:06]Read from MH i2c: E2 17 00 9C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 68 [14:45:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:45:06]wFMCommunicate OK [14:45:06]requested_item fd.num is exist - process it [14:45:06]SAM_PROTO_GetFieldsCounters [14:45:06]wFMCommunicate request_size=4 [14:45:06]MH_SAM_APDU [14:45:06]CAPDU: 80 13 00 00 [14:45:06]Write to MH i2c: E2 08 00 9D 06 80 13 00 00 00 00 00 00 1F [14:45:06]Write i2c OK [14:45:06]MH_I2C_Read... [14:45:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:45:06]Read from MH i2c: E2 [14:45:06]MH_I2C_Read... [14:45:06]Read from MH i2c: E2 62 00 [14:45:06]MH_I2C_Read... [14:45:06]Read from MH i2c: E2 62 00 9D 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 46 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 00 [14:45:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 46 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:45:06]wFMCommunicate OK [14:45:06]SAM_PROTO_GetFieldsCounters done [14:45:06]requested_item shift.num is exist - process it [14:45:06]requested_item shift.opened is exist - process it [14:45:06]req_shift_opened [14:45:06]FM_GetShiftState [14:45:06]SAM_PROTO_GetShiftState [14:45:06]wFMCommunicate request_size=4 [14:45:06]MH_SAM_APDU [14:45:06]CAPDU: 80 13 01 00 [14:45:06]Write to MH i2c: E2 08 00 9E 06 80 13 01 00 00 00 00 00 21 [14:45:06]Write i2c OK [14:45:06]MH_I2C_Read... [14:45:06]Read from MH i2c: E2 [14:45:06]MH_I2C_Read... [14:45:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:45:06]Read from MH i2c: E2 0E 00 [14:45:06]MH_I2C_Read... [14:45:06]Read from MH i2c: E2 0E 00 9E 06 00 09 00 01 17 74 90 66 00 00 00 00 90 00 AE [14:45:06]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [14:45:06]wFMCommunicate OK [14:45:06]SAM_PROTO_GetShiftState done [14:45:06]FM_GetShiftState done [14:45:06]req_shift_opened done [14:45:06]requested_item shift.open_date is exist - process it [14:45:06]req_shift_open_date [14:45:06]req_shift_open_date done [14:45:06]produce_requested_data done [14:45:06]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33350,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [14:45:06]process_action_free close_receipt [14:45:06]json_value_free [14:45:06]json_value_free done [14:45:06]process_json_proto returns [14:45:06]Send response to host [14:45:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33350,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [14:45:06]free response buf [14:45:06]execute_script done [14:45:06]execute_script returns [14:45:06]free content buf [14:45:06]Sock 7.Close socket [14:45:06]Sock 7.Thread stoped [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]OFD Sender: No OFD packet to send [14:45:40]OFD Sender: No OFD packet to send [14:45:45]OFD Sender: No OFD packet to send [14:45:50]OFD Sender: No OFD packet to send [14:45:55]OFD Sender: No OFD packet to send [14:46:00]OFD Sender: No OFD packet to send [14:46:05]OFD Sender: No OFD packet to send [14:46:10]OFD Sender: No OFD packet to send [14:46:15]OFD Sender: No OFD packet to send [14:46:20]OFD Sender: No OFD packet to send [14:46:25]OFD Sender: No OFD packet to send [14:46:30]OFD Sender: No OFD packet to send [14:46:35]OFD Sender: No OFD packet to send [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:47:00]OFD Sender: No OFD packet to send [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:35]OFD Sender: No OFD packet to send [14:47:40]OFD Sender: No OFD packet to send [14:47:45]OFD Sender: No OFD packet to send [14:47:50]OFD Sender: No OFD packet to send [14:47:55]OFD Sender: No OFD packet to send [14:48:00]OFD Sender: No OFD packet to send [14:48:05]OFD Sender: No OFD packet to send [14:48:10]OFD Sender: No OFD packet to send [14:48:15]OFD Sender: No OFD packet to send [14:48:20]OFD Sender: No OFD packet to send [14:48:25]OFD Sender: No OFD packet to send [14:48:30]OFD Sender: No OFD packet to send [14:48:35]OFD Sender: No OFD packet to send [14:48:40]OFD Sender: No OFD packet to send [14:48:45]OFD Sender: No OFD packet to send [14:48:50]OFD Sender: No OFD packet to send [14:48:55]OFD Sender: No OFD packet to send [14:49:00]OFD Sender: No OFD packet to send [14:49:05]OFD Sender: No OFD packet to send [14:49:10]OFD Sender: No OFD packet to send [14:49:15]OFD Sender: No OFD packet to send [14:49:20]OFD Sender: No OFD packet to send [14:49:25]OFD Sender: No OFD packet to send [14:49:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]OFD Sender: No OFD packet to send [14:55:30]OFD Sender: No OFD packet to send [14:55:35]OFD Sender: No OFD packet to send [14:55:40]OFD Sender: No OFD packet to send [14:55:45]OFD Sender: No OFD packet to send [14:55:50]OFD Sender: No OFD packet to send [14:55:55]OFD Sender: No OFD packet to send [14:56:00]OFD Sender: No OFD packet to send [14:56:05]OFD Sender: No OFD packet to send [14:56:10]OFD Sender: No OFD packet to send [14:56:15]OFD Sender: No OFD packet to send [14:56:20]OFD Sender: No OFD packet to send [14:56:25]OFD Sender: No OFD packet to send [14:56:30]OFD Sender: No OFD packet to send [14:56:35]OFD Sender: No OFD packet to send [14:56:40]OFD Sender: No OFD packet to send [14:56:45]OFD Sender: No OFD packet to send [14:56:50]OFD Sender: No OFD packet to send [14:56:55]OFD Sender: No OFD packet to send [14:57:00]OFD Sender: No OFD packet to send [14:57:05]OFD Sender: No OFD packet to send [14:57:10]OFD Sender: No OFD packet to send [14:57:15]OFD Sender: No OFD packet to send [14:57:20]OFD Sender: No OFD packet to send [14:57:25]OFD Sender: No OFD packet to send [14:57:30]OFD Sender: No OFD packet to send [14:57:35]OFD Sender: No OFD packet to send [14:57:40]OFD Sender: No OFD packet to send [14:57:45]OFD Sender: No OFD packet to send [14:57:50]OFD Sender: No OFD packet to send [14:57:55]OFD Sender: No OFD packet to send [14:58:00]OFD Sender: No OFD packet to send [14:58:05]OFD Sender: No OFD packet to send [14:58:10]OFD Sender: No OFD packet to send [14:58:15]OFD Sender: No OFD packet to send [14:58:20]OFD Sender: No OFD packet to send [14:58:25]OFD Sender: No OFD packet to send [14:58:30]OFD Sender: No OFD packet to send [14:58:35]OFD Sender: No OFD packet to send [14:58:40]OFD Sender: No OFD packet to send [14:58:45]OFD Sender: No OFD packet to send [14:58:50]OFD Sender: No OFD packet to send [14:58:55]OFD Sender: No OFD packet to send [14:59:00]OFD Sender: No OFD packet to send [14:59:05]OFD Sender: No OFD packet to send [14:59:10]OFD Sender: No OFD packet to send [14:59:15]OFD Sender: No OFD packet to send [14:59:20]OFD Sender: No OFD packet to send [14:59:25]OFD Sender: No OFD packet to send [14:59:30]OFD Sender: No OFD packet to send [14:59:35]OFD Sender: No OFD packet to send [14:59:40]OFD Sender: No OFD packet to send [14:59:45]OFD Sender: No OFD packet to send [14:59:50]OFD Sender: No OFD packet to send [14:59:53]accept exits with 9 [14:59:53]New connection [14:59:53]New thread 3066604900 created [14:59:53]Thread 3066461540 joined [14:59:53]Waiting for new connection... [14:59:53] Sock 9.Parse request [14:59:53]Sock 9.Check first char [14:59:53]Sock 9.First char is OK [14:59:53]request: POST /json_proto HTTP/1.0 [14:59:53]Method: POST [14:59:53]URL: /json_proto [14:59:53]Method is POST - this is cgi request [14:59:53]url: /json_proto [14:59:53]query_string will be loaded in cgi processing [14:59:53]execute_cgi json_proto POST (null) [14:59:53]execute_cgi path=json_proto method=POST [14:59:53]POST find Content-Length [14:59:53]Host: 172.17.35.196:8080 [14:59:53]Content-Length: 909 [14:59:53]Content-Type: application/json [14:59:53] [14:59:53]POST finish read [14:59:53]Found Content-Length = 909 [14:59:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169171", "tax_sys" : 0, "items" : [ { "code": "4601025117542", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0442\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043C\u0438\u043A\u0441 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:59:53]execute_script... [14:59: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)169171", "tax_sys" : 0, "items" : [ { "code": "4601025117542", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0442\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043C\u0438\u043A\u0441 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:59:53]POST & json_proto [14:59:53]process_json_proto [14:59:53]json parsed OK: [14:59:53]protocol is kg_v1.0 [14:59:53]action value=close_receipt [14:59:53]process_action close_receipt [14:59:53]cmd_close_receipt [14:59:53]MH_GetDate [14:59:53]Write to MH i2c: F0 00 00 9F 06 94 [14:59:53]Write i2c OK [14:59:53]MH_I2C_Read... [14:59:53]Read from MH i2c: F0 [14:59:53]MH_I2C_Read... [14:59:53]Read from MH i2c: F0 09 00 [14:59:53]MH_I2C_Read... [14:59:53]Read from MH i2c: F0 09 00 9F 06 00 EA 44 91 66 AD 14 F4 65 DC [14:59:53]GetLastDocTimeStamp 1720795503 [14:59:53]current date 1720796394 [14:59:53]FM_GetShiftState [14:59:53]SAM_PROTO_GetShiftState [14:59:53]wFMCommunicate request_size=4 [14:59:53]MH_SAM_APDU [14:59:53]CAPDU: 80 13 01 00 [14:59:53]Write to MH i2c: E2 08 00 A0 06 80 13 01 00 00 00 00 00 23 [14:59:53]Write i2c OK [14:59:53]MH_I2C_Read... [14:59:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:59:53]Read from MH i2c: E2 [14:59:53]MH_I2C_Read... [14:59:53]Read from MH i2c: E2 0E 00 [14:59:53]MH_I2C_Read... [14:59:53]Read from MH i2c: E2 0E 00 A0 06 00 09 00 01 17 74 90 66 00 00 00 00 90 00 B0 [14:59:53]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [14:59:53]wFMCommunicate OK [14:59:53]SAM_PROTO_GetShiftState done [14:59:53]FM_GetShiftState done [14:59:53]opened in 1720742935 [14:59:53]opened+sec_in_day 1720829335 [14:59:53]quantity*price = 8500 [14:59:53]sum+1 = 8501 [14:59:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 29 12.07.2024 14:59 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875104 ФД: 33351 ФПД: 194944437680944 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T145954&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33351&fm=194944437680944&tin=02508201610067®Number=0000000000093033&sum=8500 0 [14:59:54]StoreToDocumentArchive [14:59:54]shift 433 fd 33351 [14:59:54]save to /storage/0433/doc_00033351 [14:59:54]save last doc name /storage/0433/doc_00033351 to /storage/kkm_last_doc_name [14:59:54]save OK [14:59:54]Clear old archive folders... [14:59:54]ProcessDocumentItem done err = 0, tmpTLVsize=311 [14:59:54]tlvbuf is 00A5C9F0 [14:59:54]SAM_PROTO_ClearQueue [14:59:54]wFMCommunicate request_size=4 [14:59:54]MH_SAM_APDU [14:59:54]CAPDU: 80 09 00 00 [14:59:54]Write to MH i2c: E2 08 00 AD 06 80 09 00 00 00 00 00 00 25 [14:59:54]Write i2c OK [14:59:54]MH_I2C_Read... [14:59:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:59:54]Read from MH i2c: E2 [14:59:54]MH_I2C_Read... [14:59:54]Read from MH i2c: E2 03 00 [14:59:54]MH_I2C_Read... [14:59:54]Read from MH i2c: E2 03 00 AD 06 00 90 00 27 [14:59:54]RAPDU: 90 00 [14:59:54]wFMCommunicate OK [14:59:54]SAM_PROTO_ClearQueue done [14:59:54]KKMCreateOFDPacket [14:59:54]OFDProtocolAddRootSTLVToBuf [14:59:54]FM_MakeSignedData [14:59:54]FM_MakeSignedData [14:59:54]SAM_PROTO_SignData [14:59:54]wFMCommunicate request_size=4 [14:59:54]MH_SAM_APDU [14:59:54]CAPDU: 80 0D 01 02 [14:59:54]Write to MH i2c: E2 08 00 AE 06 80 0D 01 02 00 00 00 00 2D [14:59:54]Write i2c OK [14:59:54]MH_I2C_Read... [14:59:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:59:54]Read from MH i2c: E2 [14:59:54]MH_I2C_Read... [14:59:54]Read from MH i2c: E2 03 00 [14:59:54]MH_I2C_Read... [14:59:54]Read from MH i2c: E2 03 00 AE 06 00 90 00 28 [14:59:54]RAPDU: 90 00 [14:59:54]wFMCommunicate OK [14:59:54]wFMCommunicate request_size=255 [14:59:54]MH_SAM_APDU [14:59:54]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 35 34 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 EA 44 91 66 0E 04 04 00 B1 01 [14:59:54]Write to MH i2c: E2 02 01 AF 06 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 35 34 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 EA 44 91 66 0E 04 04 00 B1 01 00 00 ED [14:59:54]Write i2c OK [14:59:54]MH_I2C_Read... [14:59:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:59:54]Read from MH i2c: E2 [14:59:54]MH_I2C_Read... [14:59:54]Read from MH i2c: E2 03 00 [14:59:54]MH_I2C_Read... [14:59:54]Read from MH i2c: E2 03 00 AF 06 00 90 00 29 [14:59:54]RAPDU: 90 00 [14:59:54]wFMCommunicate OK [14:59:54]wFMCommunicate request_size=70 [14:59:54]MH_SAM_APDU [14:59:54]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 47 82 00 00 35 04 06 00 B1 4D 09 F5 7B 30 [14:59:54]Write to MH i2c: E2 49 00 B0 06 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 47 82 00 00 35 04 06 00 B1 4D 09 F5 7B 30 00 00 A9 [14:59:54]Write i2c OK [14:59:54]MH_I2C_Read... [14:59:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:59:55]Read from MH i2c: E2 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: E2 03 00 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: E2 03 00 B0 06 00 90 00 2A [14:59:55]RAPDU: 90 00 [14:59:55]wFMCommunicate OK [14:59:55]wFMCommunicate request_size=4 [14:59:55]MH_SAM_APDU [14:59:55]CAPDU: 80 0D 03 02 [14:59:55]Write to MH i2c: E2 08 00 B1 06 80 0D 03 02 00 00 00 00 32 [14:59:55]Write i2c OK [14:59:55]MH_I2C_Read... [14:59:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:59:55]Read from MH i2c: E2 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: E2 0B 00 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: E2 0B 00 B1 06 00 68 F7 CF AE C2 9D 25 35 90 00 C8 [14:59:55]RAPDU: 68 F7 CF AE C2 9D 25 35 90 00 [14:59:55]wFMCommunicate OK [14:59:55]SAM_PROTO_SignData done [14:59:55]FM_MakeSignedData done [14:59:55]CreateOFDProtocolMessage [14:59:55]wFMCommunicate request_size=4 [14:59:55]MH_SAM_APDU [14:59:55]CAPDU: 80 11 00 00 [14:59:55]Write to MH i2c: E2 08 00 B2 06 80 11 00 00 00 00 00 00 32 [14:59:55]Write i2c OK [14:59:55]MH_I2C_Read... [14:59:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:59:55]Read from MH i2c: E2 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: E2 17 00 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: E2 17 00 B2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7E [14:59:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:59:55]wFMCommunicate OK [14:59:55]CreateOFDProtocolMessage done [14:59:55]OFDSenderStorePacket 33351 [14:59:55]StoreOFDPacket docnum=33351 [14:59:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4B 01 00 00 6D C8 43 01 40 21 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 35 34 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 EA 44 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 47 82 00 00 35 04 06 00 B1 4D 09 F5 7B 30 68 F7 CF AE C2 9D 25 35 [14:59:55]CheckFolder [14:59:55]dirname=/storage/ofd_packets [14:59:55]CheckFolder done [14:59:55]ProducePacketName [14:59:55]name=ofd_packets/00033351 [14:59:55]NVStorageSaveData ofd_packets/00033351 [14:59:55]File name is /storage/ofd_packets/00033351 [14:59:55]Write 361 bytes [14:59:55]NVStorageSaveData done [14:59:55]OFDSenderStorePacket done [14:59:55]KKMCreateOFDPacket done [14:59:55]NVStorageSaveData kkm_last_timestamp [14:59:55]File name is /storage/kkm_last_timestamp [14:59:55]Write 4 bytes [14:59:55]NVStorageSaveData done [14:59:55]ExternCall_PrintAddStr [14:59:55]wPrintStart [14:59:55]Write to MH i2c: 01 00 00 B3 06 B9 [14:59:55]Write i2c OK [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: 01 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: 01 07 00 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: 01 07 00 B3 06 00 00 00 00 00 FF 0F CE [14:59:55]RasterBufferAndPrint [14:59:55]line Счет N : (3)169171 [14:59:55]line ИНН: 02508201610067 [14:59:55]line Контрольно-Кассовый Чек [14:59:55]line ПРОДАЖА [14:59:55]line Товар: 4601025117542 [14:59:55]line Напиток Фрутмотив тропический микс 0,5 [14:59:55]line 1.000 * 85.00 [14:59:55]line = 85.00 [14:59:55]line НДС 12% НСП 1% [14:59:55]line > о реализуемом товаре [14:59:55]line ИТОГО: 85.00 [14:59:55]line НСП 1% : 0.75 [14:59:55]line НДС 12% : 9.03 [14:59:55]line Наличными: 0.00 [14:59:55]line Безнал.: 85.00 [14:59:55]line Место: АЗС № 77 "Партнер Нефть" [14:59:55]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [14:59:55]line СНО: Общий режим [14:59:55]line Чек 29 12.07.2024 14:59 [14:59:55]line Смена: 433 ФФД: 1.0 [14:59:55]line ЗНМ: 0300000122 [14:59:55]line РНМ: 0000000000093033 [14:59:55]line Версия ККМ: 001 [14:59:55]line Платежная система: O! деньги [14:59:55]line ФМ: 0000000000875104 [14:59:55]line ФД: 33351 [14:59:55]line ФПД: 194944437680944 [14:59:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T145954&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33351&fm=194944437680944&tin=02508201610067®Number=0000000000093033&sum=8500 [14:59:55]line 0 [14:59:55]OFD Sender: Processing packet 33351 [packets to send 6, broken 5] [14:59:55]ProducePacketName [14:59:55]name=ofd_packets/00033351 [14:59:55]OFD Sender: To server: pG, [14:59:55]CommunicateWithHost lk.salyk.kg:30040 [14:59:55]ConnectInit lk.salyk.kg [14:59:55]written 0, free lines is 4095 [14:59:55]Connected sock=10 [14:59:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4B 01 00 00 6D C8 43 01 40 21 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 35 34 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 EA 44 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 47 82 00 00 35 04 06 00 B1 4D 09 F5 7B 30 68 F7 CF AE C2 9D 25 35 [14:59:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 73 01 47 00 94 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 38 37 35 31 30 34 10 04 04 00 47 82 00 00 F4 03 04 00 97 EF 90 66 B6 04 01 00 00 DE 75 B6 E7 B3 D2 CB 87 [14:59:55]CommunicateWithHost err = 0 [14:59:55]CheckOFDResponse [14:59:55]1017 (14) - 77093643461234 [14:59:55]1041 (16) - 0000000000875104 [14:59:55]1040 (4) - 33351 [14:59:55]1012 (4) - 12.07.2024 08:55 [14:59:55]1206 (1) - 0 [14:59:55]OFD Sender: Remove packet 33351 [14:59:55]ProducePacketName [14:59:55]name=ofd_packets/00033351 [14:59:55]NVStorageDeleteData [14:59:55]Write to MH i2c: 01 00 00 DE 06 E4 [14:59:55]Write i2c OK [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: 01 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: 01 07 00 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: 01 07 00 DE 06 00 00 00 00 00 BF 0C B6 [14:59:55]RasterBufferAndPrint [14:59:55]line [14:59:55]line [14:59:55]line [14:59:55]line [14:59:55]line [14:59:55]written 0, free lines is 3269 [14:59:55]MH_Cut [14:59:55]Write to MH i2c: D1 01 00 E5 06 01 BD [14:59:55]Write i2c OK [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: D1 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: D1 01 00 [14:59:55]MH_I2C_Read... [14:59:55]Read from MH i2c: D1 01 00 E5 06 00 BC [14:59:55]Write to MH i2c: 01 00 00 E6 06 EC [14:59:55]Write i2c OK [14:59:55]MH_I2C_Read... [14:59:56]OFD Sender: No OFD packet to send [14:59:56]*** Cut start [14:59:56]*** Partial cut [14:59:56]*** CUTSNS_PIN = 1 [14:59:56]*** CUTSNS_PIN = 0 [14:59:56]*** Brake cut motor [14:59:57]Read from MH i2c: 01 [14:59:57]MH_I2C_Read... [14:59:57]*** Stop cut motor [14:59:57]*** Cut end [14:59:57]Read from MH i2c: 01 07 00 [14:59:57]MH_I2C_Read... [14:59:57]Read from MH i2c: 01 07 00 E6 06 00 00 00 00 00 FF 0F 01 [14:59:57]process_action close_receipt done [14:59:57]requested_data is exist [14:59:57]produce_requested_data [14:59:57]requested_item fm.sn is exist - process it [14:59:57]wFMCommunicate request_size=4 [14:59:57]MH_SAM_APDU [14:59:57]CAPDU: 80 11 00 00 [14:59:57]Write to MH i2c: E2 08 00 E7 06 80 11 00 00 00 00 00 00 67 [14:59:57]Write i2c OK [14:59:57]MH_I2C_Read... [14:59:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:59:57]Read from MH i2c: E2 [14:59:57]MH_I2C_Read... [14:59:57]Read from MH i2c: E2 17 00 [14:59:57]MH_I2C_Read... [14:59:57]Read from MH i2c: E2 17 00 E7 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B3 [14:59:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [14:59:57]wFMCommunicate OK [14:59:57]requested_item fd.num is exist - process it [14:59:57]SAM_PROTO_GetFieldsCounters [14:59:57]wFMCommunicate request_size=4 [14:59:57]MH_SAM_APDU [14:59:57]CAPDU: 80 13 00 00 [14:59:57]Write to MH i2c: E2 08 00 E8 06 80 13 00 00 00 00 00 00 6A [14:59:57]Write i2c OK [14:59:57]MH_I2C_Read... [14:59:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:59:57]Read from MH i2c: E2 [14:59:57]MH_I2C_Read... [14:59:57]Read from MH i2c: E2 62 00 [14:59:57]MH_I2C_Read... [14:59:57]Read from MH i2c: E2 62 00 E8 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 47 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [14:59:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 47 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:59:57]wFMCommunicate OK [14:59:57]SAM_PROTO_GetFieldsCounters done [14:59:57]requested_item shift.num is exist - process it [14:59:57]requested_item shift.opened is exist - process it [14:59:57]req_shift_opened [14:59:57]FM_GetShiftState [14:59:57]SAM_PROTO_GetShiftState [14:59:57]wFMCommunicate request_size=4 [14:59:57]MH_SAM_APDU [14:59:57]CAPDU: 80 13 01 00 [14:59:57]Write to MH i2c: E2 08 00 E9 06 80 13 01 00 00 00 00 00 6C [14:59:57]Write i2c OK [14:59:57]MH_I2C_Read... [14:59:57]Read from MH i2c: E2 [14:59:57]MH_I2C_Read... [14:59:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:59:57]Read from MH i2c: E2 0E 00 [14:59:57]MH_I2C_Read... [14:59:57]Read from MH i2c: E2 0E 00 E9 06 00 09 00 01 17 74 90 66 00 00 00 00 90 00 F9 [14:59:57]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [14:59:57]wFMCommunicate OK [14:59:57]SAM_PROTO_GetShiftState done [14:59:57]FM_GetShiftState done [14:59:57]req_shift_opened done [14:59:57]requested_item shift.open_date is exist - process it [14:59:57]req_shift_open_date [14:59:57]req_shift_open_date done [14:59:57]produce_requested_data done [14:59:57]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33351,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [14:59:57]process_action_free close_receipt [14:59:57]json_value_free [14:59:57]json_value_free done [14:59:57]process_json_proto returns [14:59:57]Send response to host [14:59:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33351,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [14:59:57]free response buf [14:59:57]execute_script done [14:59:57]execute_script returns [14:59:57]free content buf [14:59:57]Sock 9.Close socket [14:59:57]Sock 9.Thread stoped [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:42]accept exits with 7 [15:01:42]New connection [15:01:42]New thread 3066461540 created [15:01:42]Thread 3066604900 joined [15:01:42]Waiting for new connection... [15:01:42] Sock 7.Parse request [15:01:42]Sock 7.Check first char [15:01:42]Sock 7.First char is OK [15:01:42]request: POST /json_proto HTTP/1.0 [15:01:42]Method: POST [15:01:42]URL: /json_proto [15:01:42]Method is POST - this is cgi request [15:01:42]url: /json_proto [15:01:42]query_string will be loaded in cgi processing [15:01:42]execute_cgi json_proto POST (null) [15:01:42]execute_cgi path=json_proto method=POST [15:01:42]POST find Content-Length [15:01:42]Host: 172.17.35.196:8080 [15:01:42]Content-Length: 797 [15:01:42]Content-Type: application/json [15:01:42] [15:01:42]POST finish read [15:01:42]Found Content-Length = 797 [15:01:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670181", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 29.720, "sum" : 2000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:01:42]execute_script... [15:01:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670181", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 29.720, "sum" : 2000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 2000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:01:42]POST & json_proto [15:01:42]process_json_proto [15:01:42]json parsed OK: [15:01:42]protocol is kg_v1.0 [15:01:42]action value=close_receipt [15:01:42]process_action close_receipt [15:01:42]cmd_close_receipt [15:01:42]MH_GetDate [15:01:42]Write to MH i2c: F0 00 00 EA 06 DF [15:01:42]Write i2c OK [15:01:42]MH_I2C_Read... [15:01:42]Read from MH i2c: F0 [15:01:42]MH_I2C_Read... [15:01:42]Read from MH i2c: F0 09 00 [15:01:42]MH_I2C_Read... [15:01:42]Read from MH i2c: F0 09 00 EA 06 00 57 45 91 66 AD 14 F4 65 95 [15:01:42]GetLastDocTimeStamp 1720796394 [15:01:42]current date 1720796503 [15:01:42]FM_GetShiftState [15:01:42]SAM_PROTO_GetShiftState [15:01:42]wFMCommunicate request_size=4 [15:01:42]MH_SAM_APDU [15:01:42]CAPDU: 80 13 01 00 [15:01:42]Write to MH i2c: E2 08 00 EB 06 80 13 01 00 00 00 00 00 6E [15:01:42]Write i2c OK [15:01:42]MH_I2C_Read... [15:01:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:42]Read from MH i2c: E2 [15:01:42]MH_I2C_Read... [15:01:42]Read from MH i2c: E2 0E 00 [15:01:42]MH_I2C_Read... [15:01:42]Read from MH i2c: E2 0E 00 EB 06 00 09 00 01 17 74 90 66 00 00 00 00 90 00 FB [15:01:42]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:01:42]wFMCommunicate OK [15:01:42]SAM_PROTO_GetShiftState done [15:01:42]FM_GetShiftState done [15:01:42]opened in 1720742935 [15:01:42]opened+sec_in_day 1720829335 [15:01:42]quantity*price = 200015 [15:01:42]sum+1 = 200017 [15:01:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.16 НСП 1% : 17.70 НДС 12% : 212.41 Наличными: 0.00 Безнал.: 2000.16 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 30 12.07.2024 15:01 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875104 ФД: 33352 ФПД: 224532725683622 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150143&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33352&fm=224532725683622&tin=02508201610067®Number=0000000000093033&sum=200016 [15:01:43]StoreToDocumentArchive [15:01:43]shift 433 fd 33352 [15:01:43]save to /storage/0433/doc_00033352 [15:01:43]save last doc name /storage/0433/doc_00033352 to /storage/kkm_last_doc_name [15:01:43]save OK [15:01:43]Clear old archive folders... [15:01:43]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:01:43]tlvbuf is 00A8E900 [15:01:43]SAM_PROTO_ClearQueue [15:01:43]wFMCommunicate request_size=4 [15:01:43]MH_SAM_APDU [15:01:43]CAPDU: 80 09 00 00 [15:01:43]Write to MH i2c: E2 08 00 F8 06 80 09 00 00 00 00 00 00 70 [15:01:43]Write i2c OK [15:01:43]MH_I2C_Read... [15:01:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:01:43]Read from MH i2c: E2 [15:01:43]MH_I2C_Read... [15:01:43]Read from MH i2c: E2 03 00 [15:01:43]MH_I2C_Read... [15:01:43]Read from MH i2c: E2 03 00 F8 06 00 90 00 72 [15:01:43]RAPDU: 90 00 [15:01:43]wFMCommunicate OK [15:01:43]SAM_PROTO_ClearQueue done [15:01:43]KKMCreateOFDPacket [15:01:43]OFDProtocolAddRootSTLVToBuf [15:01:43]FM_MakeSignedData [15:01:43]FM_MakeSignedData [15:01:43]SAM_PROTO_SignData [15:01:43]wFMCommunicate request_size=4 [15:01:43]MH_SAM_APDU [15:01:43]CAPDU: 80 0D 01 02 [15:01:43]Write to MH i2c: E2 08 00 F9 06 80 0D 01 02 00 00 00 00 78 [15:01:43]Write i2c OK [15:01:43]MH_I2C_Read... [15:01:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:01:43]Read from MH i2c: E2 [15:01:43]MH_I2C_Read... [15:01:43]Read from MH i2c: E2 03 00 [15:01:43]MH_I2C_Read... [15:01:43]Read from MH i2c: E2 03 00 F9 06 00 90 00 73 [15:01:43]RAPDU: 90 00 [15:01:43]wFMCommunicate OK [15:01:43]wFMCommunicate request_size=255 [15:01:43]MH_SAM_APDU [15:01:43]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 74 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 50 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 57 45 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 48 82 00 00 35 04 06 00 [15:01:43]Write to MH i2c: E2 02 01 FA 06 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 74 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 50 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 57 45 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 48 82 00 00 35 04 06 00 00 00 89 [15:01:43]Write i2c OK [15:01:43]MH_I2C_Read... [15:01:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:44]Read from MH i2c: E2 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: E2 03 00 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: E2 03 00 FA 06 00 90 00 74 [15:01:44]RAPDU: 90 00 [15:01:44]wFMCommunicate OK [15:01:44]wFMCommunicate request_size=11 [15:01:44]MH_SAM_APDU [15:01:44]CAPDU: 80 0D 02 02 06 CC 36 19 5A D5 A6 [15:01:44]Write to MH i2c: E2 0E 00 FB 06 80 0D 02 02 06 00 CC 36 19 5A D5 A6 00 00 77 [15:01:44]Write i2c OK [15:01:44]MH_I2C_Read... [15:01:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:44]Read from MH i2c: E2 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: E2 03 00 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: E2 03 00 FB 06 00 90 00 75 [15:01:44]RAPDU: 90 00 [15:01:44]wFMCommunicate OK [15:01:44]wFMCommunicate request_size=4 [15:01:44]MH_SAM_APDU [15:01:44]CAPDU: 80 0D 03 02 [15:01:44]Write to MH i2c: E2 08 00 FC 06 80 0D 03 02 00 00 00 00 7D [15:01:44]Write i2c OK [15:01:44]MH_I2C_Read... [15:01:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:01:44]Read from MH i2c: E2 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: E2 0B 00 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: E2 0B 00 FC 06 00 B7 49 01 BC CE 81 11 E4 90 00 7F [15:01:44]RAPDU: B7 49 01 BC CE 81 11 E4 90 00 [15:01:44]wFMCommunicate OK [15:01:44]SAM_PROTO_SignData done [15:01:44]FM_MakeSignedData done [15:01:44]CreateOFDProtocolMessage [15:01:44]wFMCommunicate request_size=4 [15:01:44]MH_SAM_APDU [15:01:44]CAPDU: 80 11 00 00 [15:01:44]Write to MH i2c: E2 08 00 FD 06 80 11 00 00 00 00 00 00 7D [15:01:44]Write i2c OK [15:01:44]MH_I2C_Read... [15:01:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:44]Read from MH i2c: E2 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: E2 17 00 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: E2 17 00 FD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C9 [15:01:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:01:44]wFMCommunicate OK [15:01:44]CreateOFDProtocolMessage done [15:01:44]OFDSenderStorePacket 33352 [15:01:44]StoreOFDPacket docnum=33352 [15:01:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 01 00 00 F0 68 08 01 B7 1D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 74 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 50 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 57 45 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 48 82 00 00 35 04 06 00 CC 36 19 5A D5 A6 B7 49 01 BC CE 81 11 E4 [15:01:44]CheckFolder [15:01:44]dirname=/storage/ofd_packets [15:01:44]CheckFolder done [15:01:44]ProducePacketName [15:01:44]name=ofd_packets/00033352 [15:01:44]NVStorageSaveData ofd_packets/00033352 [15:01:44]File name is /storage/ofd_packets/00033352 [15:01:44]Write 302 bytes [15:01:44]NVStorageSaveData done [15:01:44]OFDSenderStorePacket done [15:01:44]KKMCreateOFDPacket done [15:01:44]NVStorageSaveData kkm_last_timestamp [15:01:44]File name is /storage/kkm_last_timestamp [15:01:44]Write 4 bytes [15:01:44]NVStorageSaveData done [15:01:44]ExternCall_PrintAddStr [15:01:44]wPrintStart [15:01:44]Write to MH i2c: 01 00 00 FE 06 04 [15:01:44]Write i2c OK [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: 01 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: 01 07 00 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: 01 07 00 FE 06 00 00 00 00 00 FF 0F 19 [15:01:44]RasterBufferAndPrint [15:01:44]line Счет N : (1)5670181 [15:01:44]line ИНН: 02508201610067 [15:01:44]line Контрольно-Кассовый Чек [15:01:44]line ПРОДАЖА [15:01:44]line ТРК (МРК, ГНК) : 41 [15:01:44]line Товар: 2710124130 [15:01:44]line SUPER 92-К-5 [15:01:44]line 29.720 * 67.30 [15:01:44]line = 2000.16 [15:01:44]line НДС 12% НСП 1% [15:01:44]line > о реализуемом товаре [15:01:44]line ИТОГО: 2000.16 [15:01:44]line НСП 1% : 17.70 [15:01:44]line НДС 12% : 212.41 [15:01:44]line Наличными: 0.00 [15:01:44]line Безнал.: 2000.16 [15:01:44]line Место: АЗС № 77 "Партнер Нефть" [15:01:44]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:01:44]line СНО: Общий режим [15:01:44]line Чек 30 12.07.2024 15:01 [15:01:44]line Смена: 433 ФФД: 1.0 [15:01:44]line ЗНМ: 0300000122 [15:01:44]line РНМ: 0000000000093033 [15:01:44]line Версия ККМ: 001 [15:01:44]line Платежная система: O! деньги [15:01:44]line ФМ: 0000000000875104 [15:01:44]line ФД: 33352 [15:01:44]line ФПД: 224532725683622 [15:01:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150143&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33352&fm=224532725683622&tin=02508201610067®Number=0000000000093033&sum=200016 [15:01:44]OFD Sender: Processing packet 33352 [packets to send 6, broken 5] [15:01:44]ProducePacketName [15:01:44]name=ofd_packets/00033352 [15:01:44]OFD Sender: To server: pG, [15:01:44]CommunicateWithHost lk.salyk.kg:30040 [15:01:44]ConnectInit lk.salyk.kg [15:01:44]written 0, free lines is 4095 [15:01:44]Connected sock=10 [15:01:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 01 00 00 F0 68 08 01 B7 1D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 74 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 50 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 57 45 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 48 82 00 00 35 04 06 00 CC 36 19 5A D5 A6 B7 49 01 BC CE 81 11 E4 [15:01:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 1E DE 47 00 E6 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 48 82 00 00 F4 03 04 00 04 F0 90 66 B6 04 01 00 00 03 09 50 3C 6A 33 A0 E9 [15:01:44]CommunicateWithHost err = 0 [15:01:44]CheckOFDResponse [15:01:44]1017 (14) - 77093643461234 [15:01:44]1041 (16) - 0000000000875104 [15:01:44]1040 (4) - 33352 [15:01:44]1012 (4) - 12.07.2024 08:57 [15:01:44]1206 (1) - 0 [15:01:44]OFD Sender: Remove packet 33352 [15:01:44]ProducePacketName [15:01:44]name=ofd_packets/00033352 [15:01:44]NVStorageDeleteData [15:01:44]Write to MH i2c: 01 00 00 28 07 2F [15:01:44]Write i2c OK [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: 01 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: 01 07 00 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: 01 07 00 28 07 00 00 00 00 00 E5 0C 27 [15:01:44]RasterBufferAndPrint [15:01:44]line [15:01:44]line [15:01:44]line [15:01:44]line [15:01:44]line [15:01:44]written 0, free lines is 3308 [15:01:44]MH_Cut [15:01:44]Write to MH i2c: D1 01 00 2F 07 01 08 [15:01:44]Write i2c OK [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: D1 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: D1 01 00 [15:01:44]MH_I2C_Read... [15:01:44]Read from MH i2c: D1 01 00 2F 07 00 07 [15:01:44]Write to MH i2c: 01 00 00 30 07 37 [15:01:45]Write i2c OK [15:01:45]MH_I2C_Read... [15:01:45]OFD Sender: No OFD packet to send [15:01:45]*** Cut start [15:01:45]*** Partial cut [15:01:45]*** CUTSNS_PIN = 1 [15:01:45]*** CUTSNS_PIN = 0 [15:01:46]*** Brake cut motor [15:01:46]Read from MH i2c: 01 [15:01:46]MH_I2C_Read... [15:01:46]*** Stop cut motor [15:01:46]*** Cut end [15:01:46]Read from MH i2c: 01 07 00 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: 01 07 00 30 07 00 00 00 00 00 FF 0F 4C [15:01:46]process_action close_receipt done [15:01:46]requested_data is exist [15:01:46]produce_requested_data [15:01:46]requested_item fm.sn is exist - process it [15:01:46]wFMCommunicate request_size=4 [15:01:46]MH_SAM_APDU [15:01:46]CAPDU: 80 11 00 00 [15:01:46]Write to MH i2c: E2 08 00 31 07 80 11 00 00 00 00 00 00 B2 [15:01:46]Write i2c OK [15:01:46]MH_I2C_Read... [15:01:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:46]Read from MH i2c: E2 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 17 00 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 17 00 31 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FE [15:01:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:01:46]wFMCommunicate OK [15:01:46]requested_item fd.num is exist - process it [15:01:46]SAM_PROTO_GetFieldsCounters [15:01:46]wFMCommunicate request_size=4 [15:01:46]MH_SAM_APDU [15:01:46]CAPDU: 80 13 00 00 [15:01:46]Write to MH i2c: E2 08 00 32 07 80 13 00 00 00 00 00 00 B5 [15:01:46]Write i2c OK [15:01:46]MH_I2C_Read... [15:01:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:01:46]Read from MH i2c: E2 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 62 00 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 62 00 32 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 48 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [15:01:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 48 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:01:46]wFMCommunicate OK [15:01:46]SAM_PROTO_GetFieldsCounters done [15:01:46]requested_item shift.num is exist - process it [15:01:46]requested_item shift.opened is exist - process it [15:01:46]req_shift_opened [15:01:46]FM_GetShiftState [15:01:46]SAM_PROTO_GetShiftState [15:01:46]wFMCommunicate request_size=4 [15:01:46]MH_SAM_APDU [15:01:46]CAPDU: 80 13 01 00 [15:01:46]Write to MH i2c: E2 08 00 33 07 80 13 01 00 00 00 00 00 B7 [15:01:46]Write i2c OK [15:01:46]MH_I2C_Read... [15:01:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:46]Read from MH i2c: E2 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 0E 00 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 0E 00 33 07 00 09 00 01 17 74 90 66 00 00 00 00 90 00 44 [15:01:46]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:01:46]wFMCommunicate OK [15:01:46]SAM_PROTO_GetShiftState done [15:01:46]FM_GetShiftState done [15:01:46]req_shift_opened done [15:01:46]requested_item shift.open_date is exist - process it [15:01:46]req_shift_open_date [15:01:46]req_shift_open_date done [15:01:46]produce_requested_data done [15:01:46]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33352,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:01:46]process_action_free close_receipt [15:01:46]json_value_free [15:01:46]json_value_free done [15:01:46]process_json_proto returns [15:01:46]Send response to host [15:01:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33352,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:01:46]free response buf [15:01:46]execute_script done [15:01:46]execute_script returns [15:01:46]free content buf [15:01:46]Sock 7.Close socket [15:01:46]Sock 7.Thread stoped [15:01:50]OFD Sender: No OFD packet to send [15:01:55]OFD Sender: No OFD packet to send [15:02:00]OFD Sender: No OFD packet to send [15:02:04]accept exits with 9 [15:02:04]New connection [15:02:04]New thread 3066604900 created [15:02:04]Thread 3066461540 joined [15:02:04]Waiting for new connection... [15:02:04] Sock 9.Parse request [15:02:04]Sock 9.Check first char [15:02:04]Sock 9.First char is OK [15:02:04]request: POST /json_proto HTTP/1.0 [15:02:04]Method: POST [15:02:04]URL: /json_proto [15:02:04]Method is POST - this is cgi request [15:02:04]url: /json_proto [15:02:04]query_string will be loaded in cgi processing [15:02:04]execute_cgi json_proto POST (null) [15:02:04]execute_cgi path=json_proto method=POST [15:02:04]POST find Content-Length [15:02:04]Host: 172.17.35.196:8080 [15:02:04]Content-Length: 994 [15:02:04]Content-Type: application/json [15:02:04] [15:02:04]POST finish read [15:02:04]Found Content-Length = 994 [15:02:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169172", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:02:04]execute_script... [15:02:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169172", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:02:04]POST & json_proto [15:02:04]process_json_proto [15:02:04]json parsed OK: [15:02:04]protocol is kg_v1.0 [15:02:04]action value=close_receipt [15:02:04]process_action close_receipt [15:02:04]cmd_close_receipt [15:02:04]MH_GetDate [15:02:04]Write to MH i2c: F0 00 00 34 07 2A [15:02:04]Write i2c OK [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: F0 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: F0 09 00 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: F0 09 00 34 07 00 6D 45 91 66 AD 14 F4 65 F6 [15:02:04]GetLastDocTimeStamp 1720796503 [15:02:04]current date 1720796525 [15:02:04]FM_GetShiftState [15:02:04]SAM_PROTO_GetShiftState [15:02:04]wFMCommunicate request_size=4 [15:02:04]MH_SAM_APDU [15:02:04]CAPDU: 80 13 01 00 [15:02:04]Write to MH i2c: E2 08 00 35 07 80 13 01 00 00 00 00 00 B9 [15:02:04]Write i2c OK [15:02:04]MH_I2C_Read... [15:02:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:02:04]Read from MH i2c: E2 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 0E 00 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 0E 00 35 07 00 09 00 01 17 74 90 66 00 00 00 00 90 00 46 [15:02:04]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:02:04]wFMCommunicate OK [15:02:04]SAM_PROTO_GetShiftState done [15:02:04]FM_GetShiftState done [15:02:04]opened in 1720742935 [15:02:04]opened+sec_in_day 1720829335 [15:02:04]quantity*price = 11000 [15:02:04]sum+1 = 11001 [15:02:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 2.000 * 7.00 = 14.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 124.00 НСП 1% : 1.09 НДС 12% : 13.17 Наличными: 124.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 31 12.07.2024 15:02 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33353 ФПД: 48242133911199 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150206&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33353&fm=48242133911199&tin=02508201610067®Number=0000000000093033&sum=12400 0 [15:02:05]StoreToDocumentArchive [15:02:05]shift 433 fd 33353 [15:02:05]save to /storage/0433/doc_00033353 [15:02:05]save last doc name /storage/0433/doc_00033353 to /storage/kkm_last_doc_name [15:02:05]save OK [15:02:05]Clear old archive folders... [15:02:05]ProcessDocumentItem done err = 0, tmpTLVsize=415 [15:02:05]tlvbuf is 00A6C580 [15:02:05]SAM_PROTO_ClearQueue [15:02:05]wFMCommunicate request_size=4 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 09 00 00 [15:02:05]Write to MH i2c: E2 08 00 42 07 80 09 00 00 00 00 00 00 BB [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 42 07 00 90 00 BD [15:02:05]RAPDU: 90 00 [15:02:05]wFMCommunicate OK [15:02:05]SAM_PROTO_ClearQueue done [15:02:05]KKMCreateOFDPacket [15:02:05]OFDProtocolAddRootSTLVToBuf [15:02:05]FM_MakeSignedData [15:02:05]FM_MakeSignedData [15:02:05]SAM_PROTO_SignData [15:02:05]wFMCommunicate request_size=4 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 0D 01 02 [15:02:05]Write to MH i2c: E2 08 00 43 07 80 0D 01 02 00 00 00 00 C3 [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 03 00 43 07 00 90 00 BE [15:02:05]RAPDU: 90 00 [15:02:05]wFMCommunicate OK [15:02:05]wFMCommunicate request_size=255 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 0D 02 02 FA 03 00 9F 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [15:02:05]Write to MH i2c: E2 02 01 44 07 80 0D 02 02 FA 00 03 00 9F 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 0F [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:02:06]Read from MH i2c: E2 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 03 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 03 00 44 07 00 90 00 BF [15:02:06]RAPDU: 90 00 [15:02:06]wFMCommunicate OK [15:02:06]wFMCommunicate request_size=174 [15:02:06]MH_SAM_APDU [15:02:06]CAPDU: 80 0D 02 02 A9 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 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 1F 00 00 00 F4 03 04 00 6E 45 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 49 82 00 00 35 04 06 00 2B E0 3F 41 46 9F [15:02:06]Write to MH i2c: E2 B1 00 45 07 80 0D 02 02 A9 00 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 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 1F 00 00 00 F4 03 04 00 6E 45 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 49 82 00 00 35 04 06 00 2B E0 3F 41 46 9F 00 00 DF [15:02:06]Write i2c OK [15:02:06]MH_I2C_Read... [15:02:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:02:06]Read from MH i2c: E2 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 03 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 03 00 45 07 00 90 00 C0 [15:02:06]RAPDU: 90 00 [15:02:06]wFMCommunicate OK [15:02:06]wFMCommunicate request_size=4 [15:02:06]MH_SAM_APDU [15:02:06]CAPDU: 80 0D 03 02 [15:02:06]Write to MH i2c: E2 08 00 46 07 80 0D 03 02 00 00 00 00 C8 [15:02:06]Write i2c OK [15:02:06]MH_I2C_Read... [15:02:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:02:06]Read from MH i2c: E2 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 0B 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 0B 00 46 07 00 FC 29 AD 1A 5F 77 1B E8 90 00 8E [15:02:06]RAPDU: FC 29 AD 1A 5F 77 1B E8 90 00 [15:02:06]wFMCommunicate OK [15:02:06]SAM_PROTO_SignData done [15:02:06]FM_MakeSignedData done [15:02:06]CreateOFDProtocolMessage [15:02:06]wFMCommunicate request_size=4 [15:02:06]MH_SAM_APDU [15:02:06]CAPDU: 80 11 00 00 [15:02:06]Write to MH i2c: E2 08 00 47 07 80 11 00 00 00 00 00 00 C8 [15:02:06]Write i2c OK [15:02:06]MH_I2C_Read... [15:02:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:02:06]Read from MH i2c: E2 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 17 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: E2 17 00 47 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 14 [15:02:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:02:06]wFMCommunicate OK [15:02:06]CreateOFDProtocolMessage done [15:02:06]OFDSenderStorePacket 33353 [15:02:06]StoreOFDPacket docnum=33353 [15:02:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 B3 01 00 00 43 5C AB 01 0E F6 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 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 1F 00 00 00 F4 03 04 00 6E 45 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 49 82 00 00 35 04 06 00 2B E0 3F 41 46 9F FC 29 AD 1A 5F 77 1B E8 [15:02:06]CheckFolder [15:02:06]dirname=/storage/ofd_packets [15:02:06]CheckFolder done [15:02:06]ProducePacketName [15:02:06]name=ofd_packets/00033353 [15:02:06]NVStorageSaveData ofd_packets/00033353 [15:02:06]File name is /storage/ofd_packets/00033353 [15:02:06]Write 465 bytes [15:02:06]NVStorageSaveData done [15:02:06]OFDSenderStorePacket done [15:02:06]KKMCreateOFDPacket done [15:02:06]NVStorageSaveData kkm_last_timestamp [15:02:06]File name is /storage/kkm_last_timestamp [15:02:06]Write 4 bytes [15:02:06]NVStorageSaveData done [15:02:06]ExternCall_PrintAddStr [15:02:06]wPrintStart [15:02:06]Write to MH i2c: 01 00 00 48 07 4F [15:02:06]OFD Sender: Processing packet 33353 [packets to send 6, broken 5] [15:02:06]ProducePacketName [15:02:06]name=ofd_packets/00033353 [15:02:06]OFD Sender: To server: pG, [15:02:06]CommunicateWithHost lk.salyk.kg:30040 [15:02:06]Write i2c OK [15:02:06]ConnectInit lk.salyk.kg [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 07 00 [15:02:06]MH_I2C_Read... [15:02:06]Read from MH i2c: 01 07 00 48 07 00 00 00 00 00 FF 0F 64 [15:02:06]RasterBufferAndPrint [15:02:06]line Счет N : (3)169172 [15:02:06]line ИНН: 02508201610067 [15:02:06]line Контрольно-Кассовый Чек [15:02:06]line ПРОДАЖА [15:02:06]line Товар: 4870202522701 [15:02:06]line Напиток Maxi Чай черный Малина 1,2 [15:02:06]line 1.000 * 110.00 [15:02:06]line = 110.00 [15:02:06]line НДС 12% НСП 1% [15:02:06]line > о реализуемом товаре [15:02:06]line Товар: 2000053020015 [15:02:06]line Бумажные стаканы 250мл 1шт [15:02:06]line 2.000 * 7.00 [15:02:06]line = 14.00 [15:02:06]line НДС 12% НСП 1% [15:02:06]line > о реализуемом товаре [15:02:06]line ИТОГО: 124.00 [15:02:06]line НСП 1% : 1.09 [15:02:06]line НДС 12% : 13.17 [15:02:06]line Наличными: 124.00 [15:02:06]line Безнал.: 0.00 [15:02:06]line Место: АЗС № 77 "Партнер Нефть" [15:02:06]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:02:06]line СНО: Общий режим [15:02:06]line Чек 31 12.07.2024 15:02 [15:02:06]line Смена: 433 ФФД: 1.0 [15:02:06]line ЗНМ: 0300000122 [15:02:06]line РНМ: 0000000000093033 [15:02:06]line Версия ККМ: 001 [15:02:06]line ФМ: 0000000000875104 [15:02:06]line ФД: 33353 [15:02:06]line ФПД: 48242133911199 [15:02:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T150206&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33353&fm=48242133911199&tin=02508201610067®Number=0000000000093033&sum=12400 [15:02:06]line 0 [15:02:06]written 0, free lines is 4095 [15:02:06]Connected sock=10 [15:02:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 B3 01 00 00 43 5C AB 01 0E F6 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 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 1F 00 00 00 F4 03 04 00 6E 45 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 49 82 00 00 35 04 06 00 2B E0 3F 41 46 9F FC 29 AD 1A 5F 77 1B E8 [15:02:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 5D 1A 47 00 EF 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 49 82 00 00 F4 03 04 00 1B F0 90 66 B6 04 01 00 00 1F 5E FA 35 00 81 08 FD [15:02:07]CommunicateWithHost err = 0 [15:02:07]CheckOFDResponse [15:02:07]1017 (14) - 77093643461234 [15:02:07]1041 (16) - 0000000000875104 [15:02:07]1040 (4) - 33353 [15:02:07]1012 (4) - 12.07.2024 08:58 [15:02:07]1206 (1) - 0 [15:02:07]OFD Sender: Remove packet 33353 [15:02:07]ProducePacketName [15:02:07]name=ofd_packets/00033353 [15:02:07]NVStorageDeleteData [15:02:07]Write to MH i2c: 01 00 00 78 07 7F [15:02:07]Write i2c OK [15:02:07]MH_I2C_Read... [15:02:07]Read from MH i2c: 01 [15:02:07]MH_I2C_Read... [15:02:07]Read from MH i2c: 01 07 00 [15:02:07]MH_I2C_Read... [15:02:07]Read from MH i2c: 01 07 00 78 07 00 00 00 00 00 4F 0C E1 [15:02:07]RasterBufferAndPrint [15:02:07]line [15:02:07]line [15:02:07]line [15:02:07]line [15:02:07]line [15:02:07]written 0, free lines is 3160 [15:02:07]MH_Cut [15:02:07]Write to MH i2c: D1 01 00 7F 07 01 58 [15:02:07]Write i2c OK [15:02:07]MH_I2C_Read... [15:02:07]Read from MH i2c: D1 [15:02:07]MH_I2C_Read... [15:02:07]Read from MH i2c: D1 01 00 [15:02:07]MH_I2C_Read... [15:02:07]Read from MH i2c: D1 01 00 7F 07 00 57 [15:02:07]Write to MH i2c: 01 00 00 80 07 87 [15:02:07]Write i2c OK [15:02:07]MH_I2C_Read... [15:02:07]OFD Sender: No OFD packet to send [15:02:08]*** Cut start [15:02:08]*** Partial cut [15:02:08]*** CUTSNS_PIN = 1 [15:02:08]*** CUTSNS_PIN = 0 [15:02:08]*** Brake cut motor [15:02:08]Read from MH i2c: 01 [15:02:08]MH_I2C_Read... [15:02:08]*** Stop cut motor [15:02:08]*** Cut end [15:02:08]Read from MH i2c: 01 07 00 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: 01 07 00 80 07 00 00 00 00 00 FF 0F 9C [15:02:08]process_action close_receipt done [15:02:08]requested_data is exist [15:02:08]produce_requested_data [15:02:08]requested_item fm.sn is exist - process it [15:02:08]wFMCommunicate request_size=4 [15:02:08]MH_SAM_APDU [15:02:08]CAPDU: 80 11 00 00 [15:02:08]Write to MH i2c: E2 08 00 81 07 80 11 00 00 00 00 00 00 02 [15:02:08]Write i2c OK [15:02:08]MH_I2C_Read... [15:02:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:02:08]Read from MH i2c: E2 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 17 00 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 17 00 81 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4E [15:02:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:02:08]wFMCommunicate OK [15:02:08]requested_item fd.num is exist - process it [15:02:08]SAM_PROTO_GetFieldsCounters [15:02:08]wFMCommunicate request_size=4 [15:02:08]MH_SAM_APDU [15:02:08]CAPDU: 80 13 00 00 [15:02:08]Write to MH i2c: E2 08 00 82 07 80 13 00 00 00 00 00 00 05 [15:02:08]Write i2c OK [15:02:08]MH_I2C_Read... [15:02:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:02:08]Read from MH i2c: E2 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 62 00 [15:02:08]MH_I2C_Read... [15:02:08]Read from MH i2c: E2 62 00 82 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 49 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [15:02:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 49 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:02:08]wFMCommunicate OK [15:02:08]SAM_PROTO_GetFieldsCounters done [15:02:08]requested_item shift.num is exist - process it [15:02:08]requested_item shift.opened is exist - process it [15:02:08]req_shift_opened [15:02:08]FM_GetShiftState [15:02:08]SAM_PROTO_GetShiftState [15:02:08]wFMCommunicate request_size=4 [15:02:08]MH_SAM_APDU [15:02:08]CAPDU: 80 13 01 00 [15:02:08]Write to MH i2c: E2 08 00 83 07 80 13 01 00 00 00 00 00 07 [15:02:08]Write i2c OK [15:02:08]MH_I2C_Read... [15:02:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:02:09]Read from MH i2c: E2 [15:02:09]MH_I2C_Read... [15:02:09]Read from MH i2c: E2 0E 00 [15:02:09]MH_I2C_Read... [15:02:09]Read from MH i2c: E2 0E 00 83 07 00 09 00 01 17 74 90 66 00 00 00 00 90 00 94 [15:02:09]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:02:09]wFMCommunicate OK [15:02:09]SAM_PROTO_GetShiftState done [15:02:09]FM_GetShiftState done [15:02:09]req_shift_opened done [15:02:09]requested_item shift.open_date is exist - process it [15:02:09]req_shift_open_date [15:02:09]req_shift_open_date done [15:02:09]produce_requested_data done [15:02:09]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33353,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:02:09]process_action_free close_receipt [15:02:09]json_value_free [15:02:09]json_value_free done [15:02:09]process_json_proto returns [15:02:09]Send response to host [15:02:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33353,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:02:09]free response buf [15:02:09]execute_script done [15:02:09]execute_script returns [15:02:09]free content buf [15:02:09]Sock 9.Close socket [15:02:09]Sock 9.Thread stoped [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:17]OFD Sender: No OFD packet to send [15:06:22]OFD Sender: No OFD packet to send [15:06:27]OFD Sender: No OFD packet to send [15:06:32]OFD Sender: No OFD packet to send [15:06:37]OFD Sender: No OFD packet to send [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]accept exits with 7 [15:10:52]New connection [15:10:52]New thread 3066461540 created [15:10:52]Thread 3066604900 joined [15:10:52]Waiting for new connection... [15:10:52] Sock 7.Parse request [15:10:52]Sock 7.Check first char [15:10:52]Sock 7.First char is OK [15:10:52]request: POST /json_proto HTTP/1.0 [15:10:52]Method: POST [15:10:52]URL: /json_proto [15:10:52]Method is POST - this is cgi request [15:10:52]url: /json_proto [15:10:52]query_string will be loaded in cgi processing [15:10:52]execute_cgi json_proto POST (null) [15:10:52]execute_cgi path=json_proto method=POST [15:10:52]POST find Content-Length [15:10:52]Host: 172.17.35.196:8080 [15:10:52]Content-Length: 838 [15:10:52]Content-Type: application/json [15:10:52] [15:10:52]POST finish read [15:10:52]Found Content-Length = 838 [15:10:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670190", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 5.510, "sum" : 400.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 400.03 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:10:52]execute_script... [15:10:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670190", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 5.510, "sum" : 400.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 400.03 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:10:52]POST & json_proto [15:10:52]process_json_proto [15:10:52]json parsed OK: [15:10:52]protocol is kg_v1.0 [15:10:52]action value=close_receipt [15:10:52]process_action close_receipt [15:10:52]cmd_close_receipt [15:10:52]MH_GetDate [15:10:52]Write to MH i2c: F0 00 00 84 07 7A [15:10:52]Write i2c OK [15:10:52]MH_I2C_Read... [15:10:52]Read from MH i2c: F0 [15:10:52]MH_I2C_Read... [15:10:52]Read from MH i2c: F0 09 00 [15:10:52]MH_I2C_Read... [15:10:52]Read from MH i2c: F0 09 00 84 07 00 7D 47 91 66 AD 14 F4 65 58 [15:10:52]GetLastDocTimeStamp 1720796526 [15:10:52]current date 1720797053 [15:10:52]FM_GetShiftState [15:10:52]SAM_PROTO_GetShiftState [15:10:52]wFMCommunicate request_size=4 [15:10:52]MH_SAM_APDU [15:10:52]CAPDU: 80 13 01 00 [15:10:52]Write to MH i2c: E2 08 00 85 07 80 13 01 00 00 00 00 00 09 [15:10:52]Write i2c OK [15:10:52]MH_I2C_Read... [15:10:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:10:52]Read from MH i2c: E2 [15:10:52]MH_I2C_Read... [15:10:52]Read from MH i2c: E2 0E 00 [15:10:52]MH_I2C_Read... [15:10:52]Read from MH i2c: E2 0E 00 85 07 00 09 00 01 17 74 90 66 00 00 00 00 90 00 96 [15:10:52]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:10:52]wFMCommunicate OK [15:10:52]SAM_PROTO_GetShiftState done [15:10:52]FM_GetShiftState done [15:10:52]opened in 1720742935 [15:10:52]opened+sec_in_day 1720829335 [15:10:52]quantity*price = 40002 [15:10:52]sum+1 = 40004 [15:10:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.03 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 0.00 Безнал.: 400.03 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 32 12.07.2024 15:10 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33354 ФПД: 254390861806416 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151053&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33354&fm=254390861806416&tin=02508201610067®Number=0000000000093033&sum=40003 [15:10:53]StoreToDocumentArchive [15:10:53]shift 433 fd 33354 [15:10:53]save to /storage/0433/doc_00033354 [15:10:53]save last doc name /storage/0433/doc_00033354 to /storage/kkm_last_doc_name [15:10:53]save OK [15:10:53]Clear old archive folders... [15:10:53]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:10:53]tlvbuf is 00A713B0 [15:10:53]SAM_PROTO_ClearQueue [15:10:53]wFMCommunicate request_size=4 [15:10:53]MH_SAM_APDU [15:10:53]CAPDU: 80 09 00 00 [15:10:53]Write to MH i2c: E2 08 00 92 07 80 09 00 00 00 00 00 00 0B [15:10:53]Write i2c OK [15:10:53]MH_I2C_Read... [15:10:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:10:53]Read from MH i2c: E2 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 03 00 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 03 00 92 07 00 90 00 0D [15:10:53]RAPDU: 90 00 [15:10:53]wFMCommunicate OK [15:10:53]SAM_PROTO_ClearQueue done [15:10:53]KKMCreateOFDPacket [15:10:53]OFDProtocolAddRootSTLVToBuf [15:10:53]FM_MakeSignedData [15:10:53]FM_MakeSignedData [15:10:53]SAM_PROTO_SignData [15:10:53]wFMCommunicate request_size=4 [15:10:53]MH_SAM_APDU [15:10:53]CAPDU: 80 0D 01 02 [15:10:53]Write to MH i2c: E2 08 00 93 07 80 0D 01 02 00 00 00 00 13 [15:10:53]Write i2c OK [15:10:53]MH_I2C_Read... [15:10:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:10:53]Read from MH i2c: E2 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 03 00 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 03 00 93 07 00 90 00 0E [15:10:53]RAPDU: 90 00 [15:10:53]wFMCommunicate OK [15:10:53]wFMCommunicate request_size=255 [15:10:53]MH_SAM_APDU [15:10:53]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 86 15 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 43 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 43 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 43 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 7D 47 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4A 82 00 00 35 04 06 00 E7 5D FC F3 [15:10:53]Write to MH i2c: E2 02 01 94 07 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 86 15 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 43 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 43 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 43 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 7D 47 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4A 82 00 00 35 04 06 00 E7 5D FC F3 00 00 A8 [15:10:53]Write i2c OK [15:10:53]MH_I2C_Read... [15:10:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:10:53]Read from MH i2c: E2 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 03 00 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 03 00 94 07 00 90 00 0F [15:10:53]RAPDU: 90 00 [15:10:53]wFMCommunicate OK [15:10:53]wFMCommunicate request_size=7 [15:10:53]MH_SAM_APDU [15:10:53]CAPDU: 80 0D 02 02 02 BB 50 [15:10:53]Write to MH i2c: E2 0A 00 95 07 80 0D 02 02 02 00 BB 50 00 00 25 [15:10:53]Write i2c OK [15:10:53]MH_I2C_Read... [15:10:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:10:53]Read from MH i2c: E2 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 03 00 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 03 00 95 07 00 90 00 10 [15:10:53]RAPDU: 90 00 [15:10:53]wFMCommunicate OK [15:10:53]wFMCommunicate request_size=4 [15:10:53]MH_SAM_APDU [15:10:53]CAPDU: 80 0D 03 02 [15:10:53]Write to MH i2c: E2 08 00 96 07 80 0D 03 02 00 00 00 00 18 [15:10:53]Write i2c OK [15:10:53]MH_I2C_Read... [15:10:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:10:53]Read from MH i2c: E2 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 0B 00 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 0B 00 96 07 00 E3 03 1D 04 D7 F4 4F 4F 90 00 89 [15:10:53]RAPDU: E3 03 1D 04 D7 F4 4F 4F 90 00 [15:10:53]wFMCommunicate OK [15:10:53]SAM_PROTO_SignData done [15:10:53]FM_MakeSignedData done [15:10:53]CreateOFDProtocolMessage [15:10:53]wFMCommunicate request_size=4 [15:10:53]MH_SAM_APDU [15:10:53]CAPDU: 80 11 00 00 [15:10:53]Write to MH i2c: E2 08 00 97 07 80 11 00 00 00 00 00 00 18 [15:10:53]Write i2c OK [15:10:53]MH_I2C_Read... [15:10:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:10:53]Read from MH i2c: E2 [15:10:53]MH_I2C_Read... [15:10:53]Read from MH i2c: E2 17 00 [15:10:53]MH_I2C_Read... [15:10:54]Read from MH i2c: E2 17 00 97 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 64 [15:10:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:10:54]wFMCommunicate OK [15:10:54]CreateOFDProtocolMessage done [15:10:54]OFDSenderStorePacket 33354 [15:10:54]StoreOFDPacket docnum=33354 [15:10:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 B7 ED 04 01 57 7E 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 86 15 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 43 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 43 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 43 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 7D 47 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4A 82 00 00 35 04 06 00 E7 5D FC F3 BB 50 E3 03 1D 04 D7 F4 4F 4F [15:10:54]CheckFolder [15:10:54]dirname=/storage/ofd_packets [15:10:54]CheckFolder done [15:10:54]ProducePacketName [15:10:54]name=ofd_packets/00033354 [15:10:54]NVStorageSaveData ofd_packets/00033354 [15:10:54]File name is /storage/ofd_packets/00033354 [15:10:54]Write 298 bytes [15:10:54]NVStorageSaveData done [15:10:54]OFDSenderStorePacket done [15:10:54]KKMCreateOFDPacket done [15:10:54]NVStorageSaveData kkm_last_timestamp [15:10:54]File name is /storage/kkm_last_timestamp [15:10:54]Write 4 bytes [15:10:54]NVStorageSaveData done [15:10:54]ExternCall_PrintAddStr [15:10:54]wPrintStart [15:10:54]Write to MH i2c: 01 00 00 98 07 9F [15:10:54]Write i2c OK [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: 01 [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: 01 07 00 [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: 01 07 00 98 07 00 00 00 00 00 FF 0F B4 [15:10:54]RasterBufferAndPrint [15:10:54]line Счет N : (1)5670190 [15:10:54]line ИНН: 02508201610067 [15:10:54]line Контрольно-Кассовый Чек [15:10:54]line ПРОДАЖА [15:10:54]line ТРК (МРК, ГНК) : 44 [15:10:54]line Товар: 2710194210 [15:10:54]line ДТ-К-4 [15:10:54]line 5.510 * 72.60 [15:10:54]line = 400.03 [15:10:54]line НДС 12% НСП 1% [15:10:54]line > о реализуемом товаре [15:10:54]line ИТОГО: 400.03 [15:10:54]line НСП 1% : 3.54 [15:10:54]line НДС 12% : 42.48 [15:10:54]line Наличными: 0.00 [15:10:54]line Безнал.: 400.03 [15:10:54]line Место: АЗС № 77 "Партнер Нефть" [15:10:54]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:10:54]line СНО: Общий режим [15:10:54]line Чек 32 12.07.2024 15:10 [15:10:54]line Смена: 433 ФФД: 1.0 [15:10:54]line ЗНМ: 0300000122 [15:10:54]line РНМ: 0000000000093033 [15:10:54]line Версия ККМ: 001 [15:10:54]line Платежная система: АКБ Кыргызстан [15:10:54]line ФМ: 0000000000875104 [15:10:54]line ФД: 33354 [15:10:54]line ФПД: 254390861806416 [15:10:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151053&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33354&fm=254390861806416&tin=02508201610067®Number=0000000000093033&sum=40003 [15:10:54]OFD Sender: Processing packet 33354 [packets to send 6, broken 5] [15:10:54]ProducePacketName [15:10:54]name=ofd_packets/00033354 [15:10:54]OFD Sender: To server: pG, [15:10:54]CommunicateWithHost lk.salyk.kg:30040 [15:10:54]ConnectInit lk.salyk.kg [15:10:54]written 0, free lines is 4095 [15:10:54]Connected sock=10 [15:10:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 B7 ED 04 01 57 7E 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 86 15 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 43 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 43 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 43 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 7D 47 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4A 82 00 00 35 04 06 00 E7 5D FC F3 BB 50 E3 03 1D 04 D7 F4 4F 4F [15:10:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 C7 49 47 00 A8 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4A 82 00 00 F4 03 04 00 2A F2 90 66 B6 04 01 00 00 3F E4 CE 57 FB 22 F7 EE [15:10:54]CommunicateWithHost err = 0 [15:10:54]CheckOFDResponse [15:10:54]1017 (14) - 77093643461234 [15:10:54]1041 (16) - 0000000000875104 [15:10:54]1040 (4) - 33354 [15:10:54]1012 (4) - 12.07.2024 09:06 [15:10:54]1206 (1) - 0 [15:10:54]OFD Sender: Remove packet 33354 [15:10:54]ProducePacketName [15:10:54]name=ofd_packets/00033354 [15:10:54]NVStorageDeleteData [15:10:54]Write to MH i2c: 01 00 00 C2 07 C9 [15:10:54]Write i2c OK [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: 01 [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: 01 07 00 [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: 01 07 00 C2 07 00 00 00 00 00 E3 0C BF [15:10:54]RasterBufferAndPrint [15:10:54]line [15:10:54]line [15:10:54]line [15:10:54]line [15:10:54]line [15:10:54]written 0, free lines is 3305 [15:10:54]MH_Cut [15:10:54]Write to MH i2c: D1 01 00 C9 07 01 A2 [15:10:54]Write i2c OK [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: D1 [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: D1 01 00 [15:10:54]MH_I2C_Read... [15:10:54]Read from MH i2c: D1 01 00 C9 07 00 A1 [15:10:54]Write to MH i2c: 01 00 00 CA 07 D1 [15:10:54]Write i2c OK [15:10:54]MH_I2C_Read... [15:10:55]OFD Sender: No OFD packet to send [15:10:55]*** Cut start [15:10:55]*** Partial cut [15:10:55]*** CUTSNS_PIN = 1 [15:10:55]*** CUTSNS_PIN = 0 [15:10:55]*** Brake cut motor [15:10:56]Read from MH i2c: 01 [15:10:56]MH_I2C_Read... [15:10:56]*** Stop cut motor [15:10:56]*** Cut end [15:10:56]Read from MH i2c: 01 07 00 [15:10:56]MH_I2C_Read... [15:10:56]Read from MH i2c: 01 07 00 CA 07 00 00 00 00 00 FF 0F E6 [15:10:56]process_action close_receipt done [15:10:56]requested_data is exist [15:10:56]produce_requested_data [15:10:56]requested_item fm.sn is exist - process it [15:10:56]wFMCommunicate request_size=4 [15:10:56]MH_SAM_APDU [15:10:56]CAPDU: 80 11 00 00 [15:10:56]Write to MH i2c: E2 08 00 CB 07 80 11 00 00 00 00 00 00 4C [15:10:56]Write i2c OK [15:10:56]MH_I2C_Read... [15:10:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:10:56]Read from MH i2c: E2 [15:10:56]MH_I2C_Read... [15:10:56]Read from MH i2c: E2 17 00 [15:10:56]MH_I2C_Read... [15:10:56]Read from MH i2c: E2 17 00 CB 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 98 [15:10:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:10:56]wFMCommunicate OK [15:10:56]requested_item fd.num is exist - process it [15:10:56]SAM_PROTO_GetFieldsCounters [15:10:56]wFMCommunicate request_size=4 [15:10:56]MH_SAM_APDU [15:10:56]CAPDU: 80 13 00 00 [15:10:56]Write to MH i2c: E2 08 00 CC 07 80 13 00 00 00 00 00 00 4F [15:10:56]Write i2c OK [15:10:56]MH_I2C_Read... [15:10:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:10:56]Read from MH i2c: E2 [15:10:56]MH_I2C_Read... [15:10:56]Read from MH i2c: E2 62 00 [15:10:56]MH_I2C_Read... [15:10:56]Read from MH i2c: E2 62 00 CC 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4A 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [15:10:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4A 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:10:56]wFMCommunicate OK [15:10:56]SAM_PROTO_GetFieldsCounters done [15:10:56]requested_item shift.num is exist - process it [15:10:56]requested_item shift.opened is exist - process it [15:10:56]req_shift_opened [15:10:56]FM_GetShiftState [15:10:56]SAM_PROTO_GetShiftState [15:10:56]wFMCommunicate request_size=4 [15:10:56]MH_SAM_APDU [15:10:56]CAPDU: 80 13 01 00 [15:10:56]Write to MH i2c: E2 08 00 CD 07 80 13 01 00 00 00 00 00 51 [15:10:56]Write i2c OK [15:10:56]MH_I2C_Read... [15:10:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:10:56]Read from MH i2c: E2 [15:10:56]MH_I2C_Read... [15:10:56]Read from MH i2c: E2 0E 00 [15:10:56]MH_I2C_Read... [15:10:56]Read from MH i2c: E2 0E 00 CD 07 00 09 00 01 17 74 90 66 00 00 00 00 90 00 DE [15:10:56]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:10:56]wFMCommunicate OK [15:10:56]SAM_PROTO_GetShiftState done [15:10:56]FM_GetShiftState done [15:10:56]req_shift_opened done [15:10:56]requested_item shift.open_date is exist - process it [15:10:56]req_shift_open_date [15:10:56]req_shift_open_date done [15:10:56]produce_requested_data done [15:10:56]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33354,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:10:56]process_action_free close_receipt [15:10:56]json_value_free [15:10:56]json_value_free done [15:10:56]process_json_proto returns [15:10:56]Send response to host [15:10:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33354,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:10:56]free response buf [15:10:56]execute_script done [15:10:56]execute_script returns [15:10:56]free content buf [15:10:56]Sock 7.Close socket [15:10:56]Sock 7.Thread stoped [15:11:00]OFD Sender: No OFD packet to send [15:11:05]OFD Sender: No OFD packet to send [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:30]OFD Sender: No OFD packet to send [15:11:31]accept exits with 9 [15:11:31]New connection [15:11:31]New thread 3066604900 created [15:11:31]Thread 3066461540 joined [15:11:31]Waiting for new connection... [15:11:31] Sock 9.Parse request [15:11:31]Sock 9.Check first char [15:11:31]Sock 9.First char is OK [15:11:31]request: POST /json_proto HTTP/1.0 [15:11:31]Method: POST [15:11:31]URL: /json_proto [15:11:31]Method is POST - this is cgi request [15:11:31]url: /json_proto [15:11:31]query_string will be loaded in cgi processing [15:11:31]execute_cgi json_proto POST (null) [15:11:31]execute_cgi path=json_proto method=POST [15:11:31]POST find Content-Length [15:11:31]Host: 172.17.35.196:8080 [15:11:31]Content-Length: 838 [15:11:31]Content-Type: application/json [15:11:31] [15:11:31]POST finish read [15:11:31]Found Content-Length = 838 [15:11:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670191", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 2.760, "sum" : 200.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 200.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:11:31]execute_script... [15:11:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670191", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 2.760, "sum" : 200.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 200.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:11:31]POST & json_proto [15:11:31]process_json_proto [15:11:31]json parsed OK: [15:11:31]protocol is kg_v1.0 [15:11:31]action value=close_receipt [15:11:31]process_action close_receipt [15:11:31]cmd_close_receipt [15:11:31]MH_GetDate [15:11:31]Write to MH i2c: F0 00 00 CE 07 C4 [15:11:31]Write i2c OK [15:11:31]MH_I2C_Read... [15:11:31]Read from MH i2c: F0 [15:11:31]MH_I2C_Read... [15:11:31]Read from MH i2c: F0 09 00 [15:11:31]MH_I2C_Read... [15:11:31]Read from MH i2c: F0 09 00 CE 07 00 A4 47 91 66 AD 14 F4 65 C9 [15:11:31]GetLastDocTimeStamp 1720797053 [15:11:31]current date 1720797092 [15:11:31]FM_GetShiftState [15:11:31]SAM_PROTO_GetShiftState [15:11:31]wFMCommunicate request_size=4 [15:11:31]MH_SAM_APDU [15:11:31]CAPDU: 80 13 01 00 [15:11:31]Write to MH i2c: E2 08 00 CF 07 80 13 01 00 00 00 00 00 53 [15:11:31]Write i2c OK [15:11:31]MH_I2C_Read... [15:11:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:11:31]Read from MH i2c: E2 [15:11:31]MH_I2C_Read... [15:11:31]Read from MH i2c: E2 0E 00 [15:11:31]MH_I2C_Read... [15:11:31]Read from MH i2c: E2 0E 00 CF 07 00 09 00 01 17 74 90 66 00 00 00 00 90 00 E0 [15:11:31]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:11:31]wFMCommunicate OK [15:11:31]SAM_PROTO_GetShiftState done [15:11:31]FM_GetShiftState done [15:11:31]opened in 1720742935 [15:11:31]opened+sec_in_day 1720829335 [15:11:31]quantity*price = 20037 [15:11:31]sum+1 = 20039 [15:11:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.38 НСП 1% : 1.77 НДС 12% : 21.28 Наличными: 0.00 Безнал.: 200.38 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 33 12.07.2024 15:11 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33355 ФПД: 260880314453398 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151133&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33355&fm=260880314453398&tin=02508201610067®Number=0000000000093033&sum=20038 [15:11:32]StoreToDocumentArchive [15:11:32]shift 433 fd 33355 [15:11:32]save to /storage/0433/doc_00033355 [15:11:32]save last doc name /storage/0433/doc_00033355 to /storage/kkm_last_doc_name [15:11:32]save OK [15:11:32]Clear old archive folders... [15:11:32]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:11:32]tlvbuf is 00A4EB70 [15:11:32]SAM_PROTO_ClearQueue [15:11:32]wFMCommunicate request_size=4 [15:11:32]MH_SAM_APDU [15:11:32]CAPDU: 80 09 00 00 [15:11:32]Write to MH i2c: E2 08 00 DC 07 80 09 00 00 00 00 00 00 55 [15:11:32]Write i2c OK [15:11:32]MH_I2C_Read... [15:11:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:11:32]Read from MH i2c: E2 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 03 00 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 03 00 DC 07 00 90 00 57 [15:11:32]RAPDU: 90 00 [15:11:32]wFMCommunicate OK [15:11:32]SAM_PROTO_ClearQueue done [15:11:32]KKMCreateOFDPacket [15:11:32]OFDProtocolAddRootSTLVToBuf [15:11:32]FM_MakeSignedData [15:11:32]FM_MakeSignedData [15:11:32]SAM_PROTO_SignData [15:11:32]wFMCommunicate request_size=4 [15:11:32]MH_SAM_APDU [15:11:32]CAPDU: 80 0D 01 02 [15:11:32]Write to MH i2c: E2 08 00 DD 07 80 0D 01 02 00 00 00 00 5D [15:11:32]Write i2c OK [15:11:32]MH_I2C_Read... [15:11:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:11:32]Read from MH i2c: E2 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 03 00 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 03 00 DD 07 00 90 00 58 [15:11:32]RAPDU: 90 00 [15:11:32]wFMCommunicate OK [15:11:32]wFMCommunicate request_size=255 [15:11:32]MH_SAM_APDU [15:11:32]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 C8 0A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 46 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 46 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 46 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A5 47 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4B 82 00 00 35 04 06 00 ED 44 EE 78 [15:11:32]Write to MH i2c: E2 02 01 DE 07 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 C8 0A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 46 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 46 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 46 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A5 47 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4B 82 00 00 35 04 06 00 ED 44 EE 78 00 00 D4 [15:11:32]Write i2c OK [15:11:32]MH_I2C_Read... [15:11:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:11:33]Read from MH i2c: E2 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: E2 03 00 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: E2 03 00 DE 07 00 90 00 59 [15:11:33]RAPDU: 90 00 [15:11:33]wFMCommunicate OK [15:11:33]wFMCommunicate request_size=7 [15:11:33]MH_SAM_APDU [15:11:33]CAPDU: 80 0D 02 02 02 CD 96 [15:11:33]Write to MH i2c: E2 0A 00 DF 07 80 0D 02 02 02 00 CD 96 00 00 C7 [15:11:33]Write i2c OK [15:11:33]MH_I2C_Read... [15:11:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:11:33]Read from MH i2c: E2 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: E2 03 00 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: E2 03 00 DF 07 00 90 00 5A [15:11:33]RAPDU: 90 00 [15:11:33]wFMCommunicate OK [15:11:33]wFMCommunicate request_size=4 [15:11:33]MH_SAM_APDU [15:11:33]CAPDU: 80 0D 03 02 [15:11:33]Write to MH i2c: E2 08 00 E0 07 80 0D 03 02 00 00 00 00 62 [15:11:33]Write i2c OK [15:11:33]MH_I2C_Read... [15:11:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:11:33]Read from MH i2c: E2 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: E2 0B 00 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: E2 0B 00 E0 07 00 AA 52 4F 98 F5 D0 7F 52 90 00 DC [15:11:33]RAPDU: AA 52 4F 98 F5 D0 7F 52 90 00 [15:11:33]wFMCommunicate OK [15:11:33]SAM_PROTO_SignData done [15:11:33]FM_MakeSignedData done [15:11:33]CreateOFDProtocolMessage [15:11:33]wFMCommunicate request_size=4 [15:11:33]MH_SAM_APDU [15:11:33]CAPDU: 80 11 00 00 [15:11:33]Write to MH i2c: E2 08 00 E1 07 80 11 00 00 00 00 00 00 62 [15:11:33]Write i2c OK [15:11:33]MH_I2C_Read... [15:11:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:11:33]Read from MH i2c: E2 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: E2 17 00 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: E2 17 00 E1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AE [15:11:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:11:33]wFMCommunicate OK [15:11:33]CreateOFDProtocolMessage done [15:11:33]OFDSenderStorePacket 33355 [15:11:33]StoreOFDPacket docnum=33355 [15:11:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 BA AE 04 01 0C 17 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 C8 0A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 46 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 46 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 46 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A5 47 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4B 82 00 00 35 04 06 00 ED 44 EE 78 CD 96 AA 52 4F 98 F5 D0 7F 52 [15:11:33]CheckFolder [15:11:33]dirname=/storage/ofd_packets [15:11:33]CheckFolder done [15:11:33]ProducePacketName [15:11:33]name=ofd_packets/00033355 [15:11:33]NVStorageSaveData ofd_packets/00033355 [15:11:33]File name is /storage/ofd_packets/00033355 [15:11:33]Write 298 bytes [15:11:33]NVStorageSaveData done [15:11:33]OFDSenderStorePacket done [15:11:33]KKMCreateOFDPacket done [15:11:33]NVStorageSaveData kkm_last_timestamp [15:11:33]File name is /storage/kkm_last_timestamp [15:11:33]Write 4 bytes [15:11:33]NVStorageSaveData done [15:11:33]ExternCall_PrintAddStr [15:11:33]wPrintStart [15:11:33]Write to MH i2c: 01 00 00 E2 07 E9 [15:11:33]Write i2c OK [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: 01 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: 01 07 00 [15:11:33]MH_I2C_Read... [15:11:33]Read from MH i2c: 01 07 00 E2 07 00 00 00 00 00 FF 0F FE [15:11:33]RasterBufferAndPrint [15:11:33]line Счет N : (1)5670191 [15:11:33]line ИНН: 02508201610067 [15:11:33]line Контрольно-Кассовый Чек [15:11:33]line ПРОДАЖА [15:11:33]line ТРК (МРК, ГНК) : 44 [15:11:33]line Товар: 2710194210 [15:11:33]line ДТ-К-4 [15:11:33]line 2.760 * 72.60 [15:11:33]line = 200.38 [15:11:33]line НДС 12% НСП 1% [15:11:33]line > о реализуемом товаре [15:11:33]line ИТОГО: 200.38 [15:11:33]line НСП 1% : 1.77 [15:11:33]line НДС 12% : 21.28 [15:11:33]line Наличными: 0.00 [15:11:33]line Безнал.: 200.38 [15:11:33]line Место: АЗС № 77 "Партнер Нефть" [15:11:33]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:11:33]line СНО: Общий режим [15:11:33]line Чек 33 12.07.2024 15:11 [15:11:33]line Смена: 433 ФФД: 1.0 [15:11:33]line ЗНМ: 0300000122 [15:11:33]line РНМ: 0000000000093033 [15:11:33]line Версия ККМ: 001 [15:11:33]line Платежная система: АКБ Кыргызстан [15:11:33]line ФМ: 0000000000875104 [15:11:33]line ФД: 33355 [15:11:33]line ФПД: 260880314453398 [15:11:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T151133&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33355&fm=260880314453398&tin=02508201610067®Number=0000000000093033&sum=20038 [15:11:33]OFD Sender: Processing packet 33355 [packets to send 6, broken 5] [15:11:33]ProducePacketName [15:11:33]name=ofd_packets/00033355 [15:11:33]OFD Sender: To server: pG, [15:11:33]CommunicateWithHost lk.salyk.kg:30040 [15:11:33]ConnectInit lk.salyk.kg [15:11:33]written 0, free lines is 4095 [15:11:33]Connected sock=11 [15:11:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 BA AE 04 01 0C 17 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 C8 0A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 46 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 46 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 46 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A5 47 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4B 82 00 00 35 04 06 00 ED 44 EE 78 CD 96 AA 52 4F 98 F5 D0 7F 52 [15:11:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 84 E2 47 00 96 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 4B 82 00 00 F4 03 04 00 51 F2 90 66 B6 04 01 00 00 F9 61 93 2D 14 B2 96 8E [15:11:33]CommunicateWithHost err = 0 [15:11:33]CheckOFDResponse [15:11:33]1017 (14) - 77093643461234 [15:11:33]1041 (16) - 0000000000875104 [15:11:33]1040 (4) - 33355 [15:11:33]1012 (4) - 12.07.2024 09:07 [15:11:33]1206 (1) - 0 [15:11:33]OFD Sender: Remove packet 33355 [15:11:33]ProducePacketName [15:11:33]name=ofd_packets/00033355 [15:11:33]NVStorageDeleteData [15:11:34]Write to MH i2c: 01 00 00 0C 08 14 [15:11:34]Write i2c OK [15:11:34]MH_I2C_Read... [15:11:34]Read from MH i2c: 01 [15:11:34]MH_I2C_Read... [15:11:34]Read from MH i2c: 01 07 00 [15:11:34]MH_I2C_Read... [15:11:34]Read from MH i2c: 01 07 00 0C 08 00 00 00 00 00 E0 0C 07 [15:11:34]RasterBufferAndPrint [15:11:34]line [15:11:34]line [15:11:34]line [15:11:34]line [15:11:34]line [15:11:34]written 0, free lines is 3302 [15:11:34]MH_Cut [15:11:34]Write to MH i2c: D1 01 00 13 08 01 ED [15:11:34]Write i2c OK [15:11:34]MH_I2C_Read... [15:11:34]Read from MH i2c: D1 [15:11:34]MH_I2C_Read... [15:11:34]Read from MH i2c: D1 01 00 [15:11:34]MH_I2C_Read... [15:11:34]Read from MH i2c: D1 01 00 13 08 00 EC [15:11:34]Write to MH i2c: 01 00 00 14 08 1C [15:11:34]Write i2c OK [15:11:34]MH_I2C_Read... [15:11:34]OFD Sender: No OFD packet to send [15:11:34]*** Cut start [15:11:34]*** Partial cut [15:11:34]*** CUTSNS_PIN = 1 [15:11:34]*** CUTSNS_PIN = 0 [15:11:35]*** Brake cut motor [15:11:35]Read from MH i2c: 01 [15:11:35]MH_I2C_Read... [15:11:35]*** Stop cut motor [15:11:35]*** Cut end [15:11:35]Read from MH i2c: 01 07 00 [15:11:35]MH_I2C_Read... [15:11:35]Read from MH i2c: 01 07 00 14 08 00 00 00 00 00 FF 0F 31 [15:11:35]process_action close_receipt done [15:11:35]requested_data is exist [15:11:35]produce_requested_data [15:11:35]requested_item fm.sn is exist - process it [15:11:35]wFMCommunicate request_size=4 [15:11:35]MH_SAM_APDU [15:11:35]CAPDU: 80 11 00 00 [15:11:35]Write to MH i2c: E2 08 00 15 08 80 11 00 00 00 00 00 00 97 [15:11:35]Write i2c OK [15:11:35]MH_I2C_Read... [15:11:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:11:35]Read from MH i2c: E2 [15:11:35]MH_I2C_Read... [15:11:35]Read from MH i2c: E2 17 00 [15:11:35]MH_I2C_Read... [15:11:35]Read from MH i2c: E2 17 00 15 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E3 [15:11:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:11:35]wFMCommunicate OK [15:11:35]requested_item fd.num is exist - process it [15:11:35]SAM_PROTO_GetFieldsCounters [15:11:35]wFMCommunicate request_size=4 [15:11:35]MH_SAM_APDU [15:11:35]CAPDU: 80 13 00 00 [15:11:35]Write to MH i2c: E2 08 00 16 08 80 13 00 00 00 00 00 00 9A [15:11:35]Write i2c OK [15:11:35]MH_I2C_Read... [15:11:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:11:35]Read from MH i2c: E2 [15:11:35]MH_I2C_Read... [15:11:35]Read from MH i2c: E2 62 00 [15:11:35]MH_I2C_Read... [15:11:35]Read from MH i2c: E2 62 00 16 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4B 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 8F [15:11:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4B 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:11:35]wFMCommunicate OK [15:11:35]SAM_PROTO_GetFieldsCounters done [15:11:35]requested_item shift.num is exist - process it [15:11:35]requested_item shift.opened is exist - process it [15:11:35]req_shift_opened [15:11:35]FM_GetShiftState [15:11:35]SAM_PROTO_GetShiftState [15:11:35]wFMCommunicate request_size=4 [15:11:35]MH_SAM_APDU [15:11:35]CAPDU: 80 13 01 00 [15:11:35]Write to MH i2c: E2 08 00 17 08 80 13 01 00 00 00 00 00 9C [15:11:35]Write i2c OK [15:11:35]MH_I2C_Read... [15:11:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:11:35]Read from MH i2c: E2 [15:11:35]MH_I2C_Read... [15:11:35]Read from MH i2c: E2 0E 00 [15:11:35]MH_I2C_Read... [15:11:35]Read from MH i2c: E2 0E 00 17 08 00 09 00 01 17 74 90 66 00 00 00 00 90 00 29 [15:11:35]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:11:35]wFMCommunicate OK [15:11:35]SAM_PROTO_GetShiftState done [15:11:35]FM_GetShiftState done [15:11:35]req_shift_opened done [15:11:35]requested_item shift.open_date is exist - process it [15:11:35]req_shift_open_date [15:11:35]req_shift_open_date done [15:11:35]produce_requested_data done [15:11:35]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33355,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:11:35]process_action_free close_receipt [15:11:35]json_value_free [15:11:35]json_value_free done [15:11:35]process_json_proto returns [15:11:35]Send response to host [15:11:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33355,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:11:35]free response buf [15:11:35]execute_script done [15:11:35]execute_script returns [15:11:35]free content buf [15:11:35]Sock 9.Close socket [15:11:35]Sock 9.Thread stoped [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:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:40]OFD Sender: No OFD packet to send [15:24:45]OFD Sender: No OFD packet to send [15:24:50]OFD Sender: No OFD packet to send [15:24:55]OFD Sender: No OFD packet to send [15:25:00]OFD Sender: No OFD packet to send [15:25:05]OFD Sender: No OFD packet to send [15:25:10]OFD Sender: No OFD packet to send [15:25:15]OFD Sender: No OFD packet to send [15:25:20]OFD Sender: No OFD packet to send [15:25:25]OFD Sender: No OFD packet to send [15:25:30]OFD Sender: No OFD packet to send [15:25:35]OFD Sender: No OFD packet to send [15:25:40]OFD Sender: No OFD packet to send [15:25:45]OFD Sender: No OFD packet to send [15:25:50]OFD Sender: No OFD packet to send [15:25:55]OFD Sender: No OFD packet to send [15:26:00]OFD Sender: No OFD packet to send [15:26:05]OFD Sender: No OFD packet to send [15:26:10]OFD Sender: No OFD packet to send [15:26:15]OFD Sender: No OFD packet to send [15:26:20]OFD Sender: No OFD packet to send [15:26:25]OFD Sender: No OFD packet to send [15:26:30]OFD Sender: No OFD packet to send [15:26:35]OFD Sender: No OFD packet to send [15:26:40]OFD Sender: No OFD packet to send [15:26:45]OFD Sender: No OFD packet to send [15:26:49]accept exits with 7 [15:26:49]New connection [15:26:49]New thread 3066461540 created [15:26:49]Thread 3066604900 joined [15:26:49]Waiting for new connection... [15:26:49] Sock 7.Parse request [15:26:49]Sock 7.Check first char [15:26:49]Sock 7.First char is OK [15:26:49]request: POST /json_proto HTTP/1.0 [15:26:49]Method: POST [15:26:49]URL: /json_proto [15:26:49]Method is POST - this is cgi request [15:26:49]url: /json_proto [15:26:49]query_string will be loaded in cgi processing [15:26:49]execute_cgi json_proto POST (null) [15:26:49]execute_cgi path=json_proto method=POST [15:26:49]POST find Content-Length [15:26:49]Host: 172.17.35.196:8080 [15:26:49]Content-Length: 680 [15:26:49]Content-Type: application/json [15:26:49] [15:26:49]POST finish read [15:26:49]Found Content-Length = 680 [15:26:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670201", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:26:49]execute_script... [15:26:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670201", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:26:49]POST & json_proto [15:26:49]process_json_proto [15:26:49]json parsed OK: [15:26:49]protocol is kg_v1.0 [15:26:49]action value=close_receipt [15:26:49]process_action close_receipt [15:26:49]cmd_close_receipt [15:26:49]MH_GetDate [15:26:49]Write to MH i2c: F0 00 00 18 08 0F [15:26:49]Write i2c OK [15:26:49]MH_I2C_Read... [15:26:49]Read from MH i2c: F0 [15:26:49]MH_I2C_Read... [15:26:49]Read from MH i2c: F0 09 00 [15:26:49]MH_I2C_Read... [15:26:49]Read from MH i2c: F0 09 00 18 08 00 3B 4B 91 66 AD 14 F4 65 AF [15:26:49]GetLastDocTimeStamp 1720797093 [15:26:49]current date 1720798011 [15:26:49]FM_GetShiftState [15:26:49]SAM_PROTO_GetShiftState [15:26:49]wFMCommunicate request_size=4 [15:26:49]MH_SAM_APDU [15:26:49]CAPDU: 80 13 01 00 [15:26:49]Write to MH i2c: E2 08 00 19 08 80 13 01 00 00 00 00 00 9E [15:26:49]Write i2c OK [15:26:49]MH_I2C_Read... [15:26:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:26:49]Read from MH i2c: E2 [15:26:49]MH_I2C_Read... [15:26:49]Read from MH i2c: E2 0E 00 [15:26:49]MH_I2C_Read... [15:26:49]Read from MH i2c: E2 0E 00 19 08 00 09 00 01 17 74 90 66 00 00 00 00 90 00 2B [15:26:49]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:26:49]wFMCommunicate OK [15:26:49]SAM_PROTO_GetShiftState done [15:26:49]FM_GetShiftState done [15:26:49]opened in 1720742935 [15:26:49]opened+sec_in_day 1720829335 [15:26:49]quantity*price = 100042 [15:26:49]sum+1 = 100044 [15:26:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.43 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 34 12.07.2024 15:26 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33356 ФПД: 126137080420624 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T152651&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33356&fm=126137080420624&tin=02508201610067®Number=0000000000093033&sum=100000 [15:26:50]StoreToDocumentArchive [15:26:50]shift 433 fd 33356 [15:26:50]save to /storage/0433/doc_00033356 [15:26:50]save last doc name /storage/0433/doc_00033356 to /storage/kkm_last_doc_name [15:26:50]save OK [15:26:50]Clear old archive folders... [15:26:50]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:26:50]tlvbuf is 00A46040 [15:26:50]SAM_PROTO_ClearQueue [15:26:50]wFMCommunicate request_size=4 [15:26:50]MH_SAM_APDU [15:26:50]CAPDU: 80 09 00 00 [15:26:50]Write to MH i2c: E2 08 00 26 08 80 09 00 00 00 00 00 00 A0 [15:26:50]Write i2c OK [15:26:50]MH_I2C_Read... [15:26:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:26:50]Read from MH i2c: E2 [15:26:50]MH_I2C_Read... [15:26:50]Read from MH i2c: E2 03 00 [15:26:50]MH_I2C_Read... [15:26:50]Read from MH i2c: E2 03 00 26 08 00 90 00 A2 [15:26:50]RAPDU: 90 00 [15:26:50]wFMCommunicate OK [15:26:50]SAM_PROTO_ClearQueue done [15:26:50]KKMCreateOFDPacket [15:26:50]OFDProtocolAddRootSTLVToBuf [15:26:50]FM_MakeSignedData [15:26:50]FM_MakeSignedData [15:26:50]SAM_PROTO_SignData [15:26:50]wFMCommunicate request_size=4 [15:26:50]MH_SAM_APDU [15:26:50]CAPDU: 80 0D 01 02 [15:26:50]Write to MH i2c: E2 08 00 27 08 80 0D 01 02 00 00 00 00 A8 [15:26:50]Write i2c OK [15:26:50]MH_I2C_Read... [15:26:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:26:50]Read from MH i2c: E2 [15:26:50]MH_I2C_Read... [15:26:50]Read from MH i2c: E2 03 00 [15:26:50]MH_I2C_Read... [15:26:50]Read from MH i2c: E2 03 00 27 08 00 90 00 A3 [15:26:50]RAPDU: 90 00 [15:26:50]wFMCommunicate OK [15:26:50]wFMCommunicate request_size=255 [15:26:50]MH_SAM_APDU [15:26:50]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 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 3B 4B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4C 82 00 00 35 04 06 00 72 B8 93 DF [15:26:50]Write to MH i2c: E2 02 01 28 08 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 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 3B 4B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4C 82 00 00 35 04 06 00 72 B8 93 DF 00 00 F3 [15:26:50]Write i2c OK [15:26:50]MH_I2C_Read... [15:26:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:26:51]Read from MH i2c: E2 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: E2 03 00 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: E2 03 00 28 08 00 90 00 A4 [15:26:51]RAPDU: 90 00 [15:26:51]wFMCommunicate OK [15:26:51]wFMCommunicate request_size=7 [15:26:51]MH_SAM_APDU [15:26:51]CAPDU: 80 0D 02 02 02 19 10 [15:26:51]Write to MH i2c: E2 0A 00 29 08 80 0D 02 02 02 00 19 10 00 00 D8 [15:26:51]Write i2c OK [15:26:51]MH_I2C_Read... [15:26:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:26:51]Read from MH i2c: E2 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: E2 03 00 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: E2 03 00 29 08 00 90 00 A5 [15:26:51]RAPDU: 90 00 [15:26:51]wFMCommunicate OK [15:26:51]wFMCommunicate request_size=4 [15:26:51]MH_SAM_APDU [15:26:51]CAPDU: 80 0D 03 02 [15:26:51]Write to MH i2c: E2 08 00 2A 08 80 0D 03 02 00 00 00 00 AD [15:26:51]Write i2c OK [15:26:51]MH_I2C_Read... [15:26:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:26:51]Read from MH i2c: E2 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: E2 0B 00 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: E2 0B 00 2A 08 00 CC 07 DD 2C 57 EB F4 FD 90 00 BD [15:26:51]RAPDU: CC 07 DD 2C 57 EB F4 FD 90 00 [15:26:51]wFMCommunicate OK [15:26:51]SAM_PROTO_SignData done [15:26:51]FM_MakeSignedData done [15:26:51]CreateOFDProtocolMessage [15:26:51]wFMCommunicate request_size=4 [15:26:51]MH_SAM_APDU [15:26:51]CAPDU: 80 11 00 00 [15:26:51]Write to MH i2c: E2 08 00 2B 08 80 11 00 00 00 00 00 00 AD [15:26:51]Write i2c OK [15:26:51]MH_I2C_Read... [15:26:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:26:51]Read from MH i2c: E2 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: E2 17 00 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: E2 17 00 2B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 F9 [15:26:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:26:51]wFMCommunicate OK [15:26:51]CreateOFDProtocolMessage done [15:26:51]OFDSenderStorePacket 33356 [15:26:51]StoreOFDPacket docnum=33356 [15:26:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 89 94 04 01 3E 32 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 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 3B 4B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4C 82 00 00 35 04 06 00 72 B8 93 DF 19 10 CC 07 DD 2C 57 EB F4 FD [15:26:51]CheckFolder [15:26:51]dirname=/storage/ofd_packets [15:26:51]CheckFolder done [15:26:51]ProducePacketName [15:26:51]name=ofd_packets/00033356 [15:26:51]NVStorageSaveData ofd_packets/00033356 [15:26:51]File name is /storage/ofd_packets/00033356 [15:26:51]Write 298 bytes [15:26:51]NVStorageSaveData done [15:26:51]OFDSenderStorePacket done [15:26:51]KKMCreateOFDPacket done [15:26:51]NVStorageSaveData kkm_last_timestamp [15:26:51]File name is /storage/kkm_last_timestamp [15:26:51]Write 4 bytes [15:26:51]NVStorageSaveData done [15:26:51]ExternCall_PrintAddStr [15:26:51]wPrintStart [15:26:51]Write to MH i2c: 01 00 00 2C 08 34 [15:26:51]Write i2c OK [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: 01 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: 01 07 00 [15:26:51]MH_I2C_Read... [15:26:51]Read from MH i2c: 01 07 00 2C 08 00 00 00 00 00 FF 0F 49 [15:26:51]RasterBufferAndPrint [15:26:51]line Счет N : (1)5670201 [15:26:51]line ИНН: 02508201610067 [15:26:51]line Контрольно-Кассовый Чек [15:26:51]line ПРОДАЖА [15:26:51]line ТРК (МРК, ГНК) : 34 [15:26:51]line Товар: 2710194210 [15:26:51]line ДТ-К-4 [15:26:51]line 13.780 * 72.60 [15:26:51]line = 1000.43 [15:26:51]line НДС 12% НСП 1% [15:26:51]line > о реализуемом товаре [15:26:51]line ОКРУГЛЕНИЕ: -0.43 [15:26:51]line ИТОГО: 1000.00 [15:26:51]line Внесено: 1000.00 [15:26:51]line СДАЧА: 0.00 [15:26:51]line НСП 1% : 8.85 [15:26:51]line НДС 12% : 106.24 [15:26:51]line Наличными: 1000.00 [15:26:51]line Безнал.: 0.00 [15:26:51]line Место: АЗС № 77 "Партнер Нефть" [15:26:51]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:26:51]line СНО: Общий режим [15:26:51]line Чек 34 12.07.2024 15:26 [15:26:51]line Смена: 433 ФФД: 1.0 [15:26:51]line ЗНМ: 0300000122 [15:26:51]line РНМ: 0000000000093033 [15:26:51]line Версия ККМ: 001 [15:26:51]line ФМ: 0000000000875104 [15:26:51]line ФД: 33356 [15:26:51]line ФПД: 126137080420624 [15:26:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T152651&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33356&fm=126137080420624&tin=02508201610067®Number=0000000000093033&sum=100000 [15:26:51]OFD Sender: Processing packet 33356 [packets to send 6, broken 5] [15:26:51]ProducePacketName [15:26:51]name=ofd_packets/00033356 [15:26:51]OFD Sender: To server: pG, [15:26:51]CommunicateWithHost lk.salyk.kg:30040 [15:26:51]ConnectInit lk.salyk.kg [15:26:51]written 0, free lines is 4095 [15:26:51]Connected sock=10 [15:26:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 89 94 04 01 3E 32 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 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 3B 4B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4C 82 00 00 35 04 06 00 72 B8 93 DF 19 10 CC 07 DD 2C 57 EB F4 FD [15:26:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 E5 64 47 00 C6 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 38 37 35 31 30 34 10 04 04 00 4C 82 00 00 F4 03 04 00 E8 F5 90 66 B6 04 01 00 00 04 B1 37 BE 70 6B E7 EB [15:26:52]CommunicateWithHost err = 0 [15:26:52]CheckOFDResponse [15:26:52]1017 (14) - 77093643461234 [15:26:52]1041 (16) - 0000000000875104 [15:26:52]1040 (4) - 33356 [15:26:52]1012 (4) - 12.07.2024 09:22 [15:26:52]1206 (1) - 0 [15:26:52]OFD Sender: Remove packet 33356 [15:26:52]ProducePacketName [15:26:52]name=ofd_packets/00033356 [15:26:52]NVStorageDeleteData [15:26:52]Write to MH i2c: 01 00 00 57 08 5F [15:26:52]Write i2c OK [15:26:52]MH_I2C_Read... [15:26:52]Read from MH i2c: 01 [15:26:52]MH_I2C_Read... [15:26:52]Read from MH i2c: 01 07 00 [15:26:52]MH_I2C_Read... [15:26:52]Read from MH i2c: 01 07 00 57 08 00 00 00 00 00 DD 0C 4F [15:26:52]RasterBufferAndPrint [15:26:52]line [15:26:52]line [15:26:52]line [15:26:52]line [15:26:52]line [15:26:52]written 0, free lines is 3299 [15:26:52]MH_Cut [15:26:52]Write to MH i2c: D1 01 00 5E 08 01 38 [15:26:52]Write i2c OK [15:26:52]MH_I2C_Read... [15:26:52]Read from MH i2c: D1 [15:26:52]MH_I2C_Read... [15:26:52]Read from MH i2c: D1 01 00 [15:26:52]MH_I2C_Read... [15:26:52]Read from MH i2c: D1 01 00 5E 08 00 37 [15:26:52]Write to MH i2c: 01 00 00 5F 08 67 [15:26:52]Write i2c OK [15:26:52]MH_I2C_Read... [15:26:52]OFD Sender: No OFD packet to send [15:26:52]*** Cut start [15:26:52]*** Partial cut [15:26:52]*** CUTSNS_PIN = 1 [15:26:52]*** CUTSNS_PIN = 0 [15:26:53]*** Brake cut motor [15:26:53]Read from MH i2c: 01 [15:26:53]MH_I2C_Read... [15:26:53]*** Stop cut motor [15:26:53]*** Cut end [15:26:53]Read from MH i2c: 01 07 00 [15:26:53]MH_I2C_Read... [15:26:53]Read from MH i2c: 01 07 00 5F 08 00 00 00 00 00 FF 0F 7C [15:26:53]process_action close_receipt done [15:26:53]requested_data is exist [15:26:53]produce_requested_data [15:26:53]requested_item fm.sn is exist - process it [15:26:53]wFMCommunicate request_size=4 [15:26:53]MH_SAM_APDU [15:26:53]CAPDU: 80 11 00 00 [15:26:53]Write to MH i2c: E2 08 00 60 08 80 11 00 00 00 00 00 00 E2 [15:26:53]Write i2c OK [15:26:53]MH_I2C_Read... [15:26:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:26:53]Read from MH i2c: E2 [15:26:53]MH_I2C_Read... [15:26:53]Read from MH i2c: E2 17 00 [15:26:53]MH_I2C_Read... [15:26:53]Read from MH i2c: E2 17 00 60 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2E [15:26:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:26:53]wFMCommunicate OK [15:26:53]requested_item fd.num is exist - process it [15:26:53]SAM_PROTO_GetFieldsCounters [15:26:53]wFMCommunicate request_size=4 [15:26:53]MH_SAM_APDU [15:26:53]CAPDU: 80 13 00 00 [15:26:53]Write to MH i2c: E2 08 00 61 08 80 13 00 00 00 00 00 00 E5 [15:26:53]Write i2c OK [15:26:53]MH_I2C_Read... [15:26:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:26:53]Read from MH i2c: E2 [15:26:53]MH_I2C_Read... [15:26:53]Read from MH i2c: E2 62 00 [15:26:53]MH_I2C_Read... [15:26:53]Read from MH i2c: E2 62 00 61 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [15:26:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:26:53]wFMCommunicate OK [15:26:53]SAM_PROTO_GetFieldsCounters done [15:26:53]requested_item shift.num is exist - process it [15:26:53]requested_item shift.opened is exist - process it [15:26:53]req_shift_opened [15:26:53]FM_GetShiftState [15:26:53]SAM_PROTO_GetShiftState [15:26:53]wFMCommunicate request_size=4 [15:26:53]MH_SAM_APDU [15:26:53]CAPDU: 80 13 01 00 [15:26:53]Write to MH i2c: E2 08 00 62 08 80 13 01 00 00 00 00 00 E7 [15:26:53]Write i2c OK [15:26:53]MH_I2C_Read... [15:26:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:26:53]Read from MH i2c: E2 [15:26:53]MH_I2C_Read... [15:26:53]Read from MH i2c: E2 0E 00 [15:26:53]MH_I2C_Read... [15:26:53]Read from MH i2c: E2 0E 00 62 08 00 09 00 01 17 74 90 66 00 00 00 00 90 00 74 [15:26:53]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:26:53]wFMCommunicate OK [15:26:53]SAM_PROTO_GetShiftState done [15:26:53]FM_GetShiftState done [15:26:53]req_shift_opened done [15:26:53]requested_item shift.open_date is exist - process it [15:26:53]req_shift_open_date [15:26:53]req_shift_open_date done [15:26:53]produce_requested_data done [15:26:53]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33356,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:26:53]process_action_free close_receipt [15:26:53]json_value_free [15:26:53]json_value_free done [15:26:53]process_json_proto returns [15:26:53]Send response to host [15:26:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33356,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:26:53]free response buf [15:26:53]execute_script done [15:26:53]execute_script returns [15:26:53]free content buf [15:26:53]Sock 7.Close socket [15:26:53]Sock 7.Thread stoped [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:45]accept exits with 9 [15:31:45]New connection [15:31:45]New thread 3066604900 created [15:31:45]Thread 3066461540 joined [15:31:45]Waiting for new connection... [15:31:45] Sock 9.Parse request [15:31:45]Sock 9.Check first char [15:31:45]Sock 9.First char is OK [15:31:45]request: POST /json_proto HTTP/1.0 [15:31:45]Method: POST [15:31:45]URL: /json_proto [15:31:45]Method is POST - this is cgi request [15:31:45]url: /json_proto [15:31:45]query_string will be loaded in cgi processing [15:31:45]execute_cgi json_proto POST (null) [15:31:45]execute_cgi path=json_proto method=POST [15:31:45]POST find Content-Length [15:31:45]Host: 172.17.35.196:8080 [15:31:45]Content-Length: 1201 [15:31:45]Content-Type: application/json [15:31:45] [15:31:45]POST finish read [15:31:45]Found Content-Length = 1201 [15:31:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670202\u000A12.07.2024 15:25\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 43\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 13.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 861.90\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A43233\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:45]execute_script... [15:31:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670202\u000A12.07.2024 15:25\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 43\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 13.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 861.90\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A43233\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:45]POST & json_proto [15:31:45]process_json_proto [15:31:45]json parsed OK: [15:31:45]protocol is kg_v1.0 [15:31:45]action value=print_text [15:31:45]process_action print_text [15:31:45]cmd_print_text [15:31:45]ExternCall_PrintAddStr [15:31:45]wPrintStart [15:31:45]Write to MH i2c: 01 00 00 63 08 6B [15:31:45]Write i2c OK [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 07 00 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 07 00 63 08 00 00 00 00 00 FF 0F 80 [15:31:45]RasterBufferAndPrint [15:31:45]line *****ТОВАРНЫЙ ЧЕК***** [15:31:45]line АЗС 77 [15:31:45]line Партнер нефть [15:31:45]line 02508201610067 [15:31:45]line Кассир : Ташыбеков М. [15:31:45]line Счет N : (1)5670202 [15:31:45]line 12.07.2024 15:25 [15:31:45]line ПРОДАЖА [15:31:45]line ТРК (МРК, ГНК): 43 [15:31:45]line Вид ГСМ : 2710124130 [15:31:45]line Аи-92-К-5 [15:31:45]line 13.000 x 66.30 [15:31:45]line ИТОГ: 861.90 [15:31:45]line Тип оплаты: Талоны: Топливная Карта [15:31:45]line 43233 [15:31:45]line ______________________ [15:31:45]line (подпись) [15:31:45]written 0, free lines is 4095 [15:31:46]Write to MH i2c: 01 00 00 77 08 7F [15:31:46]Write i2c OK [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: 01 [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: 01 07 00 [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: 01 07 00 77 08 00 00 00 00 00 10 0E A4 [15:31:46]RasterBufferAndPrint [15:31:46]line [15:31:46]line [15:31:46]line [15:31:46]line [15:31:46]line [15:31:46]written 0, free lines is 3601 [15:31:46]MH_Cut [15:31:46]Write to MH i2c: D1 01 00 7E 08 01 58 [15:31:46]Write i2c OK [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: D1 [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: D1 01 00 [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: D1 01 00 7E 08 00 57 [15:31:46]Write to MH i2c: 01 00 00 7F 08 87 [15:31:46]Write i2c OK [15:31:46]MH_I2C_Read... [15:31:46]*** Cut start [15:31:46]*** Partial cut [15:31:46]*** CUTSNS_PIN = 1 [15:31:46]*** CUTSNS_PIN = 0 [15:31:47]*** Brake cut motor [15:31:47]Read from MH i2c: 01 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: 01 07 00 [15:31:47]MH_I2C_Read... [15:31:47]*** Stop cut motor [15:31:47]*** Cut end [15:31:47]Read from MH i2c: 01 07 00 7F 08 00 00 00 00 00 FF 0F 9C [15:31:47]process_action print_text done [15:31:47]requested_data is exist [15:31:47]produce_requested_data [15:31:47]requested_item fm.sn is exist - process it [15:31:47]wFMCommunicate request_size=4 [15:31:47]MH_SAM_APDU [15:31:47]CAPDU: 80 11 00 00 [15:31:47]Write to MH i2c: E2 08 00 80 08 80 11 00 00 00 00 00 00 02 [15:31:47]Write i2c OK [15:31:47]MH_I2C_Read... [15:31:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:31:47]Read from MH i2c: E2 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 17 00 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 17 00 80 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 4E [15:31:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:31:47]wFMCommunicate OK [15:31:47]requested_item fd.num is exist - process it [15:31:47]SAM_PROTO_GetFieldsCounters [15:31:47]wFMCommunicate request_size=4 [15:31:47]MH_SAM_APDU [15:31:47]CAPDU: 80 13 00 00 [15:31:47]Write to MH i2c: E2 08 00 81 08 80 13 00 00 00 00 00 00 05 [15:31:47]Write i2c OK [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 [15:31:47]MH_I2C_Read... [15:31:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:31:47]Read from MH i2c: E2 62 00 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 62 00 81 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [15:31:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:31:47]wFMCommunicate OK [15:31:47]SAM_PROTO_GetFieldsCounters done [15:31:47]requested_item shift.num is exist - process it [15:31:47]requested_item shift.opened is exist - process it [15:31:47]req_shift_opened [15:31:47]FM_GetShiftState [15:31:47]SAM_PROTO_GetShiftState [15:31:47]wFMCommunicate request_size=4 [15:31:47]MH_SAM_APDU [15:31:47]CAPDU: 80 13 01 00 [15:31:47]Write to MH i2c: E2 08 00 82 08 80 13 01 00 00 00 00 00 07 [15:31:47]Write i2c OK [15:31:47]MH_I2C_Read... [15:31:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:31:47]Read from MH i2c: E2 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 0E 00 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 0E 00 82 08 00 09 00 01 17 74 90 66 00 00 00 00 90 00 94 [15:31:47]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:31:47]wFMCommunicate OK [15:31:47]SAM_PROTO_GetShiftState done [15:31:47]FM_GetShiftState done [15:31:47]req_shift_opened done [15:31:47]requested_item shift.open_date is exist - process it [15:31:47]req_shift_open_date [15:31:47]req_shift_open_date done [15:31:47]produce_requested_data done [15:31:47]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33356,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:31:47]process_action_free print_text [15:31:47]json_value_free [15:31:47]json_value_free done [15:31:47]process_json_proto returns [15:31:47]Send response to host [15:31:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33356,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:31:47]free response buf [15:31:47]execute_script done [15:31:47]execute_script returns [15:31:47]free content buf [15:31:47]Sock 9.Close socket [15:31:47]Sock 9.Thread stoped [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:27]OFD Sender: No OFD packet to send [15:34:32]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:53]OFD Sender: No OFD packet to send [15:35:58]OFD Sender: No OFD packet to send [15:36:03]OFD Sender: No OFD packet to send [15:36:08]OFD Sender: No OFD packet to send [15:36:13]OFD Sender: No OFD packet to send [15:36:18]OFD Sender: No OFD packet to send [15:36:23]OFD Sender: No OFD packet to send [15:36:28]OFD Sender: No OFD packet to send [15:36:33]OFD Sender: No OFD packet to send [15:36:38]OFD Sender: No OFD packet to send [15:36:43]OFD Sender: No OFD packet to send [15:36:48]OFD Sender: No OFD packet to send [15:36:53]OFD Sender: No OFD packet to send [15:36:58]OFD Sender: No OFD packet to send [15:37:03]OFD Sender: No OFD packet to send [15:37:08]OFD Sender: No OFD packet to send [15:37:13]OFD Sender: No OFD packet to send [15:37:18]OFD Sender: No OFD packet to send [15:37:23]OFD Sender: No OFD packet to send [15:37:28]OFD Sender: No OFD packet to send [15:37:33]OFD Sender: No OFD packet to send [15:37:38]OFD Sender: No OFD packet to send [15:37:43]OFD Sender: No OFD packet to send [15:37:48]OFD Sender: No OFD packet to send [15:37:53]OFD Sender: No OFD packet to send [15:37:58]OFD Sender: No OFD packet to send [15:38:03]OFD Sender: No OFD packet to send [15:38:08]OFD Sender: No OFD packet to send [15:38:13]OFD Sender: No OFD packet to send [15:38:18]OFD Sender: No OFD packet to send [15:38:21]accept exits with 7 [15:38:21]New connection [15:38:21]New thread 3066461540 created [15:38:21]Thread 3066604900 joined [15:38:21]Waiting for new connection... [15:38:21] Sock 7.Parse request [15:38:21]Sock 7.Check first char [15:38:21]Sock 7.First char is OK [15:38:21]request: POST /json_proto HTTP/1.0 [15:38:21]Method: POST [15:38:21]URL: /json_proto [15:38:21]Method is POST - this is cgi request [15:38:21]url: /json_proto [15:38:21]query_string will be loaded in cgi processing [15:38:21]execute_cgi json_proto POST (null) [15:38:21]execute_cgi path=json_proto method=POST [15:38:21]POST find Content-Length [15:38:21]Host: 172.17.35.196:8080 [15:38:21]Content-Length: 1164 [15:38:21]Content-Type: application/json [15:38:21] [15:38:21]POST finish read [15:38:21]Found Content-Length = 1164 [15:38:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670208\u000A12.07.2024 15:31\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 13\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1326.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30094538\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:21]execute_script... [15:38:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670208\u000A12.07.2024 15:31\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 13\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1326.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30094538\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:21]POST & json_proto [15:38:21]process_json_proto [15:38:21]json parsed OK: [15:38:21]protocol is kg_v1.0 [15:38:21]action value=print_text [15:38:21]process_action print_text [15:38:21]cmd_print_text [15:38:21]ExternCall_PrintAddStr [15:38:21]wPrintStart [15:38:21]Write to MH i2c: 01 00 00 83 08 8B [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 07 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 07 00 83 08 00 00 00 00 00 FF 0F A0 [15:38:21]RasterBufferAndPrint [15:38:21]line *****ТОВАРНЫЙ ЧЕК***** [15:38:21]line АЗС 77 [15:38:21]line Партнер нефть [15:38:21]line 02508201610067 [15:38:21]line Кассир : Ташыбеков М. [15:38:21]line Счет N : (1)5670208 [15:38:21]line 12.07.2024 15:31 [15:38:21]line ПРОДАЖА [15:38:21]line ТРК (МРК, ГНК): 13 [15:38:21]line Вид ГСМ : 2710124130 [15:38:21]line Аи-92-К-5 [15:38:21]line 20.000 x 66.30 [15:38:21]line ИТОГ: 1326.00 [15:38:21]line Тип оплаты: Талоны: ТК ГПНА Online [15:38:21]line 30094538 [15:38:21]line ______________________ [15:38:21]line (подпись) [15:38:21]written 0, free lines is 4095 [15:38:21]Write to MH i2c: 01 00 00 97 08 9F [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 07 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 07 00 97 08 00 00 00 00 00 10 0E C4 [15:38:21]RasterBufferAndPrint [15:38:21]line [15:38:21]line [15:38:21]line [15:38:21]line [15:38:21]line [15:38:21]written 0, free lines is 3601 [15:38:21]MH_Cut [15:38:21]Write to MH i2c: D1 01 00 9E 08 01 78 [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: D1 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: D1 01 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: D1 01 00 9E 08 00 77 [15:38:21]Write to MH i2c: 01 00 00 9F 08 A7 [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:22]*** Cut start [15:38:22]*** Partial cut [15:38:22]*** CUTSNS_PIN = 1 [15:38:22]*** CUTSNS_PIN = 0 [15:38:22]*** Brake cut motor [15:38:22]Read from MH i2c: 01 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: 01 07 00 [15:38:22]MH_I2C_Read... [15:38:22]*** Stop cut motor [15:38:22]*** Cut end [15:38:22]Read from MH i2c: 01 07 00 9F 08 00 00 00 00 00 FF 0F BC [15:38:22]process_action print_text done [15:38:22]requested_data is exist [15:38:22]produce_requested_data [15:38:22]requested_item fm.sn is exist - process it [15:38:22]wFMCommunicate request_size=4 [15:38:22]MH_SAM_APDU [15:38:22]CAPDU: 80 11 00 00 [15:38:22]Write to MH i2c: E2 08 00 A0 08 80 11 00 00 00 00 00 00 22 [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:22]Read from MH i2c: E2 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 17 00 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 17 00 A0 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 6E [15:38:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:38:22]wFMCommunicate OK [15:38:22]requested_item fd.num is exist - process it [15:38:22]SAM_PROTO_GetFieldsCounters [15:38:22]wFMCommunicate request_size=4 [15:38:22]MH_SAM_APDU [15:38:22]CAPDU: 80 13 00 00 [15:38:22]Write to MH i2c: E2 08 00 A1 08 80 13 00 00 00 00 00 00 25 [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:38:22]Read from MH i2c: E2 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 62 00 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: E2 62 00 A1 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 1E [15:38:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:38:22]wFMCommunicate OK [15:38:22]SAM_PROTO_GetFieldsCounters done [15:38:22]requested_item shift.num is exist - process it [15:38:22]requested_item shift.opened is exist - process it [15:38:22]req_shift_opened [15:38:22]FM_GetShiftState [15:38:22]SAM_PROTO_GetShiftState [15:38:22]wFMCommunicate request_size=4 [15:38:22]MH_SAM_APDU [15:38:22]CAPDU: 80 13 01 00 [15:38:22]Write to MH i2c: E2 08 00 A2 08 80 13 01 00 00 00 00 00 27 [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:23]Read from MH i2c: E2 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: E2 0E 00 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: E2 0E 00 A2 08 00 09 00 01 17 74 90 66 00 00 00 00 90 00 B4 [15:38:23]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:38:23]wFMCommunicate OK [15:38:23]SAM_PROTO_GetShiftState done [15:38:23]FM_GetShiftState done [15:38:23]req_shift_opened done [15:38:23]requested_item shift.open_date is exist - process it [15:38:23]req_shift_open_date [15:38:23]req_shift_open_date done [15:38:23]produce_requested_data done [15:38:23]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33356,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:38:23]process_action_free print_text [15:38:23]json_value_free [15:38:23]json_value_free done [15:38:23]process_json_proto returns [15:38:23]Send response to host [15:38:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33356,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:38:23]free response buf [15:38:23]execute_script done [15:38:23]execute_script returns [15:38:23]free content buf [15:38:23]Sock 7.Close socket [15:38:23]Sock 7.Thread stoped [15:38:23]OFD Sender: No OFD packet to send [15:38:28]OFD Sender: No OFD packet to send [15:38:33]OFD Sender: No OFD packet to send [15:38:38]OFD Sender: No OFD packet to send [15:38:43]OFD Sender: No OFD packet to send [15:38:48]OFD Sender: No OFD packet to send [15:38:53]OFD Sender: No OFD packet to send [15:38:55]accept exits with 9 [15:38:55]New connection [15:38:55]New thread 3066604900 created [15:38:55]Thread 3066461540 joined [15:38:55]Waiting for new connection... [15:38:55] Sock 9.Parse request [15:38:55]Sock 9.Check first char [15:38:55]Sock 9.First char is OK [15:38:55]request: POST /json_proto HTTP/1.0 [15:38:55]Method: POST [15:38:55]URL: /json_proto [15:38:55]Method is POST - this is cgi request [15:38:55]url: /json_proto [15:38:55]query_string will be loaded in cgi processing [15:38:55]execute_cgi json_proto POST (null) [15:38:55]execute_cgi path=json_proto method=POST [15:38:55]POST find Content-Length [15:38:55]Host: 172.17.35.196:8080 [15:38:55]Content-Length: 678 [15:38:55]Content-Type: application/json [15:38:55] [15:38:55]POST finish read [15:38:55]Found Content-Length = 678 [15:38:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670209", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.530, "sum" : 300.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:55]execute_script... [15:38:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670209", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.530, "sum" : 300.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:55]POST & json_proto [15:38:55]process_json_proto [15:38:55]json parsed OK: [15:38:55]protocol is kg_v1.0 [15:38:55]action value=close_receipt [15:38:55]process_action close_receipt [15:38:55]cmd_close_receipt [15:38:55]MH_GetDate [15:38:55]Write to MH i2c: F0 00 00 A3 08 9A [15:38:55]Write i2c OK [15:38:55]MH_I2C_Read... [15:38:55]Read from MH i2c: F0 [15:38:55]MH_I2C_Read... [15:38:55]Read from MH i2c: F0 09 00 [15:38:55]MH_I2C_Read... [15:38:55]Read from MH i2c: F0 09 00 A3 08 00 10 4E 91 66 AD 14 F4 65 12 [15:38:55]GetLastDocTimeStamp 1720798011 [15:38:55]current date 1720798736 [15:38:55]FM_GetShiftState [15:38:55]SAM_PROTO_GetShiftState [15:38:55]wFMCommunicate request_size=4 [15:38:55]MH_SAM_APDU [15:38:55]CAPDU: 80 13 01 00 [15:38:55]Write to MH i2c: E2 08 00 A4 08 80 13 01 00 00 00 00 00 29 [15:38:55]Write i2c OK [15:38:55]MH_I2C_Read... [15:38:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:55]Read from MH i2c: E2 [15:38:55]MH_I2C_Read... [15:38:55]Read from MH i2c: E2 0E 00 [15:38:55]MH_I2C_Read... [15:38:55]Read from MH i2c: E2 0E 00 A4 08 00 09 00 01 17 74 90 66 00 00 00 00 90 00 B6 [15:38:55]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:38:55]wFMCommunicate OK [15:38:55]SAM_PROTO_GetShiftState done [15:38:55]FM_GetShiftState done [15:38:55]opened in 1720742935 [15:38:55]opened+sec_in_day 1720829335 [15:38:55]quantity*price = 30033 [15:38:55]sum+1 = 30035 [15:38:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.34 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.89 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 35 12.07.2024 15:38 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33357 ФПД: 219076748685131 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T153856&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33357&fm=219076748685131&tin=02508201610067®Number=0000000000093033&sum=30000 [15:38:56]StoreToDocumentArchive [15:38:56]shift 433 fd 33357 [15:38:56]save to /storage/0433/doc_00033357 [15:38:56]save last doc name /storage/0433/doc_00033357 to /storage/kkm_last_doc_name [15:38:56]save OK [15:38:56]Clear old archive folders... [15:38:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:38:56]tlvbuf is 00A35450 [15:38:56]SAM_PROTO_ClearQueue [15:38:56]wFMCommunicate request_size=4 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 09 00 00 [15:38:56]Write to MH i2c: E2 08 00 B1 08 80 09 00 00 00 00 00 00 2B [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 03 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 03 00 B1 08 00 90 00 2D [15:38:56]RAPDU: 90 00 [15:38:56]wFMCommunicate OK [15:38:56]SAM_PROTO_ClearQueue done [15:38:56]KKMCreateOFDPacket [15:38:56]OFDProtocolAddRootSTLVToBuf [15:38:56]FM_MakeSignedData [15:38:56]FM_MakeSignedData [15:38:56]SAM_PROTO_SignData [15:38:56]wFMCommunicate request_size=4 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 0D 01 02 [15:38:56]Write to MH i2c: E2 08 00 B2 08 80 0D 01 02 00 00 00 00 33 [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 03 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 03 00 B2 08 00 90 00 2E [15:38:56]RAPDU: 90 00 [15:38:56]wFMCommunicate OK [15:38:56]wFMCommunicate request_size=255 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 10 4E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4D 82 00 00 35 04 06 00 C7 [15:38:56]Write to MH i2c: E2 02 01 B3 08 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 10 4E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4D 82 00 00 35 04 06 00 C7 00 00 4E [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 03 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 03 00 B3 08 00 90 00 2F [15:38:56]RAPDU: 90 00 [15:38:56]wFMCommunicate OK [15:38:56]wFMCommunicate request_size=10 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 0D 02 02 05 3F C7 C8 AF 4B [15:38:56]Write to MH i2c: E2 0D 00 B4 08 80 0D 02 02 05 00 3F C7 C8 AF 4B 00 00 08 [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 03 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 03 00 B4 08 00 90 00 30 [15:38:56]RAPDU: 90 00 [15:38:56]wFMCommunicate OK [15:38:56]wFMCommunicate request_size=4 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 0D 03 02 [15:38:56]Write to MH i2c: E2 08 00 B5 08 80 0D 03 02 00 00 00 00 38 [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 0B 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 0B 00 B5 08 00 6F E7 8B 49 C3 A5 E0 FE 90 00 A9 [15:38:56]RAPDU: 6F E7 8B 49 C3 A5 E0 FE 90 00 [15:38:56]wFMCommunicate OK [15:38:56]SAM_PROTO_SignData done [15:38:56]FM_MakeSignedData done [15:38:56]CreateOFDProtocolMessage [15:38:56]wFMCommunicate request_size=4 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 11 00 00 [15:38:56]Write to MH i2c: E2 08 00 B6 08 80 11 00 00 00 00 00 00 38 [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 17 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 17 00 B6 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 84 [15:38:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:38:56]wFMCommunicate OK [15:38:56]CreateOFDProtocolMessage done [15:38:56]OFDSenderStorePacket 33357 [15:38:56]StoreOFDPacket docnum=33357 [15:38:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 8C D6 07 01 71 4D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 10 4E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4D 82 00 00 35 04 06 00 C7 3F C7 C8 AF 4B 6F E7 8B 49 C3 A5 E0 FE [15:38:56]CheckFolder [15:38:56]dirname=/storage/ofd_packets [15:38:56]CheckFolder done [15:38:56]ProducePacketName [15:38:56]name=ofd_packets/00033357 [15:38:56]NVStorageSaveData ofd_packets/00033357 [15:38:56]File name is /storage/ofd_packets/00033357 [15:38:56]Write 301 bytes [15:38:56]NVStorageSaveData done [15:38:56]OFDSenderStorePacket done [15:38:56]KKMCreateOFDPacket done [15:38:56]NVStorageSaveData kkm_last_timestamp [15:38:56]File name is /storage/kkm_last_timestamp [15:38:56]Write 4 bytes [15:38:56]NVStorageSaveData done [15:38:56]ExternCall_PrintAddStr [15:38:56]wPrintStart [15:38:56]Write to MH i2c: 01 00 00 B7 08 BF [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: 01 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: 01 07 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: 01 07 00 B7 08 00 00 00 00 00 FF 0F D4 [15:38:56]RasterBufferAndPrint [15:38:56]line Счет N : (1)5670209 [15:38:56]line ИНН: 02508201610067 [15:38:56]line Контрольно-Кассовый Чек [15:38:56]line ПРОДАЖА [15:38:56]line ТРК (МРК, ГНК) : 23 [15:38:56]line Товар: 2710124130 [15:38:56]line Аи-92-К-5 [15:38:56]line 4.530 * 66.30 [15:38:56]line = 300.34 [15:38:56]line НДС 12% НСП 1% [15:38:56]line > о реализуемом товаре [15:38:56]line ОКРУГЛЕНИЕ: -0.34 [15:38:56]line ИТОГО: 300.00 [15:38:56]line Внесено: 300.00 [15:38:56]line СДАЧА: 0.00 [15:38:56]line НСП 1% : 2.66 [15:38:56]line НДС 12% : 31.89 [15:38:56]line Наличными: 300.00 [15:38:56]line Безнал.: 0.00 [15:38:56]line Место: АЗС № 77 "Партнер Нефть" [15:38:56]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:38:56]line СНО: Общий режим [15:38:56]line Чек 35 12.07.2024 15:38 [15:38:56]line Смена: 433 ФФД: 1.0 [15:38:56]line ЗНМ: 0300000122 [15:38:56]line РНМ: 0000000000093033 [15:38:56]line Версия ККМ: 001 [15:38:56]line ФМ: 0000000000875104 [15:38:56]line ФД: 33357 [15:38:56]line ФПД: 219076748685131 [15:38:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T153856&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33357&fm=219076748685131&tin=02508201610067®Number=0000000000093033&sum=30000 [15:38:57]written 0, free lines is 4095 [15:38:57]OFD Sender: Processing packet 33357 [packets to send 6, broken 5] [15:38:57]ProducePacketName [15:38:57]name=ofd_packets/00033357 [15:38:57]OFD Sender: To server: pG, [15:38:57]CommunicateWithHost lk.salyk.kg:30040 [15:38:57]ConnectInit lk.salyk.kg [15:38:57]Connected sock=11 [15:38:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 8C D6 07 01 71 4D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 10 4E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4D 82 00 00 35 04 06 00 C7 3F C7 C8 AF 4B 6F E7 8B 49 C3 A5 E0 FE [15:38:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 32 49 47 00 27 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4D 82 00 00 F4 03 04 00 BD F8 90 66 B6 04 01 00 00 61 1F 7C 40 7B 9F BB 5B [15:38:57]CommunicateWithHost err = 0 [15:38:57]CheckOFDResponse [15:38:57]1017 (14) - 77093643461234 [15:38:57]1041 (16) - 0000000000875104 [15:38:57]1040 (4) - 33357 [15:38:57]1012 (4) - 12.07.2024 09:34 [15:38:57]1206 (1) - 0 [15:38:57]OFD Sender: Remove packet 33357 [15:38:57]ProducePacketName [15:38:57]name=ofd_packets/00033357 [15:38:57]NVStorageDeleteData [15:38:57]Write to MH i2c: 01 00 00 E2 08 EA [15:38:57]Write i2c OK [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: 01 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: 01 07 00 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: 01 07 00 E2 08 00 00 00 00 00 CD 0C CA [15:38:57]RasterBufferAndPrint [15:38:57]line [15:38:57]line [15:38:57]line [15:38:57]line [15:38:57]line [15:38:57]written 0, free lines is 3283 [15:38:57]MH_Cut [15:38:57]Write to MH i2c: D1 01 00 E9 08 01 C3 [15:38:57]Write i2c OK [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: D1 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: D1 01 00 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: D1 01 00 E9 08 00 C2 [15:38:57]Write to MH i2c: 01 00 00 EA 08 F2 [15:38:57]Write i2c OK [15:38:57]MH_I2C_Read... [15:38:58]OFD Sender: No OFD packet to send [15:38:58]*** Cut start [15:38:58]*** Partial cut [15:38:58]*** CUTSNS_PIN = 1 [15:38:58]*** CUTSNS_PIN = 0 [15:38:58]*** Brake cut motor [15:38:59]Read from MH i2c: 01 [15:38:59]MH_I2C_Read... [15:38:59]*** Stop cut motor [15:38:59]*** Cut end [15:38:59]Read from MH i2c: 01 07 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 07 00 EA 08 00 00 00 00 00 FF 0F 07 [15:38:59]process_action close_receipt done [15:38:59]requested_data is exist [15:38:59]produce_requested_data [15:38:59]requested_item fm.sn is exist - process it [15:38:59]wFMCommunicate request_size=4 [15:38:59]MH_SAM_APDU [15:38:59]CAPDU: 80 11 00 00 [15:38:59]Write to MH i2c: E2 08 00 EB 08 80 11 00 00 00 00 00 00 6D [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:59]Read from MH i2c: E2 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 17 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 17 00 EB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B9 [15:38:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:38:59]wFMCommunicate OK [15:38:59]requested_item fd.num is exist - process it [15:38:59]SAM_PROTO_GetFieldsCounters [15:38:59]wFMCommunicate request_size=4 [15:38:59]MH_SAM_APDU [15:38:59]CAPDU: 80 13 00 00 [15:38:59]Write to MH i2c: E2 08 00 EC 08 80 13 00 00 00 00 00 00 70 [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:38:59]Read from MH i2c: E2 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 62 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 62 00 EC 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [15:38:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:38:59]wFMCommunicate OK [15:38:59]SAM_PROTO_GetFieldsCounters done [15:38:59]requested_item shift.num is exist - process it [15:38:59]requested_item shift.opened is exist - process it [15:38:59]req_shift_opened [15:38:59]FM_GetShiftState [15:38:59]SAM_PROTO_GetShiftState [15:38:59]wFMCommunicate request_size=4 [15:38:59]MH_SAM_APDU [15:38:59]CAPDU: 80 13 01 00 [15:38:59]Write to MH i2c: E2 08 00 ED 08 80 13 01 00 00 00 00 00 72 [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:59]Read from MH i2c: E2 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 0E 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 0E 00 ED 08 00 09 00 01 17 74 90 66 00 00 00 00 90 00 FF [15:38:59]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:38:59]wFMCommunicate OK [15:38:59]SAM_PROTO_GetShiftState done [15:38:59]FM_GetShiftState done [15:38:59]req_shift_opened done [15:38:59]requested_item shift.open_date is exist - process it [15:38:59]req_shift_open_date [15:38:59]req_shift_open_date done [15:38:59]produce_requested_data done [15:38:59]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33357,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:38:59]process_action_free close_receipt [15:38:59]json_value_free [15:38:59]json_value_free done [15:38:59]process_json_proto returns [15:38:59]Send response to host [15:38:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33357,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:38:59]free response buf [15:38:59]execute_script done [15:38:59]execute_script returns [15:38:59]free content buf [15:38:59]Sock 9.Close socket [15:38:59]Sock 9.Thread stoped [15:39:03]OFD Sender: No OFD packet to send [15:39:08]OFD Sender: No OFD packet to send [15:39:13]OFD Sender: No OFD packet to send [15:39:18]OFD Sender: No OFD packet to send [15:39:23]OFD Sender: No OFD packet to send [15:39:28]OFD Sender: No OFD packet to send [15:39:33]OFD Sender: No OFD packet to send [15:39:38]OFD Sender: No OFD packet to send [15:39:43]OFD Sender: No OFD packet to send [15:39:48]OFD Sender: No OFD packet to send [15:39:53]OFD Sender: No OFD packet to send [15:39:58]OFD Sender: No OFD packet to send [15:40:03]OFD Sender: No OFD packet to send [15:40:08]OFD Sender: No OFD packet to send [15:40:13]OFD Sender: No OFD packet to send [15:40:18]OFD Sender: No OFD packet to send [15:40:23]OFD Sender: No OFD packet to send [15:40:28]OFD Sender: No OFD packet to send [15:40:33]OFD Sender: No OFD packet to send [15:40:38]OFD Sender: No OFD packet to send [15:40:43]OFD Sender: No OFD packet to send [15:40:48]OFD Sender: No OFD packet to send [15:40:53]OFD Sender: No OFD packet to send [15:40:58]OFD Sender: No OFD packet to send [15:41:03]OFD Sender: No OFD packet to send [15:41:08]OFD Sender: No OFD packet to send [15:41:13]OFD Sender: No OFD packet to send [15:41:18]OFD Sender: No OFD packet to send [15:41:23]OFD Sender: No OFD packet to send [15:41:28]OFD Sender: No OFD packet to send [15:41:33]OFD Sender: No OFD packet to send [15:41:38]OFD Sender: No OFD packet to send [15:41:43]OFD Sender: No OFD packet to send [15:41:48]OFD Sender: No OFD packet to send [15:41:53]OFD Sender: No OFD packet to send [15:41:58]OFD Sender: No OFD packet to send [15:42:03]OFD Sender: No OFD packet to send [15:42:08]OFD Sender: No OFD packet to send [15:42:13]OFD Sender: No OFD packet to send [15:42:18]OFD Sender: No OFD packet to send [15:42:23]OFD Sender: No OFD packet to send [15:42:28]OFD Sender: No OFD packet to send [15:42:33]OFD Sender: No OFD packet to send [15:42:38]OFD Sender: No OFD packet to send [15:42:43]OFD Sender: No OFD packet to send [15:42:48]OFD Sender: No OFD packet to send [15:42:53]OFD Sender: No OFD packet to send [15:42:58]OFD Sender: No OFD packet to send [15:43:03]OFD Sender: No OFD packet to send [15:43:08]OFD Sender: No OFD packet to send [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:28]OFD Sender: No OFD packet to send [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]OFD Sender: No OFD packet to send [15:44:03]OFD Sender: No OFD packet to send [15:44:08]OFD Sender: No OFD packet to send [15:44:13]OFD Sender: No OFD packet to send [15:44:18]OFD Sender: No OFD packet to send [15:44:23]OFD Sender: No OFD packet to send [15:44:28]OFD Sender: No OFD packet to send [15:44:33]OFD Sender: No OFD packet to send [15:44:38]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:46]accept exits with 7 [15:44:46]New connection [15:44:46]New thread 3066461540 created [15:44:46]Thread 3066604900 joined [15:44:46]Waiting for new connection... [15:44:46] Sock 7.Parse request [15:44:46]Sock 7.Check first char [15:44:46]Sock 7.First char is OK [15:44:46]request: POST /json_proto HTTP/1.0 [15:44:46]Method: POST [15:44:46]URL: /json_proto [15:44:46]Method is POST - this is cgi request [15:44:46]url: /json_proto [15:44:46]query_string will be loaded in cgi processing [15:44:46]execute_cgi json_proto POST (null) [15:44:46]execute_cgi path=json_proto method=POST [15:44:46]POST find Content-Length [15:44:46]Host: 172.17.35.196:8080 [15:44:46]Content-Length: 1201 [15:44:46]Content-Type: application/json [15:44:46] [15:44:46]POST finish read [15:44:46]Found Content-Length = 1201 [15:44:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670205\u000A12.07.2024 15:38\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 53\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 178.370 x 72.60\u000A\u0418\u0422\u041E\u0413: 12949.66\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32631\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:44:46]execute_script... [15:44:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670205\u000A12.07.2024 15:38\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 53\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 178.370 x 72.60\u000A\u0418\u0422\u041E\u0413: 12949.66\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32631\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:44:46]POST & json_proto [15:44:46]process_json_proto [15:44:46]json parsed OK: [15:44:46]protocol is kg_v1.0 [15:44:46]action value=print_text [15:44:46]process_action print_text [15:44:46]cmd_print_text [15:44:46]ExternCall_PrintAddStr [15:44:46]wPrintStart [15:44:46]Write to MH i2c: 01 00 00 EE 08 F6 [15:44:46]Write i2c OK [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: 01 [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: 01 07 00 [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: 01 07 00 EE 08 00 00 00 00 00 FF 0F 0B [15:44:46]RasterBufferAndPrint [15:44:46]line *****ТОВАРНЫЙ ЧЕК***** [15:44:46]line АЗС 77 [15:44:46]line Партнер нефть [15:44:46]line 02508201610067 [15:44:46]line Кассир : Ташыбеков М. [15:44:46]line Счет N : (1)5670205 [15:44:46]line 12.07.2024 15:38 [15:44:46]line ПРОДАЖА [15:44:46]line ТРК (МРК, ГНК): 53 [15:44:46]line Вид ГСМ : 2710194210 [15:44:46]line ДТ-К-4 [15:44:46]line 178.370 x 72.60 [15:44:46]line ИТОГ: 12949.66 [15:44:46]line Тип оплаты: Талоны: Топливная Карта [15:44:46]line 32631 [15:44:46]line ______________________ [15:44:46]line (подпись) [15:44:46]written 0, free lines is 4095 [15:44:46]Write to MH i2c: 01 00 00 02 09 0B [15:44:46]Write i2c OK [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: 01 [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: 01 07 00 [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: 01 07 00 02 09 00 00 00 00 00 11 0E 31 [15:44:46]RasterBufferAndPrint [15:44:46]line [15:44:46]line [15:44:46]line [15:44:46]line [15:44:46]line [15:44:46]written 0, free lines is 3603 [15:44:46]MH_Cut [15:44:46]Write to MH i2c: D1 01 00 09 09 01 E4 [15:44:46]Write i2c OK [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: D1 [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: D1 01 00 [15:44:46]MH_I2C_Read... [15:44:46]Read from MH i2c: D1 01 00 09 09 00 E3 [15:44:46]Write to MH i2c: 01 00 00 0A 09 13 [15:44:46]Write i2c OK [15:44:46]MH_I2C_Read... [15:44:46]*** Cut start [15:44:46]*** Partial cut [15:44:46]*** CUTSNS_PIN = 1 [15:44:46]*** CUTSNS_PIN = 0 [15:44:47]*** Brake cut motor [15:44:47]Read from MH i2c: 01 [15:44:47]MH_I2C_Read... [15:44:47]Read from MH i2c: 01 07 00 [15:44:47]MH_I2C_Read... [15:44:47]*** Stop cut motor [15:44:47]*** Cut end [15:44:47]Read from MH i2c: 01 07 00 0A 09 00 00 00 00 00 FF 0F 28 [15:44:47]process_action print_text done [15:44:47]requested_data is exist [15:44:47]produce_requested_data [15:44:47]requested_item fm.sn is exist - process it [15:44:47]wFMCommunicate request_size=4 [15:44:47]MH_SAM_APDU [15:44:47]CAPDU: 80 11 00 00 [15:44:47]Write to MH i2c: E2 08 00 0B 09 80 11 00 00 00 00 00 00 8E [15:44:47]Write i2c OK [15:44:47]MH_I2C_Read... [15:44:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:47]Read from MH i2c: E2 [15:44:47]MH_I2C_Read... [15:44:47]Read from MH i2c: E2 17 00 [15:44:47]MH_I2C_Read... [15:44:47]Read from MH i2c: E2 17 00 0B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DA [15:44:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:44:47]wFMCommunicate OK [15:44:47]requested_item fd.num is exist - process it [15:44:47]SAM_PROTO_GetFieldsCounters [15:44:47]wFMCommunicate request_size=4 [15:44:47]MH_SAM_APDU [15:44:47]CAPDU: 80 13 00 00 [15:44:47]Write to MH i2c: E2 08 00 0C 09 80 13 00 00 00 00 00 00 91 [15:44:47]Write i2c OK [15:44:47]MH_I2C_Read... [15:44:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:44:47]Read from MH i2c: E2 [15:44:47]MH_I2C_Read... [15:44:47]Read from MH i2c: E2 62 00 [15:44:47]MH_I2C_Read... [15:44:47]Read from MH i2c: E2 62 00 0C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [15:44:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:44:47]wFMCommunicate OK [15:44:47]SAM_PROTO_GetFieldsCounters done [15:44:47]requested_item shift.num is exist - process it [15:44:47]requested_item shift.opened is exist - process it [15:44:47]req_shift_opened [15:44:47]FM_GetShiftState [15:44:47]SAM_PROTO_GetShiftState [15:44:47]wFMCommunicate request_size=4 [15:44:47]MH_SAM_APDU [15:44:47]CAPDU: 80 13 01 00 [15:44:47]Write to MH i2c: E2 08 00 0D 09 80 13 01 00 00 00 00 00 93 [15:44:47]Write i2c OK [15:44:47]MH_I2C_Read... [15:44:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:47]Read from MH i2c: E2 [15:44:47]MH_I2C_Read... [15:44:47]Read from MH i2c: E2 0E 00 [15:44:47]MH_I2C_Read... [15:44:47]Read from MH i2c: E2 0E 00 0D 09 00 09 00 01 17 74 90 66 00 00 00 00 90 00 20 [15:44:47]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:44:47]wFMCommunicate OK [15:44:47]SAM_PROTO_GetShiftState done [15:44:47]FM_GetShiftState done [15:44:47]req_shift_opened done [15:44:47]requested_item shift.open_date is exist - process it [15:44:47]req_shift_open_date [15:44:47]req_shift_open_date done [15:44:47]produce_requested_data done [15:44:47]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33357,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:44:47]process_action_free print_text [15:44:47]json_value_free [15:44:47]json_value_free done [15:44:47]process_json_proto returns [15:44:47]Send response to host [15:44:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33357,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:44:47]free response buf [15:44:47]execute_script done [15:44:47]execute_script returns [15:44:47]free content buf [15:44:47]Sock 7.Close socket [15:44:47]Sock 7.Thread stoped [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:01]accept exits with 9 [15:45:01]New connection [15:45:01]New thread 3066604900 created [15:45:01]Thread 3066461540 joined [15:45:01]Waiting for new connection... [15:45:01] Sock 9.Parse request [15:45:01]Sock 9.Check first char [15:45:01]Sock 9.First char is OK [15:45:01]request: POST /json_proto HTTP/1.0 [15:45:01]Method: POST [15:45:01]URL: /json_proto [15:45:01]Method is POST - this is cgi request [15:45:01]url: /json_proto [15:45:01]query_string will be loaded in cgi processing [15:45:01]execute_cgi json_proto POST (null) [15:45:01]execute_cgi path=json_proto method=POST [15:45:01]POST find Content-Length [15:45:01]Host: 172.17.35.196:8080 [15:45:01]Content-Length: 1201 [15:45:01]Content-Type: application/json [15:45:01] [15:45:01]POST finish read [15:45:01]Found Content-Length = 1201 [15:45:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670206\u000A12.07.2024 15:38\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 63\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 173.800 x 72.60\u000A\u0418\u0422\u041E\u0413: 12617.88\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32631\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:01]execute_script... [15:45:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670206\u000A12.07.2024 15:38\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 63\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 173.800 x 72.60\u000A\u0418\u0422\u041E\u0413: 12617.88\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32631\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:01]POST & json_proto [15:45:01]process_json_proto [15:45:01]json parsed OK: [15:45:01]protocol is kg_v1.0 [15:45:01]action value=print_text [15:45:01]process_action print_text [15:45:01]cmd_print_text [15:45:01]ExternCall_PrintAddStr [15:45:01]wPrintStart [15:45:01]Write to MH i2c: 01 00 00 0E 09 17 [15:45:01]Write i2c OK [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: 01 [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: 01 07 00 [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: 01 07 00 0E 09 00 00 00 00 00 FF 0F 2C [15:45:01]RasterBufferAndPrint [15:45:01]line *****ТОВАРНЫЙ ЧЕК***** [15:45:01]line АЗС 77 [15:45:01]line Партнер нефть [15:45:01]line 02508201610067 [15:45:01]line Кассир : Ташыбеков М. [15:45:01]line Счет N : (1)5670206 [15:45:01]line 12.07.2024 15:38 [15:45:01]line ПРОДАЖА [15:45:01]line ТРК (МРК, ГНК): 63 [15:45:01]line Вид ГСМ : 2710194210 [15:45:01]line ДТ-К-4 [15:45:01]line 173.800 x 72.60 [15:45:01]line ИТОГ: 12617.88 [15:45:01]line Тип оплаты: Талоны: Топливная Карта [15:45:01]line 32631 [15:45:01]line ______________________ [15:45:01]line (подпись) [15:45:01]written 0, free lines is 4095 [15:45:01]Write to MH i2c: 01 00 00 22 09 2B [15:45:01]Write i2c OK [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: 01 [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: 01 07 00 [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: 01 07 00 22 09 00 00 00 00 00 11 0E 51 [15:45:01]RasterBufferAndPrint [15:45:01]line [15:45:01]line [15:45:01]line [15:45:01]line [15:45:01]line [15:45:01]written 0, free lines is 3603 [15:45:01]MH_Cut [15:45:01]Write to MH i2c: D1 01 00 29 09 01 04 [15:45:01]Write i2c OK [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: D1 [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: D1 01 00 [15:45:01]MH_I2C_Read... [15:45:01]Read from MH i2c: D1 01 00 29 09 00 03 [15:45:01]Write to MH i2c: 01 00 00 2A 09 33 [15:45:01]Write i2c OK [15:45:01]MH_I2C_Read... [15:45:01]*** Cut start [15:45:01]*** Partial cut [15:45:01]*** CUTSNS_PIN = 1 [15:45:01]*** CUTSNS_PIN = 0 [15:45:02]*** Brake cut motor [15:45:02]Read from MH i2c: 01 [15:45:02]MH_I2C_Read... [15:45:02]*** Stop cut motor [15:45:02]*** Cut end [15:45:02]Read from MH i2c: 01 07 00 [15:45:02]MH_I2C_Read... [15:45:02]Read from MH i2c: 01 07 00 2A 09 00 00 00 00 00 FF 0F 48 [15:45:02]process_action print_text done [15:45:02]requested_data is exist [15:45:02]produce_requested_data [15:45:02]requested_item fm.sn is exist - process it [15:45:02]wFMCommunicate request_size=4 [15:45:02]MH_SAM_APDU [15:45:02]CAPDU: 80 11 00 00 [15:45:02]Write to MH i2c: E2 08 00 2B 09 80 11 00 00 00 00 00 00 AE [15:45:02]Write i2c OK [15:45:02]MH_I2C_Read... [15:45:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:02]Read from MH i2c: E2 [15:45:02]MH_I2C_Read... [15:45:02]Read from MH i2c: E2 17 00 [15:45:02]MH_I2C_Read... [15:45:02]Read from MH i2c: E2 17 00 2B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FA [15:45:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:45:02]wFMCommunicate OK [15:45:02]requested_item fd.num is exist - process it [15:45:02]SAM_PROTO_GetFieldsCounters [15:45:02]wFMCommunicate request_size=4 [15:45:02]MH_SAM_APDU [15:45:02]CAPDU: 80 13 00 00 [15:45:02]Write to MH i2c: E2 08 00 2C 09 80 13 00 00 00 00 00 00 B1 [15:45:02]Write i2c OK [15:45:02]MH_I2C_Read... [15:45:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:45:02]Read from MH i2c: E2 [15:45:02]MH_I2C_Read... [15:45:02]Read from MH i2c: E2 62 00 [15:45:02]MH_I2C_Read... [15:45:02]Read from MH i2c: E2 62 00 2C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 AE [15:45:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:45:02]wFMCommunicate OK [15:45:02]SAM_PROTO_GetFieldsCounters done [15:45:02]requested_item shift.num is exist - process it [15:45:02]requested_item shift.opened is exist - process it [15:45:02]req_shift_opened [15:45:02]FM_GetShiftState [15:45:02]SAM_PROTO_GetShiftState [15:45:02]wFMCommunicate request_size=4 [15:45:02]MH_SAM_APDU [15:45:02]CAPDU: 80 13 01 00 [15:45:02]Write to MH i2c: E2 08 00 2D 09 80 13 01 00 00 00 00 00 B3 [15:45:02]Write i2c OK [15:45:02]MH_I2C_Read... [15:45:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:02]Read from MH i2c: E2 [15:45:02]MH_I2C_Read... [15:45:02]Read from MH i2c: E2 0E 00 [15:45:02]MH_I2C_Read... [15:45:02]Read from MH i2c: E2 0E 00 2D 09 00 09 00 01 17 74 90 66 00 00 00 00 90 00 40 [15:45:02]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:45:02]wFMCommunicate OK [15:45:02]SAM_PROTO_GetShiftState done [15:45:02]FM_GetShiftState done [15:45:02]req_shift_opened done [15:45:02]requested_item shift.open_date is exist - process it [15:45:02]req_shift_open_date [15:45:02]req_shift_open_date done [15:45:02]produce_requested_data done [15:45:02]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33357,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:45:02]process_action_free print_text [15:45:02]json_value_free [15:45:02]json_value_free done [15:45:02]process_json_proto returns [15:45:02]Send response to host [15:45:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33357,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:45:02]free response buf [15:45:02]execute_script done [15:45:02]execute_script returns [15:45:02]free content buf [15:45:02]Sock 9.Close socket [15:45:02]Sock 9.Thread stoped [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:30]accept exits with 7 [15:46:30]New connection [15:46:30]New thread 3066461540 created [15:46:30]Thread 3066604900 joined [15:46:30]Waiting for new connection... [15:46:30] Sock 7.Parse request [15:46:30]Sock 7.Check first char [15:46:30]Sock 7.First char is OK [15:46:30]request: POST /json_proto HTTP/1.0 [15:46:30]Method: POST [15:46:30]URL: /json_proto [15:46:30]Method is POST - this is cgi request [15:46:30]url: /json_proto [15:46:30]query_string will be loaded in cgi processing [15:46:30]execute_cgi json_proto POST (null) [15:46:30]execute_cgi path=json_proto method=POST [15:46:30]POST find Content-Length [15:46:30]Host: 172.17.35.196:8080 [15:46:30]Content-Length: 1202 [15:46:30]Content-Type: application/json [15:46:30] [15:46:30]POST finish read [15:46:30]Found Content-Length = 1202 [15:46:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670215\u000A12.07.2024 15:40\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 23\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 18.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1193.40\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A43231\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:46:30]execute_script... [15:46:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670215\u000A12.07.2024 15:40\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 23\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 18.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1193.40\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A43231\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:46:30]POST & json_proto [15:46:30]process_json_proto [15:46:30]json parsed OK: [15:46:30]protocol is kg_v1.0 [15:46:30]action value=print_text [15:46:30]process_action print_text [15:46:30]cmd_print_text [15:46:30]ExternCall_PrintAddStr [15:46:30]wPrintStart [15:46:30]Write to MH i2c: 01 00 00 2E 09 37 [15:46:30]Write i2c OK [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: 01 [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: 01 07 00 [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: 01 07 00 2E 09 00 00 00 00 00 FF 0F 4C [15:46:30]RasterBufferAndPrint [15:46:30]line *****ТОВАРНЫЙ ЧЕК***** [15:46:30]line АЗС 77 [15:46:30]line Партнер нефть [15:46:30]line 02508201610067 [15:46:30]line Кассир : Ташыбеков М. [15:46:30]line Счет N : (1)5670215 [15:46:30]line 12.07.2024 15:40 [15:46:30]line ПРОДАЖА [15:46:30]line ТРК (МРК, ГНК): 23 [15:46:30]line Вид ГСМ : 2710124130 [15:46:30]line Аи-92-К-5 [15:46:30]line 18.000 x 66.30 [15:46:30]line ИТОГ: 1193.40 [15:46:30]line Тип оплаты: Талоны: Топливная Карта [15:46:30]line 43231 [15:46:30]line ______________________ [15:46:30]line (подпись) [15:46:30]written 0, free lines is 4095 [15:46:30]Write to MH i2c: 01 00 00 42 09 4B [15:46:30]Write i2c OK [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: 01 [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: 01 07 00 [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: 01 07 00 42 09 00 00 00 00 00 11 0E 71 [15:46:30]RasterBufferAndPrint [15:46:30]line [15:46:30]line [15:46:30]line [15:46:30]line [15:46:30]line [15:46:30]written 0, free lines is 3602 [15:46:30]MH_Cut [15:46:30]Write to MH i2c: D1 01 00 49 09 01 24 [15:46:30]Write i2c OK [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: D1 [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: D1 01 00 [15:46:30]MH_I2C_Read... [15:46:30]Read from MH i2c: D1 01 00 49 09 00 23 [15:46:30]Write to MH i2c: 01 00 00 4A 09 53 [15:46:30]Write i2c OK [15:46:30]MH_I2C_Read... [15:46:31]*** Cut start [15:46:31]*** Partial cut [15:46:31]*** CUTSNS_PIN = 1 [15:46:31]*** CUTSNS_PIN = 0 [15:46:31]*** Brake cut motor [15:46:31]Read from MH i2c: 01 [15:46:31]MH_I2C_Read... [15:46:31]*** Stop cut motor [15:46:31]*** Cut end [15:46:31]Read from MH i2c: 01 07 00 [15:46:31]MH_I2C_Read... [15:46:31]Read from MH i2c: 01 07 00 4A 09 00 00 00 00 00 FF 0F 68 [15:46:31]process_action print_text done [15:46:31]requested_data is exist [15:46:31]produce_requested_data [15:46:31]requested_item fm.sn is exist - process it [15:46:31]wFMCommunicate request_size=4 [15:46:31]MH_SAM_APDU [15:46:31]CAPDU: 80 11 00 00 [15:46:31]Write to MH i2c: E2 08 00 4B 09 80 11 00 00 00 00 00 00 CE [15:46:31]Write i2c OK [15:46:31]MH_I2C_Read... [15:46:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:46:31]Read from MH i2c: E2 [15:46:31]MH_I2C_Read... [15:46:31]Read from MH i2c: E2 17 00 [15:46:31]MH_I2C_Read... [15:46:31]Read from MH i2c: E2 17 00 4B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1A [15:46:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:46:31]wFMCommunicate OK [15:46:31]requested_item fd.num is exist - process it [15:46:31]SAM_PROTO_GetFieldsCounters [15:46:31]wFMCommunicate request_size=4 [15:46:31]MH_SAM_APDU [15:46:31]CAPDU: 80 13 00 00 [15:46:31]Write to MH i2c: E2 08 00 4C 09 80 13 00 00 00 00 00 00 D1 [15:46:31]Write i2c OK [15:46:31]MH_I2C_Read... [15:46:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:46:32]Read from MH i2c: E2 [15:46:32]MH_I2C_Read... [15:46:32]Read from MH i2c: E2 62 00 [15:46:32]MH_I2C_Read... [15:46:32]Read from MH i2c: E2 62 00 4C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 CE [15:46:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:46:32]wFMCommunicate OK [15:46:32]SAM_PROTO_GetFieldsCounters done [15:46:32]requested_item shift.num is exist - process it [15:46:32]requested_item shift.opened is exist - process it [15:46:32]req_shift_opened [15:46:32]FM_GetShiftState [15:46:32]SAM_PROTO_GetShiftState [15:46:32]wFMCommunicate request_size=4 [15:46:32]MH_SAM_APDU [15:46:32]CAPDU: 80 13 01 00 [15:46:32]Write to MH i2c: E2 08 00 4D 09 80 13 01 00 00 00 00 00 D3 [15:46:32]Write i2c OK [15:46:32]MH_I2C_Read... [15:46:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:46:32]Read from MH i2c: E2 [15:46:32]MH_I2C_Read... [15:46:32]Read from MH i2c: E2 0E 00 [15:46:32]MH_I2C_Read... [15:46:32]Read from MH i2c: E2 0E 00 4D 09 00 09 00 01 17 74 90 66 00 00 00 00 90 00 60 [15:46:32]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:46:32]wFMCommunicate OK [15:46:32]SAM_PROTO_GetShiftState done [15:46:32]FM_GetShiftState done [15:46:32]req_shift_opened done [15:46:32]requested_item shift.open_date is exist - process it [15:46:32]req_shift_open_date [15:46:32]req_shift_open_date done [15:46:32]produce_requested_data done [15:46:32]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33357,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:46:32]process_action_free print_text [15:46:32]json_value_free [15:46:32]json_value_free done [15:46:32]process_json_proto returns [15:46:32]Send response to host [15:46:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33357,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:46:32]free response buf [15:46:32]execute_script done [15:46:32]execute_script returns [15:46:32]free content buf [15:46:32]Sock 7.Close socket [15:46:32]Sock 7.Thread stoped [15:46:33]OFD Sender: No OFD packet to send [15:46:38]OFD Sender: No OFD packet to send [15:46:43]OFD Sender: No OFD packet to send [15:46:48]OFD Sender: No OFD packet to send [15:46:53]OFD Sender: No OFD packet to send [15:46:58]OFD Sender: No OFD packet to send [15:47:03]OFD Sender: No OFD packet to send [15:47:08]OFD Sender: No OFD packet to send [15:47:13]OFD Sender: No OFD packet to send [15:47:18]OFD Sender: No OFD packet to send [15:47:23]OFD Sender: No OFD packet to send [15:47:28]OFD Sender: No OFD packet to send [15:47:33]OFD Sender: No OFD packet to send [15:47:38]OFD Sender: No OFD packet to send [15:47:43]OFD Sender: No OFD packet to send [15:47:48]OFD Sender: No OFD packet to send [15:47:53]OFD Sender: No OFD packet to send [15:47:58]OFD Sender: No OFD packet to send [15:48:03]OFD Sender: No OFD packet to send [15:48:08]OFD Sender: No OFD packet to send [15:48:13]OFD Sender: No OFD packet to send [15:48:18]OFD Sender: No OFD packet to send [15:48:22]accept exits with 10 [15:48:22]New connection [15:48:22]New thread 3066604900 created [15:48:22]Thread 3066461540 joined [15:48:22]Waiting for new connection... [15:48:22] Sock 10.Parse request [15:48:22]Sock 10.Check first char [15:48:22]Sock 10.First char is OK [15:48:22]request: POST /json_proto HTTP/1.0 [15:48:22]Method: POST [15:48:22]URL: /json_proto [15:48:22]Method is POST - this is cgi request [15:48:22]url: /json_proto [15:48:22]query_string will be loaded in cgi processing [15:48:22]execute_cgi json_proto POST (null) [15:48:22]execute_cgi path=json_proto method=POST [15:48:22]POST find Content-Length [15:48:22]Host: 172.17.35.196:8080 [15:48:22]Content-Length: 620 [15:48:22]Content-Type: application/json [15:48:22] [15:48:22]POST finish read [15:48:22]Found Content-Length = 620 [15:48:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169173", "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" ] } } [15:48:22]execute_script... [15:48: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)169173", "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" ] } } [15:48:22]POST & json_proto [15:48:22]process_json_proto [15:48:22]json parsed OK: [15:48:22]protocol is kg_v1.0 [15:48:22]action value=close_receipt [15:48:22]process_action close_receipt [15:48:22]cmd_close_receipt [15:48:22]MH_GetDate [15:48:22]Write to MH i2c: F0 00 00 4E 09 46 [15:48:22]Write i2c OK [15:48:22]MH_I2C_Read... [15:48:22]Read from MH i2c: F0 [15:48:22]MH_I2C_Read... [15:48:22]Read from MH i2c: F0 09 00 [15:48:22]MH_I2C_Read... [15:48:22]Read from MH i2c: F0 09 00 4E 09 00 47 50 91 66 AD 14 F4 65 F7 [15:48:22]GetLastDocTimeStamp 1720798736 [15:48:22]current date 1720799303 [15:48:22]FM_GetShiftState [15:48:22]SAM_PROTO_GetShiftState [15:48:22]wFMCommunicate request_size=4 [15:48:22]MH_SAM_APDU [15:48:22]CAPDU: 80 13 01 00 [15:48:22]Write to MH i2c: E2 08 00 4F 09 80 13 01 00 00 00 00 00 D5 [15:48:22]Write i2c OK [15:48:22]MH_I2C_Read... [15:48:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:22]Read from MH i2c: E2 [15:48:22]MH_I2C_Read... [15:48:22]Read from MH i2c: E2 0E 00 [15:48:22]MH_I2C_Read... [15:48:22]Read from MH i2c: E2 0E 00 4F 09 00 09 00 01 17 74 90 66 00 00 00 00 90 00 62 [15:48:22]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:48:22]wFMCommunicate OK [15:48:22]SAM_PROTO_GetShiftState done [15:48:22]FM_GetShiftState done [15:48:22]opened in 1720742935 [15:48:22]opened+sec_in_day 1720829335 [15:48:22]quantity*price = 13500 [15:48:22]sum+1 = 13501 [15:48:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 36 12.07.2024 15:48 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33358 ФПД: 167071784650152 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T154824&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33358&fm=167071784650152&tin=02508201610067®Number=0000000000093033&sum=13500 0 [15:48:23]StoreToDocumentArchive [15:48:23]shift 433 fd 33358 [15:48:23]save to /storage/0433/doc_00033358 [15:48:23]save last doc name /storage/0433/doc_00033358 to /storage/kkm_last_doc_name [15:48:23]save OK [15:48:23]Clear old archive folders... [15:48:23]ProcessDocumentItem done err = 0, tmpTLVsize=272 [15:48:23]tlvbuf is 00A4B0A0 [15:48:23]SAM_PROTO_ClearQueue [15:48:23]wFMCommunicate request_size=4 [15:48:23]MH_SAM_APDU [15:48:23]CAPDU: 80 09 00 00 [15:48:23]Write to MH i2c: E2 08 00 5C 09 80 09 00 00 00 00 00 00 D7 [15:48:23]Write i2c OK [15:48:23]MH_I2C_Read... [15:48:23]OFD Sender: No OFD packet to send [15:48:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:48:23]Read from MH i2c: E2 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: E2 03 00 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: E2 03 00 5C 09 00 90 00 D9 [15:48:23]RAPDU: 90 00 [15:48:23]wFMCommunicate OK [15:48:23]SAM_PROTO_ClearQueue done [15:48:23]KKMCreateOFDPacket [15:48:23]OFDProtocolAddRootSTLVToBuf [15:48:23]FM_MakeSignedData [15:48:23]FM_MakeSignedData [15:48:23]SAM_PROTO_SignData [15:48:23]wFMCommunicate request_size=4 [15:48:23]MH_SAM_APDU [15:48:23]CAPDU: 80 0D 01 02 [15:48:23]Write to MH i2c: E2 08 00 5D 09 80 0D 01 02 00 00 00 00 DF [15:48:23]Write i2c OK [15:48:23]MH_I2C_Read... [15:48:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:48:23]Read from MH i2c: E2 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: E2 03 00 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: E2 03 00 5D 09 00 90 00 DA [15:48:23]RAPDU: 90 00 [15:48:23]wFMCommunicate OK [15:48:23]wFMCommunicate request_size=255 [15:48:23]MH_SAM_APDU [15:48:23]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 24 00 00 00 F4 03 04 00 48 50 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 [15:48:23]Write to MH i2c: E2 02 01 5E 09 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 24 00 00 00 F4 03 04 00 48 50 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 F8 [15:48:23]Write i2c OK [15:48:23]MH_I2C_Read... [15:48:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:23]Read from MH i2c: E2 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: E2 03 00 [15:48:23]MH_I2C_Read... [15:48:23]Read from MH i2c: E2 03 00 5E 09 00 90 00 DB [15:48:23]RAPDU: 90 00 [15:48:23]wFMCommunicate OK [15:48:23]wFMCommunicate request_size=31 [15:48:23]MH_SAM_APDU [15:48:23]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 31 30 34 10 04 04 00 4E 82 00 00 35 04 06 00 97 F3 6E 60 45 A8 [15:48:23]Write to MH i2c: E2 22 00 5F 09 80 0D 02 02 1A 00 30 30 38 37 35 31 30 34 10 04 04 00 4E 82 00 00 35 04 06 00 97 F3 6E 60 45 A8 00 00 1B [15:48:23]Write i2c OK [15:48:23]MH_I2C_Read... [15:48:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:24]Read from MH i2c: E2 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: E2 03 00 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: E2 03 00 5F 09 00 90 00 DC [15:48:24]RAPDU: 90 00 [15:48:24]wFMCommunicate OK [15:48:24]wFMCommunicate request_size=4 [15:48:24]MH_SAM_APDU [15:48:24]CAPDU: 80 0D 03 02 [15:48:24]Write to MH i2c: E2 08 00 60 09 80 0D 03 02 00 00 00 00 E4 [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:48:24]Read from MH i2c: E2 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: E2 0B 00 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: E2 0B 00 60 09 00 4B D2 41 20 43 17 D4 9C 90 00 2D [15:48:24]RAPDU: 4B D2 41 20 43 17 D4 9C 90 00 [15:48:24]wFMCommunicate OK [15:48:24]SAM_PROTO_SignData done [15:48:24]FM_MakeSignedData done [15:48:24]CreateOFDProtocolMessage [15:48:24]wFMCommunicate request_size=4 [15:48:24]MH_SAM_APDU [15:48:24]CAPDU: 80 11 00 00 [15:48:24]Write to MH i2c: E2 08 00 61 09 80 11 00 00 00 00 00 00 E4 [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:24]Read from MH i2c: E2 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: E2 17 00 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: E2 17 00 61 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 30 [15:48:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:48:24]wFMCommunicate OK [15:48:24]CreateOFDProtocolMessage done [15:48:24]OFDSenderStorePacket 33358 [15:48:24]StoreOFDPacket docnum=33358 [15:48:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 24 01 00 00 73 A1 1C 01 BE 0F 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 24 00 00 00 F4 03 04 00 48 50 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4E 82 00 00 35 04 06 00 97 F3 6E 60 45 A8 4B D2 41 20 43 17 D4 9C [15:48:24]CheckFolder [15:48:24]dirname=/storage/ofd_packets [15:48:24]CheckFolder done [15:48:24]ProducePacketName [15:48:24]name=ofd_packets/00033358 [15:48:24]NVStorageSaveData ofd_packets/00033358 [15:48:24]File name is /storage/ofd_packets/00033358 [15:48:24]Write 322 bytes [15:48:24]NVStorageSaveData done [15:48:24]OFDSenderStorePacket done [15:48:24]KKMCreateOFDPacket done [15:48:24]NVStorageSaveData kkm_last_timestamp [15:48:24]File name is /storage/kkm_last_timestamp [15:48:24]Write 4 bytes [15:48:24]NVStorageSaveData done [15:48:24]ExternCall_PrintAddStr [15:48:24]wPrintStart [15:48:24]Write to MH i2c: 01 00 00 62 09 6B [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: 01 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: 01 07 00 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: 01 07 00 62 09 00 00 00 00 00 FF 0F 80 [15:48:24]RasterBufferAndPrint [15:48:24]line Счет N : (3)169173 [15:48:24]line ИНН: 02508201610067 [15:48:24]line Контрольно-Кассовый Чек [15:48:24]line ПРОДАЖА [15:48:24]line Товар: 48745000 [15:48:24]line Сигареты Winston Purple Mix [15:48:24]line 1.000 * 135.00 [15:48:24]line = 135.00 [15:48:24]line НДС 12% НСП 1% [15:48:24]line > о реализуемом товаре [15:48:24]line ИТОГО: 135.00 [15:48:24]line НСП 1% : 1.19 [15:48:24]line НДС 12% : 14.34 [15:48:24]line Наличными: 135.00 [15:48:24]line Безнал.: 0.00 [15:48:24]line Место: АЗС № 77 "Партнер Нефть" [15:48:24]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:48:24]line СНО: Общий режим [15:48:24]line Чек 36 12.07.2024 15:48 [15:48:24]line Смена: 433 ФФД: 1.0 [15:48:24]line ЗНМ: 0300000122 [15:48:24]line РНМ: 0000000000093033 [15:48:24]line Версия ККМ: 001 [15:48:24]line ФМ: 0000000000875104 [15:48:24]line ФД: 33358 [15:48:24]line ФПД: 167071784650152 [15:48:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T154824&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33358&fm=167071784650152&tin=02508201610067®Number=0000000000093033&sum=13500 [15:48:24]line 0 [15:48:24]written 0, free lines is 4095 [15:48:24]OFD Sender: Processing packet 33358 [packets to send 6, broken 5] [15:48:24]ProducePacketName [15:48:24]name=ofd_packets/00033358 [15:48:24]OFD Sender: To server: pG, [15:48:24]CommunicateWithHost lk.salyk.kg:30040 [15:48:24]ConnectInit lk.salyk.kg [15:48:24]Connected sock=9 [15:48:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 24 01 00 00 73 A1 1C 01 BE 0F 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 24 00 00 00 F4 03 04 00 48 50 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4E 82 00 00 35 04 06 00 97 F3 6E 60 45 A8 4B D2 41 20 43 17 D4 9C [15:48:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 BC B9 47 00 A7 FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4E 82 00 00 F4 03 04 00 F4 FA 90 66 B6 04 01 00 00 90 46 C8 33 8C C4 EF 8D [15:48:24]CommunicateWithHost err = 0 [15:48:24]CheckOFDResponse [15:48:24]1017 (14) - 77093643461234 [15:48:24]1041 (16) - 0000000000875104 [15:48:24]1040 (4) - 33358 [15:48:24]1012 (4) - 12.07.2024 09:44 [15:48:24]1206 (1) - 0 [15:48:24]OFD Sender: Remove packet 33358 [15:48:24]ProducePacketName [15:48:24]name=ofd_packets/00033358 [15:48:24]NVStorageDeleteData [15:48:24]Write to MH i2c: 01 00 00 8A 09 93 [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: 01 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: 01 07 00 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: 01 07 00 8A 09 00 00 00 00 00 F6 0C 9C [15:48:24]RasterBufferAndPrint [15:48:24]line [15:48:24]line [15:48:24]line [15:48:24]line [15:48:24]line [15:48:24]written 0, free lines is 3325 [15:48:24]MH_Cut [15:48:24]Write to MH i2c: D1 01 00 91 09 01 6C [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: D1 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: D1 01 00 [15:48:24]MH_I2C_Read... [15:48:24]Read from MH i2c: D1 01 00 91 09 00 6B [15:48:24]Write to MH i2c: 01 00 00 92 09 9B [15:48:24]Write i2c OK [15:48:24]MH_I2C_Read... [15:48:25]OFD Sender: No OFD packet to send [15:48:25]*** Cut start [15:48:25]*** Partial cut [15:48:25]*** CUTSNS_PIN = 1 [15:48:25]*** CUTSNS_PIN = 0 [15:48:25]*** Brake cut motor [15:48:26]Read from MH i2c: 01 [15:48:26]MH_I2C_Read... [15:48:26]*** Stop cut motor [15:48:26]*** Cut end [15:48:26]Read from MH i2c: 01 07 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: 01 07 00 92 09 00 00 00 00 00 FF 0F B0 [15:48:26]process_action close_receipt done [15:48:26]requested_data is exist [15:48:26]produce_requested_data [15:48:26]requested_item fm.sn is exist - process it [15:48:26]wFMCommunicate request_size=4 [15:48:26]MH_SAM_APDU [15:48:26]CAPDU: 80 11 00 00 [15:48:26]Write to MH i2c: E2 08 00 93 09 80 11 00 00 00 00 00 00 16 [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 17 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 17 00 93 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 62 [15:48:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:48:26]wFMCommunicate OK [15:48:26]requested_item fd.num is exist - process it [15:48:26]SAM_PROTO_GetFieldsCounters [15:48:26]wFMCommunicate request_size=4 [15:48:26]MH_SAM_APDU [15:48:26]CAPDU: 80 13 00 00 [15:48:26]Write to MH i2c: E2 08 00 94 09 80 13 00 00 00 00 00 00 19 [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 62 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 62 00 94 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4E 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 1A [15:48:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4E 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:48:26]wFMCommunicate OK [15:48:26]SAM_PROTO_GetFieldsCounters done [15:48:26]requested_item shift.num is exist - process it [15:48:26]requested_item shift.opened is exist - process it [15:48:26]req_shift_opened [15:48:26]FM_GetShiftState [15:48:26]SAM_PROTO_GetShiftState [15:48:26]wFMCommunicate request_size=4 [15:48:26]MH_SAM_APDU [15:48:26]CAPDU: 80 13 01 00 [15:48:26]Write to MH i2c: E2 08 00 95 09 80 13 01 00 00 00 00 00 1B [15:48:26]Write i2c OK [15:48:26]MH_I2C_Read... [15:48:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:26]Read from MH i2c: E2 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 0E 00 [15:48:26]MH_I2C_Read... [15:48:26]Read from MH i2c: E2 0E 00 95 09 00 09 00 01 17 74 90 66 00 00 00 00 90 00 A8 [15:48:26]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:48:26]wFMCommunicate OK [15:48:26]SAM_PROTO_GetShiftState done [15:48:26]FM_GetShiftState done [15:48:26]req_shift_opened done [15:48:26]requested_item shift.open_date is exist - process it [15:48:26]req_shift_open_date [15:48:26]req_shift_open_date done [15:48:26]produce_requested_data done [15:48:26]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33358,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:48:26]process_action_free close_receipt [15:48:26]json_value_free [15:48:26]json_value_free done [15:48:26]process_json_proto returns [15:48:26]Send response to host [15:48:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33358,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:48:26]free response buf [15:48:26]execute_script done [15:48:26]execute_script returns [15:48:26]free content buf [15:48:26]Sock 10.Close socket [15:48:26]Sock 10.Thread stoped [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:43]accept exits with 7 [15:48:43]New connection [15:48:43]New thread 3066461540 created [15:48:43]Thread 3066604900 joined [15:48:43]Waiting for new connection... [15:48:43] Sock 7.Parse request [15:48:43]Sock 7.Check first char [15:48:43]Sock 7.First char is OK [15:48:43]request: POST /json_proto HTTP/1.0 [15:48:43]Method: POST [15:48:43]URL: /json_proto [15:48:43]Method is POST - this is cgi request [15:48:43]url: /json_proto [15:48:43]query_string will be loaded in cgi processing [15:48:43]execute_cgi json_proto POST (null) [15:48:43]execute_cgi path=json_proto method=POST [15:48:43]POST find Content-Length [15:48:43]Host: 172.17.35.196:8080 [15:48:43]Content-Length: 652 [15:48:43]Content-Type: application/json [15:48:43] [15:48:43]POST finish read [15:48:43]Found Content-Length = 652 [15:48:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169174", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:43]execute_script... [15:48:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169174", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:43]POST & json_proto [15:48:43]process_json_proto [15:48:43]json parsed OK: [15:48:43]protocol is kg_v1.0 [15:48:43]action value=close_receipt [15:48:43]process_action close_receipt [15:48:43]cmd_close_receipt [15:48:43]MH_GetDate [15:48:43]Write to MH i2c: F0 00 00 96 09 8E [15:48:43]Write i2c OK [15:48:43]MH_I2C_Read... [15:48:43]Read from MH i2c: F0 [15:48:43]MH_I2C_Read... [15:48:43]Read from MH i2c: F0 09 00 [15:48:43]MH_I2C_Read... [15:48:43]Read from MH i2c: F0 09 00 96 09 00 5C 50 91 66 AD 14 F4 65 54 [15:48:43]GetLastDocTimeStamp 1720799304 [15:48:43]current date 1720799324 [15:48:43]FM_GetShiftState [15:48:43]SAM_PROTO_GetShiftState [15:48:43]wFMCommunicate request_size=4 [15:48:43]MH_SAM_APDU [15:48:43]CAPDU: 80 13 01 00 [15:48:43]Write to MH i2c: E2 08 00 97 09 80 13 01 00 00 00 00 00 1D [15:48:43]Write i2c OK [15:48:43]MH_I2C_Read... [15:48:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:43]Read from MH i2c: E2 [15:48:43]MH_I2C_Read... [15:48:43]Read from MH i2c: E2 0E 00 [15:48:43]MH_I2C_Read... [15:48:43]Read from MH i2c: E2 0E 00 97 09 00 09 00 01 17 74 90 66 00 00 00 00 90 00 AA [15:48:43]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:48:43]wFMCommunicate OK [15:48:43]SAM_PROTO_GetShiftState done [15:48:43]FM_GetShiftState done [15:48:43]opened in 1720742935 [15:48:43]opened+sec_in_day 1720829335 [15:48:43]quantity*price = 7500 [15:48:43]sum+1 = 7501 [15:48:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 37 12.07.2024 15:48 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33359 ФПД: 281079456100406 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T154845&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33359&fm=281079456100406&tin=02508201610067®Number=0000000000093033&sum=7500 0 [15:48:44]StoreToDocumentArchive [15:48:44]shift 433 fd 33359 [15:48:44]save to /storage/0433/doc_00033359 [15:48:44]save last doc name /storage/0433/doc_00033359 to /storage/kkm_last_doc_name [15:48:44]save OK [15:48:44]Clear old archive folders... [15:48:44]ProcessDocumentItem done err = 0, tmpTLVsize=275 [15:48:44]tlvbuf is 00A38290 [15:48:44]SAM_PROTO_ClearQueue [15:48:44]wFMCommunicate request_size=4 [15:48:44]MH_SAM_APDU [15:48:44]CAPDU: 80 09 00 00 [15:48:44]Write to MH i2c: E2 08 00 A4 09 80 09 00 00 00 00 00 00 1F [15:48:44]Write i2c OK [15:48:44]MH_I2C_Read... [15:48:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:48:44]Read from MH i2c: E2 [15:48:44]MH_I2C_Read... [15:48:44]Read from MH i2c: E2 03 00 [15:48:44]MH_I2C_Read... [15:48:44]Read from MH i2c: E2 03 00 A4 09 00 90 00 21 [15:48:44]RAPDU: 90 00 [15:48:44]wFMCommunicate OK [15:48:44]SAM_PROTO_ClearQueue done [15:48:44]KKMCreateOFDPacket [15:48:44]OFDProtocolAddRootSTLVToBuf [15:48:44]FM_MakeSignedData [15:48:44]FM_MakeSignedData [15:48:44]SAM_PROTO_SignData [15:48:44]wFMCommunicate request_size=4 [15:48:44]MH_SAM_APDU [15:48:44]CAPDU: 80 0D 01 02 [15:48:44]Write to MH i2c: E2 08 00 A5 09 80 0D 01 02 00 00 00 00 27 [15:48:44]Write i2c OK [15:48:44]MH_I2C_Read... [15:48:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:48:44]Read from MH i2c: E2 [15:48:44]MH_I2C_Read... [15:48:44]Read from MH i2c: E2 03 00 [15:48:44]MH_I2C_Read... [15:48:44]Read from MH i2c: E2 03 00 A5 09 00 90 00 22 [15:48:44]RAPDU: 90 00 [15:48:44]wFMCommunicate OK [15:48:44]wFMCommunicate request_size=255 [15:48:44]MH_SAM_APDU [15:48:44]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 5D 50 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 [15:48:44]Write to MH i2c: E2 02 01 A6 09 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 5D 50 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 00 00 8A [15:48:44]Write i2c OK [15:48:44]MH_I2C_Read... [15:48:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:44]Read from MH i2c: E2 [15:48:44]MH_I2C_Read... [15:48:44]Read from MH i2c: E2 03 00 [15:48:44]MH_I2C_Read... [15:48:44]Read from MH i2c: E2 03 00 A6 09 00 90 00 23 [15:48:44]RAPDU: 90 00 [15:48:45]wFMCommunicate OK [15:48:45]wFMCommunicate request_size=34 [15:48:45]MH_SAM_APDU [15:48:45]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4F 82 00 00 35 04 06 00 FF A3 E9 22 70 36 [15:48:45]Write to MH i2c: E2 25 00 A7 09 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4F 82 00 00 35 04 06 00 FF A3 E9 22 70 36 00 00 08 [15:48:45]Write i2c OK [15:48:45]MH_I2C_Read... [15:48:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:45]Read from MH i2c: E2 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: E2 03 00 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: E2 03 00 A7 09 00 90 00 24 [15:48:45]RAPDU: 90 00 [15:48:45]wFMCommunicate OK [15:48:45]wFMCommunicate request_size=4 [15:48:45]MH_SAM_APDU [15:48:45]CAPDU: 80 0D 03 02 [15:48:45]Write to MH i2c: E2 08 00 A8 09 80 0D 03 02 00 00 00 00 2C [15:48:45]Write i2c OK [15:48:45]MH_I2C_Read... [15:48:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:48:45]Read from MH i2c: E2 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: E2 0B 00 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: E2 0B 00 A8 09 00 5F FA E4 DA AD C2 D7 1B 90 00 A5 [15:48:45]RAPDU: 5F FA E4 DA AD C2 D7 1B 90 00 [15:48:45]wFMCommunicate OK [15:48:45]SAM_PROTO_SignData done [15:48:45]FM_MakeSignedData done [15:48:45]CreateOFDProtocolMessage [15:48:45]wFMCommunicate request_size=4 [15:48:45]MH_SAM_APDU [15:48:45]CAPDU: 80 11 00 00 [15:48:45]Write to MH i2c: E2 08 00 A9 09 80 11 00 00 00 00 00 00 2C [15:48:45]Write i2c OK [15:48:45]MH_I2C_Read... [15:48:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:45]Read from MH i2c: E2 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: E2 17 00 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: E2 17 00 A9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 78 [15:48:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:48:45]wFMCommunicate OK [15:48:45]CreateOFDProtocolMessage done [15:48:45]OFDSenderStorePacket 33359 [15:48:45]StoreOFDPacket docnum=33359 [15:48:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 F7 9B 1F 01 C5 E7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 5D 50 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4F 82 00 00 35 04 06 00 FF A3 E9 22 70 36 5F FA E4 DA AD C2 D7 1B [15:48:45]CheckFolder [15:48:45]dirname=/storage/ofd_packets [15:48:45]CheckFolder done [15:48:45]ProducePacketName [15:48:45]name=ofd_packets/00033359 [15:48:45]NVStorageSaveData ofd_packets/00033359 [15:48:45]File name is /storage/ofd_packets/00033359 [15:48:45]Write 325 bytes [15:48:45]NVStorageSaveData done [15:48:45]OFDSenderStorePacket done [15:48:45]KKMCreateOFDPacket done [15:48:45]NVStorageSaveData kkm_last_timestamp [15:48:45]File name is /storage/kkm_last_timestamp [15:48:45]Write 4 bytes [15:48:45]NVStorageSaveData done [15:48:45]ExternCall_PrintAddStr [15:48:45]wPrintStart [15:48:45]Write to MH i2c: 01 00 00 AA 09 B3 [15:48:45]Write i2c OK [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: 01 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: 01 07 00 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: 01 07 00 AA 09 00 00 00 00 00 FF 0F C8 [15:48:45]RasterBufferAndPrint [15:48:45]line Счет N : (3)169174 [15:48:45]line ИНН: 02508201610067 [15:48:45]line Контрольно-Кассовый Чек [15:48:45]line ПРОДАЖА [15:48:45]line Товар: 54491472 [15:48:45]line Напиток Кока-Кола 0,5л [15:48:45]line 1.000 * 75.00 [15:48:45]line = 75.00 [15:48:45]line НДС 12% НСП 1% [15:48:45]line > о реализуемом товаре [15:48:45]line ИТОГО: 75.00 [15:48:45]line НСП 1% : 0.66 [15:48:45]line НДС 12% : 7.96 [15:48:45]line Наличными: 75.00 [15:48:45]line Безнал.: 0.00 [15:48:45]line Место: АЗС № 77 "Партнер Нефть" [15:48:45]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [15:48:45]line СНО: Общий режим [15:48:45]line Чек 37 12.07.2024 15:48 [15:48:45]line Смена: 433 ФФД: 1.0 [15:48:45]line ЗНМ: 0300000122 [15:48:45]line РНМ: 0000000000093033 [15:48:45]line Версия ККМ: 001 [15:48:45]line ФМ: 0000000000875104 [15:48:45]line ФД: 33359 [15:48:45]line ФПД: 281079456100406 [15:48:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T154845&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33359&fm=281079456100406&tin=02508201610067®Number=0000000000093033&sum=7500 [15:48:45]OFD Sender: Processing packet 33359 [packets to send 6, broken 5] [15:48:45]ProducePacketName [15:48:45]name=ofd_packets/00033359 [15:48:45]OFD Sender: To server: pG, [15:48:45]CommunicateWithHost lk.salyk.kg:30040 [15:48:45]ConnectInit lk.salyk.kg [15:48:45]line 0 [15:48:45]written 0, free lines is 4095 [15:48:45]Connected sock=10 [15:48:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 27 01 00 00 F7 9B 1F 01 C5 E7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 5D 50 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 4F 82 00 00 35 04 06 00 FF A3 E9 22 70 36 5F FA E4 DA AD C2 D7 1B [15:48:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 49 10 47 00 22 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 38 37 35 31 30 34 10 04 04 00 4F 82 00 00 F4 03 04 00 09 FB 90 66 B6 04 01 00 00 B3 ED E6 7A 94 E7 E0 6D [15:48:45]CommunicateWithHost err = 0 [15:48:45]CheckOFDResponse [15:48:45]1017 (14) - 77093643461234 [15:48:45]1041 (16) - 0000000000875104 [15:48:45]1040 (4) - 33359 [15:48:45]1012 (4) - 12.07.2024 09:44 [15:48:45]1206 (1) - 0 [15:48:45]OFD Sender: Remove packet 33359 [15:48:45]ProducePacketName [15:48:45]name=ofd_packets/00033359 [15:48:45]NVStorageDeleteData [15:48:45]Write to MH i2c: 01 00 00 D2 09 DB [15:48:45]Write i2c OK [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: 01 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: 01 07 00 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: 01 07 00 D2 09 00 00 00 00 00 02 0D F1 [15:48:45]RasterBufferAndPrint [15:48:45]line [15:48:45]line [15:48:45]line [15:48:45]line [15:48:45]line [15:48:45]written 0, free lines is 3336 [15:48:45]MH_Cut [15:48:45]Write to MH i2c: D1 01 00 D9 09 01 B4 [15:48:45]Write i2c OK [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: D1 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: D1 01 00 [15:48:45]MH_I2C_Read... [15:48:45]Read from MH i2c: D1 01 00 D9 09 00 B3 [15:48:45]Write to MH i2c: 01 00 00 DA 09 E3 [15:48:45]Write i2c OK [15:48:45]MH_I2C_Read... [15:48:46]OFD Sender: No OFD packet to send [15:48:46]*** Cut start [15:48:46]*** Partial cut [15:48:46]*** CUTSNS_PIN = 1 [15:48:46]*** CUTSNS_PIN = 0 [15:48:46]*** Brake cut motor [15:48:47]Read from MH i2c: 01 [15:48:47]MH_I2C_Read... [15:48:47]*** Stop cut motor [15:48:47]*** Cut end [15:48:47]Read from MH i2c: 01 07 00 [15:48:47]MH_I2C_Read... [15:48:47]Read from MH i2c: 01 07 00 DA 09 00 00 00 00 00 FF 0F F8 [15:48:47]process_action close_receipt done [15:48:47]requested_data is exist [15:48:47]produce_requested_data [15:48:47]requested_item fm.sn is exist - process it [15:48:47]wFMCommunicate request_size=4 [15:48:47]MH_SAM_APDU [15:48:47]CAPDU: 80 11 00 00 [15:48:47]Write to MH i2c: E2 08 00 DB 09 80 11 00 00 00 00 00 00 5E [15:48:47]Write i2c OK [15:48:47]MH_I2C_Read... [15:48:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:47]Read from MH i2c: E2 [15:48:47]MH_I2C_Read... [15:48:47]Read from MH i2c: E2 17 00 [15:48:47]MH_I2C_Read... [15:48:47]Read from MH i2c: E2 17 00 DB 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AA [15:48:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:48:47]wFMCommunicate OK [15:48:47]requested_item fd.num is exist - process it [15:48:47]SAM_PROTO_GetFieldsCounters [15:48:47]wFMCommunicate request_size=4 [15:48:47]MH_SAM_APDU [15:48:47]CAPDU: 80 13 00 00 [15:48:47]Write to MH i2c: E2 08 00 DC 09 80 13 00 00 00 00 00 00 61 [15:48:47]Write i2c OK [15:48:47]MH_I2C_Read... [15:48:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:48:47]Read from MH i2c: E2 [15:48:47]MH_I2C_Read... [15:48:47]Read from MH i2c: E2 62 00 [15:48:47]MH_I2C_Read... [15:48:47]Read from MH i2c: E2 62 00 DC 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4F 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 66 [15:48:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4F 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:48:47]wFMCommunicate OK [15:48:47]SAM_PROTO_GetFieldsCounters done [15:48:47]requested_item shift.num is exist - process it [15:48:47]requested_item shift.opened is exist - process it [15:48:47]req_shift_opened [15:48:47]FM_GetShiftState [15:48:47]SAM_PROTO_GetShiftState [15:48:47]wFMCommunicate request_size=4 [15:48:47]MH_SAM_APDU [15:48:47]CAPDU: 80 13 01 00 [15:48:47]Write to MH i2c: E2 08 00 DD 09 80 13 01 00 00 00 00 00 63 [15:48:47]Write i2c OK [15:48:47]MH_I2C_Read... [15:48:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:47]Read from MH i2c: E2 [15:48:47]MH_I2C_Read... [15:48:47]Read from MH i2c: E2 0E 00 [15:48:47]MH_I2C_Read... [15:48:47]Read from MH i2c: E2 0E 00 DD 09 00 09 00 01 17 74 90 66 00 00 00 00 90 00 F0 [15:48:47]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:48:47]wFMCommunicate OK [15:48:47]SAM_PROTO_GetShiftState done [15:48:47]FM_GetShiftState done [15:48:47]req_shift_opened done [15:48:47]requested_item shift.open_date is exist - process it [15:48:47]req_shift_open_date [15:48:47]req_shift_open_date done [15:48:47]produce_requested_data done [15:48:47]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33359,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:48:47]process_action_free close_receipt [15:48:47]json_value_free [15:48:47]json_value_free done [15:48:47]process_json_proto returns [15:48:47]Send response to host [15:48:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33359,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:48:47]free response buf [15:48:47]execute_script done [15:48:47]execute_script returns [15:48:47]free content buf [15:48:47]Sock 7.Close socket [15:48:47]Sock 7.Thread stoped [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:04]int [15:50:04]Write to MH i2c: 01 00 00 DE 09 E7 [15:50:04]*** FLAG_PRN_KEY set [15:50:04]Write i2c OK [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: 01 [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: 01 07 00 [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: 01 07 00 DE 09 00 08 00 00 00 FF 0F 04 [15:50:04]state=0 [15:50:04]Key pressed [15:50:04]Feed [15:50:04]Write to MH i2c: D8 00 00 DF 09 BF [15:50:04]Write i2c OK [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: D8 [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: D8 01 00 [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: D8 01 00 DF 09 00 C0 [15:50:04]int [15:50:04]Write to MH i2c: 01 00 00 E0 09 E9 [15:50:04]Write i2c OK [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: 01 [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: 01 07 00 [15:50:04]MH_I2C_Read... [15:50:04]Read from MH i2c: 01 07 00 E0 09 00 48 00 00 00 3C 00 74 [15:50:04]state=2 [15:50:04]Key pressed [15:50:05]int [15:50:05]Write to MH i2c: 01 00 00 E1 09 EA [15:50:05]*** FLAG_PRN_KEY reset [15:50:05]Write i2c OK [15:50:05]MH_I2C_Read... [15:50:05]Read from MH i2c: 01 [15:50:05]MH_I2C_Read... [15:50:05]Read from MH i2c: 01 07 00 [15:50:05]MH_I2C_Read... [15:50:05]Read from MH i2c: 01 07 00 E1 09 00 00 00 00 00 F6 0F F6 [15:50:05]state=2 [15:50:05]Stop feed [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:51]OFD Sender: No OFD packet to send [15:52:56]OFD Sender: No OFD packet to send [15:53:01]OFD Sender: No OFD packet to send [15:53:06]OFD Sender: No OFD packet to send [15:53:11]OFD Sender: No OFD packet to send [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:31]OFD Sender: No OFD packet to send [15:55:36]OFD Sender: No OFD packet to send [15:55:41]OFD Sender: No OFD packet to send [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:16]OFD Sender: No OFD packet to send [15:56:21]OFD Sender: No OFD packet to send [15:56:26]OFD Sender: No OFD packet to send [15:56:29]accept exits with 9 [15:56:29]New connection [15:56:29]New thread 3066604900 created [15:56:29]Thread 3066461540 joined [15:56:29]Waiting for new connection... [15:56:29] Sock 9.Parse request [15:56:29]Sock 9.Check first char [15:56:29]Sock 9.First char is OK [15:56:29]request: POST /json_proto HTTP/1.0 [15:56:29]Method: POST [15:56:29]URL: /json_proto [15:56:29]Method is POST - this is cgi request [15:56:29]url: /json_proto [15:56:29]query_string will be loaded in cgi processing [15:56:29]execute_cgi json_proto POST (null) [15:56:29]execute_cgi path=json_proto method=POST [15:56:29]POST find Content-Length [15:56:29]Host: 172.17.35.196:8080 [15:56:29]Content-Length: 1164 [15:56:29]Content-Type: application/json [15:56:29] [15:56:29]POST finish read [15:56:29]Found Content-Length = 1164 [15:56:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670223\u000A12.07.2024 15:50\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 33\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1326.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30028635\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:29]execute_script... [15:56:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670223\u000A12.07.2024 15:50\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 33\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1326.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30028635\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:29]POST & json_proto [15:56:29]process_json_proto [15:56:29]json parsed OK: [15:56:29]protocol is kg_v1.0 [15:56:29]action value=print_text [15:56:29]process_action print_text [15:56:29]cmd_print_text [15:56:29]ExternCall_PrintAddStr [15:56:29]wPrintStart [15:56:29]Write to MH i2c: 01 00 00 E2 09 EB [15:56:29]Write i2c OK [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: 01 [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: 01 07 00 [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: 01 07 00 E2 09 00 00 00 00 00 FF 0F 00 [15:56:29]RasterBufferAndPrint [15:56:29]line *****ТОВАРНЫЙ ЧЕК***** [15:56:29]line АЗС 77 [15:56:29]line Партнер нефть [15:56:29]line 02508201610067 [15:56:29]line Кассир : Ташыбеков М. [15:56:29]line Счет N : (1)5670223 [15:56:29]line 12.07.2024 15:50 [15:56:29]line ПРОДАЖА [15:56:29]line ТРК (МРК, ГНК): 33 [15:56:29]line Вид ГСМ : 2710124130 [15:56:29]line Аи-92-К-5 [15:56:29]line 20.000 x 66.30 [15:56:29]line ИТОГ: 1326.00 [15:56:29]line Тип оплаты: Талоны: ТК ГПНА Online [15:56:29]line 30028635 [15:56:29]line ______________________ [15:56:29]line (подпись) [15:56:29]written 0, free lines is 4095 [15:56:29]Write to MH i2c: 01 00 00 F6 09 FF [15:56:29]Write i2c OK [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: 01 [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: 01 07 00 [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: 01 07 00 F6 09 00 00 00 00 00 15 0E 29 [15:56:29]RasterBufferAndPrint [15:56:29]line [15:56:29]line [15:56:29]line [15:56:29]line [15:56:29]line [15:56:29]written 0, free lines is 3606 [15:56:29]MH_Cut [15:56:29]Write to MH i2c: D1 01 00 FD 09 01 D8 [15:56:29]Write i2c OK [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: D1 [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: D1 01 00 [15:56:29]MH_I2C_Read... [15:56:29]Read from MH i2c: D1 01 00 FD 09 00 D7 [15:56:29]Write to MH i2c: 01 00 00 FE 09 07 [15:56:29]Write i2c OK [15:56:29]MH_I2C_Read... [15:56:30]*** Cut start [15:56:30]*** Partial cut [15:56:30]*** CUTSNS_PIN = 1 [15:56:30]*** CUTSNS_PIN = 0 [15:56:30]*** Brake cut motor [15:56:30]Read from MH i2c: 01 [15:56:30]MH_I2C_Read... [15:56:30]Read from MH i2c: 01 07 00 [15:56:30]MH_I2C_Read... [15:56:30]*** Stop cut motor [15:56:30]*** Cut end [15:56:30]Read from MH i2c: 01 07 00 FE 09 00 00 00 00 00 FF 0F 1C [15:56:30]process_action print_text done [15:56:30]requested_data is exist [15:56:30]produce_requested_data [15:56:30]requested_item fm.sn is exist - process it [15:56:30]wFMCommunicate request_size=4 [15:56:30]MH_SAM_APDU [15:56:30]CAPDU: 80 11 00 00 [15:56:30]Write to MH i2c: E2 08 00 FF 09 80 11 00 00 00 00 00 00 82 [15:56:30]Write i2c OK [15:56:30]MH_I2C_Read... [15:56:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:30]Read from MH i2c: E2 [15:56:30]MH_I2C_Read... [15:56:30]Read from MH i2c: E2 17 00 [15:56:30]MH_I2C_Read... [15:56:30]Read from MH i2c: E2 17 00 FF 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CE [15:56:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [15:56:30]wFMCommunicate OK [15:56:30]requested_item fd.num is exist - process it [15:56:30]SAM_PROTO_GetFieldsCounters [15:56:30]wFMCommunicate request_size=4 [15:56:30]MH_SAM_APDU [15:56:30]CAPDU: 80 13 00 00 [15:56:30]Write to MH i2c: E2 08 00 00 0A 80 13 00 00 00 00 00 00 86 [15:56:30]Write i2c OK [15:56:30]MH_I2C_Read... [15:56:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:56:30]Read from MH i2c: E2 [15:56:30]MH_I2C_Read... [15:56:30]Read from MH i2c: E2 62 00 [15:56:30]MH_I2C_Read... [15:56:30]Read from MH i2c: E2 62 00 00 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4F 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 8B [15:56:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 4F 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:56:30]wFMCommunicate OK [15:56:30]SAM_PROTO_GetFieldsCounters done [15:56:30]requested_item shift.num is exist - process it [15:56:30]requested_item shift.opened is exist - process it [15:56:30]req_shift_opened [15:56:30]FM_GetShiftState [15:56:30]SAM_PROTO_GetShiftState [15:56:30]wFMCommunicate request_size=4 [15:56:30]MH_SAM_APDU [15:56:30]CAPDU: 80 13 01 00 [15:56:30]Write to MH i2c: E2 08 00 01 0A 80 13 01 00 00 00 00 00 88 [15:56:30]Write i2c OK [15:56:30]MH_I2C_Read... [15:56:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:31]Read from MH i2c: E2 [15:56:31]MH_I2C_Read... [15:56:31]Read from MH i2c: E2 0E 00 [15:56:31]MH_I2C_Read... [15:56:31]Read from MH i2c: E2 0E 00 01 0A 00 09 00 01 17 74 90 66 00 00 00 00 90 00 15 [15:56:31]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [15:56:31]wFMCommunicate OK [15:56:31]SAM_PROTO_GetShiftState done [15:56:31]FM_GetShiftState done [15:56:31]req_shift_opened done [15:56:31]requested_item shift.open_date is exist - process it [15:56:31]req_shift_open_date [15:56:31]req_shift_open_date done [15:56:31]produce_requested_data done [15:56:31]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33359,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [15:56:31]process_action_free print_text [15:56:31]json_value_free [15:56:31]json_value_free done [15:56:31]process_json_proto returns [15:56:31]Send response to host [15:56:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33359,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [15:56:31]free response buf [15:56:31]execute_script done [15:56:31]execute_script returns [15:56:31]free content buf [15:56:31]Sock 9.Close socket [15:56:31]Sock 9.Thread stoped [15:56:31]OFD Sender: No OFD packet to send [15:56:36]OFD Sender: No OFD packet to send [15:56:41]OFD Sender: No OFD packet to send [15:56:46]OFD Sender: No OFD packet to send [15:56:51]OFD Sender: No OFD packet to send [15:56:56]OFD Sender: No OFD packet to send [15:57:01]OFD Sender: No OFD packet to send [15:57:06]OFD Sender: No OFD packet to send [15:57:11]OFD Sender: No OFD packet to send [15:57:16]OFD Sender: No OFD packet to send [15:57:21]OFD Sender: No OFD packet to send [15:57:26]OFD Sender: No OFD packet to send [15:57:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:31]OFD Sender: No OFD packet to send [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:21]OFD Sender: No OFD packet to send [16:02:26]OFD Sender: No OFD packet to send [16:02:31]OFD Sender: No OFD packet to send [16:02:36]OFD Sender: No OFD packet to send [16:02:41]OFD Sender: No OFD packet to send [16:02:46]OFD Sender: No OFD packet to send [16:02:51]OFD Sender: No OFD packet to send [16:02:56]OFD Sender: No OFD packet to send [16:03:02]OFD Sender: No OFD packet to send [16:03:07]OFD Sender: No OFD packet to send [16:03:12]OFD Sender: No OFD packet to send [16:03:17]OFD Sender: No OFD packet to send [16:03:22]OFD Sender: No OFD packet to send [16:03:27]OFD Sender: No OFD packet to send [16:03:32]OFD Sender: No OFD packet to send [16:03:37]OFD Sender: No OFD packet to send [16:03:42]OFD Sender: No OFD packet to send [16:03:47]OFD Sender: No OFD packet to send [16:03:52]OFD Sender: No OFD packet to send [16:03:57]OFD Sender: No OFD packet to send [16:04:02]OFD Sender: No OFD packet to send [16:04:07]OFD Sender: No OFD packet to send [16:04:12]OFD Sender: No OFD packet to send [16:04:17]OFD Sender: No OFD packet to send [16:04:22]OFD Sender: No OFD packet to send [16:04:27]OFD Sender: No OFD packet to send [16:04:32]OFD Sender: No OFD packet to send [16:04:37]OFD Sender: No OFD packet to send [16:04:42]OFD Sender: No OFD packet to send [16:04:47]OFD Sender: No OFD packet to send [16:04:52]OFD Sender: No OFD packet to send [16:04:57]OFD Sender: No OFD packet to send [16:05:02]OFD Sender: No OFD packet to send [16:05:07]OFD Sender: No OFD packet to send [16:05:12]OFD Sender: No OFD packet to send [16:05:17]OFD Sender: No OFD packet to send [16:05:22]OFD Sender: No OFD packet to send [16:05:27]OFD Sender: No OFD packet to send [16:05:32]OFD Sender: No OFD packet to send [16:05:37]OFD Sender: No OFD packet to send [16:05:42]OFD Sender: No OFD packet to send [16:05:47]OFD Sender: No OFD packet to send [16:05:52]OFD Sender: No OFD packet to send [16:05:57]OFD Sender: No OFD packet to send [16:06:02]OFD Sender: No OFD packet to send [16:06:07]OFD Sender: No OFD packet to send [16:06:12]OFD Sender: No OFD packet to send [16:06:17]OFD Sender: No OFD packet to send [16:06:22]OFD Sender: No OFD packet to send [16:06:27]OFD Sender: No OFD packet to send [16:06:32]OFD Sender: No OFD packet to send [16:06:37]OFD Sender: No OFD packet to send [16:06:42]OFD Sender: No OFD packet to send [16:06:47]OFD Sender: No OFD packet to send [16:06:52]OFD Sender: No OFD packet to send [16:06:57]OFD Sender: No OFD packet to send [16:07:02]OFD Sender: No OFD packet to send [16:07:07]OFD Sender: No OFD packet to send [16:07:12]OFD Sender: No OFD packet to send [16:07:17]OFD Sender: No OFD packet to send [16:07:22]OFD Sender: No OFD packet to send [16:07:27]OFD Sender: No OFD packet to send [16:07:32]OFD Sender: No OFD packet to send [16:07:37]OFD Sender: No OFD packet to send [16:07:42]OFD Sender: No OFD packet to send [16:07:47]OFD Sender: No OFD packet to send [16:07:52]OFD Sender: No OFD packet to send [16:07:57]OFD Sender: No OFD packet to send [16:08:02]OFD Sender: No OFD packet to send [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08:57]OFD Sender: No OFD packet to send [16:09:02]OFD Sender: No OFD packet to send [16:09:07]OFD Sender: No OFD packet to send [16:09:12]OFD Sender: No OFD packet to send [16:09:17]OFD Sender: No OFD packet to send [16:09:22]OFD Sender: No OFD packet to send [16:09:27]OFD Sender: No OFD packet to send [16:09:32]OFD Sender: No OFD packet to send [16:09:37]OFD Sender: No OFD packet to send [16:09:42]OFD Sender: No OFD packet to send [16:09:47]OFD Sender: No OFD packet to send [16:09:52]OFD Sender: No OFD packet to send [16:09:57]OFD Sender: No OFD packet to send [16:10:02]OFD Sender: No OFD packet to send [16:10:07]OFD Sender: No OFD packet to send [16:10:12]OFD Sender: No OFD packet to send [16:10:17]OFD Sender: No OFD packet to send [16:10:22]OFD Sender: No OFD packet to send [16:10:27]OFD Sender: No OFD packet to send [16:10:32]OFD Sender: No OFD packet to send [16:10:37]OFD Sender: No OFD packet to send [16:10:42]OFD Sender: No OFD packet to send [16:10:47]OFD Sender: No OFD packet to send [16:10:52]OFD Sender: No OFD packet to send [16:10:57]OFD Sender: No OFD packet to send [16:11:02]OFD Sender: No OFD packet to send [16:11:07]OFD Sender: No OFD packet to send [16:11:12]OFD Sender: No OFD packet to send [16:11:17]OFD Sender: No OFD packet to send [16:11:22]OFD Sender: No OFD packet to send [16:11:27]OFD Sender: No OFD packet to send [16:11:32]OFD Sender: No OFD packet to send [16:11:37]OFD Sender: No OFD packet to send [16:11:42]OFD Sender: No OFD packet to send [16:11:47]OFD Sender: No OFD packet to send [16:11:52]OFD Sender: No OFD packet to send [16:11:57]OFD Sender: No OFD packet to send [16:12:02]OFD Sender: No OFD packet to send [16:12:07]OFD Sender: No OFD packet to send [16:12:12]OFD Sender: No OFD packet to send [16:12:17]OFD Sender: No OFD packet to send [16:12:22]OFD Sender: No OFD packet to send [16:12:27]OFD Sender: No OFD packet to send [16:12:32]OFD Sender: No OFD packet to send [16:12:37]OFD Sender: No OFD packet to send [16:12:42]OFD Sender: No OFD packet to send [16:12:47]OFD Sender: No OFD packet to send [16:12:52]OFD Sender: No OFD packet to send [16:12:57]OFD Sender: No OFD packet to send [16:13:02]OFD Sender: No OFD packet to send [16:13:07]OFD Sender: No OFD packet to send [16:13:12]OFD Sender: No OFD packet to send [16:13:17]OFD Sender: No OFD packet to send [16:13:22]OFD Sender: No OFD packet to send [16:13:27]OFD Sender: No OFD packet to send [16:13:32]OFD Sender: No OFD packet to send [16:13:36]accept exits with 7 [16:13:36]New connection [16:13:36]New thread 3066461540 created [16:13:36]Thread 3066604900 joined [16:13:36]Waiting for new connection... [16:13:36] Sock 7.Parse request [16:13:36]Sock 7.Check first char [16:13:36]Sock 7.First char is OK [16:13:36]request: POST /json_proto HTTP/1.0 [16:13:36]Method: POST [16:13:36]URL: /json_proto [16:13:36]Method is POST - this is cgi request [16:13:36]url: /json_proto [16:13:36]query_string will be loaded in cgi processing [16:13:36]execute_cgi json_proto POST (null) [16:13:36]execute_cgi path=json_proto method=POST [16:13:36]POST find Content-Length [16:13:36]Host: 172.17.35.196:8080 [16:13:36]Content-Length: 678 [16:13:36]Content-Type: application/json [16:13:36] [16:13:36]POST finish read [16:13:36]Found Content-Length = 678 [16:13:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670235", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 3.020, "sum" : 200.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:36]execute_script... [16:13:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670235", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 3.020, "sum" : 200.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:36]POST & json_proto [16:13:36]process_json_proto [16:13:36]json parsed OK: [16:13:36]protocol is kg_v1.0 [16:13:36]action value=close_receipt [16:13:36]process_action close_receipt [16:13:36]cmd_close_receipt [16:13:36]MH_GetDate [16:13:36]Write to MH i2c: F0 00 00 02 0A FB [16:13:36]Write i2c OK [16:13:36]MH_I2C_Read... [16:13:36]Read from MH i2c: F0 [16:13:36]MH_I2C_Read... [16:13:36]Read from MH i2c: F0 09 00 [16:13:36]MH_I2C_Read... [16:13:36]Read from MH i2c: F0 09 00 02 0A 00 31 56 91 66 AD 14 F4 65 9C [16:13:36]GetLastDocTimeStamp 1720799325 [16:13:36]current date 1720800817 [16:13:36]FM_GetShiftState [16:13:36]SAM_PROTO_GetShiftState [16:13:36]wFMCommunicate request_size=4 [16:13:36]MH_SAM_APDU [16:13:36]CAPDU: 80 13 01 00 [16:13:36]Write to MH i2c: E2 08 00 03 0A 80 13 01 00 00 00 00 00 8A [16:13:36]Write i2c OK [16:13:36]MH_I2C_Read... [16:13:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:36]Read from MH i2c: E2 [16:13:36]MH_I2C_Read... [16:13:36]Read from MH i2c: E2 0E 00 [16:13:36]MH_I2C_Read... [16:13:36]Read from MH i2c: E2 0E 00 03 0A 00 09 00 01 17 74 90 66 00 00 00 00 90 00 17 [16:13:36]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:13:36]wFMCommunicate OK [16:13:36]SAM_PROTO_GetShiftState done [16:13:36]FM_GetShiftState done [16:13:36]opened in 1720742935 [16:13:36]opened+sec_in_day 1720829335 [16:13:36]quantity*price = 20022 [16:13:36]sum+1 = 20024 [16:13:36]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.23 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.26 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 38 12.07.2024 16:13 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33360 ФПД: 192860190559200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T161337&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33360&fm=192860190559200&tin=02508201610067®Number=0000000000093033&sum=20000 [16:13:37]StoreToDocumentArchive [16:13:37]shift 433 fd 33360 [16:13:37]save to /storage/0433/doc_00033360 [16:13:37]save last doc name /storage/0433/doc_00033360 to /storage/kkm_last_doc_name [16:13:37]save OK [16:13:37]Clear old archive folders... [16:13:37]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:13:37]tlvbuf is 00A6D3F0 [16:13:37]SAM_PROTO_ClearQueue [16:13:37]wFMCommunicate request_size=4 [16:13:37]MH_SAM_APDU [16:13:37]CAPDU: 80 09 00 00 [16:13:37]Write to MH i2c: E2 08 00 10 0A 80 09 00 00 00 00 00 00 8C [16:13:37]Write i2c OK [16:13:37]MH_I2C_Read... [16:13:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:13:37]Read from MH i2c: E2 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 03 00 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 03 00 10 0A 00 90 00 8E [16:13:37]RAPDU: 90 00 [16:13:37]wFMCommunicate OK [16:13:37]SAM_PROTO_ClearQueue done [16:13:37]KKMCreateOFDPacket [16:13:37]OFDProtocolAddRootSTLVToBuf [16:13:37]FM_MakeSignedData [16:13:37]FM_MakeSignedData [16:13:37]SAM_PROTO_SignData [16:13:37]wFMCommunicate request_size=4 [16:13:37]MH_SAM_APDU [16:13:37]CAPDU: 80 0D 01 02 [16:13:37]Write to MH i2c: E2 08 00 11 0A 80 0D 01 02 00 00 00 00 94 [16:13:37]Write i2c OK [16:13:37]MH_I2C_Read... [16:13:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:13:37]Read from MH i2c: E2 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 03 00 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 03 00 11 0A 00 90 00 8F [16:13:37]RAPDU: 90 00 [16:13:37]wFMCommunicate OK [16:13:37]wFMCommunicate request_size=255 [16:13:37]MH_SAM_APDU [16:13:37]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 0B 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 37 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 31 56 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 50 82 00 00 35 04 06 00 AF [16:13:37]Write to MH i2c: E2 02 01 12 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 0B 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 37 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 31 56 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 50 82 00 00 35 04 06 00 AF 00 00 A5 [16:13:37]Write i2c OK [16:13:37]MH_I2C_Read... [16:13:37]OFD Sender: No OFD packet to send [16:13:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:37]Read from MH i2c: E2 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 03 00 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 03 00 12 0A 00 90 00 90 [16:13:37]RAPDU: 90 00 [16:13:37]wFMCommunicate OK [16:13:37]wFMCommunicate request_size=10 [16:13:37]MH_SAM_APDU [16:13:37]CAPDU: 80 0D 02 02 05 67 C3 26 4B E0 [16:13:37]Write to MH i2c: E2 0D 00 13 0A 80 0D 02 02 05 00 67 C3 26 4B E0 00 00 1C [16:13:37]Write i2c OK [16:13:37]MH_I2C_Read... [16:13:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:37]Read from MH i2c: E2 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 03 00 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 03 00 13 0A 00 90 00 91 [16:13:37]RAPDU: 90 00 [16:13:37]wFMCommunicate OK [16:13:37]wFMCommunicate request_size=4 [16:13:37]MH_SAM_APDU [16:13:37]CAPDU: 80 0D 03 02 [16:13:37]Write to MH i2c: E2 08 00 14 0A 80 0D 03 02 00 00 00 00 99 [16:13:37]Write i2c OK [16:13:37]MH_I2C_Read... [16:13:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:13:37]Read from MH i2c: E2 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 0B 00 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 0B 00 14 0A 00 66 51 13 4A 5D 71 A1 F5 90 00 12 [16:13:37]RAPDU: 66 51 13 4A 5D 71 A1 F5 90 00 [16:13:37]wFMCommunicate OK [16:13:37]SAM_PROTO_SignData done [16:13:37]FM_MakeSignedData done [16:13:37]CreateOFDProtocolMessage [16:13:37]wFMCommunicate request_size=4 [16:13:37]MH_SAM_APDU [16:13:37]CAPDU: 80 11 00 00 [16:13:37]Write to MH i2c: E2 08 00 15 0A 80 11 00 00 00 00 00 00 99 [16:13:37]Write i2c OK [16:13:37]MH_I2C_Read... [16:13:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:37]Read from MH i2c: E2 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 17 00 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: E2 17 00 15 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E5 [16:13:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:13:37]wFMCommunicate OK [16:13:37]CreateOFDProtocolMessage done [16:13:37]OFDSenderStorePacket 33360 [16:13:37]StoreOFDPacket docnum=33360 [16:13:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 CD 73 07 01 C9 F2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 0B 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 37 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 31 56 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 50 82 00 00 35 04 06 00 AF 67 C3 26 4B E0 66 51 13 4A 5D 71 A1 F5 [16:13:37]CheckFolder [16:13:37]dirname=/storage/ofd_packets [16:13:37]CheckFolder done [16:13:37]ProducePacketName [16:13:37]name=ofd_packets/00033360 [16:13:37]NVStorageSaveData ofd_packets/00033360 [16:13:37]File name is /storage/ofd_packets/00033360 [16:13:37]Write 301 bytes [16:13:37]NVStorageSaveData done [16:13:37]OFDSenderStorePacket done [16:13:37]KKMCreateOFDPacket done [16:13:37]NVStorageSaveData kkm_last_timestamp [16:13:37]File name is /storage/kkm_last_timestamp [16:13:37]Write 4 bytes [16:13:37]NVStorageSaveData done [16:13:37]ExternCall_PrintAddStr [16:13:37]wPrintStart [16:13:37]Write to MH i2c: 01 00 00 16 0A 20 [16:13:37]OFD Sender: Processing packet 33360 [packets to send 6, broken 5] [16:13:37]ProducePacketName [16:13:37]name=ofd_packets/00033360 [16:13:37]OFD Sender: To server: pG, [16:13:37]CommunicateWithHost lk.salyk.kg:30040 [16:13:37]ConnectInit lk.salyk.kg [16:13:37]Write i2c OK [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: 01 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: 01 07 00 [16:13:37]MH_I2C_Read... [16:13:37]Read from MH i2c: 01 07 00 16 0A 00 00 00 00 00 FF 0F 35 [16:13:37]RasterBufferAndPrint [16:13:37]line Счет N : (1)5670235 [16:13:37]line ИНН: 02508201610067 [16:13:37]line Контрольно-Кассовый Чек [16:13:37]line ПРОДАЖА [16:13:37]line ТРК (МРК, ГНК) : 43 [16:13:37]line Товар: 2710124130 [16:13:37]line Аи-92-К-5 [16:13:37]line 3.020 * 66.30 [16:13:37]line = 200.23 [16:13:37]line НДС 12% НСП 1% [16:13:37]line > о реализуемом товаре [16:13:37]line ОКРУГЛЕНИЕ: -0.23 [16:13:37]line ИТОГО: 200.00 [16:13:37]line Внесено: 200.00 [16:13:37]line СДАЧА: 0.00 [16:13:37]line НСП 1% : 1.77 [16:13:37]line НДС 12% : 21.26 [16:13:37]line Наличными: 200.00 [16:13:37]line Безнал.: 0.00 [16:13:37]line Место: АЗС № 77 "Партнер Нефть" [16:13:37]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:13:37]line СНО: Общий режим [16:13:37]line Чек 38 12.07.2024 16:13 [16:13:37]line Смена: 433 ФФД: 1.0 [16:13:37]line ЗНМ: 0300000122 [16:13:37]line РНМ: 0000000000093033 [16:13:37]line Версия ККМ: 001 [16:13:37]line ФМ: 0000000000875104 [16:13:37]line ФД: 33360 [16:13:37]line ФПД: 192860190559200 [16:13:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T161337&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33360&fm=192860190559200&tin=02508201610067®Number=0000000000093033&sum=20000 [16:13:38]Connected sock=10 [16:13:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0F 01 00 00 CD 73 07 01 C9 F2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 0B 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 37 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 31 56 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 50 82 00 00 35 04 06 00 AF 67 C3 26 4B E0 66 51 13 4A 5D 71 A1 F5 [16:13:38]written 0, free lines is 4095 [16:13:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 6C 65 47 00 E2 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 50 82 00 00 F4 03 04 00 DE 00 91 66 B6 04 01 00 00 7A 10 E7 02 B4 3F 0A B8 [16:13:38]CommunicateWithHost err = 0 [16:13:38]CheckOFDResponse [16:13:38]1017 (14) - 77093643461234 [16:13:38]1041 (16) - 0000000000875104 [16:13:38]1040 (4) - 33360 [16:13:38]1012 (4) - 12.07.2024 10:09 [16:13:38]1206 (1) - 0 [16:13:38]OFD Sender: Remove packet 33360 [16:13:38]ProducePacketName [16:13:38]name=ofd_packets/00033360 [16:13:38]NVStorageDeleteData [16:13:38]Write to MH i2c: 01 00 00 41 0A 4B [16:13:38]Write i2c OK [16:13:38]MH_I2C_Read... [16:13:38]Read from MH i2c: 01 [16:13:38]MH_I2C_Read... [16:13:38]Read from MH i2c: 01 07 00 [16:13:38]MH_I2C_Read... [16:13:38]Read from MH i2c: 01 07 00 41 0A 00 00 00 00 00 D4 0C 32 [16:13:38]RasterBufferAndPrint [16:13:38]line [16:13:38]line [16:13:38]line [16:13:38]line [16:13:38]line [16:13:38]written 0, free lines is 3292 [16:13:38]MH_Cut [16:13:38]Write to MH i2c: D1 01 00 48 0A 01 24 [16:13:38]Write i2c OK [16:13:38]MH_I2C_Read... [16:13:38]Read from MH i2c: D1 [16:13:38]MH_I2C_Read... [16:13:38]Read from MH i2c: D1 01 00 [16:13:38]MH_I2C_Read... [16:13:38]Read from MH i2c: D1 01 00 48 0A 00 23 [16:13:38]Write to MH i2c: 01 00 00 49 0A 53 [16:13:38]Write i2c OK [16:13:38]MH_I2C_Read... [16:13:38]OFD Sender: No OFD packet to send [16:13:39]*** Cut start [16:13:39]*** Partial cut [16:13:39]*** CUTSNS_PIN = 1 [16:13:39]*** CUTSNS_PIN = 0 [16:13:39]*** Brake cut motor [16:13:40]Read from MH i2c: 01 [16:13:40]MH_I2C_Read... [16:13:40]*** Stop cut motor [16:13:40]*** Cut end [16:13:40]Read from MH i2c: 01 07 00 [16:13:40]MH_I2C_Read... [16:13:40]Read from MH i2c: 01 07 00 49 0A 00 00 00 00 00 FF 0F 68 [16:13:40]process_action close_receipt done [16:13:40]requested_data is exist [16:13:40]produce_requested_data [16:13:40]requested_item fm.sn is exist - process it [16:13:40]wFMCommunicate request_size=4 [16:13:40]MH_SAM_APDU [16:13:40]CAPDU: 80 11 00 00 [16:13:40]Write to MH i2c: E2 08 00 4A 0A 80 11 00 00 00 00 00 00 CE [16:13:40]Write i2c OK [16:13:40]MH_I2C_Read... [16:13:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:40]Read from MH i2c: E2 [16:13:40]MH_I2C_Read... [16:13:40]Read from MH i2c: E2 17 00 [16:13:40]MH_I2C_Read... [16:13:40]Read from MH i2c: E2 17 00 4A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1A [16:13:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:13:40]wFMCommunicate OK [16:13:40]requested_item fd.num is exist - process it [16:13:40]SAM_PROTO_GetFieldsCounters [16:13:40]wFMCommunicate request_size=4 [16:13:40]MH_SAM_APDU [16:13:40]CAPDU: 80 13 00 00 [16:13:40]Write to MH i2c: E2 08 00 4B 0A 80 13 00 00 00 00 00 00 D1 [16:13:40]Write i2c OK [16:13:40]MH_I2C_Read... [16:13:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:13:40]Read from MH i2c: E2 [16:13:40]MH_I2C_Read... [16:13:40]Read from MH i2c: E2 62 00 [16:13:40]MH_I2C_Read... [16:13:40]Read from MH i2c: E2 62 00 4B 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 DA [16:13:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:13:40]wFMCommunicate OK [16:13:40]SAM_PROTO_GetFieldsCounters done [16:13:40]requested_item shift.num is exist - process it [16:13:40]requested_item shift.opened is exist - process it [16:13:40]req_shift_opened [16:13:40]FM_GetShiftState [16:13:40]SAM_PROTO_GetShiftState [16:13:40]wFMCommunicate request_size=4 [16:13:40]MH_SAM_APDU [16:13:40]CAPDU: 80 13 01 00 [16:13:40]Write to MH i2c: E2 08 00 4C 0A 80 13 01 00 00 00 00 00 D3 [16:13:40]Write i2c OK [16:13:40]MH_I2C_Read... [16:13:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:40]Read from MH i2c: E2 [16:13:40]MH_I2C_Read... [16:13:40]Read from MH i2c: E2 0E 00 [16:13:40]MH_I2C_Read... [16:13:40]Read from MH i2c: E2 0E 00 4C 0A 00 09 00 01 17 74 90 66 00 00 00 00 90 00 60 [16:13:40]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:13:40]wFMCommunicate OK [16:13:40]SAM_PROTO_GetShiftState done [16:13:40]FM_GetShiftState done [16:13:40]req_shift_opened done [16:13:40]requested_item shift.open_date is exist - process it [16:13:40]req_shift_open_date [16:13:40]req_shift_open_date done [16:13:40]produce_requested_data done [16:13:40]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:13:40]process_action_free close_receipt [16:13:40]json_value_free [16:13:40]json_value_free done [16:13:40]process_json_proto returns [16:13:40]Send response to host [16:13:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:13:40]free response buf [16:13:40]execute_script done [16:13:40]execute_script returns [16:13:40]free content buf [16:13:40]Sock 7.Close socket [16:13:40]Sock 7.Thread stoped [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:49]OFD Sender: No OFD packet to send [16:20:54]OFD Sender: No OFD packet to send [16:20:59]OFD Sender: No OFD packet to send [16:21:04]OFD Sender: No OFD packet to send [16:21:09]OFD Sender: No OFD packet to send [16:21:14]OFD Sender: No OFD packet to send [16:21:19]OFD Sender: No OFD packet to send [16:21:24]OFD Sender: No OFD packet to send [16:21:29]OFD Sender: No OFD packet to send [16:21:34]OFD Sender: No OFD packet to send [16:21:39]OFD Sender: No OFD packet to send [16:21:44]OFD Sender: No OFD packet to send [16:21:49]OFD Sender: No OFD packet to send [16:21:54]OFD Sender: No OFD packet to send [16:21:59]OFD Sender: No OFD packet to send [16:22:04]OFD Sender: No OFD packet to send [16:22:09]OFD Sender: No OFD packet to send [16:22:14]OFD Sender: No OFD packet to send [16:22:19]OFD Sender: No OFD packet to send [16:22:24]OFD Sender: No OFD packet to send [16:22:29]OFD Sender: No OFD packet to send [16:22:34]OFD Sender: No OFD packet to send [16:22:39]OFD Sender: No OFD packet to send [16:22:44]OFD Sender: No OFD packet to send [16:22:49]OFD Sender: No OFD packet to send [16:22:54]OFD Sender: No OFD packet to send [16:22:59]OFD Sender: No OFD packet to send [16:23:04]OFD Sender: No OFD packet to send [16:23:09]OFD Sender: No OFD packet to send [16:23:11]accept exits with 9 [16:23:11]New connection [16:23:11]New thread 3066604900 created [16:23:11]Thread 3066461540 joined [16:23:11]Waiting for new connection... [16:23:12] Sock 9.Parse request [16:23:12]Sock 9.Check first char [16:23:12]Sock 9.First char is OK [16:23:12]request: POST /json_proto HTTP/1.0 [16:23:12]Method: POST [16:23:12]URL: /json_proto [16:23:12]Method is POST - this is cgi request [16:23:12]url: /json_proto [16:23:12]query_string will be loaded in cgi processing [16:23:12]execute_cgi json_proto POST (null) [16:23:12]execute_cgi path=json_proto method=POST [16:23:12]POST find Content-Length [16:23:12]Host: 172.17.35.196:8080 [16:23:12]Content-Length: 1164 [16:23:12]Content-Type: application/json [16:23:12] [16:23:12]POST finish read [16:23:12]Found Content-Length = 1164 [16:23:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670244\u000A12.07.2024 16:16\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 43\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 30.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1989.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30048161\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:23:12]execute_script... [16:23:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670244\u000A12.07.2024 16:16\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 43\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 30.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1989.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30048161\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:23:12]POST & json_proto [16:23:12]process_json_proto [16:23:12]json parsed OK: [16:23:12]protocol is kg_v1.0 [16:23:12]action value=print_text [16:23:12]process_action print_text [16:23:12]cmd_print_text [16:23:12]ExternCall_PrintAddStr [16:23:12]wPrintStart [16:23:12]Write to MH i2c: 01 00 00 4D 0A 57 [16:23:12]Write i2c OK [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: 01 [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: 01 07 00 [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: 01 07 00 4D 0A 00 00 00 00 00 FF 0F 6C [16:23:12]RasterBufferAndPrint [16:23:12]line *****ТОВАРНЫЙ ЧЕК***** [16:23:12]line АЗС 77 [16:23:12]line Партнер нефть [16:23:12]line 02508201610067 [16:23:12]line Кассир : Ташыбеков М. [16:23:12]line Счет N : (1)5670244 [16:23:12]line 12.07.2024 16:16 [16:23:12]line ПРОДАЖА [16:23:12]line ТРК (МРК, ГНК): 43 [16:23:12]line Вид ГСМ : 2710124130 [16:23:12]line Аи-92-К-5 [16:23:12]line 30.000 x 66.30 [16:23:12]line ИТОГ: 1989.00 [16:23:12]line Тип оплаты: Талоны: ТК ГПНА Online [16:23:12]line 30048161 [16:23:12]line ______________________ [16:23:12]line (подпись) [16:23:12]written 0, free lines is 4095 [16:23:12]Write to MH i2c: 01 00 00 61 0A 6B [16:23:12]Write i2c OK [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: 01 [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: 01 07 00 [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: 01 07 00 61 0A 00 00 00 00 00 11 0E 91 [16:23:12]RasterBufferAndPrint [16:23:12]line [16:23:12]line [16:23:12]line [16:23:12]line [16:23:12]line [16:23:12]written 0, free lines is 3603 [16:23:12]MH_Cut [16:23:12]Write to MH i2c: D1 01 00 68 0A 01 44 [16:23:12]Write i2c OK [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: D1 [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: D1 01 00 [16:23:12]MH_I2C_Read... [16:23:12]Read from MH i2c: D1 01 00 68 0A 00 43 [16:23:12]Write to MH i2c: 01 00 00 69 0A 73 [16:23:12]Write i2c OK [16:23:12]MH_I2C_Read... [16:23:12]*** Cut start [16:23:12]*** Partial cut [16:23:12]*** CUTSNS_PIN = 1 [16:23:12]*** CUTSNS_PIN = 0 [16:23:13]*** Brake cut motor [16:23:13]Read from MH i2c: 01 [16:23:13]MH_I2C_Read... [16:23:13]*** Stop cut motor [16:23:13]*** Cut end [16:23:13]Read from MH i2c: 01 07 00 [16:23:13]MH_I2C_Read... [16:23:13]Read from MH i2c: 01 07 00 69 0A 00 00 00 00 00 FF 0F 88 [16:23:13]process_action print_text done [16:23:13]requested_data is exist [16:23:13]produce_requested_data [16:23:13]requested_item fm.sn is exist - process it [16:23:13]wFMCommunicate request_size=4 [16:23:13]MH_SAM_APDU [16:23:13]CAPDU: 80 11 00 00 [16:23:13]Write to MH i2c: E2 08 00 6A 0A 80 11 00 00 00 00 00 00 EE [16:23:13]Write i2c OK [16:23:13]MH_I2C_Read... [16:23:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:23:13]Read from MH i2c: E2 [16:23:13]MH_I2C_Read... [16:23:13]Read from MH i2c: E2 17 00 [16:23:13]MH_I2C_Read... [16:23:13]Read from MH i2c: E2 17 00 6A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 3A [16:23:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:23:13]wFMCommunicate OK [16:23:13]requested_item fd.num is exist - process it [16:23:13]SAM_PROTO_GetFieldsCounters [16:23:13]wFMCommunicate request_size=4 [16:23:13]MH_SAM_APDU [16:23:13]CAPDU: 80 13 00 00 [16:23:13]Write to MH i2c: E2 08 00 6B 0A 80 13 00 00 00 00 00 00 F1 [16:23:13]Write i2c OK [16:23:13]MH_I2C_Read... [16:23:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:23:13]Read from MH i2c: E2 [16:23:13]MH_I2C_Read... [16:23:13]Read from MH i2c: E2 62 00 [16:23:13]MH_I2C_Read... [16:23:13]Read from MH i2c: E2 62 00 6B 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [16:23:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:23:13]wFMCommunicate OK [16:23:13]SAM_PROTO_GetFieldsCounters done [16:23:13]requested_item shift.num is exist - process it [16:23:13]requested_item shift.opened is exist - process it [16:23:13]req_shift_opened [16:23:13]FM_GetShiftState [16:23:13]SAM_PROTO_GetShiftState [16:23:13]wFMCommunicate request_size=4 [16:23:13]MH_SAM_APDU [16:23:13]CAPDU: 80 13 01 00 [16:23:13]Write to MH i2c: E2 08 00 6C 0A 80 13 01 00 00 00 00 00 F3 [16:23:13]Write i2c OK [16:23:13]MH_I2C_Read... [16:23:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:23:13]Read from MH i2c: E2 [16:23:13]MH_I2C_Read... [16:23:13]Read from MH i2c: E2 0E 00 [16:23:13]MH_I2C_Read... [16:23:13]Read from MH i2c: E2 0E 00 6C 0A 00 09 00 01 17 74 90 66 00 00 00 00 90 00 80 [16:23:13]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:23:13]wFMCommunicate OK [16:23:13]SAM_PROTO_GetShiftState done [16:23:13]FM_GetShiftState done [16:23:13]req_shift_opened done [16:23:13]requested_item shift.open_date is exist - process it [16:23:13]req_shift_open_date [16:23:13]req_shift_open_date done [16:23:13]produce_requested_data done [16:23:13]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:23:13]process_action_free print_text [16:23:13]json_value_free [16:23:13]json_value_free done [16:23:13]process_json_proto returns [16:23:13]Send response to host [16:23:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:23:13]free response buf [16:23:13]execute_script done [16:23:13]execute_script returns [16:23:13]free content buf [16:23:13]Sock 9.Close socket [16:23:13]Sock 9.Thread stoped [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:44]OFD Sender: No OFD packet to send [16:25:49]OFD Sender: No OFD packet to send [16:25:54]OFD Sender: No OFD packet to send [16:25:59]accept exits with 7 [16:25:59]New connection [16:25:59]New thread 3066461540 created [16:25:59]Thread 3066604900 joined [16:25:59]Waiting for new connection... [16:25:59] Sock 7.Parse request [16:25:59]Sock 7.Check first char [16:25:59]Sock 7.First char is OK [16:25:59]request: POST /json_proto HTTP/1.0 [16:25:59]Method: POST [16:25:59]URL: /json_proto [16:25:59]Method is POST - this is cgi request [16:25:59]url: /json_proto [16:25:59]query_string will be loaded in cgi processing [16:25:59]execute_cgi json_proto POST (null) [16:25:59]execute_cgi path=json_proto method=POST [16:25:59]POST find Content-Length [16:25:59]Host: 172.17.35.196:8080 [16:25:59]Content-Length: 1199 [16:25:59]Content-Type: application/json [16:25:59] [16:25:59]POST finish read [16:25:59]Found Content-Length = 1199 [16:25:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670241\u000A12.07.2024 16:19\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 63\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 84.450 x 72.60\u000A\u0418\u0422\u041E\u0413: 6131.07\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32631\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:59]execute_script... [16:25:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670241\u000A12.07.2024 16:19\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 63\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 84.450 x 72.60\u000A\u0418\u0422\u041E\u0413: 6131.07\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32631\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:59]POST & json_proto [16:25:59]process_json_proto [16:25:59]json parsed OK: [16:25:59]protocol is kg_v1.0 [16:25:59]action value=print_text [16:25:59]process_action print_text [16:25:59]cmd_print_text [16:25:59]ExternCall_PrintAddStr [16:25:59]wPrintStart [16:25:59]Write to MH i2c: 01 00 00 6D 0A 77 [16:25:59]Write i2c OK [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: 01 [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: 01 07 00 [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: 01 07 00 6D 0A 00 00 00 00 00 FF 0F 8C [16:25:59]RasterBufferAndPrint [16:25:59]line *****ТОВАРНЫЙ ЧЕК***** [16:25:59]line АЗС 77 [16:25:59]line Партнер нефть [16:25:59]line 02508201610067 [16:25:59]line Кассир : Ташыбеков М. [16:25:59]line Счет N : (1)5670241 [16:25:59]line 12.07.2024 16:19 [16:25:59]line ПРОДАЖА [16:25:59]line ТРК (МРК, ГНК): 63 [16:25:59]line Вид ГСМ : 2710194210 [16:25:59]line ДТ-К-4 [16:25:59]line 84.450 x 72.60 [16:25:59]line ИТОГ: 6131.07 [16:25:59]line Тип оплаты: Талоны: Топливная Карта [16:25:59]line 32631 [16:25:59]line ______________________ [16:25:59]line (подпись) [16:25:59]written 0, free lines is 4095 [16:25:59]Write to MH i2c: 01 00 00 81 0A 8B [16:25:59]Write i2c OK [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: 01 [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: 01 07 00 [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: 01 07 00 81 0A 00 00 00 00 00 10 0E B0 [16:25:59]RasterBufferAndPrint [16:25:59]line [16:25:59]line [16:25:59]line [16:25:59]line [16:25:59]line [16:25:59]written 0, free lines is 3601 [16:25:59]MH_Cut [16:25:59]Write to MH i2c: D1 01 00 88 0A 01 64 [16:25:59]Write i2c OK [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: D1 [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: D1 01 00 [16:25:59]MH_I2C_Read... [16:25:59]Read from MH i2c: D1 01 00 88 0A 00 63 [16:25:59]Write to MH i2c: 01 00 00 89 0A 93 [16:25:59]Write i2c OK [16:25:59]MH_I2C_Read... [16:25:59]OFD Sender: No OFD packet to send [16:25:59]*** Cut start [16:25:59]*** Partial cut [16:25:59]*** CUTSNS_PIN = 1 [16:25:59]*** CUTSNS_PIN = 0 [16:26:00]*** Brake cut motor [16:26:00]Read from MH i2c: 01 [16:26:00]MH_I2C_Read... [16:26:00]*** Stop cut motor [16:26:00]*** Cut end [16:26:00]Read from MH i2c: 01 07 00 [16:26:00]MH_I2C_Read... [16:26:00]Read from MH i2c: 01 07 00 89 0A 00 00 00 00 00 FF 0F A8 [16:26:00]process_action print_text done [16:26:00]requested_data is exist [16:26:00]produce_requested_data [16:26:00]requested_item fm.sn is exist - process it [16:26:00]wFMCommunicate request_size=4 [16:26:00]MH_SAM_APDU [16:26:00]CAPDU: 80 11 00 00 [16:26:00]Write to MH i2c: E2 08 00 8A 0A 80 11 00 00 00 00 00 00 0E [16:26:00]Write i2c OK [16:26:00]MH_I2C_Read... [16:26:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:26:00]Read from MH i2c: E2 [16:26:00]MH_I2C_Read... [16:26:00]Read from MH i2c: E2 17 00 [16:26:00]MH_I2C_Read... [16:26:00]Read from MH i2c: E2 17 00 8A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 5A [16:26:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:26:00]wFMCommunicate OK [16:26:00]requested_item fd.num is exist - process it [16:26:00]SAM_PROTO_GetFieldsCounters [16:26:00]wFMCommunicate request_size=4 [16:26:00]MH_SAM_APDU [16:26:00]CAPDU: 80 13 00 00 [16:26:00]Write to MH i2c: E2 08 00 8B 0A 80 13 00 00 00 00 00 00 11 [16:26:00]Write i2c OK [16:26:00]MH_I2C_Read... [16:26:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:26:00]Read from MH i2c: E2 [16:26:00]MH_I2C_Read... [16:26:00]Read from MH i2c: E2 62 00 [16:26:00]MH_I2C_Read... [16:26:00]Read from MH i2c: E2 62 00 8B 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 1A [16:26:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:26:00]wFMCommunicate OK [16:26:00]SAM_PROTO_GetFieldsCounters done [16:26:00]requested_item shift.num is exist - process it [16:26:00]requested_item shift.opened is exist - process it [16:26:00]req_shift_opened [16:26:00]FM_GetShiftState [16:26:00]SAM_PROTO_GetShiftState [16:26:00]wFMCommunicate request_size=4 [16:26:00]MH_SAM_APDU [16:26:00]CAPDU: 80 13 01 00 [16:26:00]Write to MH i2c: E2 08 00 8C 0A 80 13 01 00 00 00 00 00 13 [16:26:00]Write i2c OK [16:26:00]MH_I2C_Read... [16:26:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:26:00]Read from MH i2c: E2 [16:26:00]MH_I2C_Read... [16:26:00]Read from MH i2c: E2 0E 00 [16:26:00]MH_I2C_Read... [16:26:00]Read from MH i2c: E2 0E 00 8C 0A 00 09 00 01 17 74 90 66 00 00 00 00 90 00 A0 [16:26:00]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:26:00]wFMCommunicate OK [16:26:00]SAM_PROTO_GetShiftState done [16:26:00]FM_GetShiftState done [16:26:00]req_shift_opened done [16:26:00]requested_item shift.open_date is exist - process it [16:26:00]req_shift_open_date [16:26:00]req_shift_open_date done [16:26:00]produce_requested_data done [16:26:00]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:26:00]process_action_free print_text [16:26:00]json_value_free [16:26:00]json_value_free done [16:26:00]process_json_proto returns [16:26:00]Send response to host [16:26:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:26:00]free response buf [16:26:00]execute_script done [16:26:00]execute_script returns [16:26:00]free content buf [16:26:00]Sock 7.Close socket [16:26:00]Sock 7.Thread stoped [16:26:01]int [16:26:01]Write to MH i2c: 01 00 00 8D 0A 97 [16:26:01]*** FLAG_PRN_KEY set [16:26:01]Write i2c OK [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 07 00 [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 07 00 8D 0A 00 08 00 00 00 FF 0F B4 [16:26:01]state=0 [16:26:01]Key pressed [16:26:01]Feed [16:26:01]Write to MH i2c: D8 00 00 8E 0A 6F [16:26:01]Write i2c OK [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: D8 [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: D8 01 00 [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: D8 01 00 8E 0A 00 70 [16:26:01]int [16:26:01]Write to MH i2c: 01 00 00 8F 0A 99 [16:26:01]Write i2c OK [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 07 00 [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 07 00 8F 0A 00 48 00 00 00 3C 00 24 [16:26:01]state=2 [16:26:01]Key pressed [16:26:01]int [16:26:01]Write to MH i2c: 01 00 00 90 0A 9A [16:26:01]*** FLAG_PRN_KEY reset [16:26:01]Write i2c OK [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 07 00 [16:26:01]MH_I2C_Read... [16:26:01]Read from MH i2c: 01 07 00 90 0A 00 00 00 00 00 F8 0F A8 [16:26:01]state=2 [16:26:01]Stop feed [16:26:04]OFD Sender: No OFD packet to send [16:26:08]accept exits with 9 [16:26:08]New connection [16:26:08]New thread 3066604900 created [16:26:08]Thread 3066461540 joined [16:26:08]Waiting for new connection... [16:26:08] Sock 9.Parse request [16:26:08]Sock 9.Check first char [16:26:08]Sock 9.First char is OK [16:26:08]request: POST /json_proto HTTP/1.0 [16:26:08]Method: POST [16:26:08]URL: /json_proto [16:26:08]Method is POST - this is cgi request [16:26:08]url: /json_proto [16:26:08]query_string will be loaded in cgi processing [16:26:08]execute_cgi json_proto POST (null) [16:26:08]execute_cgi path=json_proto method=POST [16:26:08]POST find Content-Length [16:26:08]Host: 172.17.35.196:8080 [16:26:08]Content-Length: 1199 [16:26:08]Content-Type: application/json [16:26:08] [16:26:08]POST finish read [16:26:08]Found Content-Length = 1199 [16:26:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670242\u000A12.07.2024 16:19\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 53\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 82.530 x 72.60\u000A\u0418\u0422\u041E\u0413: 5991.68\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32631\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:26:08]execute_script... [16:26:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670242\u000A12.07.2024 16:19\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 53\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422-\u041A-4\u000A 82.530 x 72.60\u000A\u0418\u0422\u041E\u0413: 5991.68\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A32631\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:26:08]POST & json_proto [16:26:08]process_json_proto [16:26:08]json parsed OK: [16:26:08]protocol is kg_v1.0 [16:26:08]action value=print_text [16:26:08]process_action print_text [16:26:08]cmd_print_text [16:26:08]ExternCall_PrintAddStr [16:26:08]wPrintStart [16:26:08]Write to MH i2c: 01 00 00 91 0A 9B [16:26:08]Write i2c OK [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: 01 [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: 01 07 00 [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: 01 07 00 91 0A 00 00 00 00 00 FF 0F B0 [16:26:08]RasterBufferAndPrint [16:26:08]line *****ТОВАРНЫЙ ЧЕК***** [16:26:08]line АЗС 77 [16:26:08]line Партнер нефть [16:26:08]line 02508201610067 [16:26:08]line Кассир : Ташыбеков М. [16:26:08]line Счет N : (1)5670242 [16:26:08]line 12.07.2024 16:19 [16:26:08]line ПРОДАЖА [16:26:08]line ТРК (МРК, ГНК): 53 [16:26:08]line Вид ГСМ : 2710194210 [16:26:08]line ДТ-К-4 [16:26:08]line 82.530 x 72.60 [16:26:08]line ИТОГ: 5991.68 [16:26:08]line Тип оплаты: Талоны: Топливная Карта [16:26:08]line 32631 [16:26:08]line ______________________ [16:26:08]line (подпись) [16:26:08]written 0, free lines is 4095 [16:26:08]Write to MH i2c: 01 00 00 A5 0A AF [16:26:08]Write i2c OK [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: 01 [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: 01 07 00 [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: 01 07 00 A5 0A 00 00 00 00 00 13 0E D7 [16:26:08]RasterBufferAndPrint [16:26:08]line [16:26:08]line [16:26:08]line [16:26:08]line [16:26:08]line [16:26:08]written 0, free lines is 3605 [16:26:08]MH_Cut [16:26:08]Write to MH i2c: D1 01 00 AC 0A 01 88 [16:26:08]Write i2c OK [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: D1 [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: D1 01 00 [16:26:08]MH_I2C_Read... [16:26:08]Read from MH i2c: D1 01 00 AC 0A 00 87 [16:26:08]Write to MH i2c: 01 00 00 AD 0A B7 [16:26:08]Write i2c OK [16:26:08]MH_I2C_Read... [16:26:09]*** Cut start [16:26:09]*** Partial cut [16:26:09]*** CUTSNS_PIN = 1 [16:26:09]*** CUTSNS_PIN = 0 [16:26:09]*** Brake cut motor [16:26:09]OFD Sender: No OFD packet to send [16:26:09]Read from MH i2c: 01 [16:26:09]MH_I2C_Read... [16:26:09]*** Stop cut motor [16:26:09]*** Cut end [16:26:09]Read from MH i2c: 01 07 00 [16:26:09]MH_I2C_Read... [16:26:09]Read from MH i2c: 01 07 00 AD 0A 00 00 00 00 00 FF 0F CC [16:26:09]process_action print_text done [16:26:09]requested_data is exist [16:26:09]produce_requested_data [16:26:09]requested_item fm.sn is exist - process it [16:26:09]wFMCommunicate request_size=4 [16:26:09]MH_SAM_APDU [16:26:09]CAPDU: 80 11 00 00 [16:26:09]Write to MH i2c: E2 08 00 AE 0A 80 11 00 00 00 00 00 00 32 [16:26:09]Write i2c OK [16:26:09]MH_I2C_Read... [16:26:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:26:09]Read from MH i2c: E2 [16:26:09]MH_I2C_Read... [16:26:09]Read from MH i2c: E2 17 00 [16:26:09]MH_I2C_Read... [16:26:09]Read from MH i2c: E2 17 00 AE 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7E [16:26:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:26:09]wFMCommunicate OK [16:26:09]requested_item fd.num is exist - process it [16:26:09]SAM_PROTO_GetFieldsCounters [16:26:09]wFMCommunicate request_size=4 [16:26:09]MH_SAM_APDU [16:26:09]CAPDU: 80 13 00 00 [16:26:09]Write to MH i2c: E2 08 00 AF 0A 80 13 00 00 00 00 00 00 35 [16:26:09]Write i2c OK [16:26:09]MH_I2C_Read... [16:26:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:26:09]Read from MH i2c: E2 [16:26:09]MH_I2C_Read... [16:26:09]Read from MH i2c: E2 62 00 [16:26:09]MH_I2C_Read... [16:26:09]Read from MH i2c: E2 62 00 AF 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [16:26:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:26:09]wFMCommunicate OK [16:26:09]SAM_PROTO_GetFieldsCounters done [16:26:09]requested_item shift.num is exist - process it [16:26:09]requested_item shift.opened is exist - process it [16:26:09]req_shift_opened [16:26:09]FM_GetShiftState [16:26:09]SAM_PROTO_GetShiftState [16:26:09]wFMCommunicate request_size=4 [16:26:09]MH_SAM_APDU [16:26:09]CAPDU: 80 13 01 00 [16:26:09]Write to MH i2c: E2 08 00 B0 0A 80 13 01 00 00 00 00 00 37 [16:26:09]Write i2c OK [16:26:09]MH_I2C_Read... [16:26:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:26:09]Read from MH i2c: E2 [16:26:09]MH_I2C_Read... [16:26:09]Read from MH i2c: E2 0E 00 [16:26:09]MH_I2C_Read... [16:26:09]Read from MH i2c: E2 0E 00 B0 0A 00 09 00 01 17 74 90 66 00 00 00 00 90 00 C4 [16:26:09]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:26:09]wFMCommunicate OK [16:26:09]SAM_PROTO_GetShiftState done [16:26:09]FM_GetShiftState done [16:26:09]req_shift_opened done [16:26:09]requested_item shift.open_date is exist - process it [16:26:09]req_shift_open_date [16:26:09]req_shift_open_date done [16:26:09]produce_requested_data done [16:26:09]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:26:09]process_action_free print_text [16:26:09]json_value_free [16:26:09]json_value_free done [16:26:09]process_json_proto returns [16:26:09]Send response to host [16:26:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:26:09]free response buf [16:26:09]execute_script done [16:26:09]execute_script returns [16:26:09]free content buf [16:26:09]Sock 9.Close socket [16:26:09]Sock 9.Thread stoped [16:26:14]OFD Sender: No OFD packet to send [16:26:19]OFD Sender: No OFD packet to send [16:26:24]OFD Sender: No OFD packet to send [16:26:29]OFD Sender: No OFD packet to send [16:26:34]OFD Sender: No OFD packet to send [16:26:39]OFD Sender: No OFD packet to send [16:26:44]OFD Sender: No OFD packet to send [16:26:49]OFD Sender: No OFD packet to send [16:26:54]OFD Sender: No OFD packet to send [16:26:59]OFD Sender: No OFD packet to send [16:27:04]OFD Sender: No OFD packet to send [16:27:09]OFD Sender: No OFD packet to send [16:27:14]OFD Sender: No OFD packet to send [16:27:19]OFD Sender: No OFD packet to send [16:27:24]OFD Sender: No OFD packet to send [16:27:29]OFD Sender: No OFD packet to send [16:27:34]OFD Sender: No OFD packet to send [16:27:39]OFD Sender: No OFD packet to send [16:27:44]OFD Sender: No OFD packet to send [16:27:49]OFD Sender: No OFD packet to send [16:27:54]OFD Sender: No OFD packet to send [16:27:59]OFD Sender: No OFD packet to send [16:28:04]OFD Sender: No OFD packet to send [16:28:09]OFD Sender: No OFD packet to send [16:28:14]OFD Sender: No OFD packet to send [16:28:19]OFD Sender: No OFD packet to send [16:28:24]OFD Sender: No OFD packet to send [16:28:29]OFD Sender: No OFD packet to send [16:28:34]OFD Sender: No OFD packet to send [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:07]accept exits with 10 [16:29:07]New connection [16:29:07]New thread 3066461540 created [16:29:07]Thread 3066604900 joined [16:29:07]Waiting for new connection... [16:29:07] Sock 10.Parse request [16:29:07]Sock 10.Check first char [16:29:07]Sock 10.First char is OK [16:29:07]request: POST /json_proto HTTP/1.0 [16:29:07]Method: POST [16:29:07]URL: /json_proto [16:29:07]Method is POST - this is cgi request [16:29:07]url: /json_proto [16:29:07]query_string will be loaded in cgi processing [16:29:07]execute_cgi json_proto POST (null) [16:29:07]execute_cgi path=json_proto method=POST [16:29:07]POST find Content-Length [16:29:07]Host: 172.17.35.196:8080 [16:29:07]Content-Length: 1163 [16:29:07]Content-Type: application/json [16:29:07] [16:29:07]POST finish read [16:29:07]Found Content-Length = 1163 [16:29:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670250\u000A12.07.2024 16:22\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 51\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 10.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 663.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30088332\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:29:07]execute_script... [16:29:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670250\u000A12.07.2024 16:22\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 51\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 10.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 663.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30088332\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:29:07]POST & json_proto [16:29:07]process_json_proto [16:29:07]json parsed OK: [16:29:07]protocol is kg_v1.0 [16:29:07]action value=print_text [16:29:07]process_action print_text [16:29:07]cmd_print_text [16:29:07]ExternCall_PrintAddStr [16:29:07]wPrintStart [16:29:07]Write to MH i2c: 01 00 00 B1 0A BB [16:29:07]Write i2c OK [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: 01 [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: 01 07 00 [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: 01 07 00 B1 0A 00 00 00 00 00 FF 0F D0 [16:29:07]RasterBufferAndPrint [16:29:07]line *****ТОВАРНЫЙ ЧЕК***** [16:29:07]line АЗС 77 [16:29:07]line Партнер нефть [16:29:07]line 02508201610067 [16:29:07]line Кассир : Ташыбеков М. [16:29:07]line Счет N : (1)5670250 [16:29:07]line 12.07.2024 16:22 [16:29:07]line ПРОДАЖА [16:29:07]line ТРК (МРК, ГНК): 51 [16:29:07]line Вид ГСМ : 2710124130 [16:29:07]line Аи-92-К-5 [16:29:07]line 10.000 x 66.30 [16:29:07]line ИТОГ: 663.00 [16:29:07]line Тип оплаты: Талоны: ТК ГПНА Online [16:29:07]line 30088332 [16:29:07]line ______________________ [16:29:07]line (подпись) [16:29:07]written 0, free lines is 4095 [16:29:07]Write to MH i2c: 01 00 00 C5 0A CF [16:29:07]Write i2c OK [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: 01 [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: 01 07 00 [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: 01 07 00 C5 0A 00 00 00 00 00 11 0E F5 [16:29:07]RasterBufferAndPrint [16:29:07]line [16:29:07]line [16:29:07]line [16:29:07]line [16:29:07]line [16:29:07]written 0, free lines is 3603 [16:29:07]MH_Cut [16:29:07]Write to MH i2c: D1 01 00 CC 0A 01 A8 [16:29:07]Write i2c OK [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: D1 [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: D1 01 00 [16:29:07]MH_I2C_Read... [16:29:07]Read from MH i2c: D1 01 00 CC 0A 00 A7 [16:29:07]Write to MH i2c: 01 00 00 CD 0A D7 [16:29:07]Write i2c OK [16:29:07]MH_I2C_Read... [16:29:08]*** Cut start [16:29:08]*** Partial cut [16:29:08]*** CUTSNS_PIN = 1 [16:29:08]*** CUTSNS_PIN = 0 [16:29:08]*** Brake cut motor [16:29:08]Read from MH i2c: 01 [16:29:08]MH_I2C_Read... [16:29:08]*** Stop cut motor [16:29:08]*** Cut end [16:29:08]Read from MH i2c: 01 07 00 [16:29:08]MH_I2C_Read... [16:29:08]Read from MH i2c: 01 07 00 CD 0A 00 00 00 00 00 FF 0F EC [16:29:08]process_action print_text done [16:29:08]requested_data is exist [16:29:08]produce_requested_data [16:29:08]requested_item fm.sn is exist - process it [16:29:08]wFMCommunicate request_size=4 [16:29:08]MH_SAM_APDU [16:29:08]CAPDU: 80 11 00 00 [16:29:08]Write to MH i2c: E2 08 00 CE 0A 80 11 00 00 00 00 00 00 52 [16:29:08]Write i2c OK [16:29:08]MH_I2C_Read... [16:29:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:29:08]Read from MH i2c: E2 [16:29:08]MH_I2C_Read... [16:29:08]Read from MH i2c: E2 17 00 [16:29:08]MH_I2C_Read... [16:29:08]Read from MH i2c: E2 17 00 CE 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9E [16:29:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:29:08]wFMCommunicate OK [16:29:08]requested_item fd.num is exist - process it [16:29:08]SAM_PROTO_GetFieldsCounters [16:29:08]wFMCommunicate request_size=4 [16:29:08]MH_SAM_APDU [16:29:08]CAPDU: 80 13 00 00 [16:29:08]Write to MH i2c: E2 08 00 CF 0A 80 13 00 00 00 00 00 00 55 [16:29:08]Write i2c OK [16:29:08]MH_I2C_Read... [16:29:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:29:09]Read from MH i2c: E2 [16:29:09]MH_I2C_Read... [16:29:09]Read from MH i2c: E2 62 00 [16:29:09]MH_I2C_Read... [16:29:09]Read from MH i2c: E2 62 00 CF 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [16:29:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 50 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:29:09]wFMCommunicate OK [16:29:09]SAM_PROTO_GetFieldsCounters done [16:29:09]requested_item shift.num is exist - process it [16:29:09]requested_item shift.opened is exist - process it [16:29:09]req_shift_opened [16:29:09]FM_GetShiftState [16:29:09]SAM_PROTO_GetShiftState [16:29:09]wFMCommunicate request_size=4 [16:29:09]MH_SAM_APDU [16:29:09]CAPDU: 80 13 01 00 [16:29:09]Write to MH i2c: E2 08 00 D0 0A 80 13 01 00 00 00 00 00 57 [16:29:09]Write i2c OK [16:29:09]MH_I2C_Read... [16:29:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:29:09]Read from MH i2c: E2 [16:29:09]MH_I2C_Read... [16:29:09]Read from MH i2c: E2 0E 00 [16:29:09]MH_I2C_Read... [16:29:09]Read from MH i2c: E2 0E 00 D0 0A 00 09 00 01 17 74 90 66 00 00 00 00 90 00 E4 [16:29:09]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:29:09]wFMCommunicate OK [16:29:09]SAM_PROTO_GetShiftState done [16:29:09]FM_GetShiftState done [16:29:09]req_shift_opened done [16:29:09]requested_item shift.open_date is exist - process it [16:29:09]req_shift_open_date [16:29:09]req_shift_open_date done [16:29:09]produce_requested_data done [16:29:09]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:29:09]process_action_free print_text [16:29:09]json_value_free [16:29:09]json_value_free done [16:29:09]process_json_proto returns [16:29:09]Send response to host [16:29:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33360,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:29:09]free response buf [16:29:09]execute_script done [16:29:09]execute_script returns [16:29:09]free content buf [16:29:09]Sock 10.Close socket [16:29:09]Sock 10.Thread stoped [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]accept exits with 9 [16:30:39]New connection [16:30:39]New thread 3066604900 created [16:30:39]Thread 3066461540 joined [16:30:39]Waiting for new connection... [16:30:39] Sock 9.Parse request [16:30:39]Sock 9.Check first char [16:30:39]Sock 9.First char is OK [16:30:39]request: POST /json_proto HTTP/1.0 [16:30:39]Method: POST [16:30:39]URL: /json_proto [16:30:39]Method is POST - this is cgi request [16:30:39]url: /json_proto [16:30:39]query_string will be loaded in cgi processing [16:30:39]execute_cgi json_proto POST (null) [16:30:39]execute_cgi path=json_proto method=POST [16:30:39]POST find Content-Length [16:30:39]Host: 172.17.35.196:8080 [16:30:39]Content-Length: 624 [16:30:39]Content-Type: application/json [16:30:39] [16:30:39]POST finish read [16:30:39]Found Content-Length = 624 [16:30:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169175", "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 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:30:39]execute_script... [16:30: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)169175", "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 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:30:39]POST & json_proto [16:30:39]process_json_proto [16:30:39]json parsed OK: [16:30:39]protocol is kg_v1.0 [16:30:39]action value=close_receipt [16:30:39]process_action close_receipt [16:30:39]cmd_close_receipt [16:30:39]MH_GetDate [16:30:39]Write to MH i2c: F0 00 00 D1 0A CA [16:30:39]Write i2c OK [16:30:39]MH_I2C_Read... [16:30:39]Read from MH i2c: F0 [16:30:39]MH_I2C_Read... [16:30:39]Read from MH i2c: F0 09 00 [16:30:39]MH_I2C_Read... [16:30:39]Read from MH i2c: F0 09 00 D1 0A 00 30 5A 91 66 AD 14 F4 65 6E [16:30:39]GetLastDocTimeStamp 1720800817 [16:30:39]current date 1720801840 [16:30:39]FM_GetShiftState [16:30:39]SAM_PROTO_GetShiftState [16:30:39]wFMCommunicate request_size=4 [16:30:39]MH_SAM_APDU [16:30:39]CAPDU: 80 13 01 00 [16:30:39]Write to MH i2c: E2 08 00 D2 0A 80 13 01 00 00 00 00 00 59 [16:30:39]Write i2c OK [16:30:39]MH_I2C_Read... [16:30:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:39]Read from MH i2c: E2 [16:30:39]MH_I2C_Read... [16:30:39]Read from MH i2c: E2 0E 00 [16:30:39]MH_I2C_Read... [16:30:39]Read from MH i2c: E2 0E 00 D2 0A 00 09 00 01 17 74 90 66 00 00 00 00 90 00 E6 [16:30:39]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:30:39]wFMCommunicate OK [16:30:39]SAM_PROTO_GetShiftState done [16:30:39]FM_GetShiftState done [16:30:39]opened in 1720742935 [16:30:39]opened+sec_in_day 1720829335 [16:30:39]quantity*price = 14300 [16:30:39]sum+1 = 14301 [16:30:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 39 12.07.2024 16:30 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33361 ФПД: 249527807935825 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163041&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33361&fm=249527807935825&tin=02508201610067®Number=0000000000093033&sum=14300 0 [16:30:40]StoreToDocumentArchive [16:30:40]shift 433 fd 33361 [16:30:40]save to /storage/0433/doc_00033361 [16:30:40]save last doc name /storage/0433/doc_00033361 to /storage/kkm_last_doc_name [16:30:40]save OK [16:30:40]Clear old archive folders... [16:30:40]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:30:40]tlvbuf is 00A463E0 [16:30:40]SAM_PROTO_ClearQueue [16:30:40]wFMCommunicate request_size=4 [16:30:40]MH_SAM_APDU [16:30:40]CAPDU: 80 09 00 00 [16:30:40]Write to MH i2c: E2 08 00 DF 0A 80 09 00 00 00 00 00 00 5B [16:30:40]Write i2c OK [16:30:40]MH_I2C_Read... [16:30:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:30:40]Read from MH i2c: E2 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 03 00 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 03 00 DF 0A 00 90 00 5D [16:30:40]RAPDU: 90 00 [16:30:40]wFMCommunicate OK [16:30:40]SAM_PROTO_ClearQueue done [16:30:40]KKMCreateOFDPacket [16:30:40]OFDProtocolAddRootSTLVToBuf [16:30:40]FM_MakeSignedData [16:30:40]FM_MakeSignedData [16:30:40]SAM_PROTO_SignData [16:30:40]wFMCommunicate request_size=4 [16:30:40]MH_SAM_APDU [16:30:40]CAPDU: 80 0D 01 02 [16:30:40]Write to MH i2c: E2 08 00 E0 0A 80 0D 01 02 00 00 00 00 63 [16:30:40]Write i2c OK [16:30:40]MH_I2C_Read... [16:30:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:30:40]Read from MH i2c: E2 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 03 00 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 03 00 E0 0A 00 90 00 5E [16:30:40]RAPDU: 90 00 [16:30:40]wFMCommunicate OK [16:30:40]wFMCommunicate request_size=255 [16:30:40]MH_SAM_APDU [16:30:40]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 31 5A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 [16:30:40]Write to MH i2c: E2 02 01 E1 0A 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 31 5A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 00 00 06 [16:30:40]Write i2c OK [16:30:40]MH_I2C_Read... [16:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:40]Read from MH i2c: E2 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 03 00 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 03 00 E1 0A 00 90 00 5F [16:30:40]RAPDU: 90 00 [16:30:40]wFMCommunicate OK [16:30:40]wFMCommunicate request_size=35 [16:30:40]MH_SAM_APDU [16:30:40]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 51 82 00 00 35 04 06 00 E2 F1 B8 5A 85 51 [16:30:40]Write to MH i2c: E2 26 00 E2 0A 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 51 82 00 00 35 04 06 00 E2 F1 B8 5A 85 51 00 00 E0 [16:30:40]Write i2c OK [16:30:40]MH_I2C_Read... [16:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:30:40]Read from MH i2c: E2 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 03 00 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 03 00 E2 0A 00 90 00 60 [16:30:40]RAPDU: 90 00 [16:30:40]wFMCommunicate OK [16:30:40]wFMCommunicate request_size=4 [16:30:40]MH_SAM_APDU [16:30:40]CAPDU: 80 0D 03 02 [16:30:40]Write to MH i2c: E2 08 00 E3 0A 80 0D 03 02 00 00 00 00 68 [16:30:40]Write i2c OK [16:30:40]MH_I2C_Read... [16:30:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:30:40]Read from MH i2c: E2 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 0B 00 [16:30:40]MH_I2C_Read... [16:30:40]Read from MH i2c: E2 0B 00 E3 0A 00 E3 0B 4F 92 00 07 9D 8E 90 00 6A [16:30:40]RAPDU: E3 0B 4F 92 00 07 9D 8E 90 00 [16:30:40]wFMCommunicate OK [16:30:40]SAM_PROTO_SignData done [16:30:40]FM_MakeSignedData done [16:30:40]CreateOFDProtocolMessage [16:30:40]wFMCommunicate request_size=4 [16:30:40]MH_SAM_APDU [16:30:40]CAPDU: 80 11 00 00 [16:30:40]Write to MH i2c: E2 08 00 E4 0A 80 11 00 00 00 00 00 00 68 [16:30:40]Write i2c OK [16:30:40]MH_I2C_Read... [16:30:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:41]Read from MH i2c: E2 [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: E2 17 00 [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: E2 17 00 E4 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B4 [16:30:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:30:41]wFMCommunicate OK [16:30:41]CreateOFDProtocolMessage done [16:30:41]OFDSenderStorePacket 33361 [16:30:41]StoreOFDPacket docnum=33361 [16:30:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 64 DA 20 01 24 EE 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 31 5A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 51 82 00 00 35 04 06 00 E2 F1 B8 5A 85 51 E3 0B 4F 92 00 07 9D 8E [16:30:41]CheckFolder [16:30:41]dirname=/storage/ofd_packets [16:30:41]CheckFolder done [16:30:41]ProducePacketName [16:30:41]name=ofd_packets/00033361 [16:30:41]NVStorageSaveData ofd_packets/00033361 [16:30:41]File name is /storage/ofd_packets/00033361 [16:30:41]Write 326 bytes [16:30:41]NVStorageSaveData done [16:30:41]OFDSenderStorePacket done [16:30:41]KKMCreateOFDPacket done [16:30:41]NVStorageSaveData kkm_last_timestamp [16:30:41]File name is /storage/kkm_last_timestamp [16:30:41]Write 4 bytes [16:30:41]NVStorageSaveData done [16:30:41]ExternCall_PrintAddStr [16:30:41]wPrintStart [16:30:41]Write to MH i2c: 01 00 00 E5 0A EF [16:30:41]Write i2c OK [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: 01 [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: 01 07 00 [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: 01 07 00 E5 0A 00 00 00 00 00 FF 0F 04 [16:30:41]RasterBufferAndPrint [16:30:41]line Счет N : (3)169175 [16:30:41]line ИНН: 02508201610067 [16:30:41]line Контрольно-Кассовый Чек [16:30:41]line ПРОДАЖА [16:30:41]line Товар: 48744683 [16:30:41]line Сигареты Winston XStyle Caster+ [16:30:41]line 1.000 * 143.00 [16:30:41]line = 143.00 [16:30:41]line НДС 12% НСП 1% [16:30:41]line > о реализуемом товаре [16:30:41]line ИТОГО: 143.00 [16:30:41]line НСП 1% : 1.26 [16:30:41]line НДС 12% : 15.19 [16:30:41]line Наличными: 143.00 [16:30:41]line Безнал.: 0.00 [16:30:41]line Место: АЗС № 77 "Партнер Нефть" [16:30:41]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:30:41]line СНО: Общий режим [16:30:41]line Чек 39 12.07.2024 16:30 [16:30:41]line Смена: 433 ФФД: 1.0 [16:30:41]line ЗНМ: 0300000122 [16:30:41]line РНМ: 0000000000093033 [16:30:41]line Версия ККМ: 001 [16:30:41]line ФМ: 0000000000875104 [16:30:41]line ФД: 33361 [16:30:41]line ФПД: 249527807935825 [16:30:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163041&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33361&fm=249527807935825&tin=02508201610067®Number=0000000000093033&sum=14300 [16:30:41]line 0 [16:30:41]OFD Sender: Processing packet 33361 [packets to send 6, broken 5] [16:30:41]ProducePacketName [16:30:41]name=ofd_packets/00033361 [16:30:41]OFD Sender: To server: pG, [16:30:41]CommunicateWithHost lk.salyk.kg:30040 [16:30:41]ConnectInit lk.salyk.kg [16:30:41]written 0, free lines is 4095 [16:30:41]Connected sock=10 [16:30:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 28 01 00 00 64 DA 20 01 24 EE 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 31 5A 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 51 82 00 00 35 04 06 00 E2 F1 B8 5A 85 51 E3 0B 4F 92 00 07 9D 8E [16:30:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 1F BF 47 00 48 F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 51 82 00 00 F4 03 04 00 DD 04 91 66 B6 04 01 00 00 B1 C6 ED 75 09 51 EF 60 [16:30:41]CommunicateWithHost err = 0 [16:30:41]CheckOFDResponse [16:30:41]1017 (14) - 77093643461234 [16:30:41]1041 (16) - 0000000000875104 [16:30:41]1040 (4) - 33361 [16:30:41]1012 (4) - 12.07.2024 10:26 [16:30:41]1206 (1) - 0 [16:30:41]OFD Sender: Remove packet 33361 [16:30:41]ProducePacketName [16:30:41]name=ofd_packets/00033361 [16:30:41]NVStorageDeleteData [16:30:41]Write to MH i2c: 01 00 00 0E 0B 19 [16:30:41]Write i2c OK [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: 01 [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: 01 07 00 [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: 01 07 00 0E 0B 00 00 00 00 00 E6 0C 12 [16:30:41]RasterBufferAndPrint [16:30:41]line [16:30:41]line [16:30:41]line [16:30:41]line [16:30:41]line [16:30:41]written 0, free lines is 3310 [16:30:41]MH_Cut [16:30:41]Write to MH i2c: D1 01 00 15 0B 01 F2 [16:30:41]Write i2c OK [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: D1 [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: D1 01 00 [16:30:41]MH_I2C_Read... [16:30:41]Read from MH i2c: D1 01 00 15 0B 00 F1 [16:30:41]Write to MH i2c: 01 00 00 16 0B 21 [16:30:41]Write i2c OK [16:30:41]MH_I2C_Read... [16:30:42]OFD Sender: No OFD packet to send [16:30:42]*** Cut start [16:30:42]*** Partial cut [16:30:42]*** CUTSNS_PIN = 1 [16:30:42]*** CUTSNS_PIN = 0 [16:30:42]*** Brake cut motor [16:30:43]Read from MH i2c: 01 [16:30:43]MH_I2C_Read... [16:30:43]*** Stop cut motor [16:30:43]*** Cut end [16:30:43]Read from MH i2c: 01 07 00 [16:30:43]MH_I2C_Read... [16:30:43]Read from MH i2c: 01 07 00 16 0B 00 00 00 00 00 FF 0F 36 [16:30:43]process_action close_receipt done [16:30:43]requested_data is exist [16:30:43]produce_requested_data [16:30:43]requested_item fm.sn is exist - process it [16:30:43]wFMCommunicate request_size=4 [16:30:43]MH_SAM_APDU [16:30:43]CAPDU: 80 11 00 00 [16:30:43]Write to MH i2c: E2 08 00 17 0B 80 11 00 00 00 00 00 00 9C [16:30:43]Write i2c OK [16:30:43]MH_I2C_Read... [16:30:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:30:43]Read from MH i2c: E2 [16:30:43]MH_I2C_Read... [16:30:43]Read from MH i2c: E2 17 00 [16:30:43]MH_I2C_Read... [16:30:43]Read from MH i2c: E2 17 00 17 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E8 [16:30:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:30:43]wFMCommunicate OK [16:30:43]requested_item fd.num is exist - process it [16:30:43]SAM_PROTO_GetFieldsCounters [16:30:43]wFMCommunicate request_size=4 [16:30:43]MH_SAM_APDU [16:30:43]CAPDU: 80 13 00 00 [16:30:43]Write to MH i2c: E2 08 00 18 0B 80 13 00 00 00 00 00 00 9F [16:30:43]Write i2c OK [16:30:43]MH_I2C_Read... [16:30:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:30:43]Read from MH i2c: E2 [16:30:43]MH_I2C_Read... [16:30:43]Read from MH i2c: E2 62 00 [16:30:43]MH_I2C_Read... [16:30:43]Read from MH i2c: E2 62 00 18 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 51 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [16:30:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 51 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:30:43]wFMCommunicate OK [16:30:43]SAM_PROTO_GetFieldsCounters done [16:30:43]requested_item shift.num is exist - process it [16:30:43]requested_item shift.opened is exist - process it [16:30:43]req_shift_opened [16:30:43]FM_GetShiftState [16:30:43]SAM_PROTO_GetShiftState [16:30:43]wFMCommunicate request_size=4 [16:30:43]MH_SAM_APDU [16:30:43]CAPDU: 80 13 01 00 [16:30:43]Write to MH i2c: E2 08 00 19 0B 80 13 01 00 00 00 00 00 A1 [16:30:43]Write i2c OK [16:30:43]MH_I2C_Read... [16:30:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:30:43]Read from MH i2c: E2 [16:30:43]MH_I2C_Read... [16:30:43]Read from MH i2c: E2 0E 00 [16:30:43]MH_I2C_Read... [16:30:43]Read from MH i2c: E2 0E 00 19 0B 00 09 00 01 17 74 90 66 00 00 00 00 90 00 2E [16:30:43]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:30:43]wFMCommunicate OK [16:30:43]SAM_PROTO_GetShiftState done [16:30:43]FM_GetShiftState done [16:30:43]req_shift_opened done [16:30:43]requested_item shift.open_date is exist - process it [16:30:43]req_shift_open_date [16:30:43]req_shift_open_date done [16:30:43]produce_requested_data done [16:30:43]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33361,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:30:43]process_action_free close_receipt [16:30:43]json_value_free [16:30:43]json_value_free done [16:30:43]process_json_proto returns [16:30:43]Send response to host [16:30:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33361,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:30:43]free response buf [16:30:43]execute_script done [16:30:43]execute_script returns [16:30:43]free content buf [16:30:43]Sock 9.Close socket [16:30:43]Sock 9.Thread stoped [16:30:47]OFD Sender: No OFD packet to send [16:30:52]OFD Sender: No OFD packet to send [16:30:57]OFD Sender: No OFD packet to send [16:31:02]OFD Sender: No OFD packet to send [16:31:07]OFD Sender: No OFD packet to send [16:31:12]OFD Sender: No OFD packet to send [16:31:17]OFD Sender: No OFD packet to send [16:31:20]accept exits with 7 [16:31:20]New connection [16:31:20]New thread 3066461540 created [16:31:20]Thread 3066604900 joined [16:31:20]Waiting for new connection... [16:31:20] Sock 7.Parse request [16:31:20]Sock 7.Check first char [16:31:20]Sock 7.First char is OK [16:31:20]request: POST /json_proto HTTP/1.0 [16:31:20]Method: POST [16:31:20]URL: /json_proto [16:31:20]Method is POST - this is cgi request [16:31:20]url: /json_proto [16:31:20]query_string will be loaded in cgi processing [16:31:20]execute_cgi json_proto POST (null) [16:31:20]execute_cgi path=json_proto method=POST [16:31:20]POST find Content-Length [16:31:20]Host: 172.17.35.196:8080 [16:31:20]Content-Length: 1164 [16:31:20]Content-Type: application/json [16:31:20] [16:31:20]POST finish read [16:31:20]Found Content-Length = 1164 [16:31:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670252\u000A12.07.2024 16:24\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 51\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1326.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30088332\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:31:20]execute_script... [16:31:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 77\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. \u000A\u0421\u0447\u0435\u0442 N : (1)5670252\u000A12.07.2024 16:24\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 51\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.30\u000A\u0418\u0422\u041E\u0413: 1326.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u041A \u0413\u041F\u041D\u0410 Online\u000A30088332\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:31:20]POST & json_proto [16:31:20]process_json_proto [16:31:20]json parsed OK: [16:31:20]protocol is kg_v1.0 [16:31:20]action value=print_text [16:31:20]process_action print_text [16:31:20]cmd_print_text [16:31:20]ExternCall_PrintAddStr [16:31:20]wPrintStart [16:31:20]Write to MH i2c: 01 00 00 1A 0B 25 [16:31:20]Write i2c OK [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: 01 [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: 01 07 00 [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: 01 07 00 1A 0B 00 00 00 00 00 FF 0F 3A [16:31:20]RasterBufferAndPrint [16:31:20]line *****ТОВАРНЫЙ ЧЕК***** [16:31:20]line АЗС 77 [16:31:20]line Партнер нефть [16:31:20]line 02508201610067 [16:31:20]line Кассир : Ташыбеков М. [16:31:20]line Счет N : (1)5670252 [16:31:20]line 12.07.2024 16:24 [16:31:20]line ПРОДАЖА [16:31:20]line ТРК (МРК, ГНК): 51 [16:31:20]line Вид ГСМ : 2710124130 [16:31:20]line Аи-92-К-5 [16:31:20]line 20.000 x 66.30 [16:31:20]line ИТОГ: 1326.00 [16:31:20]line Тип оплаты: Талоны: ТК ГПНА Online [16:31:20]line 30088332 [16:31:20]line ______________________ [16:31:20]line (подпись) [16:31:20]written 0, free lines is 4095 [16:31:20]Write to MH i2c: 01 00 00 2E 0B 39 [16:31:20]Write i2c OK [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: 01 [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: 01 07 00 [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: 01 07 00 2E 0B 00 00 00 00 00 11 0E 5F [16:31:20]RasterBufferAndPrint [16:31:20]line [16:31:20]line [16:31:20]line [16:31:20]line [16:31:20]line [16:31:20]written 0, free lines is 3603 [16:31:20]MH_Cut [16:31:20]Write to MH i2c: D1 01 00 35 0B 01 12 [16:31:20]Write i2c OK [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: D1 [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: D1 01 00 [16:31:20]MH_I2C_Read... [16:31:20]Read from MH i2c: D1 01 00 35 0B 00 11 [16:31:20]Write to MH i2c: 01 00 00 36 0B 41 [16:31:20]Write i2c OK [16:31:20]MH_I2C_Read... [16:31:20]*** Cut start [16:31:20]*** Partial cut [16:31:20]*** CUTSNS_PIN = 1 [16:31:20]*** CUTSNS_PIN = 0 [16:31:21]*** Brake cut motor [16:31:21]Read from MH i2c: 01 [16:31:21]MH_I2C_Read... [16:31:21]*** Stop cut motor [16:31:21]*** Cut end [16:31:21]Read from MH i2c: 01 07 00 [16:31:21]MH_I2C_Read... [16:31:21]Read from MH i2c: 01 07 00 36 0B 00 00 00 00 00 FF 0F 56 [16:31:21]process_action print_text done [16:31:21]requested_data is exist [16:31:21]produce_requested_data [16:31:21]requested_item fm.sn is exist - process it [16:31:21]wFMCommunicate request_size=4 [16:31:21]MH_SAM_APDU [16:31:21]CAPDU: 80 11 00 00 [16:31:21]Write to MH i2c: E2 08 00 37 0B 80 11 00 00 00 00 00 00 BC [16:31:21]Write i2c OK [16:31:21]MH_I2C_Read... [16:31:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:31:21]Read from MH i2c: E2 [16:31:21]MH_I2C_Read... [16:31:21]Read from MH i2c: E2 17 00 [16:31:21]MH_I2C_Read... [16:31:21]Read from MH i2c: E2 17 00 37 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 08 [16:31:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:31:21]wFMCommunicate OK [16:31:21]requested_item fd.num is exist - process it [16:31:21]SAM_PROTO_GetFieldsCounters [16:31:21]wFMCommunicate request_size=4 [16:31:21]MH_SAM_APDU [16:31:21]CAPDU: 80 13 00 00 [16:31:21]Write to MH i2c: E2 08 00 38 0B 80 13 00 00 00 00 00 00 BF [16:31:21]Write i2c OK [16:31:21]MH_I2C_Read... [16:31:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:31:21]Read from MH i2c: E2 [16:31:21]MH_I2C_Read... [16:31:21]Read from MH i2c: E2 62 00 [16:31:21]MH_I2C_Read... [16:31:21]Read from MH i2c: E2 62 00 38 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 51 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [16:31:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 51 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:31:21]wFMCommunicate OK [16:31:21]SAM_PROTO_GetFieldsCounters done [16:31:21]requested_item shift.num is exist - process it [16:31:21]requested_item shift.opened is exist - process it [16:31:21]req_shift_opened [16:31:21]FM_GetShiftState [16:31:21]SAM_PROTO_GetShiftState [16:31:21]wFMCommunicate request_size=4 [16:31:21]MH_SAM_APDU [16:31:21]CAPDU: 80 13 01 00 [16:31:21]Write to MH i2c: E2 08 00 39 0B 80 13 01 00 00 00 00 00 C1 [16:31:21]Write i2c OK [16:31:21]MH_I2C_Read... [16:31:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:31:21]Read from MH i2c: E2 [16:31:21]MH_I2C_Read... [16:31:21]Read from MH i2c: E2 0E 00 [16:31:21]MH_I2C_Read... [16:31:21]Read from MH i2c: E2 0E 00 39 0B 00 09 00 01 17 74 90 66 00 00 00 00 90 00 4E [16:31:21]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:31:21]wFMCommunicate OK [16:31:21]SAM_PROTO_GetShiftState done [16:31:21]FM_GetShiftState done [16:31:21]req_shift_opened done [16:31:21]requested_item shift.open_date is exist - process it [16:31:21]req_shift_open_date [16:31:21]req_shift_open_date done [16:31:21]produce_requested_data done [16:31:21]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33361,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:31:21]process_action_free print_text [16:31:21]json_value_free [16:31:21]json_value_free done [16:31:21]process_json_proto returns [16:31:21]Send response to host [16:31:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33361,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:31:21]free response buf [16:31:21]execute_script done [16:31:21]execute_script returns [16:31:21]free content buf [16:31:21]Sock 7.Close socket [16:31:21]Sock 7.Thread stoped [16:31:22]OFD Sender: No OFD packet to send [16:31:27]OFD Sender: No OFD packet to send [16:31:32]OFD Sender: No OFD packet to send [16:31:37]OFD Sender: No OFD packet to send [16:31:42]OFD Sender: No OFD packet to send [16:31:47]OFD Sender: No OFD packet to send [16:31:52]OFD Sender: No OFD packet to send [16:31:57]OFD Sender: No OFD packet to send [16:32:02]OFD Sender: No OFD packet to send [16:32:07]OFD Sender: No OFD packet to send [16:32:12]OFD Sender: No OFD packet to send [16:32:17]OFD Sender: No OFD packet to send [16:32:22]OFD Sender: No OFD packet to send [16:32:27]OFD Sender: No OFD packet to send [16:32:32]OFD Sender: No OFD packet to send [16:32:37]OFD Sender: No OFD packet to send [16:32:42]OFD Sender: No OFD packet to send [16:32:47]OFD Sender: No OFD packet to send [16:32:52]OFD Sender: No OFD packet to send [16:32:57]OFD Sender: No OFD packet to send [16:33:02]OFD Sender: No OFD packet to send [16:33:07]OFD Sender: No OFD packet to send [16:33:12]OFD Sender: No OFD packet to send [16:33:17]OFD Sender: No OFD packet to send [16:33:22]OFD Sender: No OFD packet to send [16:33:27]OFD Sender: No OFD packet to send [16:33:32]OFD Sender: No OFD packet to send [16:33:37]OFD Sender: No OFD packet to send [16:33:42]OFD Sender: No OFD packet to send [16:33:47]OFD Sender: No OFD packet to send [16:33:52]OFD Sender: No OFD packet to send [16:33:57]OFD Sender: No OFD packet to send [16:34:02]OFD Sender: No OFD packet to send [16:34:07]OFD Sender: No OFD packet to send [16:34:12]OFD Sender: No OFD packet to send [16:34:17]OFD Sender: No OFD packet to send [16:34:22]OFD Sender: No OFD packet to send [16:34:27]OFD Sender: No OFD packet to send [16:34:32]OFD Sender: No OFD packet to send [16:34:37]OFD Sender: No OFD packet to send [16:34:42]OFD Sender: No OFD packet to send [16:34:47]OFD Sender: No OFD packet to send [16:34:52]OFD Sender: No OFD packet to send [16:34:57]OFD Sender: No OFD packet to send [16:35:02]OFD Sender: No OFD packet to send [16:35:07]OFD Sender: No OFD packet to send [16:35:12]OFD Sender: No OFD packet to send [16:35:17]OFD Sender: No OFD packet to send [16:35:22]OFD Sender: No OFD packet to send [16:35:27]OFD Sender: No OFD packet to send [16:35:32]OFD Sender: No OFD packet to send [16:35:37]OFD Sender: No OFD packet to send [16:35:42]OFD Sender: No OFD packet to send [16:35:47]OFD Sender: No OFD packet to send [16:35:52]OFD Sender: No OFD packet to send [16:35:57]OFD Sender: No OFD packet to send [16:36:02]OFD Sender: No OFD packet to send [16:36:07]OFD Sender: No OFD packet to send [16:36:12]OFD Sender: No OFD packet to send [16:36:12]accept exits with 9 [16:36:12]New connection [16:36:12]New thread 3066604900 created [16:36:12]Thread 3066461540 joined [16:36:12]Waiting for new connection... [16:36:12] Sock 9.Parse request [16:36:12]Sock 9.Check first char [16:36:12]Sock 9.First char is OK [16:36:12]request: POST /json_proto HTTP/1.0 [16:36:12]Method: POST [16:36:12]URL: /json_proto [16:36:12]Method is POST - this is cgi request [16:36:12]url: /json_proto [16:36:12]query_string will be loaded in cgi processing [16:36:12]execute_cgi json_proto POST (null) [16:36:12]execute_cgi path=json_proto method=POST [16:36:12]POST find Content-Length [16:36:12]Host: 172.17.35.196:8080 [16:36:12]Content-Length: 680 [16:36:12]Content-Type: application/json [16:36:12] [16:36:12]POST finish read [16:36:12]Found Content-Length = 680 [16:36:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670255", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 27.550, "sum" : 2000.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:36:12]execute_script... [16:36:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670255", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710194210", "name": "\u0414\u0422-\u041A-4", "price" : 72.60, "quantity" : 27.550, "sum" : 2000.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:36:12]POST & json_proto [16:36:12]process_json_proto [16:36:12]json parsed OK: [16:36:12]protocol is kg_v1.0 [16:36:12]action value=close_receipt [16:36:12]process_action close_receipt [16:36:12]cmd_close_receipt [16:36:12]MH_GetDate [16:36:12]Write to MH i2c: F0 00 00 3A 0B 34 [16:36:12]Write i2c OK [16:36:12]MH_I2C_Read... [16:36:12]Read from MH i2c: F0 [16:36:12]MH_I2C_Read... [16:36:12]Read from MH i2c: F0 09 00 [16:36:12]MH_I2C_Read... [16:36:12]Read from MH i2c: F0 09 00 3A 0B 00 7E 5B 91 66 AD 14 F4 65 27 [16:36:12]GetLastDocTimeStamp 1720801841 [16:36:12]current date 1720802174 [16:36:12]FM_GetShiftState [16:36:12]SAM_PROTO_GetShiftState [16:36:12]wFMCommunicate request_size=4 [16:36:12]MH_SAM_APDU [16:36:12]CAPDU: 80 13 01 00 [16:36:12]Write to MH i2c: E2 08 00 3B 0B 80 13 01 00 00 00 00 00 C3 [16:36:12]Write i2c OK [16:36:12]MH_I2C_Read... [16:36:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:36:13]Read from MH i2c: E2 [16:36:13]MH_I2C_Read... [16:36:13]Read from MH i2c: E2 0E 00 [16:36:13]MH_I2C_Read... [16:36:13]Read from MH i2c: E2 0E 00 3B 0B 00 09 00 01 17 74 90 66 00 00 00 00 90 00 50 [16:36:13]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:36:13]wFMCommunicate OK [16:36:13]SAM_PROTO_GetShiftState done [16:36:13]FM_GetShiftState done [16:36:13]opened in 1720742935 [16:36:13]opened+sec_in_day 1720829335 [16:36:13]quantity*price = 200013 [16:36:13]sum+1 = 200014 [16:36:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.13 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.40 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 40 12.07.2024 16:36 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33362 ФПД: 238090990909901 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163614&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33362&fm=238090990909901&tin=02508201610067®Number=0000000000093033&sum=200000 [16:36:14]StoreToDocumentArchive [16:36:14]shift 433 fd 33362 [16:36:14]save to /storage/0433/doc_00033362 [16:36:14]save last doc name /storage/0433/doc_00033362 to /storage/kkm_last_doc_name [16:36:14]save OK [16:36:14]Clear old archive folders... [16:36:14]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:36:14]tlvbuf is 00A4B090 [16:36:14]SAM_PROTO_ClearQueue [16:36:14]wFMCommunicate request_size=4 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 09 00 00 [16:36:14]Write to MH i2c: E2 08 00 48 0B 80 09 00 00 00 00 00 00 C5 [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 48 0B 00 90 00 C7 [16:36:14]RAPDU: 90 00 [16:36:14]wFMCommunicate OK [16:36:14]SAM_PROTO_ClearQueue done [16:36:14]KKMCreateOFDPacket [16:36:14]OFDProtocolAddRootSTLVToBuf [16:36:14]FM_MakeSignedData [16:36:14]FM_MakeSignedData [16:36:14]SAM_PROTO_SignData [16:36:14]wFMCommunicate request_size=4 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 0D 01 02 [16:36:14]Write to MH i2c: E2 08 00 49 0B 80 0D 01 02 00 00 00 00 CD [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 49 0B 00 90 00 C8 [16:36:14]RAPDU: 90 00 [16:36:14]wFMCommunicate OK [16:36:14]wFMCommunicate request_size=255 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 9E 6B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 4D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 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 7E 5B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 52 82 00 00 35 04 06 00 D8 8A E0 EF [16:36:14]Write to MH i2c: E2 02 01 4A 0B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 9E 6B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 4D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 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 7E 5B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 52 82 00 00 35 04 06 00 D8 8A E0 EF 00 00 82 [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 4A 0B 00 90 00 C9 [16:36:14]RAPDU: 90 00 [16:36:14]wFMCommunicate OK [16:36:14]wFMCommunicate request_size=7 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 0D 02 02 02 F9 CD [16:36:14]Write to MH i2c: E2 0A 00 4B 0B 80 0D 02 02 02 00 F9 CD 00 00 9A [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 4B 0B 00 90 00 CA [16:36:14]RAPDU: 90 00 [16:36:14]wFMCommunicate OK [16:36:14]wFMCommunicate request_size=4 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 0D 03 02 [16:36:14]Write to MH i2c: E2 08 00 4C 0B 80 0D 03 02 00 00 00 00 D2 [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 0B 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 0B 00 4C 0B 00 70 ED 4E 6D 58 43 F0 75 90 00 EB [16:36:14]RAPDU: 70 ED 4E 6D 58 43 F0 75 90 00 [16:36:14]wFMCommunicate OK [16:36:14]SAM_PROTO_SignData done [16:36:14]FM_MakeSignedData done [16:36:14]CreateOFDProtocolMessage [16:36:14]wFMCommunicate request_size=4 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 11 00 00 [16:36:14]Write to MH i2c: E2 08 00 4D 0B 80 11 00 00 00 00 00 00 D2 [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 17 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 17 00 4D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 1E [16:36:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:36:14]wFMCommunicate OK [16:36:14]CreateOFDProtocolMessage done [16:36:14]OFDSenderStorePacket 33362 [16:36:14]StoreOFDPacket docnum=33362 [16:36:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 EF CB 04 01 A7 99 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 9E 6B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 4D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 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 7E 5B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 52 82 00 00 35 04 06 00 D8 8A E0 EF F9 CD 70 ED 4E 6D 58 43 F0 75 [16:36:14]CheckFolder [16:36:14]dirname=/storage/ofd_packets [16:36:14]CheckFolder done [16:36:14]ProducePacketName [16:36:14]name=ofd_packets/00033362 [16:36:14]NVStorageSaveData ofd_packets/00033362 [16:36:14]File name is /storage/ofd_packets/00033362 [16:36:14]Write 298 bytes [16:36:14]NVStorageSaveData done [16:36:14]OFDSenderStorePacket done [16:36:14]KKMCreateOFDPacket done [16:36:14]NVStorageSaveData kkm_last_timestamp [16:36:14]File name is /storage/kkm_last_timestamp [16:36:14]Write 4 bytes [16:36:14]NVStorageSaveData done [16:36:14]ExternCall_PrintAddStr [16:36:14]wPrintStart [16:36:14]Write to MH i2c: 01 00 00 4E 0B 59 [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: 01 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: 01 07 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: 01 07 00 4E 0B 00 00 00 00 00 FF 0F 6E [16:36:14]RasterBufferAndPrint [16:36:14]line Счет N : (1)5670255 [16:36:14]line ИНН: 02508201610067 [16:36:14]line Контрольно-Кассовый Чек [16:36:14]line ПРОДАЖА [16:36:14]line ТРК (МРК, ГНК) : 53 [16:36:14]line Товар: 2710194210 [16:36:14]line ДТ-К-4 [16:36:14]line 27.550 * 72.60 [16:36:14]line = 2000.13 [16:36:14]line НДС 12% НСП 1% [16:36:14]line > о реализуемом товаре [16:36:14]line ОКРУГЛЕНИЕ: -0.13 [16:36:14]line ИТОГО: 2000.00 [16:36:14]line Внесено: 2000.00 [16:36:14]line СДАЧА: 0.00 [16:36:14]line НСП 1% : 17.70 [16:36:14]line НДС 12% : 212.40 [16:36:14]line Наличными: 2000.00 [16:36:14]line Безнал.: 0.00 [16:36:14]line Место: АЗС № 77 "Партнер Нефть" [16:36:14]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:36:14]line СНО: Общий режим [16:36:14]line Чек 40 12.07.2024 16:36 [16:36:14]line Смена: 433 ФФД: 1.0 [16:36:14]line ЗНМ: 0300000122 [16:36:14]line РНМ: 0000000000093033 [16:36:14]line Версия ККМ: 001 [16:36:14]line ФМ: 0000000000875104 [16:36:14]line ФД: 33362 [16:36:14]line ФПД: 238090990909901 [16:36:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163614&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33362&fm=238090990909901&tin=02508201610067®Number=0000000000093033&sum=200000 [16:36:15]OFD Sender: Processing packet 33362 [packets to send 6, broken 5] [16:36:15]ProducePacketName [16:36:15]name=ofd_packets/00033362 [16:36:15]OFD Sender: To server: pG, [16:36:15]CommunicateWithHost lk.salyk.kg:30040 [16:36:15]ConnectInit lk.salyk.kg [16:36:15]written 0, free lines is 4095 [16:36:15]Connected sock=10 [16:36:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0C 01 00 00 EF CB 04 01 A7 99 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 34 FF 03 08 00 03 9E 6B 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 4D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 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 7E 5B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 52 82 00 00 35 04 06 00 D8 8A E0 EF F9 CD 70 ED 4E 6D 58 43 F0 75 [16:36:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 FB 8C 47 00 CB 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 38 37 35 31 30 34 10 04 04 00 52 82 00 00 F4 03 04 00 2B 06 91 66 B6 04 01 00 00 59 D3 DE F7 6D 72 60 CC [16:36:15]CommunicateWithHost err = 0 [16:36:15]CheckOFDResponse [16:36:15]1017 (14) - 77093643461234 [16:36:15]1041 (16) - 0000000000875104 [16:36:15]1040 (4) - 33362 [16:36:15]1012 (4) - 12.07.2024 10:32 [16:36:15]1206 (1) - 0 [16:36:15]OFD Sender: Remove packet 33362 [16:36:15]ProducePacketName [16:36:15]name=ofd_packets/00033362 [16:36:15]NVStorageDeleteData [16:36:15]Write to MH i2c: 01 00 00 79 0B 84 [16:36:15]Write i2c OK [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: 01 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: 01 07 00 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: 01 07 00 79 0B 00 00 00 00 00 E2 0C 79 [16:36:15]RasterBufferAndPrint [16:36:15]line [16:36:15]line [16:36:15]line [16:36:15]line [16:36:15]line [16:36:15]written 0, free lines is 3304 [16:36:15]MH_Cut [16:36:15]Write to MH i2c: D1 01 00 80 0B 01 5D [16:36:15]Write i2c OK [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: D1 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: D1 01 00 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: D1 01 00 80 0B 00 5C [16:36:15]Write to MH i2c: 01 00 00 81 0B 8C [16:36:15]Write i2c OK [16:36:15]MH_I2C_Read... [16:36:15]OFD Sender: No OFD packet to send [16:36:16]*** Cut start [16:36:16]*** Partial cut [16:36:16]*** CUTSNS_PIN = 1 [16:36:16]*** CUTSNS_PIN = 0 [16:36:16]*** Brake cut motor [16:36:16]Read from MH i2c: 01 [16:36:16]MH_I2C_Read... [16:36:16]*** Stop cut motor [16:36:16]*** Cut end [16:36:16]Read from MH i2c: 01 07 00 [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: 01 07 00 81 0B 00 00 00 00 00 FF 0F A1 [16:36:16]process_action close_receipt done [16:36:16]requested_data is exist [16:36:16]produce_requested_data [16:36:16]requested_item fm.sn is exist - process it [16:36:16]wFMCommunicate request_size=4 [16:36:16]MH_SAM_APDU [16:36:16]CAPDU: 80 11 00 00 [16:36:16]Write to MH i2c: E2 08 00 82 0B 80 11 00 00 00 00 00 00 07 [16:36:16]Write i2c OK [16:36:16]MH_I2C_Read... [16:36:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:36:16]Read from MH i2c: E2 [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: E2 17 00 [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: E2 17 00 82 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 53 [16:36:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:36:16]wFMCommunicate OK [16:36:16]requested_item fd.num is exist - process it [16:36:16]SAM_PROTO_GetFieldsCounters [16:36:16]wFMCommunicate request_size=4 [16:36:16]MH_SAM_APDU [16:36:16]CAPDU: 80 13 00 00 [16:36:16]Write to MH i2c: E2 08 00 83 0B 80 13 00 00 00 00 00 00 0A [16:36:16]Write i2c OK [16:36:16]MH_I2C_Read... [16:36:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:36:17]Read from MH i2c: E2 [16:36:17]MH_I2C_Read... [16:36:17]Read from MH i2c: E2 62 00 [16:36:17]MH_I2C_Read... [16:36:17]Read from MH i2c: E2 62 00 83 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 52 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 1B [16:36:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 52 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:36:17]wFMCommunicate OK [16:36:17]SAM_PROTO_GetFieldsCounters done [16:36:17]requested_item shift.num is exist - process it [16:36:17]requested_item shift.opened is exist - process it [16:36:17]req_shift_opened [16:36:17]FM_GetShiftState [16:36:17]SAM_PROTO_GetShiftState [16:36:17]wFMCommunicate request_size=4 [16:36:17]MH_SAM_APDU [16:36:17]CAPDU: 80 13 01 00 [16:36:17]Write to MH i2c: E2 08 00 84 0B 80 13 01 00 00 00 00 00 0C [16:36:17]Write i2c OK [16:36:17]MH_I2C_Read... [16:36:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:36:17]Read from MH i2c: E2 [16:36:17]MH_I2C_Read... [16:36:17]Read from MH i2c: E2 0E 00 [16:36:17]MH_I2C_Read... [16:36:17]Read from MH i2c: E2 0E 00 84 0B 00 09 00 01 17 74 90 66 00 00 00 00 90 00 99 [16:36:17]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:36:17]wFMCommunicate OK [16:36:17]SAM_PROTO_GetShiftState done [16:36:17]FM_GetShiftState done [16:36:17]req_shift_opened done [16:36:17]requested_item shift.open_date is exist - process it [16:36:17]req_shift_open_date [16:36:17]req_shift_open_date done [16:36:17]produce_requested_data done [16:36:17]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33362,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:36:17]process_action_free close_receipt [16:36:17]json_value_free [16:36:17]json_value_free done [16:36:17]process_json_proto returns [16:36:17]Send response to host [16:36:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33362,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:36:17]free response buf [16:36:17]execute_script done [16:36:17]execute_script returns [16:36:17]free content buf [16:36:17]Sock 9.Close socket [16:36:17]Sock 9.Thread stoped [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]accept exits with 7 [16:37:45]New connection [16:37:45]New thread 3066461540 created [16:37:45]Thread 3066604900 joined [16:37:45]Waiting for new connection... [16:37:45] Sock 7.Parse request [16:37:45]Sock 7.Check first char [16:37:45]Sock 7.First char is OK [16:37:45]request: POST /json_proto HTTP/1.0 [16:37:45]Method: POST [16:37:45]URL: /json_proto [16:37:45]Method is POST - this is cgi request [16:37:45]url: /json_proto [16:37:45]query_string will be loaded in cgi processing [16:37:45]execute_cgi json_proto POST (null) [16:37:45]execute_cgi path=json_proto method=POST [16:37:45]POST find Content-Length [16:37:45]Host: 172.17.35.196:8080 [16:37:45]Content-Length: 699 [16:37:45]Content-Type: application/json [16:37:45] [16:37:45]POST finish read [16:37:45]Found Content-Length = 699 [16:37:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169176", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:37:45]execute_script... [16:37:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169176", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:37:45]POST & json_proto [16:37:45]process_json_proto [16:37:45]json parsed OK: [16:37:45]protocol is kg_v1.0 [16:37:45]action value=close_receipt [16:37:45]process_action close_receipt [16:37:45]cmd_close_receipt [16:37:45]MH_GetDate [16:37:45]Write to MH i2c: F0 00 00 85 0B 7F [16:37:45]Write i2c OK [16:37:45]MH_I2C_Read... [16:37:45]Read from MH i2c: F0 [16:37:45]MH_I2C_Read... [16:37:45]Read from MH i2c: F0 09 00 [16:37:45]MH_I2C_Read... [16:37:45]Read from MH i2c: F0 09 00 85 0B 00 DA 5B 91 66 AD 14 F4 65 CE [16:37:45]GetLastDocTimeStamp 1720802174 [16:37:45]current date 1720802266 [16:37:45]FM_GetShiftState [16:37:45]SAM_PROTO_GetShiftState [16:37:45]wFMCommunicate request_size=4 [16:37:45]MH_SAM_APDU [16:37:45]CAPDU: 80 13 01 00 [16:37:45]Write to MH i2c: E2 08 00 86 0B 80 13 01 00 00 00 00 00 0E [16:37:45]Write i2c OK [16:37:45]MH_I2C_Read... [16:37:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:37:45]Read from MH i2c: E2 [16:37:45]MH_I2C_Read... [16:37:45]Read from MH i2c: E2 0E 00 [16:37:45]MH_I2C_Read... [16:37:45]Read from MH i2c: E2 0E 00 86 0B 00 09 00 01 17 74 90 66 00 00 00 00 90 00 9B [16:37:45]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:37:45]wFMCommunicate OK [16:37:45]SAM_PROTO_GetShiftState done [16:37:45]FM_GetShiftState done [16:37:45]opened in 1720742935 [16:37:45]opened+sec_in_day 1720829335 [16:37:45]quantity*price = 9500 [16:37:45]sum+1 = 9501 [16:37:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 41 12.07.2024 16:37 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33363 ФПД: 79289965205369 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163746&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33363&fm=79289965205369&tin=02508201610067®Number=0000000000093033&sum=9500 0 [16:37:46]StoreToDocumentArchive [16:37:46]shift 433 fd 33363 [16:37:46]save to /storage/0433/doc_00033363 [16:37:46]save last doc name /storage/0433/doc_00033363 to /storage/kkm_last_doc_name [16:37:46]save OK [16:37:46]Clear old archive folders... [16:37:46]ProcessDocumentItem done err = 0, tmpTLVsize=302 [16:37:46]tlvbuf is 00A3D950 [16:37:46]SAM_PROTO_ClearQueue [16:37:46]wFMCommunicate request_size=4 [16:37:46]MH_SAM_APDU [16:37:46]CAPDU: 80 09 00 00 [16:37:46]Write to MH i2c: E2 08 00 93 0B 80 09 00 00 00 00 00 00 10 [16:37:46]Write i2c OK [16:37:46]MH_I2C_Read... [16:37:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:37:46]Read from MH i2c: E2 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 03 00 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 03 00 93 0B 00 90 00 12 [16:37:46]RAPDU: 90 00 [16:37:46]wFMCommunicate OK [16:37:46]SAM_PROTO_ClearQueue done [16:37:46]KKMCreateOFDPacket [16:37:46]OFDProtocolAddRootSTLVToBuf [16:37:46]FM_MakeSignedData [16:37:46]FM_MakeSignedData [16:37:46]SAM_PROTO_SignData [16:37:46]wFMCommunicate request_size=4 [16:37:46]MH_SAM_APDU [16:37:46]CAPDU: 80 0D 01 02 [16:37:46]Write to MH i2c: E2 08 00 94 0B 80 0D 01 02 00 00 00 00 18 [16:37:46]Write i2c OK [16:37:46]MH_I2C_Read... [16:37:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:37:46]Read from MH i2c: E2 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 03 00 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 03 00 94 0B 00 90 00 13 [16:37:46]RAPDU: 90 00 [16:37:46]wFMCommunicate OK [16:37:46]wFMCommunicate request_size=255 [16:37:46]MH_SAM_APDU [16:37:46]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 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 29 00 00 00 F4 03 04 00 DA 5B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 [16:37:46]Write to MH i2c: E2 02 01 95 0B 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 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 29 00 00 00 F4 03 04 00 DA 5B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 00 00 6F [16:37:46]Write i2c OK [16:37:46]MH_I2C_Read... [16:37:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:37:46]Read from MH i2c: E2 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 03 00 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 03 00 95 0B 00 90 00 14 [16:37:46]RAPDU: 90 00 [16:37:46]wFMCommunicate OK [16:37:46]wFMCommunicate request_size=61 [16:37:46]MH_SAM_APDU [16:37:46]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 53 82 00 00 35 04 06 00 48 1D 22 35 D7 79 [16:37:46]Write to MH i2c: E2 40 00 96 0B 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 53 82 00 00 35 04 06 00 48 1D 22 35 D7 79 00 00 23 [16:37:46]Write i2c OK [16:37:46]MH_I2C_Read... [16:37:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:37:46]Read from MH i2c: E2 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 03 00 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 03 00 96 0B 00 90 00 15 [16:37:46]RAPDU: 90 00 [16:37:46]wFMCommunicate OK [16:37:46]wFMCommunicate request_size=4 [16:37:46]MH_SAM_APDU [16:37:46]CAPDU: 80 0D 03 02 [16:37:46]Write to MH i2c: E2 08 00 97 0B 80 0D 03 02 00 00 00 00 1D [16:37:46]Write i2c OK [16:37:46]MH_I2C_Read... [16:37:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:37:46]Read from MH i2c: E2 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 0B 00 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 0B 00 97 0B 00 89 62 37 9D 0D AB A3 34 90 00 6C [16:37:46]RAPDU: 89 62 37 9D 0D AB A3 34 90 00 [16:37:46]wFMCommunicate OK [16:37:46]SAM_PROTO_SignData done [16:37:46]FM_MakeSignedData done [16:37:46]CreateOFDProtocolMessage [16:37:46]wFMCommunicate request_size=4 [16:37:46]MH_SAM_APDU [16:37:46]CAPDU: 80 11 00 00 [16:37:46]Write to MH i2c: E2 08 00 98 0B 80 11 00 00 00 00 00 00 1D [16:37:46]Write i2c OK [16:37:46]MH_I2C_Read... [16:37:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:37:46]Read from MH i2c: E2 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 17 00 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: E2 17 00 98 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 69 [16:37:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:37:46]wFMCommunicate OK [16:37:46]CreateOFDProtocolMessage done [16:37:46]OFDSenderStorePacket 33363 [16:37:46]StoreOFDPacket docnum=33363 [16:37:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 42 01 00 00 54 80 3A 01 24 AF 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 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 29 00 00 00 F4 03 04 00 DA 5B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 53 82 00 00 35 04 06 00 48 1D 22 35 D7 79 89 62 37 9D 0D AB A3 34 [16:37:46]CheckFolder [16:37:46]dirname=/storage/ofd_packets [16:37:46]CheckFolder done [16:37:46]ProducePacketName [16:37:46]name=ofd_packets/00033363 [16:37:46]NVStorageSaveData ofd_packets/00033363 [16:37:46]File name is /storage/ofd_packets/00033363 [16:37:46]Write 352 bytes [16:37:46]NVStorageSaveData done [16:37:46]OFDSenderStorePacket done [16:37:46]KKMCreateOFDPacket done [16:37:46]NVStorageSaveData kkm_last_timestamp [16:37:46]File name is /storage/kkm_last_timestamp [16:37:46]Write 4 bytes [16:37:46]NVStorageSaveData done [16:37:46]ExternCall_PrintAddStr [16:37:46]wPrintStart [16:37:46]Write to MH i2c: 01 00 00 99 0B A4 [16:37:46]Write i2c OK [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: 01 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: 01 07 00 [16:37:46]MH_I2C_Read... [16:37:46]Read from MH i2c: 01 07 00 99 0B 00 00 00 00 00 FF 0F B9 [16:37:46]RasterBufferAndPrint [16:37:46]line Счет N : (3)169176 [16:37:46]line ИНН: 02508201610067 [16:37:46]line Контрольно-Кассовый Чек [16:37:46]line ПРОДАЖА [16:37:46]line Товар: 4700003010087 [16:37:46]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [16:37:46]line 1.000 * 95.00 [16:37:46]line = 95.00 [16:37:46]line НДС 12% НСП 1% [16:37:46]line > о реализуемом товаре [16:37:46]line ИТОГО: 95.00 [16:37:46]line НСП 1% : 0.84 [16:37:46]line НДС 12% : 10.09 [16:37:46]line Наличными: 95.00 [16:37:46]line Безнал.: 0.00 [16:37:46]line Место: АЗС № 77 "Партнер Нефть" [16:37:46]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:37:46]line СНО: Общий режим [16:37:46]line Чек 41 12.07.2024 16:37 [16:37:46]line Смена: 433 ФФД: 1.0 [16:37:46]line ЗНМ: 0300000122 [16:37:46]line РНМ: 0000000000093033 [16:37:46]line Версия ККМ: 001 [16:37:46]line ФМ: 0000000000875104 [16:37:46]line ФД: 33363 [16:37:46]line ФПД: 79289965205369 [16:37:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T163746&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33363&fm=79289965205369&tin=02508201610067®Number=0000000000093033&sum=9500 [16:37:47]line 0 [16:37:47]OFD Sender: Processing packet 33363 [packets to send 6, broken 5] [16:37:47]ProducePacketName [16:37:47]name=ofd_packets/00033363 [16:37:47]OFD Sender: To server: pG, [16:37:47]CommunicateWithHost lk.salyk.kg:30040 [16:37:47]ConnectInit lk.salyk.kg [16:37:47]written 0, free lines is 4095 [16:37:47]Connected sock=10 [16:37:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 42 01 00 00 54 80 3A 01 24 AF 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 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 29 00 00 00 F4 03 04 00 DA 5B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 53 82 00 00 35 04 06 00 48 1D 22 35 D7 79 89 62 37 9D 0D AB A3 34 [16:37:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 29 62 47 00 A1 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 53 82 00 00 F4 03 04 00 87 06 91 66 B6 04 01 00 00 25 6E 3A 9E 95 43 DD 7D [16:37:47]CommunicateWithHost err = 0 [16:37:47]CheckOFDResponse [16:37:47]1017 (14) - 77093643461234 [16:37:47]1041 (16) - 0000000000875104 [16:37:47]1040 (4) - 33363 [16:37:47]1012 (4) - 12.07.2024 10:33 [16:37:47]1206 (1) - 0 [16:37:47]OFD Sender: Remove packet 33363 [16:37:47]ProducePacketName [16:37:47]name=ofd_packets/00033363 [16:37:47]NVStorageDeleteData [16:37:47]Write to MH i2c: 01 00 00 C2 0B CD [16:37:47]Write i2c OK [16:37:47]MH_I2C_Read... [16:37:47]Read from MH i2c: 01 [16:37:47]MH_I2C_Read... [16:37:47]Read from MH i2c: 01 07 00 [16:37:47]MH_I2C_Read... [16:37:47]Read from MH i2c: 01 07 00 C2 0B 00 00 00 00 00 06 0D E7 [16:37:47]RasterBufferAndPrint [16:37:47]line [16:37:47]line [16:37:47]line [16:37:47]line [16:37:47]line [16:37:47]written 0, free lines is 3341 [16:37:47]MH_Cut [16:37:47]Write to MH i2c: D1 01 00 C9 0B 01 A6 [16:37:47]Write i2c OK [16:37:47]MH_I2C_Read... [16:37:47]Read from MH i2c: D1 [16:37:47]MH_I2C_Read... [16:37:47]Read from MH i2c: D1 01 00 [16:37:47]MH_I2C_Read... [16:37:47]Read from MH i2c: D1 01 00 C9 0B 00 A5 [16:37:47]Write to MH i2c: 01 00 00 CA 0B D5 [16:37:47]Write i2c OK [16:37:47]MH_I2C_Read... [16:37:48]OFD Sender: No OFD packet to send [16:37:48]*** Cut start [16:37:48]*** Partial cut [16:37:48]*** CUTSNS_PIN = 1 [16:37:48]*** CUTSNS_PIN = 0 [16:37:48]*** Brake cut motor [16:37:49]Read from MH i2c: 01 [16:37:49]MH_I2C_Read... [16:37:49]*** Stop cut motor [16:37:49]*** Cut end [16:37:49]Read from MH i2c: 01 07 00 [16:37:49]MH_I2C_Read... [16:37:49]Read from MH i2c: 01 07 00 CA 0B 00 00 00 00 00 FF 0F EA [16:37:49]process_action close_receipt done [16:37:49]requested_data is exist [16:37:49]produce_requested_data [16:37:49]requested_item fm.sn is exist - process it [16:37:49]wFMCommunicate request_size=4 [16:37:49]MH_SAM_APDU [16:37:49]CAPDU: 80 11 00 00 [16:37:49]Write to MH i2c: E2 08 00 CB 0B 80 11 00 00 00 00 00 00 50 [16:37:49]Write i2c OK [16:37:49]MH_I2C_Read... [16:37:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:37:49]Read from MH i2c: E2 [16:37:49]MH_I2C_Read... [16:37:49]Read from MH i2c: E2 17 00 [16:37:49]MH_I2C_Read... [16:37:49]Read from MH i2c: E2 17 00 CB 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9C [16:37:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:37:49]wFMCommunicate OK [16:37:49]requested_item fd.num is exist - process it [16:37:49]SAM_PROTO_GetFieldsCounters [16:37:49]wFMCommunicate request_size=4 [16:37:49]MH_SAM_APDU [16:37:49]CAPDU: 80 13 00 00 [16:37:49]Write to MH i2c: E2 08 00 CC 0B 80 13 00 00 00 00 00 00 53 [16:37:49]Write i2c OK [16:37:49]MH_I2C_Read... [16:37:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:37:49]Read from MH i2c: E2 [16:37:49]MH_I2C_Read... [16:37:49]Read from MH i2c: E2 62 00 [16:37:49]MH_I2C_Read... [16:37:49]Read from MH i2c: E2 62 00 CC 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 53 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [16:37:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 53 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:37:49]wFMCommunicate OK [16:37:49]SAM_PROTO_GetFieldsCounters done [16:37:49]requested_item shift.num is exist - process it [16:37:49]requested_item shift.opened is exist - process it [16:37:49]req_shift_opened [16:37:49]FM_GetShiftState [16:37:49]SAM_PROTO_GetShiftState [16:37:49]wFMCommunicate request_size=4 [16:37:49]MH_SAM_APDU [16:37:49]CAPDU: 80 13 01 00 [16:37:49]Write to MH i2c: E2 08 00 CD 0B 80 13 01 00 00 00 00 00 55 [16:37:49]Write i2c OK [16:37:49]MH_I2C_Read... [16:37:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:37:49]Read from MH i2c: E2 [16:37:49]MH_I2C_Read... [16:37:49]Read from MH i2c: E2 0E 00 [16:37:49]MH_I2C_Read... [16:37:49]Read from MH i2c: E2 0E 00 CD 0B 00 09 00 01 17 74 90 66 00 00 00 00 90 00 E2 [16:37:49]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:37:49]wFMCommunicate OK [16:37:49]SAM_PROTO_GetShiftState done [16:37:49]FM_GetShiftState done [16:37:49]req_shift_opened done [16:37:49]requested_item shift.open_date is exist - process it [16:37:49]req_shift_open_date [16:37:49]req_shift_open_date done [16:37:49]produce_requested_data done [16:37:49]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33363,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:37:49]process_action_free close_receipt [16:37:49]json_value_free [16:37:49]json_value_free done [16:37:49]process_json_proto returns [16:37:49]Send response to host [16:37:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33363,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:37:49]free response buf [16:37:49]execute_script done [16:37:49]execute_script returns [16:37:49]free content buf [16:37:49]Sock 7.Close socket [16:37:49]Sock 7.Thread stoped [16:37:53]OFD Sender: No OFD packet to send [16:37:58]OFD Sender: No OFD packet to send [16:38:03]OFD Sender: No OFD packet to send [16:38:08]OFD Sender: No OFD packet to send [16:38:13]OFD Sender: No OFD packet to send [16:38:18]OFD Sender: No OFD packet to send [16:38:23]OFD Sender: No OFD packet to send [16:38:28]OFD Sender: No OFD packet to send [16:38:33]OFD Sender: No OFD packet to send [16:38:38]OFD Sender: No OFD packet to send [16:38:43]OFD Sender: No OFD packet to send [16:38:48]OFD Sender: No OFD packet to send [16:38:53]OFD Sender: No OFD packet to send [16:38:58]OFD Sender: No OFD packet to send [16:39:03]OFD Sender: No OFD packet to send [16:39:08]OFD Sender: No OFD packet to send [16:39:13]OFD Sender: No OFD packet to send [16:39:18]OFD Sender: No OFD packet to send [16:39:23]OFD Sender: No OFD packet to send [16:39:28]OFD Sender: No OFD packet to send [16:39:33]OFD Sender: No OFD packet to send [16:39:38]OFD Sender: No OFD packet to send [16:39:43]OFD Sender: No OFD packet to send [16:39:48]OFD Sender: No OFD packet to send [16:39:53]OFD Sender: No OFD packet to send [16:39:58]OFD Sender: No OFD packet to send [16:40:03]OFD Sender: No OFD packet to send [16:40:08]OFD Sender: No OFD packet to send [16:40:13]OFD Sender: No OFD packet to send [16:40:18]OFD Sender: No OFD packet to send [16:40:23]OFD Sender: No OFD packet to send [16:40:28]OFD Sender: No OFD packet to send [16:40:33]OFD Sender: No OFD packet to send [16:40:38]OFD Sender: No OFD packet to send [16:40:43]OFD Sender: No OFD packet to send [16:40:48]OFD Sender: No OFD packet to send [16:40:53]OFD Sender: No OFD packet to send [16:40:58]OFD Sender: No OFD packet to send [16:41:03]OFD Sender: No OFD packet to send [16:41:08]OFD Sender: No OFD packet to send [16:41:13]OFD Sender: No OFD packet to send [16:41:18]OFD Sender: No OFD packet to send [16:41:23]OFD Sender: No OFD packet to send [16:41:28]OFD Sender: No OFD packet to send [16:41:33]OFD Sender: No OFD packet to send [16:41:38]OFD Sender: No OFD packet to send [16:41:43]OFD Sender: No OFD packet to send [16:41:48]OFD Sender: No OFD packet to send [16:41:53]OFD Sender: No OFD packet to send [16:41:58]OFD Sender: No OFD packet to send [16:42:03]OFD Sender: No OFD packet to send [16:42:08]OFD Sender: No OFD packet to send [16:42:13]OFD Sender: No OFD packet to send [16:42:18]OFD Sender: No OFD packet to send [16:42:23]OFD Sender: No OFD packet to send [16:42:28]OFD Sender: No OFD packet to send [16:42:33]OFD Sender: No OFD packet to send [16:42:38]OFD Sender: No OFD packet to send [16:42:43]OFD Sender: No OFD packet to send [16:42:48]OFD Sender: No OFD packet to send [16:42:53]OFD Sender: No OFD packet to send [16:42:58]OFD Sender: No OFD packet to send [16:43:03]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:44:03]OFD Sender: No OFD packet to send [16:44:08]OFD Sender: No OFD packet to send [16:44:13]OFD Sender: No OFD packet to send [16:44:18]OFD Sender: No OFD packet to send [16:44:23]OFD Sender: No OFD packet to send [16:44:28]OFD Sender: No OFD packet to send [16:44:33]OFD Sender: No OFD packet to send [16:44:38]OFD Sender: No OFD packet to send [16:44:43]OFD Sender: No OFD packet to send [16:44:48]OFD Sender: No OFD packet to send [16:44:53]OFD Sender: No OFD packet to send [16:44:58]OFD Sender: No OFD packet to send [16:45:03]OFD Sender: No OFD packet to send [16:45:08]OFD Sender: No OFD packet to send [16:45:13]OFD Sender: No OFD packet to send [16:45:18]OFD Sender: No OFD packet to send [16:45:23]OFD Sender: No OFD packet to send [16:45:28]OFD Sender: No OFD packet to send [16:45:33]OFD Sender: No OFD packet to send [16:45:38]OFD Sender: No OFD packet to send [16:45:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:43]OFD Sender: No OFD packet to send [16:48:48]OFD Sender: No OFD packet to send [16:48:53]OFD Sender: No OFD packet to send [16:48:58]OFD Sender: No OFD packet to send [16:49:03]OFD Sender: No OFD packet to send [16:49:08]OFD Sender: No OFD packet to send [16:49:13]OFD Sender: No OFD packet to send [16:49:18]OFD Sender: No OFD packet to send [16:49:23]OFD Sender: No OFD packet to send [16:49:28]OFD Sender: No OFD packet to send [16:49:33]OFD Sender: No OFD packet to send [16:49:38]OFD Sender: No OFD packet to send [16:49:43]OFD Sender: No OFD packet to send [16:49:48]OFD Sender: No OFD packet to send [16:49:53]OFD Sender: No OFD packet to send [16:49:58]OFD Sender: No OFD packet to send [16:50:03]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:43]OFD Sender: No OFD packet to send [16:50:48]OFD Sender: No OFD packet to send [16:50:53]OFD Sender: No OFD packet to send [16:50:58]OFD Sender: No OFD packet to send [16:51:03]OFD Sender: No OFD packet to send [16:51:08]OFD Sender: No OFD packet to send [16:51:13]OFD Sender: No OFD packet to send [16:51:18]OFD Sender: No OFD packet to send [16:51:23]OFD Sender: No OFD packet to send [16:51:28]OFD Sender: No OFD packet to send [16:51:33]OFD Sender: No OFD packet to send [16:51:38]OFD Sender: No OFD packet to send [16:51:43]OFD Sender: No OFD packet to send [16:51:48]OFD Sender: No OFD packet to send [16:51:53]OFD Sender: No OFD packet to send [16:51:58]OFD Sender: No OFD packet to send [16:52:03]OFD Sender: No OFD packet to send [16:52:08]OFD Sender: No OFD packet to send [16:52:13]OFD Sender: No OFD packet to send [16:52:18]OFD Sender: No OFD packet to send [16:52:21]accept exits with 9 [16:52:21]New connection [16:52:21]New thread 3066604900 created [16:52:21]Thread 3066461540 joined [16:52:21]Waiting for new connection... [16:52:21] Sock 9.Parse request [16:52:21]Sock 9.Check first char [16:52:21]Sock 9.First char is OK [16:52:21]request: POST /json_proto HTTP/1.0 [16:52:21]Method: POST [16:52:21]URL: /json_proto [16:52:21]Method is POST - this is cgi request [16:52:21]url: /json_proto [16:52:21]query_string will be loaded in cgi processing [16:52:21]execute_cgi json_proto POST (null) [16:52:21]execute_cgi path=json_proto method=POST [16:52:21]POST find Content-Length [16:52:21]Host: 172.17.35.196:8080 [16:52:21]Content-Length: 660 [16:52:21]Content-Type: application/json [16:52:21] [16:52:21]POST finish read [16:52:21]Found Content-Length = 660 [16:52:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169177", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:52:21]execute_script... [16:52:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169177", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:52:21]POST & json_proto [16:52:21]process_json_proto [16:52:21]json parsed OK: [16:52:21]protocol is kg_v1.0 [16:52:21]action value=close_receipt [16:52:21]process_action close_receipt [16:52:21]cmd_close_receipt [16:52:21]MH_GetDate [16:52:21]Write to MH i2c: F0 00 00 CE 0B C8 [16:52:21]Write i2c OK [16:52:21]MH_I2C_Read... [16:52:21]Read from MH i2c: F0 [16:52:21]MH_I2C_Read... [16:52:21]Read from MH i2c: F0 09 00 [16:52:21]MH_I2C_Read... [16:52:21]Read from MH i2c: F0 09 00 CE 0B 00 47 5F 91 66 AD 14 F4 65 88 [16:52:21]GetLastDocTimeStamp 1720802266 [16:52:21]current date 1720803143 [16:52:21]FM_GetShiftState [16:52:21]SAM_PROTO_GetShiftState [16:52:21]wFMCommunicate request_size=4 [16:52:21]MH_SAM_APDU [16:52:21]CAPDU: 80 13 01 00 [16:52:21]Write to MH i2c: E2 08 00 CF 0B 80 13 01 00 00 00 00 00 57 [16:52:21]Write i2c OK [16:52:21]MH_I2C_Read... [16:52:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:52:21]Read from MH i2c: E2 [16:52:21]MH_I2C_Read... [16:52:21]Read from MH i2c: E2 0E 00 [16:52:21]MH_I2C_Read... [16:52:21]Read from MH i2c: E2 0E 00 CF 0B 00 09 00 01 17 74 90 66 00 00 00 00 90 00 E4 [16:52:21]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:52:21]wFMCommunicate OK [16:52:21]SAM_PROTO_GetShiftState done [16:52:21]FM_GetShiftState done [16:52:21]opened in 1720742935 [16:52:21]opened+sec_in_day 1720829335 [16:52:21]quantity*price = 15500 [16:52:21]sum+1 = 15501 [16:52:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 42 12.07.2024 16:52 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33364 ФПД: 65158029235076 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T165223&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33364&fm=65158029235076&tin=02508201610067®Number=0000000000093033&sum=15500 0 [16:52:22]StoreToDocumentArchive [16:52:22]shift 433 fd 33364 [16:52:22]save to /storage/0433/doc_00033364 [16:52:22]save last doc name /storage/0433/doc_00033364 to /storage/kkm_last_doc_name [16:52:22]save OK [16:52:22]Clear old archive folders... [16:52:22]ProcessDocumentItem done err = 0, tmpTLVsize=280 [16:52:22]tlvbuf is 00A4E170 [16:52:22]SAM_PROTO_ClearQueue [16:52:22]wFMCommunicate request_size=4 [16:52:22]MH_SAM_APDU [16:52:22]CAPDU: 80 09 00 00 [16:52:22]Write to MH i2c: E2 08 00 DC 0B 80 09 00 00 00 00 00 00 59 [16:52:22]Write i2c OK [16:52:22]MH_I2C_Read... [16:52:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:52:22]Read from MH i2c: E2 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 03 00 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 03 00 DC 0B 00 90 00 5B [16:52:22]RAPDU: 90 00 [16:52:22]wFMCommunicate OK [16:52:22]SAM_PROTO_ClearQueue done [16:52:22]KKMCreateOFDPacket [16:52:22]OFDProtocolAddRootSTLVToBuf [16:52:22]FM_MakeSignedData [16:52:22]FM_MakeSignedData [16:52:22]SAM_PROTO_SignData [16:52:22]wFMCommunicate request_size=4 [16:52:22]MH_SAM_APDU [16:52:22]CAPDU: 80 0D 01 02 [16:52:22]Write to MH i2c: E2 08 00 DD 0B 80 0D 01 02 00 00 00 00 61 [16:52:22]Write i2c OK [16:52:22]MH_I2C_Read... [16:52:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:52:22]Read from MH i2c: E2 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 03 00 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 03 00 DD 0B 00 90 00 5C [16:52:22]RAPDU: 90 00 [16:52:22]wFMCommunicate OK [16:52:22]wFMCommunicate request_size=255 [16:52:22]MH_SAM_APDU [16:52:22]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 47 5F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 [16:52:22]Write to MH i2c: E2 02 01 DE 0B 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 47 5F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 00 00 EC [16:52:22]Write i2c OK [16:52:22]MH_I2C_Read... [16:52:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:52:22]Read from MH i2c: E2 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 03 00 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 03 00 DE 0B 00 90 00 5D [16:52:22]RAPDU: 90 00 [16:52:22]wFMCommunicate OK [16:52:22]wFMCommunicate request_size=39 [16:52:22]MH_SAM_APDU [16:52:22]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 54 82 00 00 35 04 06 00 3B 42 C9 2F D3 84 [16:52:22]Write to MH i2c: E2 2A 00 DF 0B 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 54 82 00 00 35 04 06 00 3B 42 C9 2F D3 84 00 00 BA [16:52:22]Write i2c OK [16:52:22]MH_I2C_Read... [16:52:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:52:22]Read from MH i2c: E2 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 03 00 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 03 00 DF 0B 00 90 00 5E [16:52:22]RAPDU: 90 00 [16:52:22]wFMCommunicate OK [16:52:22]wFMCommunicate request_size=4 [16:52:22]MH_SAM_APDU [16:52:22]CAPDU: 80 0D 03 02 [16:52:22]Write to MH i2c: E2 08 00 E0 0B 80 0D 03 02 00 00 00 00 66 [16:52:22]Write i2c OK [16:52:22]MH_I2C_Read... [16:52:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:52:22]Read from MH i2c: E2 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 0B 00 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 0B 00 E0 0B 00 89 1F 45 A1 84 8A F7 58 90 00 52 [16:52:22]RAPDU: 89 1F 45 A1 84 8A F7 58 90 00 [16:52:22]wFMCommunicate OK [16:52:22]SAM_PROTO_SignData done [16:52:22]FM_MakeSignedData done [16:52:22]CreateOFDProtocolMessage [16:52:22]wFMCommunicate request_size=4 [16:52:22]MH_SAM_APDU [16:52:22]CAPDU: 80 11 00 00 [16:52:22]Write to MH i2c: E2 08 00 E1 0B 80 11 00 00 00 00 00 00 66 [16:52:22]Write i2c OK [16:52:22]MH_I2C_Read... [16:52:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:52:22]Read from MH i2c: E2 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 17 00 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: E2 17 00 E1 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B2 [16:52:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:52:22]wFMCommunicate OK [16:52:22]CreateOFDProtocolMessage done [16:52:22]OFDSenderStorePacket 33364 [16:52:22]StoreOFDPacket docnum=33364 [16:52:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 EE 34 24 01 C6 F4 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 47 5F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 54 82 00 00 35 04 06 00 3B 42 C9 2F D3 84 89 1F 45 A1 84 8A F7 58 [16:52:22]CheckFolder [16:52:22]dirname=/storage/ofd_packets [16:52:22]CheckFolder done [16:52:22]ProducePacketName [16:52:22]name=ofd_packets/00033364 [16:52:22]NVStorageSaveData ofd_packets/00033364 [16:52:22]File name is /storage/ofd_packets/00033364 [16:52:22]Write 330 bytes [16:52:22]NVStorageSaveData done [16:52:22]OFDSenderStorePacket done [16:52:22]KKMCreateOFDPacket done [16:52:22]NVStorageSaveData kkm_last_timestamp [16:52:22]File name is /storage/kkm_last_timestamp [16:52:22]Write 4 bytes [16:52:22]NVStorageSaveData done [16:52:22]ExternCall_PrintAddStr [16:52:22]wPrintStart [16:52:22]Write to MH i2c: 01 00 00 E2 0B ED [16:52:22]Write i2c OK [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: 01 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: 01 07 00 [16:52:22]MH_I2C_Read... [16:52:22]Read from MH i2c: 01 07 00 E2 0B 00 00 00 00 00 FF 0F 02 [16:52:22]RasterBufferAndPrint [16:52:22]line Счет N : (3)169177 [16:52:22]line ИНН: 02508201610067 [16:52:22]line Контрольно-Кассовый Чек [16:52:22]line ПРОДАЖА [16:52:22]line Товар: 5449000000439 [16:52:22]line Напиток Кока-Кола 1,5л [16:52:22]line 1.000 * 155.00 [16:52:22]line = 155.00 [16:52:22]line НДС 12% НСП 1% [16:52:22]line > о реализуемом товаре [16:52:22]line ИТОГО: 155.00 [16:52:22]line НСП 1% : 1.37 [16:52:22]line НДС 12% : 16.46 [16:52:22]line Наличными: 155.00 [16:52:22]line Безнал.: 0.00 [16:52:22]line Место: АЗС № 77 "Партнер Нефть" [16:52:22]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:52:22]line СНО: Общий режим [16:52:22]line Чек 42 12.07.2024 16:52 [16:52:22]line Смена: 433 ФФД: 1.0 [16:52:22]line ЗНМ: 0300000122 [16:52:22]line РНМ: 0000000000093033 [16:52:22]line Версия ККМ: 001 [16:52:22]line ФМ: 0000000000875104 [16:52:22]line ФД: 33364 [16:52:22]line ФПД: 65158029235076 [16:52:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T165223&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33364&fm=65158029235076&tin=02508201610067®Number=0000000000093033&sum=15500 [16:52:22]line 0 [16:52:22]written 0, free lines is 4095 [16:52:23]OFD Sender: Processing packet 33364 [packets to send 6, broken 5] [16:52:23]ProducePacketName [16:52:23]name=ofd_packets/00033364 [16:52:23]OFD Sender: To server: pG, [16:52:23]CommunicateWithHost lk.salyk.kg:30040 [16:52:23]ConnectInit lk.salyk.kg [16:52:23]Connected sock=10 [16:52:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2C 01 00 00 EE 34 24 01 C6 F4 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 47 5F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 54 82 00 00 35 04 06 00 3B 42 C9 2F D3 84 89 1F 45 A1 84 8A F7 58 [16:52:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D0 FE 47 00 83 FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 54 82 00 00 F4 03 04 00 F3 09 91 66 B6 04 01 00 00 A8 12 25 26 0D 05 6C 71 [16:52:23]CommunicateWithHost err = 0 [16:52:23]CheckOFDResponse [16:52:23]1017 (14) - 77093643461234 [16:52:23]1041 (16) - 0000000000875104 [16:52:23]1040 (4) - 33364 [16:52:23]1012 (4) - 12.07.2024 10:48 [16:52:23]1206 (1) - 0 [16:52:23]OFD Sender: Remove packet 33364 [16:52:23]ProducePacketName [16:52:23]name=ofd_packets/00033364 [16:52:23]NVStorageDeleteData [16:52:23]Write to MH i2c: 01 00 00 0A 0C 16 [16:52:23]Write i2c OK [16:52:23]MH_I2C_Read... [16:52:23]Read from MH i2c: 01 [16:52:23]MH_I2C_Read... [16:52:23]Read from MH i2c: 01 07 00 [16:52:23]MH_I2C_Read... [16:52:23]Read from MH i2c: 01 07 00 0A 0C 00 00 00 00 00 FE 0C 27 [16:52:23]RasterBufferAndPrint [16:52:23]line [16:52:23]line [16:52:23]line [16:52:23]line [16:52:23]line [16:52:23]written 0, free lines is 3332 [16:52:23]MH_Cut [16:52:23]Write to MH i2c: D1 01 00 11 0C 01 EF [16:52:23]Write i2c OK [16:52:23]MH_I2C_Read... [16:52:23]Read from MH i2c: D1 [16:52:23]MH_I2C_Read... [16:52:23]Read from MH i2c: D1 01 00 [16:52:23]MH_I2C_Read... [16:52:23]Read from MH i2c: D1 01 00 11 0C 00 EE [16:52:23]Write to MH i2c: 01 00 00 12 0C 1E [16:52:23]Write i2c OK [16:52:23]MH_I2C_Read... [16:52:23]OFD Sender: No OFD packet to send [16:52:24]*** Cut start [16:52:24]*** Partial cut [16:52:24]*** CUTSNS_PIN = 1 [16:52:24]*** CUTSNS_PIN = 0 [16:52:24]*** Brake cut motor [16:52:24]Read from MH i2c: 01 [16:52:24]MH_I2C_Read... [16:52:24]*** Stop cut motor [16:52:24]*** Cut end [16:52:24]Read from MH i2c: 01 07 00 [16:52:24]MH_I2C_Read... [16:52:24]Read from MH i2c: 01 07 00 12 0C 00 00 00 00 00 FF 0F 33 [16:52:24]process_action close_receipt done [16:52:24]requested_data is exist [16:52:24]produce_requested_data [16:52:24]requested_item fm.sn is exist - process it [16:52:24]wFMCommunicate request_size=4 [16:52:24]MH_SAM_APDU [16:52:24]CAPDU: 80 11 00 00 [16:52:24]Write to MH i2c: E2 08 00 13 0C 80 11 00 00 00 00 00 00 99 [16:52:24]Write i2c OK [16:52:24]MH_I2C_Read... [16:52:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:52:24]Read from MH i2c: E2 [16:52:24]MH_I2C_Read... [16:52:24]Read from MH i2c: E2 17 00 [16:52:24]MH_I2C_Read... [16:52:24]Read from MH i2c: E2 17 00 13 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E5 [16:52:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:52:24]wFMCommunicate OK [16:52:24]requested_item fd.num is exist - process it [16:52:24]SAM_PROTO_GetFieldsCounters [16:52:24]wFMCommunicate request_size=4 [16:52:24]MH_SAM_APDU [16:52:24]CAPDU: 80 13 00 00 [16:52:24]Write to MH i2c: E2 08 00 14 0C 80 13 00 00 00 00 00 00 9C [16:52:24]Write i2c OK [16:52:24]MH_I2C_Read... [16:52:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:52:24]Read from MH i2c: E2 [16:52:24]MH_I2C_Read... [16:52:24]Read from MH i2c: E2 62 00 [16:52:24]MH_I2C_Read... [16:52:24]Read from MH i2c: E2 62 00 14 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 54 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 B5 [16:52:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 54 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:52:24]wFMCommunicate OK [16:52:24]SAM_PROTO_GetFieldsCounters done [16:52:24]requested_item shift.num is exist - process it [16:52:24]requested_item shift.opened is exist - process it [16:52:24]req_shift_opened [16:52:24]FM_GetShiftState [16:52:24]SAM_PROTO_GetShiftState [16:52:24]wFMCommunicate request_size=4 [16:52:24]MH_SAM_APDU [16:52:24]CAPDU: 80 13 01 00 [16:52:24]Write to MH i2c: E2 08 00 15 0C 80 13 01 00 00 00 00 00 9E [16:52:24]Write i2c OK [16:52:24]MH_I2C_Read... [16:52:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:52:25]Read from MH i2c: E2 [16:52:25]MH_I2C_Read... [16:52:25]Read from MH i2c: E2 0E 00 [16:52:25]MH_I2C_Read... [16:52:25]Read from MH i2c: E2 0E 00 15 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 2B [16:52:25]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:52:25]wFMCommunicate OK [16:52:25]SAM_PROTO_GetShiftState done [16:52:25]FM_GetShiftState done [16:52:25]req_shift_opened done [16:52:25]requested_item shift.open_date is exist - process it [16:52:25]req_shift_open_date [16:52:25]req_shift_open_date done [16:52:25]produce_requested_data done [16:52:25]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33364,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:52:25]process_action_free close_receipt [16:52:25]json_value_free [16:52:25]json_value_free done [16:52:25]process_json_proto returns [16:52:25]Send response to host [16:52:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33364,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:52:25]free response buf [16:52:25]execute_script done [16:52:25]execute_script returns [16:52:25]free content buf [16:52:25]Sock 9.Close socket [16:52:25]Sock 9.Thread stoped [16:52:28]OFD Sender: No OFD packet to send [16:52:33]OFD Sender: No OFD packet to send [16:52:38]OFD Sender: No OFD packet to send [16:52:43]OFD Sender: No OFD packet to send [16:52:48]OFD Sender: No OFD packet to send [16:52:53]OFD Sender: No OFD packet to send [16:52:58]OFD Sender: No OFD packet to send [16:53:03]OFD Sender: No OFD packet to send [16:53:08]OFD Sender: No OFD packet to send [16:53:13]OFD Sender: No OFD packet to send [16:53:18]OFD Sender: No OFD packet to send [16:53:23]OFD Sender: No OFD packet to send [16:53:28]OFD Sender: No OFD packet to send [16:53:33]OFD Sender: No OFD packet to send [16:53:38]OFD Sender: No OFD packet to send [16:53:43]OFD Sender: No OFD packet to send [16:53:48]OFD Sender: No OFD packet to send [16:53:53]OFD Sender: No OFD packet to send [16:53:58]OFD Sender: No OFD packet to send [16:54:03]OFD Sender: No OFD packet to send [16:54:08]OFD Sender: No OFD packet to send [16:54:13]OFD Sender: No OFD packet to send [16:54:15]accept exits with 7 [16:54:15]New connection [16:54:15]New thread 3066461540 created [16:54:15]Thread 3066604900 joined [16:54:15]Waiting for new connection... [16:54:15] Sock 7.Parse request [16:54:15]Sock 7.Check first char [16:54:15]Sock 7.First char is OK [16:54:15]request: POST /json_proto HTTP/1.0 [16:54:15]Method: POST [16:54:15]URL: /json_proto [16:54:15]Method is POST - this is cgi request [16:54:15]url: /json_proto [16:54:15]query_string will be loaded in cgi processing [16:54:15]execute_cgi json_proto POST (null) [16:54:15]execute_cgi path=json_proto method=POST [16:54:15]POST find Content-Length [16:54:15]Host: 172.17.35.196:8080 [16:54:15]Content-Length: 613 [16:54:15]Content-Type: application/json [16:54:15] [16:54:15]POST finish read [16:54:15]Found Content-Length = 613 [16:54:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169178", "tax_sys" : 0, "items" : [ { "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:15]execute_script... [16:54: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)169178", "tax_sys" : 0, "items" : [ { "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:15]POST & json_proto [16:54:15]process_json_proto [16:54:15]json parsed OK: [16:54:15]protocol is kg_v1.0 [16:54:15]action value=close_receipt [16:54:15]process_action close_receipt [16:54:15]cmd_close_receipt [16:54:15]MH_GetDate [16:54:15]Write to MH i2c: F0 00 00 16 0C 11 [16:54:15]Write i2c OK [16:54:15]MH_I2C_Read... [16:54:15]Read from MH i2c: F0 [16:54:15]MH_I2C_Read... [16:54:15]Read from MH i2c: F0 09 00 [16:54:15]MH_I2C_Read... [16:54:15]Read from MH i2c: F0 09 00 16 0C 00 B9 5F 91 66 AD 14 F4 65 43 [16:54:15]GetLastDocTimeStamp 1720803143 [16:54:15]current date 1720803257 [16:54:15]FM_GetShiftState [16:54:15]SAM_PROTO_GetShiftState [16:54:15]wFMCommunicate request_size=4 [16:54:15]MH_SAM_APDU [16:54:15]CAPDU: 80 13 01 00 [16:54:15]Write to MH i2c: E2 08 00 17 0C 80 13 01 00 00 00 00 00 A0 [16:54:15]Write i2c OK [16:54:15]MH_I2C_Read... [16:54:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:15]Read from MH i2c: E2 [16:54:15]MH_I2C_Read... [16:54:15]Read from MH i2c: E2 0E 00 [16:54:15]MH_I2C_Read... [16:54:15]Read from MH i2c: E2 0E 00 17 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 2D [16:54:15]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:54:15]wFMCommunicate OK [16:54:15]SAM_PROTO_GetShiftState done [16:54:15]FM_GetShiftState done [16:54:15]opened in 1720742935 [16:54:15]opened+sec_in_day 1720829335 [16:54:15]quantity*price = 15500 [16:54:15]sum+1 = 15501 [16:54:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 43 12.07.2024 16:54 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33365 ФПД: 148648548988184 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T165417&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33365&fm=148648548988184&tin=02508201610067®Number=0000000000093033&sum=15500 0 [16:54:16]StoreToDocumentArchive [16:54:16]shift 433 fd 33365 [16:54:16]save to /storage/0433/doc_00033365 [16:54:16]save last doc name /storage/0433/doc_00033365 to /storage/kkm_last_doc_name [16:54:16]save OK [16:54:16]Clear old archive folders... [16:54:16]ProcessDocumentItem done err = 0, tmpTLVsize=265 [16:54:16]tlvbuf is 00A45B10 [16:54:16]SAM_PROTO_ClearQueue [16:54:16]wFMCommunicate request_size=4 [16:54:16]MH_SAM_APDU [16:54:16]CAPDU: 80 09 00 00 [16:54:16]Write to MH i2c: E2 08 00 24 0C 80 09 00 00 00 00 00 00 A2 [16:54:16]Write i2c OK [16:54:16]MH_I2C_Read... [16:54:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:54:16]Read from MH i2c: E2 [16:54:16]MH_I2C_Read... [16:54:16]Read from MH i2c: E2 03 00 [16:54:16]MH_I2C_Read... [16:54:16]Read from MH i2c: E2 03 00 24 0C 00 90 00 A4 [16:54:16]RAPDU: 90 00 [16:54:16]wFMCommunicate OK [16:54:16]SAM_PROTO_ClearQueue done [16:54:16]KKMCreateOFDPacket [16:54:16]OFDProtocolAddRootSTLVToBuf [16:54:16]FM_MakeSignedData [16:54:16]FM_MakeSignedData [16:54:16]SAM_PROTO_SignData [16:54:16]wFMCommunicate request_size=4 [16:54:16]MH_SAM_APDU [16:54:16]CAPDU: 80 0D 01 02 [16:54:16]Write to MH i2c: E2 08 00 25 0C 80 0D 01 02 00 00 00 00 AA [16:54:16]Write i2c OK [16:54:16]MH_I2C_Read... [16:54:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:54:16]Read from MH i2c: E2 [16:54:16]MH_I2C_Read... [16:54:16]Read from MH i2c: E2 03 00 [16:54:16]MH_I2C_Read... [16:54:16]Read from MH i2c: E2 03 00 25 0C 00 90 00 A5 [16:54:16]RAPDU: 90 00 [16:54:16]wFMCommunicate OK [16:54:16]wFMCommunicate request_size=255 [16:54:16]MH_SAM_APDU [16:54:16]CAPDU: 80 0D 02 02 FA 03 00 09 01 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 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 B9 5F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 [16:54:16]Write to MH i2c: E2 02 01 26 0C 80 0D 02 02 FA 00 03 00 09 01 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 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 B9 5F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 00 00 40 [16:54:17]Write i2c OK [16:54:17]MH_I2C_Read... [16:54:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:17]Read from MH i2c: E2 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: E2 03 00 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: E2 03 00 26 0C 00 90 00 A6 [16:54:17]RAPDU: 90 00 [16:54:17]wFMCommunicate OK [16:54:17]wFMCommunicate request_size=24 [16:54:17]MH_SAM_APDU [16:54:17]CAPDU: 80 0D 02 02 13 34 10 04 04 00 55 82 00 00 35 04 06 00 87 31 EF F5 75 18 [16:54:17]Write to MH i2c: E2 1B 00 27 0C 80 0D 02 02 13 00 34 10 04 04 00 55 82 00 00 35 04 06 00 87 31 EF F5 75 18 00 00 5E [16:54:17]Write i2c OK [16:54:17]MH_I2C_Read... [16:54:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:17]Read from MH i2c: E2 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: E2 03 00 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: E2 03 00 27 0C 00 90 00 A7 [16:54:17]RAPDU: 90 00 [16:54:17]wFMCommunicate OK [16:54:17]wFMCommunicate request_size=4 [16:54:17]MH_SAM_APDU [16:54:17]CAPDU: 80 0D 03 02 [16:54:17]Write to MH i2c: E2 08 00 28 0C 80 0D 03 02 00 00 00 00 AF [16:54:17]Write i2c OK [16:54:17]MH_I2C_Read... [16:54:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:54:17]Read from MH i2c: E2 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: E2 0B 00 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: E2 0B 00 28 0C 00 E0 91 32 EA 10 A5 8A C5 90 00 41 [16:54:17]RAPDU: E0 91 32 EA 10 A5 8A C5 90 00 [16:54:17]wFMCommunicate OK [16:54:17]SAM_PROTO_SignData done [16:54:17]FM_MakeSignedData done [16:54:17]CreateOFDProtocolMessage [16:54:17]wFMCommunicate request_size=4 [16:54:17]MH_SAM_APDU [16:54:17]CAPDU: 80 11 00 00 [16:54:17]Write to MH i2c: E2 08 00 29 0C 80 11 00 00 00 00 00 00 AF [16:54:17]Write i2c OK [16:54:17]MH_I2C_Read... [16:54:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:17]Read from MH i2c: E2 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: E2 17 00 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: E2 17 00 29 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FB [16:54:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:54:17]wFMCommunicate OK [16:54:17]CreateOFDProtocolMessage done [16:54:17]OFDSenderStorePacket 33365 [16:54:17]StoreOFDPacket docnum=33365 [16:54:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 1D 01 00 00 CB B0 15 01 60 41 5A 03 01 00 03 00 09 01 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 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 B9 5F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 55 82 00 00 35 04 06 00 87 31 EF F5 75 18 E0 91 32 EA 10 A5 8A C5 [16:54:17]CheckFolder [16:54:17]dirname=/storage/ofd_packets [16:54:17]CheckFolder done [16:54:17]ProducePacketName [16:54:17]name=ofd_packets/00033365 [16:54:17]NVStorageSaveData ofd_packets/00033365 [16:54:17]File name is /storage/ofd_packets/00033365 [16:54:17]Write 315 bytes [16:54:17]NVStorageSaveData done [16:54:17]OFDSenderStorePacket done [16:54:17]KKMCreateOFDPacket done [16:54:17]NVStorageSaveData kkm_last_timestamp [16:54:17]File name is /storage/kkm_last_timestamp [16:54:17]Write 4 bytes [16:54:17]NVStorageSaveData done [16:54:17]ExternCall_PrintAddStr [16:54:17]wPrintStart [16:54:17]Write to MH i2c: 01 00 00 2A 0C 36 [16:54:17]Write i2c OK [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: 01 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: 01 07 00 [16:54:17]MH_I2C_Read... [16:54:17]Read from MH i2c: 01 07 00 2A 0C 00 00 00 00 00 FF 0F 4B [16:54:17]RasterBufferAndPrint [16:54:17]line Счет N : (3)169178 [16:54:17]line ИНН: 02508201610067 [16:54:17]line Контрольно-Кассовый Чек [16:54:17]line ПРОДАЖА [16:54:17]line Товар: 47803152 [16:54:17]line Сигареты Mevius Revo [16:54:17]line 1.000 * 155.00 [16:54:17]line = 155.00 [16:54:17]line НДС 12% НСП 1% [16:54:17]line > о реализуемом товаре [16:54:17]line ИТОГО: 155.00 [16:54:17]line НСП 1% : 1.37 [16:54:17]line НДС 12% : 16.46 [16:54:17]line Наличными: 155.00 [16:54:17]line Безнал.: 0.00 [16:54:17]line Место: АЗС № 77 "Партнер Нефть" [16:54:17]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:54:17]line СНО: Общий режим [16:54:17]line Чек 43 12.07.2024 16:54 [16:54:17]line Смена: 433 ФФД: 1.0 [16:54:17]line ЗНМ: 0300000122 [16:54:17]line РНМ: 0000000000093033 [16:54:17]line Версия ККМ: 001 [16:54:17]line ФМ: 0000000000875104 [16:54:17]line ФД: 33365 [16:54:17]line ФПД: 148648548988184 [16:54:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T165417&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33365&fm=148648548988184&tin=02508201610067®Number=0000000000093033&sum=15500 [16:54:17]OFD Sender: Processing packet 33365 [packets to send 6, broken 5] [16:54:17]ProducePacketName [16:54:17]name=ofd_packets/00033365 [16:54:17]OFD Sender: To server: pG, [16:54:17]CommunicateWithHost lk.salyk.kg:30040 [16:54:17]ConnectInit lk.salyk.kg [16:54:17]line 0 [16:54:17]written 0, free lines is 4095 [16:54:17]Connected sock=10 [16:54:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 1D 01 00 00 CB B0 15 01 60 41 5A 03 01 00 03 00 09 01 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 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 B9 5F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 55 82 00 00 35 04 06 00 87 31 EF F5 75 18 E0 91 32 EA 10 A5 8A C5 [16:54:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 C5 47 47 00 D3 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 55 82 00 00 F4 03 04 00 66 0A 91 66 B6 04 01 00 00 02 7C 18 EB 95 88 0E 4D [16:54:18]CommunicateWithHost err = 0 [16:54:18]CheckOFDResponse [16:54:18]1017 (14) - 77093643461234 [16:54:18]1041 (16) - 0000000000875104 [16:54:18]1040 (4) - 33365 [16:54:18]1012 (4) - 12.07.2024 10:50 [16:54:18]1206 (1) - 0 [16:54:18]OFD Sender: Remove packet 33365 [16:54:18]ProducePacketName [16:54:18]name=ofd_packets/00033365 [16:54:18]NVStorageDeleteData [16:54:18]Write to MH i2c: 01 00 00 52 0C 5E [16:54:18]Write i2c OK [16:54:18]MH_I2C_Read... [16:54:18]Read from MH i2c: 01 [16:54:18]MH_I2C_Read... [16:54:18]Read from MH i2c: 01 07 00 [16:54:18]MH_I2C_Read... [16:54:18]Read from MH i2c: 01 07 00 52 0C 00 00 00 00 00 00 0D 72 [16:54:18]RasterBufferAndPrint [16:54:18]line [16:54:18]line [16:54:18]line [16:54:18]line [16:54:18]line [16:54:18]written 0, free lines is 3334 [16:54:18]MH_Cut [16:54:18]Write to MH i2c: D1 01 00 59 0C 01 37 [16:54:18]Write i2c OK [16:54:18]MH_I2C_Read... [16:54:18]Read from MH i2c: D1 [16:54:18]MH_I2C_Read... [16:54:18]Read from MH i2c: D1 01 00 [16:54:18]MH_I2C_Read... [16:54:18]Read from MH i2c: D1 01 00 59 0C 00 36 [16:54:18]Write to MH i2c: 01 00 00 5A 0C 66 [16:54:18]Write i2c OK [16:54:18]MH_I2C_Read... [16:54:18]OFD Sender: No OFD packet to send [16:54:18]*** Cut start [16:54:18]*** Partial cut [16:54:18]*** CUTSNS_PIN = 1 [16:54:18]*** CUTSNS_PIN = 0 [16:54:19]*** Brake cut motor [16:54:19]Read from MH i2c: 01 [16:54:19]MH_I2C_Read... [16:54:19]*** Stop cut motor [16:54:19]*** Cut end [16:54:19]Read from MH i2c: 01 07 00 [16:54:19]MH_I2C_Read... [16:54:19]Read from MH i2c: 01 07 00 5A 0C 00 00 00 00 00 FF 0F 7B [16:54:19]process_action close_receipt done [16:54:19]requested_data is exist [16:54:19]produce_requested_data [16:54:19]requested_item fm.sn is exist - process it [16:54:19]wFMCommunicate request_size=4 [16:54:19]MH_SAM_APDU [16:54:19]CAPDU: 80 11 00 00 [16:54:19]Write to MH i2c: E2 08 00 5B 0C 80 11 00 00 00 00 00 00 E1 [16:54:19]Write i2c OK [16:54:19]MH_I2C_Read... [16:54:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:19]Read from MH i2c: E2 [16:54:19]MH_I2C_Read... [16:54:19]Read from MH i2c: E2 17 00 [16:54:19]MH_I2C_Read... [16:54:19]Read from MH i2c: E2 17 00 5B 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2D [16:54:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:54:19]wFMCommunicate OK [16:54:19]requested_item fd.num is exist - process it [16:54:19]SAM_PROTO_GetFieldsCounters [16:54:19]wFMCommunicate request_size=4 [16:54:19]MH_SAM_APDU [16:54:19]CAPDU: 80 13 00 00 [16:54:19]Write to MH i2c: E2 08 00 5C 0C 80 13 00 00 00 00 00 00 E4 [16:54:19]Write i2c OK [16:54:19]MH_I2C_Read... [16:54:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:54:19]Read from MH i2c: E2 [16:54:19]MH_I2C_Read... [16:54:19]Read from MH i2c: E2 62 00 [16:54:19]MH_I2C_Read... [16:54:19]Read from MH i2c: E2 62 00 5C 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 55 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 01 [16:54:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 55 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:54:19]wFMCommunicate OK [16:54:19]SAM_PROTO_GetFieldsCounters done [16:54:19]requested_item shift.num is exist - process it [16:54:19]requested_item shift.opened is exist - process it [16:54:19]req_shift_opened [16:54:19]FM_GetShiftState [16:54:19]SAM_PROTO_GetShiftState [16:54:19]wFMCommunicate request_size=4 [16:54:19]MH_SAM_APDU [16:54:19]CAPDU: 80 13 01 00 [16:54:19]Write to MH i2c: E2 08 00 5D 0C 80 13 01 00 00 00 00 00 E6 [16:54:19]Write i2c OK [16:54:19]MH_I2C_Read... [16:54:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:19]Read from MH i2c: E2 [16:54:19]MH_I2C_Read... [16:54:19]Read from MH i2c: E2 0E 00 [16:54:19]MH_I2C_Read... [16:54:19]Read from MH i2c: E2 0E 00 5D 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 73 [16:54:19]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:54:19]wFMCommunicate OK [16:54:19]SAM_PROTO_GetShiftState done [16:54:19]FM_GetShiftState done [16:54:19]req_shift_opened done [16:54:19]requested_item shift.open_date is exist - process it [16:54:19]req_shift_open_date [16:54:19]req_shift_open_date done [16:54:19]produce_requested_data done [16:54:19]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33365,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:54:19]process_action_free close_receipt [16:54:19]json_value_free [16:54:19]json_value_free done [16:54:19]process_json_proto returns [16:54:19]Send response to host [16:54:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33365,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:54:19]free response buf [16:54:19]execute_script done [16:54:19]execute_script returns [16:54:19]free content buf [16:54:19]Sock 7.Close socket [16:54:19]Sock 7.Thread stoped [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:45]accept exits with 9 [16:56:45]New connection [16:56:45]New thread 3066604900 created [16:56:45]Thread 3066461540 joined [16:56:45]Waiting for new connection... [16:56:45] Sock 9.Parse request [16:56:45]Sock 9.Check first char [16:56:45]Sock 9.First char is OK [16:56:45]request: POST /json_proto HTTP/1.0 [16:56:45]Method: POST [16:56:45]URL: /json_proto [16:56:45]Method is POST - this is cgi request [16:56:45]url: /json_proto [16:56:45]query_string will be loaded in cgi processing [16:56:45]execute_cgi json_proto POST (null) [16:56:45]execute_cgi path=json_proto method=POST [16:56:45]POST find Content-Length [16:56:45]Host: 172.17.35.196:8080 [16:56:45]Content-Length: 630 [16:56:45]Content-Type: application/json [16:56:45] [16:56:45]POST finish read [16:56:45]Found Content-Length = 630 [16:56:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169179", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:56:45]execute_script... [16:56:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169179", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:56:45]POST & json_proto [16:56:45]process_json_proto [16:56:45]json parsed OK: [16:56:45]protocol is kg_v1.0 [16:56:45]action value=close_receipt [16:56:45]process_action close_receipt [16:56:45]cmd_close_receipt [16:56:45]MH_GetDate [16:56:45]Write to MH i2c: F0 00 00 5E 0C 59 [16:56:45]Write i2c OK [16:56:45]MH_I2C_Read... [16:56:45]Read from MH i2c: F0 [16:56:45]MH_I2C_Read... [16:56:45]Read from MH i2c: F0 09 00 [16:56:45]MH_I2C_Read... [16:56:45]Read from MH i2c: F0 09 00 5E 0C 00 4E 60 91 66 AD 14 F4 65 21 [16:56:45]GetLastDocTimeStamp 1720803257 [16:56:45]current date 1720803406 [16:56:45]FM_GetShiftState [16:56:45]SAM_PROTO_GetShiftState [16:56:45]wFMCommunicate request_size=4 [16:56:45]MH_SAM_APDU [16:56:45]CAPDU: 80 13 01 00 [16:56:45]Write to MH i2c: E2 08 00 5F 0C 80 13 01 00 00 00 00 00 E8 [16:56:45]Write i2c OK [16:56:45]MH_I2C_Read... [16:56:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:56:45]Read from MH i2c: E2 [16:56:45]MH_I2C_Read... [16:56:45]Read from MH i2c: E2 0E 00 [16:56:45]MH_I2C_Read... [16:56:45]Read from MH i2c: E2 0E 00 5F 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 75 [16:56:45]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:56:45]wFMCommunicate OK [16:56:45]SAM_PROTO_GetShiftState done [16:56:45]FM_GetShiftState done [16:56:45]opened in 1720742935 [16:56:45]opened+sec_in_day 1720829335 [16:56:45]quantity*price = 5000 [16:56:45]sum+1 = 5001 [16:56:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 44 12.07.2024 16:56 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33366 ФПД: 188674768441957 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T165647&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33366&fm=188674768441957&tin=02508201610067®Number=0000000000093033&sum=5000 0 [16:56:46]StoreToDocumentArchive [16:56:46]shift 433 fd 33366 [16:56:46]save to /storage/0433/doc_00033366 [16:56:46]save last doc name /storage/0433/doc_00033366 to /storage/kkm_last_doc_name [16:56:46]save OK [16:56:46]Clear old archive folders... [16:56:46]ProcessDocumentItem done err = 0, tmpTLVsize=269 [16:56:46]tlvbuf is 00A1C330 [16:56:46]SAM_PROTO_ClearQueue [16:56:46]wFMCommunicate request_size=4 [16:56:46]MH_SAM_APDU [16:56:46]CAPDU: 80 09 00 00 [16:56:46]Write to MH i2c: E2 08 00 6C 0C 80 09 00 00 00 00 00 00 EA [16:56:46]Write i2c OK [16:56:46]MH_I2C_Read... [16:56:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:56:46]Read from MH i2c: E2 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 03 00 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 03 00 6C 0C 00 90 00 EC [16:56:46]RAPDU: 90 00 [16:56:46]wFMCommunicate OK [16:56:46]SAM_PROTO_ClearQueue done [16:56:46]KKMCreateOFDPacket [16:56:46]OFDProtocolAddRootSTLVToBuf [16:56:46]FM_MakeSignedData [16:56:46]FM_MakeSignedData [16:56:46]SAM_PROTO_SignData [16:56:46]wFMCommunicate request_size=4 [16:56:46]MH_SAM_APDU [16:56:46]CAPDU: 80 0D 01 02 [16:56:46]Write to MH i2c: E2 08 00 6D 0C 80 0D 01 02 00 00 00 00 F2 [16:56:46]Write i2c OK [16:56:46]MH_I2C_Read... [16:56:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:56:46]Read from MH i2c: E2 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 03 00 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 03 00 6D 0C 00 90 00 ED [16:56:46]RAPDU: 90 00 [16:56:46]wFMCommunicate OK [16:56:46]wFMCommunicate request_size=255 [16:56:46]MH_SAM_APDU [16:56:46]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 4F 60 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [16:56:46]Write to MH i2c: E2 02 01 6E 0C 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 4F 60 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 86 [16:56:46]Write i2c OK [16:56:46]MH_I2C_Read... [16:56:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:56:46]Read from MH i2c: E2 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 03 00 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 03 00 6E 0C 00 90 00 EE [16:56:46]RAPDU: 90 00 [16:56:46]wFMCommunicate OK [16:56:46]wFMCommunicate request_size=28 [16:56:46]MH_SAM_APDU [16:56:46]CAPDU: 80 0D 02 02 17 37 35 31 30 34 10 04 04 00 56 82 00 00 35 04 06 00 AB 99 44 8D 12 65 [16:56:46]Write to MH i2c: E2 1F 00 6F 0C 80 0D 02 02 17 00 37 35 31 30 34 10 04 04 00 56 82 00 00 35 04 06 00 AB 99 44 8D 12 65 00 00 DF [16:56:46]Write i2c OK [16:56:46]MH_I2C_Read... [16:56:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:56:46]Read from MH i2c: E2 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 03 00 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 03 00 6F 0C 00 90 00 EF [16:56:46]RAPDU: 90 00 [16:56:46]wFMCommunicate OK [16:56:46]wFMCommunicate request_size=4 [16:56:46]MH_SAM_APDU [16:56:46]CAPDU: 80 0D 03 02 [16:56:46]Write to MH i2c: E2 08 00 70 0C 80 0D 03 02 00 00 00 00 F7 [16:56:46]Write i2c OK [16:56:46]MH_I2C_Read... [16:56:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:56:46]Read from MH i2c: E2 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 0B 00 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 0B 00 70 0C 00 C6 6B F6 84 3C 20 E3 A3 90 00 85 [16:56:46]RAPDU: C6 6B F6 84 3C 20 E3 A3 90 00 [16:56:46]wFMCommunicate OK [16:56:46]SAM_PROTO_SignData done [16:56:46]FM_MakeSignedData done [16:56:46]CreateOFDProtocolMessage [16:56:46]wFMCommunicate request_size=4 [16:56:46]MH_SAM_APDU [16:56:46]CAPDU: 80 11 00 00 [16:56:46]Write to MH i2c: E2 08 00 71 0C 80 11 00 00 00 00 00 00 F7 [16:56:46]Write i2c OK [16:56:46]MH_I2C_Read... [16:56:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:56:46]Read from MH i2c: E2 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 17 00 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: E2 17 00 71 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 43 [16:56:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:56:46]wFMCommunicate OK [16:56:46]CreateOFDProtocolMessage done [16:56:46]OFDSenderStorePacket 33366 [16:56:46]StoreOFDPacket docnum=33366 [16:56:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 93 2B 19 01 30 03 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 4F 60 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 56 82 00 00 35 04 06 00 AB 99 44 8D 12 65 C6 6B F6 84 3C 20 E3 A3 [16:56:46]CheckFolder [16:56:46]dirname=/storage/ofd_packets [16:56:46]CheckFolder done [16:56:46]ProducePacketName [16:56:46]name=ofd_packets/00033366 [16:56:46]NVStorageSaveData ofd_packets/00033366 [16:56:46]File name is /storage/ofd_packets/00033366 [16:56:46]Write 319 bytes [16:56:46]NVStorageSaveData done [16:56:46]OFDSenderStorePacket done [16:56:46]KKMCreateOFDPacket done [16:56:46]NVStorageSaveData kkm_last_timestamp [16:56:46]File name is /storage/kkm_last_timestamp [16:56:46]Write 4 bytes [16:56:46]NVStorageSaveData done [16:56:46]ExternCall_PrintAddStr [16:56:46]wPrintStart [16:56:46]Write to MH i2c: 01 00 00 72 0C 7E [16:56:46]Write i2c OK [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: 01 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: 01 07 00 [16:56:46]MH_I2C_Read... [16:56:46]Read from MH i2c: 01 07 00 72 0C 00 00 00 00 00 FF 0F 93 [16:56:46]RasterBufferAndPrint [16:56:46]line Счет N : (3)169179 [16:56:46]line ИНН: 02508201610067 [16:56:46]line Контрольно-Кассовый Чек [16:56:46]line ПРОДАЖА [16:56:46]line Товар: 4700000160358 [16:56:46]line Вода Легенда 1л [16:56:46]line 1.000 * 50.00 [16:56:46]line = 50.00 [16:56:46]line НДС 12% НСП 1% [16:56:46]line > о реализуемом товаре [16:56:46]line ИТОГО: 50.00 [16:56:46]line НСП 1% : 0.44 [16:56:46]line НДС 12% : 5.31 [16:56:46]line Наличными: 50.00 [16:56:46]line Безнал.: 0.00 [16:56:46]line Место: АЗС № 77 "Партнер Нефть" [16:56:46]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [16:56:46]line СНО: Общий режим [16:56:46]line Чек 44 12.07.2024 16:56 [16:56:46]line Смена: 433 ФФД: 1.0 [16:56:46]line ЗНМ: 0300000122 [16:56:46]line РНМ: 0000000000093033 [16:56:46]line Версия ККМ: 001 [16:56:46]line ФМ: 0000000000875104 [16:56:46]line ФД: 33366 [16:56:46]line ФПД: 188674768441957 [16:56:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T165647&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33366&fm=188674768441957&tin=02508201610067®Number=0000000000093033&sum=5000 [16:56:47]OFD Sender: Processing packet 33366 [packets to send 6, broken 5] [16:56:47]ProducePacketName [16:56:47]name=ofd_packets/00033366 [16:56:47]OFD Sender: To server: pG, [16:56:47]CommunicateWithHost lk.salyk.kg:30040 [16:56:47]ConnectInit lk.salyk.kg [16:56:47]line 0 [16:56:47]written 0, free lines is 4095 [16:56:47]Connected sock=10 [16:56:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 93 2B 19 01 30 03 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 4F 60 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 56 82 00 00 35 04 06 00 AB 99 44 8D 12 65 C6 6B F6 84 3C 20 E3 A3 [16:56:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 76 B5 47 00 1E 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 38 37 35 31 30 34 10 04 04 00 56 82 00 00 F4 03 04 00 FB 0A 91 66 B6 04 01 00 00 BF 9B CA 66 9D 7A D9 C6 [16:56:47]CommunicateWithHost err = 0 [16:56:47]CheckOFDResponse [16:56:47]1017 (14) - 77093643461234 [16:56:47]1041 (16) - 0000000000875104 [16:56:47]1040 (4) - 33366 [16:56:47]1012 (4) - 12.07.2024 10:52 [16:56:47]1206 (1) - 0 [16:56:47]OFD Sender: Remove packet 33366 [16:56:47]ProducePacketName [16:56:47]name=ofd_packets/00033366 [16:56:47]NVStorageDeleteData [16:56:47]Write to MH i2c: 01 00 00 9A 0C A6 [16:56:47]Write i2c OK [16:56:47]MH_I2C_Read... [16:56:47]Read from MH i2c: 01 [16:56:47]MH_I2C_Read... [16:56:47]Read from MH i2c: 01 07 00 [16:56:47]MH_I2C_Read... [16:56:47]Read from MH i2c: 01 07 00 9A 0C 00 00 00 00 00 06 0D C0 [16:56:47]RasterBufferAndPrint [16:56:47]line [16:56:47]line [16:56:47]line [16:56:47]line [16:56:47]line [16:56:47]written 0, free lines is 3340 [16:56:47]MH_Cut [16:56:47]Write to MH i2c: D1 01 00 A1 0C 01 7F [16:56:47]Write i2c OK [16:56:47]MH_I2C_Read... [16:56:47]Read from MH i2c: D1 [16:56:47]MH_I2C_Read... [16:56:47]Read from MH i2c: D1 01 00 [16:56:47]MH_I2C_Read... [16:56:47]Read from MH i2c: D1 01 00 A1 0C 00 7E [16:56:47]Write to MH i2c: 01 00 00 A2 0C AE [16:56:47]Write i2c OK [16:56:47]MH_I2C_Read... [16:56:48]OFD Sender: No OFD packet to send [16:56:48]*** Cut start [16:56:48]*** Partial cut [16:56:48]*** CUTSNS_PIN = 1 [16:56:48]*** CUTSNS_PIN = 0 [16:56:48]*** Brake cut motor [16:56:49]Read from MH i2c: 01 [16:56:49]MH_I2C_Read... [16:56:49]*** Stop cut motor [16:56:49]*** Cut end [16:56:49]Read from MH i2c: 01 07 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: 01 07 00 A2 0C 00 00 00 00 00 FF 0F C3 [16:56:49]process_action close_receipt done [16:56:49]requested_data is exist [16:56:49]produce_requested_data [16:56:49]requested_item fm.sn is exist - process it [16:56:49]wFMCommunicate request_size=4 [16:56:49]MH_SAM_APDU [16:56:49]CAPDU: 80 11 00 00 [16:56:49]Write to MH i2c: E2 08 00 A3 0C 80 11 00 00 00 00 00 00 29 [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 17 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 17 00 A3 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 75 [16:56:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [16:56:49]wFMCommunicate OK [16:56:49]requested_item fd.num is exist - process it [16:56:49]SAM_PROTO_GetFieldsCounters [16:56:49]wFMCommunicate request_size=4 [16:56:49]MH_SAM_APDU [16:56:49]CAPDU: 80 13 00 00 [16:56:49]Write to MH i2c: E2 08 00 A4 0C 80 13 00 00 00 00 00 00 2C [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 62 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 62 00 A4 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 56 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [16:56:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 56 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:56:49]wFMCommunicate OK [16:56:49]SAM_PROTO_GetFieldsCounters done [16:56:49]requested_item shift.num is exist - process it [16:56:49]requested_item shift.opened is exist - process it [16:56:49]req_shift_opened [16:56:49]FM_GetShiftState [16:56:49]SAM_PROTO_GetShiftState [16:56:49]wFMCommunicate request_size=4 [16:56:49]MH_SAM_APDU [16:56:49]CAPDU: 80 13 01 00 [16:56:49]Write to MH i2c: E2 08 00 A5 0C 80 13 01 00 00 00 00 00 2E [16:56:49]Write i2c OK [16:56:49]MH_I2C_Read... [16:56:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:56:49]Read from MH i2c: E2 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 0E 00 [16:56:49]MH_I2C_Read... [16:56:49]Read from MH i2c: E2 0E 00 A5 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 BB [16:56:49]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [16:56:49]wFMCommunicate OK [16:56:49]SAM_PROTO_GetShiftState done [16:56:49]FM_GetShiftState done [16:56:49]req_shift_opened done [16:56:49]requested_item shift.open_date is exist - process it [16:56:49]req_shift_open_date [16:56:49]req_shift_open_date done [16:56:49]produce_requested_data done [16:56:49]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33366,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [16:56:49]process_action_free close_receipt [16:56:49]json_value_free [16:56:49]json_value_free done [16:56:49]process_json_proto returns [16:56:49]Send response to host [16:56:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33366,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [16:56:49]free response buf [16:56:49]execute_script done [16:56:49]execute_script returns [16:56:49]free content buf [16:56:49]Sock 9.Close socket [16:56:49]Sock 9.Thread stoped [16:56:53]OFD Sender: No OFD packet to send [16:56:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:48]OFD Sender: No OFD packet to send [16:57:53]OFD Sender: No OFD packet to send [16:57:58]OFD Sender: No OFD packet to send [16:58:03]OFD Sender: No OFD packet to send [16:58:08]OFD Sender: No OFD packet to send [16:58:13]OFD Sender: No OFD packet to send [16:58:18]OFD Sender: No OFD packet to send [16:58:23]OFD Sender: No OFD packet to send [16:58:28]OFD Sender: No OFD packet to send [16:58:33]OFD Sender: No OFD packet to send [16:58:38]OFD Sender: No OFD packet to send [16:58:43]OFD Sender: No OFD packet to send [16:58:48]OFD Sender: No OFD packet to send [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:33]OFD Sender: No OFD packet to send [16:59:38]OFD Sender: No OFD packet to send [16:59:43]OFD Sender: No OFD packet to send [16:59:48]OFD Sender: No OFD packet to send [16:59:53]OFD Sender: No OFD packet to send [16:59:58]OFD Sender: No OFD packet to send [17:00:03]OFD Sender: No OFD packet to send [17:00:08]OFD Sender: No OFD packet to send [17:00:13]OFD Sender: No OFD packet to send [17:00:18]OFD Sender: No OFD packet to send [17:00:23]OFD Sender: No OFD packet to send [17:00:28]OFD Sender: No OFD packet to send [17:00:33]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:58]OFD Sender: No OFD packet to send [17:01:03]OFD Sender: No OFD packet to send [17:01:08]OFD Sender: No OFD packet to send [17:01:13]OFD Sender: No OFD packet to send [17:01:18]OFD Sender: No OFD packet to send [17:01:23]OFD Sender: No OFD packet to send [17:01:28]OFD Sender: No OFD packet to send [17:01:33]OFD Sender: No OFD packet to send [17:01:38]OFD Sender: No OFD packet to send [17:01:43]OFD Sender: No OFD packet to send [17:01:48]OFD Sender: No OFD packet to send [17:01:53]OFD Sender: No OFD packet to send [17:01:58]OFD Sender: No OFD packet to send [17:02:03]OFD Sender: No OFD packet to send [17:02:08]OFD Sender: No OFD packet to send [17:02:13]OFD Sender: No OFD packet to send [17:02:18]OFD Sender: No OFD packet to send [17:02:23]OFD Sender: No OFD packet to send [17:02:28]OFD Sender: No OFD packet to send [17:02:33]OFD Sender: No OFD packet to send [17:02:38]OFD Sender: No OFD packet to send [17:02:43]OFD Sender: No OFD packet to send [17:02:48]OFD Sender: No OFD packet to send [17:02:53]OFD Sender: No OFD packet to send [17:02:58]OFD Sender: No OFD packet to send [17:03:03]OFD Sender: No OFD packet to send [17:03:08]OFD Sender: No OFD packet to send [17:03:13]OFD Sender: No OFD packet to send [17:03:18]OFD Sender: No OFD packet to send [17:03:23]OFD Sender: No OFD packet to send [17:03:28]OFD Sender: No OFD packet to send [17:03:33]OFD Sender: No OFD packet to send [17:03:38]OFD Sender: No OFD packet to send [17:03:43]OFD Sender: No OFD packet to send [17:03:48]OFD Sender: No OFD packet to send [17:03:53]OFD Sender: No OFD packet to send [17:03:58]OFD Sender: No OFD packet to send [17:04:03]OFD Sender: No OFD packet to send [17:04:08]OFD Sender: No OFD packet to send [17:04:13]OFD Sender: No OFD packet to send [17:04:18]OFD Sender: No OFD packet to send [17:04:23]OFD Sender: No OFD packet to send [17:04:28]OFD Sender: No OFD packet to send [17:04:33]OFD Sender: No OFD packet to send [17:04:38]OFD Sender: No OFD packet to send [17:04:43]OFD Sender: No OFD packet to send [17:04:48]OFD Sender: No OFD packet to send [17:04:53]OFD Sender: No OFD packet to send [17:04:58]OFD Sender: No OFD packet to send [17:05:03]OFD Sender: No OFD packet to send [17:05:08]OFD Sender: No OFD packet to send [17:05:13]OFD Sender: No OFD packet to send [17:05:18]OFD Sender: No OFD packet to send [17:05:23]OFD Sender: No OFD packet to send [17:05:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:08]OFD Sender: No OFD packet to send [17:08:13]OFD Sender: No OFD packet to send [17:08:18]OFD Sender: No OFD packet to send [17:08:23]OFD Sender: No OFD packet to send [17:08:28]OFD Sender: No OFD packet to send [17:08:33]OFD Sender: No OFD packet to send [17:08:38]OFD Sender: No OFD packet to send [17:08:43]OFD Sender: No OFD packet to send [17:08:48]OFD Sender: No OFD packet to send [17:08:53]OFD Sender: No OFD packet to send [17:08:58]OFD Sender: No OFD packet to send [17:09:03]OFD Sender: No OFD packet to send [17:09:08]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:28]OFD Sender: No OFD packet to send [17:11:33]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:08]OFD Sender: No OFD packet to send [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:14:08]OFD Sender: No OFD packet to send [17:14:13]OFD Sender: No OFD packet to send [17:14:18]OFD Sender: No OFD packet to send [17:14:23]OFD Sender: No OFD packet to send [17:14:28]OFD Sender: No OFD packet to send [17:14:33]OFD Sender: No OFD packet to send [17:14:38]OFD Sender: No OFD packet to send [17:14:43]OFD Sender: No OFD packet to send [17:14:48]OFD Sender: No OFD packet to send [17:14:53]OFD Sender: No OFD packet to send [17:14:58]OFD Sender: No OFD packet to send [17:15:03]OFD Sender: No OFD packet to send [17:15:08]OFD Sender: No OFD packet to send [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:38]OFD Sender: No OFD packet to send [17:15:43]OFD Sender: No OFD packet to send [17:15:48]OFD Sender: No OFD packet to send [17:15:53]OFD Sender: No OFD packet to send [17:15:58]OFD Sender: No OFD packet to send [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:18]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:24]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:39]OFD Sender: No OFD packet to send [17:20:44]OFD Sender: No OFD packet to send [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:22:06]ConnectInit Can't connect to host [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]accept exits with 7 [17:22:44]New connection [17:22:44]New thread 3066461540 created [17:22:44]Thread 3066604900 joined [17:22:44]Waiting for new connection... [17:22:44] Sock 7.Parse request [17:22:44]Sock 7.Check first char [17:22:44]Sock 7.First char is OK [17:22:44]request: POST /json_proto HTTP/1.0 [17:22:44]Method: POST [17:22:44]URL: /json_proto [17:22:44]Method is POST - this is cgi request [17:22:44]url: /json_proto [17:22:44]query_string will be loaded in cgi processing [17:22:44]execute_cgi json_proto POST (null) [17:22:44]execute_cgi path=json_proto method=POST [17:22:44]POST find Content-Length [17:22:44]Host: 172.17.35.196:8080 [17:22:44]Content-Length: 215 [17:22:44]Content-Type: application/json [17:22:44] [17:22:44]POST finish read [17:22:44]Found Content-Length = 215 [17:22:44]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" ] } } [17:22:44]execute_script... [17:22:44]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" ] } } [17:22:44]POST & json_proto [17:22:44]process_json_proto [17:22:44]json parsed OK: [17:22:44]protocol is kg_v1.0 [17:22:44]action value=get_value [17:22:44]process_action get_value [17:22:44]cmd_get_value [17:22:44]process_action get_value done [17:22:44]requested_data is exist [17:22:44]produce_requested_data [17:22:44]requested_item kkm.sn is exist - process it [17:22:44]requested_item kkm.ver is exist - process it [17:22:44]requested_item fm.sn is exist - process it [17:22:44]wFMCommunicate request_size=4 [17:22:44]MH_SAM_APDU [17:22:44]CAPDU: 80 11 00 00 [17:22:44]Write to MH i2c: E2 08 00 A6 0C 80 11 00 00 00 00 00 00 2C [17:22:44]Write i2c OK [17:22:44]MH_I2C_Read... [17:22:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:22:44]Read from MH i2c: E2 [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: E2 17 00 [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: E2 17 00 A6 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 78 [17:22:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:22:44]wFMCommunicate OK [17:22:44]requested_item fd.num is exist - process it [17:22:44]SAM_PROTO_GetFieldsCounters [17:22:44]wFMCommunicate request_size=4 [17:22:44]MH_SAM_APDU [17:22:44]CAPDU: 80 13 00 00 [17:22:44]Write to MH i2c: E2 08 00 A7 0C 80 13 00 00 00 00 00 00 2F [17:22:44]Write i2c OK [17:22:44]MH_I2C_Read... [17:22:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:22:44]Read from MH i2c: E2 [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: E2 62 00 [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: E2 62 00 A7 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 56 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [17:22:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 56 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:22:44]wFMCommunicate OK [17:22:44]SAM_PROTO_GetFieldsCounters done [17:22:44]requested_item shift.num is exist - process it [17:22:44]requested_item shift.opened is exist - process it [17:22:44]req_shift_opened [17:22:44]FM_GetShiftState [17:22:44]SAM_PROTO_GetShiftState [17:22:44]wFMCommunicate request_size=4 [17:22:44]MH_SAM_APDU [17:22:44]CAPDU: 80 13 01 00 [17:22:44]Write to MH i2c: E2 08 00 A8 0C 80 13 01 00 00 00 00 00 31 [17:22:44]Write i2c OK [17:22:44]MH_I2C_Read... [17:22:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:44]Read from MH i2c: E2 [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: E2 0E 00 [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: E2 0E 00 A8 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 BE [17:22:44]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [17:22:44]wFMCommunicate OK [17:22:44]SAM_PROTO_GetShiftState done [17:22:44]FM_GetShiftState done [17:22:44]req_shift_opened done [17:22:44]requested_item shift.open_date is exist - process it [17:22:44]req_shift_open_date [17:22:44]req_shift_open_date done [17:22:44]produce_requested_data done [17:22:44]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33366,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [17:22:44]process_action_free get_value [17:22:44]json_value_free [17:22:44]json_value_free done [17:22:44]process_json_proto returns [17:22:44]Send response to host [17:22:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33366,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [17:22:44]free response buf [17:22:44]execute_script done [17:22:44]execute_script returns [17:22:44]free content buf [17:22:44]Sock 7.Close socket [17:22:44]Sock 7.Thread stoped [17:22:44]OFD Sender: No OFD packet to send [17:22:47]accept exits with 9 [17:22:47]New connection [17:22:47]New thread 3066604900 created [17:22:47]Thread 3066461540 joined [17:22:47]Waiting for new connection... [17:22:47] Sock 9.Parse request [17:22:47]Sock 9.Check first char [17:22:47]Sock 9.First char is OK [17:22:47]request: POST /json_proto HTTP/1.0 [17:22:47]Method: POST [17:22:47]URL: /json_proto [17:22:47]Method is POST - this is cgi request [17:22:47]url: /json_proto [17:22:47]query_string will be loaded in cgi processing [17:22:47]execute_cgi json_proto POST (null) [17:22:47]execute_cgi path=json_proto method=POST [17:22:47]POST find Content-Length [17:22:47]Host: 172.17.35.196:8080 [17:22:47]Content-Length: 331 [17:22:47]Content-Type: application/json [17:22:47] [17:22:47]POST finish read [17:22:47]Found Content-Length = 331 [17:22:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:22:47]execute_script... [17:22:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:22:47]POST & json_proto [17:22:47]process_json_proto [17:22:47]json parsed OK: [17:22:47]protocol is kg_v1.0 [17:22:47]action value=get_value [17:22:47]process_action get_value [17:22:47]cmd_get_value [17:22:47]process_action get_value done [17:22:47]requested_data is exist [17:22:47]produce_requested_data [17:22:47]requested_item fm.sale.total is exist - process it [17:22:47]SAM_PROTO_GetFMData [17:22:47]wFMCommunicate request_size=4 [17:22:47]MH_SAM_APDU [17:22:47]CAPDU: 80 13 03 00 [17:22:47]Write to MH i2c: E2 08 00 A9 0C 80 13 03 00 00 00 00 00 34 [17:22:47]Write i2c OK [17:22:47]MH_I2C_Read... [17:22:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:22:47]Read from MH i2c: E2 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: E2 FD 00 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: E2 FD 00 A9 0C 00 C4 04 85 04 C0 04 6E 04 04 00 F4 7E 00 00 69 04 A0 00 6F 04 04 00 13 7E 00 00 B1 04 04 00 C6 09 9F 3F 70 04 04 00 6C AA F1 34 72 04 04 00 5A 5F AD 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 3E C0 C1 06 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 BB 19 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 A7 [17:22:47]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 F4 7E 00 00 69 04 A0 00 6F 04 04 00 13 7E 00 00 B1 04 04 00 C6 09 9F 3F 70 04 04 00 6C AA F1 34 72 04 04 00 5A 5F AD 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 3E C0 C1 06 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 BB 19 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [17:22:47]wFMCommunicate OK [17:22:47]wFMCommunicate request_size=4 [17:22:47]MH_SAM_APDU [17:22:47]CAPDU: 80 17 00 00 [17:22:47]Write to MH i2c: E2 08 00 AA 0C 80 17 00 00 00 00 00 00 36 [17:22:47]Write i2c OK [17:22:47]MH_I2C_Read... [17:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:22:48]Read from MH i2c: E2 [17:22:48]MH_I2C_Read... [17:22:48]Read from MH i2c: E2 FD 00 [17:22:48]MH_I2C_Read... [17:22:48]Read from MH i2c: E2 FD 00 AA 0C 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 F3 [17:22:48]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:22:48]wFMCommunicate OK [17:22:48]wFMCommunicate request_size=4 [17:22:48]MH_SAM_APDU [17:22:48]CAPDU: 80 17 00 00 [17:22:48]Write to MH i2c: E2 08 00 AB 0C 80 17 00 00 00 00 00 00 37 [17:22:48]Write i2c OK [17:22:48]MH_I2C_Read... [17:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:22:48]Read from MH i2c: E2 [17:22:48]MH_I2C_Read... [17:22:48]Read from MH i2c: E2 FD 00 [17:22:48]MH_I2C_Read... [17:22:48]Read from MH i2c: E2 FD 00 AB 0C 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [17:22:48]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:22:48]wFMCommunicate OK [17:22:48]wFMCommunicate request_size=4 [17:22:48]MH_SAM_APDU [17:22:48]CAPDU: 80 17 00 00 [17:22:48]Write to MH i2c: E2 08 00 AC 0C 80 17 00 00 00 00 00 00 38 [17:22:48]Write i2c OK [17:22:48]MH_I2C_Read... [17:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:22:48]Read from MH i2c: E2 [17:22:48]MH_I2C_Read... [17:22:48]Read from MH i2c: E2 FD 00 [17:22:48]MH_I2C_Read... [17:22:48]Read from MH i2c: E2 FD 00 AC 0C 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [17:22:48]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:22:48]wFMCommunicate OK [17:22:48]wFMCommunicate request_size=4 [17:22:48]MH_SAM_APDU [17:22:48]CAPDU: 80 17 00 00 [17:22:48]Write to MH i2c: E2 08 00 AD 0C 80 17 00 00 00 00 00 00 39 [17:22:48]Write i2c OK [17:22:48]MH_I2C_Read... [17:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:22:49]Read from MH i2c: E2 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 E1 00 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 E1 00 AD 0C 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 27 [17:22:49]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:22:49]wFMCommunicate OK [17:22:49]SAM_PROTO_GetFMData done [17:22:49]requested_item fm.sale_refund.total is exist - process it [17:22:49]requested_item fm.buy.total is exist - process it [17:22:49]requested_item shift.sale.total is exist - process it [17:22:49]SAM_PROTO_GetShiftData [17:22:49]wFMCommunicate request_size=4 [17:22:49]MH_SAM_APDU [17:22:49]CAPDU: 80 13 02 00 [17:22:49]Write to MH i2c: E2 08 00 AE 0C 80 13 02 00 00 00 00 00 38 [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:49]OFD Sender: No OFD packet to send [17:22:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:22:49]Read from MH i2c: E2 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 FD 00 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 FD 00 AE 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 26 21 16 70 04 03 00 D4 27 0E 72 04 03 00 52 F9 07 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 A3 59 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 1F 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 58 [17:22:49]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 26 21 16 70 04 03 00 D4 27 0E 72 04 03 00 52 F9 07 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 A3 59 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 1F 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [17:22:49]wFMCommunicate OK [17:22:49]wFMCommunicate request_size=4 [17:22:49]MH_SAM_APDU [17:22:49]CAPDU: 80 17 00 00 [17:22:49]Write to MH i2c: E2 08 00 AF 0C 80 17 00 00 00 00 00 00 3B [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:22:49]Read from MH i2c: E2 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 FD 00 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 FD 00 AF 0C 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 5D [17:22:49]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 [17:22:49]wFMCommunicate OK [17:22:49]wFMCommunicate request_size=4 [17:22:49]MH_SAM_APDU [17:22:49]CAPDU: 80 17 00 00 [17:22:49]Write to MH i2c: E2 08 00 B0 0C 80 17 00 00 00 00 00 00 3C [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 FD 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 FD 00 B0 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 [17:22:50]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 [17:22:50]wFMCommunicate OK [17:22:50]wFMCommunicate request_size=4 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 17 00 00 [17:22:50]Write to MH i2c: E2 08 00 B1 0C 80 17 00 00 00 00 00 00 3D [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 FD 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 FD 00 B1 0C 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 AF [17:22:50]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 [17:22:50]wFMCommunicate OK [17:22:50]wFMCommunicate request_size=4 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 17 00 00 [17:22:50]Write to MH i2c: E2 08 00 B2 0C 80 17 00 00 00 00 00 00 3E [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 CB 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 CB 00 B2 0C 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 27 [17:22:50]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 [17:22:50]wFMCommunicate OK [17:22:50]SAM_PROTO_GetShiftData done [17:22:50]requested_item shift.sale.total_cash is exist - process it [17:22:50]requested_item shift.sale_refund.total is exist - process it [17:22:50]requested_item shift.sale_refund.total_cash is exist - process it [17:22:50]requested_item shift.buy.total is exist - process it [17:22:50]requested_item shift.buy.total_cash is exist - process it [17:22:50]produce_requested_data done [17:22:50]produce_requested_data return {"fm.sale.total":10673873.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":14502.78,"shift.sale.total_cash":9277.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} [17:22:50]process_action_free get_value [17:22:50]json_value_free [17:22:50]json_value_free done [17:22:50]process_json_proto returns [17:22:50]Send response to host [17:22:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10673873.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":14502.78,"shift.sale.total_cash":9277.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}}} [17:22:50]free response buf [17:22:50]execute_script done [17:22:50]execute_script returns [17:22:50]free content buf [17:22:50]Sock 9.Close socket [17:22:50]Sock 9.Thread stoped [17:22:54]OFD Sender: No OFD packet to send [17:22:59]OFD Sender: No OFD packet to send [17:23:04]OFD Sender: No OFD packet to send [17:23:09]OFD Sender: No OFD packet to send [17:23:14]OFD Sender: No OFD packet to send [17:23:19]OFD Sender: No OFD packet to send [17:23:24]OFD Sender: No OFD packet to send [17:23:29]OFD Sender: No OFD packet to send [17:23:34]OFD Sender: No OFD packet to send [17:23:39]OFD Sender: No OFD packet to send [17:23:44]OFD Sender: No OFD packet to send [17:23:49]OFD Sender: No OFD packet to send [17:23:54]OFD Sender: No OFD packet to send [17:23:59]OFD Sender: No OFD packet to send [17:24:04]OFD Sender: No OFD packet to send [17:24:09]OFD Sender: No OFD packet to send [17:24:14]OFD Sender: No OFD packet to send [17:24:19]OFD Sender: No OFD packet to send [17:24:24]OFD Sender: No OFD packet to send [17:24:29]OFD Sender: No OFD packet to send [17:24:34]OFD Sender: No OFD packet to send [17:24:39]OFD Sender: No OFD packet to send [17:24:44]OFD Sender: No OFD packet to send [17:24:49]OFD Sender: No OFD packet to send [17:24:54]OFD Sender: No OFD packet to send [17:24:59]OFD Sender: No OFD packet to send [17:25:04]OFD Sender: No OFD packet to send [17:25:09]OFD Sender: No OFD packet to send [17:25:14]OFD Sender: No OFD packet to send [17:25:19]OFD Sender: No OFD packet to send [17:25:24]OFD Sender: No OFD packet to send [17:25:29]OFD Sender: No OFD packet to send [17:25:34]OFD Sender: No OFD packet to send [17:25:39]OFD Sender: No OFD packet to send [17:25:44]OFD Sender: No OFD packet to send [17:25:49]OFD Sender: No OFD packet to send [17:25:54]OFD Sender: No OFD packet to send [17:25:59]OFD Sender: No OFD packet to send [17:26:04]OFD Sender: No OFD packet to send [17:26:09]OFD Sender: No OFD packet to send [17:26:14]OFD Sender: No OFD packet to send [17:26:19]OFD Sender: No OFD packet to send [17:26:24]OFD Sender: No OFD packet to send [17:26:29]OFD Sender: No OFD packet to send [17:26:34]OFD Sender: No OFD packet to send [17:26:39]OFD Sender: No OFD packet to send [17:26:44]OFD Sender: No OFD packet to send [17:26:49]OFD Sender: No OFD packet to send [17:26:54]OFD Sender: No OFD packet to send [17:26:59]OFD Sender: No OFD packet to send [17:27:04]OFD Sender: No OFD packet to send [17:27:09]OFD Sender: No OFD packet to send [17:27:14]OFD Sender: No OFD packet to send [17:27:19]OFD Sender: No OFD packet to send [17:27:24]OFD Sender: No OFD packet to send [17:27:29]OFD Sender: No OFD packet to send [17:27:34]OFD Sender: No OFD packet to send [17:27:39]OFD Sender: No OFD packet to send [17:27:44]OFD Sender: No OFD packet to send [17:27:49]OFD Sender: No OFD packet to send [17:27:54]OFD Sender: No OFD packet to send [17:27:59]OFD Sender: No OFD packet to send [17:28:04]OFD Sender: No OFD packet to send [17:28:09]OFD Sender: No OFD packet to send [17:28:14]OFD Sender: No OFD packet to send [17:28:19]OFD Sender: No OFD packet to send [17:28:24]OFD Sender: No OFD packet to send [17:28:26]accept exits with 7 [17:28:26]New connection [17:28:26]New thread 3066461540 created [17:28:26]Thread 3066604900 joined [17:28:26]Waiting for new connection... [17:28:26] Sock 7.Parse request [17:28:26]Sock 7.Check first char [17:28:26]Sock 7.First char is OK [17:28:26]request: POST /json_proto HTTP/1.0 [17:28:26]Method: POST [17:28:26]URL: /json_proto [17:28:26]Method is POST - this is cgi request [17:28:26]url: /json_proto [17:28:26]query_string will be loaded in cgi processing [17:28:26]execute_cgi json_proto POST (null) [17:28:26]execute_cgi path=json_proto method=POST [17:28:26]POST find Content-Length [17:28:26]Host: 172.17.35.196:8080 [17:28:26]Content-Length: 821 [17:28:26]Content-Type: application/json [17:28:26] [17:28:26]POST finish read [17:28:26]Found Content-Length = 821 [17:28:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169180", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:28:26]execute_script... [17:28: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)169180", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:28:26]POST & json_proto [17:28:26]process_json_proto [17:28:26]json parsed OK: [17:28:26]protocol is kg_v1.0 [17:28:26]action value=close_receipt [17:28:26]process_action close_receipt [17:28:26]cmd_close_receipt [17:28:26]MH_GetDate [17:28:26]Write to MH i2c: F0 00 00 B3 0C AE [17:28:26]Write i2c OK [17:28:26]MH_I2C_Read... [17:28:26]Read from MH i2c: F0 [17:28:26]MH_I2C_Read... [17:28:26]Read from MH i2c: F0 09 00 [17:28:26]MH_I2C_Read... [17:28:26]Read from MH i2c: F0 09 00 B3 0C 00 BC 67 91 66 AD 14 F4 65 EB [17:28:26]GetLastDocTimeStamp 1720803407 [17:28:26]current date 1720805308 [17:28:26]FM_GetShiftState [17:28:26]SAM_PROTO_GetShiftState [17:28:26]wFMCommunicate request_size=4 [17:28:26]MH_SAM_APDU [17:28:26]CAPDU: 80 13 01 00 [17:28:26]Write to MH i2c: E2 08 00 B4 0C 80 13 01 00 00 00 00 00 3D [17:28:26]Write i2c OK [17:28:26]MH_I2C_Read... [17:28:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:28:26]Read from MH i2c: E2 [17:28:26]MH_I2C_Read... [17:28:26]Read from MH i2c: E2 0E 00 [17:28:26]MH_I2C_Read... [17:28:26]Read from MH i2c: E2 0E 00 B4 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 CA [17:28:26]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [17:28:26]wFMCommunicate OK [17:28:26]SAM_PROTO_GetShiftState done [17:28:26]FM_GetShiftState done [17:28:26]opened in 1720742935 [17:28:26]opened+sec_in_day 1720829335 [17:28:26]quantity*price = 13500 [17:28:26]sum+1 = 13501 [17:28:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 45 12.07.2024 17:28 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33367 ФПД: 263414891025116 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T172828&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33367&fm=263414891025116&tin=02508201610067®Number=0000000000093033&sum=13500 0 [17:28:27]StoreToDocumentArchive [17:28:27]shift 433 fd 33367 [17:28:27]save to /storage/0433/doc_00033367 [17:28:27]save last doc name /storage/0433/doc_00033367 to /storage/kkm_last_doc_name [17:28:27]save OK [17:28:27]Clear old archive folders... [17:28:27]ProcessDocumentItem done err = 0, tmpTLVsize=272 [17:28:27]tlvbuf is 00A46020 [17:28:27]SAM_PROTO_ClearQueue [17:28:27]wFMCommunicate request_size=4 [17:28:27]MH_SAM_APDU [17:28:27]CAPDU: 80 09 00 00 [17:28:27]Write to MH i2c: E2 08 00 C1 0C 80 09 00 00 00 00 00 00 3F [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 03 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 03 00 C1 0C 00 90 00 41 [17:28:27]RAPDU: 90 00 [17:28:27]wFMCommunicate OK [17:28:27]SAM_PROTO_ClearQueue done [17:28:27]KKMCreateOFDPacket [17:28:27]OFDProtocolAddRootSTLVToBuf [17:28:27]FM_MakeSignedData [17:28:27]FM_MakeSignedData [17:28:27]SAM_PROTO_SignData [17:28:27]wFMCommunicate request_size=4 [17:28:27]MH_SAM_APDU [17:28:27]CAPDU: 80 0D 01 02 [17:28:27]Write to MH i2c: E2 08 00 C2 0C 80 0D 01 02 00 00 00 00 47 [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 03 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 03 00 C2 0C 00 90 00 42 [17:28:27]RAPDU: 90 00 [17:28:27]wFMCommunicate OK [17:28:27]wFMCommunicate request_size=255 [17:28:27]MH_SAM_APDU [17:28:27]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 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 2D 00 00 00 F4 03 04 00 BC 67 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 [17:28:27]Write to MH i2c: E2 02 01 C3 0C 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 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 2D 00 00 00 F4 03 04 00 BC 67 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 F4 [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 03 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 03 00 C3 0C 00 90 00 43 [17:28:27]RAPDU: 90 00 [17:28:27]wFMCommunicate OK [17:28:27]wFMCommunicate request_size=31 [17:28:27]MH_SAM_APDU [17:28:27]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 31 30 34 10 04 04 00 57 82 00 00 35 04 06 00 EF 93 0F 02 12 DC [17:28:27]Write to MH i2c: E2 22 00 C4 0C 80 0D 02 02 1A 00 30 30 38 37 35 31 30 34 10 04 04 00 57 82 00 00 35 04 06 00 EF 93 0F 02 12 DC 00 00 C8 [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 03 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 03 00 C4 0C 00 90 00 44 [17:28:27]RAPDU: 90 00 [17:28:27]wFMCommunicate OK [17:28:27]wFMCommunicate request_size=4 [17:28:27]MH_SAM_APDU [17:28:27]CAPDU: 80 0D 03 02 [17:28:27]Write to MH i2c: E2 08 00 C5 0C 80 0D 03 02 00 00 00 00 4C [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 0B 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 0B 00 C5 0C 00 9E DF E5 78 50 66 15 F5 90 00 E7 [17:28:27]RAPDU: 9E DF E5 78 50 66 15 F5 90 00 [17:28:27]wFMCommunicate OK [17:28:27]SAM_PROTO_SignData done [17:28:27]FM_MakeSignedData done [17:28:27]CreateOFDProtocolMessage [17:28:27]wFMCommunicate request_size=4 [17:28:27]MH_SAM_APDU [17:28:27]CAPDU: 80 11 00 00 [17:28:27]Write to MH i2c: E2 08 00 C6 0C 80 11 00 00 00 00 00 00 4C [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:28:27]Read from MH i2c: E2 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 17 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: E2 17 00 C6 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 98 [17:28:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:28:27]wFMCommunicate OK [17:28:27]CreateOFDProtocolMessage done [17:28:27]OFDSenderStorePacket 33367 [17:28:27]StoreOFDPacket docnum=33367 [17:28:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 24 01 00 00 F0 88 1C 01 AA D4 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 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 2D 00 00 00 F4 03 04 00 BC 67 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 57 82 00 00 35 04 06 00 EF 93 0F 02 12 DC 9E DF E5 78 50 66 15 F5 [17:28:27]CheckFolder [17:28:27]dirname=/storage/ofd_packets [17:28:27]CheckFolder done [17:28:27]ProducePacketName [17:28:27]name=ofd_packets/00033367 [17:28:27]NVStorageSaveData ofd_packets/00033367 [17:28:27]File name is /storage/ofd_packets/00033367 [17:28:27]Write 322 bytes [17:28:27]NVStorageSaveData done [17:28:27]OFDSenderStorePacket done [17:28:27]KKMCreateOFDPacket done [17:28:27]NVStorageSaveData kkm_last_timestamp [17:28:27]File name is /storage/kkm_last_timestamp [17:28:27]Write 4 bytes [17:28:27]NVStorageSaveData done [17:28:27]ExternCall_PrintAddStr [17:28:27]wPrintStart [17:28:27]Write to MH i2c: 01 00 00 C7 0C D3 [17:28:27]Write i2c OK [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: 01 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: 01 07 00 [17:28:27]MH_I2C_Read... [17:28:27]Read from MH i2c: 01 07 00 C7 0C 00 00 00 00 00 FF 0F E8 [17:28:27]RasterBufferAndPrint [17:28:27]line Счет N : (3)169180 [17:28:27]line ИНН: 02508201610067 [17:28:27]line Контрольно-Кассовый Чек [17:28:27]line ПРОДАЖА [17:28:27]line Товар: 48745000 [17:28:27]line Сигареты Winston Purple Mix [17:28:27]line 1.000 * 135.00 [17:28:27]line = 135.00 [17:28:27]line НДС 12% НСП 1% [17:28:27]line > о реализуемом товаре [17:28:27]line ИТОГО: 135.00 [17:28:27]line НСП 1% : 1.19 [17:28:27]line НДС 12% : 14.34 [17:28:27]line Наличными: 0.00 [17:28:27]line Безнал.: 135.00 [17:28:27]line Место: АЗС № 77 "Партнер Нефть" [17:28:27]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [17:28:27]line СНО: Общий режим [17:28:27]line Чек 45 12.07.2024 17:28 [17:28:27]line Смена: 433 ФФД: 1.0 [17:28:27]line ЗНМ: 0300000122 [17:28:27]line РНМ: 0000000000093033 [17:28:27]line Версия ККМ: 001 [17:28:27]line Платежная система: АКБ Кыргызстан [17:28:27]line ФМ: 0000000000875104 [17:28:27]line ФД: 33367 [17:28:27]line ФПД: 263414891025116 [17:28:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T172828&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33367&fm=263414891025116&tin=02508201610067®Number=0000000000093033&sum=13500 [17:28:28]OFD Sender: Processing packet 33367 [packets to send 6, broken 5] [17:28:28]ProducePacketName [17:28:28]name=ofd_packets/00033367 [17:28:28]OFD Sender: To server: pG, [17:28:28]CommunicateWithHost lk.salyk.kg:30040 [17:28:28]ConnectInit lk.salyk.kg [17:28:28]line 0 [17:28:28]written 0, free lines is 4095 [17:28:28]Connected sock=9 [17:28:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 24 01 00 00 F0 88 1C 01 AA D4 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 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 2D 00 00 00 F4 03 04 00 BC 67 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 57 82 00 00 35 04 06 00 EF 93 0F 02 12 DC 9E DF E5 78 50 66 15 F5 [17:28:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 BD 55 47 00 42 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 57 82 00 00 F4 03 04 00 68 12 91 66 B6 04 01 00 00 0A 4D A3 FF FF B7 C6 DA [17:28:28]CommunicateWithHost err = 0 [17:28:28]CheckOFDResponse [17:28:28]1017 (14) - 77093643461234 [17:28:28]1041 (16) - 0000000000875104 [17:28:28]1040 (4) - 33367 [17:28:28]1012 (4) - 12.07.2024 11:24 [17:28:28]1206 (1) - 0 [17:28:28]OFD Sender: Remove packet 33367 [17:28:28]ProducePacketName [17:28:28]name=ofd_packets/00033367 [17:28:28]NVStorageDeleteData [17:28:28]Write to MH i2c: 01 00 00 F1 0C FD [17:28:28]Write i2c OK [17:28:28]MH_I2C_Read... [17:28:28]Read from MH i2c: 01 [17:28:28]MH_I2C_Read... [17:28:28]Read from MH i2c: 01 07 00 [17:28:28]MH_I2C_Read... [17:28:28]Read from MH i2c: 01 07 00 F1 0C 00 00 00 00 00 D5 0C E5 [17:28:28]RasterBufferAndPrint [17:28:28]line [17:28:28]line [17:28:28]line [17:28:28]line [17:28:28]line [17:28:28]written 0, free lines is 3291 [17:28:28]MH_Cut [17:28:28]Write to MH i2c: D1 01 00 F8 0C 01 D6 [17:28:28]Write i2c OK [17:28:28]MH_I2C_Read... [17:28:28]Read from MH i2c: D1 [17:28:28]MH_I2C_Read... [17:28:28]Read from MH i2c: D1 01 00 [17:28:28]MH_I2C_Read... [17:28:28]Read from MH i2c: D1 01 00 F8 0C 00 D5 [17:28:28]Write to MH i2c: 01 00 00 F9 0C 05 [17:28:28]Write i2c OK [17:28:28]MH_I2C_Read... [17:28:29]OFD Sender: No OFD packet to send [17:28:29]*** Cut start [17:28:29]*** Partial cut [17:28:29]*** CUTSNS_PIN = 1 [17:28:29]*** CUTSNS_PIN = 0 [17:28:29]*** Brake cut motor [17:28:30]Read from MH i2c: 01 [17:28:30]MH_I2C_Read... [17:28:30]*** Stop cut motor [17:28:30]*** Cut end [17:28:30]Read from MH i2c: 01 07 00 [17:28:30]MH_I2C_Read... [17:28:30]Read from MH i2c: 01 07 00 F9 0C 00 00 00 00 00 FF 0F 1A [17:28:30]process_action close_receipt done [17:28:30]requested_data is exist [17:28:30]produce_requested_data [17:28:30]requested_item fm.sn is exist - process it [17:28:30]wFMCommunicate request_size=4 [17:28:30]MH_SAM_APDU [17:28:30]CAPDU: 80 11 00 00 [17:28:30]Write to MH i2c: E2 08 00 FA 0C 80 11 00 00 00 00 00 00 80 [17:28:30]Write i2c OK [17:28:30]MH_I2C_Read... [17:28:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:28:30]Read from MH i2c: E2 [17:28:30]MH_I2C_Read... [17:28:30]Read from MH i2c: E2 17 00 [17:28:30]MH_I2C_Read... [17:28:30]Read from MH i2c: E2 17 00 FA 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CC [17:28:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:28:30]wFMCommunicate OK [17:28:30]requested_item fd.num is exist - process it [17:28:30]SAM_PROTO_GetFieldsCounters [17:28:30]wFMCommunicate request_size=4 [17:28:30]MH_SAM_APDU [17:28:30]CAPDU: 80 13 00 00 [17:28:30]Write to MH i2c: E2 08 00 FB 0C 80 13 00 00 00 00 00 00 83 [17:28:30]Write i2c OK [17:28:30]MH_I2C_Read... [17:28:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:28:30]Read from MH i2c: E2 [17:28:30]MH_I2C_Read... [17:28:30]Read from MH i2c: E2 62 00 [17:28:30]MH_I2C_Read... [17:28:30]Read from MH i2c: E2 62 00 FB 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 57 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 A8 [17:28:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 57 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:28:30]wFMCommunicate OK [17:28:30]SAM_PROTO_GetFieldsCounters done [17:28:30]requested_item shift.num is exist - process it [17:28:30]requested_item shift.opened is exist - process it [17:28:30]req_shift_opened [17:28:30]FM_GetShiftState [17:28:30]SAM_PROTO_GetShiftState [17:28:30]wFMCommunicate request_size=4 [17:28:30]MH_SAM_APDU [17:28:30]CAPDU: 80 13 01 00 [17:28:30]Write to MH i2c: E2 08 00 FC 0C 80 13 01 00 00 00 00 00 85 [17:28:30]Write i2c OK [17:28:30]MH_I2C_Read... [17:28:30]Read from MH i2c: E2 [17:28:30]MH_I2C_Read... [17:28:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:28:30]Read from MH i2c: E2 0E 00 [17:28:30]MH_I2C_Read... [17:28:30]Read from MH i2c: E2 0E 00 FC 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 12 [17:28:30]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [17:28:30]wFMCommunicate OK [17:28:30]SAM_PROTO_GetShiftState done [17:28:30]FM_GetShiftState done [17:28:30]req_shift_opened done [17:28:30]requested_item shift.open_date is exist - process it [17:28:30]req_shift_open_date [17:28:30]req_shift_open_date done [17:28:30]produce_requested_data done [17:28:30]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33367,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [17:28:30]process_action_free close_receipt [17:28:30]json_value_free [17:28:30]json_value_free done [17:28:30]process_json_proto returns [17:28:30]Send response to host [17:28:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33367,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [17:28:30]free response buf [17:28:30]execute_script done [17:28:30]execute_script returns [17:28:30]free content buf [17:28:30]Sock 7.Close socket [17:28:30]Sock 7.Thread stoped [17:28:34]OFD Sender: No OFD packet to send [17:28:39]OFD Sender: No OFD packet to send [17:28:44]OFD Sender: No OFD packet to send [17:28:49]OFD Sender: No OFD packet to send [17:28:54]OFD Sender: No OFD packet to send [17:28:59]OFD Sender: No OFD packet to send [17:29:04]OFD Sender: No OFD packet to send [17:29:09]OFD Sender: No OFD packet to send [17:29:14]OFD Sender: No OFD packet to send [17:29:19]OFD Sender: No OFD packet to send [17:29:24]OFD Sender: No OFD packet to send [17:29:29]OFD Sender: No OFD packet to send [17:29:34]OFD Sender: No OFD packet to send [17:29:39]OFD Sender: No OFD packet to send [17:29:44]OFD Sender: No OFD packet to send [17:29:49]OFD Sender: No OFD packet to send [17:29:54]OFD Sender: No OFD packet to send [17:29:59]OFD Sender: No OFD packet to send [17:30:04]OFD Sender: No OFD packet to send [17:30:09]OFD Sender: No OFD packet to send [17:30:14]OFD Sender: No OFD packet to send [17:30:19]OFD Sender: No OFD packet to send [17:30:24]OFD Sender: No OFD packet to send [17:30:29]OFD Sender: No OFD packet to send [17:30:34]OFD Sender: No OFD packet to send [17:30:39]OFD Sender: No OFD packet to send [17:30:44]OFD Sender: No OFD packet to send [17:30:49]OFD Sender: No OFD packet to send [17:30:54]OFD Sender: No OFD packet to send [17:30:59]OFD Sender: No OFD packet to send [17:31:04]OFD Sender: No OFD packet to send [17:31:09]OFD Sender: No OFD packet to send [17:31:14]OFD Sender: No OFD packet to send [17:31:19]OFD Sender: No OFD packet to send [17:31:24]OFD Sender: No OFD packet to send [17:31:29]OFD Sender: No OFD packet to send [17:31:34]OFD Sender: No OFD packet to send [17:31:39]OFD Sender: No OFD packet to send [17:31:44]OFD Sender: No OFD packet to send [17:31:49]OFD Sender: No OFD packet to send [17:31:54]OFD Sender: No OFD packet to send [17:31:59]OFD Sender: No OFD packet to send [17:32:04]OFD Sender: No OFD packet to send [17:32:09]OFD Sender: No OFD packet to send [17:32:14]OFD Sender: No OFD packet to send [17:32:19]OFD Sender: No OFD packet to send [17:32:24]OFD Sender: No OFD packet to send [17:32:29]OFD Sender: No OFD packet to send [17:32:34]OFD Sender: No OFD packet to send [17:32:39]OFD Sender: No OFD packet to send [17:32:44]OFD Sender: No OFD packet to send [17:32:49]OFD Sender: No OFD packet to send [17:32:54]OFD Sender: No OFD packet to send [17:32:59]OFD Sender: No OFD packet to send [17:33:04]OFD Sender: No OFD packet to send [17:33:09]OFD Sender: No OFD packet to send [17:33:14]OFD Sender: No OFD packet to send [17:33:19]OFD Sender: No OFD packet to send [17:33:24]OFD Sender: No OFD packet to send [17:33:29]OFD Sender: No OFD packet to send [17:33:34]OFD Sender: No OFD packet to send [17:33:39]OFD Sender: No OFD packet to send [17:33:44]OFD Sender: No OFD packet to send [17:33:49]OFD Sender: No OFD packet to send [17:33:54]OFD Sender: No OFD packet to send [17:33:59]OFD Sender: No OFD packet to send [17:34:04]OFD Sender: No OFD packet to send [17:34:09]OFD Sender: No OFD packet to send [17:34:14]OFD Sender: No OFD packet to send [17:34:19]OFD Sender: No OFD packet to send [17:34:24]OFD Sender: No OFD packet to send [17:34:29]OFD Sender: No OFD packet to send [17:34:34]OFD Sender: No OFD packet to send [17:34:39]OFD Sender: No OFD packet to send [17:34:44]OFD Sender: No OFD packet to send [17:34:49]OFD Sender: No OFD packet to send [17:34:54]OFD Sender: No OFD packet to send [17:34:59]OFD Sender: No OFD packet to send [17:35:04]OFD Sender: No OFD packet to send [17:35:09]OFD Sender: No OFD packet to send [17:35:14]OFD Sender: No OFD packet to send [17:35:19]OFD Sender: No OFD packet to send [17:35:24]OFD Sender: No OFD packet to send [17:35:29]OFD Sender: No OFD packet to send [17:35:34]OFD Sender: No OFD packet to send [17:35:39]OFD Sender: No OFD packet to send [17:35:44]OFD Sender: No OFD packet to send [17:35:49]OFD Sender: No OFD packet to send [17:35:54]OFD Sender: No OFD packet to send [17:35:59]OFD Sender: No OFD packet to send [17:36:04]OFD Sender: No OFD packet to send [17:36:09]OFD Sender: No OFD packet to send [17:36:14]OFD Sender: No OFD packet to send [17:36:19]OFD Sender: No OFD packet to send [17:36:24]OFD Sender: No OFD packet to send [17:36:29]OFD Sender: No OFD packet to send [17:36:31]accept exits with 10 [17:36:31]New connection [17:36:31]New thread 3066604900 created [17:36:31]Thread 3066461540 joined [17:36:31]Waiting for new connection... [17:36:31] Sock 10.Parse request [17:36:31]Sock 10.Check first char [17:36:31]Sock 10.First char is OK [17:36:31]request: POST /json_proto HTTP/1.0 [17:36:31]Method: POST [17:36:31]URL: /json_proto [17:36:31]Method is POST - this is cgi request [17:36:31]url: /json_proto [17:36:31]query_string will be loaded in cgi processing [17:36:31]execute_cgi json_proto POST (null) [17:36:31]execute_cgi path=json_proto method=POST [17:36:31]POST find Content-Length [17:36:31]Host: 172.17.35.196:8080 [17:36:31]Content-Length: 632 [17:36:31]Content-Type: application/json [17:36:31] [17:36:31]POST finish read [17:36:31]Found Content-Length = 632 [17:36:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169181", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:31]execute_script... [17:36:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169181", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:31]POST & json_proto [17:36:31]process_json_proto [17:36:31]json parsed OK: [17:36:31]protocol is kg_v1.0 [17:36:31]action value=close_receipt [17:36:31]process_action close_receipt [17:36:31]cmd_close_receipt [17:36:31]MH_GetDate [17:36:31]Write to MH i2c: F0 00 00 FD 0C F8 [17:36:31]Write i2c OK [17:36:31]MH_I2C_Read... [17:36:31]Read from MH i2c: F0 [17:36:31]MH_I2C_Read... [17:36:31]Read from MH i2c: F0 09 00 [17:36:31]MH_I2C_Read... [17:36:31]Read from MH i2c: F0 09 00 FD 0C 00 A1 69 91 66 AD 14 F4 65 1C [17:36:31]GetLastDocTimeStamp 1720805308 [17:36:31]current date 1720805793 [17:36:31]FM_GetShiftState [17:36:31]SAM_PROTO_GetShiftState [17:36:31]wFMCommunicate request_size=4 [17:36:31]MH_SAM_APDU [17:36:31]CAPDU: 80 13 01 00 [17:36:31]Write to MH i2c: E2 08 00 FE 0C 80 13 01 00 00 00 00 00 87 [17:36:31]Write i2c OK [17:36:31]MH_I2C_Read... [17:36:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:31]Read from MH i2c: E2 [17:36:31]MH_I2C_Read... [17:36:31]Read from MH i2c: E2 0E 00 [17:36:31]MH_I2C_Read... [17:36:31]Read from MH i2c: E2 0E 00 FE 0C 00 09 00 01 17 74 90 66 00 00 00 00 90 00 14 [17:36:31]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [17:36:31]wFMCommunicate OK [17:36:31]SAM_PROTO_GetShiftState done [17:36:31]FM_GetShiftState done [17:36:31]opened in 1720742935 [17:36:31]opened+sec_in_day 1720829335 [17:36:31]quantity*price = 6000 [17:36:31]sum+1 = 6001 [17:36:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 46 12.07.2024 17:36 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33368 ФПД: 14828235089517 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T173633&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33368&fm=14828235089517&tin=02508201610067®Number=0000000000093033&sum=6000 0 [17:36:32]StoreToDocumentArchive [17:36:32]shift 433 fd 33368 [17:36:32]save to /storage/0433/doc_00033368 [17:36:32]save last doc name /storage/0433/doc_00033368 to /storage/kkm_last_doc_name [17:36:32]save OK [17:36:32]Clear old archive folders... [17:36:32]ProcessDocumentItem done err = 0, tmpTLVsize=271 [17:36:32]tlvbuf is 00A46250 [17:36:32]SAM_PROTO_ClearQueue [17:36:32]wFMCommunicate request_size=4 [17:36:32]MH_SAM_APDU [17:36:32]CAPDU: 80 09 00 00 [17:36:32]Write to MH i2c: E2 08 00 0B 0D 80 09 00 00 00 00 00 00 8A [17:36:32]Write i2c OK [17:36:32]MH_I2C_Read... [17:36:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:36:32]Read from MH i2c: E2 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 03 00 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 03 00 0B 0D 00 90 00 8C [17:36:32]RAPDU: 90 00 [17:36:32]wFMCommunicate OK [17:36:32]SAM_PROTO_ClearQueue done [17:36:32]KKMCreateOFDPacket [17:36:32]OFDProtocolAddRootSTLVToBuf [17:36:32]FM_MakeSignedData [17:36:32]FM_MakeSignedData [17:36:32]SAM_PROTO_SignData [17:36:32]wFMCommunicate request_size=4 [17:36:32]MH_SAM_APDU [17:36:32]CAPDU: 80 0D 01 02 [17:36:32]Write to MH i2c: E2 08 00 0C 0D 80 0D 01 02 00 00 00 00 92 [17:36:32]Write i2c OK [17:36:32]MH_I2C_Read... [17:36:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:36:32]Read from MH i2c: E2 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 03 00 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 03 00 0C 0D 00 90 00 8D [17:36:32]RAPDU: 90 00 [17:36:32]wFMCommunicate OK [17:36:32]wFMCommunicate request_size=255 [17:36:32]MH_SAM_APDU [17:36:32]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 A1 69 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 [17:36:32]Write to MH i2c: E2 02 01 0D 0D 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 A1 69 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 9B [17:36:32]Write i2c OK [17:36:32]MH_I2C_Read... [17:36:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:32]Read from MH i2c: E2 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 03 00 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 03 00 0D 0D 00 90 00 8E [17:36:32]RAPDU: 90 00 [17:36:32]wFMCommunicate OK [17:36:32]wFMCommunicate request_size=30 [17:36:32]MH_SAM_APDU [17:36:32]CAPDU: 80 0D 02 02 19 30 38 37 35 31 30 34 10 04 04 00 58 82 00 00 35 04 06 00 0D 7C 77 AF 66 6D [17:36:32]Write to MH i2c: E2 21 00 0E 0D 80 0D 02 02 19 00 30 38 37 35 31 30 34 10 04 04 00 58 82 00 00 35 04 06 00 0D 7C 77 AF 66 6D 00 00 E3 [17:36:32]Write i2c OK [17:36:32]MH_I2C_Read... [17:36:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:32]Read from MH i2c: E2 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 03 00 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 03 00 0E 0D 00 90 00 8F [17:36:32]RAPDU: 90 00 [17:36:32]wFMCommunicate OK [17:36:32]wFMCommunicate request_size=4 [17:36:32]MH_SAM_APDU [17:36:32]CAPDU: 80 0D 03 02 [17:36:32]Write to MH i2c: E2 08 00 0F 0D 80 0D 03 02 00 00 00 00 97 [17:36:32]Write i2c OK [17:36:32]MH_I2C_Read... [17:36:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:36:32]Read from MH i2c: E2 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 0B 00 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 0B 00 0F 0D 00 8B 1A 4C 7E 29 D1 D1 1F 90 00 F1 [17:36:32]RAPDU: 8B 1A 4C 7E 29 D1 D1 1F 90 00 [17:36:32]wFMCommunicate OK [17:36:32]SAM_PROTO_SignData done [17:36:32]FM_MakeSignedData done [17:36:32]CreateOFDProtocolMessage [17:36:32]wFMCommunicate request_size=4 [17:36:32]MH_SAM_APDU [17:36:32]CAPDU: 80 11 00 00 [17:36:32]Write to MH i2c: E2 08 00 10 0D 80 11 00 00 00 00 00 00 97 [17:36:32]Write i2c OK [17:36:32]MH_I2C_Read... [17:36:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:32]Read from MH i2c: E2 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 17 00 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: E2 17 00 10 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E3 [17:36:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:36:32]wFMCommunicate OK [17:36:32]CreateOFDProtocolMessage done [17:36:32]OFDSenderStorePacket 33368 [17:36:32]StoreOFDPacket docnum=33368 [17:36:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 23 01 00 00 D8 29 1B 01 D2 5F 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 A1 69 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 58 82 00 00 35 04 06 00 0D 7C 77 AF 66 6D 8B 1A 4C 7E 29 D1 D1 1F [17:36:32]CheckFolder [17:36:32]dirname=/storage/ofd_packets [17:36:32]CheckFolder done [17:36:32]ProducePacketName [17:36:32]name=ofd_packets/00033368 [17:36:32]NVStorageSaveData ofd_packets/00033368 [17:36:32]File name is /storage/ofd_packets/00033368 [17:36:32]Write 321 bytes [17:36:32]NVStorageSaveData done [17:36:32]OFDSenderStorePacket done [17:36:32]KKMCreateOFDPacket done [17:36:32]NVStorageSaveData kkm_last_timestamp [17:36:32]File name is /storage/kkm_last_timestamp [17:36:32]Write 4 bytes [17:36:32]NVStorageSaveData done [17:36:32]ExternCall_PrintAddStr [17:36:32]wPrintStart [17:36:32]Write to MH i2c: 01 00 00 11 0D 1E [17:36:32]Write i2c OK [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: 01 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: 01 07 00 [17:36:32]MH_I2C_Read... [17:36:32]Read from MH i2c: 01 07 00 11 0D 00 00 00 00 00 FF 0F 33 [17:36:32]RasterBufferAndPrint [17:36:32]line Счет N : (3)169181 [17:36:32]line ИНН: 02508201610067 [17:36:32]line Контрольно-Кассовый Чек [17:36:32]line ПРОДАЖА [17:36:32]line Товар: 4700000160204 [17:36:32]line Вода Легенда 1,5л [17:36:32]line 1.000 * 60.00 [17:36:32]line = 60.00 [17:36:32]line НДС 12% НСП 1% [17:36:33]line > о реализуемом товаре [17:36:33]line ИТОГО: 60.00 [17:36:33]line НСП 1% : 0.53 [17:36:33]line НДС 12% : 6.37 [17:36:33]line Наличными: 60.00 [17:36:33]line Безнал.: 0.00 [17:36:33]line Место: АЗС № 77 "Партнер Нефть" [17:36:33]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [17:36:33]line СНО: Общий режим [17:36:33]line Чек 46 12.07.2024 17:36 [17:36:33]line Смена: 433 ФФД: 1.0 [17:36:33]line ЗНМ: 0300000122 [17:36:33]line РНМ: 0000000000093033 [17:36:33]line Версия ККМ: 001 [17:36:33]line ФМ: 0000000000875104 [17:36:33]line ФД: 33368 [17:36:33]line ФПД: 14828235089517 [17:36:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T173633&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33368&fm=14828235089517&tin=02508201610067®Number=0000000000093033&sum=6000 [17:36:33]line 0 [17:36:33]written 0, free lines is 4095 [17:36:33]OFD Sender: Processing packet 33368 [packets to send 6, broken 5] [17:36:33]ProducePacketName [17:36:33]name=ofd_packets/00033368 [17:36:33]OFD Sender: To server: pG, [17:36:33]CommunicateWithHost lk.salyk.kg:30040 [17:36:33]ConnectInit lk.salyk.kg [17:36:33]Connected sock=9 [17:36:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 23 01 00 00 D8 29 1B 01 D2 5F 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 A1 69 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 58 82 00 00 35 04 06 00 0D 7C 77 AF 66 6D 8B 1A 4C 7E 29 D1 D1 1F [17:36:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 50 2D 47 00 8C DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 58 82 00 00 F4 03 04 00 4D 14 91 66 B6 04 01 00 00 0F B4 A0 83 F3 04 9F F7 [17:36:33]CommunicateWithHost err = 0 [17:36:33]CheckOFDResponse [17:36:33]1017 (14) - 77093643461234 [17:36:33]1041 (16) - 0000000000875104 [17:36:33]1040 (4) - 33368 [17:36:33]1012 (4) - 12.07.2024 11:32 [17:36:33]1206 (1) - 0 [17:36:33]OFD Sender: Remove packet 33368 [17:36:33]ProducePacketName [17:36:33]name=ofd_packets/00033368 [17:36:33]NVStorageDeleteData [17:36:33]Write to MH i2c: 01 00 00 39 0D 46 [17:36:33]Write i2c OK [17:36:33]MH_I2C_Read... [17:36:33]Read from MH i2c: 01 [17:36:33]MH_I2C_Read... [17:36:33]Read from MH i2c: 01 07 00 [17:36:33]MH_I2C_Read... [17:36:33]Read from MH i2c: 01 07 00 39 0D 00 00 00 00 00 FD 0C 56 [17:36:33]RasterBufferAndPrint [17:36:33]line [17:36:33]line [17:36:33]line [17:36:33]line [17:36:33]line [17:36:33]written 0, free lines is 3331 [17:36:33]MH_Cut [17:36:33]Write to MH i2c: D1 01 00 40 0D 01 1F [17:36:33]Write i2c OK [17:36:33]MH_I2C_Read... [17:36:33]Read from MH i2c: D1 [17:36:33]MH_I2C_Read... [17:36:33]Read from MH i2c: D1 01 00 [17:36:33]MH_I2C_Read... [17:36:33]Read from MH i2c: D1 01 00 40 0D 00 1E [17:36:33]Write to MH i2c: 01 00 00 41 0D 4E [17:36:33]Write i2c OK [17:36:33]MH_I2C_Read... [17:36:33]OFD Sender: No OFD packet to send [17:36:34]*** Cut start [17:36:34]*** Partial cut [17:36:34]*** CUTSNS_PIN = 1 [17:36:34]*** CUTSNS_PIN = 0 [17:36:34]*** Brake cut motor [17:36:34]Read from MH i2c: 01 [17:36:34]MH_I2C_Read... [17:36:34]*** Stop cut motor [17:36:34]*** Cut end [17:36:34]Read from MH i2c: 01 07 00 [17:36:34]MH_I2C_Read... [17:36:34]Read from MH i2c: 01 07 00 41 0D 00 00 00 00 00 FF 0F 63 [17:36:34]process_action close_receipt done [17:36:34]requested_data is exist [17:36:34]produce_requested_data [17:36:34]requested_item fm.sn is exist - process it [17:36:34]wFMCommunicate request_size=4 [17:36:34]MH_SAM_APDU [17:36:34]CAPDU: 80 11 00 00 [17:36:34]Write to MH i2c: E2 08 00 42 0D 80 11 00 00 00 00 00 00 C9 [17:36:34]Write i2c OK [17:36:34]MH_I2C_Read... [17:36:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:34]Read from MH i2c: E2 [17:36:34]MH_I2C_Read... [17:36:34]Read from MH i2c: E2 17 00 [17:36:34]MH_I2C_Read... [17:36:34]Read from MH i2c: E2 17 00 42 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 15 [17:36:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:36:34]wFMCommunicate OK [17:36:34]requested_item fd.num is exist - process it [17:36:34]SAM_PROTO_GetFieldsCounters [17:36:34]wFMCommunicate request_size=4 [17:36:34]MH_SAM_APDU [17:36:34]CAPDU: 80 13 00 00 [17:36:34]Write to MH i2c: E2 08 00 43 0D 80 13 00 00 00 00 00 00 CC [17:36:34]Write i2c OK [17:36:34]MH_I2C_Read... [17:36:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:36:34]Read from MH i2c: E2 [17:36:34]MH_I2C_Read... [17:36:34]Read from MH i2c: E2 62 00 [17:36:34]MH_I2C_Read... [17:36:34]Read from MH i2c: E2 62 00 43 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 58 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [17:36:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 58 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:36:34]wFMCommunicate OK [17:36:34]SAM_PROTO_GetFieldsCounters done [17:36:34]requested_item shift.num is exist - process it [17:36:34]requested_item shift.opened is exist - process it [17:36:34]req_shift_opened [17:36:34]FM_GetShiftState [17:36:34]SAM_PROTO_GetShiftState [17:36:34]wFMCommunicate request_size=4 [17:36:34]MH_SAM_APDU [17:36:34]CAPDU: 80 13 01 00 [17:36:34]Write to MH i2c: E2 08 00 44 0D 80 13 01 00 00 00 00 00 CE [17:36:34]Write i2c OK [17:36:34]MH_I2C_Read... [17:36:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:35]Read from MH i2c: E2 [17:36:35]MH_I2C_Read... [17:36:35]Read from MH i2c: E2 0E 00 [17:36:35]MH_I2C_Read... [17:36:35]Read from MH i2c: E2 0E 00 44 0D 00 09 00 01 17 74 90 66 00 00 00 00 90 00 5B [17:36:35]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [17:36:35]wFMCommunicate OK [17:36:35]SAM_PROTO_GetShiftState done [17:36:35]FM_GetShiftState done [17:36:35]req_shift_opened done [17:36:35]requested_item shift.open_date is exist - process it [17:36:35]req_shift_open_date [17:36:35]req_shift_open_date done [17:36:35]produce_requested_data done [17:36:35]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33368,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [17:36:35]process_action_free close_receipt [17:36:35]json_value_free [17:36:35]json_value_free done [17:36:35]process_json_proto returns [17:36:35]Send response to host [17:36:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33368,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [17:36:35]free response buf [17:36:35]execute_script done [17:36:35]execute_script returns [17:36:35]free content buf [17:36:35]Sock 10.Close socket [17:36:35]Sock 10.Thread stoped [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]OFD Sender: No OFD packet to send [17:37:13]OFD Sender: No OFD packet to send [17:37:18]OFD Sender: No OFD packet to send [17:37:23]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:43]OFD Sender: No OFD packet to send [17:37:48]OFD Sender: No OFD packet to send [17:37:53]OFD Sender: No OFD packet to send [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]OFD Sender: No OFD packet to send [17:38:23]OFD Sender: No OFD packet to send [17:38:28]OFD Sender: No OFD packet to send [17:38:33]OFD Sender: No OFD packet to send [17:38:38]OFD Sender: No OFD packet to send [17:38:43]OFD Sender: No OFD packet to send [17:38:48]OFD Sender: No OFD packet to send [17:38:53]OFD Sender: No OFD packet to send [17:38:58]OFD Sender: No OFD packet to send [17:39:03]OFD Sender: No OFD packet to send [17:39:08]OFD Sender: No OFD packet to send [17:39:13]OFD Sender: No OFD packet to send [17:39:18]OFD Sender: No OFD packet to send [17:39:23]OFD Sender: No OFD packet to send [17:39:28]OFD Sender: No OFD packet to send [17:39:33]OFD Sender: No OFD packet to send [17:39:38]OFD Sender: No OFD packet to send [17:39:43]OFD Sender: No OFD packet to send [17:39:48]OFD Sender: No OFD packet to send [17:39:53]OFD Sender: No OFD packet to send [17:39:58]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]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:37]accept exits with 7 [17:56:37]New connection [17:56:37]New thread 3066461540 created [17:56:37]Thread 3066604900 joined [17:56:37]Waiting for new connection... [17:56:37] Sock 7.Parse request [17:56:37]Sock 7.Check first char [17:56:37]Sock 7.First char is OK [17:56:37]request: POST /json_proto HTTP/1.0 [17:56:37]Method: POST [17:56:37]URL: /json_proto [17:56:37]Method is POST - this is cgi request [17:56:37]url: /json_proto [17:56:37]query_string will be loaded in cgi processing [17:56:37]execute_cgi json_proto POST (null) [17:56:37]execute_cgi path=json_proto method=POST [17:56:37]POST find Content-Length [17:56:37]Host: 172.17.35.196:8080 [17:56:37]Content-Length: 654 [17:56:37]Content-Type: application/json [17:56:37] [17:56:37]POST finish read [17:56:37]Found Content-Length = 654 [17:56:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169182", "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" ] } } [17:56:37]execute_script... [17:56:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169182", "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" ] } } [17:56:37]POST & json_proto [17:56:37]process_json_proto [17:56:37]json parsed OK: [17:56:37]protocol is kg_v1.0 [17:56:37]action value=close_receipt [17:56:37]process_action close_receipt [17:56:37]cmd_close_receipt [17:56:37]MH_GetDate [17:56:37]Write to MH i2c: F0 00 00 45 0D 41 [17:56:37]Write i2c OK [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: F0 [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: F0 09 00 [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: F0 09 00 45 0D 00 57 6E 91 66 AD 14 F4 65 20 [17:56:37]GetLastDocTimeStamp 1720805793 [17:56:37]current date 1720806999 [17:56:37]FM_GetShiftState [17:56:37]SAM_PROTO_GetShiftState [17:56:37]wFMCommunicate request_size=4 [17:56:37]MH_SAM_APDU [17:56:37]CAPDU: 80 13 01 00 [17:56:37]Write to MH i2c: E2 08 00 46 0D 80 13 01 00 00 00 00 00 D0 [17:56:37]Write i2c OK [17:56:37]MH_I2C_Read... [17:56:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:37]Read from MH i2c: E2 [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: E2 0E 00 [17:56:37]MH_I2C_Read... [17:56:37]Read from MH i2c: E2 0E 00 46 0D 00 09 00 01 17 74 90 66 00 00 00 00 90 00 5D [17:56:37]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [17:56:37]wFMCommunicate OK [17:56:37]SAM_PROTO_GetShiftState done [17:56:37]FM_GetShiftState done [17:56:37]opened in 1720742935 [17:56:37]opened+sec_in_day 1720829335 [17:56:37]quantity*price = 9500 [17:56:37]sum+1 = 9501 [17:56:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 47 12.07.2024 17:56 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33369 ФПД: 148446078845620 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T175639&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33369&fm=148446078845620&tin=02508201610067®Number=0000000000093033&sum=9500 0 [17:56:38]StoreToDocumentArchive [17:56:38]shift 433 fd 33369 [17:56:38]save to /storage/0433/doc_00033369 [17:56:38]save last doc name /storage/0433/doc_00033369 to /storage/kkm_last_doc_name [17:56:38]save OK [17:56:38]Clear old archive folders... [17:56:38]ProcessDocumentItem done err = 0, tmpTLVsize=293 [17:56:38]tlvbuf is 00A35340 [17:56:38]SAM_PROTO_ClearQueue [17:56:38]wFMCommunicate request_size=4 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 09 00 00 [17:56:38]Write to MH i2c: E2 08 00 53 0D 80 09 00 00 00 00 00 00 D2 [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:38]Read from MH i2c: E2 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 53 0D 00 90 00 D4 [17:56:38]RAPDU: 90 00 [17:56:38]wFMCommunicate OK [17:56:38]SAM_PROTO_ClearQueue done [17:56:38]KKMCreateOFDPacket [17:56:38]OFDProtocolAddRootSTLVToBuf [17:56:38]FM_MakeSignedData [17:56:38]FM_MakeSignedData [17:56:38]SAM_PROTO_SignData [17:56:38]wFMCommunicate request_size=4 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 0D 01 02 [17:56:38]Write to MH i2c: E2 08 00 54 0D 80 0D 01 02 00 00 00 00 DA [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:38]Read from MH i2c: E2 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 54 0D 00 90 00 D5 [17:56:38]RAPDU: 90 00 [17:56:38]wFMCommunicate OK [17:56:38]wFMCommunicate request_size=255 [17:56:38]MH_SAM_APDU [17:56:38]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 2F 00 00 00 F4 03 04 00 57 6E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [17:56:38]Write to MH i2c: E2 02 01 55 0D 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 2F 00 00 00 F4 03 04 00 57 6E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 17 [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:38]Read from MH i2c: E2 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 55 0D 00 90 00 D6 [17:56:38]RAPDU: 90 00 [17:56:38]wFMCommunicate OK [17:56:38]wFMCommunicate request_size=52 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 59 82 00 00 35 04 06 00 87 02 CB CC 42 B4 [17:56:38]Write to MH i2c: E2 37 00 56 0D 80 0D 02 02 2F 00 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 59 82 00 00 35 04 06 00 87 02 CB CC 42 B4 00 00 83 [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:38]Read from MH i2c: E2 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 03 00 56 0D 00 90 00 D7 [17:56:38]RAPDU: 90 00 [17:56:38]wFMCommunicate OK [17:56:38]wFMCommunicate request_size=4 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 0D 03 02 [17:56:38]Write to MH i2c: E2 08 00 57 0D 80 0D 03 02 00 00 00 00 DF [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:38]Read from MH i2c: E2 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 0B 00 [17:56:38]MH_I2C_Read... [17:56:38]Read from MH i2c: E2 0B 00 57 0D 00 48 9F AC B7 E5 53 4C 8E 90 00 3C [17:56:38]RAPDU: 48 9F AC B7 E5 53 4C 8E 90 00 [17:56:38]wFMCommunicate OK [17:56:38]SAM_PROTO_SignData done [17:56:38]FM_MakeSignedData done [17:56:38]CreateOFDProtocolMessage [17:56:38]wFMCommunicate request_size=4 [17:56:38]MH_SAM_APDU [17:56:38]CAPDU: 80 11 00 00 [17:56:38]Write to MH i2c: E2 08 00 58 0D 80 11 00 00 00 00 00 00 DF [17:56:38]Write i2c OK [17:56:38]MH_I2C_Read... [17:56:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:39]Read from MH i2c: E2 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 17 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: E2 17 00 58 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2B [17:56:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:56:39]wFMCommunicate OK [17:56:39]CreateOFDProtocolMessage done [17:56:39]OFDSenderStorePacket 33369 [17:56:39]StoreOFDPacket docnum=33369 [17:56:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 39 01 00 00 CC AC 31 01 58 9D 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 2F 00 00 00 F4 03 04 00 57 6E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 59 82 00 00 35 04 06 00 87 02 CB CC 42 B4 48 9F AC B7 E5 53 4C 8E [17:56:39]CheckFolder [17:56:39]dirname=/storage/ofd_packets [17:56:39]CheckFolder done [17:56:39]ProducePacketName [17:56:39]name=ofd_packets/00033369 [17:56:39]NVStorageSaveData ofd_packets/00033369 [17:56:39]File name is /storage/ofd_packets/00033369 [17:56:39]Write 343 bytes [17:56:39]NVStorageSaveData done [17:56:39]OFDSenderStorePacket done [17:56:39]KKMCreateOFDPacket done [17:56:39]NVStorageSaveData kkm_last_timestamp [17:56:39]File name is /storage/kkm_last_timestamp [17:56:39]Write 4 bytes [17:56:39]NVStorageSaveData done [17:56:39]ExternCall_PrintAddStr [17:56:39]wPrintStart [17:56:39]Write to MH i2c: 01 00 00 59 0D 66 [17:56:39]Write i2c OK [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 07 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 07 00 59 0D 00 00 00 00 00 FF 0F 7B [17:56:39]RasterBufferAndPrint [17:56:39]line Счет N : (3)169182 [17:56:39]line ИНН: 02508201610067 [17:56:39]line Контрольно-Кассовый Чек [17:56:39]line ПРОДАЖА [17:56:39]line Товар: 4700000480050 [17:56:39]line Напиток Nitro Energy эн green ж/б 0,45л [17:56:39]line 1.000 * 95.00 [17:56:39]line = 95.00 [17:56:39]line НДС 12% НСП 1% [17:56:39]line > о реализуемом товаре [17:56:39]line ИТОГО: 95.00 [17:56:39]line НСП 1% : 0.84 [17:56:39]line НДС 12% : 10.09 [17:56:39]line Наличными: 95.00 [17:56:39]line Безнал.: 0.00 [17:56:39]line Место: АЗС № 77 "Партнер Нефть" [17:56:39]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [17:56:39]line СНО: Общий режим [17:56:39]line Чек 47 12.07.2024 17:56 [17:56:39]line Смена: 433 ФФД: 1.0 [17:56:39]line ЗНМ: 0300000122 [17:56:39]line РНМ: 0000000000093033 [17:56:39]line Версия ККМ: 001 [17:56:39]line ФМ: 0000000000875104 [17:56:39]line ФД: 33369 [17:56:39]line ФПД: 148446078845620 [17:56:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T175639&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33369&fm=148446078845620&tin=02508201610067®Number=0000000000093033&sum=9500 [17:56:39]OFD Sender: Processing packet 33369 [packets to send 6, broken 5] [17:56:39]ProducePacketName [17:56:39]name=ofd_packets/00033369 [17:56:39]OFD Sender: To server: pG, [17:56:39]CommunicateWithHost lk.salyk.kg:30040 [17:56:39]ConnectInit lk.salyk.kg [17:56:39]line 0 [17:56:39]written 0, free lines is 4095 [17:56:39]Connected sock=10 [17:56:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 39 01 00 00 CC AC 31 01 58 9D 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 2F 00 00 00 F4 03 04 00 57 6E 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 59 82 00 00 35 04 06 00 87 02 CB CC 42 B4 48 9F AC B7 E5 53 4C 8E [17:56:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 0C 1B 47 00 1F 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 38 37 35 31 30 34 10 04 04 00 59 82 00 00 F4 03 04 00 03 19 91 66 B6 04 01 00 00 B6 98 A7 28 4C 56 51 85 [17:56:39]CommunicateWithHost err = 0 [17:56:39]CheckOFDResponse [17:56:39]1017 (14) - 77093643461234 [17:56:39]1041 (16) - 0000000000875104 [17:56:39]1040 (4) - 33369 [17:56:39]1012 (4) - 12.07.2024 11:52 [17:56:39]1206 (1) - 0 [17:56:39]OFD Sender: Remove packet 33369 [17:56:39]ProducePacketName [17:56:39]name=ofd_packets/00033369 [17:56:39]NVStorageDeleteData [17:56:39]Write to MH i2c: 01 00 00 82 0D 8F [17:56:39]Write i2c OK [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 07 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: 01 07 00 82 0D 00 00 00 00 00 E7 0C 89 [17:56:39]RasterBufferAndPrint [17:56:39]line [17:56:39]line [17:56:39]line [17:56:39]line [17:56:39]line [17:56:39]written 0, free lines is 3310 [17:56:39]MH_Cut [17:56:39]Write to MH i2c: D1 01 00 89 0D 01 68 [17:56:39]Write i2c OK [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: D1 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: D1 01 00 [17:56:39]MH_I2C_Read... [17:56:39]Read from MH i2c: D1 01 00 89 0D 00 67 [17:56:39]Write to MH i2c: 01 00 00 8A 0D 97 [17:56:39]Write i2c OK [17:56:39]MH_I2C_Read... [17:56:40]OFD Sender: No OFD packet to send [17:56:40]*** Cut start [17:56:40]*** Partial cut [17:56:40]*** CUTSNS_PIN = 1 [17:56:40]*** CUTSNS_PIN = 0 [17:56:40]*** Brake cut motor [17:56:41]Read from MH i2c: 01 [17:56:41]MH_I2C_Read... [17:56:41]*** Stop cut motor [17:56:41]*** Cut end [17:56:41]Read from MH i2c: 01 07 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: 01 07 00 8A 0D 00 00 00 00 00 FF 0F AC [17:56:41]process_action close_receipt done [17:56:41]requested_data is exist [17:56:41]produce_requested_data [17:56:41]requested_item fm.sn is exist - process it [17:56:41]wFMCommunicate request_size=4 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 11 00 00 [17:56:41]Write to MH i2c: E2 08 00 8B 0D 80 11 00 00 00 00 00 00 12 [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:41]Read from MH i2c: E2 17 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 17 00 8B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 5E [17:56:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [17:56:41]wFMCommunicate OK [17:56:41]requested_item fd.num is exist - process it [17:56:41]SAM_PROTO_GetFieldsCounters [17:56:41]wFMCommunicate request_size=4 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 13 00 00 [17:56:41]Write to MH i2c: E2 08 00 8C 0D 80 13 00 00 00 00 00 00 15 [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 62 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 62 00 8C 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 59 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 42 [17:56:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 59 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:56:41]wFMCommunicate OK [17:56:41]SAM_PROTO_GetFieldsCounters done [17:56:41]requested_item shift.num is exist - process it [17:56:41]requested_item shift.opened is exist - process it [17:56:41]req_shift_opened [17:56:41]FM_GetShiftState [17:56:41]SAM_PROTO_GetShiftState [17:56:41]wFMCommunicate request_size=4 [17:56:41]MH_SAM_APDU [17:56:41]CAPDU: 80 13 01 00 [17:56:41]Write to MH i2c: E2 08 00 8D 0D 80 13 01 00 00 00 00 00 17 [17:56:41]Write i2c OK [17:56:41]MH_I2C_Read... [17:56:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:41]Read from MH i2c: E2 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 0E 00 [17:56:41]MH_I2C_Read... [17:56:41]Read from MH i2c: E2 0E 00 8D 0D 00 09 00 01 17 74 90 66 00 00 00 00 90 00 A4 [17:56:41]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [17:56:41]wFMCommunicate OK [17:56:41]SAM_PROTO_GetShiftState done [17:56:41]FM_GetShiftState done [17:56:41]req_shift_opened done [17:56:41]requested_item shift.open_date is exist - process it [17:56:41]req_shift_open_date [17:56:41]req_shift_open_date done [17:56:41]produce_requested_data done [17:56:41]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33369,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [17:56:41]process_action_free close_receipt [17:56:41]json_value_free [17:56:41]json_value_free done [17:56:41]process_json_proto returns [17:56:41]Send response to host [17:56:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33369,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [17:56:41]free response buf [17:56:41]execute_script done [17:56:41]execute_script returns [17:56:41]free content buf [17:56:41]Sock 7.Close socket [17:56:41]Sock 7.Thread stoped [17:56:45]OFD Sender: No OFD packet to send [17:56:50]OFD Sender: No OFD packet to send [17:56:55]OFD Sender: No OFD packet to send [17:57:00]OFD Sender: No OFD packet to send [17:57:05]OFD Sender: No OFD packet to send [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:35]OFD Sender: No OFD packet to send [17:57:40]OFD Sender: No OFD packet to send [17:57:45]OFD Sender: No OFD packet to send [17:57:50]OFD Sender: No OFD packet to send [17:57:55]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:59:00]OFD Sender: No OFD packet to send [17:59:05]OFD Sender: No OFD packet to send [17:59:10]OFD Sender: No OFD packet to send [17:59:15]OFD Sender: No OFD packet to send [17:59:20]OFD Sender: No OFD packet to send [17:59:25]OFD Sender: No OFD packet to send [17:59:30]OFD Sender: No OFD packet to send [17:59:35]OFD Sender: No OFD packet to send [17:59:40]OFD Sender: No OFD packet to send [17:59:45]OFD Sender: No OFD packet to send [17:59:50]OFD Sender: No OFD packet to send [17:59:55]OFD Sender: No OFD packet to send [18:00:00]OFD Sender: No OFD packet to send [18:00:05]OFD Sender: No OFD packet to send [18:00:10]OFD Sender: No OFD packet to send [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:25]OFD Sender: No OFD packet to send [18:11:30]OFD Sender: No OFD packet to send [18:11:35]OFD Sender: No OFD packet to send [18:11:40]OFD Sender: No OFD packet to send [18:11:45]OFD Sender: No OFD packet to send [18:11:50]OFD Sender: No OFD packet to send [18:11:55]OFD Sender: No OFD packet to send [18:12:00]OFD Sender: No OFD packet to send [18:12:05]OFD Sender: No OFD packet to send [18:12:10]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:50]OFD Sender: No OFD packet to send [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:30]OFD Sender: No OFD packet to send [18:13:35]OFD Sender: No OFD packet to send [18:13:40]OFD Sender: No OFD packet to send [18:13:45]OFD Sender: No OFD packet to send [18:13:50]OFD Sender: No OFD packet to send [18:13:55]OFD Sender: No OFD packet to send [18:14:00]OFD Sender: No OFD packet to send [18:14:05]OFD Sender: No OFD packet to send [18:14:10]OFD Sender: No OFD packet to send [18:14:15]OFD Sender: No OFD packet to send [18:14:20]OFD Sender: No OFD packet to send [18:14:25]OFD Sender: No OFD packet to send [18:14:30]OFD Sender: No OFD packet to send [18:14:35]OFD Sender: No OFD packet to send [18:14:40]OFD Sender: No OFD packet to send [18:14:45]OFD Sender: No OFD packet to send [18:14:50]OFD Sender: No OFD packet to send [18:14:56]OFD Sender: No OFD packet to send [18:15:01]OFD Sender: No OFD packet to send [18:15:06]OFD Sender: No OFD packet to send [18:15:11]OFD Sender: No OFD packet to send [18:15:16]OFD Sender: No OFD packet to send [18:15:21]OFD Sender: No OFD packet to send [18:15:26]OFD Sender: No OFD packet to send [18:15:31]OFD Sender: No OFD packet to send [18:15:36]OFD Sender: No OFD packet to send [18:15:41]OFD Sender: No OFD packet to send [18:15:46]OFD Sender: No OFD packet to send [18:15:51]OFD Sender: No OFD packet to send [18:15:56]OFD Sender: No OFD packet to send [18:16:01]OFD Sender: No OFD packet to send [18:16:06]OFD Sender: No OFD packet to send [18:16:11]OFD Sender: No OFD packet to send [18:16:16]OFD Sender: No OFD packet to send [18:16:21]OFD Sender: No OFD packet to send [18:16:26]OFD Sender: No OFD packet to send [18:16:31]OFD Sender: No OFD packet to send [18:16:36]OFD Sender: No OFD packet to send [18:16:41]OFD Sender: No OFD packet to send [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:01]OFD Sender: No OFD packet to send [18:17:06]OFD Sender: No OFD packet to send [18:17:11]OFD Sender: No OFD packet to send [18:17:16]OFD Sender: No OFD packet to send [18:17:21]OFD Sender: No OFD packet to send [18:17:26]OFD Sender: No OFD packet to send [18:17:31]OFD Sender: No OFD packet to send [18:17:36]OFD Sender: No OFD packet to send [18:17:41]OFD Sender: No OFD packet to send [18:17:46]OFD Sender: No OFD packet to send [18:17:51]OFD Sender: No OFD packet to send [18:17:56]OFD Sender: No OFD packet to send [18:18:01]OFD Sender: No OFD packet to send [18:18:06]OFD Sender: No OFD packet to send [18:18:11]OFD Sender: No OFD packet to send [18:18:16]OFD Sender: No OFD packet to send [18:18:21]OFD Sender: No OFD packet to send [18:18:26]OFD Sender: No OFD packet to send [18:18:31]OFD Sender: No OFD packet to send [18:18:36]OFD Sender: No OFD packet to send [18:18:41]OFD Sender: No OFD packet to send [18:18:46]OFD Sender: No OFD packet to send [18:18:51]OFD Sender: No OFD packet to send [18:18:56]OFD Sender: No OFD packet to send [18:19:01]OFD Sender: No OFD packet to send [18:19:06]OFD Sender: No OFD packet to send [18:19:11]OFD Sender: No OFD packet to send [18:19:16]OFD Sender: No OFD packet to send [18:19:21]OFD Sender: No OFD packet to send [18:19:26]OFD Sender: No OFD packet to send [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:31]OFD Sender: No OFD packet to send [18:20:36]OFD Sender: No OFD packet to send [18:20:41]OFD Sender: No OFD packet to send [18:20:46]OFD Sender: No OFD packet to send [18:20:51]OFD Sender: No OFD packet to send [18:20:56]OFD Sender: No OFD packet to send [18:21:01]OFD Sender: No OFD packet to send [18:21:06]OFD Sender: No OFD packet to send [18:21:11]OFD Sender: No OFD packet to send [18:21:16]OFD Sender: No OFD packet to send [18:21:21]OFD Sender: No OFD packet to send [18:21:26]OFD Sender: No OFD packet to send [18:21:31]OFD Sender: No OFD packet to send [18:21:36]OFD Sender: No OFD packet to send [18:21:41]OFD Sender: No OFD packet to send [18:21:46]OFD Sender: No OFD packet to send [18:21:51]OFD Sender: No OFD packet to send [18:21:56]OFD Sender: No OFD packet to send [18:22:01]OFD Sender: No OFD packet to send [18:22:06]OFD Sender: No OFD packet to send [18:22:11]OFD Sender: No OFD packet to send [18:22:16]OFD Sender: No OFD packet to send [18:22:21]OFD Sender: No OFD packet to send [18:22:26]OFD Sender: No OFD packet to send [18:22:31]OFD Sender: No OFD packet to send [18:22:36]OFD Sender: No OFD packet to send [18:22:41]OFD Sender: No OFD packet to send [18:22:46]OFD Sender: No OFD packet to send [18:22:51]OFD Sender: No OFD packet to send [18:22:56]OFD Sender: No OFD packet to send [18:23:01]OFD Sender: No OFD packet to send [18:23:06]OFD Sender: No OFD packet to send [18:23:11]OFD Sender: No OFD packet to send [18:23:16]OFD Sender: No OFD packet to send [18:23:21]OFD Sender: No OFD packet to send [18:23:26]OFD Sender: No OFD packet to send [18:23:31]OFD Sender: No OFD packet to send [18:23:36]OFD Sender: No OFD packet to send [18:23:41]OFD Sender: No OFD packet to send [18:23:46]OFD Sender: No OFD packet to send [18:23:51]OFD Sender: No OFD packet to send [18:23:56]OFD Sender: No OFD packet to send [18:24:01]OFD Sender: No OFD packet to send [18:24:06]OFD Sender: No OFD packet to send [18:24:11]OFD Sender: No OFD packet to send [18:24:16]OFD Sender: No OFD packet to send [18:24:21]OFD Sender: No OFD packet to send [18:24:26]OFD Sender: No OFD packet to send [18:24:31]OFD Sender: No OFD packet to send [18:24:36]OFD Sender: No OFD packet to send [18:24:41]OFD Sender: No OFD packet to send [18:24:46]OFD Sender: No OFD packet to send [18:24:51]OFD Sender: No OFD packet to send [18:24:56]OFD Sender: No OFD packet to send [18:25:01]OFD Sender: No OFD packet to send [18:25:06]OFD Sender: No OFD packet to send [18:25:11]OFD Sender: No OFD packet to send [18:25:16]OFD Sender: No OFD packet to send [18:25:21]OFD Sender: No OFD packet to send [18:25:26]OFD Sender: No OFD packet to send [18:25:31]OFD Sender: No OFD packet to send [18:25:36]OFD Sender: No OFD packet to send [18:25:41]OFD Sender: No OFD packet to send [18:25:46]OFD Sender: No OFD packet to send [18:25:51]OFD Sender: No OFD packet to send [18:25:56]OFD Sender: No OFD packet to send [18:26:01]OFD Sender: No OFD packet to send [18:26:06]OFD Sender: No OFD packet to send [18:26:11]OFD Sender: No OFD packet to send [18:26:16]OFD Sender: No OFD packet to send [18:26:21]OFD Sender: No OFD packet to send [18:26:26]OFD Sender: No OFD packet to send [18:26:31]OFD Sender: No OFD packet to send [18:26:36]OFD Sender: No OFD packet to send [18:26:41]OFD Sender: No OFD packet to send [18:26:46]OFD Sender: No OFD packet to send [18:26:51]OFD Sender: No OFD packet to send [18:26:56]OFD Sender: No OFD packet to send [18:27:01]OFD Sender: No OFD packet to send [18:27:06]OFD Sender: No OFD packet to send [18:27:11]OFD Sender: No OFD packet to send [18:27:16]OFD Sender: No OFD packet to send [18:27:21]OFD Sender: No OFD packet to send [18:27:26]OFD Sender: No OFD packet to send [18:27:31]OFD Sender: No OFD packet to send [18:27:36]OFD Sender: No OFD packet to send [18:27:41]OFD Sender: No OFD packet to send [18:27:46]OFD Sender: No OFD packet to send [18:27:51]OFD Sender: No OFD packet to send [18:27:56]OFD Sender: No OFD packet to send [18:28:01]OFD Sender: No OFD packet to send [18:28:06]OFD Sender: No OFD packet to send [18:28:11]OFD Sender: No OFD packet to send [18:28:16]OFD Sender: No OFD packet to send [18:28:21]OFD Sender: No OFD packet to send [18:28:26]OFD Sender: No OFD packet to send [18:28:31]OFD Sender: No OFD packet to send [18:28:36]OFD Sender: No OFD packet to send [18:28:41]OFD Sender: No OFD packet to send [18:28:46]OFD Sender: No OFD packet to send [18:28:51]OFD Sender: No OFD packet to send [18:28:56]OFD Sender: No OFD packet to send [18:29:01]OFD Sender: No OFD packet to send [18:29:06]OFD Sender: No OFD packet to send [18:29:11]OFD Sender: No OFD packet to send [18:29:16]OFD Sender: No OFD packet to send [18:29:21]OFD Sender: No OFD packet to send [18:29:26]OFD Sender: No OFD packet to send [18:29:31]OFD Sender: No OFD packet to send [18:29:36]OFD Sender: No OFD packet to send [18:29:41]OFD Sender: No OFD packet to send [18:29:46]OFD Sender: No OFD packet to send [18:29:51]OFD Sender: No OFD packet to send [18:29:56]OFD Sender: No OFD packet to send [18:30:01]OFD Sender: No OFD packet to send [18:30:06]OFD Sender: No OFD packet to send [18:30:11]OFD Sender: No OFD packet to send [18:30:16]OFD Sender: No OFD packet to send [18:30:21]OFD Sender: No OFD packet to send [18:30:26]OFD Sender: No OFD packet to send [18:30:31]OFD Sender: No OFD packet to send [18:30:36]OFD Sender: No OFD packet to send [18:30:41]OFD Sender: No OFD packet to send [18:30:46]OFD Sender: No OFD packet to send [18:30:51]OFD Sender: No OFD packet to send [18:30:56]OFD Sender: No OFD packet to send [18:31:01]OFD Sender: No OFD packet to send [18:31:06]OFD Sender: No OFD packet to send [18:31:11]OFD Sender: No OFD packet to send [18:31:16]OFD Sender: No OFD packet to send [18:31:21]OFD Sender: No OFD packet to send [18:31:26]OFD Sender: No OFD packet to send [18:31:31]OFD Sender: No OFD packet to send [18:31:36]OFD Sender: No OFD packet to send [18:31:41]OFD Sender: No OFD packet to send [18:31:46]OFD Sender: No OFD packet to send [18:31:51]OFD Sender: No OFD packet to send [18:31:56]OFD Sender: No OFD packet to send [18:32:01]OFD Sender: No OFD packet to send [18:32:06]OFD Sender: No OFD packet to send [18:32:11]OFD Sender: No OFD packet to send [18:32:16]OFD Sender: No OFD packet to send [18:32:21]OFD Sender: No OFD packet to send [18:32:26]OFD Sender: No OFD packet to send [18:32:31]OFD Sender: No OFD packet to send [18:32:36]OFD Sender: No OFD packet to send [18:32:41]OFD Sender: No OFD packet to send [18:32:46]OFD Sender: No OFD packet to send [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]accept exits with 9 [18:34:36]New connection [18:34:36]New thread 3066604900 created [18:34:36]Thread 3066461540 joined [18:34:36]Waiting for new connection... [18:34:36] Sock 9.Parse request [18:34:36]Sock 9.Check first char [18:34:36]Sock 9.First char is OK [18:34:36]request: POST /json_proto HTTP/1.0 [18:34:36]Method: POST [18:34:36]URL: /json_proto [18:34:36]Method is POST - this is cgi request [18:34:36]url: /json_proto [18:34:36]query_string will be loaded in cgi processing [18:34:36]execute_cgi json_proto POST (null) [18:34:36]execute_cgi path=json_proto method=POST [18:34:36]POST find Content-Length [18:34:36]Host: 172.17.35.196:8080 [18:34:36]Content-Length: 706 [18:34:36]Content-Type: application/json [18:34:36] [18:34:36]POST finish read [18:34:36]Found Content-Length = 706 [18:34:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169183", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:36]execute_script... [18:34:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169183", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:36]POST & json_proto [18:34:36]process_json_proto [18:34:36]json parsed OK: [18:34:36]protocol is kg_v1.0 [18:34:36]action value=close_receipt [18:34:36]process_action close_receipt [18:34:36]cmd_close_receipt [18:34:36]MH_GetDate [18:34:36]Write to MH i2c: F0 00 00 8E 0D 8A [18:34:36]Write i2c OK [18:34:36]MH_I2C_Read... [18:34:36]Read from MH i2c: F0 [18:34:36]MH_I2C_Read... [18:34:36]Read from MH i2c: F0 09 00 [18:34:36]MH_I2C_Read... [18:34:36]Read from MH i2c: F0 09 00 8E 0D 00 3E 77 91 66 AD 14 F4 65 59 [18:34:36]GetLastDocTimeStamp 1720806999 [18:34:36]current date 1720809278 [18:34:36]FM_GetShiftState [18:34:36]SAM_PROTO_GetShiftState [18:34:36]wFMCommunicate request_size=4 [18:34:36]MH_SAM_APDU [18:34:36]CAPDU: 80 13 01 00 [18:34:36]Write to MH i2c: E2 08 00 8F 0D 80 13 01 00 00 00 00 00 19 [18:34:36]Write i2c OK [18:34:36]MH_I2C_Read... [18:34:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:36]Read from MH i2c: E2 [18:34:36]MH_I2C_Read... [18:34:36]Read from MH i2c: E2 0E 00 [18:34:36]MH_I2C_Read... [18:34:36]Read from MH i2c: E2 0E 00 8F 0D 00 09 00 01 17 74 90 66 00 00 00 00 90 00 A6 [18:34:36]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [18:34:36]wFMCommunicate OK [18:34:36]SAM_PROTO_GetShiftState done [18:34:36]FM_GetShiftState done [18:34:36]opened in 1720742935 [18:34:36]opened+sec_in_day 1720829335 [18:34:36]quantity*price = 10700 [18:34:36]sum+1 = 10701 [18:34:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 107.00 НСП 1% : 0.95 НДС 12% : 11.36 Наличными: 107.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 48 12.07.2024 18:34 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33370 ФПД: 62158964069949 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T183438&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33370&fm=62158964069949&tin=02508201610067®Number=0000000000093033&sum=10700 0 [18:34:37]StoreToDocumentArchive [18:34:37]shift 433 fd 33370 [18:34:37]save to /storage/0433/doc_00033370 [18:34:37]save last doc name /storage/0433/doc_00033370 to /storage/kkm_last_doc_name [18:34:37]save OK [18:34:37]Clear old archive folders... [18:34:37]ProcessDocumentItem done err = 0, tmpTLVsize=298 [18:34:37]tlvbuf is 00A35140 [18:34:37]SAM_PROTO_ClearQueue [18:34:37]wFMCommunicate request_size=4 [18:34:37]MH_SAM_APDU [18:34:37]CAPDU: 80 09 00 00 [18:34:37]Write to MH i2c: E2 08 00 9C 0D 80 09 00 00 00 00 00 00 1B [18:34:37]Write i2c OK [18:34:37]MH_I2C_Read... [18:34:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:34:37]Read from MH i2c: E2 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 03 00 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 03 00 9C 0D 00 90 00 1D [18:34:37]RAPDU: 90 00 [18:34:37]wFMCommunicate OK [18:34:37]SAM_PROTO_ClearQueue done [18:34:37]KKMCreateOFDPacket [18:34:37]OFDProtocolAddRootSTLVToBuf [18:34:37]FM_MakeSignedData [18:34:37]FM_MakeSignedData [18:34:37]SAM_PROTO_SignData [18:34:37]wFMCommunicate request_size=4 [18:34:37]MH_SAM_APDU [18:34:37]CAPDU: 80 0D 01 02 [18:34:37]Write to MH i2c: E2 08 00 9D 0D 80 0D 01 02 00 00 00 00 23 [18:34:37]Write i2c OK [18:34:37]MH_I2C_Read... [18:34:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:34:37]Read from MH i2c: E2 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 03 00 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 03 00 9D 0D 00 90 00 1E [18:34:37]RAPDU: 90 00 [18:34:37]wFMCommunicate OK [18:34:37]wFMCommunicate request_size=255 [18:34:37]MH_SAM_APDU [18:34:37]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 3E 77 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [18:34:37]Write to MH i2c: E2 02 01 9E 0D 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 3E 77 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 B6 [18:34:37]Write i2c OK [18:34:37]MH_I2C_Read... [18:34:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:37]Read from MH i2c: E2 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 03 00 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 03 00 9E 0D 00 90 00 1F [18:34:37]RAPDU: 90 00 [18:34:37]wFMCommunicate OK [18:34:37]wFMCommunicate request_size=57 [18:34:37]MH_SAM_APDU [18:34:37]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5A 82 00 00 35 04 06 00 38 88 82 F9 16 3D [18:34:37]Write to MH i2c: E2 3C 00 9F 0D 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5A 82 00 00 35 04 06 00 38 88 82 F9 16 3D 00 00 3F [18:34:37]Write i2c OK [18:34:37]MH_I2C_Read... [18:34:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:37]Read from MH i2c: E2 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 03 00 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 03 00 9F 0D 00 90 00 20 [18:34:37]RAPDU: 90 00 [18:34:37]wFMCommunicate OK [18:34:37]wFMCommunicate request_size=4 [18:34:37]MH_SAM_APDU [18:34:37]CAPDU: 80 0D 03 02 [18:34:37]Write to MH i2c: E2 08 00 A0 0D 80 0D 03 02 00 00 00 00 28 [18:34:37]Write i2c OK [18:34:37]MH_I2C_Read... [18:34:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:34:37]Read from MH i2c: E2 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 0B 00 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 0B 00 A0 0D 00 54 A7 42 7A CB EF FE 3E 90 00 D6 [18:34:37]RAPDU: 54 A7 42 7A CB EF FE 3E 90 00 [18:34:37]wFMCommunicate OK [18:34:37]SAM_PROTO_SignData done [18:34:37]FM_MakeSignedData done [18:34:37]CreateOFDProtocolMessage [18:34:37]wFMCommunicate request_size=4 [18:34:37]MH_SAM_APDU [18:34:37]CAPDU: 80 11 00 00 [18:34:37]Write to MH i2c: E2 08 00 A1 0D 80 11 00 00 00 00 00 00 28 [18:34:37]Write i2c OK [18:34:37]MH_I2C_Read... [18:34:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:37]Read from MH i2c: E2 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 17 00 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: E2 17 00 A1 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 74 [18:34:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:34:37]wFMCommunicate OK [18:34:37]CreateOFDProtocolMessage done [18:34:37]OFDSenderStorePacket 33370 [18:34:37]StoreOFDPacket docnum=33370 [18:34:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3E 01 00 00 FE 88 36 01 17 5B 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 3E 77 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5A 82 00 00 35 04 06 00 38 88 82 F9 16 3D 54 A7 42 7A CB EF FE 3E [18:34:37]CheckFolder [18:34:37]dirname=/storage/ofd_packets [18:34:37]CheckFolder done [18:34:37]ProducePacketName [18:34:37]name=ofd_packets/00033370 [18:34:37]NVStorageSaveData ofd_packets/00033370 [18:34:37]File name is /storage/ofd_packets/00033370 [18:34:37]Write 348 bytes [18:34:37]NVStorageSaveData done [18:34:37]OFDSenderStorePacket done [18:34:37]KKMCreateOFDPacket done [18:34:37]NVStorageSaveData kkm_last_timestamp [18:34:37]File name is /storage/kkm_last_timestamp [18:34:37]Write 4 bytes [18:34:37]NVStorageSaveData done [18:34:37]ExternCall_PrintAddStr [18:34:37]wPrintStart [18:34:37]Write to MH i2c: 01 00 00 A2 0D AF [18:34:37]Write i2c OK [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: 01 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: 01 07 00 [18:34:37]MH_I2C_Read... [18:34:37]Read from MH i2c: 01 07 00 A2 0D 00 00 00 00 00 FF 0F C4 [18:34:37]RasterBufferAndPrint [18:34:37]line Счет N : (3)169183 [18:34:37]line ИНН: 02508201610067 [18:34:37]line Контрольно-Кассовый Чек [18:34:37]line ПРОДАЖА [18:34:37]line Товар: 5449000189356 [18:34:37]line Холодный чай Fuse манго ананас 1л [18:34:37]line 1.000 * 107.00 [18:34:37]line = 107.00 [18:34:37]line НДС 12% НСП 1% [18:34:37]line > о реализуемом товаре [18:34:37]line ИТОГО: 107.00 [18:34:37]line НСП 1% : 0.95 [18:34:37]line НДС 12% : 11.36 [18:34:37]line Наличными: 107.00 [18:34:37]line Безнал.: 0.00 [18:34:37]line Место: АЗС № 77 "Партнер Нефть" [18:34:37]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:34:37]line СНО: Общий режим [18:34:37]line Чек 48 12.07.2024 18:34 [18:34:37]line Смена: 433 ФФД: 1.0 [18:34:37]line ЗНМ: 0300000122 [18:34:37]line РНМ: 0000000000093033 [18:34:37]line Версия ККМ: 001 [18:34:37]line ФМ: 0000000000875104 [18:34:37]line ФД: 33370 [18:34:37]line ФПД: 62158964069949 [18:34:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T183438&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33370&fm=62158964069949&tin=02508201610067®Number=0000000000093033&sum=10700 [18:34:37]line 0 [18:34:37]written 0, free lines is 4095 [18:34:37]OFD Sender: Processing packet 33370 [packets to send 6, broken 5] [18:34:37]ProducePacketName [18:34:37]name=ofd_packets/00033370 [18:34:37]OFD Sender: To server: pG, [18:34:37]CommunicateWithHost lk.salyk.kg:30040 [18:34:37]ConnectInit lk.salyk.kg [18:34:38]Connected sock=11 [18:34:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 3E 01 00 00 FE 88 36 01 17 5B 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 3E 77 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5A 82 00 00 35 04 06 00 38 88 82 F9 16 3D 54 A7 42 7A CB EF FE 3E [18:34:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 CD BF 47 00 66 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5A 82 00 00 F4 03 04 00 EA 21 91 66 B6 04 01 00 00 3B F0 B4 86 4E D5 D7 6F [18:34:38]CommunicateWithHost err = 0 [18:34:38]CheckOFDResponse [18:34:38]1017 (14) - 77093643461234 [18:34:38]1041 (16) - 0000000000875104 [18:34:38]1040 (4) - 33370 [18:34:38]1012 (4) - 12.07.2024 12:30 [18:34:38]1206 (1) - 0 [18:34:38]OFD Sender: Remove packet 33370 [18:34:38]ProducePacketName [18:34:38]name=ofd_packets/00033370 [18:34:38]NVStorageDeleteData [18:34:38]Write to MH i2c: 01 00 00 CB 0D D8 [18:34:38]Write i2c OK [18:34:38]MH_I2C_Read... [18:34:38]Read from MH i2c: 01 [18:34:38]MH_I2C_Read... [18:34:38]Read from MH i2c: 01 07 00 [18:34:38]MH_I2C_Read... [18:34:38]Read from MH i2c: 01 07 00 CB 0D 00 00 00 00 00 E1 0C CC [18:34:38]RasterBufferAndPrint [18:34:38]line [18:34:38]line [18:34:38]line [18:34:38]line [18:34:38]line [18:34:38]written 0, free lines is 3303 [18:34:38]MH_Cut [18:34:38]Write to MH i2c: D1 01 00 D2 0D 01 B1 [18:34:38]Write i2c OK [18:34:38]MH_I2C_Read... [18:34:38]Read from MH i2c: D1 [18:34:38]MH_I2C_Read... [18:34:38]Read from MH i2c: D1 01 00 [18:34:38]MH_I2C_Read... [18:34:38]Read from MH i2c: D1 01 00 D2 0D 00 B0 [18:34:38]Write to MH i2c: 01 00 00 D3 0D E0 [18:34:38]Write i2c OK [18:34:38]MH_I2C_Read... [18:34:38]OFD Sender: No OFD packet to send [18:34:39]*** Cut start [18:34:39]*** Partial cut [18:34:39]*** CUTSNS_PIN = 1 [18:34:39]*** CUTSNS_PIN = 0 [18:34:39]*** Brake cut motor [18:34:39]Read from MH i2c: 01 [18:34:39]MH_I2C_Read... [18:34:39]*** Stop cut motor [18:34:39]*** Cut end [18:34:39]Read from MH i2c: 01 07 00 [18:34:39]MH_I2C_Read... [18:34:39]Read from MH i2c: 01 07 00 D3 0D 00 00 00 00 00 FF 0F F5 [18:34:39]process_action close_receipt done [18:34:39]requested_data is exist [18:34:39]produce_requested_data [18:34:39]requested_item fm.sn is exist - process it [18:34:39]wFMCommunicate request_size=4 [18:34:39]MH_SAM_APDU [18:34:39]CAPDU: 80 11 00 00 [18:34:39]Write to MH i2c: E2 08 00 D4 0D 80 11 00 00 00 00 00 00 5B [18:34:39]Write i2c OK [18:34:39]MH_I2C_Read... [18:34:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:39]Read from MH i2c: E2 [18:34:39]MH_I2C_Read... [18:34:39]Read from MH i2c: E2 17 00 [18:34:39]MH_I2C_Read... [18:34:39]Read from MH i2c: E2 17 00 D4 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 A7 [18:34:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:34:39]wFMCommunicate OK [18:34:39]requested_item fd.num is exist - process it [18:34:39]SAM_PROTO_GetFieldsCounters [18:34:39]wFMCommunicate request_size=4 [18:34:39]MH_SAM_APDU [18:34:39]CAPDU: 80 13 00 00 [18:34:39]Write to MH i2c: E2 08 00 D5 0D 80 13 00 00 00 00 00 00 5E [18:34:39]Write i2c OK [18:34:39]MH_I2C_Read... [18:34:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:34:39]Read from MH i2c: E2 [18:34:39]MH_I2C_Read... [18:34:39]Read from MH i2c: E2 62 00 [18:34:39]MH_I2C_Read... [18:34:39]Read from MH i2c: E2 62 00 D5 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5A 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 8F [18:34:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5A 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:34:39]wFMCommunicate OK [18:34:39]SAM_PROTO_GetFieldsCounters done [18:34:39]requested_item shift.num is exist - process it [18:34:39]requested_item shift.opened is exist - process it [18:34:39]req_shift_opened [18:34:39]FM_GetShiftState [18:34:39]SAM_PROTO_GetShiftState [18:34:39]wFMCommunicate request_size=4 [18:34:39]MH_SAM_APDU [18:34:39]CAPDU: 80 13 01 00 [18:34:39]Write to MH i2c: E2 08 00 D6 0D 80 13 01 00 00 00 00 00 60 [18:34:39]Write i2c OK [18:34:39]MH_I2C_Read... [18:34:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:39]Read from MH i2c: E2 [18:34:39]MH_I2C_Read... [18:34:39]Read from MH i2c: E2 0E 00 [18:34:39]MH_I2C_Read... [18:34:39]Read from MH i2c: E2 0E 00 D6 0D 00 09 00 01 17 74 90 66 00 00 00 00 90 00 ED [18:34:39]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [18:34:39]wFMCommunicate OK [18:34:39]SAM_PROTO_GetShiftState done [18:34:39]FM_GetShiftState done [18:34:39]req_shift_opened done [18:34:39]requested_item shift.open_date is exist - process it [18:34:39]req_shift_open_date [18:34:39]req_shift_open_date done [18:34:39]produce_requested_data done [18:34:39]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33370,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [18:34:39]process_action_free close_receipt [18:34:39]json_value_free [18:34:39]json_value_free done [18:34:39]process_json_proto returns [18:34:39]Send response to host [18:34:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33370,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [18:34:39]free response buf [18:34:39]execute_script done [18:34:39]execute_script returns [18:34:39]free content buf [18:34:39]Sock 9.Close socket [18:34:39]Sock 9.Thread stoped [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:33]OFD Sender: No OFD packet to send [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:58]OFD Sender: No OFD packet to send [18:36:03]OFD Sender: No OFD packet to send [18:36:08]OFD Sender: No OFD packet to send [18:36:13]OFD Sender: No OFD packet to send [18:36:18]OFD Sender: No OFD packet to send [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:38]OFD Sender: No OFD packet to send [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:37:59]accept exits with 7 [18:37:59]New connection [18:37:59]New thread 3066461540 created [18:37:59]Thread 3066604900 joined [18:37:59]Waiting for new connection... [18:37:59] Sock 7.Parse request [18:37:59]Sock 7.Check first char [18:37:59]Sock 7.First char is OK [18:37:59]request: POST /json_proto HTTP/1.0 [18:37:59]Method: POST [18:37:59]URL: /json_proto [18:37:59]Method is POST - this is cgi request [18:37:59]url: /json_proto [18:37:59]query_string will be loaded in cgi processing [18:37:59]execute_cgi json_proto POST (null) [18:37:59]execute_cgi path=json_proto method=POST [18:37:59]POST find Content-Length [18:37:59]Host: 172.17.35.196:8080 [18:37:59]Content-Length: 215 [18:37:59]Content-Type: application/json [18:37:59] [18:37:59]POST finish read [18:37:59]Found Content-Length = 215 [18:37:59]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" ] } } [18:37:59]execute_script... [18:37:59]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" ] } } [18:37:59]POST & json_proto [18:37:59]process_json_proto [18:37:59]json parsed OK: [18:37:59]protocol is kg_v1.0 [18:37:59]action value=get_value [18:37:59]process_action get_value [18:37:59]cmd_get_value [18:37:59]process_action get_value done [18:37:59]requested_data is exist [18:37:59]produce_requested_data [18:37:59]requested_item kkm.sn is exist - process it [18:37:59]requested_item kkm.ver is exist - process it [18:37:59]requested_item fm.sn is exist - process it [18:37:59]wFMCommunicate request_size=4 [18:37:59]MH_SAM_APDU [18:37:59]CAPDU: 80 11 00 00 [18:37:59]Write to MH i2c: E2 08 00 D7 0D 80 11 00 00 00 00 00 00 5E [18:37:59]Write i2c OK [18:37:59]MH_I2C_Read... [18:37:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:37:59]Read from MH i2c: E2 [18:37:59]MH_I2C_Read... [18:37:59]Read from MH i2c: E2 17 00 [18:37:59]MH_I2C_Read... [18:37:59]Read from MH i2c: E2 17 00 D7 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 AA [18:37:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:37:59]wFMCommunicate OK [18:37:59]requested_item fd.num is exist - process it [18:37:59]SAM_PROTO_GetFieldsCounters [18:37:59]wFMCommunicate request_size=4 [18:37:59]MH_SAM_APDU [18:37:59]CAPDU: 80 13 00 00 [18:37:59]Write to MH i2c: E2 08 00 D8 0D 80 13 00 00 00 00 00 00 61 [18:37:59]Write i2c OK [18:37:59]MH_I2C_Read... [18:37:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:37:59]Read from MH i2c: E2 [18:37:59]MH_I2C_Read... [18:37:59]Read from MH i2c: E2 62 00 [18:37:59]MH_I2C_Read... [18:37:59]Read from MH i2c: E2 62 00 D8 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5A 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [18:37:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5A 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:37:59]wFMCommunicate OK [18:37:59]SAM_PROTO_GetFieldsCounters done [18:37:59]requested_item shift.num is exist - process it [18:37:59]requested_item shift.opened is exist - process it [18:37:59]req_shift_opened [18:37:59]FM_GetShiftState [18:37:59]SAM_PROTO_GetShiftState [18:37:59]wFMCommunicate request_size=4 [18:37:59]MH_SAM_APDU [18:37:59]CAPDU: 80 13 01 00 [18:37:59]Write to MH i2c: E2 08 00 D9 0D 80 13 01 00 00 00 00 00 63 [18:37:59]Write i2c OK [18:37:59]MH_I2C_Read... [18:37:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:37:59]Read from MH i2c: E2 [18:37:59]MH_I2C_Read... [18:37:59]Read from MH i2c: E2 0E 00 [18:37:59]MH_I2C_Read... [18:37:59]Read from MH i2c: E2 0E 00 D9 0D 00 09 00 01 17 74 90 66 00 00 00 00 90 00 F0 [18:37:59]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [18:37:59]wFMCommunicate OK [18:37:59]SAM_PROTO_GetShiftState done [18:37:59]FM_GetShiftState done [18:37:59]req_shift_opened done [18:37:59]requested_item shift.open_date is exist - process it [18:37:59]req_shift_open_date [18:37:59]req_shift_open_date done [18:37:59]produce_requested_data done [18:37:59]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33370,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [18:37:59]process_action_free get_value [18:37:59]json_value_free [18:37:59]json_value_free done [18:37:59]process_json_proto returns [18:37:59]Send response to host [18:37:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33370,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [18:37:59]free response buf [18:37:59]execute_script done [18:37:59]execute_script returns [18:37:59]free content buf [18:37:59]Sock 7.Close socket [18:37:59]Sock 7.Thread stoped [18:38:02]accept exits with 9 [18:38:02]New connection [18:38:02]New thread 3066604900 created [18:38:02]Thread 3066461540 joined [18:38:02]Waiting for new connection... [18:38:02] Sock 9.Parse request [18:38:02]Sock 9.Check first char [18:38:02]Sock 9.First char is OK [18:38:02]request: POST /json_proto HTTP/1.0 [18:38:02]Method: POST [18:38:02]URL: /json_proto [18:38:02]Method is POST - this is cgi request [18:38:02]url: /json_proto [18:38:02]query_string will be loaded in cgi processing [18:38:02]execute_cgi json_proto POST (null) [18:38:02]execute_cgi path=json_proto method=POST [18:38:02]POST find Content-Length [18:38:02]Host: 172.17.35.196:8080 [18:38:02]Content-Length: 331 [18:38:02]Content-Type: application/json [18:38:02] [18:38:02]POST finish read [18:38:02]Found Content-Length = 331 [18:38: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" ] } } [18:38:02]execute_script... [18:38: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" ] } } [18:38:02]POST & json_proto [18:38:02]process_json_proto [18:38:02]json parsed OK: [18:38:02]protocol is kg_v1.0 [18:38:02]action value=get_value [18:38:02]process_action get_value [18:38:02]cmd_get_value [18:38:02]process_action get_value done [18:38:02]requested_data is exist [18:38:02]produce_requested_data [18:38:02]requested_item fm.sale.total is exist - process it [18:38:02]SAM_PROTO_GetFMData [18:38:02]wFMCommunicate request_size=4 [18:38:02]MH_SAM_APDU [18:38:02]CAPDU: 80 13 03 00 [18:38:02]Write to MH i2c: E2 08 00 DA 0D 80 13 03 00 00 00 00 00 66 [18:38:02]Write i2c OK [18:38:02]MH_I2C_Read... [18:38:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [18:38:02]Read from MH i2c: E2 [18:38:02]MH_I2C_Read... [18:38:02]Read from MH i2c: E2 FD 00 [18:38:02]MH_I2C_Read... [18:38:02]Read from MH i2c: E2 FD 00 DA 0D 00 C4 04 85 04 C0 04 6E 04 04 00 F8 7E 00 00 69 04 A0 00 6F 04 04 00 17 7E 00 00 B1 04 04 00 DA A4 9F 3F 70 04 04 00 C4 10 F2 34 72 04 04 00 16 94 AD 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B6 D0 C1 06 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 1A 1B 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 29 [18:38:02]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 F8 7E 00 00 69 04 A0 00 6F 04 04 00 17 7E 00 00 B1 04 04 00 DA A4 9F 3F 70 04 04 00 C4 10 F2 34 72 04 04 00 16 94 AD 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B6 D0 C1 06 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 1A 1B 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [18:38:02]wFMCommunicate OK [18:38:02]wFMCommunicate request_size=4 [18:38:02]MH_SAM_APDU [18:38:02]CAPDU: 80 17 00 00 [18:38:02]Write to MH i2c: E2 08 00 DB 0D 80 17 00 00 00 00 00 00 68 [18:38:02]Write i2c OK [18:38:02]MH_I2C_Read... [18:38:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:38:03]Read from MH i2c: E2 [18:38:03]MH_I2C_Read... [18:38:03]Read from MH i2c: E2 FD 00 [18:38:03]MH_I2C_Read... [18:38:03]Read from MH i2c: E2 FD 00 DB 0D 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 25 [18:38:03]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [18:38:03]wFMCommunicate OK [18:38:03]wFMCommunicate request_size=4 [18:38:03]MH_SAM_APDU [18:38:03]CAPDU: 80 17 00 00 [18:38:03]Write to MH i2c: E2 08 00 DC 0D 80 17 00 00 00 00 00 00 69 [18:38:03]Write i2c OK [18:38:03]MH_I2C_Read... [18:38:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:38:03]Read from MH i2c: E2 [18:38:03]MH_I2C_Read... [18:38:03]Read from MH i2c: E2 FD 00 [18:38:03]MH_I2C_Read... [18:38:03]Read from MH i2c: E2 FD 00 DC 0D 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7E [18:38:03]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:38:03]wFMCommunicate OK [18:38:03]wFMCommunicate request_size=4 [18:38:03]MH_SAM_APDU [18:38:03]CAPDU: 80 17 00 00 [18:38:03]Write to MH i2c: E2 08 00 DD 0D 80 17 00 00 00 00 00 00 6A [18:38:03]Write i2c OK [18:38:03]MH_I2C_Read... [18:38:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:38:03]Read from MH i2c: E2 [18:38:03]MH_I2C_Read... [18:38:03]Read from MH i2c: E2 FD 00 [18:38:03]MH_I2C_Read... [18:38:03]Read from MH i2c: E2 FD 00 DD 0D 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E2 [18:38:03]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:38:03]wFMCommunicate OK [18:38:03]wFMCommunicate request_size=4 [18:38:03]MH_SAM_APDU [18:38:03]CAPDU: 80 17 00 00 [18:38:03]Write to MH i2c: E2 08 00 DE 0D 80 17 00 00 00 00 00 00 6B [18:38:03]Write i2c OK [18:38:03]MH_I2C_Read... [18:38:03]OFD Sender: No OFD packet to send [18:38:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [18:38:04]Read from MH i2c: E2 [18:38:04]MH_I2C_Read... [18:38:04]Read from MH i2c: E2 E1 00 [18:38:04]MH_I2C_Read... [18:38:04]Read from MH i2c: E2 E1 00 DE 0D 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 59 [18:38:04]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:38:04]wFMCommunicate OK [18:38:04]SAM_PROTO_GetFMData done [18:38:04]requested_item fm.sale_refund.total is exist - process it [18:38:04]requested_item fm.buy.total is exist - process it [18:38:04]requested_item shift.sale.total is exist - process it [18:38:04]SAM_PROTO_GetShiftData [18:38:04]wFMCommunicate request_size=4 [18:38:04]MH_SAM_APDU [18:38:04]CAPDU: 80 13 02 00 [18:38:04]Write to MH i2c: E2 08 00 DF 0D 80 13 02 00 00 00 00 00 6A [18:38:04]Write i2c OK [18:38:04]MH_I2C_Read... [18:38:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:38:04]Read from MH i2c: E2 [18:38:04]MH_I2C_Read... [18:38:04]Read from MH i2c: E2 FD 00 [18:38:04]MH_I2C_Read... [18:38:04]Read from MH i2c: E2 FD 00 DF 0D 00 AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 3A BC 16 70 04 03 00 2C 8E 0E 72 04 03 00 0E 2E 08 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 1B 6A 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 7E 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DB [18:38:04]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 3A BC 16 70 04 03 00 2C 8E 0E 72 04 03 00 0E 2E 08 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 1B 6A 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 7E 33 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [18:38:04]wFMCommunicate OK [18:38:04]wFMCommunicate request_size=4 [18:38:04]MH_SAM_APDU [18:38:04]CAPDU: 80 17 00 00 [18:38:04]Write to MH i2c: E2 08 00 E0 0D 80 17 00 00 00 00 00 00 6D [18:38:04]Write i2c OK [18:38:04]MH_I2C_Read... [18:38:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:38:04]Read from MH i2c: E2 [18:38:04]MH_I2C_Read... [18:38:04]Read from MH i2c: E2 FD 00 [18:38:04]MH_I2C_Read... [18:38:04]Read from MH i2c: E2 FD 00 E0 0D 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 8F [18:38: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 [18:38:04]wFMCommunicate OK [18:38:04]wFMCommunicate request_size=4 [18:38:04]MH_SAM_APDU [18:38:04]CAPDU: 80 17 00 00 [18:38:04]Write to MH i2c: E2 08 00 E1 0D 80 17 00 00 00 00 00 00 6E [18:38:04]Write i2c OK [18:38:04]MH_I2C_Read... [18:38:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:38:05]Read from MH i2c: E2 [18:38:05]MH_I2C_Read... [18:38:05]Read from MH i2c: E2 FD 00 [18:38:05]MH_I2C_Read... [18:38:05]Read from MH i2c: E2 FD 00 E1 0D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 25 [18:38:05]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 [18:38:05]wFMCommunicate OK [18:38:05]wFMCommunicate request_size=4 [18:38:05]MH_SAM_APDU [18:38:05]CAPDU: 80 17 00 00 [18:38:05]Write to MH i2c: E2 08 00 E2 0D 80 17 00 00 00 00 00 00 6F [18:38:05]Write i2c OK [18:38:05]MH_I2C_Read... [18:38:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:38:05]Read from MH i2c: E2 [18:38:05]MH_I2C_Read... [18:38:05]Read from MH i2c: E2 FD 00 [18:38:05]MH_I2C_Read... [18:38:05]Read from MH i2c: E2 FD 00 E2 0D 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 E1 [18:38: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 [18:38:05]wFMCommunicate OK [18:38:05]wFMCommunicate request_size=4 [18:38:05]MH_SAM_APDU [18:38:05]CAPDU: 80 17 00 00 [18:38:05]Write to MH i2c: E2 08 00 E3 0D 80 17 00 00 00 00 00 00 70 [18:38:05]Write i2c OK [18:38:05]MH_I2C_Read... [18:38:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:38:05]Read from MH i2c: E2 [18:38:05]MH_I2C_Read... [18:38:05]Read from MH i2c: E2 CB 00 [18:38:05]MH_I2C_Read... [18:38:05]Read from MH i2c: E2 CB 00 E3 0D 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 59 [18:38: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 [18:38:05]wFMCommunicate OK [18:38:05]SAM_PROTO_GetShiftData done [18:38:05]requested_item shift.sale.total_cash is exist - process it [18:38:05]requested_item shift.sale_refund.total is exist - process it [18:38:05]requested_item shift.sale_refund.total_cash is exist - process it [18:38:05]requested_item shift.buy.total is exist - process it [18:38:05]requested_item shift.buy.total_cash is exist - process it [18:38:05]produce_requested_data done [18:38:05]produce_requested_data return {"fm.sale.total":10674270.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":14899.78,"shift.sale.total_cash":9539.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} [18:38:05]process_action_free get_value [18:38:05]json_value_free [18:38:05]json_value_free done [18:38:05]process_json_proto returns [18:38:05]Send response to host [18:38:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10674270.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":14899.78,"shift.sale.total_cash":9539.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}}} [18:38:05]free response buf [18:38:05]execute_script done [18:38:05]execute_script returns [18:38:05]free content buf [18:38:05]Sock 9.Close socket [18:38:05]Sock 9.Thread stoped [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38: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:00]accept exits with 7 [18:43:00]New connection [18:43:00]New thread 3066461540 created [18:43:00]Thread 3066604900 joined [18:43:00]Waiting for new connection... [18:43:00] Sock 7.Parse request [18:43:00]Sock 7.Check first char [18:43:00]Sock 7.First char is OK [18:43:00]request: POST /json_proto HTTP/1.0 [18:43:00]Method: POST [18:43:00]URL: /json_proto [18:43:00]Method is POST - this is cgi request [18:43:00]url: /json_proto [18:43:00]query_string will be loaded in cgi processing [18:43:00]execute_cgi json_proto POST (null) [18:43:00]execute_cgi path=json_proto method=POST [18:43:00]POST find Content-Length [18:43:00]Host: 172.17.35.196:8080 [18:43:00]Content-Length: 634 [18:43:00]Content-Type: application/json [18:43:00] [18:43:00]POST finish read [18:43:00]Found Content-Length = 634 [18:43:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670312", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 10.000, "sum" : 673.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 673.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:00]execute_script... [18:43:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)5670312", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 10.000, "sum" : 673.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 673.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:43:00]POST & json_proto [18:43:00]process_json_proto [18:43:00]json parsed OK: [18:43:00]protocol is kg_v1.0 [18:43:00]action value=close_receipt [18:43:00]process_action close_receipt [18:43:00]cmd_close_receipt [18:43:00]MH_GetDate [18:43:00]Write to MH i2c: F0 00 00 E4 0D E0 [18:43:00]Write i2c OK [18:43:00]MH_I2C_Read... [18:43:00]Read from MH i2c: F0 [18:43:00]MH_I2C_Read... [18:43:00]Read from MH i2c: F0 09 00 [18:43:00]MH_I2C_Read... [18:43:00]Read from MH i2c: F0 09 00 E4 0D 00 36 79 91 66 AD 14 F4 65 A9 [18:43:00]GetLastDocTimeStamp 1720809278 [18:43:00]current date 1720809782 [18:43:00]FM_GetShiftState [18:43:00]SAM_PROTO_GetShiftState [18:43:00]wFMCommunicate request_size=4 [18:43:00]MH_SAM_APDU [18:43:00]CAPDU: 80 13 01 00 [18:43:00]Write to MH i2c: E2 08 00 E5 0D 80 13 01 00 00 00 00 00 6F [18:43:00]Write i2c OK [18:43:00]MH_I2C_Read... [18:43:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:00]Read from MH i2c: E2 [18:43:00]MH_I2C_Read... [18:43:00]Read from MH i2c: E2 0E 00 [18:43:00]MH_I2C_Read... [18:43:00]Read from MH i2c: E2 0E 00 E5 0D 00 09 00 01 17 74 90 66 00 00 00 00 90 00 FC [18:43:00]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [18:43:00]wFMCommunicate OK [18:43:00]SAM_PROTO_GetShiftState done [18:43:00]FM_GetShiftState done [18:43:00]opened in 1720742935 [18:43:00]opened+sec_in_day 1720829335 [18:43:00]quantity*price = 67300 [18:43:00]sum+1 = 67301 [18:43:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 673.00 НСП 1% : 5.96 НДС 12% : 71.47 Наличными: 673.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 49 12.07.2024 18:43 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33371 ФПД: 29905847818848 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T184302&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33371&fm=29905847818848&tin=02508201610067®Number=0000000000093033&sum=67300 [18:43:01]StoreToDocumentArchive [18:43:01]shift 433 fd 33371 [18:43:01]save to /storage/0433/doc_00033371 [18:43:01]save last doc name /storage/0433/doc_00033371 to /storage/kkm_last_doc_name [18:43:01]save OK [18:43:01]Clear old archive folders... [18:43:01]ProcessDocumentItem done err = 0, tmpTLVsize=252 [18:43:01]tlvbuf is 00A46780 [18:43:01]SAM_PROTO_ClearQueue [18:43:01]wFMCommunicate request_size=4 [18:43:01]MH_SAM_APDU [18:43:01]CAPDU: 80 09 00 00 [18:43:01]Write to MH i2c: E2 08 00 F2 0D 80 09 00 00 00 00 00 00 71 [18:43:01]Write i2c OK [18:43:01]MH_I2C_Read... [18:43:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:43:01]Read from MH i2c: E2 [18:43:01]MH_I2C_Read... [18:43:01]Read from MH i2c: E2 03 00 [18:43:01]MH_I2C_Read... [18:43:01]Read from MH i2c: E2 03 00 F2 0D 00 90 00 73 [18:43:01]RAPDU: 90 00 [18:43:01]wFMCommunicate OK [18:43:01]SAM_PROTO_ClearQueue done [18:43:01]KKMCreateOFDPacket [18:43:01]OFDProtocolAddRootSTLVToBuf [18:43:01]FM_MakeSignedData [18:43:01]FM_MakeSignedData [18:43:01]SAM_PROTO_SignData [18:43:01]wFMCommunicate request_size=4 [18:43:01]MH_SAM_APDU [18:43:01]CAPDU: 80 0D 01 02 [18:43:01]Write to MH i2c: E2 08 00 F3 0D 80 0D 01 02 00 00 00 00 79 [18:43:01]Write i2c OK [18:43:01]MH_I2C_Read... [18:43:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:43:02]Read from MH i2c: E2 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 03 00 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 03 00 F3 0D 00 90 00 74 [18:43:02]RAPDU: 90 00 [18:43:02]wFMCommunicate OK [18:43:02]wFMCommunicate request_size=255 [18:43:02]MH_SAM_APDU [18:43:02]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 E4 06 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 06 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1B 00 00 00 00 07 04 06 00 E4 06 01 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 36 79 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5B 82 00 00 35 04 06 00 [18:43:02]Write to MH i2c: E2 02 01 F4 0D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 E4 06 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 06 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1B 00 00 00 00 07 04 06 00 E4 06 01 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 36 79 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5B 82 00 00 35 04 06 00 00 00 30 [18:43:02]Write i2c OK [18:43:02]MH_I2C_Read... [18:43:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:02]Read from MH i2c: E2 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 03 00 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 03 00 F4 0D 00 90 00 75 [18:43:02]RAPDU: 90 00 [18:43:02]wFMCommunicate OK [18:43:02]wFMCommunicate request_size=11 [18:43:02]MH_SAM_APDU [18:43:02]CAPDU: 80 0D 02 02 06 1B 32 FF 6F 9A 60 [18:43:02]Write to MH i2c: E2 0E 00 F5 0D 80 0D 02 02 06 00 1B 32 FF 6F 9A 60 00 00 3D [18:43:02]Write i2c OK [18:43:02]MH_I2C_Read... [18:43:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:43:02]Read from MH i2c: E2 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 03 00 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 03 00 F5 0D 00 90 00 76 [18:43:02]RAPDU: 90 00 [18:43:02]wFMCommunicate OK [18:43:02]wFMCommunicate request_size=4 [18:43:02]MH_SAM_APDU [18:43:02]CAPDU: 80 0D 03 02 [18:43:02]Write to MH i2c: E2 08 00 F6 0D 80 0D 03 02 00 00 00 00 7E [18:43:02]Write i2c OK [18:43:02]MH_I2C_Read... [18:43:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:43:02]Read from MH i2c: E2 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 0B 00 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 0B 00 F6 0D 00 BD 00 2F B6 B0 11 13 EC 90 00 E1 [18:43:02]RAPDU: BD 00 2F B6 B0 11 13 EC 90 00 [18:43:02]wFMCommunicate OK [18:43:02]SAM_PROTO_SignData done [18:43:02]FM_MakeSignedData done [18:43:02]CreateOFDProtocolMessage [18:43:02]wFMCommunicate request_size=4 [18:43:02]MH_SAM_APDU [18:43:02]CAPDU: 80 11 00 00 [18:43:02]Write to MH i2c: E2 08 00 F7 0D 80 11 00 00 00 00 00 00 7E [18:43:02]Write i2c OK [18:43:02]MH_I2C_Read... [18:43:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:02]Read from MH i2c: E2 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 17 00 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: E2 17 00 F7 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CA [18:43:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:43:02]wFMCommunicate OK [18:43:02]CreateOFDProtocolMessage done [18:43:02]OFDSenderStorePacket 33371 [18:43:02]StoreOFDPacket docnum=33371 [18:43:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 01 00 00 94 6A 08 01 A0 5F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 E4 06 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 06 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1B 00 00 00 00 07 04 06 00 E4 06 01 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 36 79 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5B 82 00 00 35 04 06 00 1B 32 FF 6F 9A 60 BD 00 2F B6 B0 11 13 EC [18:43:02]CheckFolder [18:43:02]dirname=/storage/ofd_packets [18:43:02]CheckFolder done [18:43:02]ProducePacketName [18:43:02]name=ofd_packets/00033371 [18:43:02]NVStorageSaveData ofd_packets/00033371 [18:43:02]File name is /storage/ofd_packets/00033371 [18:43:02]Write 302 bytes [18:43:02]NVStorageSaveData done [18:43:02]OFDSenderStorePacket done [18:43:02]KKMCreateOFDPacket done [18:43:02]NVStorageSaveData kkm_last_timestamp [18:43:02]File name is /storage/kkm_last_timestamp [18:43:02]Write 4 bytes [18:43:02]NVStorageSaveData done [18:43:02]ExternCall_PrintAddStr [18:43:02]wPrintStart [18:43:02]Write to MH i2c: 01 00 00 F8 0D 05 [18:43:02]Write i2c OK [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: 01 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: 01 07 00 [18:43:02]MH_I2C_Read... [18:43:02]Read from MH i2c: 01 07 00 F8 0D 00 00 00 00 00 FF 0F 1A [18:43:02]RasterBufferAndPrint [18:43:02]line Счет N : (1)5670312 [18:43:02]line ИНН: 02508201610067 [18:43:02]line Контрольно-Кассовый Чек [18:43:02]line ПРОДАЖА [18:43:02]line ТРК (МРК, ГНК) : 41 [18:43:02]line Товар: 2710124130 [18:43:02]line SUPER 92-К-5 [18:43:02]line 10.000 * 67.30 [18:43:02]line = 673.00 [18:43:02]line НДС 12% НСП 1% [18:43:02]line > о реализуемом товаре [18:43:02]line ИТОГО: 673.00 [18:43:02]line НСП 1% : 5.96 [18:43:02]line НДС 12% : 71.47 [18:43:02]line Наличными: 673.00 [18:43:02]line Безнал.: 0.00 [18:43:02]line Место: АЗС № 77 "Партнер Нефть" [18:43:02]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:43:02]line СНО: Общий режим [18:43:02]line Чек 49 12.07.2024 18:43 [18:43:02]line Смена: 433 ФФД: 1.0 [18:43:02]line ЗНМ: 0300000122 [18:43:02]line РНМ: 0000000000093033 [18:43:02]line Версия ККМ: 001 [18:43:02]line ФМ: 0000000000875104 [18:43:02]line ФД: 33371 [18:43:02]line ФПД: 29905847818848 [18:43:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T184302&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33371&fm=29905847818848&tin=02508201610067®Number=0000000000093033&sum=67300 [18:43:02]OFD Sender: Processing packet 33371 [packets to send 6, broken 5] [18:43:02]ProducePacketName [18:43:02]name=ofd_packets/00033371 [18:43:02]OFD Sender: To server: pG, [18:43:02]CommunicateWithHost lk.salyk.kg:30040 [18:43:02]ConnectInit lk.salyk.kg [18:43:02]written 0, free lines is 4095 [18:43:02]Connected sock=10 [18:43:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 01 00 00 94 6A 08 01 A0 5F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 E4 06 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 06 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1B 00 00 00 00 07 04 06 00 E4 06 01 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 36 79 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5B 82 00 00 35 04 06 00 1B 32 FF 6F 9A 60 BD 00 2F B6 B0 11 13 EC [18:43:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 38 0E 47 00 B0 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5B 82 00 00 F4 03 04 00 E3 23 91 66 B6 04 01 00 00 4E 0F B4 71 60 C4 71 A4 [18:43:03]CommunicateWithHost err = 0 [18:43:03]CheckOFDResponse [18:43:03]1017 (14) - 77093643461234 [18:43:03]1041 (16) - 0000000000875104 [18:43:03]1040 (4) - 33371 [18:43:03]1012 (4) - 12.07.2024 12:38 [18:43:03]1206 (1) - 0 [18:43:03]OFD Sender: Remove packet 33371 [18:43:03]ProducePacketName [18:43:03]name=ofd_packets/00033371 [18:43:03]NVStorageDeleteData [18:43:03]Write to MH i2c: 01 00 00 20 0E 2E [18:43:03]Write i2c OK [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: 01 [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: 01 07 00 [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: 01 07 00 20 0E 00 00 00 00 00 16 0D 58 [18:43:03]RasterBufferAndPrint [18:43:03]line [18:43:03]line [18:43:03]line [18:43:03]line [18:43:03]line [18:43:03]written 0, free lines is 3356 [18:43:03]MH_Cut [18:43:03]Write to MH i2c: D1 01 00 27 0E 01 07 [18:43:03]Write i2c OK [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: D1 [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: D1 01 00 [18:43:03]MH_I2C_Read... [18:43:03]Read from MH i2c: D1 01 00 27 0E 00 06 [18:43:03]Write to MH i2c: 01 00 00 28 0E 36 [18:43:03]Write i2c OK [18:43:03]MH_I2C_Read... [18:43:03]OFD Sender: No OFD packet to send [18:43:03]*** Cut start [18:43:03]*** Partial cut [18:43:03]*** CUTSNS_PIN = 1 [18:43:03]*** CUTSNS_PIN = 0 [18:43:04]*** Brake cut motor [18:43:04]Read from MH i2c: 01 [18:43:04]MH_I2C_Read... [18:43:04]*** Stop cut motor [18:43:04]*** Cut end [18:43:04]Read from MH i2c: 01 07 00 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: 01 07 00 28 0E 00 00 00 00 00 FF 0F 4B [18:43:04]process_action close_receipt done [18:43:04]requested_data is exist [18:43:04]produce_requested_data [18:43:04]requested_item fm.sn is exist - process it [18:43:04]wFMCommunicate request_size=4 [18:43:04]MH_SAM_APDU [18:43:04]CAPDU: 80 11 00 00 [18:43:04]Write to MH i2c: E2 08 00 29 0E 80 11 00 00 00 00 00 00 B1 [18:43:04]Write i2c OK [18:43:04]MH_I2C_Read... [18:43:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:43:04]Read from MH i2c: E2 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 17 00 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 17 00 29 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FD [18:43:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:43:04]wFMCommunicate OK [18:43:04]requested_item fd.num is exist - process it [18:43:04]SAM_PROTO_GetFieldsCounters [18:43:04]wFMCommunicate request_size=4 [18:43:04]MH_SAM_APDU [18:43:04]CAPDU: 80 13 00 00 [18:43:04]Write to MH i2c: E2 08 00 2A 0E 80 13 00 00 00 00 00 00 B4 [18:43:04]Write i2c OK [18:43:04]MH_I2C_Read... [18:43:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:43:04]Read from MH i2c: E2 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 62 00 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 62 00 2A 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5B 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [18:43:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5B 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:43:04]wFMCommunicate OK [18:43:04]SAM_PROTO_GetFieldsCounters done [18:43:04]requested_item shift.num is exist - process it [18:43:04]requested_item shift.opened is exist - process it [18:43:04]req_shift_opened [18:43:04]FM_GetShiftState [18:43:04]SAM_PROTO_GetShiftState [18:43:04]wFMCommunicate request_size=4 [18:43:04]MH_SAM_APDU [18:43:04]CAPDU: 80 13 01 00 [18:43:04]Write to MH i2c: E2 08 00 2B 0E 80 13 01 00 00 00 00 00 B6 [18:43:04]Write i2c OK [18:43:04]MH_I2C_Read... [18:43:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:43:04]Read from MH i2c: E2 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 0E 00 [18:43:04]MH_I2C_Read... [18:43:04]Read from MH i2c: E2 0E 00 2B 0E 00 09 00 01 17 74 90 66 00 00 00 00 90 00 43 [18:43:04]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [18:43:04]wFMCommunicate OK [18:43:04]SAM_PROTO_GetShiftState done [18:43:04]FM_GetShiftState done [18:43:04]req_shift_opened done [18:43:04]requested_item shift.open_date is exist - process it [18:43:04]req_shift_open_date [18:43:04]req_shift_open_date done [18:43:04]produce_requested_data done [18:43:04]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33371,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [18:43:04]process_action_free close_receipt [18:43:04]json_value_free [18:43:04]json_value_free done [18:43:04]process_json_proto returns [18:43:04]Send response to host [18:43:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33371,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [18:43:04]free response buf [18:43:04]execute_script done [18:43:04]execute_script returns [18:43:04]free content buf [18:43:04]Sock 7.Close socket [18:43:04]Sock 7.Thread stoped [18:43:08]OFD Sender: No OFD packet to send [18:43:13]OFD Sender: No OFD packet to send [18:43:18]OFD Sender: No OFD packet to send [18:43:23]OFD Sender: No OFD packet to send [18:43:28]OFD Sender: No OFD packet to send [18:43:33]OFD Sender: No OFD packet to send [18:43:38]OFD Sender: No OFD packet to send [18:43:43]OFD Sender: No OFD packet to send [18:43:48]OFD Sender: No OFD packet to send [18:43:53]OFD Sender: No OFD packet to send [18:43:58]OFD Sender: No OFD packet to send [18:44:03]OFD Sender: No OFD packet to send [18:44:08]OFD Sender: No OFD packet to send [18:44:13]OFD Sender: No OFD packet to send [18:44:18]OFD Sender: No OFD packet to send [18:44:23]OFD Sender: No OFD packet to send [18:44:28]OFD Sender: No OFD packet to send [18:44:33]OFD Sender: No OFD packet to send [18:44:38]OFD Sender: No OFD packet to send [18:44:43]OFD Sender: No OFD packet to send [18:44:48]OFD Sender: No OFD packet to send [18:44:53]OFD Sender: No OFD packet to send [18:44:58]OFD Sender: No OFD packet to send [18:45:03]OFD Sender: No OFD packet to send [18:45:08]OFD Sender: No OFD packet to send [18:45:13]OFD Sender: No OFD packet to send [18:45:18]OFD Sender: No OFD packet to send [18:45:23]OFD Sender: No OFD packet to send [18:45:28]OFD Sender: No OFD packet to send [18:45:33]OFD Sender: No OFD packet to send [18:45:38]OFD Sender: No OFD packet to send [18:45:43]OFD Sender: No OFD packet to send [18:45:48]OFD Sender: No OFD packet to send [18:45:53]OFD Sender: No OFD packet to send [18:45:58]OFD Sender: No OFD packet to send [18:46:03]OFD Sender: No OFD packet to send [18:46:08]OFD Sender: No OFD packet to send [18:46:13]OFD Sender: No OFD packet to send [18:46:18]OFD Sender: No OFD packet to send [18:46:23]OFD Sender: No OFD packet to send [18:46:28]OFD Sender: No OFD packet to send [18:46:33]OFD Sender: No OFD packet to send [18:46:38]OFD Sender: No OFD packet to send [18:46:43]OFD Sender: No OFD packet to send [18:46:48]OFD Sender: No OFD packet to send [18:46:53]OFD Sender: No OFD packet to send [18:46:58]OFD Sender: No OFD packet to send [18:47:03]OFD Sender: No OFD packet to send [18:47:08]OFD Sender: No OFD packet to send [18:47:13]OFD Sender: No OFD packet to send [18:47:18]OFD Sender: No OFD packet to send [18:47:23]OFD Sender: No OFD packet to send [18:47:28]OFD Sender: No OFD packet to send [18:47:33]OFD Sender: No OFD packet to send [18:47:38]OFD Sender: No OFD packet to send [18:47:43]OFD Sender: No OFD packet to send [18:47:48]OFD Sender: No OFD packet to send [18:47:53]OFD Sender: No OFD packet to send [18:47:58]OFD Sender: No OFD packet to send [18:48:03]OFD Sender: No OFD packet to send [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:04]accept exits with 9 [18:51:04]New connection [18:51:04]New thread 3066604900 created [18:51:04]Thread 3066461540 joined [18:51:04]Waiting for new connection... [18:51:04] Sock 9.Parse request [18:51:04]Sock 9.Check first char [18:51:04]Sock 9.First char is OK [18:51:04]request: POST /json_proto HTTP/1.0 [18:51:04]Method: POST [18:51:04]URL: /json_proto [18:51:04]Method is POST - this is cgi request [18:51:04]url: /json_proto [18:51:04]query_string will be loaded in cgi processing [18:51:04]execute_cgi json_proto POST (null) [18:51:04]execute_cgi path=json_proto method=POST [18:51:04]POST find Content-Length [18:51:04]Host: 172.17.35.196:8080 [18:51:04]Content-Length: 807 [18:51:04]Content-Type: application/json [18:51:04] [18:51:04]POST finish read [18:51:04]Found Content-Length = 807 [18:51:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169184", "tax_sys" : 0, "items" : [ { "code": "4680036914937", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F 0,275\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:51:04]execute_script... [18:51: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)169184", "tax_sys" : 0, "items" : [ { "code": "4680036914937", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F 0,275\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:51:04]POST & json_proto [18:51:04]process_json_proto [18:51:04]json parsed OK: [18:51:04]protocol is kg_v1.0 [18:51:04]action value=close_receipt [18:51:04]process_action close_receipt [18:51:04]cmd_close_receipt [18:51:04]MH_GetDate [18:51:04]Write to MH i2c: F0 00 00 2C 0E 29 [18:51:04]Write i2c OK [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: F0 [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: F0 09 00 [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: F0 09 00 2C 0E 00 1A 7B 91 66 AD 14 F4 65 D8 [18:51:04]GetLastDocTimeStamp 1720809782 [18:51:04]current date 1720810266 [18:51:04]FM_GetShiftState [18:51:04]SAM_PROTO_GetShiftState [18:51:04]wFMCommunicate request_size=4 [18:51:04]MH_SAM_APDU [18:51:04]CAPDU: 80 13 01 00 [18:51:04]Write to MH i2c: E2 08 00 2D 0E 80 13 01 00 00 00 00 00 B8 [18:51:04]Write i2c OK [18:51:04]MH_I2C_Read... [18:51:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:51:04]Read from MH i2c: E2 [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: E2 0E 00 [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: E2 0E 00 2D 0E 00 09 00 01 17 74 90 66 00 00 00 00 90 00 45 [18:51:04]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [18:51:04]wFMCommunicate OK [18:51:04]SAM_PROTO_GetShiftState done [18:51:04]FM_GetShiftState done [18:51:04]opened in 1720742935 [18:51:04]opened+sec_in_day 1720829335 [18:51:04]quantity*price = 9000 [18:51:04]sum+1 = 9001 [18:51:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 50 12.07.2024 18:51 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33372 ФПД: 199917117503223 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T185106&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33372&fm=199917117503223&tin=02508201610067®Number=0000000000093033&sum=9000 0 [18:51:05]StoreToDocumentArchive [18:51:05]shift 433 fd 33372 [18:51:05]save to /storage/0433/doc_00033372 [18:51:05]save last doc name /storage/0433/doc_00033372 to /storage/kkm_last_doc_name [18:51:05]save OK [18:51:05]Clear old archive folders... [18:51:05]ProcessDocumentItem done err = 0, tmpTLVsize=269 [18:51:05]tlvbuf is 00A6D080 [18:51:05]SAM_PROTO_ClearQueue [18:51:05]wFMCommunicate request_size=4 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 09 00 00 [18:51:05]Write to MH i2c: E2 08 00 3A 0E 80 09 00 00 00 00 00 00 BA [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 3A 0E 00 90 00 BC [18:51:05]RAPDU: 90 00 [18:51:05]wFMCommunicate OK [18:51:05]SAM_PROTO_ClearQueue done [18:51:05]KKMCreateOFDPacket [18:51:05]OFDProtocolAddRootSTLVToBuf [18:51:05]FM_MakeSignedData [18:51:05]FM_MakeSignedData [18:51:05]SAM_PROTO_SignData [18:51:05]wFMCommunicate request_size=4 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 0D 01 02 [18:51:05]Write to MH i2c: E2 08 00 3B 0E 80 0D 01 02 00 00 00 00 C2 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 3B 0E 00 90 00 BD [18:51:05]RAPDU: 90 00 [18:51:05]wFMCommunicate OK [18:51:05]wFMCommunicate request_size=255 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1A 7B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [18:51:05]Write to MH i2c: E2 02 01 3C 0E 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1A 7B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 A7 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 3C 0E 00 90 00 BE [18:51:05]RAPDU: 90 00 [18:51:05]wFMCommunicate OK [18:51:05]wFMCommunicate request_size=28 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 0D 02 02 17 37 35 31 30 34 10 04 04 00 5C 82 00 00 35 04 06 00 B5 D2 D4 C5 F6 F7 [18:51:05]Write to MH i2c: E2 1F 00 3D 0E 80 0D 02 02 17 00 37 35 31 30 34 10 04 04 00 5C 82 00 00 35 04 06 00 B5 D2 D4 C5 F6 F7 00 00 36 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 3D 0E 00 90 00 BF [18:51:05]RAPDU: 90 00 [18:51:05]wFMCommunicate OK [18:51:05]wFMCommunicate request_size=4 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 0D 03 02 [18:51:05]Write to MH i2c: E2 08 00 3E 0E 80 0D 03 02 00 00 00 00 C7 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 0B 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 0B 00 3E 0E 00 C6 07 AD 36 71 9D 35 67 90 00 22 [18:51:05]RAPDU: C6 07 AD 36 71 9D 35 67 90 00 [18:51:05]wFMCommunicate OK [18:51:05]SAM_PROTO_SignData done [18:51:05]FM_MakeSignedData done [18:51:05]CreateOFDProtocolMessage [18:51:05]wFMCommunicate request_size=4 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 11 00 00 [18:51:05]Write to MH i2c: E2 08 00 3F 0E 80 11 00 00 00 00 00 00 C7 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 17 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 17 00 3F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 13 [18:51:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:51:05]wFMCommunicate OK [18:51:05]CreateOFDProtocolMessage done [18:51:05]OFDSenderStorePacket 33372 [18:51:05]StoreOFDPacket docnum=33372 [18:51:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 9C 66 19 01 40 6F 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1A 7B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5C 82 00 00 35 04 06 00 B5 D2 D4 C5 F6 F7 C6 07 AD 36 71 9D 35 67 [18:51:05]CheckFolder [18:51:05]dirname=/storage/ofd_packets [18:51:05]CheckFolder done [18:51:05]ProducePacketName [18:51:05]name=ofd_packets/00033372 [18:51:05]NVStorageSaveData ofd_packets/00033372 [18:51:05]File name is /storage/ofd_packets/00033372 [18:51:05]Write 319 bytes [18:51:05]NVStorageSaveData done [18:51:05]OFDSenderStorePacket done [18:51:05]KKMCreateOFDPacket done [18:51:05]NVStorageSaveData kkm_last_timestamp [18:51:05]File name is /storage/kkm_last_timestamp [18:51:05]Write 4 bytes [18:51:05]NVStorageSaveData done [18:51:05]ExternCall_PrintAddStr [18:51:05]wPrintStart [18:51:05]Write to MH i2c: 01 00 00 40 0E 4E [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: 01 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: 01 07 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: 01 07 00 40 0E 00 00 00 00 00 FF 0F 63 [18:51:05]RasterBufferAndPrint [18:51:05]line Счет N : (3)169184 [18:51:05]line ИНН: 02508201610067 [18:51:05]line Контрольно-Кассовый Чек [18:51:05]line ПРОДАЖА [18:51:05]line Товар: 4680036914937 [18:51:05]line Gorilla эн нап 0,275л [18:51:05]line 1.000 * 90.00 [18:51:05]line = 90.00 [18:51:05]line НДС 12% НСП 1% [18:51:05]line > о реализуемом товаре [18:51:05]line ИТОГО: 90.00 [18:51:05]line НСП 1% : 0.80 [18:51:05]line НДС 12% : 9.56 [18:51:05]line Наличными: 0.00 [18:51:05]line Безнал.: 90.00 [18:51:05]line Место: АЗС № 77 "Партнер Нефть" [18:51:05]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [18:51:05]line СНО: Общий режим [18:51:05]line Чек 50 12.07.2024 18:51 [18:51:05]line Смена: 433 ФФД: 1.0 [18:51:05]line ЗНМ: 0300000122 [18:51:05]line РНМ: 0000000000093033 [18:51:05]line Версия ККМ: 001 [18:51:05]line Платежная система: АКБ Кыргызстан [18:51:05]line ФМ: 0000000000875104 [18:51:05]line ФД: 33372 [18:51:05]line ФПД: 199917117503223 [18:51:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T185106&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33372&fm=199917117503223&tin=02508201610067®Number=0000000000093033&sum=9000 [18:51:05]line 0 [18:51:06]written 0, free lines is 4095 [18:51:06]OFD Sender: Processing packet 33372 [packets to send 6, broken 5] [18:51:06]ProducePacketName [18:51:06]name=ofd_packets/00033372 [18:51:06]OFD Sender: To server: pG, [18:51:06]CommunicateWithHost lk.salyk.kg:30040 [18:51:06]ConnectInit lk.salyk.kg [18:51:06]Connected sock=10 [18:51:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 21 01 00 00 9C 66 19 01 40 6F 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 34 39 33 37 06 04 1B 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 30 2C 32 37 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1A 7B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5C 82 00 00 35 04 06 00 B5 D2 D4 C5 F6 F7 C6 07 AD 36 71 9D 35 67 [18:51:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 40 64 47 00 89 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 5C 82 00 00 F4 03 04 00 C6 25 91 66 B6 04 01 00 00 05 69 4C 9F 26 8D 50 F2 [18:51:06]CommunicateWithHost err = 0 [18:51:06]CheckOFDResponse [18:51:06]1017 (14) - 77093643461234 [18:51:06]1041 (16) - 0000000000875104 [18:51:06]1040 (4) - 33372 [18:51:06]1012 (4) - 12.07.2024 12:47 [18:51:06]1206 (1) - 0 [18:51:06]OFD Sender: Remove packet 33372 [18:51:06]ProducePacketName [18:51:06]name=ofd_packets/00033372 [18:51:06]NVStorageDeleteData [18:51:06]Write to MH i2c: 01 00 00 6A 0E 78 [18:51:06]Write i2c OK [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: 01 [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: 01 07 00 [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: 01 07 00 6A 0E 00 00 00 00 00 F0 0C 7B [18:51:06]RasterBufferAndPrint [18:51:06]line [18:51:06]line [18:51:06]line [18:51:06]line [18:51:06]line [18:51:06]written 0, free lines is 3321 [18:51:06]MH_Cut [18:51:06]Write to MH i2c: D1 01 00 71 0E 01 51 [18:51:06]Write i2c OK [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: D1 [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: D1 01 00 [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: D1 01 00 71 0E 00 50 [18:51:06]Write to MH i2c: 01 00 00 72 0E 80 [18:51:06]Write i2c OK [18:51:06]MH_I2C_Read... [18:51:07]OFD Sender: No OFD packet to send [18:51:07]*** Cut start [18:51:07]*** Partial cut [18:51:07]*** CUTSNS_PIN = 1 [18:51:07]*** CUTSNS_PIN = 0 [18:51:07]*** Brake cut motor [18:51:08]Read from MH i2c: 01 [18:51:08]MH_I2C_Read... [18:51:08]*** Stop cut motor [18:51:08]*** Cut end [18:51:08]Read from MH i2c: 01 07 00 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: 01 07 00 72 0E 00 00 00 00 00 FF 0F 95 [18:51:08]process_action close_receipt done [18:51:08]requested_data is exist [18:51:08]produce_requested_data [18:51:08]requested_item fm.sn is exist - process it [18:51:08]wFMCommunicate request_size=4 [18:51:08]MH_SAM_APDU [18:51:08]CAPDU: 80 11 00 00 [18:51:08]Write to MH i2c: E2 08 00 73 0E 80 11 00 00 00 00 00 00 FB [18:51:08]Write i2c OK [18:51:08]MH_I2C_Read... [18:51:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:51:08]Read from MH i2c: E2 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 17 00 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 17 00 73 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 47 [18:51:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [18:51:08]wFMCommunicate OK [18:51:08]requested_item fd.num is exist - process it [18:51:08]SAM_PROTO_GetFieldsCounters [18:51:08]wFMCommunicate request_size=4 [18:51:08]MH_SAM_APDU [18:51:08]CAPDU: 80 13 00 00 [18:51:08]Write to MH i2c: E2 08 00 74 0E 80 13 00 00 00 00 00 00 FE [18:51:08]Write i2c OK [18:51:08]MH_I2C_Read... [18:51:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:51:08]Read from MH i2c: E2 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 62 00 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 62 00 74 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 37 [18:51:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5C 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:51:08]wFMCommunicate OK [18:51:08]SAM_PROTO_GetFieldsCounters done [18:51:08]requested_item shift.num is exist - process it [18:51:08]requested_item shift.opened is exist - process it [18:51:08]req_shift_opened [18:51:08]FM_GetShiftState [18:51:08]SAM_PROTO_GetShiftState [18:51:08]wFMCommunicate request_size=4 [18:51:08]MH_SAM_APDU [18:51:08]CAPDU: 80 13 01 00 [18:51:08]Write to MH i2c: E2 08 00 75 0E 80 13 01 00 00 00 00 00 00 [18:51:08]Write i2c OK [18:51:08]MH_I2C_Read... [18:51:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:51:08]Read from MH i2c: E2 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 0E 00 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 0E 00 75 0E 00 09 00 01 17 74 90 66 00 00 00 00 90 00 8D [18:51:08]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [18:51:08]wFMCommunicate OK [18:51:08]SAM_PROTO_GetShiftState done [18:51:08]FM_GetShiftState done [18:51:08]req_shift_opened done [18:51:08]requested_item shift.open_date is exist - process it [18:51:08]req_shift_open_date [18:51:08]req_shift_open_date done [18:51:08]produce_requested_data done [18:51:08]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33372,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [18:51:08]process_action_free close_receipt [18:51:08]json_value_free [18:51:08]json_value_free done [18:51:08]process_json_proto returns [18:51:08]Send response to host [18:51:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33372,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [18:51:08]free response buf [18:51:08]execute_script done [18:51:08]execute_script returns [18:51:08]free content buf [18:51:08]Sock 9.Close socket [18:51:08]Sock 9.Thread stoped [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:52]OFD Sender: No OFD packet to send [18:58:57]OFD Sender: No OFD packet to send [18:59:02]OFD Sender: No OFD packet to send [18:59:07]OFD Sender: No OFD packet to send [18:59:12]OFD Sender: No OFD packet to send [18:59:17]OFD Sender: No OFD packet to send [18:59:22]OFD Sender: No OFD packet to send [18:59:27]OFD Sender: No OFD packet to send [18:59:32]OFD Sender: No OFD packet to send [18:59:37]OFD Sender: No OFD packet to send [18:59:42]OFD Sender: No OFD packet to send [18:59:47]OFD Sender: No OFD packet to send [18:59:52]OFD Sender: No OFD packet to send [18:59:57]OFD Sender: No OFD packet to send [19:00:02]OFD Sender: No OFD packet to send [19:00:07]OFD Sender: No OFD packet to send [19:00:12]OFD Sender: No OFD packet to send [19:00:17]OFD Sender: No OFD packet to send [19:00:22]OFD Sender: No OFD packet to send [19:00:27]OFD Sender: No OFD packet to send [19:00:32]OFD Sender: No OFD packet to send [19:00:37]OFD Sender: No OFD packet to send [19:00:42]OFD Sender: No OFD packet to send [19:00:47]OFD Sender: No OFD packet to send [19:00:52]OFD Sender: No OFD packet to send [19:00:57]OFD Sender: No OFD packet to send [19:01:02]OFD Sender: No OFD packet to send [19:01:07]OFD Sender: No OFD packet to send [19:01:12]OFD Sender: No OFD packet to send [19:01:17]OFD Sender: No OFD packet to send [19:01:22]OFD Sender: No OFD packet to send [19:01:27]OFD Sender: No OFD packet to send [19:01:32]OFD Sender: No OFD packet to send [19:01:37]OFD Sender: No OFD packet to send [19:01:42]OFD Sender: No OFD packet to send [19:01:47]OFD Sender: No OFD packet to send [19:01:52]OFD Sender: No OFD packet to send [19:01:57]OFD Sender: No OFD packet to send [19:02:02]OFD Sender: No OFD packet to send [19:02:07]OFD Sender: No OFD packet to send [19:02:12]OFD Sender: No OFD packet to send [19:02:17]OFD Sender: No OFD packet to send [19:02:22]OFD Sender: No OFD packet to send [19:02:27]OFD Sender: No OFD packet to send [19:02:32]OFD Sender: No OFD packet to send [19:02:37]OFD Sender: No OFD packet to send [19:02:42]OFD Sender: No OFD packet to send [19:02:47]OFD Sender: No OFD packet to send [19:02:52]OFD Sender: No OFD packet to send [19:02:57]OFD Sender: No OFD packet to send [19:03:02]OFD Sender: No OFD packet to send [19:03:07]OFD Sender: No OFD packet to send [19:03:12]OFD Sender: No OFD packet to send [19:03:17]OFD Sender: No OFD packet to send [19:03:22]OFD Sender: No OFD packet to send [19:03:27]OFD Sender: No OFD packet to send [19:03:32]OFD Sender: No OFD packet to send [19:03:37]OFD Sender: No OFD packet to send [19:03:42]OFD Sender: No OFD packet to send [19:03:47]int [19:03:47]Write to MH i2c: 01 00 00 76 0E 84 [19:03:47]*** FLAG_PRN_PAP1 set [19:03:47]Write i2c OK [19:03:47]MH_I2C_Read... [19:03:47]Read from MH i2c: 01 [19:03:47]MH_I2C_Read... [19:03:47]Read from MH i2c: 01 07 00 [19:03:47]MH_I2C_Read... [19:03:47]Read from MH i2c: 01 07 00 76 0E 00 01 00 00 00 FF 0F 9A [19:03:47]state=0 [19:03:47]No paper [19:03:47]int [19:03:47]Write to MH i2c: 01 00 00 77 0E 85 [19:03:47]*** FLAG_PRN_PAP2 set [19:03:47]Write i2c OK [19:03:47]MH_I2C_Read... [19:03:47]Read from MH i2c: 01 [19:03:47]MH_I2C_Read... [19:03:47]Read from MH i2c: 01 07 00 [19:03:47]MH_I2C_Read... [19:03:47]Read from MH i2c: 01 07 00 77 0E 00 03 00 00 00 FF 0F 9D [19:03:47]state=0 [19:03:47]No paper [19:03:47]Cover opened [19:03:47]OFD Sender: No OFD packet to send [19:03:48]int [19:03:48]Write to MH i2c: 01 00 00 78 0E 86 [19:03:48]*** FLAG_PRN_PAP2 reset [19:03:48]Write i2c OK [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 78 0E 00 01 00 00 00 FF 0F 9C [19:03:48]state=3 [19:03:48]No paper [19:03:48]Cover closed [19:03:48]int [19:03:48]Write to MH i2c: 01 00 00 79 0E 87 [19:03:48]*** FLAG_PRN_PAP2 set [19:03:48]Write i2c OK [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 79 0E 00 03 00 00 00 FF 0F 9F [19:03:48]state=0 [19:03:48]No paper [19:03:48]Cover opened [19:03:48]int [19:03:48]Write to MH i2c: 01 00 00 7A 0E 88 [19:03:48]*** FLAG_PRN_PAP2 reset [19:03:48]Write i2c OK [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 7A 0E 00 01 00 00 00 FF 0F 9E [19:03:48]state=3 [19:03:48]No paper [19:03:48]Cover closed [19:03:48]int [19:03:48]Write to MH i2c: 01 00 00 7B 0E 89 [19:03:48]*** FLAG_PRN_PAP2 set [19:03:48]Write i2c OK [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 7B 0E 00 03 00 00 00 FF 0F A1 [19:03:48]state=0 [19:03:48]No paper [19:03:48]Cover opened [19:03:48]int [19:03:48]Write to MH i2c: 01 00 00 7C 0E 8A [19:03:48]*** FLAG_PRN_PAP2 reset [19:03:48]Write i2c OK [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 7C 0E 00 01 00 00 00 FF 0F A0 [19:03:48]state=3 [19:03:48]No paper [19:03:48]Cover closed [19:03:48]int [19:03:48]Write to MH i2c: 01 00 00 7D 0E 8B [19:03:48]*** FLAG_PRN_PAP2 set [19:03:48]Write i2c OK [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 [19:03:48]MH_I2C_Read... [19:03:48]Read from MH i2c: 01 07 00 7D 0E 00 03 00 00 00 FF 0F A3 [19:03:48]state=0 [19:03:48]No paper [19:03:48]Cover opened [19:03:52]OFD Sender: No OFD packet to send [19:03:53]Write to MH i2c: 01 00 00 7E 0E 8C [19:03:53]Write i2c OK [19:03:53]MH_I2C_Read... [19:03:53]Read from MH i2c: 01 [19:03:53]MH_I2C_Read... [19:03:53]Read from MH i2c: 01 07 00 [19:03:53]MH_I2C_Read... [19:03:53]Read from MH i2c: 01 07 00 7E 0E 00 03 00 00 00 FF 0F A4 [19:03:53]state=3 [19:03:53]No paper [19:03:53]Cover opened [19:03:55]int [19:03:55]Write to MH i2c: 01 00 00 7F 0E 8D [19:03:55]Write i2c OK [19:03:55]MH_I2C_Read... [19:03:55]Read from MH i2c: 01 [19:03:55]MH_I2C_Read... [19:03:55]Read from MH i2c: 01 07 00 [19:03:55]MH_I2C_Read... [19:03:55]*** FLAG_PRN_PAP2 reset [19:03:55]*** FLAG_PRN_PAP1 reset [19:03:55]Read from MH i2c: 01 07 00 7F 0E 00 00 00 00 00 FF 0F A2 [19:03:55]state=3 [19:03:55]Cover closed [19:03:57]OFD Sender: No OFD packet to send [19:04:02]OFD Sender: No OFD packet to send [19:04:07]OFD Sender: No OFD packet to send [19:04:12]OFD Sender: No OFD packet to send [19:04:17]OFD Sender: No OFD packet to send [19:04:22]OFD Sender: No OFD packet to send [19:04:27]OFD Sender: No OFD packet to send [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:47]OFD Sender: No OFD packet to send [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06:12]OFD Sender: No OFD packet to send [19:06:17]OFD Sender: No OFD packet to send [19:06:22]OFD Sender: No OFD packet to send [19:06:27]OFD Sender: No OFD packet to send [19:06:32]OFD Sender: No OFD packet to send [19:06:37]OFD Sender: No OFD packet to send [19:06:42]OFD Sender: No OFD packet to send [19:06:47]OFD Sender: No OFD packet to send [19:06:52]OFD Sender: No OFD packet to send [19:06:57]OFD Sender: No OFD packet to send [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:38]OFD Sender: No OFD packet to send [19:11:43]OFD Sender: No OFD packet to send [19:11:48]OFD Sender: No OFD packet to send [19:11:53]OFD Sender: No OFD packet to send [19:11:58]OFD Sender: No OFD packet to send [19:12:03]OFD Sender: No OFD packet to send [19:12:08]OFD Sender: No OFD packet to send [19:12:13]OFD Sender: No OFD packet to send [19:12:18]OFD Sender: No OFD packet to send [19:12:23]OFD Sender: No OFD packet to send [19:12:28]OFD Sender: No OFD packet to send [19:12:33]OFD Sender: No OFD packet to send [19:12:38]OFD Sender: No OFD packet to send [19:12:43]OFD Sender: No OFD packet to send [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:13]OFD Sender: No OFD packet to send [19:13:18]OFD Sender: No OFD packet to send [19:13:23]OFD Sender: No OFD packet to send [19:13:28]OFD Sender: No OFD packet to send [19:13:33]OFD Sender: No OFD packet to send [19:13:38]OFD Sender: No OFD packet to send [19:13:43]OFD Sender: No OFD packet to send [19:13:48]OFD Sender: No OFD packet to send [19:13:53]OFD Sender: No OFD packet to send [19:13:58]OFD Sender: No OFD packet to send [19:14:03]OFD Sender: No OFD packet to send [19:14:08]OFD Sender: No OFD packet to send [19:14:13]OFD Sender: No OFD packet to send [19:14:18]OFD Sender: No OFD packet to send [19:14:23]OFD Sender: No OFD packet to send [19:14:28]OFD Sender: No OFD packet to send [19:14:33]OFD Sender: No OFD packet to send [19:14:38]OFD Sender: No OFD packet to send [19:14:43]OFD Sender: No OFD packet to send [19:14:48]OFD Sender: No OFD packet to send [19:14:53]OFD Sender: No OFD packet to send [19:14:58]OFD Sender: No OFD packet to send [19:15:03]OFD Sender: No OFD packet to send [19:15:08]OFD Sender: No OFD packet to send [19:15:13]OFD Sender: No OFD packet to send [19:15:18]OFD Sender: No OFD packet to send [19:15:23]OFD Sender: No OFD packet to send [19:15:28]OFD Sender: No OFD packet to send [19:15:33]OFD Sender: No OFD packet to send [19:15:38]OFD Sender: No OFD packet to send [19:15:43]OFD Sender: No OFD packet to send [19:15:48]OFD Sender: No OFD packet to send [19:15:53]OFD Sender: No OFD packet to send [19:15:58]OFD Sender: No OFD packet to send [19:16:03]OFD Sender: No OFD packet to send [19:16:08]OFD Sender: No OFD packet to send [19:16:13]OFD Sender: No OFD packet to send [19:16:18]OFD Sender: No OFD packet to send [19:16:23]OFD Sender: No OFD packet to send [19:16:28]OFD Sender: No OFD packet to send [19:16:33]OFD Sender: No OFD packet to send [19:16:38]OFD Sender: No OFD packet to send [19:16:43]OFD Sender: No OFD packet to send [19:16:48]OFD Sender: No OFD packet to send [19:16:53]OFD Sender: No OFD packet to send [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:08]OFD Sender: No OFD packet to send [19:17:13]OFD Sender: No OFD packet to send [19:17:18]OFD Sender: No OFD packet to send [19:17:23]OFD Sender: No OFD packet to send [19:17:28]OFD Sender: No OFD packet to send [19:17:33]OFD Sender: No OFD packet to send [19:17:38]OFD Sender: No OFD packet to send [19:17:43]OFD Sender: No OFD packet to send [19:17:48]OFD Sender: No OFD packet to send [19:17:53]OFD Sender: No OFD packet to send [19:17:58]OFD Sender: No OFD packet to send [19:18:03]OFD Sender: No OFD packet to send [19:18:08]OFD Sender: No OFD packet to send [19:18:13]OFD Sender: No OFD packet to send [19:18:18]OFD Sender: No OFD packet to send [19:18:23]OFD Sender: No OFD packet to send [19:18:28]OFD Sender: No OFD packet to send [19:18:33]OFD Sender: No OFD packet to send [19:18:38]OFD Sender: No OFD packet to send [19:18:43]OFD Sender: No OFD packet to send [19:18:48]OFD Sender: No OFD packet to send [19:18:53]OFD Sender: No OFD packet to send [19:18:58]OFD Sender: No OFD packet to send [19:19:03]OFD Sender: No OFD packet to send [19:19:08]OFD Sender: No OFD packet to send [19:19:13]OFD Sender: No OFD packet to send [19:19:18]OFD Sender: No OFD packet to send [19:19:23]OFD Sender: No OFD packet to send [19:19:28]OFD Sender: No OFD packet to send [19:19:33]OFD Sender: No OFD packet to send [19:19:38]OFD Sender: No OFD packet to send [19:19:43]OFD Sender: No OFD packet to send [19:19:48]OFD Sender: No OFD packet to send [19:19:53]OFD Sender: No OFD packet to send [19:19:58]OFD Sender: No OFD packet to send [19:20:03]OFD Sender: No OFD packet to send [19:20:08]OFD Sender: No OFD packet to send [19:20:13]OFD Sender: No OFD packet to send [19:20:18]OFD Sender: No OFD packet to send [19:20:23]OFD Sender: No OFD packet to send [19:20:28]OFD Sender: No OFD packet to send [19:20:33]OFD Sender: No OFD packet to send [19:20:38]OFD Sender: No OFD packet to send [19:20:43]OFD Sender: No OFD packet to send [19:20:48]OFD Sender: No OFD packet to send [19:20:53]OFD Sender: No OFD packet to send [19:20:58]OFD Sender: No OFD packet to send [19:21:03]OFD Sender: No OFD packet to send [19:21:08]OFD Sender: No OFD packet to send [19:21:13]OFD Sender: No OFD packet to send [19:21:18]OFD Sender: No OFD packet to send [19:21:23]OFD Sender: No OFD packet to send [19:21:28]OFD Sender: No OFD packet to send [19:21:33]OFD Sender: No OFD packet to send [19:21:38]OFD Sender: No OFD packet to send [19:21:43]OFD Sender: No OFD packet to send [19:21:48]OFD Sender: No OFD packet to send [19:21:53]OFD Sender: No OFD packet to send [19:21:58]OFD Sender: No OFD packet to send [19:22:03]OFD Sender: No OFD packet to send [19:22:08]OFD Sender: No OFD packet to send [19:22:13]OFD Sender: No OFD packet to send [19:22:18]OFD Sender: No OFD packet to send [19:22:23]OFD Sender: No OFD packet to send [19:22:28]OFD Sender: No OFD packet to send [19:22:33]OFD Sender: No OFD packet to send [19:22:38]OFD Sender: No OFD packet to send [19:22:43]OFD Sender: No OFD packet to send [19:22:48]OFD Sender: No OFD packet to send [19:22:53]OFD Sender: No OFD packet to send [19:22:58]OFD Sender: No OFD packet to send [19:23:03]OFD Sender: No OFD packet to send [19:23:08]OFD Sender: No OFD packet to send [19:23:13]OFD Sender: No OFD packet to send [19:23:18]OFD Sender: No OFD packet to send [19:23:23]OFD Sender: No OFD packet to send [19:23:28]OFD Sender: No OFD packet to send [19:23:33]OFD Sender: No OFD packet to send [19:23:38]OFD Sender: No OFD packet to send [19:23:43]OFD Sender: No OFD packet to send [19:23:48]OFD Sender: No OFD packet to send [19:23:53]OFD Sender: No OFD packet to send [19:23:58]OFD Sender: No OFD packet to send [19:24:03]OFD Sender: No OFD packet to send [19:24:08]OFD Sender: No OFD packet to send [19:24:13]OFD Sender: No OFD packet to send [19:24:18]OFD Sender: No OFD packet to send [19:24:23]OFD Sender: No OFD packet to send [19:24:28]OFD Sender: No OFD packet to send [19:24:33]OFD Sender: No OFD packet to send [19:24:38]OFD Sender: No OFD packet to send [19:24:43]OFD Sender: No OFD packet to send [19:24:48]OFD Sender: No OFD packet to send [19:24:53]OFD Sender: No OFD packet to send [19:24:58]OFD Sender: No OFD packet to send [19:25:03]OFD Sender: No OFD packet to send [19:25:08]OFD Sender: No OFD packet to send [19:25:13]OFD Sender: No OFD packet to send [19:25:18]OFD Sender: No OFD packet to send [19:25:23]OFD Sender: No OFD packet to send [19:25:28]OFD Sender: No OFD packet to send [19:25:33]OFD Sender: No OFD packet to send [19:25:38]OFD Sender: No OFD packet to send [19:25:43]OFD Sender: No OFD packet to send [19:25:48]OFD Sender: No OFD packet to send [19:25:53]OFD Sender: No OFD packet to send [19:25:58]OFD Sender: No OFD packet to send [19:26:03]OFD Sender: No OFD packet to send [19:26:08]OFD Sender: No OFD packet to send [19:26:13]OFD Sender: No OFD packet to send [19:26:18]OFD Sender: No OFD packet to send [19:26:23]OFD Sender: No OFD packet to send [19:26:28]OFD Sender: No OFD packet to send [19:26:33]OFD Sender: No OFD packet to send [19:26:38]OFD Sender: No OFD packet to send [19:26:43]OFD Sender: No OFD packet to send [19:26:48]OFD Sender: No OFD packet to send [19:26:53]OFD Sender: No OFD packet to send [19:26:58]OFD Sender: No OFD packet to send [19:27:03]OFD Sender: No OFD packet to send [19:27:08]OFD Sender: No OFD packet to send [19:27:13]OFD Sender: No OFD packet to send [19:27:18]OFD Sender: No OFD packet to send [19:27:23]OFD Sender: No OFD packet to send [19:27:28]OFD Sender: No OFD packet to send [19:27:33]OFD Sender: No OFD packet to send [19:27:38]OFD Sender: No OFD packet to send [19:27:43]OFD Sender: No OFD packet to send [19:27:48]OFD Sender: No OFD packet to send [19:27:53]OFD Sender: No OFD packet to send [19:27:58]OFD Sender: No OFD packet to send [19:28:03]OFD Sender: No OFD packet to send [19:28:08]OFD Sender: No OFD packet to send [19:28:13]OFD Sender: No OFD packet to send [19:28:18]OFD Sender: No OFD packet to send [19:28:23]OFD Sender: No OFD packet to send [19:28:28]OFD Sender: No OFD packet to send [19:28:33]OFD Sender: No OFD packet to send [19:28:38]OFD Sender: No OFD packet to send [19:28:43]OFD Sender: No OFD packet to send [19:28:48]OFD Sender: No OFD packet to send [19:28:53]OFD Sender: No OFD packet to send [19:28:58]OFD Sender: No OFD packet to send [19:29:03]OFD Sender: No OFD packet to send [19:29:08]OFD Sender: No OFD packet to send [19:29:13]OFD Sender: No OFD packet to send [19:29:18]OFD Sender: No OFD packet to send [19:29:23]OFD Sender: No OFD packet to send [19:29:28]OFD Sender: No OFD packet to send [19:29:33]OFD Sender: No OFD packet to send [19:29:38]OFD Sender: No OFD packet to send [19:29:43]OFD Sender: No OFD packet to send [19:29:48]OFD Sender: No OFD packet to send [19:29:53]OFD Sender: No OFD packet to send [19:29:58]OFD Sender: No OFD packet to send [19:30:03]OFD Sender: No OFD packet to send [19:30:08]OFD Sender: No OFD packet to send [19:30:13]OFD Sender: No OFD packet to send [19:30:18]OFD Sender: No OFD packet to send [19:30:23]OFD Sender: No OFD packet to send [19:30:28]OFD Sender: No OFD packet to send [19:30:33]OFD Sender: No OFD packet to send [19:30:38]OFD Sender: No OFD packet to send [19:30:43]OFD Sender: No OFD packet to send [19:30:48]OFD Sender: No OFD packet to send [19:30:53]OFD Sender: No OFD packet to send [19:30:58]OFD Sender: No OFD packet to send [19:31:03]OFD Sender: No OFD packet to send [19:31:08]OFD Sender: No OFD packet to send [19:31:13]OFD Sender: No OFD packet to send [19:31:18]OFD Sender: No OFD packet to send [19:31:23]OFD Sender: No OFD packet to send [19:31:28]OFD Sender: No OFD packet to send [19:31:33]OFD Sender: No OFD packet to send [19:31:38]OFD Sender: No OFD packet to send [19:31:43]OFD Sender: No OFD packet to send [19:31:48]OFD Sender: No OFD packet to send [19:31:53]OFD Sender: No OFD packet to send [19:31:58]OFD Sender: No OFD packet to send [19:32:03]OFD Sender: No OFD packet to send [19:32:08]OFD Sender: No OFD packet to send [19:32:13]OFD Sender: No OFD packet to send [19:32:18]OFD Sender: No OFD packet to send [19:32:23]OFD Sender: No OFD packet to send [19:32:28]OFD Sender: No OFD packet to send [19:32:33]OFD Sender: No OFD packet to send [19:32:38]OFD Sender: No OFD packet to send [19:32:43]OFD Sender: No OFD packet to send [19:32:48]OFD Sender: No OFD packet to send [19:32:53]OFD Sender: No OFD packet to send [19:32:58]OFD Sender: No OFD packet to send [19:33:03]OFD Sender: No OFD packet to send [19:33:08]OFD Sender: No OFD packet to send [19:33:14]OFD Sender: No OFD packet to send [19:33:19]OFD Sender: No OFD packet to send [19:33:24]OFD Sender: No OFD packet to send [19:33:29]OFD Sender: No OFD packet to send [19:33:34]OFD Sender: No OFD packet to send [19:33:39]OFD Sender: No OFD packet to send [19:33:44]OFD Sender: No OFD packet to send [19:33:49]OFD Sender: No OFD packet to send [19:33:54]OFD Sender: No OFD packet to send [19:33:59]OFD Sender: No OFD packet to send [19:34:04]OFD Sender: No OFD packet to send [19:34:09]OFD Sender: No OFD packet to send [19:34:14]OFD Sender: No OFD packet to send [19:34:19]OFD Sender: No OFD packet to send [19:34:22]accept exits with 7 [19:34:22]New connection [19:34:22]New thread 3066461540 created [19:34:22]Thread 3066604900 joined [19:34:22]Waiting for new connection... [19:34:22] Sock 7.Parse request [19:34:22]Sock 7.Check first char [19:34:22]Sock 7.First char is OK [19:34:22]request: POST /json_proto HTTP/1.0 [19:34:22]Method: POST [19:34:22]URL: /json_proto [19:34:22]Method is POST - this is cgi request [19:34:22]url: /json_proto [19:34:22]query_string will be loaded in cgi processing [19:34:22]execute_cgi json_proto POST (null) [19:34:22]execute_cgi path=json_proto method=POST [19:34:22]POST find Content-Length [19:34:22]Host: 172.17.35.196:8080 [19:34:22]Content-Length: 953 [19:34:22]Content-Type: application/json [19:34:22] [19:34:22]POST finish read [19:34:22]Found Content-Length = 953 [19:34:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169185", "tax_sys" : 0, "items" : [ { "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:22]execute_script... [19:34: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)169185", "tax_sys" : 0, "items" : [ { "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:22]POST & json_proto [19:34:22]process_json_proto [19:34:22]json parsed OK: [19:34:22]protocol is kg_v1.0 [19:34:22]action value=close_receipt [19:34:22]process_action close_receipt [19:34:22]cmd_close_receipt [19:34:22]MH_GetDate [19:34:22]Write to MH i2c: F0 00 00 80 0E 7D [19:34:22]Write i2c OK [19:34:22]MH_I2C_Read... [19:34:22]Read from MH i2c: F0 [19:34:22]MH_I2C_Read... [19:34:22]Read from MH i2c: F0 09 00 [19:34:22]MH_I2C_Read... [19:34:22]Read from MH i2c: F0 09 00 80 0E 00 40 85 91 66 AD 14 F4 65 5C [19:34:22]GetLastDocTimeStamp 1720810266 [19:34:22]current date 1720812864 [19:34:22]FM_GetShiftState [19:34:22]SAM_PROTO_GetShiftState [19:34:22]wFMCommunicate request_size=4 [19:34:22]MH_SAM_APDU [19:34:22]CAPDU: 80 13 01 00 [19:34:22]Write to MH i2c: E2 08 00 81 0E 80 13 01 00 00 00 00 00 0C [19:34:22]Write i2c OK [19:34:22]MH_I2C_Read... [19:34:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:22]Read from MH i2c: E2 [19:34:22]MH_I2C_Read... [19:34:22]Read from MH i2c: E2 0E 00 [19:34:22]MH_I2C_Read... [19:34:22]Read from MH i2c: E2 0E 00 81 0E 00 09 00 01 17 74 90 66 00 00 00 00 90 00 99 [19:34:22]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [19:34:22]wFMCommunicate OK [19:34:22]SAM_PROTO_GetShiftState done [19:34:22]FM_GetShiftState done [19:34:22]opened in 1720742935 [19:34:22]opened+sec_in_day 1720829335 [19:34:22]quantity*price = 14900 [19:34:22]sum+1 = 14901 [19:34:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 0.00 Безнал.: 149.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 51 12.07.2024 19:34 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33373 ФПД: 160300140902421 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T193424&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33373&fm=160300140902421&tin=02508201610067®Number=0000000000093033&sum=14900 0 [19:34:23]StoreToDocumentArchive [19:34:23]shift 433 fd 33373 [19:34:23]save to /storage/0433/doc_00033373 [19:34:23]save last doc name /storage/0433/doc_00033373 to /storage/kkm_last_doc_name [19:34:23]save OK [19:34:23]Clear old archive folders... [19:34:23]ProcessDocumentItem done err = 0, tmpTLVsize=312 [19:34:23]tlvbuf is 00A3D750 [19:34:23]SAM_PROTO_ClearQueue [19:34:23]wFMCommunicate request_size=4 [19:34:23]MH_SAM_APDU [19:34:23]CAPDU: 80 09 00 00 [19:34:23]Write to MH i2c: E2 08 00 8E 0E 80 09 00 00 00 00 00 00 0E [19:34:23]Write i2c OK [19:34:23]MH_I2C_Read... [19:34:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:34:23]Read from MH i2c: E2 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 03 00 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 03 00 8E 0E 00 90 00 10 [19:34:23]RAPDU: 90 00 [19:34:23]wFMCommunicate OK [19:34:23]SAM_PROTO_ClearQueue done [19:34:23]KKMCreateOFDPacket [19:34:23]OFDProtocolAddRootSTLVToBuf [19:34:23]FM_MakeSignedData [19:34:23]FM_MakeSignedData [19:34:23]SAM_PROTO_SignData [19:34:23]wFMCommunicate request_size=4 [19:34:23]MH_SAM_APDU [19:34:23]CAPDU: 80 0D 01 02 [19:34:23]Write to MH i2c: E2 08 00 8F 0E 80 0D 01 02 00 00 00 00 16 [19:34:23]Write i2c OK [19:34:23]MH_I2C_Read... [19:34:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:34:23]Read from MH i2c: E2 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 03 00 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 03 00 8F 0E 00 90 00 11 [19:34:23]RAPDU: 90 00 [19:34:23]wFMCommunicate OK [19:34:23]wFMCommunicate request_size=255 [19:34:23]MH_SAM_APDU [19:34:23]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 40 85 91 66 0E 04 04 00 B1 [19:34:23]Write to MH i2c: E2 02 01 90 0E 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 40 85 91 66 0E 04 04 00 B1 00 00 75 [19:34:23]Write i2c OK [19:34:23]MH_I2C_Read... [19:34:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:23]Read from MH i2c: E2 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 03 00 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 03 00 90 0E 00 90 00 12 [19:34:23]RAPDU: 90 00 [19:34:23]wFMCommunicate OK [19:34:23]wFMCommunicate request_size=71 [19:34:23]MH_SAM_APDU [19:34:23]CAPDU: 80 0D 02 02 42 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5D 82 00 00 35 04 06 00 91 CA C8 F4 B8 15 [19:34:23]Write to MH i2c: E2 4A 00 91 0E 80 0D 02 02 42 00 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5D 82 00 00 35 04 06 00 91 CA C8 F4 B8 15 00 00 E8 [19:34:23]Write i2c OK [19:34:23]MH_I2C_Read... [19:34:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:23]Read from MH i2c: E2 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 03 00 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 03 00 91 0E 00 90 00 13 [19:34:23]RAPDU: 90 00 [19:34:23]wFMCommunicate OK [19:34:23]wFMCommunicate request_size=4 [19:34:23]MH_SAM_APDU [19:34:23]CAPDU: 80 0D 03 02 [19:34:23]Write to MH i2c: E2 08 00 92 0E 80 0D 03 02 00 00 00 00 1B [19:34:23]Write i2c OK [19:34:23]MH_I2C_Read... [19:34:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:34:23]Read from MH i2c: E2 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 0B 00 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 0B 00 92 0E 00 5A DB C8 BB 53 B7 C4 E3 90 00 85 [19:34:23]RAPDU: 5A DB C8 BB 53 B7 C4 E3 90 00 [19:34:23]wFMCommunicate OK [19:34:23]SAM_PROTO_SignData done [19:34:23]FM_MakeSignedData done [19:34:23]CreateOFDProtocolMessage [19:34:23]wFMCommunicate request_size=4 [19:34:23]MH_SAM_APDU [19:34:23]CAPDU: 80 11 00 00 [19:34:23]Write to MH i2c: E2 08 00 93 0E 80 11 00 00 00 00 00 00 1B [19:34:23]Write i2c OK [19:34:23]MH_I2C_Read... [19:34:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:23]Read from MH i2c: E2 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 17 00 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: E2 17 00 93 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 67 [19:34:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:34:23]wFMCommunicate OK [19:34:23]CreateOFDProtocolMessage done [19:34:23]OFDSenderStorePacket 33373 [19:34:23]StoreOFDPacket docnum=33373 [19:34:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4C 01 00 00 DA FA 44 01 9D 3F 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 40 85 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5D 82 00 00 35 04 06 00 91 CA C8 F4 B8 15 5A DB C8 BB 53 B7 C4 E3 [19:34:23]CheckFolder [19:34:23]dirname=/storage/ofd_packets [19:34:23]CheckFolder done [19:34:23]ProducePacketName [19:34:23]name=ofd_packets/00033373 [19:34:23]NVStorageSaveData ofd_packets/00033373 [19:34:23]File name is /storage/ofd_packets/00033373 [19:34:23]Write 362 bytes [19:34:23]NVStorageSaveData done [19:34:23]OFDSenderStorePacket done [19:34:23]KKMCreateOFDPacket done [19:34:23]NVStorageSaveData kkm_last_timestamp [19:34:23]File name is /storage/kkm_last_timestamp [19:34:23]Write 4 bytes [19:34:23]NVStorageSaveData done [19:34:23]ExternCall_PrintAddStr [19:34:23]wPrintStart [19:34:23]Write to MH i2c: 01 00 00 94 0E A2 [19:34:23]Write i2c OK [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: 01 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: 01 07 00 [19:34:23]MH_I2C_Read... [19:34:23]Read from MH i2c: 01 07 00 94 0E 00 00 00 00 00 FF 0F B7 [19:34:23]RasterBufferAndPrint [19:34:23]line Счет N : (3)169185 [19:34:23]line ИНН: 02508201610067 [19:34:23]line Контрольно-Кассовый Чек [19:34:23]line ПРОДАЖА [19:34:23]line Товар: 4607015235333 [19:34:23]line Пряники Яшкино с вареной сгущенкой 350г [19:34:23]line 1.000 * 149.00 [19:34:23]line = 149.00 [19:34:23]line НДС 12% НСП 1% [19:34:23]line > о реализуемом товаре [19:34:23]line ИТОГО: 149.00 [19:34:23]line НСП 1% : 1.32 [19:34:23]line НДС 12% : 15.82 [19:34:23]line Наличными: 0.00 [19:34:23]line Безнал.: 149.00 [19:34:23]line Место: АЗС № 77 "Партнер Нефть" [19:34:23]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:34:23]line СНО: Общий режим [19:34:23]line Чек 51 12.07.2024 19:34 [19:34:23]line Смена: 433 ФФД: 1.0 [19:34:23]line ЗНМ: 0300000122 [19:34:23]line РНМ: 0000000000093033 [19:34:23]line Версия ККМ: 001 [19:34:23]line Платежная система: АКБ Кыргызстан [19:34:23]line ФМ: 0000000000875104 [19:34:23]line ФД: 33373 [19:34:23]line ФПД: 160300140902421 [19:34:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T193424&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33373&fm=160300140902421&tin=02508201610067®Number=0000000000093033&sum=14900 [19:34:24]line 0 [19:34:24]OFD Sender: Processing packet 33373 [packets to send 6, broken 5] [19:34:24]ProducePacketName [19:34:24]name=ofd_packets/00033373 [19:34:24]OFD Sender: To server: pG, [19:34:24]CommunicateWithHost lk.salyk.kg:30040 [19:34:24]ConnectInit lk.salyk.kg [19:34:24]written 0, free lines is 4095 [19:34:24]Connected sock=9 [19:34:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4C 01 00 00 DA FA 44 01 9D 3F 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 40 85 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5D 82 00 00 35 04 06 00 91 CA C8 F4 B8 15 5A DB C8 BB 53 B7 C4 E3 [19:34:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 95 24 47 00 3F 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 38 37 35 31 30 34 10 04 04 00 5D 82 00 00 F4 03 04 00 ED 2F 91 66 B6 04 01 00 00 34 AD 5C E8 00 9C 86 80 [19:34:24]CommunicateWithHost err = 0 [19:34:24]CheckOFDResponse [19:34:24]1017 (14) - 77093643461234 [19:34:24]1041 (16) - 0000000000875104 [19:34:24]1040 (4) - 33373 [19:34:24]1012 (4) - 12.07.2024 13:30 [19:34:24]1206 (1) - 0 [19:34:24]OFD Sender: Remove packet 33373 [19:34:24]ProducePacketName [19:34:24]name=ofd_packets/00033373 [19:34:24]NVStorageDeleteData [19:34:24]Write to MH i2c: 01 00 00 BF 0E CD [19:34:24]Write i2c OK [19:34:24]MH_I2C_Read... [19:34:24]Read from MH i2c: 01 [19:34:24]MH_I2C_Read... [19:34:24]Read from MH i2c: 01 07 00 [19:34:24]MH_I2C_Read... [19:34:24]Read from MH i2c: 01 07 00 BF 0E 00 00 00 00 00 D3 0C B3 [19:34:24]RasterBufferAndPrint [19:34:24]line [19:34:24]line [19:34:24]line [19:34:24]line [19:34:24]line [19:34:24]written 0, free lines is 3289 [19:34:24]MH_Cut [19:34:24]Write to MH i2c: D1 01 00 C6 0E 01 A6 [19:34:24]Write i2c OK [19:34:24]MH_I2C_Read... [19:34:24]Read from MH i2c: D1 [19:34:24]MH_I2C_Read... [19:34:24]Read from MH i2c: D1 01 00 [19:34:24]MH_I2C_Read... [19:34:24]Read from MH i2c: D1 01 00 C6 0E 00 A5 [19:34:24]Write to MH i2c: 01 00 00 C7 0E D5 [19:34:24]Write i2c OK [19:34:24]MH_I2C_Read... [19:34:25]OFD Sender: No OFD packet to send [19:34:25]*** Cut start [19:34:25]*** Partial cut [19:34:25]*** CUTSNS_PIN = 1 [19:34:25]*** CUTSNS_PIN = 0 [19:34:25]*** Brake cut motor [19:34:26]Read from MH i2c: 01 [19:34:26]MH_I2C_Read... [19:34:26]*** Stop cut motor [19:34:26]*** Cut end [19:34:26]Read from MH i2c: 01 07 00 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: 01 07 00 C7 0E 00 00 00 00 00 FF 0F EA [19:34:26]process_action close_receipt done [19:34:26]requested_data is exist [19:34:26]produce_requested_data [19:34:26]requested_item fm.sn is exist - process it [19:34:26]wFMCommunicate request_size=4 [19:34:26]MH_SAM_APDU [19:34:26]CAPDU: 80 11 00 00 [19:34:26]Write to MH i2c: E2 08 00 C8 0E 80 11 00 00 00 00 00 00 50 [19:34:26]Write i2c OK [19:34:26]MH_I2C_Read... [19:34:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:26]Read from MH i2c: E2 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 17 00 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 17 00 C8 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 9C [19:34:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:34:26]wFMCommunicate OK [19:34:26]requested_item fd.num is exist - process it [19:34:26]SAM_PROTO_GetFieldsCounters [19:34:26]wFMCommunicate request_size=4 [19:34:26]MH_SAM_APDU [19:34:26]CAPDU: 80 13 00 00 [19:34:26]Write to MH i2c: E2 08 00 C9 0E 80 13 00 00 00 00 00 00 53 [19:34:26]Write i2c OK [19:34:26]MH_I2C_Read... [19:34:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:34:26]Read from MH i2c: E2 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 62 00 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 62 00 C9 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 90 [19:34:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5D 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:34:26]wFMCommunicate OK [19:34:26]SAM_PROTO_GetFieldsCounters done [19:34:26]requested_item shift.num is exist - process it [19:34:26]requested_item shift.opened is exist - process it [19:34:26]req_shift_opened [19:34:26]FM_GetShiftState [19:34:26]SAM_PROTO_GetShiftState [19:34:26]wFMCommunicate request_size=4 [19:34:26]MH_SAM_APDU [19:34:26]CAPDU: 80 13 01 00 [19:34:26]Write to MH i2c: E2 08 00 CA 0E 80 13 01 00 00 00 00 00 55 [19:34:26]Write i2c OK [19:34:26]MH_I2C_Read... [19:34:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:26]Read from MH i2c: E2 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 0E 00 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 0E 00 CA 0E 00 09 00 01 17 74 90 66 00 00 00 00 90 00 E2 [19:34:26]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [19:34:26]wFMCommunicate OK [19:34:26]SAM_PROTO_GetShiftState done [19:34:26]FM_GetShiftState done [19:34:26]req_shift_opened done [19:34:26]requested_item shift.open_date is exist - process it [19:34:26]req_shift_open_date [19:34:26]req_shift_open_date done [19:34:26]produce_requested_data done [19:34:26]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33373,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [19:34:26]process_action_free close_receipt [19:34:26]json_value_free [19:34:26]json_value_free done [19:34:26]process_json_proto returns [19:34:26]Send response to host [19:34:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33373,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [19:34:26]free response buf [19:34:26]execute_script done [19:34:26]execute_script returns [19:34:26]free content buf [19:34:26]Sock 7.Close socket [19:34:26]Sock 7.Thread stoped [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:14]accept exits with 10 [19:35:14]New connection [19:35:14]New thread 3066604900 created [19:35:14]Thread 3066461540 joined [19:35:14]Waiting for new connection... [19:35:14] Sock 10.Parse request [19:35:14]Sock 10.Check first char [19:35:14]Sock 10.First char is OK [19:35:14]request: POST /json_proto HTTP/1.0 [19:35:14]Method: POST [19:35:14]URL: /json_proto [19:35:14]Method is POST - this is cgi request [19:35:14]url: /json_proto [19:35:14]query_string will be loaded in cgi processing [19:35:14]execute_cgi json_proto POST (null) [19:35:14]execute_cgi path=json_proto method=POST [19:35:14]POST find Content-Length [19:35:14]Host: 172.17.35.196:8080 [19:35:14]Content-Length: 632 [19:35:14]Content-Type: application/json [19:35:14] [19:35:14]POST finish read [19:35:14]Found Content-Length = 632 [19:35:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169186", "tax_sys" : 0, "items" : [ { "code": "4700025314002", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:14]execute_script... [19:35: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)169186", "tax_sys" : 0, "items" : [ { "code": "4700025314002", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:14]POST & json_proto [19:35:14]process_json_proto [19:35:14]json parsed OK: [19:35:14]protocol is kg_v1.0 [19:35:14]action value=close_receipt [19:35:14]process_action close_receipt [19:35:14]cmd_close_receipt [19:35:14]MH_GetDate [19:35:14]Write to MH i2c: F0 00 00 CB 0E C8 [19:35:14]Write i2c OK [19:35:14]MH_I2C_Read... [19:35:14]Read from MH i2c: F0 [19:35:14]MH_I2C_Read... [19:35:14]Read from MH i2c: F0 09 00 [19:35:14]MH_I2C_Read... [19:35:14]Read from MH i2c: F0 09 00 CB 0E 00 74 85 91 66 AD 14 F4 65 DB [19:35:14]GetLastDocTimeStamp 1720812864 [19:35:14]current date 1720812916 [19:35:14]FM_GetShiftState [19:35:14]SAM_PROTO_GetShiftState [19:35:14]wFMCommunicate request_size=4 [19:35:14]MH_SAM_APDU [19:35:14]CAPDU: 80 13 01 00 [19:35:14]Write to MH i2c: E2 08 00 CC 0E 80 13 01 00 00 00 00 00 57 [19:35:14]Write i2c OK [19:35:14]MH_I2C_Read... [19:35:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:14]Read from MH i2c: E2 [19:35:14]MH_I2C_Read... [19:35:14]Read from MH i2c: E2 0E 00 [19:35:14]MH_I2C_Read... [19:35:14]Read from MH i2c: E2 0E 00 CC 0E 00 09 00 01 17 74 90 66 00 00 00 00 90 00 E4 [19:35:14]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [19:35:14]wFMCommunicate OK [19:35:14]SAM_PROTO_GetShiftState done [19:35:14]FM_GetShiftState done [19:35:14]opened in 1720742935 [19:35:14]opened+sec_in_day 1720829335 [19:35:14]quantity*price = 6000 [19:35:14]sum+1 = 6001 [19:35:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 52 12.07.2024 19:35 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33374 ФПД: 159189653168157 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T193516&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33374&fm=159189653168157&tin=02508201610067®Number=0000000000093033&sum=6000 0 [19:35:15]StoreToDocumentArchive [19:35:15]shift 433 fd 33374 [19:35:15]save to /storage/0433/doc_00033374 [19:35:15]save last doc name /storage/0433/doc_00033374 to /storage/kkm_last_doc_name [19:35:15]save OK [19:35:15]Clear old archive folders... [19:35:15]ProcessDocumentItem done err = 0, tmpTLVsize=271 [19:35:15]tlvbuf is 00A7F510 [19:35:15]SAM_PROTO_ClearQueue [19:35:15]wFMCommunicate request_size=4 [19:35:15]MH_SAM_APDU [19:35:15]CAPDU: 80 09 00 00 [19:35:15]Write to MH i2c: E2 08 00 D9 0E 80 09 00 00 00 00 00 00 59 [19:35:15]Write i2c OK [19:35:15]MH_I2C_Read... [19:35:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:35:15]Read from MH i2c: E2 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 03 00 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 03 00 D9 0E 00 90 00 5B [19:35:15]RAPDU: 90 00 [19:35:15]wFMCommunicate OK [19:35:15]SAM_PROTO_ClearQueue done [19:35:15]KKMCreateOFDPacket [19:35:15]OFDProtocolAddRootSTLVToBuf [19:35:15]FM_MakeSignedData [19:35:15]FM_MakeSignedData [19:35:15]SAM_PROTO_SignData [19:35:15]wFMCommunicate request_size=4 [19:35:15]MH_SAM_APDU [19:35:15]CAPDU: 80 0D 01 02 [19:35:15]Write to MH i2c: E2 08 00 DA 0E 80 0D 01 02 00 00 00 00 61 [19:35:15]Write i2c OK [19:35:15]MH_I2C_Read... [19:35:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:35:15]Read from MH i2c: E2 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 03 00 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 03 00 DA 0E 00 90 00 5C [19:35:15]RAPDU: 90 00 [19:35:15]wFMCommunicate OK [19:35:15]wFMCommunicate request_size=255 [19:35:15]MH_SAM_APDU [19:35:15]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 74 85 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 [19:35:15]Write to MH i2c: E2 02 01 DB 0E 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 74 85 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 76 [19:35:15]Write i2c OK [19:35:15]MH_I2C_Read... [19:35:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:15]Read from MH i2c: E2 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 03 00 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 03 00 DB 0E 00 90 00 5D [19:35:15]RAPDU: 90 00 [19:35:15]wFMCommunicate OK [19:35:15]wFMCommunicate request_size=30 [19:35:15]MH_SAM_APDU [19:35:15]CAPDU: 80 0D 02 02 19 30 38 37 35 31 30 34 10 04 04 00 5E 82 00 00 35 04 06 00 90 C8 3A BA A0 1D [19:35:15]Write to MH i2c: E2 21 00 DC 0E 80 0D 02 02 19 00 30 38 37 35 31 30 34 10 04 04 00 5E 82 00 00 35 04 06 00 90 C8 3A BA A0 1D 00 00 3F [19:35:15]Write i2c OK [19:35:15]MH_I2C_Read... [19:35:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:15]Read from MH i2c: E2 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 03 00 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 03 00 DC 0E 00 90 00 5E [19:35:15]RAPDU: 90 00 [19:35:15]wFMCommunicate OK [19:35:15]wFMCommunicate request_size=4 [19:35:15]MH_SAM_APDU [19:35:15]CAPDU: 80 0D 03 02 [19:35:15]Write to MH i2c: E2 08 00 DD 0E 80 0D 03 02 00 00 00 00 66 [19:35:15]Write i2c OK [19:35:15]MH_I2C_Read... [19:35:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:35:15]Read from MH i2c: E2 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 0B 00 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 0B 00 DD 0E 00 31 99 F6 6C 4A 3F 59 F9 90 00 6E [19:35:15]RAPDU: 31 99 F6 6C 4A 3F 59 F9 90 00 [19:35:15]wFMCommunicate OK [19:35:15]SAM_PROTO_SignData done [19:35:15]FM_MakeSignedData done [19:35:15]CreateOFDProtocolMessage [19:35:15]wFMCommunicate request_size=4 [19:35:15]MH_SAM_APDU [19:35:15]CAPDU: 80 11 00 00 [19:35:15]Write to MH i2c: E2 08 00 DE 0E 80 11 00 00 00 00 00 00 66 [19:35:15]Write i2c OK [19:35:15]MH_I2C_Read... [19:35:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:15]Read from MH i2c: E2 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 17 00 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: E2 17 00 DE 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 B2 [19:35:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:35:15]wFMCommunicate OK [19:35:15]CreateOFDProtocolMessage done [19:35:15]OFDSenderStorePacket 33374 [19:35:15]StoreOFDPacket docnum=33374 [19:35:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 23 01 00 00 4B E3 1B 01 63 B0 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 74 85 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5E 82 00 00 35 04 06 00 90 C8 3A BA A0 1D 31 99 F6 6C 4A 3F 59 F9 [19:35:15]CheckFolder [19:35:15]dirname=/storage/ofd_packets [19:35:15]CheckFolder done [19:35:15]ProducePacketName [19:35:15]name=ofd_packets/00033374 [19:35:15]NVStorageSaveData ofd_packets/00033374 [19:35:15]File name is /storage/ofd_packets/00033374 [19:35:15]Write 321 bytes [19:35:15]NVStorageSaveData done [19:35:15]OFDSenderStorePacket done [19:35:15]KKMCreateOFDPacket done [19:35:15]NVStorageSaveData kkm_last_timestamp [19:35:15]File name is /storage/kkm_last_timestamp [19:35:15]Write 4 bytes [19:35:15]NVStorageSaveData done [19:35:15]ExternCall_PrintAddStr [19:35:15]wPrintStart [19:35:15]Write to MH i2c: 01 00 00 DF 0E ED [19:35:15]Write i2c OK [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: 01 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: 01 07 00 [19:35:15]MH_I2C_Read... [19:35:15]Read from MH i2c: 01 07 00 DF 0E 00 00 00 00 00 FF 0F 02 [19:35:15]RasterBufferAndPrint [19:35:15]line Счет N : (3)169186 [19:35:15]line ИНН: 02508201610067 [19:35:15]line Контрольно-Кассовый Чек [19:35:15]line ПРОДАЖА [19:35:15]line Товар: 4700025314002 [19:35:15]line ВОДКА МЯГКАЯ 0,1л [19:35:15]line 1.000 * 60.00 [19:35:15]line = 60.00 [19:35:15]line НДС 12% НСП 1% [19:35:15]line > о реализуемом товаре [19:35:15]line ИТОГО: 60.00 [19:35:15]line НСП 1% : 0.53 [19:35:15]line НДС 12% : 6.37 [19:35:15]line Наличными: 60.00 [19:35:15]line Безнал.: 0.00 [19:35:15]line Место: АЗС № 77 "Партнер Нефть" [19:35:15]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:35:15]line СНО: Общий режим [19:35:15]line Чек 52 12.07.2024 19:35 [19:35:15]line Смена: 433 ФФД: 1.0 [19:35:15]line ЗНМ: 0300000122 [19:35:15]line РНМ: 0000000000093033 [19:35:15]line Версия ККМ: 001 [19:35:15]line ФМ: 0000000000875104 [19:35:15]line ФД: 33374 [19:35:15]line ФПД: 159189653168157 [19:35:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T193516&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33374&fm=159189653168157&tin=02508201610067®Number=0000000000093033&sum=6000 [19:35:16]OFD Sender: Processing packet 33374 [packets to send 6, broken 5] [19:35:16]ProducePacketName [19:35:16]name=ofd_packets/00033374 [19:35:16]OFD Sender: To server: pG, [19:35:16]CommunicateWithHost lk.salyk.kg:30040 [19:35:16]ConnectInit lk.salyk.kg [19:35:16]line 0 [19:35:16]written 0, free lines is 4095 [19:35:16]Connected sock=9 [19:35:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 23 01 00 00 4B E3 1B 01 63 B0 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 74 85 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5E 82 00 00 35 04 06 00 90 C8 3A BA A0 1D 31 99 F6 6C 4A 3F 59 F9 [19:35:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 A9 A6 47 00 31 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5E 82 00 00 F4 03 04 00 21 30 91 66 B6 04 01 00 00 04 01 DC 48 6E D1 22 6A [19:35:16]CommunicateWithHost err = 0 [19:35:16]CheckOFDResponse [19:35:16]1017 (14) - 77093643461234 [19:35:16]1041 (16) - 0000000000875104 [19:35:16]1040 (4) - 33374 [19:35:16]1012 (4) - 12.07.2024 13:31 [19:35:16]1206 (1) - 0 [19:35:16]OFD Sender: Remove packet 33374 [19:35:16]ProducePacketName [19:35:16]name=ofd_packets/00033374 [19:35:16]NVStorageDeleteData [19:35:16]Write to MH i2c: 01 00 00 07 0F 16 [19:35:16]Write i2c OK [19:35:16]MH_I2C_Read... [19:35:16]Read from MH i2c: 01 [19:35:16]MH_I2C_Read... [19:35:16]Read from MH i2c: 01 07 00 [19:35:16]MH_I2C_Read... [19:35:16]Read from MH i2c: 01 07 00 07 0F 00 00 00 00 00 06 0D 30 [19:35:16]RasterBufferAndPrint [19:35:16]line [19:35:16]line [19:35:16]line [19:35:16]line [19:35:16]line [19:35:16]written 0, free lines is 3340 [19:35:16]MH_Cut [19:35:16]Write to MH i2c: D1 01 00 0E 0F 01 EF [19:35:16]Write i2c OK [19:35:16]MH_I2C_Read... [19:35:16]Read from MH i2c: D1 [19:35:16]MH_I2C_Read... [19:35:16]Read from MH i2c: D1 01 00 [19:35:16]MH_I2C_Read... [19:35:16]Read from MH i2c: D1 01 00 0E 0F 00 EE [19:35:16]Write to MH i2c: 01 00 00 0F 0F 1E [19:35:16]Write i2c OK [19:35:16]MH_I2C_Read... [19:35:17]OFD Sender: No OFD packet to send [19:35:17]*** Cut start [19:35:17]*** Partial cut [19:35:17]*** CUTSNS_PIN = 1 [19:35:17]*** CUTSNS_PIN = 0 [19:35:17]*** Brake cut motor [19:35:18]Read from MH i2c: 01 [19:35:18]MH_I2C_Read... [19:35:18]*** Stop cut motor [19:35:18]*** Cut end [19:35:18]Read from MH i2c: 01 07 00 [19:35:18]MH_I2C_Read... [19:35:18]Read from MH i2c: 01 07 00 0F 0F 00 00 00 00 00 FF 0F 33 [19:35:18]process_action close_receipt done [19:35:18]requested_data is exist [19:35:18]produce_requested_data [19:35:18]requested_item fm.sn is exist - process it [19:35:18]wFMCommunicate request_size=4 [19:35:18]MH_SAM_APDU [19:35:18]CAPDU: 80 11 00 00 [19:35:18]Write to MH i2c: E2 08 00 10 0F 80 11 00 00 00 00 00 00 99 [19:35:18]Write i2c OK [19:35:18]MH_I2C_Read... [19:35:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:18]Read from MH i2c: E2 [19:35:18]MH_I2C_Read... [19:35:18]Read from MH i2c: E2 17 00 [19:35:18]MH_I2C_Read... [19:35:18]Read from MH i2c: E2 17 00 10 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E5 [19:35:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:35:18]wFMCommunicate OK [19:35:18]requested_item fd.num is exist - process it [19:35:18]SAM_PROTO_GetFieldsCounters [19:35:18]wFMCommunicate request_size=4 [19:35:18]MH_SAM_APDU [19:35:18]CAPDU: 80 13 00 00 [19:35:18]Write to MH i2c: E2 08 00 11 0F 80 13 00 00 00 00 00 00 9C [19:35:18]Write i2c OK [19:35:18]MH_I2C_Read... [19:35:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:35:18]Read from MH i2c: E2 [19:35:18]MH_I2C_Read... [19:35:18]Read from MH i2c: E2 62 00 [19:35:18]MH_I2C_Read... [19:35:18]Read from MH i2c: E2 62 00 11 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5E 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [19:35:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5E 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:35:18]wFMCommunicate OK [19:35:18]SAM_PROTO_GetFieldsCounters done [19:35:18]requested_item shift.num is exist - process it [19:35:18]requested_item shift.opened is exist - process it [19:35:18]req_shift_opened [19:35:18]FM_GetShiftState [19:35:18]SAM_PROTO_GetShiftState [19:35:18]wFMCommunicate request_size=4 [19:35:18]MH_SAM_APDU [19:35:18]CAPDU: 80 13 01 00 [19:35:18]Write to MH i2c: E2 08 00 12 0F 80 13 01 00 00 00 00 00 9E [19:35:18]Write i2c OK [19:35:18]MH_I2C_Read... [19:35:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:18]Read from MH i2c: E2 [19:35:18]MH_I2C_Read... [19:35:18]Read from MH i2c: E2 0E 00 [19:35:18]MH_I2C_Read... [19:35:18]Read from MH i2c: E2 0E 00 12 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 2B [19:35:18]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [19:35:18]wFMCommunicate OK [19:35:18]SAM_PROTO_GetShiftState done [19:35:18]FM_GetShiftState done [19:35:18]req_shift_opened done [19:35:18]requested_item shift.open_date is exist - process it [19:35:18]req_shift_open_date [19:35:18]req_shift_open_date done [19:35:18]produce_requested_data done [19:35:18]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33374,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [19:35:18]process_action_free close_receipt [19:35:18]json_value_free [19:35:18]json_value_free done [19:35:18]process_json_proto returns [19:35:18]Send response to host [19:35:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33374,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [19:35:18]free response buf [19:35:18]execute_script done [19:35:18]execute_script returns [19:35:18]free content buf [19:35:18]Sock 10.Close socket [19:35:18]Sock 10.Thread stoped [19:35:22]OFD Sender: No OFD packet to send [19:35:27]OFD Sender: No OFD packet to send [19:35:32]OFD Sender: No OFD packet to send [19:35:37]OFD Sender: No OFD packet to send [19:35:42]OFD Sender: No OFD packet to send [19:35:47]OFD Sender: No OFD packet to send [19:35:52]OFD Sender: No OFD packet to send [19:35:57]OFD Sender: No OFD packet to send [19:36:02]OFD Sender: No OFD packet to send [19:36:07]OFD Sender: No OFD packet to send [19:36:12]OFD Sender: No OFD packet to send [19:36:17]OFD Sender: No OFD packet to send [19:36:22]OFD Sender: No OFD packet to send [19:36:27]OFD Sender: No OFD packet to send [19:36:32]OFD Sender: No OFD packet to send [19:36:37]OFD Sender: No OFD packet to send [19:36:42]OFD Sender: No OFD packet to send [19:36:47]OFD Sender: No OFD packet to send [19:36:52]OFD Sender: No OFD packet to send [19:36:57]OFD Sender: No OFD packet to send [19:37:02]OFD Sender: No OFD packet to send [19:37:07]OFD Sender: No OFD packet to send [19:37:12]OFD Sender: No OFD packet to send [19:37:17]OFD Sender: No OFD packet to send [19:37:22]OFD Sender: No OFD packet to send [19:37:27]OFD Sender: No OFD packet to send [19:37:32]OFD Sender: No OFD packet to send [19:37:37]OFD Sender: No OFD packet to send [19:37:42]OFD Sender: No OFD packet to send [19:37:47]OFD Sender: No OFD packet to send [19:37:52]OFD Sender: No OFD packet to send [19:37:57]OFD Sender: No OFD packet to send [19:38:02]OFD Sender: No OFD packet to send [19:38:07]OFD Sender: No OFD packet to send [19:38:12]OFD Sender: No OFD packet to send [19:38:17]OFD Sender: No OFD packet to send [19:38:22]OFD Sender: No OFD packet to send [19:38:27]OFD Sender: No OFD packet to send [19:38:32]OFD Sender: No OFD packet to send [19:38:37]OFD Sender: No OFD packet to send [19:38:42]OFD Sender: No OFD packet to send [19:38:47]OFD Sender: No OFD packet to send [19:38:52]OFD Sender: No OFD packet to send [19:38:57]OFD Sender: No OFD packet to send [19:39:02]OFD Sender: No OFD packet to send [19:39:07]OFD Sender: No OFD packet to send [19:39:12]OFD Sender: No OFD packet to send [19:39:17]OFD Sender: No OFD packet to send [19:39:22]OFD Sender: No OFD packet to send [19:39:27]OFD Sender: No OFD packet to send [19:39:32]OFD Sender: No OFD packet to send [19:39:37]OFD Sender: No OFD packet to send [19:39:42]OFD Sender: No OFD packet to send [19:39:47]OFD Sender: No OFD packet to send [19:39:52]OFD Sender: No OFD packet to send [19:39:57]OFD Sender: No OFD packet to send [19:40:02]OFD Sender: No OFD packet to send [19:40:07]OFD Sender: No OFD packet to send [19:40:12]OFD Sender: No OFD packet to send [19:40:17]OFD Sender: No OFD packet to send [19:40:22]OFD Sender: No OFD packet to send [19:40:27]OFD Sender: No OFD packet to send [19:40:32]OFD Sender: No OFD packet to send [19:40:37]OFD Sender: No OFD packet to send [19:40:42]OFD Sender: No OFD packet to send [19:40:47]OFD Sender: No OFD packet to send [19:40:52]OFD Sender: No OFD packet to send [19:40:57]OFD Sender: No OFD packet to send [19:41:02]OFD Sender: No OFD packet to send [19:41:07]OFD Sender: No OFD packet to send [19:41:12]OFD Sender: No OFD packet to send [19:41:17]OFD Sender: No OFD packet to send [19:41:22]OFD Sender: No OFD packet to send [19:41:27]OFD Sender: No OFD packet to send [19:41:32]OFD Sender: No OFD packet to send [19:41:37]OFD Sender: No OFD packet to send [19:41:42]OFD Sender: No OFD packet to send [19:41:47]OFD Sender: No OFD packet to send [19:41:52]OFD Sender: No OFD packet to send [19:41:57]OFD Sender: No OFD packet to send [19:42:02]OFD Sender: No OFD packet to send [19:42:07]OFD Sender: No OFD packet to send [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:32]OFD Sender: No OFD packet to send [19:42:37]OFD Sender: No OFD packet to send [19:42:42]OFD Sender: No OFD packet to send [19:42:47]OFD Sender: No OFD packet to send [19:42:52]OFD Sender: No OFD packet to send [19:42:57]OFD Sender: No OFD packet to send [19:43:02]OFD Sender: No OFD packet to send [19:43:07]OFD Sender: No OFD packet to send [19:43:12]OFD Sender: No OFD packet to send [19:43:17]OFD Sender: No OFD packet to send [19:43:22]OFD Sender: No OFD packet to send [19:43:27]OFD Sender: No OFD packet to send [19:43:32]OFD Sender: No OFD packet to send [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19:44:07]OFD Sender: No OFD packet to send [19:44:12]OFD Sender: No OFD packet to send [19:44:17]OFD Sender: No OFD packet to send [19:44:22]OFD Sender: No OFD packet to send [19:44:27]OFD Sender: No OFD packet to send [19:44:32]OFD Sender: No OFD packet to send [19:44:37]OFD Sender: No OFD packet to send [19:44:42]OFD Sender: No OFD packet to send [19:44:47]OFD Sender: No OFD packet to send [19:44:52]OFD Sender: No OFD packet to send [19:44:57]OFD Sender: No OFD packet to send [19:45:02]OFD Sender: No OFD packet to send [19:45:07]OFD Sender: No OFD packet to send [19:45:12]OFD Sender: No OFD packet to send [19:45:17]OFD Sender: No OFD packet to send [19:45:22]OFD Sender: No OFD packet to send [19:45:27]OFD Sender: No OFD packet to send [19:45:32]OFD Sender: No OFD packet to send [19:45:37]OFD Sender: No OFD packet to send [19:45:42]OFD Sender: No OFD packet to send [19:45:47]OFD Sender: No OFD packet to send [19:45:52]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]OFD Sender: No OFD packet to send [19:51:07]OFD Sender: No OFD packet to send [19:51:12]OFD Sender: No OFD packet to send [19:51:17]OFD Sender: No OFD packet to send [19:51:22]OFD Sender: No OFD packet to send [19:51:27]OFD Sender: No OFD packet to send [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:53]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]accept exits with 7 [19:59:33]New connection [19:59:33]New thread 3066461540 created [19:59:33]Thread 3066604900 joined [19:59:33]Waiting for new connection... [19:59:33] Sock 7.Parse request [19:59:33]Sock 7.Check first char [19:59:33]Sock 7.First char is OK [19:59:33]request: POST /json_proto HTTP/1.0 [19:59:33]Method: POST [19:59:33]URL: /json_proto [19:59:33]Method is POST - this is cgi request [19:59:33]url: /json_proto [19:59:33]query_string will be loaded in cgi processing [19:59:33]execute_cgi json_proto POST (null) [19:59:33]execute_cgi path=json_proto method=POST [19:59:33]POST find Content-Length [19:59:33]Host: 172.17.35.196:8080 [19:59:33]Content-Length: 646 [19:59:33]Content-Type: application/json [19:59:33] [19:59:33]POST finish read [19:59:33]Found Content-Length = 646 [19:59:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169187", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 157.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:33]execute_script... [19:59:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169187", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 157.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:33]POST & json_proto [19:59:33]process_json_proto [19:59:33]json parsed OK: [19:59:33]protocol is kg_v1.0 [19:59:33]action value=close_receipt [19:59:33]process_action close_receipt [19:59:33]cmd_close_receipt [19:59:33]MH_GetDate [19:59:33]Write to MH i2c: F0 00 00 13 0F 11 [19:59:33]Write i2c OK [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: F0 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: F0 09 00 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: F0 09 00 13 0F 00 27 8B 91 66 AD 14 F4 65 DD [19:59:33]GetLastDocTimeStamp 1720812916 [19:59:33]current date 1720814375 [19:59:33]FM_GetShiftState [19:59:33]SAM_PROTO_GetShiftState [19:59:33]wFMCommunicate request_size=4 [19:59:33]MH_SAM_APDU [19:59:33]CAPDU: 80 13 01 00 [19:59:33]Write to MH i2c: E2 08 00 14 0F 80 13 01 00 00 00 00 00 A0 [19:59:33]Write i2c OK [19:59:33]MH_I2C_Read... [19:59:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:33]Read from MH i2c: E2 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 0E 00 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 0E 00 14 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 2D [19:59:33]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [19:59:33]wFMCommunicate OK [19:59:33]SAM_PROTO_GetShiftState done [19:59:33]FM_GetShiftState done [19:59:33]opened in 1720742935 [19:59:33]opened+sec_in_day 1720829335 [19:59:33]quantity*price = 15700 [19:59:33]sum+1 = 15701 [19:59:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 157.00 НСП 1% : 1.39 НДС 12% : 16.67 Наличными: 157.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 53 12.07.2024 19:59 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33375 ФПД: 228152239176532 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T195935&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33375&fm=228152239176532&tin=02508201610067®Number=0000000000093033&sum=15700 0 [19:59:34]StoreToDocumentArchive [19:59:34]shift 433 fd 33375 [19:59:34]save to /storage/0433/doc_00033375 [19:59:34]save last doc name /storage/0433/doc_00033375 to /storage/kkm_last_doc_name [19:59:34]save OK [19:59:34]Clear old archive folders... [19:59:34]ProcessDocumentItem done err = 0, tmpTLVsize=278 [19:59:34]tlvbuf is 00A6F1E0 [19:59:34]SAM_PROTO_ClearQueue [19:59:34]wFMCommunicate request_size=4 [19:59:34]MH_SAM_APDU [19:59:34]CAPDU: 80 09 00 00 [19:59:34]Write to MH i2c: E2 08 00 21 0F 80 09 00 00 00 00 00 00 A2 [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:34]Read from MH i2c: E2 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 03 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 03 00 21 0F 00 90 00 A4 [19:59:34]RAPDU: 90 00 [19:59:34]wFMCommunicate OK [19:59:34]SAM_PROTO_ClearQueue done [19:59:34]KKMCreateOFDPacket [19:59:34]OFDProtocolAddRootSTLVToBuf [19:59:34]FM_MakeSignedData [19:59:34]FM_MakeSignedData [19:59:34]SAM_PROTO_SignData [19:59:34]wFMCommunicate request_size=4 [19:59:34]MH_SAM_APDU [19:59:34]CAPDU: 80 0D 01 02 [19:59:34]Write to MH i2c: E2 08 00 22 0F 80 0D 01 02 00 00 00 00 AA [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:34]Read from MH i2c: E2 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 03 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 03 00 22 0F 00 90 00 A5 [19:59:34]RAPDU: 90 00 [19:59:34]wFMCommunicate OK [19:59:34]wFMCommunicate request_size=255 [19:59:34]MH_SAM_APDU [19:59:34]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 06 00 00 00 00 07 04 06 00 54 3D 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 27 8B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 [19:59:34]Write to MH i2c: E2 02 01 23 0F 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 06 00 00 00 00 07 04 06 00 54 3D 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 27 8B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 00 00 71 [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:34]Read from MH i2c: E2 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 03 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 03 00 23 0F 00 90 00 A6 [19:59:34]RAPDU: 90 00 [19:59:34]wFMCommunicate OK [19:59:34]wFMCommunicate request_size=37 [19:59:34]MH_SAM_APDU [19:59:34]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5F 82 00 00 35 04 06 00 CF 80 D5 2B BB 54 [19:59:34]Write to MH i2c: E2 28 00 24 0F 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5F 82 00 00 35 04 06 00 CF 80 D5 2B BB 54 00 00 3C [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:34]Read from MH i2c: E2 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 03 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 03 00 24 0F 00 90 00 A7 [19:59:34]RAPDU: 90 00 [19:59:34]wFMCommunicate OK [19:59:34]wFMCommunicate request_size=4 [19:59:34]MH_SAM_APDU [19:59:34]CAPDU: 80 0D 03 02 [19:59:34]Write to MH i2c: E2 08 00 25 0F 80 0D 03 02 00 00 00 00 AF [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:34]Read from MH i2c: E2 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 0B 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 0B 00 25 0F 00 C5 98 A6 E5 DE 64 15 E2 90 00 D1 [19:59:34]RAPDU: C5 98 A6 E5 DE 64 15 E2 90 00 [19:59:34]wFMCommunicate OK [19:59:34]SAM_PROTO_SignData done [19:59:34]FM_MakeSignedData done [19:59:34]CreateOFDProtocolMessage [19:59:34]wFMCommunicate request_size=4 [19:59:34]MH_SAM_APDU [19:59:34]CAPDU: 80 11 00 00 [19:59:34]Write to MH i2c: E2 08 00 26 0F 80 11 00 00 00 00 00 00 AF [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:34]Read from MH i2c: E2 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 17 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: E2 17 00 26 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 FB [19:59:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:59:34]wFMCommunicate OK [19:59:34]CreateOFDProtocolMessage done [19:59:34]OFDSenderStorePacket 33375 [19:59:34]StoreOFDPacket docnum=33375 [19:59:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2A 01 00 00 AC 97 22 01 85 BB 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 06 00 00 00 00 07 04 06 00 54 3D 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 27 8B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5F 82 00 00 35 04 06 00 CF 80 D5 2B BB 54 C5 98 A6 E5 DE 64 15 E2 [19:59:34]CheckFolder [19:59:34]dirname=/storage/ofd_packets [19:59:34]CheckFolder done [19:59:34]ProducePacketName [19:59:34]name=ofd_packets/00033375 [19:59:34]NVStorageSaveData ofd_packets/00033375 [19:59:34]File name is /storage/ofd_packets/00033375 [19:59:34]Write 328 bytes [19:59:34]NVStorageSaveData done [19:59:34]OFDSenderStorePacket done [19:59:34]KKMCreateOFDPacket done [19:59:34]NVStorageSaveData kkm_last_timestamp [19:59:34]File name is /storage/kkm_last_timestamp [19:59:34]Write 4 bytes [19:59:34]NVStorageSaveData done [19:59:34]ExternCall_PrintAddStr [19:59:34]wPrintStart [19:59:34]Write to MH i2c: 01 00 00 27 0F 36 [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: 01 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: 01 07 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: 01 07 00 27 0F 00 00 00 00 00 FF 0F 4B [19:59:34]RasterBufferAndPrint [19:59:34]line Счет N : (3)169187 [19:59:34]line ИНН: 02508201610067 [19:59:34]line Контрольно-Кассовый Чек [19:59:34]line ПРОДАЖА [19:59:34]line Товар: 90162602 [19:59:34]line Энерг напиток Red bull 0,25л [19:59:34]line 1.000 * 157.00 [19:59:34]line = 157.00 [19:59:34]line НДС 12% НСП 1% [19:59:34]line > о реализуемом товаре [19:59:34]line ИТОГО: 157.00 [19:59:34]line НСП 1% : 1.39 [19:59:34]line НДС 12% : 16.67 [19:59:34]line Наличными: 157.00 [19:59:34]line Безнал.: 0.00 [19:59:34]line Место: АЗС № 77 "Партнер Нефть" [19:59:34]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [19:59:34]line СНО: Общий режим [19:59:34]line Чек 53 12.07.2024 19:59 [19:59:35]line Смена: 433 ФФД: 1.0 [19:59:35]line ЗНМ: 0300000122 [19:59:35]line РНМ: 0000000000093033 [19:59:35]line Версия ККМ: 001 [19:59:35]line ФМ: 0000000000875104 [19:59:35]line ФД: 33375 [19:59:35]line ФПД: 228152239176532 [19:59:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T195935&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33375&fm=228152239176532&tin=02508201610067®Number=0000000000093033&sum=15700 [19:59:35]line 0 [19:59:35]OFD Sender: Processing packet 33375 [packets to send 6, broken 5] [19:59:35]ProducePacketName [19:59:35]name=ofd_packets/00033375 [19:59:35]OFD Sender: To server: pG, [19:59:35]CommunicateWithHost lk.salyk.kg:30040 [19:59:35]ConnectInit lk.salyk.kg [19:59:35]written 0, free lines is 4095 [19:59:35]Connected sock=10 [19:59:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 2A 01 00 00 AC 97 22 01 85 BB 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 06 00 00 00 00 07 04 06 00 54 3D 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 27 8B 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 5F 82 00 00 35 04 06 00 CF 80 D5 2B BB 54 C5 98 A6 E5 DE 64 15 E2 [19:59:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 17 14 47 00 BD EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 38 37 35 31 30 34 10 04 04 00 5F 82 00 00 F4 03 04 00 D3 35 91 66 B6 04 01 00 00 51 4D 30 CE AB 8C B4 2B [19:59:35]CommunicateWithHost err = 0 [19:59:35]CheckOFDResponse [19:59:35]1017 (14) - 77093643461234 [19:59:35]1041 (16) - 0000000000875104 [19:59:35]1040 (4) - 33375 [19:59:35]1012 (4) - 12.07.2024 13:55 [19:59:35]1206 (1) - 0 [19:59:35]OFD Sender: Remove packet 33375 [19:59:35]ProducePacketName [19:59:35]name=ofd_packets/00033375 [19:59:35]NVStorageDeleteData [19:59:35]Write to MH i2c: 01 00 00 4F 0F 5E [19:59:35]Write i2c OK [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: 01 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: 01 07 00 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: 01 07 00 4F 0F 00 00 00 00 00 00 0D 72 [19:59:35]RasterBufferAndPrint [19:59:35]line [19:59:35]line [19:59:35]line [19:59:35]line [19:59:35]line [19:59:35]written 0, free lines is 3334 [19:59:35]MH_Cut [19:59:35]Write to MH i2c: D1 01 00 56 0F 01 37 [19:59:35]Write i2c OK [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: D1 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: D1 01 00 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: D1 01 00 56 0F 00 36 [19:59:35]Write to MH i2c: 01 00 00 57 0F 66 [19:59:35]Write i2c OK [19:59:35]MH_I2C_Read... [19:59:35]OFD Sender: No OFD packet to send [19:59:36]*** Cut start [19:59:36]*** Partial cut [19:59:36]*** CUTSNS_PIN = 1 [19:59:36]*** CUTSNS_PIN = 0 [19:59:36]*** Brake cut motor [19:59:36]Read from MH i2c: 01 [19:59:36]MH_I2C_Read... [19:59:36]*** Stop cut motor [19:59:36]*** Cut end [19:59:36]Read from MH i2c: 01 07 00 [19:59:36]MH_I2C_Read... [19:59:36]Read from MH i2c: 01 07 00 57 0F 00 00 00 00 00 FF 0F 7B [19:59:36]process_action close_receipt done [19:59:36]requested_data is exist [19:59:36]produce_requested_data [19:59:36]requested_item fm.sn is exist - process it [19:59:36]wFMCommunicate request_size=4 [19:59:36]MH_SAM_APDU [19:59:36]CAPDU: 80 11 00 00 [19:59:36]Write to MH i2c: E2 08 00 58 0F 80 11 00 00 00 00 00 00 E1 [19:59:36]Write i2c OK [19:59:36]MH_I2C_Read... [19:59:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:36]Read from MH i2c: E2 [19:59:36]MH_I2C_Read... [19:59:36]Read from MH i2c: E2 17 00 [19:59:36]MH_I2C_Read... [19:59:36]Read from MH i2c: E2 17 00 58 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 2D [19:59:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [19:59:36]wFMCommunicate OK [19:59:36]requested_item fd.num is exist - process it [19:59:36]SAM_PROTO_GetFieldsCounters [19:59:36]wFMCommunicate request_size=4 [19:59:36]MH_SAM_APDU [19:59:36]CAPDU: 80 13 00 00 [19:59:36]Write to MH i2c: E2 08 00 59 0F 80 13 00 00 00 00 00 00 E4 [19:59:36]Write i2c OK [19:59:36]MH_I2C_Read... [19:59:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:37]Read from MH i2c: E2 [19:59:37]MH_I2C_Read... [19:59:37]Read from MH i2c: E2 62 00 [19:59:37]MH_I2C_Read... [19:59:37]Read from MH i2c: E2 62 00 59 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5F 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 29 [19:59:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 5F 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:59:37]wFMCommunicate OK [19:59:37]SAM_PROTO_GetFieldsCounters done [19:59:37]requested_item shift.num is exist - process it [19:59:37]requested_item shift.opened is exist - process it [19:59:37]req_shift_opened [19:59:37]FM_GetShiftState [19:59:37]SAM_PROTO_GetShiftState [19:59:37]wFMCommunicate request_size=4 [19:59:37]MH_SAM_APDU [19:59:37]CAPDU: 80 13 01 00 [19:59:37]Write to MH i2c: E2 08 00 5A 0F 80 13 01 00 00 00 00 00 E6 [19:59:37]Write i2c OK [19:59:37]MH_I2C_Read... [19:59:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:37]Read from MH i2c: E2 [19:59:37]MH_I2C_Read... [19:59:37]Read from MH i2c: E2 0E 00 [19:59:37]MH_I2C_Read... [19:59:37]Read from MH i2c: E2 0E 00 5A 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 73 [19:59:37]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [19:59:37]wFMCommunicate OK [19:59:37]SAM_PROTO_GetShiftState done [19:59:37]FM_GetShiftState done [19:59:37]req_shift_opened done [19:59:37]requested_item shift.open_date is exist - process it [19:59:37]req_shift_open_date [19:59:37]req_shift_open_date done [19:59:37]produce_requested_data done [19:59:37]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33375,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [19:59:37]process_action_free close_receipt [19:59:37]json_value_free [19:59:37]json_value_free done [19:59:37]process_json_proto returns [19:59:37]Send response to host [19:59:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33375,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [19:59:37]free response buf [19:59:37]execute_script done [19:59:37]execute_script returns [19:59:37]free content buf [19:59:37]Sock 7.Close socket [19:59:37]Sock 7.Thread stoped [19:59:40]OFD Sender: No OFD packet to send [19:59:45]OFD Sender: No OFD packet to send [19:59:50]OFD Sender: No OFD packet to send [19:59:55]OFD Sender: No OFD packet to send [20:00:00]OFD Sender: No OFD packet to send [20:00:05]OFD Sender: No OFD packet to send [20:00:10]OFD Sender: No OFD packet to send [20:00:15]OFD Sender: No OFD packet to send [20:00:20]OFD Sender: No OFD packet to send [20:00:25]OFD Sender: No OFD packet to send [20:00:30]OFD Sender: No OFD packet to send [20:00:35]OFD Sender: No OFD packet to send [20:00:40]OFD Sender: No OFD packet to send [20:00:45]OFD Sender: No OFD packet to send [20:00:50]OFD Sender: No OFD packet to send [20:00:55]OFD Sender: No OFD packet to send [20:01:00]OFD Sender: No OFD packet to send [20:01:05]OFD Sender: No OFD packet to send [20:01:10]OFD Sender: No OFD packet to send [20:01:15]OFD Sender: No OFD packet to send [20:01:20]OFD Sender: No OFD packet to send [20:01:25]OFD Sender: No OFD packet to send [20:01:30]OFD Sender: No OFD packet to send [20:01:35]OFD Sender: No OFD packet to send [20:01:40]OFD Sender: No OFD packet to send [20:01:45]OFD Sender: No OFD packet to send [20:01:50]OFD Sender: No OFD packet to send [20:01:55]OFD Sender: No OFD packet to send [20:02:00]OFD Sender: No OFD packet to send [20:02:05]OFD Sender: No OFD packet to send [20:02:10]OFD Sender: No OFD packet to send [20:02:16]OFD Sender: No OFD packet to send [20:02:21]OFD Sender: No OFD packet to send [20:02:26]OFD Sender: No OFD packet to send [20:02:31]OFD Sender: No OFD packet to send [20:02:36]OFD Sender: No OFD packet to send [20:02:41]OFD Sender: No OFD packet to send [20:02:46]OFD Sender: No OFD packet to send [20:02:51]OFD Sender: No OFD packet to send [20:02:56]OFD Sender: No OFD packet to send [20:03:01]OFD Sender: No OFD packet to send [20:03:06]OFD Sender: No OFD packet to send [20:03:11]OFD Sender: No OFD packet to send [20:03:16]OFD Sender: No OFD packet to send [20:03:21]OFD Sender: No OFD packet to send [20:03:26]OFD Sender: No OFD packet to send [20:03:31]OFD Sender: No OFD packet to send [20:03:36]OFD Sender: No OFD packet to send [20:03:41]OFD Sender: No OFD packet to send [20:03:46]OFD Sender: No OFD packet to send [20:03:51]OFD Sender: No OFD packet to send [20:03:56]OFD Sender: No OFD packet to send [20:04:01]OFD Sender: No OFD packet to send [20:04:06]OFD Sender: No OFD packet to send [20:04:11]OFD Sender: No OFD packet to send [20:04:16]OFD Sender: No OFD packet to send [20:04:21]OFD Sender: No OFD packet to send [20:04:26]OFD Sender: No OFD packet to send [20:04:31]OFD Sender: No OFD packet to send [20:04:36]OFD Sender: No OFD packet to send [20:04:41]OFD Sender: No OFD packet to send [20:04:46]OFD Sender: No OFD packet to send [20:04:51]OFD Sender: No OFD packet to send [20:04:56]OFD Sender: No OFD packet to send [20:05:01]OFD Sender: No OFD packet to send [20:05:06]OFD Sender: No OFD packet to send [20:05:11]OFD Sender: No OFD packet to send [20:05:16]OFD Sender: No OFD packet to send [20:05:21]OFD Sender: No OFD packet to send [20:05:26]OFD Sender: No OFD packet to send [20:05:31]OFD Sender: No OFD packet to send [20:05:36]OFD Sender: No OFD packet to send [20:05:41]OFD Sender: No OFD packet to send [20:05:46]OFD Sender: No OFD packet to send [20:05:51]OFD Sender: No OFD packet to send [20:05:56]OFD Sender: No OFD packet to send [20:06:01]OFD Sender: No OFD packet to send [20:06:06]OFD Sender: No OFD packet to send [20:06:11]OFD Sender: No OFD packet to send [20:06:16]OFD Sender: No OFD packet to send [20:06:21]OFD Sender: No OFD packet to send [20:06:26]OFD Sender: No OFD packet to send [20:06:31]OFD Sender: No OFD packet to send [20:06:36]OFD Sender: No OFD packet to send [20:06:41]OFD Sender: No OFD packet to send [20:06:46]OFD Sender: No OFD packet to send [20:06:51]OFD Sender: No OFD packet to send [20:06:56]OFD Sender: No OFD packet to send [20:07:01]OFD Sender: No OFD packet to send [20:07:06]OFD Sender: No OFD packet to send [20:07:11]OFD Sender: No OFD packet to send [20:07:16]OFD Sender: No OFD packet to send [20:07:21]OFD Sender: No OFD packet to send [20:07:26]OFD Sender: No OFD packet to send [20:07:31]OFD Sender: No OFD packet to send [20:07:36]OFD Sender: No OFD packet to send [20:07:41]OFD Sender: No OFD packet to send [20:07:46]OFD Sender: No OFD packet to send [20:07:51]OFD Sender: No OFD packet to send [20:07:56]OFD Sender: No OFD packet to send [20:08:01]OFD Sender: No OFD packet to send [20:08:06]OFD Sender: No OFD packet to send [20:08:11]OFD Sender: No OFD packet to send [20:08:16]OFD Sender: No OFD packet to send [20:08:21]OFD Sender: No OFD packet to send [20:08:26]OFD Sender: No OFD packet to send [20:08:31]OFD Sender: No OFD packet to send [20:08:36]OFD Sender: No OFD packet to send [20:08:41]OFD Sender: No OFD packet to send [20:08:46]OFD Sender: No OFD packet to send [20:08:51]OFD Sender: No OFD packet to send [20:08:56]OFD Sender: No OFD packet to send [20:09:01]OFD Sender: No OFD packet to send [20:09:06]OFD Sender: No OFD packet to send [20:09:11]OFD Sender: No OFD packet to send [20:09:16]OFD Sender: No OFD packet to send [20:09:21]OFD Sender: No OFD packet to send [20:09:26]OFD Sender: No OFD packet to send [20:09:31]OFD Sender: No OFD packet to send [20:09:36]OFD Sender: No OFD packet to send [20:09:41]OFD Sender: No OFD packet to send [20:09:46]OFD Sender: No OFD packet to send [20:09:51]OFD Sender: No OFD packet to send [20:09:56]OFD Sender: No OFD packet to send [20:10:01]OFD Sender: No OFD packet to send [20:10:06]OFD Sender: No OFD packet to send [20:10:11]OFD Sender: No OFD packet to send [20:10:16]OFD Sender: No OFD packet to send [20:10:21]OFD Sender: No OFD packet to send [20:10:26]OFD Sender: No OFD packet to send [20:10:31]OFD Sender: No OFD packet to send [20:10:36]OFD Sender: No OFD packet to send [20:10:41]OFD Sender: No OFD packet to send [20:10:46]OFD Sender: No OFD packet to send [20:10:51]OFD Sender: No OFD packet to send [20:10:56]OFD Sender: No OFD packet to send [20:11:01]OFD Sender: No OFD packet to send [20:11:06]OFD Sender: No OFD packet to send [20:11:11]OFD Sender: No OFD packet to send [20:11:16]OFD Sender: No OFD packet to send [20:11:21]OFD Sender: No OFD packet to send [20:11:26]OFD Sender: No OFD packet to send [20:11:31]OFD Sender: No OFD packet to send [20:11:36]OFD Sender: No OFD packet to send [20:11:41]OFD Sender: No OFD packet to send [20:11:46]OFD Sender: No OFD packet to send [20:11:51]OFD Sender: No OFD packet to send [20:11:56]OFD Sender: No OFD packet to send [20:12:01]OFD Sender: No OFD packet to send [20:12:06]OFD Sender: No OFD packet to send [20:12:11]OFD Sender: No OFD packet to send [20:12:16]OFD Sender: No OFD packet to send [20:12:21]OFD Sender: No OFD packet to send [20:12:26]OFD Sender: No OFD packet to send [20:12:31]OFD Sender: No OFD packet to send [20:12:36]OFD Sender: No OFD packet to send [20:12:41]OFD Sender: No OFD packet to send [20:12:46]OFD Sender: No OFD packet to send [20:12:51]OFD Sender: No OFD packet to send [20:12:56]OFD Sender: No OFD packet to send [20:13:01]OFD Sender: No OFD packet to send [20:13:06]OFD Sender: No OFD packet to send [20:13:11]OFD Sender: No OFD packet to send [20:13:16]OFD Sender: No OFD packet to send [20:13:21]OFD Sender: No OFD packet to send [20:13:26]OFD Sender: No OFD packet to send [20:13:31]OFD Sender: No OFD packet to send [20:13:36]OFD Sender: No OFD packet to send [20:13:41]OFD Sender: No OFD packet to send [20:13:46]OFD Sender: No OFD packet to send [20:13:51]OFD Sender: No OFD packet to send [20:13:56]OFD Sender: No OFD packet to send [20:14:01]OFD Sender: No OFD packet to send [20:14:06]OFD Sender: No OFD packet to send [20:14:11]OFD Sender: No OFD packet to send [20:14:16]OFD Sender: No OFD packet to send [20:14:21]OFD Sender: No OFD packet to send [20:14:26]OFD Sender: No OFD packet to send [20:14:31]OFD Sender: No OFD packet to send [20:14:36]OFD Sender: No OFD packet to send [20:14:41]OFD Sender: No OFD packet to send [20:14:46]OFD Sender: No OFD packet to send [20:14:51]OFD Sender: No OFD packet to send [20:14:56]OFD Sender: No OFD packet to send [20:15:01]OFD Sender: No OFD packet to send [20:15:06]OFD Sender: No OFD packet to send [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:41]OFD Sender: No OFD packet to send [20:15:46]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:56]OFD Sender: No OFD packet to send [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:06]OFD Sender: No OFD packet to send [20:17:11]OFD Sender: No OFD packet to send [20:17:16]OFD Sender: No OFD packet to send [20:17:21]OFD Sender: No OFD packet to send [20:17:26]OFD Sender: No OFD packet to send [20:17:31]OFD Sender: No OFD packet to send [20:17:36]OFD Sender: No OFD packet to send [20:17:41]OFD Sender: No OFD packet to send [20:17:46]OFD Sender: No OFD packet to send [20:17:51]OFD Sender: No OFD packet to send [20:17:56]OFD Sender: No OFD packet to send [20:18:01]OFD Sender: No OFD packet to send [20:18:06]OFD Sender: No OFD packet to send [20:18:11]OFD Sender: No OFD packet to send [20:18:16]OFD Sender: No OFD packet to send [20:18:21]OFD Sender: No OFD packet to send [20:18:26]OFD Sender: No OFD packet to send [20:18:31]OFD Sender: No OFD packet to send [20:18:36]OFD Sender: No OFD packet to send [20:18:41]OFD Sender: No OFD packet to send [20:18:46]OFD Sender: No OFD packet to send [20:18:51]OFD Sender: No OFD packet to send [20:18:56]OFD Sender: No OFD packet to send [20:19:01]OFD Sender: No OFD packet to send [20:19:06]OFD Sender: No OFD packet to send [20:19:11]OFD Sender: No OFD packet to send [20:19:16]OFD Sender: No OFD packet to send [20:19:21]OFD Sender: No OFD packet to send [20:19:26]OFD Sender: No OFD packet to send [20:19:31]OFD Sender: No OFD packet to send [20:19:36]OFD Sender: No OFD packet to send [20:19:41]OFD Sender: No OFD packet to send [20:19:46]OFD Sender: No OFD packet to send [20:19:51]OFD Sender: No OFD packet to send [20:19:56]OFD Sender: No OFD packet to send [20:20:01]OFD Sender: No OFD packet to send [20:20:06]OFD Sender: No OFD packet to send [20:20:11]OFD Sender: No OFD packet to send [20:20:16]OFD Sender: No OFD packet to send [20:20:21]OFD Sender: No OFD packet to send [20:20:26]OFD Sender: No OFD packet to send [20:20:31]OFD Sender: No OFD packet to send [20:20:36]OFD Sender: No OFD packet to send [20:20:41]OFD Sender: No OFD packet to send [20:20:46]OFD Sender: No OFD packet to send [20:20:51]OFD Sender: No OFD packet to send [20:20:56]OFD Sender: No OFD packet to send [20:21:01]OFD Sender: No OFD packet to send [20:21:06]OFD Sender: No OFD packet to send [20:21:11]OFD Sender: No OFD packet to send [20:21:16]OFD Sender: No OFD packet to send [20:21:21]OFD Sender: No OFD packet to send [20:21:26]OFD Sender: No OFD packet to send [20:21:31]OFD Sender: No OFD packet to send [20:21:36]OFD Sender: No OFD packet to send [20:21:41]OFD Sender: No OFD packet to send [20:21:46]OFD Sender: No OFD packet to send [20:21:51]OFD Sender: No OFD packet to send [20:21:56]OFD Sender: No OFD packet to send [20:22:01]OFD Sender: No OFD packet to send [20:22:06]OFD Sender: No OFD packet to send [20:22:11]OFD Sender: No OFD packet to send [20:22:16]OFD Sender: No OFD packet to send [20:22:21]OFD Sender: No OFD packet to send [20:22:26]OFD Sender: No OFD packet to send [20:22:31]OFD Sender: No OFD packet to send [20:22:36]OFD Sender: No OFD packet to send [20:22:41]OFD Sender: No OFD packet to send [20:22:46]OFD Sender: No OFD packet to send [20:22:51]OFD Sender: No OFD packet to send [20:22:56]OFD Sender: No OFD packet to send [20:23:01]OFD Sender: No OFD packet to send [20:23:06]OFD Sender: No OFD packet to send [20:23:11]OFD Sender: No OFD packet to send [20:23:16]OFD Sender: No OFD packet to send [20:23:21]OFD Sender: No OFD packet to send [20:23:26]OFD Sender: No OFD packet to send [20:23:31]OFD Sender: No OFD packet to send [20:23:36]OFD Sender: No OFD packet to send [20:23:41]OFD Sender: No OFD packet to send [20:23:47]OFD Sender: No OFD packet to send [20:23:52]OFD Sender: No OFD packet to send [20:23:57]OFD Sender: No OFD packet to send [20:24:02]OFD Sender: No OFD packet to send [20:24:07]OFD Sender: No OFD packet to send [20:24:12]OFD Sender: No OFD packet to send [20:24:17]OFD Sender: No OFD packet to send [20:24:22]OFD Sender: No OFD packet to send [20:24:27]OFD Sender: No OFD packet to send [20:24:32]OFD Sender: No OFD packet to send [20:24:37]OFD Sender: No OFD packet to send [20:24:42]OFD Sender: No OFD packet to send [20:24:47]OFD Sender: No OFD packet to send [20:24:52]OFD Sender: No OFD packet to send [20:24:57]OFD Sender: No OFD packet to send [20:25:02]OFD Sender: No OFD packet to send [20:25:07]OFD Sender: No OFD packet to send [20:25:12]OFD Sender: No OFD packet to send [20:25:17]OFD Sender: No OFD packet to send [20:25:22]OFD Sender: No OFD packet to send [20:25:27]OFD Sender: No OFD packet to send [20:25:32]OFD Sender: No OFD packet to send [20:25:37]OFD Sender: No OFD packet to send [20:25:42]OFD Sender: No OFD packet to send [20:25:47]OFD Sender: No OFD packet to send [20:25:52]OFD Sender: No OFD packet to send [20:25:57]OFD Sender: No OFD packet to send [20:26:02]OFD Sender: No OFD packet to send [20:26:07]OFD Sender: No OFD packet to send [20:26:12]OFD Sender: No OFD packet to send [20:26:17]OFD Sender: No OFD packet to send [20:26:22]OFD Sender: No OFD packet to send [20:26:27]OFD Sender: No OFD packet to send [20:26:32]OFD Sender: No OFD packet to send [20:26:37]OFD Sender: No OFD packet to send [20:26:42]OFD Sender: No OFD packet to send [20:26:47]OFD Sender: No OFD packet to send [20:26:52]OFD Sender: No OFD packet to send [20:26:57]OFD Sender: No OFD packet to send [20:27:02]OFD Sender: No OFD packet to send [20:27:07]OFD Sender: No OFD packet to send [20:27:12]OFD Sender: No OFD packet to send [20:27:17]OFD Sender: No OFD packet to send [20:27:22]OFD Sender: No OFD packet to send [20:27:27]OFD Sender: No OFD packet to send [20:27:32]OFD Sender: No OFD packet to send [20:27:37]OFD Sender: No OFD packet to send [20:27:42]OFD Sender: No OFD packet to send [20:27:47]OFD Sender: No OFD packet to send [20:27:52]OFD Sender: No OFD packet to send [20:27:57]OFD Sender: No OFD packet to send [20:28:02]OFD Sender: No OFD packet to send [20:28:07]OFD Sender: No OFD packet to send [20:28:12]OFD Sender: No OFD packet to send [20:28:17]OFD Sender: No OFD packet to send [20:28:22]OFD Sender: No OFD packet to send [20:28:27]OFD Sender: No OFD packet to send [20:28:32]OFD Sender: No OFD packet to send [20:28:37]OFD Sender: No OFD packet to send [20:28:42]OFD Sender: No OFD packet to send [20:28:47]OFD Sender: No OFD packet to send [20:28:52]OFD Sender: No OFD packet to send [20:28:57]OFD Sender: No OFD packet to send [20:29:02]OFD Sender: No OFD packet to send [20:29:07]OFD Sender: No OFD packet to send [20:29:12]OFD Sender: No OFD packet to send [20:29:17]OFD Sender: No OFD packet to send [20:29:22]OFD Sender: No OFD packet to send [20:29:27]OFD Sender: No OFD packet to send [20:29:32]OFD Sender: No OFD packet to send [20:29:37]OFD Sender: No OFD packet to send [20:29:42]OFD Sender: No OFD packet to send [20:29:47]OFD Sender: No OFD packet to send [20:29:52]OFD Sender: No OFD packet to send [20:29:57]OFD Sender: No OFD packet to send [20:30:02]OFD Sender: No OFD packet to send [20:30:07]OFD Sender: No OFD packet to send [20:30:12]OFD Sender: No OFD packet to send [20:30:17]OFD Sender: No OFD packet to send [20:30:22]OFD Sender: No OFD packet to send [20:30:27]OFD Sender: No OFD packet to send [20:30:32]OFD Sender: No OFD packet to send [20:30:37]OFD Sender: No OFD packet to send [20:30:42]OFD Sender: No OFD packet to send [20:30:47]OFD Sender: No OFD packet to send [20:30:52]OFD Sender: No OFD packet to send [20:30:57]OFD Sender: No OFD packet to send [20:31:02]OFD Sender: No OFD packet to send [20:31:07]OFD Sender: No OFD packet to send [20:31:12]OFD Sender: No OFD packet to send [20:31:17]OFD Sender: No OFD packet to send [20:31:22]OFD Sender: No OFD packet to send [20:31:27]OFD Sender: No OFD packet to send [20:31:32]OFD Sender: No OFD packet to send [20:31:37]OFD Sender: No OFD packet to send [20:31:42]OFD Sender: No OFD packet to send [20:31:47]OFD Sender: No OFD packet to send [20:31:52]OFD Sender: No OFD packet to send [20:31:57]OFD Sender: No OFD packet to send [20:32:02]OFD Sender: No OFD packet to send [20:32:07]OFD Sender: No OFD packet to send [20:32:12]OFD Sender: No OFD packet to send [20:32:17]OFD Sender: No OFD packet to send [20:32:22]OFD Sender: No OFD packet to send [20:32:27]OFD Sender: No OFD packet to send [20:32:32]OFD Sender: No OFD packet to send [20:32:37]OFD Sender: No OFD packet to send [20:32:42]OFD Sender: No OFD packet to send [20:32:47]OFD Sender: No OFD packet to send [20:32:52]OFD Sender: No OFD packet to send [20:32:57]OFD Sender: No OFD packet to send [20:33:02]OFD Sender: No OFD packet to send [20:33:07]OFD Sender: No OFD packet to send [20:33:12]OFD Sender: No OFD packet to send [20:33:17]OFD Sender: No OFD packet to send [20:33:22]OFD Sender: No OFD packet to send [20:33:27]OFD Sender: No OFD packet to send [20:33:32]OFD Sender: No OFD packet to send [20:33:37]OFD Sender: No OFD packet to send [20:33:42]OFD Sender: No OFD packet to send [20:33:47]OFD Sender: No OFD packet to send [20:33:52]OFD Sender: No OFD packet to send [20:33:57]OFD Sender: No OFD packet to send [20:34:02]OFD Sender: No OFD packet to send [20:34:07]OFD Sender: No OFD packet to send [20:34:12]OFD Sender: No OFD packet to send [20:34:17]OFD Sender: No OFD packet to send [20:34:22]OFD Sender: No OFD packet to send [20:34:27]OFD Sender: No OFD packet to send [20:34:32]OFD Sender: No OFD packet to send [20:34:37]OFD Sender: No OFD packet to send [20:34:42]OFD Sender: No OFD packet to send [20:34:47]OFD Sender: No OFD packet to send [20:34:52]OFD Sender: No OFD packet to send [20:34:57]OFD Sender: No OFD packet to send [20:35:02]OFD Sender: No OFD packet to send [20:35:07]OFD Sender: No OFD packet to send [20:35:12]OFD Sender: No OFD packet to send [20:35:17]OFD Sender: No OFD packet to send [20:35:22]OFD Sender: No OFD packet to send [20:35:27]OFD Sender: No OFD packet to send [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36:32]OFD Sender: No OFD packet to send [20:36:37]OFD Sender: No OFD packet to send [20:36:42]OFD Sender: No OFD packet to send [20:36:47]OFD Sender: No OFD packet to send [20:36:52]OFD Sender: No OFD packet to send [20:36:57]OFD Sender: No OFD packet to send [20:37:02]OFD Sender: No OFD packet to send [20:37:07]OFD Sender: No OFD packet to send [20:37:12]OFD Sender: No OFD packet to send [20:37:17]OFD Sender: No OFD packet to send [20:37:22]OFD Sender: No OFD packet to send [20:37:27]OFD Sender: No OFD packet to send [20:37:32]OFD Sender: No OFD packet to send [20:37:37]OFD Sender: No OFD packet to send [20:37:42]OFD Sender: No OFD packet to send [20:37:47]OFD Sender: No OFD packet to send [20:37:52]OFD Sender: No OFD packet to send [20:37:57]OFD Sender: No OFD packet to send [20:38:02]OFD Sender: No OFD packet to send [20:38:07]OFD Sender: No OFD packet to send [20:38:12]OFD Sender: No OFD packet to send [20:38:17]OFD Sender: No OFD packet to send [20:38:22]OFD Sender: No OFD packet to send [20:38:27]OFD Sender: No OFD packet to send [20:38:32]OFD Sender: No OFD packet to send [20:38:37]OFD Sender: No OFD packet to send [20:38:42]OFD Sender: No OFD packet to send [20:38:47]OFD Sender: No OFD packet to send [20:38:52]OFD Sender: No OFD packet to send [20:38:57]OFD Sender: No OFD packet to send [20:39:02]OFD Sender: No OFD packet to send [20:39:07]OFD Sender: No OFD packet to send [20:39:12]OFD Sender: No OFD packet to send [20:39:17]OFD Sender: No OFD packet to send [20:39:22]OFD Sender: No OFD packet to send [20:39:27]OFD Sender: No OFD packet to send [20:39:32]OFD Sender: No OFD packet to send [20:39:37]OFD Sender: No OFD packet to send [20:39:42]OFD Sender: No OFD packet to send [20:39:47]OFD Sender: No OFD packet to send [20:39:52]OFD Sender: No OFD packet to send [20:39:57]OFD Sender: No OFD packet to send [20:40:02]OFD Sender: No OFD packet to send [20:40:07]OFD Sender: No OFD packet to send [20:40:12]OFD Sender: No OFD packet to send [20:40:17]OFD Sender: No OFD packet to send [20:40:22]OFD Sender: No OFD packet to send [20:40:27]OFD Sender: No OFD packet to send [20:40:32]OFD Sender: No OFD packet to send [20:40:37]OFD Sender: No OFD packet to send [20:40:42]OFD Sender: No OFD packet to send [20:40:47]OFD Sender: No OFD packet to send [20:40:52]OFD Sender: No OFD packet to send [20:40:57]OFD Sender: No OFD packet to send [20:41:02]OFD Sender: No OFD packet to send [20:41:07]OFD Sender: No OFD packet to send [20:41:12]OFD Sender: No OFD packet to send [20:41:17]OFD Sender: No OFD packet to send [20:41:22]OFD Sender: No OFD packet to send [20:41:27]OFD Sender: No OFD packet to send [20:41:32]OFD Sender: No OFD packet to send [20:41:37]OFD Sender: No OFD packet to send [20:41:42]OFD Sender: No OFD packet to send [20:41:47]OFD Sender: No OFD packet to send [20:41:52]OFD Sender: No OFD packet to send [20:41:57]OFD Sender: No OFD packet to send [20:42:02]OFD Sender: No OFD packet to send [20:42:07]OFD Sender: No OFD packet to send [20:42:12]OFD Sender: No OFD packet to send [20:42:17]OFD Sender: No OFD packet to send [20:42:22]OFD Sender: No OFD packet to send [20:42:27]OFD Sender: No OFD packet to send [20:42:32]OFD Sender: No OFD packet to send [20:42:37]OFD Sender: No OFD packet to send [20:42:42]OFD Sender: No OFD packet to send [20:42:47]OFD Sender: No OFD packet to send [20:42:52]OFD Sender: No OFD packet to send [20:42:57]OFD Sender: No OFD packet to send [20:43:02]OFD Sender: No OFD packet to send [20:43:07]OFD Sender: No OFD packet to send [20:43:12]OFD Sender: No OFD packet to send [20:43:17]OFD Sender: No OFD packet to send [20:43:22]OFD Sender: No OFD packet to send [20:43:27]OFD Sender: No OFD packet to send [20:43:32]OFD Sender: No OFD packet to send [20:43:37]OFD Sender: No OFD packet to send [20:43:42]OFD Sender: No OFD packet to send [20:43:47]OFD Sender: No OFD packet to send [20:43:52]OFD Sender: No OFD packet to send [20:43:57]OFD Sender: No OFD packet to send [20:44:02]OFD Sender: No OFD packet to send [20:44:07]OFD Sender: No OFD packet to send [20:44:12]OFD Sender: No OFD packet to send [20:44:17]OFD Sender: No OFD packet to send [20:44:22]OFD Sender: No OFD packet to send [20:44:27]OFD Sender: No OFD packet to send [20:44:32]OFD Sender: No OFD packet to send [20:44:37]OFD Sender: No OFD packet to send [20:44:42]OFD Sender: No OFD packet to send [20:44:47]OFD Sender: No OFD packet to send [20:44:52]OFD Sender: No OFD packet to send [20:44:57]OFD Sender: No OFD packet to send [20:45:02]OFD Sender: No OFD packet to send [20:45:07]OFD Sender: No OFD packet to send [20:45:12]OFD Sender: No OFD packet to send [20:45:18]OFD Sender: No OFD packet to send [20:45:23]OFD Sender: No OFD packet to send [20:45:28]OFD Sender: No OFD packet to send [20:45:33]OFD Sender: No OFD packet to send [20:45:38]OFD Sender: No OFD packet to send [20:45:43]OFD Sender: No OFD packet to send [20:45:48]OFD Sender: No OFD packet to send [20:45:53]OFD Sender: No OFD packet to send [20:45:58]OFD Sender: No OFD packet to send [20:46:03]OFD Sender: No OFD packet to send [20:46:08]OFD Sender: No OFD packet to send [20:46:13]OFD Sender: No OFD packet to send [20:46:18]OFD Sender: No OFD packet to send [20:46:23]OFD Sender: No OFD packet to send [20:46:28]OFD Sender: No OFD packet to send [20:46:33]OFD Sender: No OFD packet to send [20:46:38]OFD Sender: No OFD packet to send [20:46:43]OFD Sender: No OFD packet to send [20:46:48]OFD Sender: No OFD packet to send [20:46:53]OFD Sender: No OFD packet to send [20:46:58]OFD Sender: No OFD packet to send [20:47:03]OFD Sender: No OFD packet to send [20:47:08]OFD Sender: No OFD packet to send [20:47:13]OFD Sender: No OFD packet to send [20:47:18]OFD Sender: No OFD packet to send [20:47:23]OFD Sender: No OFD packet to send [20:47:28]OFD Sender: No OFD packet to send [20:47:33]OFD Sender: No OFD packet to send [20:47:38]OFD Sender: No OFD packet to send [20:47:43]OFD Sender: No OFD packet to send [20:47:48]OFD Sender: No OFD packet to send [20:47:53]OFD Sender: No OFD packet to send [20:47:58]OFD Sender: No OFD packet to send [20:48:03]OFD Sender: No OFD packet to send [20:48:08]OFD Sender: No OFD packet to send [20:48:13]OFD Sender: No OFD packet to send [20:48:18]OFD Sender: No OFD packet to send [20:48:23]OFD Sender: No OFD packet to send [20:48:28]OFD Sender: No OFD packet to send [20:48:33]OFD Sender: No OFD packet to send [20:48:38]OFD Sender: No OFD packet to send [20:48:43]OFD Sender: No OFD packet to send [20:48:48]OFD Sender: No OFD packet to send [20:48:53]OFD Sender: No OFD packet to send [20:48:58]OFD Sender: No OFD packet to send [20:49:03]OFD Sender: No OFD packet to send [20:49:08]OFD Sender: No OFD packet to send [20:49:13]OFD Sender: No OFD packet to send [20:49:18]OFD Sender: No OFD packet to send [20:49:23]OFD Sender: No OFD packet to send [20:49:28]OFD Sender: No OFD packet to send [20:49:33]OFD Sender: No OFD packet to send [20:49:38]OFD Sender: No OFD packet to send [20:49:43]OFD Sender: No OFD packet to send [20:49:48]OFD Sender: No OFD packet to send [20:49:53]OFD Sender: No OFD packet to send [20:49:58]OFD Sender: No OFD packet to send [20:50:03]OFD Sender: No OFD packet to send [20:50:08]OFD Sender: No OFD packet to send [20:50:13]OFD Sender: No OFD packet to send [20:50:18]OFD Sender: No OFD packet to send [20:50:23]OFD Sender: No OFD packet to send [20:50:28]OFD Sender: No OFD packet to send [20:50:33]OFD Sender: No OFD packet to send [20:50:38]OFD Sender: No OFD packet to send [20:50:43]OFD Sender: No OFD packet to send [20:50:48]OFD Sender: No OFD packet to send [20:50:53]OFD Sender: No OFD packet to send [20:50:58]OFD Sender: No OFD packet to send [20:51:03]OFD Sender: No OFD packet to send [20:51:08]OFD Sender: No OFD packet to send [20:51:13]OFD Sender: No OFD packet to send [20:51:18]OFD Sender: No OFD packet to send [20:51:23]OFD Sender: No OFD packet to send [20:51:28]OFD Sender: No OFD packet to send [20:51:33]OFD Sender: No OFD packet to send [20:51:38]OFD Sender: No OFD packet to send [20:51:43]OFD Sender: No OFD packet to send [20:51:48]OFD Sender: No OFD packet to send [20:51:50]accept exits with 9 [20:51:50]New connection [20:51:50]New thread 3066604900 created [20:51:50]Thread 3066461540 joined [20:51:50]Waiting for new connection... [20:51:50] Sock 9.Parse request [20:51:50]Sock 9.Check first char [20:51:50]Sock 9.First char is OK [20:51:50]request: POST /json_proto HTTP/1.0 [20:51:50]Method: POST [20:51:50]URL: /json_proto [20:51:50]Method is POST - this is cgi request [20:51:50]url: /json_proto [20:51:50]query_string will be loaded in cgi processing [20:51:50]execute_cgi json_proto POST (null) [20:51:50]execute_cgi path=json_proto method=POST [20:51:50]POST find Content-Length [20:51:50]Host: 172.17.35.196:8080 [20:51:50]Content-Length: 616 [20:51:50]Content-Type: application/json [20:51:50] [20:51:50]POST finish read [20:51:50]Found Content-Length = 616 [20:51:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169188", "tax_sys" : 0, "items" : [ { "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:51:50]execute_script... [20:51:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169188", "tax_sys" : 0, "items" : [ { "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:51:50]POST & json_proto [20:51:50]process_json_proto [20:51:50]json parsed OK: [20:51:50]protocol is kg_v1.0 [20:51:50]action value=close_receipt [20:51:50]process_action close_receipt [20:51:50]cmd_close_receipt [20:51:50]MH_GetDate [20:51:50]Write to MH i2c: F0 00 00 5B 0F 59 [20:51:50]Write i2c OK [20:51:50]MH_I2C_Read... [20:51:50]Read from MH i2c: F0 [20:51:50]MH_I2C_Read... [20:51:50]Read from MH i2c: F0 09 00 [20:51:50]MH_I2C_Read... [20:51:50]Read from MH i2c: F0 09 00 5B 0F 00 68 97 91 66 AD 14 F4 65 72 [20:51:50]GetLastDocTimeStamp 1720814375 [20:51:50]current date 1720817512 [20:51:50]FM_GetShiftState [20:51:50]SAM_PROTO_GetShiftState [20:51:50]wFMCommunicate request_size=4 [20:51:50]MH_SAM_APDU [20:51:50]CAPDU: 80 13 01 00 [20:51:50]Write to MH i2c: E2 08 00 5C 0F 80 13 01 00 00 00 00 00 E8 [20:51:50]Write i2c OK [20:51:50]MH_I2C_Read... [20:51:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:51:50]Read from MH i2c: E2 [20:51:50]MH_I2C_Read... [20:51:50]Read from MH i2c: E2 0E 00 [20:51:50]MH_I2C_Read... [20:51:50]Read from MH i2c: E2 0E 00 5C 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 75 [20:51:50]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [20:51:50]wFMCommunicate OK [20:51:50]SAM_PROTO_GetShiftState done [20:51:50]FM_GetShiftState done [20:51:50]opened in 1720742935 [20:51:50]opened+sec_in_day 1720829335 [20:51:50]quantity*price = 17500 [20:51:50]sum+1 = 17501 [20:51:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.55 НДС 12% : 18.58 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 54 12.07.2024 20:51 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33376 ФПД: 173588206950808 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T205152&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33376&fm=173588206950808&tin=02508201610067®Number=0000000000093033&sum=17500 0 [20:51:51]StoreToDocumentArchive [20:51:51]shift 433 fd 33376 [20:51:51]save to /storage/0433/doc_00033376 [20:51:51]save last doc name /storage/0433/doc_00033376 to /storage/kkm_last_doc_name [20:51:51]save OK [20:51:51]Clear old archive folders... [20:51:51]ProcessDocumentItem done err = 0, tmpTLVsize=268 [20:51:51]tlvbuf is 00A3DDE0 [20:51:51]SAM_PROTO_ClearQueue [20:51:51]wFMCommunicate request_size=4 [20:51:51]MH_SAM_APDU [20:51:51]CAPDU: 80 09 00 00 [20:51:51]Write to MH i2c: E2 08 00 69 0F 80 09 00 00 00 00 00 00 EA [20:51:51]Write i2c OK [20:51:51]MH_I2C_Read... [20:51:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:51:51]Read from MH i2c: E2 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 03 00 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 03 00 69 0F 00 90 00 EC [20:51:51]RAPDU: 90 00 [20:51:51]wFMCommunicate OK [20:51:51]SAM_PROTO_ClearQueue done [20:51:51]KKMCreateOFDPacket [20:51:51]OFDProtocolAddRootSTLVToBuf [20:51:51]FM_MakeSignedData [20:51:51]FM_MakeSignedData [20:51:51]SAM_PROTO_SignData [20:51:51]wFMCommunicate request_size=4 [20:51:51]MH_SAM_APDU [20:51:51]CAPDU: 80 0D 01 02 [20:51:51]Write to MH i2c: E2 08 00 6A 0F 80 0D 01 02 00 00 00 00 F2 [20:51:51]Write i2c OK [20:51:51]MH_I2C_Read... [20:51:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:51:51]Read from MH i2c: E2 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 03 00 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 03 00 6A 0F 00 90 00 ED [20:51:51]RAPDU: 90 00 [20:51:51]wFMCommunicate OK [20:51:51]wFMCommunicate request_size=255 [20:51:51]MH_SAM_APDU [20:51:51]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 36 00 00 00 F4 03 04 00 68 97 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [20:51:51]Write to MH i2c: E2 02 01 6B 0F 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 36 00 00 00 F4 03 04 00 68 97 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 33 [20:51:51]Write i2c OK [20:51:51]MH_I2C_Read... [20:51:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:51:51]Read from MH i2c: E2 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 03 00 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 03 00 6B 0F 00 90 00 EE [20:51:51]RAPDU: 90 00 [20:51:51]wFMCommunicate OK [20:51:51]wFMCommunicate request_size=27 [20:51:51]MH_SAM_APDU [20:51:51]CAPDU: 80 0D 02 02 16 35 31 30 34 10 04 04 00 60 82 00 00 35 04 06 00 9D E0 A7 69 99 98 [20:51:51]Write to MH i2c: E2 1E 00 6C 0F 80 0D 02 02 16 00 35 31 30 34 10 04 04 00 60 82 00 00 35 04 06 00 9D E0 A7 69 99 98 00 00 E2 [20:51:51]Write i2c OK [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 [20:51:51]MH_I2C_Read... [20:51:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:51:51]Read from MH i2c: E2 03 00 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 03 00 6C 0F 00 90 00 EF [20:51:51]RAPDU: 90 00 [20:51:51]wFMCommunicate OK [20:51:51]wFMCommunicate request_size=4 [20:51:51]MH_SAM_APDU [20:51:51]CAPDU: 80 0D 03 02 [20:51:51]Write to MH i2c: E2 08 00 6D 0F 80 0D 03 02 00 00 00 00 F7 [20:51:51]Write i2c OK [20:51:51]MH_I2C_Read... [20:51:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:51:51]Read from MH i2c: E2 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 0B 00 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 0B 00 6D 0F 00 BD 1F CF C3 EA 61 DE 52 90 00 E1 [20:51:51]RAPDU: BD 1F CF C3 EA 61 DE 52 90 00 [20:51:51]wFMCommunicate OK [20:51:51]SAM_PROTO_SignData done [20:51:51]FM_MakeSignedData done [20:51:51]CreateOFDProtocolMessage [20:51:51]wFMCommunicate request_size=4 [20:51:51]MH_SAM_APDU [20:51:51]CAPDU: 80 11 00 00 [20:51:51]Write to MH i2c: E2 08 00 6E 0F 80 11 00 00 00 00 00 00 F7 [20:51:51]Write i2c OK [20:51:51]MH_I2C_Read... [20:51:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:51:51]Read from MH i2c: E2 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 17 00 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: E2 17 00 6E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 43 [20:51:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:51:51]wFMCommunicate OK [20:51:51]CreateOFDProtocolMessage done [20:51:51]OFDSenderStorePacket 33376 [20:51:51]StoreOFDPacket docnum=33376 [20:51:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 20 01 00 00 0C D3 18 01 DC 08 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 36 00 00 00 F4 03 04 00 68 97 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 60 82 00 00 35 04 06 00 9D E0 A7 69 99 98 BD 1F CF C3 EA 61 DE 52 [20:51:51]CheckFolder [20:51:51]dirname=/storage/ofd_packets [20:51:51]CheckFolder done [20:51:51]ProducePacketName [20:51:51]name=ofd_packets/00033376 [20:51:51]NVStorageSaveData ofd_packets/00033376 [20:51:51]File name is /storage/ofd_packets/00033376 [20:51:51]Write 318 bytes [20:51:51]NVStorageSaveData done [20:51:51]OFDSenderStorePacket done [20:51:51]KKMCreateOFDPacket done [20:51:51]NVStorageSaveData kkm_last_timestamp [20:51:51]File name is /storage/kkm_last_timestamp [20:51:51]Write 4 bytes [20:51:51]NVStorageSaveData done [20:51:51]ExternCall_PrintAddStr [20:51:51]wPrintStart [20:51:51]Write to MH i2c: 01 00 00 6F 0F 7E [20:51:51]Write i2c OK [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: 01 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: 01 07 00 [20:51:51]MH_I2C_Read... [20:51:51]Read from MH i2c: 01 07 00 6F 0F 00 00 00 00 00 FF 0F 93 [20:51:51]RasterBufferAndPrint [20:51:51]line Счет N : (3)169188 [20:51:51]line ИНН: 02508201610067 [20:51:51]line Контрольно-Кассовый Чек [20:51:51]line ПРОДАЖА [20:51:51]line Товар: 4870002329487 [20:51:51]line Напиток Pepsi 1,5л [20:51:51]line 1.000 * 175.00 [20:51:51]line = 175.00 [20:51:51]line НДС 12% НСП 1% [20:51:51]line > о реализуемом товаре [20:51:51]line ИТОГО: 175.00 [20:51:51]line НСП 1% : 1.55 [20:51:51]line НДС 12% : 18.58 [20:51:51]line Наличными: 175.00 [20:51:51]line Безнал.: 0.00 [20:51:51]line Место: АЗС № 77 "Партнер Нефть" [20:51:51]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [20:51:51]line СНО: Общий режим [20:51:51]line Чек 54 12.07.2024 20:51 [20:51:51]line Смена: 433 ФФД: 1.0 [20:51:51]line ЗНМ: 0300000122 [20:51:51]line РНМ: 0000000000093033 [20:51:51]line Версия ККМ: 001 [20:51:51]line ФМ: 0000000000875104 [20:51:51]line ФД: 33376 [20:51:51]line ФПД: 173588206950808 [20:51:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T205152&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33376&fm=173588206950808&tin=02508201610067®Number=0000000000093033&sum=17500 [20:51:51]line 0 [20:51:51]written 0, free lines is 4095 [20:51:51]OFD Sender: Processing packet 33376 [packets to send 6, broken 5] [20:51:51]ProducePacketName [20:51:51]name=ofd_packets/00033376 [20:51:51]OFD Sender: To server: pG, [20:51:51]CommunicateWithHost lk.salyk.kg:30040 [20:51:51]ConnectInit lk.salyk.kg [20:51:51]Connected sock=10 [20:51:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 20 01 00 00 0C D3 18 01 DC 08 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 36 00 00 00 F4 03 04 00 68 97 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 60 82 00 00 35 04 06 00 9D E0 A7 69 99 98 BD 1F CF C3 EA 61 DE 52 [20:51:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 D6 16 47 00 67 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 60 82 00 00 F4 03 04 00 14 42 91 66 B6 04 01 00 00 82 96 8C 16 B9 7A 5D B6 [20:51:52]CommunicateWithHost err = 0 [20:51:52]CheckOFDResponse [20:51:52]1017 (14) - 77093643461234 [20:51:52]1041 (16) - 0000000000875104 [20:51:52]1040 (4) - 33376 [20:51:52]1012 (4) - 12.07.2024 14:47 [20:51:52]1206 (1) - 0 [20:51:52]OFD Sender: Remove packet 33376 [20:51:52]ProducePacketName [20:51:52]name=ofd_packets/00033376 [20:51:52]NVStorageDeleteData [20:51:52]Write to MH i2c: 01 00 00 97 0F A6 [20:51:52]Write i2c OK [20:51:52]MH_I2C_Read... [20:51:52]Read from MH i2c: 01 [20:51:52]MH_I2C_Read... [20:51:52]Read from MH i2c: 01 07 00 [20:51:52]MH_I2C_Read... [20:51:52]Read from MH i2c: 01 07 00 97 0F 00 00 00 00 00 09 0D C3 [20:51:52]RasterBufferAndPrint [20:51:52]line [20:51:52]line [20:51:52]line [20:51:52]line [20:51:52]line [20:51:52]written 0, free lines is 3346 [20:51:52]MH_Cut [20:51:52]Write to MH i2c: D1 01 00 9E 0F 01 7F [20:51:52]Write i2c OK [20:51:52]MH_I2C_Read... [20:51:52]Read from MH i2c: D1 [20:51:52]MH_I2C_Read... [20:51:52]Read from MH i2c: D1 01 00 [20:51:52]MH_I2C_Read... [20:51:52]Read from MH i2c: D1 01 00 9E 0F 00 7E [20:51:52]Write to MH i2c: 01 00 00 9F 0F AE [20:51:52]Write i2c OK [20:51:52]MH_I2C_Read... [20:51:52]OFD Sender: No OFD packet to send [20:51:52]*** Cut start [20:51:52]*** Partial cut [20:51:52]*** CUTSNS_PIN = 1 [20:51:53]*** CUTSNS_PIN = 0 [20:51:53]*** Brake cut motor [20:51:53]Read from MH i2c: 01 [20:51:53]MH_I2C_Read... [20:51:53]*** Stop cut motor [20:51:53]*** Cut end [20:51:53]Read from MH i2c: 01 07 00 [20:51:53]MH_I2C_Read... [20:51:53]Read from MH i2c: 01 07 00 9F 0F 00 00 00 00 00 FF 0F C3 [20:51:53]process_action close_receipt done [20:51:53]requested_data is exist [20:51:53]produce_requested_data [20:51:53]requested_item fm.sn is exist - process it [20:51:53]wFMCommunicate request_size=4 [20:51:53]MH_SAM_APDU [20:51:53]CAPDU: 80 11 00 00 [20:51:53]Write to MH i2c: E2 08 00 A0 0F 80 11 00 00 00 00 00 00 29 [20:51:53]Write i2c OK [20:51:53]MH_I2C_Read... [20:51:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:51:53]Read from MH i2c: E2 [20:51:53]MH_I2C_Read... [20:51:53]Read from MH i2c: E2 17 00 [20:51:53]MH_I2C_Read... [20:51:53]Read from MH i2c: E2 17 00 A0 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 75 [20:51:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [20:51:53]wFMCommunicate OK [20:51:53]requested_item fd.num is exist - process it [20:51:53]SAM_PROTO_GetFieldsCounters [20:51:53]wFMCommunicate request_size=4 [20:51:53]MH_SAM_APDU [20:51:53]CAPDU: 80 13 00 00 [20:51:53]Write to MH i2c: E2 08 00 A1 0F 80 13 00 00 00 00 00 00 2C [20:51:53]Write i2c OK [20:51:53]MH_I2C_Read... [20:51:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:51:53]Read from MH i2c: E2 [20:51:53]MH_I2C_Read... [20:51:53]Read from MH i2c: E2 62 00 [20:51:53]MH_I2C_Read... [20:51:53]Read from MH i2c: E2 62 00 A1 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 60 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [20:51:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 60 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:51:53]wFMCommunicate OK [20:51:53]SAM_PROTO_GetFieldsCounters done [20:51:53]requested_item shift.num is exist - process it [20:51:53]requested_item shift.opened is exist - process it [20:51:53]req_shift_opened [20:51:53]FM_GetShiftState [20:51:53]SAM_PROTO_GetShiftState [20:51:53]wFMCommunicate request_size=4 [20:51:53]MH_SAM_APDU [20:51:53]CAPDU: 80 13 01 00 [20:51:53]Write to MH i2c: E2 08 00 A2 0F 80 13 01 00 00 00 00 00 2E [20:51:53]Write i2c OK [20:51:53]MH_I2C_Read... [20:51:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:51:53]Read from MH i2c: E2 [20:51:53]MH_I2C_Read... [20:51:53]Read from MH i2c: E2 0E 00 [20:51:53]MH_I2C_Read... [20:51:53]Read from MH i2c: E2 0E 00 A2 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 BB [20:51:53]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [20:51:53]wFMCommunicate OK [20:51:53]SAM_PROTO_GetShiftState done [20:51:53]FM_GetShiftState done [20:51:53]req_shift_opened done [20:51:53]requested_item shift.open_date is exist - process it [20:51:53]req_shift_open_date [20:51:53]req_shift_open_date done [20:51:53]produce_requested_data done [20:51:53]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33376,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [20:51:53]process_action_free close_receipt [20:51:53]json_value_free [20:51:53]json_value_free done [20:51:53]process_json_proto returns [20:51:53]Send response to host [20:51:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33376,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [20:51:53]free response buf [20:51:53]execute_script done [20:51:53]execute_script returns [20:51:53]free content buf [20:51:53]Sock 9.Close socket [20:51:53]Sock 9.Thread stoped [20:51:57]OFD Sender: No OFD packet to send [20:52:02]OFD Sender: No OFD packet to send [20:52:07]OFD Sender: No OFD packet to send [20:52:12]OFD Sender: No OFD packet to send [20:52:17]OFD Sender: No OFD packet to send [20:52:22]OFD Sender: No OFD packet to send [20:52:27]OFD Sender: No OFD packet to send [20:52:32]OFD Sender: No OFD packet to send [20:52:37]OFD Sender: No OFD packet to send [20:52:42]OFD Sender: No OFD packet to send [20:52:47]OFD Sender: No OFD packet to send [20:52:52]OFD Sender: No OFD packet to send [20:52:57]OFD Sender: No OFD packet to send [20:53:02]OFD Sender: No OFD packet to send [20:53:07]OFD Sender: No OFD packet to send [20:53:12]OFD Sender: No OFD packet to send [20:53:17]OFD Sender: No OFD packet to send [20:53:22]OFD Sender: No OFD packet to send [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:18]OFD Sender: No OFD packet to send [20:59:23]OFD Sender: No OFD packet to send [20:59:28]OFD Sender: No OFD packet to send [20:59:33]OFD Sender: No OFD packet to send [20:59:38]OFD Sender: No OFD packet to send [20:59:43]OFD Sender: No OFD packet to send [20:59:48]OFD Sender: No OFD packet to send [20:59:53]OFD Sender: No OFD packet to send [20:59:58]OFD Sender: No OFD packet to send [21:00:03]OFD Sender: No OFD packet to send [21:00:08]OFD Sender: No OFD packet to send [21:00:13]OFD Sender: No OFD packet to send [21:00:18]OFD Sender: No OFD packet to send [21:00:23]OFD Sender: No OFD packet to send [21:00:28]OFD Sender: No OFD packet to send [21:00:33]OFD Sender: No OFD packet to send [21:00:38]OFD Sender: No OFD packet to send [21:00:43]OFD Sender: No OFD packet to send [21:00:48]OFD Sender: No OFD packet to send [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:48]OFD Sender: No OFD packet to send [21:02:53]OFD Sender: No OFD packet to send [21:02:58]OFD Sender: No OFD packet to send [21:03:03]OFD Sender: No OFD packet to send [21:03:08]OFD Sender: No OFD packet to send [21:03:13]OFD Sender: No OFD packet to send [21:03:18]OFD Sender: No OFD packet to send [21:03:23]OFD Sender: No OFD packet to send [21:03:28]OFD Sender: No OFD packet to send [21:03:33]OFD Sender: No OFD packet to send [21:03:38]OFD Sender: No OFD packet to send [21:03:43]OFD Sender: No OFD packet to send [21:03:48]OFD Sender: No OFD packet to send [21:03:53]OFD Sender: No OFD packet to send [21:03:58]OFD Sender: No OFD packet to send [21:04:03]OFD Sender: No OFD packet to send [21:04:08]OFD Sender: No OFD packet to send [21:04:13]OFD Sender: No OFD packet to send [21:04:18]OFD Sender: No OFD packet to send [21:04:23]OFD Sender: No OFD packet to send [21:04:28]OFD Sender: No OFD packet to send [21:04:33]OFD Sender: No OFD packet to send [21:04:38]OFD Sender: No OFD packet to send [21:04:43]OFD Sender: No OFD packet to send [21:04:48]OFD Sender: No OFD packet to send [21:04:53]OFD Sender: No OFD packet to send [21:04:58]OFD Sender: No OFD packet to send [21:05:03]OFD Sender: No OFD packet to send [21:05:08]OFD Sender: No OFD packet to send [21:05:13]OFD Sender: No OFD packet to send [21:05:18]OFD Sender: No OFD packet to send [21:05:23]OFD Sender: No OFD packet to send [21:05:28]OFD Sender: No OFD packet to send [21:05:33]OFD Sender: No OFD packet to send [21:05:38]OFD Sender: No OFD packet to send [21:05:43]OFD Sender: No OFD packet to send [21:05:48]OFD Sender: No OFD packet to send [21:05:53]OFD Sender: No OFD packet to send [21:05:58]OFD Sender: No OFD packet to send [21:06:03]OFD Sender: No OFD packet to send [21:06:08]OFD Sender: No OFD packet to send [21:06:13]OFD Sender: No OFD packet to send [21:06:18]OFD Sender: No OFD packet to send [21:06:23]OFD Sender: No OFD packet to send [21:06:28]OFD Sender: No OFD packet to send [21:06:33]OFD Sender: No OFD packet to send [21:06:38]OFD Sender: No OFD packet to send [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:13]OFD Sender: No OFD packet to send [21:07:18]OFD Sender: No OFD packet to send [21:07:23]OFD Sender: No OFD packet to send [21:07:28]OFD Sender: No OFD packet to send [21:07:33]OFD Sender: No OFD packet to send [21:07:38]OFD Sender: No OFD packet to send [21:07:43]OFD Sender: No OFD packet to send [21:07:48]OFD Sender: No OFD packet to send [21:07:53]OFD Sender: No OFD packet to send [21:07:58]OFD Sender: No OFD packet to send [21:08:03]OFD Sender: No OFD packet to send [21:08:08]OFD Sender: No OFD packet to send [21:08:13]OFD Sender: No OFD packet to send [21:08:18]OFD Sender: No OFD packet to send [21:08:23]OFD Sender: No OFD packet to send [21:08:28]OFD Sender: No OFD packet to send [21:08:33]OFD Sender: No OFD packet to send [21:08:38]OFD Sender: No OFD packet to send [21:08:43]OFD Sender: No OFD packet to send [21:08:48]OFD Sender: No OFD packet to send [21:08:53]OFD Sender: No OFD packet to send [21:08:58]OFD Sender: No OFD packet to send [21:09:03]OFD Sender: No OFD packet to send [21:09:08]OFD Sender: No OFD packet to send [21:09:13]OFD Sender: No OFD packet to send [21:09:18]OFD Sender: No OFD packet to send [21:09:23]OFD Sender: No OFD packet to send [21:09:28]OFD Sender: No OFD packet to send [21:09:33]OFD Sender: No OFD packet to send [21:09:38]OFD Sender: No OFD packet to send [21:09:43]OFD Sender: No OFD packet to send [21:09:48]OFD Sender: No OFD packet to send [21:09:53]OFD Sender: No OFD packet to send [21:09:58]OFD Sender: No OFD packet to send [21:10:03]OFD Sender: No OFD packet to send [21:10:08]OFD Sender: No OFD packet to send [21:10:13]OFD Sender: No OFD packet to send [21:10:18]OFD Sender: No OFD packet to send [21:10:23]OFD Sender: No OFD packet to send [21:10:28]OFD Sender: No OFD packet to send [21:10:33]OFD Sender: No OFD packet to send [21:10:38]OFD Sender: No OFD packet to send [21:10:43]OFD Sender: No OFD packet to send [21:10:48]OFD Sender: No OFD packet to send [21:10:53]OFD Sender: No OFD packet to send [21:10:58]OFD Sender: No OFD packet to send [21:11:03]OFD Sender: No OFD packet to send [21:11:08]OFD Sender: No OFD packet to send [21:11:13]OFD Sender: No OFD packet to send [21:11:18]OFD Sender: No OFD packet to send [21:11:23]OFD Sender: No OFD packet to send [21:11:28]OFD Sender: No OFD packet to send [21:11:33]OFD Sender: No OFD packet to send [21:11:38]OFD Sender: No OFD packet to send [21:11:43]OFD Sender: No OFD packet to send [21:11:48]OFD Sender: No OFD packet to send [21:11:53]OFD Sender: No OFD packet to send [21:11:58]OFD Sender: No OFD packet to send [21:12:03]OFD Sender: No OFD packet to send [21:12:08]OFD Sender: No OFD packet to send [21:12:13]OFD Sender: No OFD packet to send [21:12:18]OFD Sender: No OFD packet to send [21:12:23]OFD Sender: No OFD packet to send [21:12:28]OFD Sender: No OFD packet to send [21:12:33]OFD Sender: No OFD packet to send [21:12:38]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:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:25:16]ConnectInit Can't connect to host [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:58]accept exits with 7 [21:25:58]New connection [21:25:58]New thread 3066461540 created [21:25:58]Thread 3066604900 joined [21:25:58]Waiting for new connection... [21:25:58] Sock 7.Parse request [21:25:58]Sock 7.Check first char [21:25:58]Sock 7.First char is OK [21:25:58]request: POST /json_proto HTTP/1.0 [21:25:58]Method: POST [21:25:58]URL: /json_proto [21:25:58]Method is POST - this is cgi request [21:25:58]url: /json_proto [21:25:58]query_string will be loaded in cgi processing [21:25:58]execute_cgi json_proto POST (null) [21:25:58]execute_cgi path=json_proto method=POST [21:25:58]POST find Content-Length [21:25:58]Host: 172.17.35.196:8080 [21:25:58]Content-Length: 215 [21:25:58]Content-Type: application/json [21:25:58] [21:25:58]POST finish read [21:25:58]Found Content-Length = 215 [21:25:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:25:58]execute_script... [21:25:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:25:58]POST & json_proto [21:25:58]process_json_proto [21:25:58]json parsed OK: [21:25:58]protocol is kg_v1.0 [21:25:58]action value=get_value [21:25:58]process_action get_value [21:25:58]cmd_get_value [21:25:58]process_action get_value done [21:25:58]requested_data is exist [21:25:58]produce_requested_data [21:25:58]requested_item kkm.sn is exist - process it [21:25:58]requested_item kkm.ver is exist - process it [21:25:58]requested_item fm.sn is exist - process it [21:25:58]wFMCommunicate request_size=4 [21:25:58]MH_SAM_APDU [21:25:58]CAPDU: 80 11 00 00 [21:25:58]Write to MH i2c: E2 08 00 A3 0F 80 11 00 00 00 00 00 00 2C [21:25:58]Write i2c OK [21:25:58]MH_I2C_Read... [21:25:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:25:58]Read from MH i2c: E2 [21:25:58]MH_I2C_Read... [21:25:58]Read from MH i2c: E2 17 00 [21:25:58]MH_I2C_Read... [21:25:58]Read from MH i2c: E2 17 00 A3 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 78 [21:25:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:25:58]wFMCommunicate OK [21:25:58]requested_item fd.num is exist - process it [21:25:58]SAM_PROTO_GetFieldsCounters [21:25:58]wFMCommunicate request_size=4 [21:25:58]MH_SAM_APDU [21:25:58]CAPDU: 80 13 00 00 [21:25:58]Write to MH i2c: E2 08 00 A4 0F 80 13 00 00 00 00 00 00 2F [21:25:58]Write i2c OK [21:25:58]MH_I2C_Read... [21:25:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:25:58]Read from MH i2c: E2 [21:25:58]MH_I2C_Read... [21:25:58]Read from MH i2c: E2 62 00 [21:25:58]MH_I2C_Read... [21:25:58]Read from MH i2c: E2 62 00 A4 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 60 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 78 [21:25:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 60 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:25:58]wFMCommunicate OK [21:25:58]SAM_PROTO_GetFieldsCounters done [21:25:58]requested_item shift.num is exist - process it [21:25:58]requested_item shift.opened is exist - process it [21:25:58]req_shift_opened [21:25:58]FM_GetShiftState [21:25:58]SAM_PROTO_GetShiftState [21:25:58]wFMCommunicate request_size=4 [21:25:58]MH_SAM_APDU [21:25:58]CAPDU: 80 13 01 00 [21:25:58]Write to MH i2c: E2 08 00 A5 0F 80 13 01 00 00 00 00 00 31 [21:25:58]Write i2c OK [21:25:58]MH_I2C_Read... [21:25:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:25:58]Read from MH i2c: E2 [21:25:58]MH_I2C_Read... [21:25:58]Read from MH i2c: E2 0E 00 [21:25:58]MH_I2C_Read... [21:25:58]Read from MH i2c: E2 0E 00 A5 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 BE [21:25:58]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [21:25:58]wFMCommunicate OK [21:25:58]SAM_PROTO_GetShiftState done [21:25:58]FM_GetShiftState done [21:25:58]req_shift_opened done [21:25:58]requested_item shift.open_date is exist - process it [21:25:58]req_shift_open_date [21:25:58]req_shift_open_date done [21:25:58]produce_requested_data done [21:25:58]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33376,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [21:25:58]process_action_free get_value [21:25:58]json_value_free [21:25:58]json_value_free done [21:25:58]process_json_proto returns [21:25:58]Send response to host [21:25:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33376,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [21:25:58]free response buf [21:25:58]execute_script done [21:25:58]execute_script returns [21:25:58]free content buf [21:25:58]Sock 7.Close socket [21:25:58]Sock 7.Thread stoped [21:25:59]OFD Sender: No OFD packet to send [21:26:01]accept exits with 9 [21:26:01]New connection [21:26:01]New thread 3066604900 created [21:26:01]Thread 3066461540 joined [21:26:01]Waiting for new connection... [21:26:01] Sock 9.Parse request [21:26:01]Sock 9.Check first char [21:26:01]Sock 9.First char is OK [21:26:01]request: POST /json_proto HTTP/1.0 [21:26:01]Method: POST [21:26:01]URL: /json_proto [21:26:01]Method is POST - this is cgi request [21:26:01]url: /json_proto [21:26:01]query_string will be loaded in cgi processing [21:26:01]execute_cgi json_proto POST (null) [21:26:01]execute_cgi path=json_proto method=POST [21:26:01]POST find Content-Length [21:26:01]Host: 172.17.35.196:8080 [21:26:01]Content-Length: 331 [21:26:01]Content-Type: application/json [21:26:01] [21:26:01]POST finish read [21:26:01]Found Content-Length = 331 [21:26:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [21:26:01]execute_script... [21:26:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [21:26:01]POST & json_proto [21:26:01]process_json_proto [21:26:01]json parsed OK: [21:26:01]protocol is kg_v1.0 [21:26:01]action value=get_value [21:26:01]process_action get_value [21:26:01]cmd_get_value [21:26:01]process_action get_value done [21:26:01]requested_data is exist [21:26:01]produce_requested_data [21:26:01]requested_item fm.sale.total is exist - process it [21:26:01]SAM_PROTO_GetFMData [21:26:01]wFMCommunicate request_size=4 [21:26:01]MH_SAM_APDU [21:26:01]CAPDU: 80 13 03 00 [21:26:01]Write to MH i2c: E2 08 00 A6 0F 80 13 03 00 00 00 00 00 34 [21:26:01]Write i2c OK [21:26:01]MH_I2C_Read... [21:26:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [21:26:02]Read from MH i2c: E2 [21:26:02]MH_I2C_Read... [21:26:02]Read from MH i2c: E2 FD 00 [21:26:02]MH_I2C_Read... [21:26:02]Read from MH i2c: E2 FD 00 A6 0F 00 C4 04 85 04 C0 04 6E 04 04 00 FE 7E 00 00 69 04 A0 00 6F 04 04 00 1D 7E 00 00 B1 04 04 00 3A A2 A1 3F 70 04 04 00 C8 B0 F3 34 72 04 04 00 72 F1 AD 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 CD 06 C2 06 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 9D 1F 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 96 [21:26:02]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 FE 7E 00 00 69 04 A0 00 6F 04 04 00 1D 7E 00 00 B1 04 04 00 3A A2 A1 3F 70 04 04 00 C8 B0 F3 34 72 04 04 00 72 F1 AD 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 CD 06 C2 06 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 9D 1F 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [21:26:02]wFMCommunicate OK [21:26:02]wFMCommunicate request_size=4 [21:26:02]MH_SAM_APDU [21:26:02]CAPDU: 80 17 00 00 [21:26:02]Write to MH i2c: E2 08 00 A7 0F 80 17 00 00 00 00 00 00 36 [21:26:02]Write i2c OK [21:26:02]MH_I2C_Read... [21:26:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:26:02]Read from MH i2c: E2 [21:26:02]MH_I2C_Read... [21:26:02]Read from MH i2c: E2 FD 00 [21:26:02]MH_I2C_Read... [21:26:02]Read from MH i2c: E2 FD 00 A7 0F 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 F3 [21:26:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [21:26:02]wFMCommunicate OK [21:26:02]wFMCommunicate request_size=4 [21:26:02]MH_SAM_APDU [21:26:02]CAPDU: 80 17 00 00 [21:26:02]Write to MH i2c: E2 08 00 A8 0F 80 17 00 00 00 00 00 00 37 [21:26:02]Write i2c OK [21:26:02]MH_I2C_Read... [21:26:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:26:02]Read from MH i2c: E2 [21:26:02]MH_I2C_Read... [21:26:02]Read from MH i2c: E2 FD 00 [21:26:02]MH_I2C_Read... [21:26:02]Read from MH i2c: E2 FD 00 A8 0F 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [21:26:02]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:26:02]wFMCommunicate OK [21:26:02]wFMCommunicate request_size=4 [21:26:02]MH_SAM_APDU [21:26:02]CAPDU: 80 17 00 00 [21:26:02]Write to MH i2c: E2 08 00 A9 0F 80 17 00 00 00 00 00 00 38 [21:26:02]Write i2c OK [21:26:02]MH_I2C_Read... [21:26:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:26:02]Read from MH i2c: E2 [21:26:02]MH_I2C_Read... [21:26:02]Read from MH i2c: E2 FD 00 [21:26:02]MH_I2C_Read... [21:26:02]Read from MH i2c: E2 FD 00 A9 0F 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [21:26:02]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:26:02]wFMCommunicate OK [21:26:02]wFMCommunicate request_size=4 [21:26:02]MH_SAM_APDU [21:26:02]CAPDU: 80 17 00 00 [21:26:02]Write to MH i2c: E2 08 00 AA 0F 80 17 00 00 00 00 00 00 39 [21:26:02]Write i2c OK [21:26:02]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 E1 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 E1 00 AA 0F 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 27 [21:26:03]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [21:26:03]wFMCommunicate OK [21:26:03]SAM_PROTO_GetFMData done [21:26:03]requested_item fm.sale_refund.total is exist - process it [21:26:03]requested_item fm.buy.total is exist - process it [21:26:03]requested_item shift.sale.total is exist - process it [21:26:03]SAM_PROTO_GetShiftData [21:26:03]wFMCommunicate request_size=4 [21:26:03]MH_SAM_APDU [21:26:03]CAPDU: 80 13 02 00 [21:26:03]Write to MH i2c: E2 08 00 AB 0F 80 13 02 00 00 00 00 00 38 [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 FD 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 FD 00 AB 0F 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 9A B9 18 70 04 03 00 30 2E 10 72 04 03 00 6A 8B 08 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 32 A0 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 01 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 48 [21:26:03]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 9A B9 18 70 04 03 00 30 2E 10 72 04 03 00 6A 8B 08 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 32 A0 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 01 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [21:26:03]wFMCommunicate OK [21:26:03]wFMCommunicate request_size=4 [21:26:03]MH_SAM_APDU [21:26:03]CAPDU: 80 17 00 00 [21:26:03]Write to MH i2c: E2 08 00 AC 0F 80 17 00 00 00 00 00 00 3B [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:26:03]Read from MH i2c: E2 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 FD 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: E2 FD 00 AC 0F 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 5D [21:26: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 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 [21:26:03]wFMCommunicate OK [21:26:03]wFMCommunicate request_size=4 [21:26:03]MH_SAM_APDU [21:26:03]CAPDU: 80 17 00 00 [21:26:03]Write to MH i2c: E2 08 00 AD 0F 80 17 00 00 00 00 00 00 3C [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:26:04]Read from MH i2c: E2 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: E2 FD 00 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: E2 FD 00 AD 0F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 [21:26: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 [21:26:04]wFMCommunicate OK [21:26:04]wFMCommunicate request_size=4 [21:26:04]MH_SAM_APDU [21:26:04]CAPDU: 80 17 00 00 [21:26:04]Write to MH i2c: E2 08 00 AE 0F 80 17 00 00 00 00 00 00 3D [21:26:04]Write i2c OK [21:26:04]MH_I2C_Read... [21:26:04]OFD Sender: No OFD packet to send [21:26:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:26:04]Read from MH i2c: E2 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: E2 FD 00 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: E2 FD 00 AE 0F 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 AF [21:26:04]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 [21:26:04]wFMCommunicate OK [21:26:04]wFMCommunicate request_size=4 [21:26:04]MH_SAM_APDU [21:26:04]CAPDU: 80 17 00 00 [21:26:04]Write to MH i2c: E2 08 00 AF 0F 80 17 00 00 00 00 00 00 3E [21:26:04]Write i2c OK [21:26:04]MH_I2C_Read... [21:26:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [21:26:04]Read from MH i2c: E2 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: E2 CB 00 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: E2 CB 00 AF 0F 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 27 [21:26:04]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 [21:26:04]wFMCommunicate OK [21:26:04]SAM_PROTO_GetShiftData done [21:26:04]requested_item shift.sale.total_cash is exist - process it [21:26:04]requested_item shift.sale_refund.total is exist - process it [21:26:04]requested_item shift.sale_refund.total_cash is exist - process it [21:26:04]requested_item shift.buy.total is exist - process it [21:26:04]requested_item shift.buy.total_cash is exist - process it [21:26:04]produce_requested_data done [21:26:04]produce_requested_data return {"fm.sale.total":10675574.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16203.78,"shift.sale.total_cash":10604.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} [21:26:04]process_action_free get_value [21:26:04]json_value_free [21:26:04]json_value_free done [21:26:04]process_json_proto returns [21:26:04]Send response to host [21:26:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10675574.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16203.78,"shift.sale.total_cash":10604.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}}} [21:26:04]free response buf [21:26:04]execute_script done [21:26:04]execute_script returns [21:26:04]free content buf [21:26:04]Sock 9.Close socket [21:26:04]Sock 9.Thread stoped [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:21]accept exits with 7 [21:28:21]New connection [21:28:21]New thread 3066461540 created [21:28:21]Thread 3066604900 joined [21:28:21]Waiting for new connection... [21:28:21] Sock 7.Parse request [21:28:21]Sock 7.Check first char [21:28:21]Sock 7.First char is OK [21:28:21]request: POST /json_proto HTTP/1.0 [21:28:21]Method: POST [21:28:21]URL: /json_proto [21:28:21]Method is POST - this is cgi request [21:28:21]url: /json_proto [21:28:21]query_string will be loaded in cgi processing [21:28:21]execute_cgi json_proto POST (null) [21:28:21]execute_cgi path=json_proto method=POST [21:28:21]POST find Content-Length [21:28:21]Host: 172.17.35.196:8080 [21:28:21]Content-Length: 614 [21:28:21]Content-Type: application/json [21:28:21] [21:28:21]POST finish read [21:28:21]Found Content-Length = 614 [21:28:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169189", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:28:21]execute_script... [21:28:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169189", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:28:21]POST & json_proto [21:28:21]process_json_proto [21:28:21]json parsed OK: [21:28:21]protocol is kg_v1.0 [21:28:21]action value=close_receipt [21:28:21]process_action close_receipt [21:28:21]cmd_close_receipt [21:28:21]MH_GetDate [21:28:21]Write to MH i2c: F0 00 00 B0 0F AE [21:28:21]Write i2c OK [21:28:21]MH_I2C_Read... [21:28:21]Read from MH i2c: F0 [21:28:21]MH_I2C_Read... [21:28:21]Read from MH i2c: F0 09 00 [21:28:21]MH_I2C_Read... [21:28:21]Read from MH i2c: F0 09 00 B0 0F 00 F8 9F 91 66 AD 14 F4 65 5F [21:28:21]GetLastDocTimeStamp 1720817512 [21:28:21]current date 1720819704 [21:28:21]FM_GetShiftState [21:28:21]SAM_PROTO_GetShiftState [21:28:21]wFMCommunicate request_size=4 [21:28:21]MH_SAM_APDU [21:28:21]CAPDU: 80 13 01 00 [21:28:21]Write to MH i2c: E2 08 00 B1 0F 80 13 01 00 00 00 00 00 3D [21:28:21]Write i2c OK [21:28:21]MH_I2C_Read... [21:28:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:28:21]Read from MH i2c: E2 [21:28:21]MH_I2C_Read... [21:28:21]Read from MH i2c: E2 0E 00 [21:28:21]MH_I2C_Read... [21:28:21]Read from MH i2c: E2 0E 00 B1 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 CA [21:28:21]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [21:28:21]wFMCommunicate OK [21:28:21]SAM_PROTO_GetShiftState done [21:28:21]FM_GetShiftState done [21:28:21]opened in 1720742935 [21:28:21]opened+sec_in_day 1720829335 [21:28:21]quantity*price = 11100 [21:28:21]sum+1 = 11101 [21:28:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 111.00 НСП 1% : 0.98 НДС 12% : 11.79 Наличными: 111.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 55 12.07.2024 21:28 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33377 ФПД: 110517106047174 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T212824&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33377&fm=110517106047174&tin=02508201610067®Number=0000000000093033&sum=11100 0 [21:28:22]StoreToDocumentArchive [21:28:22]shift 433 fd 33377 [21:28:22]save to /storage/0433/doc_00033377 [21:28:22]save last doc name /storage/0433/doc_00033377 to /storage/kkm_last_doc_name [21:28:22]save OK [21:28:22]Clear old archive folders... [21:28:22]ProcessDocumentItem done err = 0, tmpTLVsize=266 [21:28:22]tlvbuf is 00A46380 [21:28:22]SAM_PROTO_ClearQueue [21:28:22]wFMCommunicate request_size=4 [21:28:22]MH_SAM_APDU [21:28:22]CAPDU: 80 09 00 00 [21:28:22]Write to MH i2c: E2 08 00 BE 0F 80 09 00 00 00 00 00 00 3F [21:28:22]Write i2c OK [21:28:22]MH_I2C_Read... [21:28:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:28:22]Read from MH i2c: E2 [21:28:22]MH_I2C_Read... [21:28:22]Read from MH i2c: E2 03 00 [21:28:22]MH_I2C_Read... [21:28:22]Read from MH i2c: E2 03 00 BE 0F 00 90 00 41 [21:28:22]RAPDU: 90 00 [21:28:22]wFMCommunicate OK [21:28:22]SAM_PROTO_ClearQueue done [21:28:22]KKMCreateOFDPacket [21:28:22]OFDProtocolAddRootSTLVToBuf [21:28:22]FM_MakeSignedData [21:28:22]FM_MakeSignedData [21:28:22]SAM_PROTO_SignData [21:28:22]wFMCommunicate request_size=4 [21:28:22]MH_SAM_APDU [21:28:22]CAPDU: 80 0D 01 02 [21:28:22]Write to MH i2c: E2 08 00 BF 0F 80 0D 01 02 00 00 00 00 47 [21:28:22]Write i2c OK [21:28:22]MH_I2C_Read... [21:28:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:28:22]Read from MH i2c: E2 [21:28:22]MH_I2C_Read... [21:28:22]Read from MH i2c: E2 03 00 [21:28:22]MH_I2C_Read... [21:28:22]Read from MH i2c: E2 03 00 BF 0F 00 90 00 42 [21:28:22]RAPDU: 90 00 [21:28:22]wFMCommunicate OK [21:28:22]wFMCommunicate request_size=255 [21:28:22]MH_SAM_APDU [21:28:22]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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 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 F8 9F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 [21:28:22]Write to MH i2c: E2 02 01 C0 0F 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 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 F8 9F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 00 00 CB [21:28:22]Write i2c OK [21:28:22]MH_I2C_Read... [21:28:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:28:23]Read from MH i2c: E2 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: E2 03 00 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: E2 03 00 C0 0F 00 90 00 43 [21:28:23]RAPDU: 90 00 [21:28:23]wFMCommunicate OK [21:28:23]wFMCommunicate request_size=25 [21:28:23]MH_SAM_APDU [21:28:23]CAPDU: 80 0D 02 02 14 30 34 10 04 04 00 61 82 00 00 35 04 06 00 64 83 C4 D8 F8 C6 [21:28:23]Write to MH i2c: E2 1C 00 C1 0F 80 0D 02 02 14 00 30 34 10 04 04 00 61 82 00 00 35 04 06 00 64 83 C4 D8 F8 C6 00 00 51 [21:28:23]Write i2c OK [21:28:23]MH_I2C_Read... [21:28:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:28:23]Read from MH i2c: E2 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: E2 03 00 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: E2 03 00 C1 0F 00 90 00 44 [21:28:23]RAPDU: 90 00 [21:28:23]wFMCommunicate OK [21:28:23]wFMCommunicate request_size=4 [21:28:23]MH_SAM_APDU [21:28:23]CAPDU: 80 0D 03 02 [21:28:23]Write to MH i2c: E2 08 00 C2 0F 80 0D 03 02 00 00 00 00 4C [21:28:23]Write i2c OK [21:28:23]MH_I2C_Read... [21:28:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:28:23]Read from MH i2c: E2 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: E2 0B 00 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: E2 0B 00 C2 0F 00 A0 37 10 B0 54 89 19 77 90 00 51 [21:28:23]RAPDU: A0 37 10 B0 54 89 19 77 90 00 [21:28:23]wFMCommunicate OK [21:28:23]SAM_PROTO_SignData done [21:28:23]FM_MakeSignedData done [21:28:23]CreateOFDProtocolMessage [21:28:23]wFMCommunicate request_size=4 [21:28:23]MH_SAM_APDU [21:28:23]CAPDU: 80 11 00 00 [21:28:23]Write to MH i2c: E2 08 00 C3 0F 80 11 00 00 00 00 00 00 4C [21:28:23]Write i2c OK [21:28:23]MH_I2C_Read... [21:28:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:28:23]Read from MH i2c: E2 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: E2 17 00 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: E2 17 00 C3 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 98 [21:28:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:28:23]wFMCommunicate OK [21:28:23]CreateOFDProtocolMessage done [21:28:23]OFDSenderStorePacket 33377 [21:28:23]StoreOFDPacket docnum=33377 [21:28:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 1E 01 00 00 53 D7 16 01 72 67 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 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 F8 9F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 61 82 00 00 35 04 06 00 64 83 C4 D8 F8 C6 A0 37 10 B0 54 89 19 77 [21:28:23]CheckFolder [21:28:23]dirname=/storage/ofd_packets [21:28:23]CheckFolder done [21:28:23]ProducePacketName [21:28:23]name=ofd_packets/00033377 [21:28:23]NVStorageSaveData ofd_packets/00033377 [21:28:23]File name is /storage/ofd_packets/00033377 [21:28:23]Write 316 bytes [21:28:23]NVStorageSaveData done [21:28:23]OFDSenderStorePacket done [21:28:23]KKMCreateOFDPacket done [21:28:23]NVStorageSaveData kkm_last_timestamp [21:28:23]File name is /storage/kkm_last_timestamp [21:28:23]Write 4 bytes [21:28:23]NVStorageSaveData done [21:28:23]ExternCall_PrintAddStr [21:28:23]wPrintStart [21:28:23]Write to MH i2c: 01 00 00 C4 0F D3 [21:28:23]Write i2c OK [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: 01 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: 01 07 00 [21:28:23]MH_I2C_Read... [21:28:23]Read from MH i2c: 01 07 00 C4 0F 00 00 00 00 00 FF 0F E8 [21:28:23]RasterBufferAndPrint [21:28:23]line Счет N : (3)169189 [21:28:23]line ИНН: 02508201610067 [21:28:23]line Контрольно-Кассовый Чек [21:28:23]line ПРОДАЖА [21:28:23]line Товар: 4870001570071 [21:28:23]line Напиток Pepsi 1л [21:28:23]line 1.000 * 111.00 [21:28:23]line = 111.00 [21:28:23]line НДС 12% НСП 1% [21:28:23]line > о реализуемом товаре [21:28:23]line ИТОГО: 111.00 [21:28:23]line НСП 1% : 0.98 [21:28:23]line НДС 12% : 11.79 [21:28:23]line Наличными: 111.00 [21:28:23]line Безнал.: 0.00 [21:28:23]line Место: АЗС № 77 "Партнер Нефть" [21:28:23]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [21:28:23]line СНО: Общий режим [21:28:23]line Чек 55 12.07.2024 21:28 [21:28:23]line Смена: 433 ФФД: 1.0 [21:28:23]line ЗНМ: 0300000122 [21:28:23]line РНМ: 0000000000093033 [21:28:23]line Версия ККМ: 001 [21:28:23]line ФМ: 0000000000875104 [21:28:23]line ФД: 33377 [21:28:23]line ФПД: 110517106047174 [21:28:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T212824&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33377&fm=110517106047174&tin=02508201610067®Number=0000000000093033&sum=11100 [21:28:23]OFD Sender: Processing packet 33377 [packets to send 6, broken 5] [21:28:23]ProducePacketName [21:28:23]name=ofd_packets/00033377 [21:28:23]OFD Sender: To server: pG, [21:28:23]CommunicateWithHost lk.salyk.kg:30040 [21:28:23]ConnectInit lk.salyk.kg [21:28:23]line 0 [21:28:23]written 0, free lines is 4095 [21:28:23]Connected sock=10 [21:28:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 1E 01 00 00 53 D7 16 01 72 67 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 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 F8 9F 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 61 82 00 00 35 04 06 00 64 83 C4 D8 F8 C6 A0 37 10 B0 54 89 19 77 [21:28:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 00 22 47 00 80 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 61 82 00 00 F4 03 04 00 A4 4A 91 66 B6 04 01 00 00 FF 4B AD B5 81 11 CC B3 [21:28:23]CommunicateWithHost err = 0 [21:28:23]CheckOFDResponse [21:28:23]1017 (14) - 77093643461234 [21:28:23]1041 (16) - 0000000000875104 [21:28:23]1040 (4) - 33377 [21:28:23]1012 (4) - 12.07.2024 15:24 [21:28:23]1206 (1) - 0 [21:28:23]OFD Sender: Remove packet 33377 [21:28:23]ProducePacketName [21:28:23]name=ofd_packets/00033377 [21:28:23]NVStorageDeleteData [21:28:24]Write to MH i2c: 01 00 00 EC 0F FB [21:28:24]Write i2c OK [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: 01 [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: 01 07 00 [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: 01 07 00 EC 0F 00 00 00 00 00 00 0D 0F [21:28:24]RasterBufferAndPrint [21:28:24]line [21:28:24]line [21:28:24]line [21:28:24]line [21:28:24]line [21:28:24]written 0, free lines is 3334 [21:28:24]MH_Cut [21:28:24]Write to MH i2c: D1 01 00 F3 0F 01 D4 [21:28:24]Write i2c OK [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: D1 [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: D1 01 00 [21:28:24]MH_I2C_Read... [21:28:24]Read from MH i2c: D1 01 00 F3 0F 00 D3 [21:28:24]Write to MH i2c: 01 00 00 F4 0F 03 [21:28:24]Write i2c OK [21:28:24]MH_I2C_Read... [21:28:24]OFD Sender: No OFD packet to send [21:28:24]*** Cut start [21:28:24]*** Partial cut [21:28:24]*** CUTSNS_PIN = 1 [21:28:24]*** CUTSNS_PIN = 0 [21:28:25]*** Brake cut motor [21:28:25]Read from MH i2c: 01 [21:28:25]MH_I2C_Read... [21:28:25]*** Stop cut motor [21:28:25]*** Cut end [21:28:25]Read from MH i2c: 01 07 00 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: 01 07 00 F4 0F 00 00 00 00 00 FF 0F 18 [21:28:25]process_action close_receipt done [21:28:25]requested_data is exist [21:28:25]produce_requested_data [21:28:25]requested_item fm.sn is exist - process it [21:28:25]wFMCommunicate request_size=4 [21:28:25]MH_SAM_APDU [21:28:25]CAPDU: 80 11 00 00 [21:28:25]Write to MH i2c: E2 08 00 F5 0F 80 11 00 00 00 00 00 00 7E [21:28:25]Write i2c OK [21:28:25]MH_I2C_Read... [21:28:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:28:25]Read from MH i2c: E2 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 17 00 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 17 00 F5 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 CA [21:28:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [21:28:25]wFMCommunicate OK [21:28:25]requested_item fd.num is exist - process it [21:28:25]SAM_PROTO_GetFieldsCounters [21:28:25]wFMCommunicate request_size=4 [21:28:25]MH_SAM_APDU [21:28:25]CAPDU: 80 13 00 00 [21:28:25]Write to MH i2c: E2 08 00 F6 0F 80 13 00 00 00 00 00 00 81 [21:28:25]Write i2c OK [21:28:25]MH_I2C_Read... [21:28:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:28:25]Read from MH i2c: E2 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 62 00 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 62 00 F6 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 61 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 CE [21:28:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 61 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:28:25]wFMCommunicate OK [21:28:25]SAM_PROTO_GetFieldsCounters done [21:28:25]requested_item shift.num is exist - process it [21:28:25]requested_item shift.opened is exist - process it [21:28:25]req_shift_opened [21:28:25]FM_GetShiftState [21:28:25]SAM_PROTO_GetShiftState [21:28:25]wFMCommunicate request_size=4 [21:28:25]MH_SAM_APDU [21:28:25]CAPDU: 80 13 01 00 [21:28:25]Write to MH i2c: E2 08 00 F7 0F 80 13 01 00 00 00 00 00 83 [21:28:25]Write i2c OK [21:28:25]MH_I2C_Read... [21:28:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:28:25]Read from MH i2c: E2 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 0E 00 [21:28:25]MH_I2C_Read... [21:28:25]Read from MH i2c: E2 0E 00 F7 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 10 [21:28:25]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [21:28:25]wFMCommunicate OK [21:28:25]SAM_PROTO_GetShiftState done [21:28:25]FM_GetShiftState done [21:28:25]req_shift_opened done [21:28:25]requested_item shift.open_date is exist - process it [21:28:25]req_shift_open_date [21:28:25]req_shift_open_date done [21:28:25]produce_requested_data done [21:28:25]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33377,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [21:28:25]process_action_free close_receipt [21:28:25]json_value_free [21:28:25]json_value_free done [21:28:25]process_json_proto returns [21:28:25]Send response to host [21:28:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33377,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [21:28:25]free response buf [21:28:25]execute_script done [21:28:25]execute_script returns [21:28:25]free content buf [21:28:25]Sock 7.Close socket [21:28:25]Sock 7.Thread stoped [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:29]OFD Sender: No OFD packet to send [21:29:34]OFD Sender: No OFD packet to send [21:29:39]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:29]OFD Sender: No OFD packet to send [21:30:34]OFD Sender: No OFD packet to send [21:30:39]OFD Sender: No OFD packet to send [21:30:44]OFD Sender: No OFD packet to send [21:30:49]OFD Sender: No OFD packet to send [21:30:54]OFD Sender: No OFD packet to send [21:30:59]OFD Sender: No OFD packet to send [21:31:04]OFD Sender: No OFD packet to send [21:31:09]OFD Sender: No OFD packet to send [21:31:14]OFD Sender: No OFD packet to send [21:31:19]OFD Sender: No OFD packet to send [21:31:24]OFD Sender: No OFD packet to send [21:31:29]OFD Sender: No OFD packet to send [21:31:34]OFD Sender: No OFD packet to send [21:31:39]OFD Sender: No OFD packet to send [21:31:44]OFD Sender: No OFD packet to send [21:31:49]OFD Sender: No OFD packet to send [21:31:54]OFD Sender: No OFD packet to send [21:31:59]OFD Sender: No OFD packet to send [21:32:04]OFD Sender: No OFD packet to send [21:32:09]OFD Sender: No OFD packet to send [21:32:14]OFD Sender: No OFD packet to send [21:32:19]OFD Sender: No OFD packet to send [21:32:24]OFD Sender: No OFD packet to send [21:32:29]OFD Sender: No OFD packet to send [21:32:34]OFD Sender: No OFD packet to send [21:32:39]OFD Sender: No OFD packet to send [21:32:44]OFD Sender: No OFD packet to send [21:32:49]OFD Sender: No OFD packet to send [21:32:54]OFD Sender: No OFD packet to send [21:32:59]OFD Sender: No OFD packet to send [21:33:04]OFD Sender: No OFD packet to send [21:33:09]OFD Sender: No OFD packet to send [21:33:14]OFD Sender: No OFD packet to send [21:33:19]OFD Sender: No OFD packet to send [21:33:24]OFD Sender: No OFD packet to send [21:33:29]OFD Sender: No OFD packet to send [21:33:34]OFD Sender: No OFD packet to send [21:33:39]OFD Sender: No OFD packet to send [21:33:44]OFD Sender: No OFD packet to send [21:33:49]OFD Sender: No OFD packet to send [21:33:54]OFD Sender: No OFD packet to send [21:33:59]OFD Sender: No OFD packet to send [21:34:04]OFD Sender: No OFD packet to send [21:34:09]OFD Sender: No OFD packet to send [21:34:14]OFD Sender: No OFD packet to send [21:34:19]OFD Sender: No OFD packet to send [21:34:24]OFD Sender: No OFD packet to send [21:34:29]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:44]OFD Sender: No OFD packet to send [21:34:49]OFD Sender: No OFD packet to send [21:34:54]OFD Sender: No OFD packet to send [21:34:59]OFD Sender: No OFD packet to send [21:35:04]OFD Sender: No OFD packet to send [21:35:09]OFD Sender: No OFD packet to send [21:35:14]OFD Sender: No OFD packet to send [21:35:19]OFD Sender: No OFD packet to send [21:35:24]OFD Sender: No OFD packet to send [21:35:29]OFD Sender: No OFD packet to send [21:35:34]OFD Sender: No OFD packet to send [21:35:39]OFD Sender: No OFD packet to send [21:35:44]OFD Sender: No OFD packet to send [21:35:49]OFD Sender: No OFD packet to send [21:35:54]OFD Sender: No OFD packet to send [21:35:59]OFD Sender: No OFD packet to send [21:36:04]OFD Sender: No OFD packet to send [21:36:09]OFD Sender: No OFD packet to send [21:36:14]OFD Sender: No OFD packet to send [21:36:19]OFD Sender: No OFD packet to send [21:36:24]OFD Sender: No OFD packet to send [21:36:29]OFD Sender: No OFD packet to send [21:36:34]OFD Sender: No OFD packet to send [21:36:39]OFD Sender: No OFD packet to send [21:36:44]OFD Sender: No OFD packet to send [21:36:49]OFD Sender: No OFD packet to send [21:36:54]OFD Sender: No OFD packet to send [21:36:59]OFD Sender: No OFD packet to send [21:37:04]OFD Sender: No OFD packet to send [21:37:09]OFD Sender: No OFD packet to send [21:37:14]OFD Sender: No OFD packet to send [21:37:19]OFD Sender: No OFD packet to send [21:37:24]OFD Sender: No OFD packet to send [21:37:29]OFD Sender: No OFD packet to send [21:37:34]OFD Sender: No OFD packet to send [21:37:39]OFD Sender: No OFD packet to send [21:37:44]OFD Sender: No OFD packet to send [21:37:49]OFD Sender: No OFD packet to send [21:37:54]OFD Sender: No OFD packet to send [21:37:59]OFD Sender: No OFD packet to send [21:38:04]OFD Sender: No OFD packet to send [21:38:09]OFD Sender: No OFD packet to send [21:38:14]OFD Sender: No OFD packet to send [21:38:19]OFD Sender: No OFD packet to send [21:38:24]OFD Sender: No OFD packet to send [21:38:29]OFD Sender: No OFD packet to send [21:38:34]OFD Sender: No OFD packet to send [21:38:39]OFD Sender: No OFD packet to send [21:38:44]OFD Sender: No OFD packet to send [21:38:49]OFD Sender: No OFD packet to send [21:38:54]OFD Sender: No OFD packet to send [21:38:59]OFD Sender: No OFD packet to send [21:39:04]OFD Sender: No OFD packet to send [21:39:09]OFD Sender: No OFD packet to send [21:39:14]OFD Sender: No OFD packet to send [21:39:19]OFD Sender: No OFD packet to send [21:39:24]OFD Sender: No OFD packet to send [21:39:29]OFD Sender: No OFD packet to send [21:39:34]OFD Sender: No OFD packet to send [21:39:39]OFD Sender: No OFD packet to send [21:39:44]OFD Sender: No OFD packet to send [21:39:49]OFD Sender: No OFD packet to send [21:39:54]OFD Sender: No OFD packet to send [21:39:59]OFD Sender: No OFD packet to send [21:40:04]OFD Sender: No OFD packet to send [21:40:09]OFD Sender: No OFD packet to send [21:40:14]OFD Sender: No OFD packet to send [21:40:19]OFD Sender: No OFD packet to send [21:40:24]OFD Sender: No OFD packet to send [21:40:29]OFD Sender: No OFD packet to send [21:40:34]OFD Sender: No OFD packet to send [21:40:39]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:25]OFD Sender: No OFD packet to send [21:42:30]OFD Sender: No OFD packet to send [21:42:35]OFD Sender: No OFD packet to send [21:42:40]OFD Sender: No OFD packet to send [21:42:45]OFD Sender: No OFD packet to send [21:42:50]OFD Sender: No OFD packet to send [21:42:55]OFD Sender: No OFD packet to send [21:43:00]OFD Sender: No OFD packet to send [21:43:05]OFD Sender: No OFD packet to send [21:43:10]OFD Sender: No OFD packet to send [21:43:15]OFD Sender: No OFD packet to send [21:43:20]OFD Sender: No OFD packet to send [21:43:25]OFD Sender: No OFD packet to send [21:43:30]OFD Sender: No OFD packet to send [21:43:35]OFD Sender: No OFD packet to send [21:43:40]OFD Sender: No OFD packet to send [21:43:45]OFD Sender: No OFD packet to send [21:43:50]OFD Sender: No OFD packet to send [21:43:55]OFD Sender: No OFD packet to send [21:44:00]OFD Sender: No OFD packet to send [21:44:05]OFD Sender: No OFD packet to send [21:44:10]OFD Sender: No OFD packet to send [21:44:15]OFD Sender: No OFD packet to send [21:44:20]OFD Sender: No OFD packet to send [21:44:25]OFD Sender: No OFD packet to send [21:44:30]OFD Sender: No OFD packet to send [21:44:35]OFD Sender: No OFD packet to send [21:44:40]OFD Sender: No OFD packet to send [21:44:45]OFD Sender: No OFD packet to send [21:44:50]OFD Sender: No OFD packet to send [21:44:55]OFD Sender: No OFD packet to send [21:45:00]OFD Sender: No OFD packet to send [21:45:05]OFD Sender: No OFD packet to send [21:45:10]OFD Sender: No OFD packet to send [21:45:15]OFD Sender: No OFD packet to send [21:45:20]OFD Sender: No OFD packet to send [21:45:25]OFD Sender: No OFD packet to send [21:45:30]OFD Sender: No OFD packet to send [21:45:35]OFD Sender: No OFD packet to send [21:45:40]OFD Sender: No OFD packet to send [21:45:45]OFD Sender: No OFD packet to send [21:45:50]OFD Sender: No OFD packet to send [21:45:55]OFD Sender: No OFD packet to send [21:46:00]OFD Sender: No OFD packet to send [21:46:05]OFD Sender: No OFD packet to send [21:46:10]OFD Sender: No OFD packet to send [21:46:15]OFD Sender: No OFD packet to send [21:46:20]OFD Sender: No OFD packet to send [21:46:25]OFD Sender: No OFD packet to send [21:46:30]OFD Sender: No OFD packet to send [21:46:35]OFD Sender: No OFD packet to send [21:46:40]OFD Sender: No OFD packet to send [21:46:45]OFD Sender: No OFD packet to send [21:46:50]OFD Sender: No OFD packet to send [21:46:55]OFD Sender: No OFD packet to send [21:47:00]OFD Sender: No OFD packet to send [21:47:05]OFD Sender: No OFD packet to send [21:47:10]OFD Sender: No OFD packet to send [21:47:15]OFD Sender: No OFD packet to send [21:47:20]OFD Sender: No OFD packet to send [21:47:25]OFD Sender: No OFD packet to send [21:47:30]OFD Sender: No OFD packet to send [21:47:35]OFD Sender: No OFD packet to send [21:47:40]OFD Sender: No OFD packet to send [21:47:45]OFD Sender: No OFD packet to send [21:47:50]OFD Sender: No OFD packet to send [21:47:55]OFD Sender: No OFD packet to send [21:48:00]OFD Sender: No OFD packet to send [21:48:05]OFD Sender: No OFD packet to send [21:48:10]OFD Sender: No OFD packet to send [21:48:15]OFD Sender: No OFD packet to send [21:48:20]OFD Sender: No OFD packet to send [21:48:25]OFD Sender: No OFD packet to send [21:48:30]OFD Sender: No OFD packet to send [21:48:35]OFD Sender: No OFD packet to send [21:48:40]OFD Sender: No OFD packet to send [21:48:45]OFD Sender: No OFD packet to send [21:48:50]OFD Sender: No OFD packet to send [21:48:55]OFD Sender: No OFD packet to send [21:49:00]OFD Sender: No OFD packet to send [21:49:05]OFD Sender: No OFD packet to send [21:49:10]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:40]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:10]OFD Sender: No OFD packet to send [21:54:15]OFD Sender: No OFD packet to send [21:54:20]OFD Sender: No OFD packet to send [21:54:25]OFD Sender: No OFD packet to send [21:54:30]OFD Sender: No OFD packet to send [21:54:35]OFD Sender: No OFD packet to send [21:54:40]OFD Sender: No OFD packet to send [21:54:45]OFD Sender: No OFD packet to send [21:54:50]OFD Sender: No OFD packet to send [21:54:55]OFD Sender: No OFD packet to send [21:55:00]OFD Sender: No OFD packet to send [21:55:05]OFD Sender: No OFD packet to send [21:55:10]OFD Sender: No OFD packet to send [21:55:15]OFD Sender: No OFD packet to send [21:55:20]OFD Sender: No OFD packet to send [21:55:25]OFD Sender: No OFD packet to send [21:55:30]OFD Sender: No OFD packet to send [21:55:35]OFD Sender: No OFD packet to send [21:55:40]OFD Sender: No OFD packet to send [21:55:45]OFD Sender: No OFD packet to send [21:55:50]OFD Sender: No OFD packet to send [21:55:55]OFD Sender: No OFD packet to send [21:56:00]OFD Sender: No OFD packet to send [21:56:05]OFD Sender: No OFD packet to send [21:56:10]OFD Sender: No OFD packet to send [21:56:15]OFD Sender: No OFD packet to send [21:56:20]OFD Sender: No OFD packet to send [21:56:25]OFD Sender: No OFD packet to send [21:56:30]OFD Sender: No OFD packet to send [21:56:35]OFD Sender: No OFD packet to send [21:56:40]OFD Sender: No OFD packet to send [21:56:45]OFD Sender: No OFD packet to send [21:56:50]OFD Sender: No OFD packet to send [21:56:55]OFD Sender: No OFD packet to send [21:57:00]OFD Sender: No OFD packet to send [21:57:05]OFD Sender: No OFD packet to send [21:57:10]OFD Sender: No OFD packet to send [21:57:15]OFD Sender: No OFD packet to send [21:57:20]OFD Sender: No OFD packet to send [21:57:25]OFD Sender: No OFD packet to send [21:57:30]OFD Sender: No OFD packet to send [21:57:35]OFD Sender: No OFD packet to send [21:57:40]OFD Sender: No OFD packet to send [21:57:45]OFD Sender: No OFD packet to send [21:57:50]OFD Sender: No OFD packet to send [21:57:55]OFD Sender: No OFD packet to send [21:58:00]OFD Sender: No OFD packet to send [21:58:05]OFD Sender: No OFD packet to send [21:58:10]OFD Sender: No OFD packet to send [21:58:15]OFD Sender: No OFD packet to send [21:58:20]OFD Sender: No OFD packet to send [21:58:25]OFD Sender: No OFD packet to send [21:58:30]OFD Sender: No OFD packet to send [21:58:35]OFD Sender: No OFD packet to send [21:58:40]OFD Sender: No OFD packet to send [21:58:45]OFD Sender: No OFD packet to send [21:58:50]OFD Sender: No OFD packet to send [21:58:55]OFD Sender: No OFD packet to send [21:59:00]OFD Sender: No OFD packet to send [21:59:05]OFD Sender: No OFD packet to send [21:59:10]OFD Sender: No OFD packet to send [21:59:15]OFD Sender: No OFD packet to send [21:59:20]OFD Sender: No OFD packet to send [21:59:25]OFD Sender: No OFD packet to send [21:59:30]OFD Sender: No OFD packet to send [21:59:35]OFD Sender: No OFD packet to send [21:59:40]OFD Sender: No OFD packet to send [21:59:45]OFD Sender: No OFD packet to send [21:59:50]OFD Sender: No OFD packet to send [21:59:55]OFD Sender: No OFD packet to send [22:00:00]OFD Sender: No OFD packet to send [22:00:05]OFD Sender: No OFD packet to send [22:00:10]OFD Sender: No OFD packet to send [22:00:15]OFD Sender: No OFD packet to send [22:00:20]OFD Sender: No OFD packet to send [22:00:25]OFD Sender: No OFD packet to send [22:00:30]OFD Sender: No OFD packet to send [22:00:35]OFD Sender: No OFD packet to send [22:00:40]OFD Sender: No OFD packet to send [22:00:45]OFD Sender: No OFD packet to send [22:00:50]OFD Sender: No OFD packet to send [22:00:55]OFD Sender: No OFD packet to send [22:01:00]OFD Sender: No OFD packet to send [22:01:05]OFD Sender: No OFD packet to send [22:01:10]OFD Sender: No OFD packet to send [22:01:15]OFD Sender: No OFD packet to send [22:01:20]OFD Sender: No OFD packet to send [22:01:25]OFD Sender: No OFD packet to send [22:01:30]OFD Sender: No OFD packet to send [22:01:35]OFD Sender: No OFD packet to send [22:01:40]OFD Sender: No OFD packet to send [22:01:45]OFD Sender: No OFD packet to send [22:01:50]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:21]OFD Sender: No OFD packet to send [22:10:26]OFD Sender: No OFD packet to send [22:10:31]OFD Sender: No OFD packet to send [22:10:36]OFD Sender: No OFD packet to send [22:10:41]OFD Sender: No OFD packet to send [22:10:46]OFD Sender: No OFD packet to send [22:10:51]OFD Sender: No OFD packet to send [22:10:56]OFD Sender: No OFD packet to send [22:11:01]OFD Sender: No OFD packet to send [22:11:06]OFD Sender: No OFD packet to send [22:11:11]OFD Sender: No OFD packet to send [22:11:16]OFD Sender: No OFD packet to send [22:11:21]OFD Sender: No OFD packet to send [22:11:26]OFD Sender: No OFD packet to send [22:11:31]OFD Sender: No OFD packet to send [22:11:36]OFD Sender: No OFD packet to send [22:11:41]OFD Sender: No OFD packet to send [22:11:46]OFD Sender: No OFD packet to send [22:11:51]OFD Sender: No OFD packet to send [22:11:56]OFD Sender: No OFD packet to send [22:12:01]OFD Sender: No OFD packet to send [22:12:06]OFD Sender: No OFD packet to send [22:12:11]OFD Sender: No OFD packet to send [22:12:16]OFD Sender: No OFD packet to send [22:12:21]OFD Sender: No OFD packet to send [22:12:26]OFD Sender: No OFD packet to send [22:12:31]OFD Sender: No OFD packet to send [22:12:36]OFD Sender: No OFD packet to send [22:12:41]OFD Sender: No OFD packet to send [22:12:46]OFD Sender: No OFD packet to send [22:12:51]OFD Sender: No OFD packet to send [22:12:56]OFD Sender: No OFD packet to send [22:13:01]OFD Sender: No OFD packet to send [22:13:06]OFD Sender: No OFD packet to send [22:13:11]OFD Sender: No OFD packet to send [22:13:16]OFD Sender: No OFD packet to send [22:13:21]OFD Sender: No OFD packet to send [22:13:26]OFD Sender: No OFD packet to send [22:13:31]OFD Sender: No OFD packet to send [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:27]OFD Sender: No OFD packet to send [22:23:32]OFD Sender: No OFD packet to send [22:23:37]OFD Sender: No OFD packet to send [22:23:42]OFD Sender: No OFD packet to send [22:23:47]OFD Sender: No OFD packet to send [22:23:52]OFD Sender: No OFD packet to send [22:23:57]OFD Sender: No OFD packet to send [22:24:02]OFD Sender: No OFD packet to send [22:24:07]OFD Sender: No OFD packet to send [22:24:12]OFD Sender: No OFD packet to send [22:24:17]OFD Sender: No OFD packet to send [22:24:22]OFD Sender: No OFD packet to send [22:24:27]OFD Sender: No OFD packet to send [22:24:32]OFD Sender: No OFD packet to send [22:24:37]OFD Sender: No OFD packet to send [22:24:42]OFD Sender: No OFD packet to send [22:24:47]OFD Sender: No OFD packet to send [22:24:52]OFD Sender: No OFD packet to send [22:24:57]OFD Sender: No OFD packet to send [22:25:02]OFD Sender: No OFD packet to send [22:25:07]OFD Sender: No OFD packet to send [22:25:12]OFD Sender: No OFD packet to send [22:25:17]OFD Sender: No OFD packet to send [22:25:22]OFD Sender: No OFD packet to send [22:25:27]OFD Sender: No OFD packet to send [22:25:32]OFD Sender: No OFD packet to send [22:25:37]OFD Sender: No OFD packet to send [22:25:42]OFD Sender: No OFD packet to send [22:25:47]OFD Sender: No OFD packet to send [22:25:52]OFD Sender: No OFD packet to send [22:25:57]OFD Sender: No OFD packet to send [22:26:02]OFD Sender: No OFD packet to send [22:26:07]OFD Sender: No OFD packet to send [22:26:12]OFD Sender: No OFD packet to send [22:26:17]OFD Sender: No OFD packet to send [22:26:22]OFD Sender: No OFD packet to send [22:26:27]OFD Sender: No OFD packet to send [22:26:32]OFD Sender: No OFD packet to send [22:26:37]OFD Sender: No OFD packet to send [22:26:42]OFD Sender: No OFD packet to send [22:26:47]OFD Sender: No OFD packet to send [22:26:52]OFD Sender: No OFD packet to send [22:26:57]OFD Sender: No OFD packet to send [22:27:02]OFD Sender: No OFD packet to send [22:27:07]OFD Sender: No OFD packet to send [22:27:12]OFD Sender: No OFD packet to send [22:27:17]OFD Sender: No OFD packet to send [22:27:22]OFD Sender: No OFD packet to send [22:27:27]OFD Sender: No OFD packet to send [22:27:32]OFD Sender: No OFD packet to send [22:27:37]OFD Sender: No OFD packet to send [22:27:42]OFD Sender: No OFD packet to send [22:27:47]OFD Sender: No OFD packet to send [22:27:52]OFD Sender: No OFD packet to send [22:27:57]OFD Sender: No OFD packet to send [22:28:02]OFD Sender: No OFD packet to send [22:28:07]OFD Sender: No OFD packet to send [22:28:12]OFD Sender: No OFD packet to send [22:28:17]OFD Sender: No OFD packet to send [22:28:22]OFD Sender: No OFD packet to send [22:28:27]OFD Sender: No OFD packet to send [22:28:32]OFD Sender: No OFD packet to send [22:28:37]OFD Sender: No OFD packet to send [22:28:42]OFD Sender: No OFD packet to send [22:28:47]OFD Sender: No OFD packet to send [22:28:52]OFD Sender: No OFD packet to send [22:28:57]OFD Sender: No OFD packet to send [22:29:02]OFD Sender: No OFD packet to send [22:29:07]OFD Sender: No OFD packet to send [22:29:12]OFD Sender: No OFD packet to send [22:29:17]OFD Sender: No OFD packet to send [22:29:22]OFD Sender: No OFD packet to send [22:29:27]OFD Sender: No OFD packet to send [22:29:32]OFD Sender: No OFD packet to send [22:29:37]OFD Sender: No OFD packet to send [22:29:42]OFD Sender: No OFD packet to send [22:29:47]OFD Sender: No OFD packet to send [22:29:52]OFD Sender: No OFD packet to send [22:29:57]OFD Sender: No OFD packet to send [22:30:02]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:27]OFD Sender: No OFD packet to send [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:52]OFD Sender: No OFD packet to send [22:32:57]OFD Sender: No OFD packet to send [22:33:02]OFD Sender: No OFD packet to send [22:33:07]OFD Sender: No OFD packet to send [22:33:12]OFD Sender: No OFD packet to send [22:33:17]OFD Sender: No OFD packet to send [22:33:22]OFD Sender: No OFD packet to send [22:33:27]OFD Sender: No OFD packet to send [22:33:32]OFD Sender: No OFD packet to send [22:33:37]OFD Sender: No OFD packet to send [22:33:42]OFD Sender: No OFD packet to send [22:33:47]OFD Sender: No OFD packet to send [22:33:52]OFD Sender: No OFD packet to send [22:33:57]OFD Sender: No OFD packet to send [22:34:02]OFD Sender: No OFD packet to send [22:34:07]OFD Sender: No OFD packet to send [22:34:12]OFD Sender: No OFD packet to send [22:34:17]OFD Sender: No OFD packet to send [22:34:22]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:27]OFD Sender: No OFD packet to send [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:22]OFD Sender: No OFD packet to send [22:43:27]OFD Sender: No OFD packet to send [22:43:32]OFD Sender: No OFD packet to send [22:43:37]OFD Sender: No OFD packet to send [22:43:42]OFD Sender: No OFD packet to send [22:43:47]OFD Sender: No OFD packet to send [22:43:52]OFD Sender: No OFD packet to send [22:43:57]OFD Sender: No OFD packet to send [22:44:02]OFD Sender: No OFD packet to send [22:44:07]OFD Sender: No OFD packet to send [22:44:12]OFD Sender: No OFD packet to send [22:44:17]OFD Sender: No OFD packet to send [22:44:22]OFD Sender: No OFD packet to send [22:44:27]OFD Sender: No OFD packet to send [22:44:32]OFD Sender: No OFD packet to send [22:44:37]OFD Sender: No OFD packet to send [22:44:42]OFD Sender: No OFD packet to send [22:44:47]OFD Sender: No OFD packet to send [22:44:52]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:18]OFD Sender: No OFD packet to send [22:45:23]OFD Sender: No OFD packet to send [22:45:28]OFD Sender: No OFD packet to send [22:45:33]OFD Sender: No OFD packet to send [22:45:38]OFD Sender: No OFD packet to send [22:45:43]OFD Sender: No OFD packet to send [22:45:48]OFD Sender: No OFD packet to send [22:45:53]OFD Sender: No OFD packet to send [22:45:58]OFD Sender: No OFD packet to send [22:46:03]OFD Sender: No OFD packet to send [22:46:08]OFD Sender: No OFD packet to send [22:46:13]OFD Sender: No OFD packet to send [22:46:18]OFD Sender: No OFD packet to send [22:46:23]OFD Sender: No OFD packet to send [22:46:28]OFD Sender: No OFD packet to send [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:58]OFD Sender: No OFD packet to send [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:24]accept exits with 9 [22:59:24]New connection [22:59:24]New thread 3066604900 created [22:59:24]Thread 3066461540 joined [22:59:24]Waiting for new connection... [22:59:24] Sock 9.Parse request [22:59:24]Sock 9.Check first char [22:59:24]Sock 9.First char is OK [22:59:24]request: POST /json_proto HTTP/1.0 [22:59:24]Method: POST [22:59:24]URL: /json_proto [22:59:24]Method is POST - this is cgi request [22:59:24]url: /json_proto [22:59:24]query_string will be loaded in cgi processing [22:59:24]execute_cgi json_proto POST (null) [22:59:24]execute_cgi path=json_proto method=POST [22:59:24]POST find Content-Length [22:59:24]Host: 172.17.35.196:8080 [22:59:24]Content-Length: 632 [22:59:24]Content-Type: application/json [22:59:24] [22:59:24]POST finish read [22:59:24]Found Content-Length = 632 [22:59:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169190", "tax_sys" : 0, "items" : [ { "code": "4700025314002", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:59:24]execute_script... [22:59:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169190", "tax_sys" : 0, "items" : [ { "code": "4700025314002", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:59:24]POST & json_proto [22:59:24]process_json_proto [22:59:24]json parsed OK: [22:59:24]protocol is kg_v1.0 [22:59:24]action value=close_receipt [22:59:24]process_action close_receipt [22:59:24]cmd_close_receipt [22:59:24]MH_GetDate [22:59:24]Write to MH i2c: F0 00 00 F8 0F F6 [22:59:24]Write i2c OK [22:59:24]MH_I2C_Read... [22:59:24]Read from MH i2c: F0 [22:59:24]MH_I2C_Read... [22:59:24]Read from MH i2c: F0 09 00 [22:59:24]MH_I2C_Read... [22:59:24]Read from MH i2c: F0 09 00 F8 0F 00 4F B5 91 66 AD 14 F4 65 14 [22:59:24]GetLastDocTimeStamp 1720819704 [22:59:24]current date 1720825167 [22:59:24]FM_GetShiftState [22:59:24]SAM_PROTO_GetShiftState [22:59:24]wFMCommunicate request_size=4 [22:59:24]MH_SAM_APDU [22:59:24]CAPDU: 80 13 01 00 [22:59:24]Write to MH i2c: E2 08 00 F9 0F 80 13 01 00 00 00 00 00 85 [22:59:24]Write i2c OK [22:59:24]MH_I2C_Read... [22:59:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:24]Read from MH i2c: E2 [22:59:24]MH_I2C_Read... [22:59:24]Read from MH i2c: E2 0E 00 [22:59:24]MH_I2C_Read... [22:59:24]Read from MH i2c: E2 0E 00 F9 0F 00 09 00 01 17 74 90 66 00 00 00 00 90 00 12 [22:59:24]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [22:59:24]wFMCommunicate OK [22:59:24]SAM_PROTO_GetShiftState done [22:59:24]FM_GetShiftState done [22:59:24]opened in 1720742935 [22:59:24]opened+sec_in_day 1720829335 [22:59:24]quantity*price = 6000 [22:59:24]sum+1 = 6001 [22:59:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 56 12.07.2024 22:59 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33378 ФПД: 137075073914567 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T225927&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33378&fm=137075073914567&tin=02508201610067®Number=0000000000093033&sum=6000 0 [22:59:25]StoreToDocumentArchive [22:59:25]shift 433 fd 33378 [22:59:25]save to /storage/0433/doc_00033378 [22:59:25]save last doc name /storage/0433/doc_00033378 to /storage/kkm_last_doc_name [22:59:25]save OK [22:59:25]Clear old archive folders... [22:59:25]ProcessDocumentItem done err = 0, tmpTLVsize=271 [22:59:25]tlvbuf is 00A6CAB0 [22:59:25]SAM_PROTO_ClearQueue [22:59:25]wFMCommunicate request_size=4 [22:59:25]MH_SAM_APDU [22:59:25]CAPDU: 80 09 00 00 [22:59:25]Write to MH i2c: E2 08 00 06 10 80 09 00 00 00 00 00 00 88 [22:59:25]Write i2c OK [22:59:25]MH_I2C_Read... [22:59:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:59:25]Read from MH i2c: E2 [22:59:25]MH_I2C_Read... [22:59:25]Read from MH i2c: E2 03 00 [22:59:25]MH_I2C_Read... [22:59:25]Read from MH i2c: E2 03 00 06 10 00 90 00 8A [22:59:25]RAPDU: 90 00 [22:59:25]wFMCommunicate OK [22:59:25]SAM_PROTO_ClearQueue done [22:59:25]KKMCreateOFDPacket [22:59:25]OFDProtocolAddRootSTLVToBuf [22:59:25]FM_MakeSignedData [22:59:25]FM_MakeSignedData [22:59:25]SAM_PROTO_SignData [22:59:25]wFMCommunicate request_size=4 [22:59:25]MH_SAM_APDU [22:59:25]CAPDU: 80 0D 01 02 [22:59:25]Write to MH i2c: E2 08 00 07 10 80 0D 01 02 00 00 00 00 90 [22:59:25]Write i2c OK [22:59:25]MH_I2C_Read... [22:59:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:59:25]Read from MH i2c: E2 [22:59:25]MH_I2C_Read... [22:59:25]Read from MH i2c: E2 03 00 [22:59:25]MH_I2C_Read... [22:59:25]Read from MH i2c: E2 03 00 07 10 00 90 00 8B [22:59:25]RAPDU: 90 00 [22:59:25]wFMCommunicate OK [22:59:25]wFMCommunicate request_size=255 [22:59:25]MH_SAM_APDU [22:59:25]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 4F B5 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 [22:59:25]Write to MH i2c: E2 02 01 08 10 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 4F B5 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 B4 [22:59:25]Write i2c OK [22:59:25]MH_I2C_Read... [22:59:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:59:25]Read from MH i2c: E2 [22:59:25]MH_I2C_Read... [22:59:25]Read from MH i2c: E2 03 00 [22:59:25]MH_I2C_Read... [22:59:25]Read from MH i2c: E2 03 00 08 10 00 90 00 8C [22:59:25]RAPDU: 90 00 [22:59:25]wFMCommunicate OK [22:59:25]wFMCommunicate request_size=30 [22:59:25]MH_SAM_APDU [22:59:25]CAPDU: 80 0D 02 02 19 30 38 37 35 31 30 34 10 04 04 00 62 82 00 00 35 04 06 00 7C AB 47 16 96 C7 [22:59:25]Write to MH i2c: E2 21 00 09 10 80 0D 02 02 19 00 30 38 37 35 31 30 34 10 04 04 00 62 82 00 00 35 04 06 00 7C AB 47 16 96 C7 00 00 4A [22:59:25]Write i2c OK [22:59:25]MH_I2C_Read... [22:59:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:59:26]Read from MH i2c: E2 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: E2 03 00 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: E2 03 00 09 10 00 90 00 8D [22:59:26]RAPDU: 90 00 [22:59:26]wFMCommunicate OK [22:59:26]wFMCommunicate request_size=4 [22:59:26]MH_SAM_APDU [22:59:26]CAPDU: 80 0D 03 02 [22:59:26]Write to MH i2c: E2 08 00 0A 10 80 0D 03 02 00 00 00 00 95 [22:59:26]Write i2c OK [22:59:26]MH_I2C_Read... [22:59:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:59:26]Read from MH i2c: E2 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: E2 0B 00 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: E2 0B 00 0A 10 00 67 75 42 3F 00 BC A0 4E 90 00 9D [22:59:26]RAPDU: 67 75 42 3F 00 BC A0 4E 90 00 [22:59:26]wFMCommunicate OK [22:59:26]SAM_PROTO_SignData done [22:59:26]FM_MakeSignedData done [22:59:26]CreateOFDProtocolMessage [22:59:26]wFMCommunicate request_size=4 [22:59:26]MH_SAM_APDU [22:59:26]CAPDU: 80 11 00 00 [22:59:26]Write to MH i2c: E2 08 00 0B 10 80 11 00 00 00 00 00 00 95 [22:59:26]Write i2c OK [22:59:26]MH_I2C_Read... [22:59:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:26]Read from MH i2c: E2 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: E2 17 00 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: E2 17 00 0B 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 E1 [22:59:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:59:26]wFMCommunicate OK [22:59:26]CreateOFDProtocolMessage done [22:59:26]OFDSenderStorePacket 33378 [22:59:26]StoreOFDPacket docnum=33378 [22:59:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 23 01 00 00 97 BE 1B 01 80 BE 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 4F B5 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 62 82 00 00 35 04 06 00 7C AB 47 16 96 C7 67 75 42 3F 00 BC A0 4E [22:59:26]CheckFolder [22:59:26]dirname=/storage/ofd_packets [22:59:26]CheckFolder done [22:59:26]ProducePacketName [22:59:26]name=ofd_packets/00033378 [22:59:26]NVStorageSaveData ofd_packets/00033378 [22:59:26]File name is /storage/ofd_packets/00033378 [22:59:26]Write 321 bytes [22:59:26]NVStorageSaveData done [22:59:26]OFDSenderStorePacket done [22:59:26]KKMCreateOFDPacket done [22:59:26]NVStorageSaveData kkm_last_timestamp [22:59:26]File name is /storage/kkm_last_timestamp [22:59:26]Write 4 bytes [22:59:26]NVStorageSaveData done [22:59:26]ExternCall_PrintAddStr [22:59:26]wPrintStart [22:59:26]Write to MH i2c: 01 00 00 0C 10 1C [22:59:26]Write i2c OK [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: 01 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: 01 07 00 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: 01 07 00 0C 10 00 00 00 00 00 FF 0F 31 [22:59:26]RasterBufferAndPrint [22:59:26]line Счет N : (3)169190 [22:59:26]line ИНН: 02508201610067 [22:59:26]line Контрольно-Кассовый Чек [22:59:26]line ПРОДАЖА [22:59:26]line Товар: 4700025314002 [22:59:26]line ВОДКА МЯГКАЯ 0,1л [22:59:26]line 1.000 * 60.00 [22:59:26]line = 60.00 [22:59:26]line НДС 12% НСП 1% [22:59:26]line > о реализуемом товаре [22:59:26]line ИТОГО: 60.00 [22:59:26]line НСП 1% : 0.53 [22:59:26]line НДС 12% : 6.37 [22:59:26]line Наличными: 60.00 [22:59:26]line Безнал.: 0.00 [22:59:26]line Место: АЗС № 77 "Партнер Нефть" [22:59:26]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [22:59:26]line СНО: Общий режим [22:59:26]line Чек 56 12.07.2024 22:59 [22:59:26]line Смена: 433 ФФД: 1.0 [22:59:26]line ЗНМ: 0300000122 [22:59:26]line РНМ: 0000000000093033 [22:59:26]line Версия ККМ: 001 [22:59:26]line ФМ: 0000000000875104 [22:59:26]line ФД: 33378 [22:59:26]line ФПД: 137075073914567 [22:59:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T225927&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33378&fm=137075073914567&tin=02508201610067®Number=0000000000093033&sum=6000 [22:59:26]line 0 [22:59:26]written 0, free lines is 4095 [22:59:26]OFD Sender: Processing packet 33378 [packets to send 6, broken 5] [22:59:26]ProducePacketName [22:59:26]name=ofd_packets/00033378 [22:59:26]OFD Sender: To server: pG, [22:59:26]CommunicateWithHost lk.salyk.kg:30040 [22:59:26]ConnectInit lk.salyk.kg [22:59:26]Connected sock=10 [22:59:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 23 01 00 00 97 BE 1B 01 80 BE 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 34 30 30 32 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 4F B5 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 62 82 00 00 35 04 06 00 7C AB 47 16 96 C7 67 75 42 3F 00 BC A0 4E [22:59:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 90 87 47 00 6C DC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 62 82 00 00 F4 03 04 00 FB 5F 91 66 B6 04 01 00 00 48 AD 0B 09 37 C8 16 10 [22:59:26]CommunicateWithHost err = 0 [22:59:26]CheckOFDResponse [22:59:26]1017 (14) - 77093643461234 [22:59:26]1041 (16) - 0000000000875104 [22:59:26]1040 (4) - 33378 [22:59:26]1012 (4) - 12.07.2024 16:55 [22:59:26]1206 (1) - 0 [22:59:26]OFD Sender: Remove packet 33378 [22:59:26]ProducePacketName [22:59:26]name=ofd_packets/00033378 [22:59:26]NVStorageDeleteData [22:59:26]Write to MH i2c: 01 00 00 34 10 44 [22:59:26]Write i2c OK [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: 01 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: 01 07 00 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: 01 07 00 34 10 00 00 00 00 00 08 0D 60 [22:59:26]RasterBufferAndPrint [22:59:26]line [22:59:26]line [22:59:26]line [22:59:26]line [22:59:26]line [22:59:26]written 0, free lines is 3342 [22:59:26]MH_Cut [22:59:26]Write to MH i2c: D1 01 00 3B 10 01 1D [22:59:26]Write i2c OK [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: D1 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: D1 01 00 [22:59:26]MH_I2C_Read... [22:59:26]Read from MH i2c: D1 01 00 3B 10 00 1C [22:59:26]Write to MH i2c: 01 00 00 3C 10 4C [22:59:26]Write i2c OK [22:59:26]MH_I2C_Read... [22:59:26]OFD Sender: No OFD packet to send [22:59:27]*** Cut start [22:59:27]*** Partial cut [22:59:27]*** CUTSNS_PIN = 1 [22:59:27]*** CUTSNS_PIN = 0 [22:59:27]*** Brake cut motor [22:59:27]Read from MH i2c: 01 [22:59:27]MH_I2C_Read... [22:59:27]*** Stop cut motor [22:59:27]Read from MH i2c: *** Cut end [22:59:27]01 07 00 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: 01 07 00 3C 10 00 00 00 00 00 FF 0F 61 [22:59:27]process_action close_receipt done [22:59:27]requested_data is exist [22:59:27]produce_requested_data [22:59:27]requested_item fm.sn is exist - process it [22:59:27]wFMCommunicate request_size=4 [22:59:27]MH_SAM_APDU [22:59:27]CAPDU: 80 11 00 00 [22:59:27]Write to MH i2c: E2 08 00 3D 10 80 11 00 00 00 00 00 00 C7 [22:59:27]Write i2c OK [22:59:27]MH_I2C_Read... [22:59:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:27]Read from MH i2c: E2 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: E2 17 00 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: E2 17 00 3D 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 13 [22:59:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [22:59:27]wFMCommunicate OK [22:59:27]requested_item fd.num is exist - process it [22:59:27]SAM_PROTO_GetFieldsCounters [22:59:27]wFMCommunicate request_size=4 [22:59:27]MH_SAM_APDU [22:59:27]CAPDU: 80 13 00 00 [22:59:27]Write to MH i2c: E2 08 00 3E 10 80 13 00 00 00 00 00 00 CA [22:59:27]Write i2c OK [22:59:27]MH_I2C_Read... [22:59:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:59:28]Read from MH i2c: E2 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 62 00 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 62 00 3E 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 62 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 1B [22:59:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 62 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:59:28]wFMCommunicate OK [22:59:28]SAM_PROTO_GetFieldsCounters done [22:59:28]requested_item shift.num is exist - process it [22:59:28]requested_item shift.opened is exist - process it [22:59:28]req_shift_opened [22:59:28]FM_GetShiftState [22:59:28]SAM_PROTO_GetShiftState [22:59:28]wFMCommunicate request_size=4 [22:59:28]MH_SAM_APDU [22:59:28]CAPDU: 80 13 01 00 [22:59:28]Write to MH i2c: E2 08 00 3F 10 80 13 01 00 00 00 00 00 CC [22:59:28]Write i2c OK [22:59:28]MH_I2C_Read... [22:59:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:28]Read from MH i2c: E2 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 0E 00 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 0E 00 3F 10 00 09 00 01 17 74 90 66 00 00 00 00 90 00 59 [22:59:28]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [22:59:28]wFMCommunicate OK [22:59:28]SAM_PROTO_GetShiftState done [22:59:28]FM_GetShiftState done [22:59:28]req_shift_opened done [22:59:28]requested_item shift.open_date is exist - process it [22:59:28]req_shift_open_date [22:59:28]req_shift_open_date done [22:59:28]produce_requested_data done [22:59:28]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33378,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [22:59:28]process_action_free close_receipt [22:59:28]json_value_free [22:59:28]json_value_free done [22:59:28]process_json_proto returns [22:59:28]Send response to host [22:59:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33378,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [22:59:28]free response buf [22:59:28]execute_script done [22:59:28]execute_script returns [22:59:28]free content buf [22:59:28]Sock 9.Close socket [22:59:28]Sock 9.Thread stoped [22:59:32]OFD Sender: No OFD packet to send [22:59:37]OFD Sender: No OFD packet to send [22:59:42]OFD Sender: No OFD packet to send [22:59:47]OFD Sender: No OFD packet to send [22:59:52]OFD Sender: No OFD packet to send [22:59:57]OFD Sender: No OFD packet to send [23:00:02]OFD Sender: No OFD packet to send [23:00:07]OFD Sender: No OFD packet to send [23:00:12]OFD Sender: No OFD packet to send [23:00:17]OFD Sender: No OFD packet to send [23:00:22]OFD Sender: No OFD packet to send [23:00:27]OFD Sender: No OFD packet to send [23:00:32]OFD Sender: No OFD packet to send [23:00:37]OFD Sender: No OFD packet to send [23:00:42]OFD Sender: No OFD packet to send [23:00:47]OFD Sender: No OFD packet to send [23:00:52]OFD Sender: No OFD packet to send [23:00:57]OFD Sender: No OFD packet to send [23:01:02]OFD Sender: No OFD packet to send [23:01:07]OFD Sender: No OFD packet to send [23:01:12]OFD Sender: No OFD packet to send [23:01:17]OFD Sender: No OFD packet to send [23:01:22]OFD Sender: No OFD packet to send [23:01:27]OFD Sender: No OFD packet to send [23:01:32]OFD Sender: No OFD packet to send [23:01:37]OFD Sender: No OFD packet to send [23:01:42]OFD Sender: No OFD packet to send [23:01:47]OFD Sender: No OFD packet to send [23:01:52]OFD Sender: No OFD packet to send [23:01:57]OFD Sender: No OFD packet to send [23:02:02]OFD Sender: No OFD packet to send [23:02:07]OFD Sender: No OFD packet to send [23:02:12]OFD Sender: No OFD packet to send [23:02:17]OFD Sender: No OFD packet to send [23:02:22]OFD Sender: No OFD packet to send [23:02:27]OFD Sender: No OFD packet to send [23:02:32]OFD Sender: No OFD packet to send [23:02:37]OFD Sender: No OFD packet to send [23:02:42]OFD Sender: No OFD packet to send [23:02:47]OFD Sender: No OFD packet to send [23:02:52]OFD Sender: No OFD packet to send [23:02:57]OFD Sender: No OFD packet to send [23:03:02]OFD Sender: No OFD packet to send [23:03:07]OFD Sender: No OFD packet to send [23:03:12]OFD Sender: No OFD packet to send [23:03:17]OFD Sender: No OFD packet to send [23:03:22]OFD Sender: No OFD packet to send [23:03:27]OFD Sender: No OFD packet to send [23:03:32]OFD Sender: No OFD packet to send [23:03:37]OFD Sender: No OFD packet to send [23:03:42]OFD Sender: No OFD packet to send [23:03:47]OFD Sender: No OFD packet to send [23:03:52]OFD Sender: No OFD packet to send [23:03:57]OFD Sender: No OFD packet to send [23:04:02]OFD Sender: No OFD packet to send [23:04:07]OFD Sender: No OFD packet to send [23:04:12]OFD Sender: No OFD packet to send [23:04:17]OFD Sender: No OFD packet to send [23:04:22]OFD Sender: No OFD packet to send [23:04:27]OFD Sender: No OFD packet to send [23:04:32]OFD Sender: No OFD packet to send [23:04:37]OFD Sender: No OFD packet to send [23:04:42]OFD Sender: No OFD packet to send [23:04:47]OFD Sender: No OFD packet to send [23:04:52]OFD Sender: No OFD packet to send [23:04:57]OFD Sender: No OFD packet to send [23:05:02]OFD Sender: No OFD packet to send [23:05:07]OFD Sender: No OFD packet to send [23:05:12]OFD Sender: No OFD packet to send [23:05:17]OFD Sender: No OFD packet to send [23:05:22]OFD Sender: No OFD packet to send [23:05:27]OFD Sender: No OFD packet to send [23:05:32]OFD Sender: No OFD packet to send [23:05:37]OFD Sender: No OFD packet to send [23:05:42]OFD Sender: No OFD packet to send [23:05:47]OFD Sender: No OFD packet to send [23:05:52]OFD Sender: No OFD packet to send [23:05:57]OFD Sender: No OFD packet to send [23:06:02]OFD Sender: No OFD packet to send [23:06:07]OFD Sender: No OFD packet to send [23:06:12]OFD Sender: No OFD packet to send [23:06:17]OFD Sender: No OFD packet to send [23:06:22]OFD Sender: No OFD packet to send [23:06:27]OFD Sender: No OFD packet to send [23:06:32]OFD Sender: No OFD packet to send [23:06:37]OFD Sender: No OFD packet to send [23:06:42]OFD Sender: No OFD packet to send [23:06:47]OFD Sender: No OFD packet to send [23:06:52]OFD Sender: No OFD packet to send [23:06:57]OFD Sender: No OFD packet to send [23:07:02]OFD Sender: No OFD packet to send [23:07:07]OFD Sender: No OFD packet to send [23:07:12]OFD Sender: No OFD packet to send [23:07:17]OFD Sender: No OFD packet to send [23:07:22]OFD Sender: No OFD packet to send [23:07:27]OFD Sender: No OFD packet to send [23:07:32]OFD Sender: No OFD packet to send [23:07:37]OFD Sender: No OFD packet to send [23:07:42]OFD Sender: No OFD packet to send [23:07:47]OFD Sender: No OFD packet to send [23:07:52]OFD Sender: No OFD packet to send [23:07:57]OFD Sender: No OFD packet to send [23:08:02]OFD Sender: No OFD packet to send [23:08:07]OFD Sender: No OFD packet to send [23:08:12]OFD Sender: No OFD packet to send [23:08:17]OFD Sender: No OFD packet to send [23:08:22]OFD Sender: No OFD packet to send [23:08:27]OFD Sender: No OFD packet to send [23:08:32]OFD Sender: No OFD packet to send [23:08:37]OFD Sender: No OFD packet to send [23:08:42]OFD Sender: No OFD packet to send [23:08:47]OFD Sender: No OFD packet to send [23:08:52]OFD Sender: No OFD packet to send [23:08:57]OFD Sender: No OFD packet to send [23:09:02]OFD Sender: No OFD packet to send [23:09:07]OFD Sender: No OFD packet to send [23:09:12]OFD Sender: No OFD packet to send [23:09:17]OFD Sender: No OFD packet to send [23:09:22]OFD Sender: No OFD packet to send [23:09:27]OFD Sender: No OFD packet to send [23:09:32]OFD Sender: No OFD packet to send [23:09:37]OFD Sender: No OFD packet to send [23:09:42]OFD Sender: No OFD packet to send [23:09:47]OFD Sender: No OFD packet to send [23:09:52]OFD Sender: No OFD packet to send [23:09:57]OFD Sender: No OFD packet to send [23:10:02]OFD Sender: No OFD packet to send [23:10:07]OFD Sender: No OFD packet to send [23:10:12]OFD Sender: No OFD packet to send [23:10:17]OFD Sender: No OFD packet to send [23:10:22]OFD Sender: No OFD packet to send [23:10:27]OFD Sender: No OFD packet to send [23:10:32]OFD Sender: No OFD packet to send [23:10:37]OFD Sender: No OFD packet to send [23:10:42]OFD Sender: No OFD packet to send [23:10:47]OFD Sender: No OFD packet to send [23:10:52]OFD Sender: No OFD packet to send [23:10:57]OFD Sender: No OFD packet to send [23:11:02]OFD Sender: No OFD packet to send [23:11:07]OFD Sender: No OFD packet to send [23:11:12]OFD Sender: No OFD packet to send [23:11:17]OFD Sender: No OFD packet to send [23:11:22]OFD Sender: No OFD packet to send [23:11:27]OFD Sender: No OFD packet to send [23:11:32]OFD Sender: No OFD packet to send [23:11:37]OFD Sender: No OFD packet to send [23:11:42]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:53]OFD Sender: No OFD packet to send [23:20:58]OFD Sender: No OFD packet to send [23:21:03]OFD Sender: No OFD packet to send [23:21:08]OFD Sender: No OFD packet to send [23:21:13]OFD Sender: No OFD packet to send [23:21:18]OFD Sender: No OFD packet to send [23:21:23]OFD Sender: No OFD packet to send [23:21:28]OFD Sender: No OFD packet to send [23:21:33]OFD Sender: No OFD packet to send [23:21:37]accept exits with 7 [23:21:37]New connection [23:21:37]New thread 3066461540 created [23:21:37]Thread 3066604900 joined [23:21:37]Waiting for new connection... [23:21:37] Sock 7.Parse request [23:21:37]Sock 7.Check first char [23:21:37]Sock 7.First char is OK [23:21:37]request: POST /json_proto HTTP/1.0 [23:21:37]Method: POST [23:21:37]URL: /json_proto [23:21:37]Method is POST - this is cgi request [23:21:37]url: /json_proto [23:21:37]query_string will be loaded in cgi processing [23:21:37]execute_cgi json_proto POST (null) [23:21:37]execute_cgi path=json_proto method=POST [23:21:37]POST find Content-Length [23:21:37]Host: 172.17.35.196:8080 [23:21:37]Content-Length: 783 [23:21:37]Content-Type: application/json [23:21:37] [23:21:37]POST finish read [23:21:37]Found Content-Length = 783 [23:21:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169191", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:21:37]execute_script... [23:21:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169191", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:21:37]POST & json_proto [23:21:37]process_json_proto [23:21:37]json parsed OK: [23:21:37]protocol is kg_v1.0 [23:21:37]action value=close_receipt [23:21:37]process_action close_receipt [23:21:37]cmd_close_receipt [23:21:37]MH_GetDate [23:21:37]Write to MH i2c: F0 00 00 40 10 3F [23:21:37]Write i2c OK [23:21:37]MH_I2C_Read... [23:21:37]Read from MH i2c: F0 [23:21:37]MH_I2C_Read... [23:21:37]Read from MH i2c: F0 09 00 [23:21:37]MH_I2C_Read... [23:21:37]Read from MH i2c: F0 09 00 40 10 00 84 BA 91 66 AD 14 F4 65 97 [23:21:37]GetLastDocTimeStamp 1720825167 [23:21:37]current date 1720826500 [23:21:37]FM_GetShiftState [23:21:37]SAM_PROTO_GetShiftState [23:21:37]wFMCommunicate request_size=4 [23:21:37]MH_SAM_APDU [23:21:37]CAPDU: 80 13 01 00 [23:21:37]Write to MH i2c: E2 08 00 41 10 80 13 01 00 00 00 00 00 CE [23:21:37]Write i2c OK [23:21:37]MH_I2C_Read... [23:21:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:21:37]Read from MH i2c: E2 [23:21:37]MH_I2C_Read... [23:21:37]Read from MH i2c: E2 0E 00 [23:21:37]MH_I2C_Read... [23:21:37]Read from MH i2c: E2 0E 00 41 10 00 09 00 01 17 74 90 66 00 00 00 00 90 00 5B [23:21:37]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [23:21:37]wFMCommunicate OK [23:21:37]SAM_PROTO_GetShiftState done [23:21:37]FM_GetShiftState done [23:21:37]opened in 1720742935 [23:21:37]opened+sec_in_day 1720829335 [23:21:37]quantity*price = 15000 [23:21:37]sum+1 = 15001 [23:21:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 57 12.07.2024 23:21 Смена: 433 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875104 ФД: 33379 ФПД: 140968713068625 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T232140&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33379&fm=140968713068625&tin=02508201610067®Number=0000000000093033&sum=15000 0 [23:21:38]StoreToDocumentArchive [23:21:38]shift 433 fd 33379 [23:21:38]save to /storage/0433/doc_00033379 [23:21:38]save last doc name /storage/0433/doc_00033379 to /storage/kkm_last_doc_name [23:21:38]save OK [23:21:38]Clear old archive folders... [23:21:38]ProcessDocumentItem done err = 0, tmpTLVsize=274 [23:21:38]tlvbuf is 00A67930 [23:21:38]SAM_PROTO_ClearQueue [23:21:38]wFMCommunicate request_size=4 [23:21:38]MH_SAM_APDU [23:21:38]CAPDU: 80 09 00 00 [23:21:38]Write to MH i2c: E2 08 00 4E 10 80 09 00 00 00 00 00 00 D0 [23:21:38]Write i2c OK [23:21:38]MH_I2C_Read... [23:21:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:21:38]Read from MH i2c: E2 [23:21:38]MH_I2C_Read... [23:21:38]Read from MH i2c: E2 03 00 [23:21:38]MH_I2C_Read... [23:21:38]Read from MH i2c: E2 03 00 4E 10 00 90 00 D2 [23:21:38]RAPDU: 90 00 [23:21:38]wFMCommunicate OK [23:21:38]SAM_PROTO_ClearQueue done [23:21:38]KKMCreateOFDPacket [23:21:38]OFDProtocolAddRootSTLVToBuf [23:21:38]FM_MakeSignedData [23:21:38]FM_MakeSignedData [23:21:38]SAM_PROTO_SignData [23:21:38]wFMCommunicate request_size=4 [23:21:38]MH_SAM_APDU [23:21:38]CAPDU: 80 0D 01 02 [23:21:38]Write to MH i2c: E2 08 00 4F 10 80 0D 01 02 00 00 00 00 D8 [23:21:38]Write i2c OK [23:21:38]MH_I2C_Read... [23:21:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:21:38]Read from MH i2c: E2 [23:21:38]MH_I2C_Read... [23:21:38]Read from MH i2c: E2 03 00 [23:21:38]MH_I2C_Read... [23:21:38]Read from MH i2c: E2 03 00 4F 10 00 90 00 D3 [23:21:38]RAPDU: 90 00 [23:21:38]wFMCommunicate OK [23:21:38]wFMCommunicate request_size=255 [23:21:38]MH_SAM_APDU [23:21:38]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 84 BA 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 [23:21:38]Write to MH i2c: E2 02 01 50 10 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 84 BA 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 00 00 09 [23:21:38]Write i2c OK [23:21:38]MH_I2C_Read... [23:21:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:21:39]Read from MH i2c: E2 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: E2 03 00 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: E2 03 00 50 10 00 90 00 D4 [23:21:39]RAPDU: 90 00 [23:21:39]wFMCommunicate OK [23:21:39]wFMCommunicate request_size=33 [23:21:39]MH_SAM_APDU [23:21:39]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 35 31 30 34 10 04 04 00 63 82 00 00 35 04 06 00 80 35 D6 11 20 51 [23:21:39]Write to MH i2c: E2 24 00 51 10 80 0D 02 02 1C 00 30 30 30 30 38 37 35 31 30 34 10 04 04 00 63 82 00 00 35 04 06 00 80 35 D6 11 20 51 00 00 55 [23:21:39]Write i2c OK [23:21:39]MH_I2C_Read... [23:21:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:21:39]Read from MH i2c: E2 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: E2 03 00 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: E2 03 00 51 10 00 90 00 D5 [23:21:39]RAPDU: 90 00 [23:21:39]wFMCommunicate OK [23:21:39]wFMCommunicate request_size=4 [23:21:39]MH_SAM_APDU [23:21:39]CAPDU: 80 0D 03 02 [23:21:39]Write to MH i2c: E2 08 00 52 10 80 0D 03 02 00 00 00 00 DD [23:21:39]Write i2c OK [23:21:39]MH_I2C_Read... [23:21:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:21:39]Read from MH i2c: E2 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: E2 0B 00 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: E2 0B 00 52 10 00 3B BC 96 37 E1 8B 7B 9B 90 00 24 [23:21:39]RAPDU: 3B BC 96 37 E1 8B 7B 9B 90 00 [23:21:39]wFMCommunicate OK [23:21:39]SAM_PROTO_SignData done [23:21:39]FM_MakeSignedData done [23:21:39]CreateOFDProtocolMessage [23:21:39]wFMCommunicate request_size=4 [23:21:39]MH_SAM_APDU [23:21:39]CAPDU: 80 11 00 00 [23:21:39]Write to MH i2c: E2 08 00 53 10 80 11 00 00 00 00 00 00 DD [23:21:39]Write i2c OK [23:21:39]MH_I2C_Read... [23:21:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:21:39]Read from MH i2c: E2 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: E2 17 00 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: E2 17 00 53 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 29 [23:21:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:21:39]wFMCommunicate OK [23:21:39]CreateOFDProtocolMessage done [23:21:39]OFDSenderStorePacket 33379 [23:21:39]StoreOFDPacket docnum=33379 [23:21:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 26 01 00 00 0A F2 1E 01 68 E6 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 84 BA 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 63 82 00 00 35 04 06 00 80 35 D6 11 20 51 3B BC 96 37 E1 8B 7B 9B [23:21:39]CheckFolder [23:21:39]dirname=/storage/ofd_packets [23:21:39]CheckFolder done [23:21:39]ProducePacketName [23:21:39]name=ofd_packets/00033379 [23:21:39]NVStorageSaveData ofd_packets/00033379 [23:21:39]File name is /storage/ofd_packets/00033379 [23:21:39]Write 324 bytes [23:21:39]NVStorageSaveData done [23:21:39]OFDSenderStorePacket done [23:21:39]KKMCreateOFDPacket done [23:21:39]NVStorageSaveData kkm_last_timestamp [23:21:39]File name is /storage/kkm_last_timestamp [23:21:39]Write 4 bytes [23:21:39]NVStorageSaveData done [23:21:39]ExternCall_PrintAddStr [23:21:39]wPrintStart [23:21:39]Write to MH i2c: 01 00 00 54 10 64 [23:21:39]Write i2c OK [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: 01 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: 01 07 00 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: 01 07 00 54 10 00 00 00 00 00 FF 0F 79 [23:21:39]RasterBufferAndPrint [23:21:39]line Счет N : (3)169191 [23:21:39]line ИНН: 02508201610067 [23:21:39]line Контрольно-Кассовый Чек [23:21:39]line ПРОДАЖА [23:21:39]line Товар: 46230614 [23:21:39]line Сигареты Richmond Red Edition [23:21:39]line 1.000 * 150.00 [23:21:39]line = 150.00 [23:21:39]line НДС 12% НСП 1% [23:21:39]line > о реализуемом товаре [23:21:39]line ИТОГО: 150.00 [23:21:39]line НСП 1% : 1.33 [23:21:39]line НДС 12% : 15.93 [23:21:39]line Наличными: 0.00 [23:21:39]line Безнал.: 150.00 [23:21:39]line Место: АЗС № 77 "Партнер Нефть" [23:21:39]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [23:21:39]line СНО: Общий режим [23:21:39]line Чек 57 12.07.2024 23:21 [23:21:39]line Смена: 433 ФФД: 1.0 [23:21:39]line ЗНМ: 0300000122 [23:21:39]line РНМ: 0000000000093033 [23:21:39]line Версия ККМ: 001 [23:21:39]line Платежная система: O! деньги [23:21:39]line ФМ: 0000000000875104 [23:21:39]line ФД: 33379 [23:21:39]line ФПД: 140968713068625 [23:21:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240712T232140&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33379&fm=140968713068625&tin=02508201610067®Number=0000000000093033&sum=15000 [23:21:39]OFD Sender: Processing packet 33379 [packets to send 6, broken 5] [23:21:39]ProducePacketName [23:21:39]name=ofd_packets/00033379 [23:21:39]OFD Sender: To server: pG, [23:21:39]CommunicateWithHost lk.salyk.kg:30040 [23:21:39]ConnectInit lk.salyk.kg [23:21:39]line 0 [23:21:39]written 0, free lines is 4095 [23:21:39]Connected sock=10 [23:21:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 26 01 00 00 0A F2 1E 01 68 E6 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 84 BA 91 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 63 82 00 00 35 04 06 00 80 35 D6 11 20 51 3B BC 96 37 E1 8B 7B 9B [23:21:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 5E 5E 47 00 D2 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 38 37 35 31 30 34 10 04 04 00 63 82 00 00 F4 03 04 00 30 65 91 66 B6 04 01 00 00 F8 54 DF 69 6E D5 A6 44 [23:21:39]CommunicateWithHost err = 0 [23:21:39]CheckOFDResponse [23:21:39]1017 (14) - 77093643461234 [23:21:39]1041 (16) - 0000000000875104 [23:21:39]1040 (4) - 33379 [23:21:39]1012 (4) - 12.07.2024 17:17 [23:21:39]1206 (1) - 0 [23:21:39]OFD Sender: Remove packet 33379 [23:21:39]ProducePacketName [23:21:39]name=ofd_packets/00033379 [23:21:39]NVStorageDeleteData [23:21:39]Write to MH i2c: 01 00 00 7F 10 8F [23:21:39]Write i2c OK [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: 01 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: 01 07 00 [23:21:39]MH_I2C_Read... [23:21:39]Read from MH i2c: 01 07 00 7F 10 00 00 00 00 00 C1 0C 63 [23:21:39]RasterBufferAndPrint [23:21:39]line [23:21:39]line [23:21:39]line [23:21:39]line [23:21:39]line [23:21:39]written 0, free lines is 3271 [23:21:40]MH_Cut [23:21:40]Write to MH i2c: D1 01 00 86 10 01 68 [23:21:40]Write i2c OK [23:21:40]MH_I2C_Read... [23:21:40]Read from MH i2c: D1 [23:21:40]MH_I2C_Read... [23:21:40]Read from MH i2c: D1 01 00 [23:21:40]MH_I2C_Read... [23:21:40]Read from MH i2c: D1 01 00 86 10 00 67 [23:21:40]Write to MH i2c: 01 00 00 87 10 97 [23:21:40]Write i2c OK [23:21:40]MH_I2C_Read... [23:21:40]OFD Sender: No OFD packet to send [23:21:40]*** Cut start [23:21:40]*** Partial cut [23:21:40]*** CUTSNS_PIN = 1 [23:21:40]*** CUTSNS_PIN = 0 [23:21:41]*** Brake cut motor [23:21:41]Read from MH i2c: 01 [23:21:41]MH_I2C_Read... [23:21:41]*** Stop cut motor [23:21:41]*** Cut end [23:21:41]Read from MH i2c: 01 07 00 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: 01 07 00 87 10 00 00 00 00 00 FF 0F AC [23:21:41]process_action close_receipt done [23:21:41]requested_data is exist [23:21:41]produce_requested_data [23:21:41]requested_item fm.sn is exist - process it [23:21:41]wFMCommunicate request_size=4 [23:21:41]MH_SAM_APDU [23:21:41]CAPDU: 80 11 00 00 [23:21:41]Write to MH i2c: E2 08 00 88 10 80 11 00 00 00 00 00 00 12 [23:21:41]Write i2c OK [23:21:41]MH_I2C_Read... [23:21:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:21:41]Read from MH i2c: E2 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: E2 17 00 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: E2 17 00 88 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 5E [23:21:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:21:41]wFMCommunicate OK [23:21:41]requested_item fd.num is exist - process it [23:21:41]SAM_PROTO_GetFieldsCounters [23:21:41]wFMCommunicate request_size=4 [23:21:41]MH_SAM_APDU [23:21:41]CAPDU: 80 13 00 00 [23:21:41]Write to MH i2c: E2 08 00 89 10 80 13 00 00 00 00 00 00 15 [23:21:41]Write i2c OK [23:21:41]MH_I2C_Read... [23:21:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:21:41]Read from MH i2c: E2 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: E2 62 00 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: E2 62 00 89 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 6A [23:21:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:21:41]wFMCommunicate OK [23:21:41]SAM_PROTO_GetFieldsCounters done [23:21:41]requested_item shift.num is exist - process it [23:21:41]requested_item shift.opened is exist - process it [23:21:41]req_shift_opened [23:21:41]FM_GetShiftState [23:21:41]SAM_PROTO_GetShiftState [23:21:41]wFMCommunicate request_size=4 [23:21:41]MH_SAM_APDU [23:21:41]CAPDU: 80 13 01 00 [23:21:41]Write to MH i2c: E2 08 00 8A 10 80 13 01 00 00 00 00 00 17 [23:21:41]Write i2c OK [23:21:41]MH_I2C_Read... [23:21:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:21:41]Read from MH i2c: E2 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: E2 0E 00 [23:21:41]MH_I2C_Read... [23:21:41]Read from MH i2c: E2 0E 00 8A 10 00 09 00 01 17 74 90 66 00 00 00 00 90 00 A4 [23:21:41]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [23:21:41]wFMCommunicate OK [23:21:41]SAM_PROTO_GetShiftState done [23:21:41]FM_GetShiftState done [23:21:41]req_shift_opened done [23:21:41]requested_item shift.open_date is exist - process it [23:21:41]req_shift_open_date [23:21:41]req_shift_open_date done [23:21:41]produce_requested_data done [23:21:41]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33379,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [23:21:41]process_action_free close_receipt [23:21:41]json_value_free [23:21:41]json_value_free done [23:21:41]process_json_proto returns [23:21:41]Send response to host [23:21:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33379,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [23:21:41]free response buf [23:21:41]execute_script done [23:21:41]execute_script returns [23:21:41]free content buf [23:21:41]Sock 7.Close socket [23:21:41]Sock 7.Thread stoped [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:11]OFD Sender: No OFD packet to send [23:36:16]OFD Sender: No OFD packet to send [23:36:21]OFD Sender: No OFD packet to send [23:36:26]OFD Sender: No OFD packet to send [23:36:31]OFD Sender: No OFD packet to send [23:36:36]OFD Sender: No OFD packet to send [23:36:41]OFD Sender: No OFD packet to send [23:36:46]OFD Sender: No OFD packet to send [23:36:51]OFD Sender: No OFD packet to send [23:36:56]OFD Sender: No OFD packet to send [23:37:01]OFD Sender: No OFD packet to send [23:37:06]OFD Sender: No OFD packet to send [23:37:11]OFD Sender: No OFD packet to send [23:37:16]OFD Sender: No OFD packet to send [23:37:21]OFD Sender: No OFD packet to send [23:37:26]OFD Sender: No OFD packet to send [23:37:31]OFD Sender: No OFD packet to send [23:37:36]OFD Sender: No OFD packet to send [23:37:41]OFD Sender: No OFD packet to send [23:37:46]OFD Sender: No OFD packet to send [23:37:51]OFD Sender: No OFD packet to send [23:37:56]OFD Sender: No OFD packet to send [23:38:01]OFD Sender: No OFD packet to send [23:38:06]OFD Sender: No OFD packet to send [23:38:11]OFD Sender: No OFD packet to send [23:38:16]OFD Sender: No OFD packet to send [23:38:21]OFD Sender: No OFD packet to send [23:38:26]OFD Sender: No OFD packet to send [23:38:31]OFD Sender: No OFD packet to send [23:38:36]OFD Sender: No OFD packet to send [23:38:41]OFD Sender: No OFD packet to send [23:38:46]OFD Sender: No OFD packet to send [23:38:51]OFD Sender: No OFD packet to send [23:38:56]OFD Sender: No OFD packet to send [23:39:01]OFD Sender: No OFD packet to send [23:39:06]OFD Sender: No OFD packet to send [23:39:11]OFD Sender: No OFD packet to send [23:39:16]OFD Sender: No OFD packet to send [23:39:21]OFD Sender: No OFD packet to send [23:39:26]OFD Sender: No OFD packet to send [23:39:31]OFD Sender: No OFD packet to send [23:39:36]OFD Sender: No OFD packet to send [23:39:41]OFD Sender: No OFD packet to send [23:39:46]OFD Sender: No OFD packet to send [23:39:51]OFD Sender: No OFD packet to send [23:39:56]OFD Sender: No OFD packet to send [23:40:01]OFD Sender: No OFD packet to send [23:40:06]OFD Sender: No OFD packet to send [23:40:11]OFD Sender: No OFD packet to send [23:40:16]OFD Sender: No OFD packet to send [23:40:21]OFD Sender: No OFD packet to send [23:40:26]OFD Sender: No OFD packet to send [23:40:31]OFD Sender: No OFD packet to send [23:40:36]OFD Sender: No OFD packet to send [23:40:41]OFD Sender: No OFD packet to send [23:40:46]OFD Sender: No OFD packet to send [23:40:51]OFD Sender: No OFD packet to send [23:40:56]OFD Sender: No OFD packet to send [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:11]OFD Sender: No OFD packet to send [23:43:16]OFD Sender: No OFD packet to send [23:43:21]OFD Sender: No OFD packet to send [23:43:26]OFD Sender: No OFD packet to send [23:43:31]OFD Sender: No OFD packet to send [23:43:36]OFD Sender: No OFD packet to send [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:21]OFD Sender: No OFD packet to send [23:44:26]OFD Sender: No OFD packet to send [23:44:31]OFD Sender: No OFD packet to send [23:44:36]OFD Sender: No OFD packet to send [23:44:41]OFD Sender: No OFD packet to send [23:44:46]OFD Sender: No OFD packet to send [23:44:51]OFD Sender: No OFD packet to send [23:44:56]OFD Sender: No OFD packet to send [23:45:01]OFD Sender: No OFD packet to send [23:45:06]OFD Sender: No OFD packet to send [23:45:11]OFD Sender: No OFD packet to send [23:45:16]OFD Sender: No OFD packet to send [23:45:21]OFD Sender: No OFD packet to send [23:45:26]OFD Sender: No OFD packet to send [23:45:31]OFD Sender: No OFD packet to send [23:45:36]OFD Sender: No OFD packet to send [23:45:41]OFD Sender: No OFD packet to send [23:45:46]OFD Sender: No OFD packet to send [23:45:51]OFD Sender: No OFD packet to send [23:45:56]OFD Sender: No OFD packet to send [23:46:01]OFD Sender: No OFD packet to send [23:46:06]OFD Sender: No OFD packet to send [23:46:11]OFD Sender: No OFD packet to send [23:46:16]OFD Sender: No OFD packet to send [23:46:21]OFD Sender: No OFD packet to send [23:46:26]OFD Sender: No OFD packet to send [23:46:31]OFD Sender: No OFD packet to send [23:46:36]OFD Sender: No OFD packet to send [23:46:41]OFD Sender: No OFD packet to send [23:46:46]OFD Sender: No OFD packet to send [23:46:51]OFD Sender: No OFD packet to send [23:46:56]OFD Sender: No OFD packet to send [23:47:01]OFD Sender: No OFD packet to send [23:47:06]OFD Sender: No OFD packet to send [23:47:11]OFD Sender: No OFD packet to send [23:47:16]OFD Sender: No OFD packet to send [23:47:21]OFD Sender: No OFD packet to send [23:47:26]OFD Sender: No OFD packet to send [23:47:31]OFD Sender: No OFD packet to send [23:47:36]OFD Sender: No OFD packet to send [23:47:41]OFD Sender: No OFD packet to send [23:47:46]OFD Sender: No OFD packet to send [23:47:51]OFD Sender: No OFD packet to send [23:47:56]OFD Sender: No OFD packet to send [23:48:01]OFD Sender: No OFD packet to send [23:48:06]OFD Sender: No OFD packet to send [23:48:11]OFD Sender: No OFD packet to send [23:48:16]OFD Sender: No OFD packet to send [23:48:21]OFD Sender: No OFD packet to send [23:48:26]OFD Sender: No OFD packet to send [23:48:31]OFD Sender: No OFD packet to send [23:48:36]OFD Sender: No OFD packet to send [23:48:41]OFD Sender: No OFD packet to send [23:48:46]OFD Sender: No OFD packet to send [23:48:51]OFD Sender: No OFD packet to send [23:48:56]OFD Sender: No OFD packet to send [23:49:01]OFD Sender: No OFD packet to send [23:49:06]OFD Sender: No OFD packet to send [23:49:11]OFD Sender: No OFD packet to send [23:49:16]OFD Sender: No OFD packet to send [23:49:21]OFD Sender: No OFD packet to send [23:49:26]OFD Sender: No OFD packet to send [23:49:31]OFD Sender: No OFD packet to send [23:49:36]OFD Sender: No OFD packet to send [23:49:41]OFD Sender: No OFD packet to send [23:49:46]OFD Sender: No OFD packet to send [23:49:51]OFD Sender: No OFD packet to send [23:49:56]OFD Sender: No OFD packet to send [23:50:01]OFD Sender: No OFD packet to send [23:50:06]OFD Sender: No OFD packet to send [23:50:11]OFD Sender: No OFD packet to send [23:50:16]OFD Sender: No OFD packet to send [23:50:21]OFD Sender: No OFD packet to send [23:50:26]OFD Sender: No OFD packet to send [23:50:31]OFD Sender: No OFD packet to send [23:50:36]OFD Sender: No OFD packet to send [23:50:41]OFD Sender: No OFD packet to send [23:50:46]OFD Sender: No OFD packet to send [23:50:51]OFD Sender: No OFD packet to send [23:50:56]OFD Sender: No OFD packet to send [23:51:01]OFD Sender: No OFD packet to send [23:51:06]OFD Sender: No OFD packet to send [23:51:11]OFD Sender: No OFD packet to send [23:51:16]OFD Sender: No OFD packet to send [23:51:21]OFD Sender: No OFD packet to send [23:51:26]OFD Sender: No OFD packet to send [23:51:31]OFD Sender: No OFD packet to send [23:51:36]OFD Sender: No OFD packet to send [23:51:41]OFD Sender: No OFD packet to send [23:51:46]OFD Sender: No OFD packet to send [23:51:51]OFD Sender: No OFD packet to send [23:51:56]OFD Sender: No OFD packet to send [23:52:01]OFD Sender: No OFD packet to send [23:52:06]OFD Sender: No OFD packet to send [23:52:11]OFD Sender: No OFD packet to send [23:52:16]OFD Sender: No OFD packet to send [23:52:21]OFD Sender: No OFD packet to send [23:52:26]OFD Sender: No OFD packet to send [23:52:31]OFD Sender: No OFD packet to send [23:52:36]OFD Sender: No OFD packet to send [23:52:41]OFD Sender: No OFD packet to send [23:52:46]OFD Sender: No OFD packet to send [23:52:51]OFD Sender: No OFD packet to send [23:52:56]OFD Sender: No OFD packet to send [23:53:01]OFD Sender: No OFD packet to send [23:53:06]OFD Sender: No OFD packet to send [23:53:11]OFD Sender: No OFD packet to send [23:53:16]OFD Sender: No OFD packet to send [23:53:21]OFD Sender: No OFD packet to send [23:53:26]OFD Sender: No OFD packet to send [23:53:31]OFD Sender: No OFD packet to send [23:53:36]OFD Sender: No OFD packet to send [23:53:41]OFD Sender: No OFD packet to send [23:53:46]OFD Sender: No OFD packet to send [23:53:51]OFD Sender: No OFD packet to send [23:53:56]OFD Sender: No OFD packet to send [23:54:01]OFD Sender: No OFD packet to send [23:54:06]OFD Sender: No OFD packet to send [23:54:11]OFD Sender: No OFD packet to send [23:54:16]OFD Sender: No OFD packet to send [23:54:21]OFD Sender: No OFD packet to send [23:54:26]OFD Sender: No OFD packet to send [23:54:31]OFD Sender: No OFD packet to send [23:54:36]OFD Sender: No OFD packet to send [23:54:41]OFD Sender: No OFD packet to send [23:54:46]OFD Sender: No OFD packet to send [23:54:51]OFD Sender: No OFD packet to send [23:54:56]OFD Sender: No OFD packet to send [23:55:01]OFD Sender: No OFD packet to send [23:55:06]OFD Sender: No OFD packet to send [23:55:11]OFD Sender: No OFD packet to send [23:55:16]OFD Sender: No OFD packet to send [23:55:21]OFD Sender: No OFD packet to send [23:55:26]OFD Sender: No OFD packet to send [23:55:31]OFD Sender: No OFD packet to send [23:55:36]OFD Sender: No OFD packet to send [23:55:41]OFD Sender: No OFD packet to send [23:55:46]OFD Sender: No OFD packet to send [23:55:51]OFD Sender: No OFD packet to send [23:55:56]OFD Sender: No OFD packet to send [23:56:01]OFD Sender: No OFD packet to send [23:56:06]OFD Sender: No OFD packet to send [23:56:11]OFD Sender: No OFD packet to send [23:56:16]OFD Sender: No OFD packet to send [23:56:21]OFD Sender: No OFD packet to send [23:56:26]OFD Sender: No OFD packet to send [23:56:31]OFD Sender: No OFD packet to send [23:56:36]OFD Sender: No OFD packet to send [23:56:41]OFD Sender: No OFD packet to send [23:56:46]OFD Sender: No OFD packet to send [23:56:51]OFD Sender: No OFD packet to send [23:56:56]OFD Sender: No OFD packet to send [23:57:01]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:32]accept exits with 9 [23:58:32]New connection [23:58:32]New thread 3066604900 created [23:58:32]Thread 3066461540 joined [23:58:32]Waiting for new connection... [23:58:32] Sock 9.Parse request [23:58:32]Sock 9.Check first char [23:58:32]Sock 9.First char is OK [23:58:32]request: POST /json_proto HTTP/1.0 [23:58:32]Method: POST [23:58:32]URL: /json_proto [23:58:32]Method is POST - this is cgi request [23:58:32]url: /json_proto [23:58:32]query_string will be loaded in cgi processing [23:58:32]execute_cgi json_proto POST (null) [23:58:32]execute_cgi path=json_proto method=POST [23:58:32]POST find Content-Length [23:58:32]Host: 172.17.35.196:8080 [23:58:32]Content-Length: 215 [23:58:32]Content-Type: application/json [23:58:32] [23:58:32]POST finish read [23:58:32]Found Content-Length = 215 [23:58:32]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:58:32]execute_script... [23:58:32]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:58:32]POST & json_proto [23:58:32]process_json_proto [23:58:32]json parsed OK: [23:58:32]protocol is kg_v1.0 [23:58:32]action value=get_value [23:58:32]process_action get_value [23:58:32]cmd_get_value [23:58:32]process_action get_value done [23:58:32]requested_data is exist [23:58:32]produce_requested_data [23:58:32]requested_item kkm.sn is exist - process it [23:58:32]requested_item kkm.ver is exist - process it [23:58:32]requested_item fm.sn is exist - process it [23:58:32]wFMCommunicate request_size=4 [23:58:32]MH_SAM_APDU [23:58:32]CAPDU: 80 11 00 00 [23:58:32]Write to MH i2c: E2 08 00 8B 10 80 11 00 00 00 00 00 00 15 [23:58:32]Write i2c OK [23:58:32]MH_I2C_Read... [23:58:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:32]Read from MH i2c: E2 [23:58:32]MH_I2C_Read... [23:58:32]Read from MH i2c: E2 17 00 [23:58:32]MH_I2C_Read... [23:58:32]Read from MH i2c: E2 17 00 8B 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 61 [23:58:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:58:32]wFMCommunicate OK [23:58:32]requested_item fd.num is exist - process it [23:58:32]SAM_PROTO_GetFieldsCounters [23:58:32]wFMCommunicate request_size=4 [23:58:32]MH_SAM_APDU [23:58:32]CAPDU: 80 13 00 00 [23:58:32]Write to MH i2c: E2 08 00 8C 10 80 13 00 00 00 00 00 00 18 [23:58:32]Write i2c OK [23:58:32]MH_I2C_Read... [23:58:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:32]Read from MH i2c: E2 [23:58:32]MH_I2C_Read... [23:58:32]Read from MH i2c: E2 62 00 [23:58:32]MH_I2C_Read... [23:58:32]Read from MH i2c: E2 62 00 8C 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [23:58:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:32]wFMCommunicate OK [23:58:32]SAM_PROTO_GetFieldsCounters done [23:58:32]requested_item shift.num is exist - process it [23:58:32]requested_item shift.opened is exist - process it [23:58:32]req_shift_opened [23:58:32]FM_GetShiftState [23:58:32]SAM_PROTO_GetShiftState [23:58:32]wFMCommunicate request_size=4 [23:58:32]MH_SAM_APDU [23:58:32]CAPDU: 80 13 01 00 [23:58:32]Write to MH i2c: E2 08 00 8D 10 80 13 01 00 00 00 00 00 1A [23:58:32]Write i2c OK [23:58:32]MH_I2C_Read... [23:58:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:32]Read from MH i2c: E2 [23:58:32]MH_I2C_Read... [23:58:32]Read from MH i2c: E2 0E 00 [23:58:32]MH_I2C_Read... [23:58:32]Read from MH i2c: E2 0E 00 8D 10 00 09 00 01 17 74 90 66 00 00 00 00 90 00 A7 [23:58:32]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [23:58:32]wFMCommunicate OK [23:58:32]SAM_PROTO_GetShiftState done [23:58:32]FM_GetShiftState done [23:58:32]req_shift_opened done [23:58:32]requested_item shift.open_date is exist - process it [23:58:32]req_shift_open_date [23:58:32]req_shift_open_date done [23:58:32]produce_requested_data done [23:58:32]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33379,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [23:58:32]process_action_free get_value [23:58:32]json_value_free [23:58:32]json_value_free done [23:58:32]process_json_proto returns [23:58:32]Send response to host [23:58:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33379,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [23:58:32]free response buf [23:58:32]execute_script done [23:58:32]execute_script returns [23:58:32]free content buf [23:58:32]Sock 9.Close socket [23:58:32]Sock 9.Thread stoped [23:58:32]accept exits with 7 [23:58:32]New connection [23:58:32]New thread 3066461540 created [23:58:32]Thread 3066604900 joined [23:58:32]Waiting for new connection... [23:58:32] Sock 7.Parse request [23:58:32]Sock 7.Check first char [23:58:32]Sock 7.First char is OK [23:58:32]request: POST /json_proto HTTP/1.0 [23:58:32]Method: POST [23:58:32]URL: /json_proto [23:58:32]Method is POST - this is cgi request [23:58:32]url: /json_proto [23:58:32]query_string will be loaded in cgi processing [23:58:32]execute_cgi json_proto POST (null) [23:58:32]execute_cgi path=json_proto method=POST [23:58:32]POST find Content-Length [23:58:32]Host: 172.17.35.196:8080 [23:58:32]Content-Length: 331 [23:58:32]Content-Type: application/json [23:58:32] [23:58:32]POST finish read [23:58:32]Found Content-Length = 331 [23:58:32]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:58:32]execute_script... [23:58:32]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:58:32]POST & json_proto [23:58:32]process_json_proto [23:58:32]json parsed OK: [23:58:32]protocol is kg_v1.0 [23:58:32]action value=get_value [23:58:32]process_action get_value [23:58:32]cmd_get_value [23:58:32]process_action get_value done [23:58:32]requested_data is exist [23:58:32]produce_requested_data [23:58:32]requested_item fm.sale.total is exist - process it [23:58:32]SAM_PROTO_GetFMData [23:58:32]wFMCommunicate request_size=4 [23:58:32]MH_SAM_APDU [23:58:32]CAPDU: 80 13 03 00 [23:58:32]Write to MH i2c: E2 08 00 8E 10 80 13 03 00 00 00 00 00 1D [23:58:32]Write i2c OK [23:58:32]MH_I2C_Read... [23:58:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:33]Read from MH i2c: E2 [23:58:33]MH_I2C_Read... [23:58:33]Read from MH i2c: E2 FD 00 [23:58:33]MH_I2C_Read... [23:58:33]Read from MH i2c: E2 FD 00 8E 10 00 C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 C7 [23:58:33]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [23:58:33]wFMCommunicate OK [23:58:33]wFMCommunicate request_size=4 [23:58:33]MH_SAM_APDU [23:58:33]CAPDU: 80 17 00 00 [23:58:33]Write to MH i2c: E2 08 00 8F 10 80 17 00 00 00 00 00 00 1F [23:58:33]Write i2c OK [23:58:33]MH_I2C_Read... [23:58:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:33]Read from MH i2c: E2 [23:58:33]MH_I2C_Read... [23:58:33]Read from MH i2c: E2 FD 00 [23:58:33]MH_I2C_Read... [23:58:33]Read from MH i2c: E2 FD 00 8F 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 DC [23:58:33]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:58:33]wFMCommunicate OK [23:58:33]wFMCommunicate request_size=4 [23:58:33]MH_SAM_APDU [23:58:33]CAPDU: 80 17 00 00 [23:58:33]Write to MH i2c: E2 08 00 90 10 80 17 00 00 00 00 00 00 20 [23:58:33]Write i2c OK [23:58:33]MH_I2C_Read... [23:58:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:33]Read from MH i2c: E2 [23:58:33]MH_I2C_Read... [23:58:33]Read from MH i2c: E2 FD 00 [23:58:33]MH_I2C_Read... [23:58:33]Read from MH i2c: E2 FD 00 90 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [23:58:33]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:33]wFMCommunicate OK [23:58:33]wFMCommunicate request_size=4 [23:58:33]MH_SAM_APDU [23:58:33]CAPDU: 80 17 00 00 [23:58:33]Write to MH i2c: E2 08 00 91 10 80 17 00 00 00 00 00 00 21 [23:58:33]Write i2c OK [23:58:33]MH_I2C_Read... [23:58:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:34]Read from MH i2c: E2 [23:58:34]MH_I2C_Read... [23:58:34]Read from MH i2c: E2 FD 00 [23:58:34]MH_I2C_Read... [23:58:34]Read from MH i2c: E2 FD 00 91 10 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 99 [23:58:34]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:34]wFMCommunicate OK [23:58:34]wFMCommunicate request_size=4 [23:58:34]MH_SAM_APDU [23:58:34]CAPDU: 80 17 00 00 [23:58:34]Write to MH i2c: E2 08 00 92 10 80 17 00 00 00 00 00 00 22 [23:58:34]Write i2c OK [23:58:34]MH_I2C_Read... [23:58:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:58:34]Read from MH i2c: E2 [23:58:34]MH_I2C_Read... [23:58:34]Read from MH i2c: E2 E1 00 [23:58:34]MH_I2C_Read... [23:58:34]Read from MH i2c: E2 E1 00 92 10 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 10 [23:58:34]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:34]wFMCommunicate OK [23:58:34]SAM_PROTO_GetFMData done [23:58:34]requested_item fm.sale_refund.total is exist - process it [23:58:34]requested_item fm.buy.total is exist - process it [23:58:34]requested_item shift.sale.total is exist - process it [23:58:34]SAM_PROTO_GetShiftData [23:58:34]wFMCommunicate request_size=4 [23:58:34]MH_SAM_APDU [23:58:34]CAPDU: 80 13 02 00 [23:58:34]Write to MH i2c: E2 08 00 93 10 80 13 02 00 00 00 00 00 21 [23:58:34]Write i2c OK [23:58:34]MH_I2C_Read... [23:58:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:34]Read from MH i2c: E2 [23:58:34]MH_I2C_Read... [23:58:34]Read from MH i2c: E2 FD 00 [23:58:34]MH_I2C_Read... [23:58:34]Read from MH i2c: E2 FD 00 93 10 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 75 [23:58:34]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:34]wFMCommunicate OK [23:58:34]wFMCommunicate request_size=4 [23:58:34]MH_SAM_APDU [23:58:34]CAPDU: 80 17 00 00 [23:58:34]Write to MH i2c: E2 08 00 94 10 80 17 00 00 00 00 00 00 24 [23:58:34]Write i2c OK [23:58:34]MH_I2C_Read... [23:58:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:35]Read from MH i2c: E2 [23:58:35]MH_I2C_Read... [23:58:35]Read from MH i2c: E2 FD 00 [23:58:35]MH_I2C_Read... [23:58:35]Read from MH i2c: E2 FD 00 94 10 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 46 [23:58:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:58:35]wFMCommunicate OK [23:58:35]wFMCommunicate request_size=4 [23:58:35]MH_SAM_APDU [23:58:35]CAPDU: 80 17 00 00 [23:58:35]Write to MH i2c: E2 08 00 95 10 80 17 00 00 00 00 00 00 25 [23:58:35]Write i2c OK [23:58:35]MH_I2C_Read... [23:58:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:35]Read from MH i2c: E2 [23:58:35]MH_I2C_Read... [23:58:35]Read from MH i2c: E2 FD 00 [23:58:35]MH_I2C_Read... [23:58:35]Read from MH i2c: E2 FD 00 95 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DC [23:58:35]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:58:35]wFMCommunicate OK [23:58:35]wFMCommunicate request_size=4 [23:58:35]MH_SAM_APDU [23:58:35]CAPDU: 80 17 00 00 [23:58:35]Write to MH i2c: E2 08 00 96 10 80 17 00 00 00 00 00 00 26 [23:58:35]Write i2c OK [23:58:35]MH_I2C_Read... [23:58:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:35]Read from MH i2c: E2 [23:58:35]MH_I2C_Read... [23:58:35]Read from MH i2c: E2 FD 00 [23:58:35]MH_I2C_Read... [23:58:35]Read from MH i2c: E2 FD 00 96 10 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 98 [23:58:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:58:35]wFMCommunicate OK [23:58:35]wFMCommunicate request_size=4 [23:58:35]MH_SAM_APDU [23:58:35]CAPDU: 80 17 00 00 [23:58:35]Write to MH i2c: E2 08 00 97 10 80 17 00 00 00 00 00 00 27 [23:58:35]Write i2c OK [23:58:35]MH_I2C_Read... [23:58:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:36]Read from MH i2c: E2 [23:58:36]MH_I2C_Read... [23:58:36]Read from MH i2c: E2 CB 00 [23:58:36]MH_I2C_Read... [23:58:36]Read from MH i2c: E2 CB 00 97 10 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 10 [23:58:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:36]wFMCommunicate OK [23:58:36]SAM_PROTO_GetShiftData done [23:58:36]requested_item shift.sale.total_cash is exist - process it [23:58:36]requested_item shift.sale_refund.total is exist - process it [23:58:36]requested_item shift.sale_refund.total_cash is exist - process it [23:58:36]requested_item shift.buy.total is exist - process it [23:58:36]requested_item shift.buy.total_cash is exist - process it [23:58:36]produce_requested_data done [23:58:36]produce_requested_data return {"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.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:58:36]process_action_free get_value [23:58:36]json_value_free [23:58:36]json_value_free done [23:58:36]process_json_proto returns [23:58:36]Send response to host [23:58:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.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:58:36]free response buf [23:58:36]execute_script done [23:58:36]execute_script returns [23:58:36]free content buf [23:58:36]Sock 7.Close socket [23:58:36]Sock 7.Thread stoped [23:58:36]accept exits with 9 [23:58:36]New connection [23:58:36]New thread 3066604900 created [23:58:36]Thread 3066461540 joined [23:58:36]Waiting for new connection... [23:58:36] Sock 9.Parse request [23:58:36]Sock 9.Check first char [23:58:36]Sock 9.First char is OK [23:58:36]request: POST /json_proto HTTP/1.0 [23:58:36]Method: POST [23:58:36]URL: /json_proto [23:58:36]Method is POST - this is cgi request [23:58:36]url: /json_proto [23:58:36]query_string will be loaded in cgi processing [23:58:36]execute_cgi json_proto POST (null) [23:58:36]execute_cgi path=json_proto method=POST [23:58:36]POST find Content-Length [23:58:36]Host: 172.17.35.196:8080 [23:58:36]Content-Length: 331 [23:58:36]Content-Type: application/json [23:58:36] [23:58:36]POST finish read [23:58:36]Found Content-Length = 331 [23:58:36]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:58:36]execute_script... [23:58:36]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:58:36]POST & json_proto [23:58:36]process_json_proto [23:58:36]json parsed OK: [23:58:36]protocol is kg_v1.0 [23:58:36]action value=get_value [23:58:36]process_action get_value [23:58:36]cmd_get_value [23:58:36]process_action get_value done [23:58:36]requested_data is exist [23:58:36]produce_requested_data [23:58:36]requested_item fm.sale.total is exist - process it [23:58:36]SAM_PROTO_GetFMData [23:58:36]wFMCommunicate request_size=4 [23:58:36]MH_SAM_APDU [23:58:36]CAPDU: 80 13 03 00 [23:58:36]Write to MH i2c: E2 08 00 98 10 80 13 03 00 00 00 00 00 27 [23:58:36]Write i2c OK [23:58:36]MH_I2C_Read... [23:58:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:36]Read from MH i2c: E2 [23:58:36]MH_I2C_Read... [23:58:36]Read from MH i2c: E2 FD 00 [23:58:36]MH_I2C_Read... [23:58:36]Read from MH i2c: E2 FD 00 98 10 00 C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 D1 [23:58:36]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [23:58:36]wFMCommunicate OK [23:58:36]wFMCommunicate request_size=4 [23:58:36]MH_SAM_APDU [23:58:36]CAPDU: 80 17 00 00 [23:58:36]Write to MH i2c: E2 08 00 99 10 80 17 00 00 00 00 00 00 29 [23:58:36]Write i2c OK [23:58:36]MH_I2C_Read... [23:58:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:36]Read from MH i2c: E2 [23:58:36]MH_I2C_Read... [23:58:36]Read from MH i2c: E2 FD 00 [23:58:36]MH_I2C_Read... [23:58:36]Read from MH i2c: E2 FD 00 99 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 E6 [23:58:37]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:58:37]wFMCommunicate OK [23:58:37]wFMCommunicate request_size=4 [23:58:37]MH_SAM_APDU [23:58:37]CAPDU: 80 17 00 00 [23:58:37]Write to MH i2c: E2 08 00 9A 10 80 17 00 00 00 00 00 00 2A [23:58:37]Write i2c OK [23:58:37]MH_I2C_Read... [23:58:37]OFD Sender: No OFD packet to send [23:58:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:37]Read from MH i2c: E2 [23:58:37]MH_I2C_Read... [23:58:37]Read from MH i2c: E2 FD 00 [23:58:37]MH_I2C_Read... [23:58:37]Read from MH i2c: E2 FD 00 9A 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3F [23:58:37]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:37]wFMCommunicate OK [23:58:37]wFMCommunicate request_size=4 [23:58:37]MH_SAM_APDU [23:58:37]CAPDU: 80 17 00 00 [23:58:37]Write to MH i2c: E2 08 00 9B 10 80 17 00 00 00 00 00 00 2B [23:58:37]Write i2c OK [23:58:37]MH_I2C_Read... [23:58:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:37]Read from MH i2c: E2 [23:58:37]MH_I2C_Read... [23:58:37]Read from MH i2c: E2 FD 00 [23:58:37]MH_I2C_Read... [23:58:37]Read from MH i2c: E2 FD 00 9B 10 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A3 [23:58:37]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:37]wFMCommunicate OK [23:58:37]wFMCommunicate request_size=4 [23:58:37]MH_SAM_APDU [23:58:37]CAPDU: 80 17 00 00 [23:58:37]Write to MH i2c: E2 08 00 9C 10 80 17 00 00 00 00 00 00 2C [23:58:37]Write i2c OK [23:58:37]MH_I2C_Read... [23:58:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:58:38]Read from MH i2c: E2 [23:58:38]MH_I2C_Read... [23:58:38]Read from MH i2c: E2 E1 00 [23:58:38]MH_I2C_Read... [23:58:38]Read from MH i2c: E2 E1 00 9C 10 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1A [23:58:38]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:38]wFMCommunicate OK [23:58:38]SAM_PROTO_GetFMData done [23:58:38]requested_item fm.sale_refund.total is exist - process it [23:58:38]requested_item fm.buy.total is exist - process it [23:58:38]requested_item shift.sale.total is exist - process it [23:58:38]SAM_PROTO_GetShiftData [23:58:38]wFMCommunicate request_size=4 [23:58:38]MH_SAM_APDU [23:58:38]CAPDU: 80 13 02 00 [23:58:38]Write to MH i2c: E2 08 00 9D 10 80 13 02 00 00 00 00 00 2B [23:58:38]Write i2c OK [23:58:38]MH_I2C_Read... [23:58:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:38]Read from MH i2c: E2 [23:58:38]MH_I2C_Read... [23:58:38]Read from MH i2c: E2 FD 00 [23:58:38]MH_I2C_Read... [23:58:38]Read from MH i2c: E2 FD 00 9D 10 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7F [23:58:38]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:38]wFMCommunicate OK [23:58:38]wFMCommunicate request_size=4 [23:58:38]MH_SAM_APDU [23:58:38]CAPDU: 80 17 00 00 [23:58:38]Write to MH i2c: E2 08 00 9E 10 80 17 00 00 00 00 00 00 2E [23:58:38]Write i2c OK [23:58:38]MH_I2C_Read... [23:58:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:39]Read from MH i2c: E2 [23:58:39]MH_I2C_Read... [23:58:39]Read from MH i2c: E2 FD 00 [23:58:39]MH_I2C_Read... [23:58:39]Read from MH i2c: E2 FD 00 9E 10 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 50 [23:58:39]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:58:39]wFMCommunicate OK [23:58:39]wFMCommunicate request_size=4 [23:58:39]MH_SAM_APDU [23:58:39]CAPDU: 80 17 00 00 [23:58:39]Write to MH i2c: E2 08 00 9F 10 80 17 00 00 00 00 00 00 2F [23:58:39]Write i2c OK [23:58:39]MH_I2C_Read... [23:58:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:39]Read from MH i2c: E2 [23:58:39]MH_I2C_Read... [23:58:39]Read from MH i2c: E2 FD 00 [23:58:39]MH_I2C_Read... [23:58:39]Read from MH i2c: E2 FD 00 9F 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E6 [23:58:39]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:58:39]wFMCommunicate OK [23:58:39]wFMCommunicate request_size=4 [23:58:39]MH_SAM_APDU [23:58:39]CAPDU: 80 17 00 00 [23:58:39]Write to MH i2c: E2 08 00 A0 10 80 17 00 00 00 00 00 00 30 [23:58:39]Write i2c OK [23:58:39]MH_I2C_Read... [23:58:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:39]Read from MH i2c: E2 [23:58:39]MH_I2C_Read... [23:58:39]Read from MH i2c: E2 FD 00 [23:58:39]MH_I2C_Read... [23:58:39]Read from MH i2c: E2 FD 00 A0 10 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 A2 [23:58:40]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:58:40]wFMCommunicate OK [23:58:40]wFMCommunicate request_size=4 [23:58:40]MH_SAM_APDU [23:58:40]CAPDU: 80 17 00 00 [23:58:40]Write to MH i2c: E2 08 00 A1 10 80 17 00 00 00 00 00 00 31 [23:58:40]Write i2c OK [23:58:40]MH_I2C_Read... [23:58:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:40]Read from MH i2c: E2 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: E2 CB 00 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: E2 CB 00 A1 10 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 1A [23:58:40]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:58:40]wFMCommunicate OK [23:58:40]SAM_PROTO_GetShiftData done [23:58:40]requested_item shift.sale.total_cash is exist - process it [23:58:40]requested_item shift.sale_refund.total is exist - process it [23:58:40]requested_item shift.sale_refund.total_cash is exist - process it [23:58:40]requested_item shift.buy.total is exist - process it [23:58:40]requested_item shift.buy.total_cash is exist - process it [23:58:40]produce_requested_data done [23:58:40]produce_requested_data return {"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.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:58:40]process_action_free get_value [23:58:40]json_value_free [23:58:40]json_value_free done [23:58:40]process_json_proto returns [23:58:40]Send response to host [23:58:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.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:58:40]free response buf [23:58:40]execute_script done [23:58:40]execute_script returns [23:58:40]free content buf [23:58:40]Sock 9.Close socket [23:58:40]Sock 9.Thread stoped [23:58:40]accept exits with 7 [23:58:40]New connection [23:58:40]New thread 3066461540 created [23:58:40]Thread 3066604900 joined [23:58:40]Waiting for new connection... [23:58:40] Sock 7.Parse request [23:58:40]Sock 7.Check first char [23:58:40]Sock 7.First char is OK [23:58:40]request: POST /json_proto HTTP/1.0 [23:58:40]Method: POST [23:58:40]URL: /json_proto [23:58:40]Method is POST - this is cgi request [23:58:40]url: /json_proto [23:58:40]query_string will be loaded in cgi processing [23:58:40]execute_cgi json_proto POST (null) [23:58:40]execute_cgi path=json_proto method=POST [23:58:40]POST find Content-Length [23:58:40]Host: 172.17.35.196:8080 [23:58:40]Content-Length: 263 [23:58:40]Content-Type: application/json [23:58:40] [23:58:40]POST finish read [23:58:40]Found Content-Length = 263 [23:58:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:40]execute_script... [23:58:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:40]POST & json_proto [23:58:40]process_json_proto [23:58:40]json parsed OK: [23:58:40]protocol is kg_v1.0 [23:58:40]action value=x_report [23:58:40]process_action x_report [23:58:40]cmd_x_report [23:58:40]MH_GetDate [23:58:40]Write to MH i2c: F0 00 00 A2 10 A1 [23:58:40]Write i2c OK [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: F0 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: F0 09 00 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: F0 09 00 A2 10 00 33 C3 91 66 AD 14 F4 65 B1 [23:58:40]GetLastDocTimeStamp 1720826500 [23:58:40]current date 1720828723 [23:58:40]FM_GetShiftState [23:58:40]SAM_PROTO_GetShiftState [23:58:40]wFMCommunicate request_size=4 [23:58:40]MH_SAM_APDU [23:58:40]CAPDU: 80 13 01 00 [23:58:40]Write to MH i2c: E2 08 00 A3 10 80 13 01 00 00 00 00 00 30 [23:58:40]Write i2c OK [23:58:40]MH_I2C_Read... [23:58:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:40]Read from MH i2c: E2 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: E2 0E 00 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: E2 0E 00 A3 10 00 09 00 01 17 74 90 66 00 00 00 00 90 00 BD [23:58:40]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [23:58:40]wFMCommunicate OK [23:58:40]SAM_PROTO_GetShiftState done [23:58:40]FM_GetShiftState done [23:58:40]KKMCreateXReportDocument [23:58:40]Load OK [23:58:40]Malloc new data [23:58:40]MH_GetDate [23:58:40]Write to MH i2c: F0 00 00 A4 10 A3 [23:58:40]Write i2c OK [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: F0 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: F0 09 00 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: F0 09 00 A4 10 00 33 C3 91 66 AD 14 F4 65 B3 [23:58:40]Malloc new data [23:58:40]Malloc new data [23:58:40]wFMCommunicate request_size=4 [23:58:40]MH_SAM_APDU [23:58:40]CAPDU: 80 11 00 00 [23:58:40]Write to MH i2c: E2 08 00 A5 10 80 11 00 00 00 00 00 00 2F [23:58:40]Write i2c OK [23:58:40]MH_I2C_Read... [23:58:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:40]Read from MH i2c: E2 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: E2 17 00 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: E2 17 00 A5 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 7B [23:58:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:58:40]wFMCommunicate OK [23:58:40]SAM_PROTO_GetFieldsCounters [23:58:40]wFMCommunicate request_size=4 [23:58:40]MH_SAM_APDU [23:58:40]CAPDU: 80 13 00 00 [23:58:40]Write to MH i2c: E2 08 00 A6 10 80 13 00 00 00 00 00 00 32 [23:58:40]Write i2c OK [23:58:40]MH_I2C_Read... [23:58:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:40]Read from MH i2c: E2 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: E2 62 00 [23:58:40]MH_I2C_Read... [23:58:40]Read from MH i2c: E2 62 00 A6 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [23:58:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:40]wFMCommunicate OK [23:58:40]SAM_PROTO_GetFieldsCounters done [23:58:40]Malloc new data [23:58:40]Malloc new data [23:58:40]Malloc new data [23:58:40]KKMCreateXReportDocument OK [23:58:40]KKMSetXReportData OK [23:58:40]KKMPrepareXReportFMData [23:58:40]SAM_PROTO_GetShiftData [23:58:40]wFMCommunicate request_size=4 [23:58:40]MH_SAM_APDU [23:58:40]CAPDU: 80 13 02 00 [23:58:40]Write to MH i2c: E2 08 00 A7 10 80 13 02 00 00 00 00 00 35 [23:58:40]Write i2c OK [23:58:40]MH_I2C_Read... [23:58:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:41]Read from MH i2c: E2 [23:58:41]MH_I2C_Read... [23:58:41]Read from MH i2c: E2 FD 00 [23:58:41]MH_I2C_Read... [23:58:41]Read from MH i2c: E2 FD 00 A7 10 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 89 [23:58:41]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:41]wFMCommunicate OK [23:58:41]wFMCommunicate request_size=4 [23:58:41]MH_SAM_APDU [23:58:41]CAPDU: 80 17 00 00 [23:58:41]Write to MH i2c: E2 08 00 A8 10 80 17 00 00 00 00 00 00 38 [23:58:41]Write i2c OK [23:58:41]MH_I2C_Read... [23:58:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:41]Read from MH i2c: E2 [23:58:41]MH_I2C_Read... [23:58:41]Read from MH i2c: E2 FD 00 [23:58:41]MH_I2C_Read... [23:58:41]Read from MH i2c: E2 FD 00 A8 10 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 5A [23:58:41]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:58:42]wFMCommunicate OK [23:58:42]wFMCommunicate request_size=4 [23:58:42]MH_SAM_APDU [23:58:42]CAPDU: 80 17 00 00 [23:58:42]Write to MH i2c: E2 08 00 A9 10 80 17 00 00 00 00 00 00 39 [23:58:42]Write i2c OK [23:58:42]MH_I2C_Read... [23:58:42]OFD Sender: No OFD packet to send [23:58:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:42]Read from MH i2c: E2 [23:58:42]MH_I2C_Read... [23:58:42]Read from MH i2c: E2 FD 00 [23:58:42]MH_I2C_Read... [23:58:42]Read from MH i2c: E2 FD 00 A9 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F0 [23:58:42]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:58:42]wFMCommunicate OK [23:58:42]wFMCommunicate request_size=4 [23:58:42]MH_SAM_APDU [23:58:42]CAPDU: 80 17 00 00 [23:58:42]Write to MH i2c: E2 08 00 AA 10 80 17 00 00 00 00 00 00 3A [23:58:42]Write i2c OK [23:58:42]MH_I2C_Read... [23:58:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:42]Read from MH i2c: E2 [23:58:42]MH_I2C_Read... [23:58:42]Read from MH i2c: E2 FD 00 [23:58:42]MH_I2C_Read... [23:58:42]Read from MH i2c: E2 FD 00 AA 10 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 AC [23:58:42]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:58:43]wFMCommunicate OK [23:58:43]wFMCommunicate request_size=4 [23:58:43]MH_SAM_APDU [23:58:43]CAPDU: 80 17 00 00 [23:58:43]Write to MH i2c: E2 08 00 AB 10 80 17 00 00 00 00 00 00 3B [23:58:43]Write i2c OK [23:58:43]MH_I2C_Read... [23:58:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:43]Read from MH i2c: E2 [23:58:43]MH_I2C_Read... [23:58:43]Read from MH i2c: E2 CB 00 [23:58:43]MH_I2C_Read... [23:58:43]Read from MH i2c: E2 CB 00 AB 10 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 24 [23:58:43]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:58:43]wFMCommunicate OK [23:58:43]SAM_PROTO_GetShiftData done [23:58:43]1194 (1194) - счетчики итогов смены [23:58:43] 1134 (4) - 57 - количество чеков со всеми признаками расчетов [23:58:43] 1129 (155) - счетчики операций «приход» [23:58:43] 1135 (4) - 57 - количество чеков по признаку расчетов [23:58:43] 1201 (3) - 16524.78 - общая итоговая сумма в чеках [23:58:43] 1136 (3) - 10775.00 - итоговая сумма в чеках наличными [23:58:43] 1138 (3) - 5749.78 - итоговая сумма в чеках безналичными [23:58:43] 1024 (122) - суммы налогов [23:58:43] 1006 (9) - суммы НДС [23:58:43] 1010 (1) - 0% - код ставки НДС [23:58:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:43] 1006 (12) - суммы НДС [23:58:43] 1010 (1) - 12% - код ставки НДС [23:58:43] 1011 (3) - 1754.91 - сумма НДС по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 0% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (11) - суммы НСП [23:58:43] 1014 (1) - 1% - код ставки НСП [23:58:43] 1015 (2) - 146.21 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 2% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 3% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 5% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 0,50% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 1,50% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1130 (141) - счетчики операций «возврат прихода» [23:58:43] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:43] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:43] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:43] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:43] 1024 (117) - суммы налогов [23:58:43] 1006 (9) - суммы НДС [23:58:43] 1010 (1) - 0% - код ставки НДС [23:58:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:43] 1006 (9) - суммы НДС [23:58:43] 1010 (1) - 12% - код ставки НДС [23:58:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 0% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 1% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 2% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 3% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 5% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 0,50% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 1,50% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1131 (141) - счетчики операций «расход» [23:58:43] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:43] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:43] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:43] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:43] 1024 (117) - суммы налогов [23:58:43] 1006 (9) - суммы НДС [23:58:43] 1010 (1) - 0% - код ставки НДС [23:58:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:43] 1006 (9) - суммы НДС [23:58:43] 1010 (1) - 12% - код ставки НДС [23:58:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 0% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 1% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 2% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 3% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 5% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 0,50% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 1,50% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1132 (141) - счетчики операций «возврат расхода» [23:58:43] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:43] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:43] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:43] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:43] 1024 (117) - суммы налогов [23:58:43] 1006 (9) - суммы НДС [23:58:43] 1010 (1) - 0% - код ставки НДС [23:58:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:43] 1006 (9) - суммы НДС [23:58:43] 1010 (1) - 12% - код ставки НДС [23:58:43] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 0% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 1% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 2% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 3% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 5% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 0,50% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1007 (9) - суммы НСП [23:58:43] 1014 (1) - 1,50% - код ставки НСП [23:58:43] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:43] 1133 (588) - - счетчики коррекции - не используются [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1194 (04AA) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1134 (046E) [23:58:43]Malloc new data [23:58:43]Processing tag 1129 (0469) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1135 (046F) [23:58:43]Malloc new data [23:58:43]Processing tag 1201 (04B1) [23:58:43]Malloc new data [23:58:43]Processing tag 1136 (0470) [23:58:43]Malloc new data [23:58:43]Processing tag 1138 (0472) [23:58:43]Malloc new data [23:58:43]Processing tag 1024 (0400) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1006 (03EE) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1010 (03F2) [23:58:43]Malloc new data [23:58:43]Processing tag 1011 (03F3) [23:58:43]Malloc new data [23:58:43]SetTLVBufToDocument err=0 [23:58:43]Processing tag 1006 (03EE) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1010 (03F2) [23:58:43]Malloc new data [23:58:43]Processing tag 1011 (03F3) [23:58:43]Malloc new data [23:58:43]SetTLVBufToDocument err=0 [23:58:43]Processing tag 1007 (03EF) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1014 (03F6) [23:58:43]Malloc new data [23:58:43]Processing tag 1015 (03F7) [23:58:43]Malloc new data [23:58:43]SetTLVBufToDocument err=0 [23:58:43]Processing tag 1007 (03EF) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1014 (03F6) [23:58:43]Malloc new data [23:58:43]Processing tag 1015 (03F7) [23:58:43]Malloc new data [23:58:43]SetTLVBufToDocument err=0 [23:58:43]Processing tag 1007 (03EF) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1014 (03F6) [23:58:43]Malloc new data [23:58:43]Processing tag 1015 (03F7) [23:58:43]Malloc new data [23:58:43]SetTLVBufToDocument err=0 [23:58:43]Processing tag 1007 (03EF) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1014 (03F6) [23:58:43]Malloc new data [23:58:43]Processing tag 1015 (03F7) [23:58:43]Malloc new data [23:58:43]SetTLVBufToDocument err=0 [23:58:43]Processing tag 1007 (03EF) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1014 (03F6) [23:58:43]Malloc new data [23:58:43]Processing tag 1015 (03F7) [23:58:43]Malloc new data [23:58:43]SetTLVBufToDocument err=0 [23:58:43]Processing tag 1007 (03EF) [23:58:43]Load OK [23:58:43]SetTLVBufToDocument [23:58:43]Processing tag 1014 (03F6) [23:58:43]Malloc new data [23:58:43]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1130 (046A) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1135 (046F) [23:58:44]Malloc new data [23:58:44]Processing tag 1201 (04B1) [23:58:44]Malloc new data [23:58:44]Processing tag 1136 (0470) [23:58:44]Malloc new data [23:58:44]Processing tag 1138 (0472) [23:58:44]Malloc new data [23:58:44]Processing tag 1024 (0400) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1006 (03EE) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1010 (03F2) [23:58:44]Malloc new data [23:58:44]Processing tag 1011 (03F3) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1006 (03EE) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1010 (03F2) [23:58:44]Malloc new data [23:58:44]Processing tag 1011 (03F3) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1131 (046B) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1135 (046F) [23:58:44]Malloc new data [23:58:44]Processing tag 1201 (04B1) [23:58:44]Malloc new data [23:58:44]Processing tag 1136 (0470) [23:58:44]Malloc new data [23:58:44]Processing tag 1138 (0472) [23:58:44]Malloc new data [23:58:44]Processing tag 1024 (0400) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1006 (03EE) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1010 (03F2) [23:58:44]Malloc new data [23:58:44]Processing tag 1011 (03F3) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1006 (03EE) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1010 (03F2) [23:58:44]Malloc new data [23:58:44]Processing tag 1011 (03F3) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1132 (046C) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1135 (046F) [23:58:44]Malloc new data [23:58:44]Processing tag 1201 (04B1) [23:58:44]Malloc new data [23:58:44]Processing tag 1136 (0470) [23:58:44]Malloc new data [23:58:44]Processing tag 1138 (0472) [23:58:44]Malloc new data [23:58:44]Processing tag 1024 (0400) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1006 (03EE) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1010 (03F2) [23:58:44]Malloc new data [23:58:44]Processing tag 1011 (03F3) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1006 (03EE) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1010 (03F2) [23:58:44]Malloc new data [23:58:44]Processing tag 1011 (03F3) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1007 (03EF) [23:58:44]Load OK [23:58:44]SetTLVBufToDocument [23:58:44]Processing tag 1014 (03F6) [23:58:44]Malloc new data [23:58:44]Processing tag 1015 (03F7) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Processing tag 1133 (046D) [23:58:44]Malloc new data [23:58:44]SetTLVBufToDocument err=0 [23:58:44]SetTLVBufToDocument err=0 [23:58:44]Malloc new data [23:58:44]SAM_PROTO_GetFMData [23:58:44]wFMCommunicate request_size=4 [23:58:44]MH_SAM_APDU [23:58:44]CAPDU: 80 13 03 00 [23:58:44]Write to MH i2c: E2 08 00 AC 10 80 13 03 00 00 00 00 00 3B [23:58:44]Write i2c OK [23:58:44]MH_I2C_Read... [23:58:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:45]Read from MH i2c: E2 [23:58:45]MH_I2C_Read... [23:58:45]Read from MH i2c: E2 FD 00 [23:58:45]MH_I2C_Read... [23:58:45]Read from MH i2c: E2 FD 00 AC 10 00 C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 E5 [23:58:45]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [23:58:45]wFMCommunicate OK [23:58:45]wFMCommunicate request_size=4 [23:58:45]MH_SAM_APDU [23:58:45]CAPDU: 80 17 00 00 [23:58:45]Write to MH i2c: E2 08 00 AD 10 80 17 00 00 00 00 00 00 3D [23:58:45]Write i2c OK [23:58:45]MH_I2C_Read... [23:58:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:45]Read from MH i2c: E2 [23:58:45]MH_I2C_Read... [23:58:45]Read from MH i2c: E2 FD 00 [23:58:45]MH_I2C_Read... [23:58:45]Read from MH i2c: E2 FD 00 AD 10 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 FA [23:58:45]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:58:45]wFMCommunicate OK [23:58:45]wFMCommunicate request_size=4 [23:58:45]MH_SAM_APDU [23:58:45]CAPDU: 80 17 00 00 [23:58:45]Write to MH i2c: E2 08 00 AE 10 80 17 00 00 00 00 00 00 3E [23:58:45]Write i2c OK [23:58:45]MH_I2C_Read... [23:58:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:46]Read from MH i2c: E2 [23:58:46]MH_I2C_Read... [23:58:46]Read from MH i2c: E2 FD 00 [23:58:46]MH_I2C_Read... [23:58:46]Read from MH i2c: E2 FD 00 AE 10 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 53 [23:58:46]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:46]wFMCommunicate OK [23:58:46]wFMCommunicate request_size=4 [23:58:46]MH_SAM_APDU [23:58:46]CAPDU: 80 17 00 00 [23:58:46]Write to MH i2c: E2 08 00 AF 10 80 17 00 00 00 00 00 00 3F [23:58:46]Write i2c OK [23:58:46]MH_I2C_Read... [23:58:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:46]Read from MH i2c: E2 [23:58:46]MH_I2C_Read... [23:58:46]Read from MH i2c: E2 FD 00 [23:58:46]MH_I2C_Read... [23:58:46]Read from MH i2c: E2 FD 00 AF 10 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B7 [23:58:46]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:47]wFMCommunicate OK [23:58:47]wFMCommunicate request_size=4 [23:58:47]MH_SAM_APDU [23:58:47]CAPDU: 80 17 00 00 [23:58:47]Write to MH i2c: E2 08 00 B0 10 80 17 00 00 00 00 00 00 40 [23:58:47]Write i2c OK [23:58:47]MH_I2C_Read... [23:58:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:58:47]Read from MH i2c: E2 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 E1 00 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 E1 00 B0 10 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2E [23:58:47]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 OFD Sender: No OFD packet to send [23:58:47]EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:47]wFMCommunicate OK [23:58:47]SAM_PROTO_GetFMData done [23:58:47]FM_GetFMData:85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B 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 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:58:48]oper:6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:48]total:9E 1F A2 3F [23:58:48]Malloc new data [23:58:48]oper:6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B 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 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:58:48]total:BC 87 2D 02 [23:58:48]Malloc new data [23:58:48]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:58:48]total: [23:58:48]Malloc new data [23:58:48]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:58:48]total: [23:58:48]Malloc new data [23:58:48]KKMPrepareXReportFMData err=0 [23:58:48]Х отчет ИНН: 02508201610067 Кассир: Ташыбеков М. 12.07.2024 23:58 Смена: 266 РНМ: 0000000000093033 ЗНМ: 0300000122 СНО: Общий режим Всего чеков: 57 ИТОГИ ПРИХОД Чеков: 57 Общий итог: 16524.78 Итого наличными: 10775.00 Итого безнал.: 5749.78 НДС 0% : 0.00 НДС 12% : 1754.91 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 146.21 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 10775.00 НС Приход: 10675895.34 НС Возвр.Прихода: 365383.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875104 [23:58:48]StoreToDocumentArchive [23:58:48]MH_GetDate [23:58:48]Write to MH i2c: F0 00 00 B1 10 B0 [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: F0 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: F0 09 00 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: F0 09 00 B1 10 00 3B C3 91 66 AD 14 F4 65 C8 [23:58:48]shift 266 fd 1720828731 [23:58:48]Create dir for shift 0266 [23:58:48]save to /storage/0266/doc_1720828731 [23:58:48]save last doc name /storage/0266/doc_1720828731 to /storage/kkm_last_doc_name [23:58:48]save OK [23:58:48]Clear old archive folders... [23:58:48]NVStorageSaveData kkm_last_timestamp [23:58:48]File name is /storage/kkm_last_timestamp [23:58:48]Write 4 bytes [23:58:48]NVStorageSaveData done [23:58:48]ExternCall_PrintAddStr [23:58:48]wPrintStart [23:58:48]Write to MH i2c: 01 00 00 B2 10 C2 [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: 01 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: 01 07 00 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: 01 07 00 B2 10 00 00 00 00 00 FF 0F D7 [23:58:48]RasterBufferAndPrint [23:58:48]line Х отчет [23:58:48]line ИНН: 02508201610067 [23:58:48]line Кассир: Ташыбеков М. [23:58:48]line 12.07.2024 23:58 [23:58:48]line Смена: 266 [23:58:48]line РНМ: 0000000000093033 [23:58:48]line ЗНМ: 0300000122 [23:58:48]line СНО: Общий режим [23:58:48]line Всего чеков: 57 [23:58:48]line ИТОГИ ПРИХОД [23:58:48]line Чеков: 57 [23:58:48]line Общий итог: 16524.78 [23:58:48]line Итого наличными: 10775.00 [23:58:48]line Итого безнал.: 5749.78 [23:58:48]line НДС 0% : 0.00 [23:58:48]line НДС 12% : 1754.91 [23:58:48]line НСП 0% : 0.00 [23:58:48]line НСП 1,50% : 0.00 [23:58:48]line НСП 0,50% : 0.00 [23:58:48]line НСП 5% : 0.00 [23:58:48]line НСП 3% : 0.00 [23:58:48]line НСП 2% : 0.00 [23:58:48]line НСП 1% : 146.21 [23:58:48]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:58:48]line Чеков: 0 [23:58:48]line Общий итог: 0.00 [23:58:48]line Итого наличными: 0.00 [23:58:48]line Итого безнал.: 0.00 [23:58:48]line НДС 0% : 0.00 [23:58:48]line НДС 12% : 0.00 [23:58:48]line НСП 0% : 0.00 [23:58:48]line НСП 1,50% : 0.00 [23:58:48]line НСП 0,50% : 0.00 [23:58:48]line НСП 5% : 0.00 [23:58:48]line НСП 3% : 0.00 [23:58:48]line НСП 2% : 0.00 [23:58:48]line НСП 1% : 0.00 [23:58:48]line ИТОГИ РАСХОД [23:58:48]line Чеков: 0 [23:58:48]line Общий итог: 0.00 [23:58:48]line Итого наличными: 0.00 [23:58:48]line Итого безнал.: 0.00 [23:58:48]line НДС 0% : 0.00 [23:58:48]line НДС 12% : 0.00 [23:58:48]line НСП 0% : 0.00 [23:58:48]line НСП 1,50% : 0.00 [23:58:48]line НСП 0,50% : 0.00 [23:58:48]line НСП 5% : 0.00 [23:58:48]line НСП 3% : 0.00 [23:58:48]line НСП 2% : 0.00 [23:58:48]line НСП 1% : 0.00 [23:58:48]line ИТОГИ ВОЗВРАТ РАСХОДА [23:58:48]line Чеков: 0 [23:58:48]line Общий итог: 0.00 [23:58:48]line Итого наличными: 0.00 [23:58:48]line Итого безнал.: 0.00 [23:58:48]line НДС 0% : 0.00 [23:58:48]line НДС 12% : 0.00 [23:58:48]line НСП 0% : 0.00 [23:58:48]line НСП 1,50% : 0.00 [23:58:48]line НСП 0,50% : 0.00 [23:58:48]line НСП 5% : 0.00 [23:58:48]line НСП 3% : 0.00 [23:58:48]line НСП 2% : 0.00 [23:58:48]line НСП 1% : 0.00 [23:58:48]line Сумма внесений: 0.00 [23:58:48]line Сумма выплат: 0.00 [23:58:48]line Нал. в кассе: 10775.00 [23:58:48]line НС Приход: 10675895.34 [23:58:48]line НС Возвр.Прихода: 365383.00 [23:58:48]line НС Расход: 0.00 [23:58:48]line НС Возвр.Расхода: 0.00 [23:58:48]line ФМ: 0000000000875104 [23:58:48]written 0, free lines is 4095 [23:58:49]Write to MH i2c: 01 00 00 FD 10 0D [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: 01 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: 01 07 00 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: 01 07 00 FD 10 00 00 00 00 00 BA 0A D8 [23:58:49]RasterBufferAndPrint [23:58:49]line [23:58:49]line [23:58:49]line [23:58:49]line [23:58:49]line [23:58:49]written 0, free lines is 2781 [23:58:49]MH_Cut [23:58:49]Write to MH i2c: D1 01 00 04 11 01 E7 [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: D1 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: D1 01 00 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: D1 01 00 04 11 00 E6 [23:58:49]Write to MH i2c: 01 00 00 05 11 16 [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:50]*** Cut start [23:58:50]*** Partial cut [23:58:50]*** CUTSNS_PIN = 1 [23:58:50]*** CUTSNS_PIN = 0 [23:58:50]*** Brake cut motor [23:58:51]Read from MH i2c: 01 [23:58:51]MH_I2C_Read... [23:58:51]*** Stop cut motor [23:58:51]*** Cut end [23:58:51]Read from MH i2c: 01 07 00 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: 01 07 00 05 11 00 00 00 00 00 FF 0F 2B [23:58:51]process_action x_report done [23:58:51]requested_data is exist [23:58:51]produce_requested_data [23:58:51]requested_item fd.num is exist - process it [23:58:51]SAM_PROTO_GetFieldsCounters [23:58:51]wFMCommunicate request_size=4 [23:58:51]MH_SAM_APDU [23:58:51]CAPDU: 80 13 00 00 [23:58:51]Write to MH i2c: E2 08 00 06 11 80 13 00 00 00 00 00 00 93 [23:58:51]Write i2c OK [23:58:51]MH_I2C_Read... [23:58:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:51]Read from MH i2c: E2 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 62 00 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 62 00 06 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [23:58:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:51]wFMCommunicate OK [23:58:51]SAM_PROTO_GetFieldsCounters done [23:58:51]requested_item shift.num is exist - process it [23:58:51]requested_item shift.opened is exist - process it [23:58:51]req_shift_opened [23:58:51]FM_GetShiftState [23:58:51]SAM_PROTO_GetShiftState [23:58:51]wFMCommunicate request_size=4 [23:58:51]MH_SAM_APDU [23:58:51]CAPDU: 80 13 01 00 [23:58:51]Write to MH i2c: E2 08 00 07 11 80 13 01 00 00 00 00 00 95 [23:58:51]Write i2c OK [23:58:51]MH_I2C_Read... [23:58:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:51]Read from MH i2c: E2 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 0E 00 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 0E 00 07 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 22 [23:58:51]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [23:58:51]wFMCommunicate OK [23:58:51]SAM_PROTO_GetShiftState done [23:58:51]FM_GetShiftState done [23:58:51]req_shift_opened done [23:58:51]requested_item shift.open_date is exist - process it [23:58:51]req_shift_open_date [23:58:51]req_shift_open_date done [23:58:51]produce_requested_data done [23:58:51]produce_requested_data return {"fd.num":33379,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [23:58:51]process_action_free x_report [23:58:51]json_value_free [23:58:51]json_value_free done [23:58:51]process_json_proto returns [23:58:51]Send response to host [23:58:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33379,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [23:58:51]free response buf [23:58:51]execute_script done [23:58:51]execute_script returns [23:58:51]free content buf [23:58:51]Sock 7.Close socket [23:58:51]Sock 7.Thread stoped [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:23]accept exits with 9 [23:59:23]New connection [23:59:23]New thread 3066604900 created [23:59:23]Thread 3066461540 joined [23:59:23]Waiting for new connection... [23:59:23] Sock 9.Parse request [23:59:23]Sock 9.Check first char [23:59:23]Sock 9.First char is OK [23:59:23]request: POST /json_proto HTTP/1.0 [23:59:23]Method: POST [23:59:23]URL: /json_proto [23:59:23]Method is POST - this is cgi request [23:59:23]url: /json_proto [23:59:23]query_string will be loaded in cgi processing [23:59:23]execute_cgi json_proto POST (null) [23:59:23]execute_cgi path=json_proto method=POST [23:59:23]POST find Content-Length [23:59:23]Host: 172.17.35.196:8080 [23:59:23]Content-Length: 215 [23:59:23]Content-Type: application/json [23:59:23] [23:59:23]POST finish read [23:59:23]Found Content-Length = 215 [23:59:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:23]execute_script... [23:59:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:23]POST & json_proto [23:59:23]process_json_proto [23:59:23]json parsed OK: [23:59:23]protocol is kg_v1.0 [23:59:23]action value=get_value [23:59:23]process_action get_value [23:59:23]cmd_get_value [23:59:23]process_action get_value done [23:59:23]requested_data is exist [23:59:23]produce_requested_data [23:59:23]requested_item kkm.sn is exist - process it [23:59:23]requested_item kkm.ver is exist - process it [23:59:23]requested_item fm.sn is exist - process it [23:59:23]wFMCommunicate request_size=4 [23:59:23]MH_SAM_APDU [23:59:23]CAPDU: 80 11 00 00 [23:59:23]Write to MH i2c: E2 08 00 08 11 80 11 00 00 00 00 00 00 93 [23:59:23]Write i2c OK [23:59:23]MH_I2C_Read... [23:59:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:23]Read from MH i2c: E2 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 17 00 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 17 00 08 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 DF [23:59:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:59:23]wFMCommunicate OK [23:59:23]requested_item fd.num is exist - process it [23:59:23]SAM_PROTO_GetFieldsCounters [23:59:23]wFMCommunicate request_size=4 [23:59:23]MH_SAM_APDU [23:59:23]CAPDU: 80 13 00 00 [23:59:23]Write to MH i2c: E2 08 00 09 11 80 13 00 00 00 00 00 00 96 [23:59:23]Write i2c OK [23:59:23]MH_I2C_Read... [23:59:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:23]Read from MH i2c: E2 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 62 00 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 62 00 09 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 EB [23:59:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 63 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:23]wFMCommunicate OK [23:59:23]SAM_PROTO_GetFieldsCounters done [23:59:23]requested_item shift.num is exist - process it [23:59:23]requested_item shift.opened is exist - process it [23:59:23]req_shift_opened [23:59:23]FM_GetShiftState [23:59:23]SAM_PROTO_GetShiftState [23:59:23]wFMCommunicate request_size=4 [23:59:23]MH_SAM_APDU [23:59:23]CAPDU: 80 13 01 00 [23:59:23]Write to MH i2c: E2 08 00 0A 11 80 13 01 00 00 00 00 00 98 [23:59:23]Write i2c OK [23:59:23]MH_I2C_Read... [23:59:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:23]Read from MH i2c: E2 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 0E 00 [23:59:23]MH_I2C_Read... [23:59:23]Read from MH i2c: E2 0E 00 0A 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 25 [23:59:23]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [23:59:23]wFMCommunicate OK [23:59:23]SAM_PROTO_GetShiftState done [23:59:23]FM_GetShiftState done [23:59:23]req_shift_opened done [23:59:23]requested_item shift.open_date is exist - process it [23:59:23]req_shift_open_date [23:59:23]req_shift_open_date done [23:59:23]produce_requested_data done [23:59:23]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33379,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935} [23:59:23]process_action_free get_value [23:59:23]json_value_free [23:59:23]json_value_free done [23:59:23]process_json_proto returns [23:59:23]Send response to host [23:59:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33379,"shift.num":433,"shift.opened":1,"shift.open_date":1720742935}}} [23:59:23]free response buf [23:59:23]execute_script done [23:59:23]execute_script returns [23:59:23]free content buf [23:59:23]Sock 9.Close socket [23:59:23]Sock 9.Thread stoped [23:59:23]accept exits with 7 [23:59:23]New connection [23:59:23]New thread 3066461540 created [23:59:23]Thread 3066604900 joined [23:59:23]Waiting for new connection... [23:59:23] Sock 7.Parse request [23:59:23]Sock 7.Check first char [23:59:23]Sock 7.First char is OK [23:59:23]request: POST /json_proto HTTP/1.0 [23:59:23]Method: POST [23:59:23]URL: /json_proto [23:59:23]Method is POST - this is cgi request [23:59:23]url: /json_proto [23:59:23]query_string will be loaded in cgi processing [23:59:23]execute_cgi json_proto POST (null) [23:59:23]execute_cgi path=json_proto method=POST [23:59:23]POST find Content-Length [23:59:23]Host: 172.17.35.196:8080 [23:59:23]Content-Length: 331 [23:59:23]Content-Type: application/json [23:59:23] [23:59:23]POST finish read [23:59:23]Found Content-Length = 331 [23:59: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:59:23]execute_script... [23:59: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:59:23]POST & json_proto [23:59:23]process_json_proto [23:59:23]json parsed OK: [23:59:23]protocol is kg_v1.0 [23:59:23]action value=get_value [23:59:23]process_action get_value [23:59:23]cmd_get_value [23:59:23]process_action get_value done [23:59:23]requested_data is exist [23:59:23]produce_requested_data [23:59:23]requested_item fm.sale.total is exist - process it [23:59:23]SAM_PROTO_GetFMData [23:59:23]wFMCommunicate request_size=4 [23:59:23]MH_SAM_APDU [23:59:23]CAPDU: 80 13 03 00 [23:59:23]Write to MH i2c: E2 08 00 0B 11 80 13 03 00 00 00 00 00 9B [23:59:23]Write i2c OK [23:59:23]MH_I2C_Read... [23:59:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:24]Read from MH i2c: E2 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 0B 11 00 C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 45 [23:59:24]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [23:59:24]wFMCommunicate OK [23:59:24]wFMCommunicate request_size=4 [23:59:24]MH_SAM_APDU [23:59:24]CAPDU: 80 17 00 00 [23:59:24]Write to MH i2c: E2 08 00 0C 11 80 17 00 00 00 00 00 00 9D [23:59:24]Write i2c OK [23:59:24]MH_I2C_Read... [23:59:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:24]Read from MH i2c: E2 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 0C 11 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 5A [23:59:24]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:24]wFMCommunicate OK [23:59:24]wFMCommunicate request_size=4 [23:59:24]MH_SAM_APDU [23:59:24]CAPDU: 80 17 00 00 [23:59:24]Write to MH i2c: E2 08 00 0D 11 80 17 00 00 00 00 00 00 9E [23:59:24]Write i2c OK [23:59:24]MH_I2C_Read... [23:59:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:24]Read from MH i2c: E2 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 [23:59:24]MH_I2C_Read... [23:59:24]Read from MH i2c: E2 FD 00 0D 11 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B3 [23:59:24]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:25]wFMCommunicate OK [23:59:25]wFMCommunicate request_size=4 [23:59:25]MH_SAM_APDU [23:59:25]CAPDU: 80 17 00 00 [23:59:25]Write to MH i2c: E2 08 00 0E 11 80 17 00 00 00 00 00 00 9F [23:59:25]Write i2c OK [23:59:25]MH_I2C_Read... [23:59:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:25]Read from MH i2c: E2 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 FD 00 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 FD 00 0E 11 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 17 [23:59:25]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:25]wFMCommunicate OK [23:59:25]wFMCommunicate request_size=4 [23:59:25]MH_SAM_APDU [23:59:25]CAPDU: 80 17 00 00 [23:59:25]Write to MH i2c: E2 08 00 0F 11 80 17 00 00 00 00 00 00 A0 [23:59:25]Write i2c OK [23:59:25]MH_I2C_Read... [23:59:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:25]Read from MH i2c: E2 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 E1 00 [23:59:25]MH_I2C_Read... [23:59:25]Read from MH i2c: E2 E1 00 0F 11 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8E [23:59:25]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:25]wFMCommunicate OK [23:59:25]SAM_PROTO_GetFMData done [23:59:25]requested_item fm.sale_refund.total is exist - process it [23:59:25]requested_item fm.buy.total is exist - process it [23:59:25]requested_item shift.sale.total is exist - process it [23:59:25]SAM_PROTO_GetShiftData [23:59:25]wFMCommunicate request_size=4 [23:59:25]MH_SAM_APDU [23:59:25]CAPDU: 80 13 02 00 [23:59:25]Write to MH i2c: E2 08 00 10 11 80 13 02 00 00 00 00 00 9F [23:59:25]Write i2c OK [23:59:25]MH_I2C_Read... [23:59:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:26]Read from MH i2c: E2 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 FD 00 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 FD 00 10 11 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F3 [23:59:26]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:26]wFMCommunicate OK [23:59:26]wFMCommunicate request_size=4 [23:59:26]MH_SAM_APDU [23:59:26]CAPDU: 80 17 00 00 [23:59:26]Write to MH i2c: E2 08 00 11 11 80 17 00 00 00 00 00 00 A2 [23:59:26]Write i2c OK [23:59:26]MH_I2C_Read... [23:59:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:26]Read from MH i2c: E2 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 FD 00 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 FD 00 11 11 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 C4 [23:59:26]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:59:26]wFMCommunicate OK [23:59:26]wFMCommunicate request_size=4 [23:59:26]MH_SAM_APDU [23:59:26]CAPDU: 80 17 00 00 [23:59:26]Write to MH i2c: E2 08 00 12 11 80 17 00 00 00 00 00 00 A3 [23:59:26]Write i2c OK [23:59:26]MH_I2C_Read... [23:59:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:26]Read from MH i2c: E2 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 FD 00 [23:59:26]MH_I2C_Read... [23:59:26]Read from MH i2c: E2 FD 00 12 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5A [23:59: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:59:26]wFMCommunicate OK [23:59:26]wFMCommunicate request_size=4 [23:59:26]MH_SAM_APDU [23:59:26]CAPDU: 80 17 00 00 [23:59:26]Write to MH i2c: E2 08 00 13 11 80 17 00 00 00 00 00 00 A4 [23:59:26]Write i2c OK [23:59:26]MH_I2C_Read... [23:59:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:27]Read from MH i2c: E2 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 FD 00 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 FD 00 13 11 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 16 [23:59:27]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:59:27]wFMCommunicate OK [23:59:27]wFMCommunicate request_size=4 [23:59:27]MH_SAM_APDU [23:59:27]CAPDU: 80 17 00 00 [23:59:27]Write to MH i2c: E2 08 00 14 11 80 17 00 00 00 00 00 00 A5 [23:59:27]Write i2c OK [23:59:27]MH_I2C_Read... [23:59:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:27]Read from MH i2c: E2 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 CB 00 [23:59:27]MH_I2C_Read... [23:59:27]Read from MH i2c: E2 CB 00 14 11 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 8E [23:59:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:27]wFMCommunicate OK [23:59:27]SAM_PROTO_GetShiftData done [23:59:27]requested_item shift.sale.total_cash is exist - process it [23:59:27]requested_item shift.sale_refund.total is exist - process it [23:59:27]requested_item shift.sale_refund.total_cash is exist - process it [23:59:27]requested_item shift.buy.total is exist - process it [23:59:27]requested_item shift.buy.total_cash is exist - process it [23:59:27]produce_requested_data done [23:59:27]produce_requested_data return {"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.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:59:27]process_action_free get_value [23:59:27]json_value_free [23:59:27]json_value_free done [23:59:27]process_json_proto returns [23:59:27]Send response to host [23:59:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.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:59:27]free response buf [23:59:27]execute_script done [23:59:27]execute_script returns [23:59:27]free content buf [23:59:27]Sock 7.Close socket [23:59:27]Sock 7.Thread stoped [23:59:27]accept exits with 9 [23:59:27]New connection [23:59:27]New thread 3066604900 created [23:59:27]Thread 3066461540 joined [23:59:27]Waiting for new connection... [23:59:27] Sock 9.Parse request [23:59:27]Sock 9.Check first char [23:59:27]Sock 9.First char is OK [23:59:27]request: POST /json_proto HTTP/1.0 [23:59:27]Method: POST [23:59:27]URL: /json_proto [23:59:27]Method is POST - this is cgi request [23:59:27]url: /json_proto [23:59:27]query_string will be loaded in cgi processing [23:59:27]execute_cgi json_proto POST (null) [23:59:27]execute_cgi path=json_proto method=POST [23:59:27]POST find Content-Length [23:59:27]Host: 172.17.35.196:8080 [23:59:27]Content-Length: 331 [23:59:27]Content-Type: application/json [23:59:27] [23:59:27]POST finish read [23:59:27]Found Content-Length = 331 [23:59:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:27]execute_script... [23:59:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:27]POST & json_proto [23:59:27]process_json_proto [23:59:27]json parsed OK: [23:59:27]protocol is kg_v1.0 [23:59:27]action value=get_value [23:59:27]process_action get_value [23:59:27]cmd_get_value [23:59:27]process_action get_value done [23:59:27]requested_data is exist [23:59:27]produce_requested_data [23:59:27]requested_item fm.sale.total is exist - process it [23:59:27]SAM_PROTO_GetFMData [23:59:27]wFMCommunicate request_size=4 [23:59:27]MH_SAM_APDU [23:59:27]CAPDU: 80 13 03 00 [23:59:27]Write to MH i2c: E2 08 00 15 11 80 13 03 00 00 00 00 00 A5 [23:59:27]OFD Sender: No OFD packet to send [23:59:27]Write i2c OK [23:59:27]MH_I2C_Read... [23:59:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:28]Read from MH i2c: E2 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 FD 00 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 FD 00 15 11 00 C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 4F [23:59:28]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [23:59:28]wFMCommunicate OK [23:59:28]wFMCommunicate request_size=4 [23:59:28]MH_SAM_APDU [23:59:28]CAPDU: 80 17 00 00 [23:59:28]Write to MH i2c: E2 08 00 16 11 80 17 00 00 00 00 00 00 A7 [23:59:28]Write i2c OK [23:59:28]MH_I2C_Read... [23:59:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:28]Read from MH i2c: E2 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 FD 00 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 FD 00 16 11 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 64 [23:59:28]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:28]wFMCommunicate OK [23:59:28]wFMCommunicate request_size=4 [23:59:28]MH_SAM_APDU [23:59:28]CAPDU: 80 17 00 00 [23:59:28]Write to MH i2c: E2 08 00 17 11 80 17 00 00 00 00 00 00 A8 [23:59:28]Write i2c OK [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 [23:59:28]MH_I2C_Read... [23:59:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:28]Read from MH i2c: E2 FD 00 [23:59:28]MH_I2C_Read... [23:59:28]Read from MH i2c: E2 FD 00 17 11 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BD [23:59:28]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:29]wFMCommunicate OK [23:59:29]wFMCommunicate request_size=4 [23:59:29]MH_SAM_APDU [23:59:29]CAPDU: 80 17 00 00 [23:59:29]Write to MH i2c: E2 08 00 18 11 80 17 00 00 00 00 00 00 A9 [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:29]Read from MH i2c: E2 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 FD 00 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 FD 00 18 11 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 21 [23:59:29]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:29]wFMCommunicate OK [23:59:29]wFMCommunicate request_size=4 [23:59:29]MH_SAM_APDU [23:59:29]CAPDU: 80 17 00 00 [23:59:29]Write to MH i2c: E2 08 00 19 11 80 17 00 00 00 00 00 00 AA [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:29]Read from MH i2c: E2 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 E1 00 [23:59:29]MH_I2C_Read... [23:59:29]Read from MH i2c: E2 E1 00 19 11 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 [23:59:29]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:29]wFMCommunicate OK [23:59:29]SAM_PROTO_GetFMData done [23:59:29]requested_item fm.sale_refund.total is exist - process it [23:59:29]requested_item fm.buy.total is exist - process it [23:59:29]requested_item shift.sale.total is exist - process it [23:59:29]SAM_PROTO_GetShiftData [23:59:29]wFMCommunicate request_size=4 [23:59:29]MH_SAM_APDU [23:59:29]CAPDU: 80 13 02 00 [23:59:29]Write to MH i2c: E2 08 00 1A 11 80 13 02 00 00 00 00 00 A9 [23:59:29]Write i2c OK [23:59:29]MH_I2C_Read... [23:59:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:30]Read from MH i2c: E2 [23:59:30]MH_I2C_Read... [23:59:30]Read from MH i2c: E2 FD 00 [23:59:30]MH_I2C_Read... [23:59:30]Read from MH i2c: E2 FD 00 1A 11 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:30]wFMCommunicate OK [23:59:30]wFMCommunicate request_size=4 [23:59:30]MH_SAM_APDU [23:59:30]CAPDU: 80 17 00 00 [23:59:30]Write to MH i2c: E2 08 00 1B 11 80 17 00 00 00 00 00 00 AC [23:59:30]Write i2c OK [23:59:30]MH_I2C_Read... [23:59:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:30]Read from MH i2c: E2 [23:59:30]MH_I2C_Read... [23:59:30]Read from MH i2c: E2 FD 00 [23:59:30]MH_I2C_Read... [23:59:30]Read from MH i2c: E2 FD 00 1B 11 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 CE [23:59:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:59:31]wFMCommunicate OK [23:59:31]wFMCommunicate request_size=4 [23:59:31]MH_SAM_APDU [23:59:31]CAPDU: 80 17 00 00 [23:59:31]Write to MH i2c: E2 08 00 1C 11 80 17 00 00 00 00 00 00 AD [23:59:31]Write i2c OK [23:59:31]MH_I2C_Read... [23:59:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:31]Read from MH i2c: E2 [23:59:31]MH_I2C_Read... [23:59:31]Read from MH i2c: E2 FD 00 [23:59:31]MH_I2C_Read... [23:59:31]Read from MH i2c: E2 FD 00 1C 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 64 [23:59:31]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:59:31]wFMCommunicate OK [23:59:31]wFMCommunicate request_size=4 [23:59:31]MH_SAM_APDU [23:59:31]CAPDU: 80 17 00 00 [23:59:31]Write to MH i2c: E2 08 00 1D 11 80 17 00 00 00 00 00 00 AE [23:59:31]Write i2c OK [23:59:31]MH_I2C_Read... [23:59:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:31]Read from MH i2c: E2 [23:59:31]MH_I2C_Read... [23:59:31]Read from MH i2c: E2 FD 00 [23:59:31]MH_I2C_Read... [23:59:31]Read from MH i2c: E2 FD 00 1D 11 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 20 [23:59:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:59:31]wFMCommunicate OK [23:59:31]wFMCommunicate request_size=4 [23:59:31]MH_SAM_APDU [23:59:31]CAPDU: 80 17 00 00 [23:59:31]Write to MH i2c: E2 08 00 1E 11 80 17 00 00 00 00 00 00 AF [23:59:31]Write i2c OK [23:59:31]MH_I2C_Read... [23:59:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:32]Read from MH i2c: E2 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 CB 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 CB 00 1E 11 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 98 [23:59:32]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:32]wFMCommunicate OK [23:59:32]SAM_PROTO_GetShiftData done [23:59:32]requested_item shift.sale.total_cash is exist - process it [23:59:32]requested_item shift.sale_refund.total is exist - process it [23:59:32]requested_item shift.sale_refund.total_cash is exist - process it [23:59:32]requested_item shift.buy.total is exist - process it [23:59:32]requested_item shift.buy.total_cash is exist - process it [23:59:32]produce_requested_data done [23:59:32]produce_requested_data return {"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.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:59:32]process_action_free get_value [23:59:32]json_value_free [23:59:32]json_value_free done [23:59:32]process_json_proto returns [23:59:32]Send response to host [23:59:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.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:59:32]free response buf [23:59:32]execute_script done [23:59:32]execute_script returns [23:59:32]free content buf [23:59:32]Sock 9.Close socket [23:59:32]Sock 9.Thread stoped [23:59:32]accept exits with 7 [23:59:32]New connection [23:59:32]New thread 3066461540 created [23:59:32]Thread 3066604900 joined [23:59:32]Waiting for new connection... [23:59:32] Sock 7.Parse request [23:59:32]Sock 7.Check first char [23:59:32]Sock 7.First char is OK [23:59:32]request: POST /json_proto HTTP/1.0 [23:59:32]Method: POST [23:59:32]URL: /json_proto [23:59:32]Method is POST - this is cgi request [23:59:32]url: /json_proto [23:59:32]query_string will be loaded in cgi processing [23:59:32]execute_cgi json_proto POST (null) [23:59:32]execute_cgi path=json_proto method=POST [23:59:32]POST find Content-Length [23:59:32]Host: 172.17.35.196:8080 [23:59:32]Content-Length: 266 [23:59:32]Content-Type: application/json [23:59:32] [23:59:32]POST finish read [23:59:32]Found Content-Length = 266 [23:59:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:32]execute_script... [23:59:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0430\u0448\u044B\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:32]POST & json_proto [23:59:32]process_json_proto [23:59:32]json parsed OK: [23:59:32]protocol is kg_v1.0 [23:59:32]action value=close_shift [23:59:32]process_action close_shift [23:59:32]cmd_close_shift [23:59:32]MH_GetDate [23:59:32]Write to MH i2c: F0 00 00 1F 11 1F [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 09 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 09 00 1F 11 00 67 C3 91 66 AD 14 F4 65 63 [23:59:32]GetLastDocTimeStamp 1720828723 [23:59:32]current date 1720828775 [23:59:32]FM_GetShiftState [23:59:32]SAM_PROTO_GetShiftState [23:59:32]wFMCommunicate request_size=4 [23:59:32]MH_SAM_APDU [23:59:32]CAPDU: 80 13 01 00 [23:59:32]Write to MH i2c: E2 08 00 20 11 80 13 01 00 00 00 00 00 AE [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:32]Read from MH i2c: E2 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 0E 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 0E 00 20 11 00 09 00 01 17 74 90 66 00 00 00 00 90 00 3B [23:59:32]RAPDU: 09 00 01 17 74 90 66 00 00 00 00 90 00 [23:59:32]wFMCommunicate OK [23:59:32]SAM_PROTO_GetShiftState done [23:59:32]FM_GetShiftState done [23:59:32]KKMCreateCloseShiftDocument [23:59:32]Load OK [23:59:32]Malloc new data [23:59:32]MH_GetDate [23:59:32]Write to MH i2c: F0 00 00 21 11 21 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 09 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 09 00 21 11 00 67 C3 91 66 AD 14 F4 65 65 [23:59:32]Malloc new data [23:59:32]Malloc new data [23:59:32]Malloc new data [23:59:32]Malloc new data [23:59:32]KKMCreateCloseShiftDocument OK [23:59:32]KKMSetCloseShiftData OK [23:59:32]ProcessDocumentItem done err = 0, tmpTLVsize=73 [23:59:32]tlvbuf is 00AC33D0 [23:59:32]KKMLoadAndSignCloseShiftData [23:59:32]SAM_PROTO_ProcessDocument [23:59:32]wFMCommunicate request_size=9 [23:59:32]MH_SAM_APDU [23:59:32]CAPDU: 80 15 01 00 04 05 00 49 00 [23:59:32]Write to MH i2c: E2 0C 00 22 11 80 15 01 00 04 00 05 00 49 00 00 00 08 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:59:32]Read from MH i2c: E2 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 22 11 00 90 00 A7 [23:59:32]RAPDU: 90 00 [23:59:32]wFMCommunicate OK [23:59:32]wFMCommunicate request_size=23 [23:59:32]MH_SAM_APDU [23:59:32]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:59:32]Write to MH i2c: E2 1A 00 23 11 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 A9 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]OFD Sender: No OFD packet to send [23:59:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:32]Read from MH i2c: E2 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 23 11 00 90 00 A8 [23:59:32]RAPDU: 90 00 [23:59:32]wFMCommunicate OK [23:59:32]wFMCommunicate request_size=32 [23:59:32]MH_SAM_APDU [23:59:32]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 [23:59:32]Write to MH i2c: E2 23 00 24 11 80 15 02 00 1B 00 FD 03 17 00 D0 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 00 00 23 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:32]Read from MH i2c: E2 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 24 11 00 90 00 A9 [23:59:32]RAPDU: 90 00 [23:59:32]wFMCommunicate OK [23:59:32]wFMCommunicate request_size=13 [23:59:32]MH_SAM_APDU [23:59:32]CAPDU: 80 15 02 00 08 F4 03 04 00 67 C3 91 66 [23:59:32]Write to MH i2c: E2 10 00 25 11 80 15 02 00 08 00 F4 03 04 00 67 C3 91 66 00 00 E2 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:32]Read from MH i2c: E2 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 25 11 00 90 00 AA [23:59:32]RAPDU: 90 00 [23:59:32]wFMCommunicate OK [23:59:32]wFMCommunicate request_size=25 [23:59:32]MH_SAM_APDU [23:59:32]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 [23:59:32]Write to MH i2c: E2 1C 00 26 11 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 00 00 12 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:32]Read from MH i2c: E2 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 03 00 26 11 00 90 00 AB [23:59:33]RAPDU: 90 00 [23:59:33]wFMCommunicate OK [23:59:33]wFMCommunicate request_size=4 [23:59:33]MH_SAM_APDU [23:59:33]CAPDU: 80 15 03 00 [23:59:33]Write to MH i2c: E2 08 00 27 11 80 15 03 00 00 00 00 00 B9 [23:59:33]Write i2c OK [23:59:33]MH_I2C_Read... [23:59:33]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:59:33]Read from MH i2c: E2 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 FD 00 [23:59:33]MH_I2C_Read... [23:59:33]Read from MH i2c: E2 FD 00 27 11 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 64 82 00 00 0E 04 04 00 B1 01 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B1 [23:59:33]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 64 82 00 00 0E 04 04 00 B1 01 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:33]wFMCommunicate OK [23:59:33]SAM_PROTO_ProcessDocument answer len = 1265 [23:59:33]SAM_PROTO_ProcessDocument remain to read = 1017 [23:59:33]wFMCommunicate request_size=4 [23:59:33]MH_SAM_APDU [23:59:33]CAPDU: 80 17 00 00 [23:59:33]Write to MH i2c: E2 08 00 28 11 80 17 00 00 00 00 00 00 B9 [23:59:33]Write i2c OK [23:59:33]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 28 11 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 02 [23:59:34]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:59:34]wFMCommunicate OK [23:59:34]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:34]SAM_PROTO_ProcessDocument remain to read = 767 [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 17 00 00 [23:59:34]Write to MH i2c: E2 08 00 29 11 80 17 00 00 00 00 00 00 BA [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 FD 00 29 11 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 1C [23:59:34]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:59:34]wFMCommunicate OK [23:59:34]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:34]SAM_PROTO_ProcessDocument remain to read = 517 [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 17 00 00 [23:59:34]Write to MH i2c: E2 08 00 2A 11 80 17 00 00 00 00 00 00 BB [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 FD 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 FD 00 2A 11 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 45 [23:59:35]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:59:35]wFMCommunicate OK [23:59:35]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:35]SAM_PROTO_ProcessDocument remain to read = 267 [23:59:35]wFMCommunicate request_size=4 [23:59:35]MH_SAM_APDU [23:59:35]CAPDU: 80 17 00 00 [23:59:35]Write to MH i2c: E2 08 00 2B 11 80 17 00 00 00 00 00 00 BC [23:59:35]Write i2c OK [23:59:35]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 FD 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 FD 00 2B 11 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 84 [23:59:35]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:59:35]wFMCommunicate OK [23:59:35]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:35]SAM_PROTO_ProcessDocument remain to read = 17 [23:59:35]wFMCommunicate request_size=4 [23:59:35]MH_SAM_APDU [23:59:35]CAPDU: 80 17 00 00 [23:59:35]Write to MH i2c: E2 08 00 2C 11 80 17 00 00 00 00 00 00 BD [23:59:35]Write i2c OK [23:59:35]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 14 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 14 00 2C 11 00 01 00 06 F7 03 00 00 35 04 06 00 7B 93 EC 61 A2 17 90 00 16 [23:59:35]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 7B 93 EC 61 A2 17 90 00 [23:59:35]wFMCommunicate OK [23:59:35]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:59:35]SAM_PROTO_ProcessDocument done [23:59:35]1209 (1) - 1.0 - номер версии ФФД [23:59:35]1041 (16) - 0000000000875104 - номер ФМ [23:59:35]1040 (4) - 33380 - номер ФД [23:59:35]1038 (4) - 433 - номер смены [23:59:35]1118 (4) - 57 - количество кассовых чеков за смену [23:59:35]1111 (4) - 59 - общее количество ФД за смену [23:59:35]1194 (1194) - счетчики итогов смены [23:59:35] 1134 (4) - 57 - количество чеков со всеми признаками расчетов [23:59:36] 1129 (155) - счетчики операций «приход» [23:59:36] 1135 (4) - 57 - количество чеков по признаку расчетов [23:59:36] 1201 (3) - 16524.78 - общая итоговая сумма в чеках [23:59:36] 1136 (3) - 10775.00 - итоговая сумма в чеках наличными [23:59:36] 1138 (3) - 5749.78 - итоговая сумма в чеках безналичными [23:59:36] 1024 (122) - суммы налогов [23:59:36] 1006 (9) - суммы НДС [23:59:36] 1010 (1) - 0% - код ставки НДС [23:59:36] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:36] 1006 (12) - суммы НДС [23:59:36] 1010 (1) - 12% - код ставки НДС [23:59:36] 1011 (3) - 1754.91 - сумма НДС по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 0% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (11) - суммы НСП [23:59:36] 1014 (1) - 1% - код ставки НСП [23:59:36] 1015 (2) - 146.21 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 2% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 3% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 5% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 0,50% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 1,50% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1130 (141) - счетчики операций «возврат прихода» [23:59:36] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:36] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:36] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:36] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:36] 1024 (117) - суммы налогов [23:59:36] 1006 (9) - суммы НДС [23:59:36] 1010 (1) - 0% - код ставки НДС [23:59:36] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:36] 1006 (9) - суммы НДС [23:59:36] 1010 (1) - 12% - код ставки НДС [23:59:36] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 0% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 1% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 2% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 3% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 5% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 0,50% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 1,50% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1131 (141) - счетчики операций «расход» [23:59:36] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:36] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:36] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:36] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:36] 1024 (117) - суммы налогов [23:59:36] 1006 (9) - суммы НДС [23:59:36] 1010 (1) - 0% - код ставки НДС [23:59:36] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:36] 1006 (9) - суммы НДС [23:59:36] 1010 (1) - 12% - код ставки НДС [23:59:36] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 0% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 1% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 2% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 3% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 5% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 0,50% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 1,50% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1132 (141) - счетчики операций «возврат расхода» [23:59:36] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:36] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:36] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:36] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:36] 1024 (117) - суммы налогов [23:59:36] 1006 (9) - суммы НДС [23:59:36] 1010 (1) - 0% - код ставки НДС [23:59:36] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:36] 1006 (9) - суммы НДС [23:59:36] 1010 (1) - 12% - код ставки НДС [23:59:36] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 0% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 1% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 2% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 3% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 5% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 0,50% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1007 (9) - суммы НСП [23:59:36] 1014 (1) - 1,50% - код ставки НСП [23:59:36] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:36] 1133 (588) - - счетчики коррекции - не используются [23:59:36]1077 (6) - 135875256230423 - ФПД [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1209 (04B9) [23:59:36]Malloc new data [23:59:36]Processing tag 1041 (0411) [23:59:36]Processing tag 1040 (0410) [23:59:36]Malloc new data [23:59:36]Processing tag 1038 (040E) [23:59:36]Malloc new data [23:59:36]Processing tag 1118 (045E) [23:59:36]Malloc new data [23:59:36]Processing tag 1111 (0457) [23:59:36]Malloc new data [23:59:36]Processing tag 1194 (04AA) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1134 (046E) [23:59:36]Malloc new data [23:59:36]Processing tag 1129 (0469) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1135 (046F) [23:59:36]Malloc new data [23:59:36]Processing tag 1201 (04B1) [23:59:36]Malloc new data [23:59:36]Processing tag 1136 (0470) [23:59:36]Malloc new data [23:59:36]Processing tag 1138 (0472) [23:59:36]Malloc new data [23:59:36]Processing tag 1024 (0400) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1006 (03EE) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1010 (03F2) [23:59:36]Malloc new data [23:59:36]Processing tag 1011 (03F3) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1006 (03EE) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1010 (03F2) [23:59:36]Malloc new data [23:59:36]Processing tag 1011 (03F3) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]SetTLVBufToDocument err=0 [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1130 (046A) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1135 (046F) [23:59:36]Malloc new data [23:59:36]Processing tag 1201 (04B1) [23:59:36]Malloc new data [23:59:36]Processing tag 1136 (0470) [23:59:36]Malloc new data [23:59:36]Processing tag 1138 (0472) [23:59:36]Malloc new data [23:59:36]Processing tag 1024 (0400) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1006 (03EE) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1010 (03F2) [23:59:36]Malloc new data [23:59:36]Processing tag 1011 (03F3) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1006 (03EE) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1010 (03F2) [23:59:36]Malloc new data [23:59:36]Processing tag 1011 (03F3) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]SetTLVBufToDocument err=0 [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1131 (046B) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1135 (046F) [23:59:36]Malloc new data [23:59:36]Processing tag 1201 (04B1) [23:59:36]Malloc new data [23:59:36]Processing tag 1136 (0470) [23:59:36]Malloc new data [23:59:36]Processing tag 1138 (0472) [23:59:36]Malloc new data [23:59:36]Processing tag 1024 (0400) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1006 (03EE) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1010 (03F2) [23:59:36]Malloc new data [23:59:36]Processing tag 1011 (03F3) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1006 (03EE) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1010 (03F2) [23:59:36]Malloc new data [23:59:36]Processing tag 1011 (03F3) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]SetTLVBufToDocument err=0 [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1132 (046C) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1135 (046F) [23:59:36]Malloc new data [23:59:36]Processing tag 1201 (04B1) [23:59:36]Malloc new data [23:59:36]Processing tag 1136 (0470) [23:59:36]Malloc new data [23:59:36]Processing tag 1138 (0472) [23:59:36]Malloc new data [23:59:36]Processing tag 1024 (0400) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1006 (03EE) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1010 (03F2) [23:59:36]Malloc new data [23:59:36]Processing tag 1011 (03F3) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1006 (03EE) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1010 (03F2) [23:59:36]Malloc new data [23:59:36]Processing tag 1011 (03F3) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1007 (03EF) [23:59:36]Load OK [23:59:36]SetTLVBufToDocument [23:59:36]Processing tag 1014 (03F6) [23:59:36]Malloc new data [23:59:36]Processing tag 1015 (03F7) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:36]SetTLVBufToDocument err=0 [23:59:36]SetTLVBufToDocument err=0 [23:59:36]Processing tag 1133 (046D) [23:59:36]Malloc new data [23:59:36]SetTLVBufToDocument err=0 [23:59:37]Processing tag 1077 (0435) [23:59:37]Malloc new data [23:59:37]SetTLVBufToDocument err=0 [23:59:37]Malloc new data [23:59:37]SAM_PROTO_GetFMData [23:59:37]wFMCommunicate request_size=4 [23:59:37]MH_SAM_APDU [23:59:37]CAPDU: 80 13 03 00 [23:59:37]Write to MH i2c: E2 08 00 2D 11 80 13 03 00 00 00 00 00 BD [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:37]OFD Sender: No OFD packet to send [23:59:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:37]Read from MH i2c: E2 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 FD 00 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 FD 00 2D 11 00 C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 67 [23:59:37]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [23:59:38]wFMCommunicate OK [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 17 00 00 [23:59:38]Write to MH i2c: E2 08 00 2E 11 80 17 00 00 00 00 00 00 BF [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 2E 11 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 7C [23:59:38]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:38]wFMCommunicate OK [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 17 00 00 [23:59:38]Write to MH i2c: E2 08 00 2F 11 80 17 00 00 00 00 00 00 C0 [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 2F 11 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D5 [23:59:39]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 30 11 80 17 00 00 00 00 00 00 C1 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 30 11 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 39 [23:59:39]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 31 11 80 17 00 00 00 00 00 00 C2 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 E1 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 E1 00 31 11 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B0 [23:59:40]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:40]wFMCommunicate OK [23:59:40]SAM_PROTO_GetFMData done [23:59:40]Malloc new data [23:59:40]Malloc new data [23:59:40]Malloc new data [23:59:40]Malloc new data [23:59:40]KKMLoadAndSignCloseShiftData err=0 [23:59:40]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Ташыбеков М. 12.07.2024 23:59 Смена: 433 РНМ: 0000000000093033 ЗНМ: 0300000122 СНО: Общий режим Чеков за смену: 57 ФД за смену: 59 Всего чеков: 57 ИТОГИ ПРИХОД Чеков: 57 Общий итог: 16524.78 Итого наличными: 10775.00 Итого безнал.: 5749.78 НДС 0% : 0.00 НДС 12% : 1754.91 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 146.21 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 10775.00 НС Приход: 10675895.34 НС Возвр.Прихода: 365383.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 33380 ФМ: 0000000000875104 ФПД: 135875256230423 [23:59:40]StoreToDocumentArchive [23:59:40]shift 433 fd 33380 [23:59:40]save to /storage/0433/doc_00033380 [23:59:40]save last doc name /storage/0433/doc_00033380 to /storage/kkm_last_doc_name [23:59:40]save OK [23:59:40]Clear old archive folders... [23:59:40]Remove dir /storage/0266 [23:59:40]opendir ok [23:59:40]file . [23:59:40]file .. [23:59:40]file doc_1720828731 [23:59:40]remove file /storage/0266/doc_1720828731 [23:59:40]remove dir /storage/0266 [23:59:40]NVStorageSaveData kkm_registers [23:59:40]File name is /storage/kkm_registers [23:59:40]Write 24 bytes [23:59:40]NVStorageSaveData done [23:59:40]NVStorageSaveData kkm_registers [23:59:40]File name is /storage/kkm_registers [23:59:40]Write 24 bytes [23:59:40]NVStorageSaveData done [23:59:40]ProcessDocumentItem done err = 0, tmpTLVsize=1381 [23:59:40]tlvbuf is 00B1D7B0 [23:59:40]SAM_PROTO_ClearQueue [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 09 00 00 [23:59:40]Write to MH i2c: E2 08 00 32 11 80 09 00 00 00 00 00 00 B5 [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 03 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 03 00 32 11 00 90 00 B7 [23:59:40]RAPDU: 90 00 [23:59:40]wFMCommunicate OK [23:59:40]SAM_PROTO_ClearQueue done [23:59:40]KKMCreateOFDPacket [23:59:40]OFDProtocolAddRootSTLVToBuf [23:59:40]FM_MakeSignedData [23:59:40]FM_MakeSignedData [23:59:40]SAM_PROTO_SignData [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 0D 01 02 [23:59:40]Write to MH i2c: E2 08 00 33 11 80 0D 01 02 00 00 00 00 BD [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 03 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 03 00 33 11 00 90 00 B8 [23:59:40]RAPDU: 90 00 [23:59:40]wFMCommunicate OK [23:59:40]wFMCommunicate request_size=255 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 0D 02 02 FA 05 00 65 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 17 00 D0 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F4 03 04 00 67 C3 91 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 D5 04 6E 04 04 00 39 00 00 00 69 04 A2 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 [23:59:40]Write to MH i2c: E2 02 01 34 11 80 0D 02 02 FA 00 05 00 65 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 17 00 D0 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F4 03 04 00 67 C3 91 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 D5 04 6E 04 04 00 39 00 00 00 69 04 A2 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 00 00 C9 [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 03 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 03 00 34 11 00 90 00 B9 [23:59:41]RAPDU: 90 00 [23:59:41]wFMCommunicate OK [23:59:41]wFMCommunicate request_size=255 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 0D 02 02 FA 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 1D 39 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 [23:59:41]Write to MH i2c: E2 02 01 35 11 80 0D 02 02 FA 00 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 1D 39 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 00 00 80 [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 03 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 03 00 35 11 00 90 00 BA [23:59:41]RAPDU: 90 00 [23:59:41]wFMCommunicate OK [23:59:41]wFMCommunicate request_size=255 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 0D 02 02 FA 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 [23:59:42]Write to MH i2c: E2 02 01 36 11 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 00 00 88 [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 03 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 03 00 36 11 00 90 00 BB [23:59:42]RAPDU: 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=255 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 0D 02 02 FA 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 [23:59:42]Write to MH i2c: E2 02 01 37 11 80 0D 02 02 FA 00 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 00 00 86 [23:59:42]OFD Sender: No OFD packet to send [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:43]Read from MH i2c: E2 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 03 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 03 00 37 11 00 90 00 BC [23:59:43]RAPDU: 90 00 [23:59:43]wFMCommunicate OK [23:59:43]wFMCommunicate request_size=255 [23:59:43]MH_SAM_APDU [23:59:43]CAPDU: 80 0D 02 02 FA 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:59:43]Write to MH i2c: E2 02 01 38 11 80 0D 02 02 FA 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 00 4E [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:43]Read from MH i2c: E2 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 03 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 03 00 38 11 00 90 00 BD [23:59:43]RAPDU: 90 00 [23:59:43]wFMCommunicate OK [23:59:43]wFMCommunicate request_size=140 [23:59:43]MH_SAM_APDU [23:59:43]CAPDU: 80 0D 02 02 87 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 64 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 7B 93 EC 61 A2 17 [23:59:43]Write to MH i2c: E2 8F 00 39 11 80 0D 02 02 87 00 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 64 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 7B 93 EC 61 A2 17 00 00 F6 [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:44]Read from MH i2c: E2 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 03 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 03 00 39 11 00 90 00 BE [23:59:44]RAPDU: 90 00 [23:59:44]wFMCommunicate OK [23:59:44]wFMCommunicate request_size=4 [23:59:44]MH_SAM_APDU [23:59:44]CAPDU: 80 0D 03 02 [23:59:44]Write to MH i2c: E2 08 00 3A 11 80 0D 03 02 00 00 00 00 C6 [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:59:44]Read from MH i2c: E2 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 0B 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 0B 00 3A 11 00 FB 04 ED FB E4 D7 28 CA 90 00 5B [23:59:44]RAPDU: FB 04 ED FB E4 D7 28 CA 90 00 [23:59:44]wFMCommunicate OK [23:59:44]SAM_PROTO_SignData done [23:59:44]FM_MakeSignedData done [23:59:44]CreateOFDProtocolMessage [23:59:44]wFMCommunicate request_size=4 [23:59:44]MH_SAM_APDU [23:59:44]CAPDU: 80 11 00 00 [23:59:44]Write to MH i2c: E2 08 00 3B 11 80 11 00 00 00 00 00 00 C6 [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 [23:59:44]MH_I2C_Read... [23:59:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:44]Read from MH i2c: E2 17 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 17 00 3B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 12 [23:59:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [23:59:44]wFMCommunicate OK [23:59:44]CreateOFDProtocolMessage done [23:59:44]OFDSenderStorePacket 33380 [23:59:44]StoreOFDPacket docnum=33380 [23:59:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 79 05 00 00 99 42 71 05 17 D6 5A 05 01 00 05 00 65 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 17 00 D0 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F4 03 04 00 67 C3 91 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 D5 04 6E 04 04 00 39 00 00 00 69 04 A2 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 64 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 7B 93 EC 61 A2 17 FB 04 ED FB E4 D7 28 CA [23:59:44]CheckFolder [23:59:44]dirname=/storage/ofd_packets [23:59:44]CheckFolder done [23:59:44]ProducePacketName [23:59:44]name=ofd_packets/00033380 [23:59:44]NVStorageSaveData ofd_packets/00033380 [23:59:44]File name is /storage/ofd_packets/00033380 [23:59:44]Write 1431 bytes [23:59:44]NVStorageSaveData done [23:59:44]OFDSenderStorePacket done [23:59:44]KKMCreateOFDPacket done [23:59:44]NVStorageSaveData kkm_last_timestamp [23:59:44]File name is /storage/kkm_last_timestamp [23:59:44]Write 4 bytes [23:59:44]NVStorageSaveData done [23:59:44]ExternCall_PrintAddStr [23:59:44]wPrintStart [23:59:44]Write to MH i2c: 01 00 00 3C 11 4D [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: 01 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: 01 07 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: 01 07 00 3C 11 00 00 00 00 00 FF 0F 62 [23:59:44]RasterBufferAndPrint [23:59:44]line Отчет о закрытии смены [23:59:44]line ФФД: 1.0 [23:59:44]line ИНН: 02508201610067 [23:59:44]line Кассир: Ташыбеков М. [23:59:44]line 12.07.2024 23:59 [23:59:44]line Смена: 433 [23:59:44]line РНМ: 0000000000093033 [23:59:44]line ЗНМ: 0300000122 [23:59:44]line СНО: Общий режим [23:59:44]line Чеков за смену: 57 [23:59:44]line ФД за смену: 59 [23:59:44]line Всего чеков: 57 [23:59:44]line ИТОГИ ПРИХОД [23:59:44]line Чеков: 57 [23:59:44]line Общий итог: 16524.78 [23:59:44]line Итого наличными: 10775.00 [23:59:44]line Итого безнал.: 5749.78 [23:59:44]line НДС 0% : 0.00 [23:59:44]line НДС 12% : 1754.91 [23:59:44]line НСП 0% : 0.00 [23:59:44]line НСП 1,50% : 0.00 [23:59:44]line НСП 0,50% : 0.00 [23:59:44]line НСП 5% : 0.00 [23:59:44]line НСП 3% : 0.00 [23:59:44]line НСП 2% : 0.00 [23:59:44]line НСП 1% : 146.21 [23:59:44]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:59:44]line Чеков: 0 [23:59:44]line Общий итог: 0.00 [23:59:44]line Итого наличными: 0.00 [23:59:44]line Итого безнал.: 0.00 [23:59:44]line НДС 0% : 0.00 [23:59:44]line НДС 12% : 0.00 [23:59:44]line НСП 0% : 0.00 [23:59:44]line НСП 1,50% : 0.00 [23:59:44]line НСП 0,50% : 0.00 [23:59:44]line НСП 5% : 0.00 [23:59:44]line НСП 3% : 0.00 [23:59:44]line НСП 2% : 0.00 [23:59:44]line НСП 1% : 0.00 [23:59:44]line ИТОГИ РАСХОД [23:59:44]line Чеков: 0 [23:59:44]line Общий итог: 0.00 [23:59:44]line Итого наличными: 0.00 [23:59:44]line Итого безнал.: 0.00 [23:59:44]line НДС 0% : 0.00 [23:59:44]line НДС 12% : 0.00 [23:59:44]line НСП 0% : 0.00 [23:59:44]line НСП 1,50% : 0.00 [23:59:44]line НСП 0,50% : 0.00 [23:59:44]line НСП 5% : 0.00 [23:59:44]line НСП 3% : 0.00 [23:59:44]line НСП 2% : 0.00 [23:59:44]line НСП 1% : 0.00 [23:59:44]line ИТОГИ ВОЗВРАТ РАСХОДА [23:59:44]line Чеков: 0 [23:59:44]line Общий итог: 0.00 [23:59:44]line Итого наличными: 0.00 [23:59:44]line Итого безнал.: 0.00 [23:59:44]line НДС 0% : 0.00 [23:59:44]line НДС 12% : 0.00 [23:59:44]line НСП 0% : 0.00 [23:59:44]line НСП 1,50% : 0.00 [23:59:44]line НСП 0,50% : 0.00 [23:59:44]line НСП 5% : 0.00 [23:59:44]line НСП 3% : 0.00 [23:59:44]line НСП 2% : 0.00 [23:59:44]line НСП 1% : 0.00 [23:59:44]line Сумма внесений: 0.00 [23:59:44]line Сумма выплат: 0.00 [23:59:44]line Нал. в кассе: 10775.00 [23:59:44]line НС Приход: 10675895.34 [23:59:44]line НС Возвр.Прихода: 365383.00 [23:59:44]line НС Расход: 0.00 [23:59:44]line НС Возвр.Расхода: 0.00 [23:59:44]line ФД: 33380 [23:59:44]line ФМ: 0000000000875104 [23:59:44]line ФПД: 135875256230423 [23:59:44]OFD Sender: Processing packet 33380 [packets to send 6, broken 5] [23:59:44]ProducePacketName [23:59:44]name=ofd_packets/00033380 [23:59:44]OFD Sender: To server: pG, [23:59:44]CommunicateWithHost lk.salyk.kg:30040 [23:59:44]ConnectInit lk.salyk.kg [23:59:44]written 0, free lines is 4095 [23:59:45]Connected sock=10 [23:59:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 79 05 00 00 99 42 71 05 17 D6 5A 05 01 00 05 00 65 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 17 00 D0 A2 D0 B0 D1 88 D1 8B D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F4 03 04 00 67 C3 91 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 AA 04 D5 04 6E 04 04 00 39 00 00 00 69 04 A2 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 Write to MH i2c: 75 01 00 00 EE 00 03 8C 09 11 00 9D F2 [23:59:45]03 01 00 00 F3 03 00 00 EE 03 09 00 Write i2c OK [23:59:45]F2 MH_I2C_Read... [23:59:45]03 Read from MH i2c: 01 01 00 [23:59:45]01 MH_I2C_Read... [23:59:45]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:59:45]03 MH_I2C_Read... [23:59:45]09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 Read from MH i2c: 03 01 01 07 00 00 02 8C F7 11 00 03 00 00 00 00 00 EF 00 03 66 09 0B 00 15 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 [23:59:45]03 RasterBufferAndPrint [23:59:45]01 line [23:59:45]00 line [23:59:45]04 line [23:59:45]F7 line [23:59:45]03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 line [23:59:45]00 EF 03 09 00 F6 03 01 00 06 F7 03 00 written 0, free lines is 3075 [23:59:45]00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 MH_Cut [23:59:46]04 Write to MH i2c: 00 D1 00 01 70 00 04 93 00 11 00 01 72 76 04 [23:59:46]00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 Write i2c OK [23:59:46]00 MH_I2C_Read... [23:59:46]F3 Read from MH i2c: 03 D1 00 [23:59:46]00 MH_I2C_Read... [23:59:46]EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF Read from MH i2c: 03 D1 09 01 00 00 [23:59:46]F6 MH_I2C_Read... [23:59:46]03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 01 D1 F7 01 03 00 00 93 00 11 EF 00 75 03 [23:59:46]09 Write to MH i2c: 00 01 F6 00 03 00 01 94 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 11 03 A5 [23:59:46]F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Write i2c OK [23:59:46]09 MH_I2C_Read... [23:59:46]00 F6 03 01 00 04 F7 03 00 00 EF 03 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 64 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 7B 93 EC 61 A2 17 FB 04 ED FB E4 D7 28 CA [23:59:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 DB 36 47 00 9B F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 64 82 00 00 F4 03 04 00 1F 6E 91 66 B6 04 01 00 00 83 5A 92 A3 08 BC FD 82 [23:59:46]CommunicateWithHost err = 0 [23:59:46]CheckOFDResponse [23:59:46]1017 (14) - 77093643461234 [23:59:46]1041 (16) - 0000000000875104 [23:59:46]1040 (4) - 33380 [23:59:46]1012 (4) - 12.07.2024 17:55 [23:59:46]1206 (1) - 0 [23:59:46]OFD Sender: Remove packet 33380 [23:59:46]ProducePacketName [23:59:46]name=ofd_packets/00033380 [23:59:46]NVStorageDeleteData [23:59:46]*** Cut start [23:59:46]*** Partial cut [23:59:46]*** CUTSNS_PIN = 1 [23:59:46]*** CUTSNS_PIN = 0 [23:59:47]*** Brake cut motor [23:59:47]OFD Sender: No OFD packet to send [23:59:47]Read from MH i2c: 01 [23:59:47]MH_I2C_Read... [23:59:47]*** Stop cut motor [23:59:47]*** Cut end [23:59:47]Read from MH i2c: 01 07 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: 01 07 00 94 11 00 00 00 00 00 FF 0F BA [23:59:47]process_action close_shift done [23:59:47]requested_data is exist [23:59:47]produce_requested_data [23:59:47]requested_item fd.num is exist - process it [23:59:47]SAM_PROTO_GetFieldsCounters [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 13 00 00 [23:59:47]Write to MH i2c: E2 08 00 95 11 80 13 00 00 00 00 00 00 22 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 62 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 62 00 95 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 64 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 79 [23:59:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 64 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:47]wFMCommunicate OK [23:59:47]SAM_PROTO_GetFieldsCounters done [23:59:47]requested_item shift.num is exist - process it [23:59:47]requested_item shift.opened is exist - process it [23:59:47]req_shift_opened [23:59:47]FM_GetShiftState [23:59:47]SAM_PROTO_GetShiftState [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 13 01 00 [23:59:47]Write to MH i2c: E2 08 00 96 11 80 13 01 00 00 00 00 00 24 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 0E 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 0E 00 96 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 2F [23:59:47]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:59:47]wFMCommunicate OK [23:59:47]SAM_PROTO_GetShiftState done [23:59:47]FM_GetShiftState done [23:59:47]req_shift_opened done [23:59:47]requested_item shift.open_date is exist - process it [23:59:47]req_shift_open_date [23:59:47]FM_GetShiftState [23:59:47]SAM_PROTO_GetShiftState [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 13 01 00 [23:59:47]Write to MH i2c: E2 08 00 97 11 80 13 01 00 00 00 00 00 25 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 0E 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 0E 00 97 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 30 [23:59:48]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:59:48]wFMCommunicate OK [23:59:48]SAM_PROTO_GetShiftState done [23:59:48]FM_GetShiftState done [23:59:48]req_shift_open_date done [23:59:48]produce_requested_data done [23:59:48]produce_requested_data return {"fd.num":33380,"shift.num":433,"shift.opened":0,"shift.open_date":0} [23:59:48]process_action_free close_shift [23:59:48]json_value_free [23:59:48]json_value_free done [23:59:48]process_json_proto returns [23:59:48]Send response to host [23:59:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33380,"shift.num":433,"shift.opened":0,"shift.open_date":0}}} [23:59:48]free response buf [23:59:48]execute_script done [23:59:48]execute_script returns [23:59:48]free content buf [23:59:48]Sock 7.Close socket [23:59:48]Sock 7.Thread stoped [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:37]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:47]OFD Sender: No OFD packet to send [00:00:52]OFD Sender: No OFD packet to send [00:00:57]OFD Sender: No OFD packet to send [00:01:02]OFD Sender: No OFD packet to send [00:01:07]OFD Sender: No OFD packet to send [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:40]accept exits with 9 [00:06:40]New connection [00:06:40]New thread 3066604900 created [00:06:40]Thread 3066461540 joined [00:06:40]Waiting for new connection... [00:06:40] Sock 9.Parse request [00:06:40]Sock 9.Check first char [00:06:40]Sock 9.First char is OK [00:06:40]request: POST /json_proto HTTP/1.0 [00:06:40]Method: POST [00:06:40]URL: /json_proto [00:06:40]Method is POST - this is cgi request [00:06:40]url: /json_proto [00:06:40]query_string will be loaded in cgi processing [00:06:40]execute_cgi json_proto POST (null) [00:06:40]execute_cgi path=json_proto method=POST [00:06:40]POST find Content-Length [00:06:40]Host: 172.17.35.196:8080 [00:06:40]Content-Length: 215 [00:06:40]Content-Type: application/json [00:06:40] [00:06:40]POST finish read [00:06:40]Found Content-Length = 215 [00:06:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:40]execute_script... [00:06:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:40]POST & json_proto [00:06:40]process_json_proto [00:06:40]json parsed OK: [00:06:40]protocol is kg_v1.0 [00:06:40]action value=get_value [00:06:40]process_action get_value [00:06:40]cmd_get_value [00:06:40]process_action get_value done [00:06:40]requested_data is exist [00:06:40]produce_requested_data [00:06:40]requested_item kkm.sn is exist - process it [00:06:40]requested_item kkm.ver is exist - process it [00:06:40]requested_item fm.sn is exist - process it [00:06:40]wFMCommunicate request_size=4 [00:06:40]MH_SAM_APDU [00:06:40]CAPDU: 80 11 00 00 [00:06:40]Write to MH i2c: E2 08 00 98 11 80 11 00 00 00 00 00 00 23 [00:06:40]Write i2c OK [00:06:40]MH_I2C_Read... [00:06:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:40]Read from MH i2c: E2 [00:06:40]MH_I2C_Read... [00:06:40]Read from MH i2c: E2 17 00 [00:06:40]MH_I2C_Read... [00:06:40]Read from MH i2c: E2 17 00 98 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 6F [00:06:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:06:40]wFMCommunicate OK [00:06:40]requested_item fd.num is exist - process it [00:06:40]SAM_PROTO_GetFieldsCounters [00:06:40]wFMCommunicate request_size=4 [00:06:40]MH_SAM_APDU [00:06:40]CAPDU: 80 13 00 00 [00:06:40]Write to MH i2c: E2 08 00 99 11 80 13 00 00 00 00 00 00 26 [00:06:40]Write i2c OK [00:06:40]MH_I2C_Read... [00:06:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:40]Read from MH i2c: E2 [00:06:40]MH_I2C_Read... [00:06:40]Read from MH i2c: E2 62 00 [00:06:40]MH_I2C_Read... [00:06:40]Read from MH i2c: E2 62 00 99 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 64 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 7D [00:06:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 64 82 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:40]wFMCommunicate OK [00:06:40]SAM_PROTO_GetFieldsCounters done [00:06:40]requested_item shift.num is exist - process it [00:06:40]requested_item shift.opened is exist - process it [00:06:40]req_shift_opened [00:06:40]FM_GetShiftState [00:06:40]SAM_PROTO_GetShiftState [00:06:40]wFMCommunicate request_size=4 [00:06:40]MH_SAM_APDU [00:06:40]CAPDU: 80 13 01 00 [00:06:40]Write to MH i2c: E2 08 00 9A 11 80 13 01 00 00 00 00 00 28 [00:06:40]Write i2c OK [00:06:40]MH_I2C_Read... [00:06:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:40]Read from MH i2c: E2 [00:06:40]MH_I2C_Read... [00:06:40]Read from MH i2c: E2 0E 00 [00:06:40]MH_I2C_Read... [00:06:40]Read from MH i2c: E2 0E 00 9A 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 33 [00:06:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:40]wFMCommunicate OK [00:06:40]SAM_PROTO_GetShiftState done [00:06:40]FM_GetShiftState done [00:06:40]req_shift_opened done [00:06:40]requested_item shift.open_date is exist - process it [00:06:40]req_shift_open_date [00:06:40]FM_GetShiftState [00:06:40]SAM_PROTO_GetShiftState [00:06:40]wFMCommunicate request_size=4 [00:06:40]MH_SAM_APDU [00:06:40]CAPDU: 80 13 01 00 [00:06:40]Write to MH i2c: E2 08 00 9B 11 80 13 01 00 00 00 00 00 29 [00:06:40]Write i2c OK [00:06:40]MH_I2C_Read... [00:06:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:40]Read from MH i2c: E2 [00:06:40]MH_I2C_Read... [00:06:40]Read from MH i2c: E2 0E 00 [00:06:40]MH_I2C_Read... [00:06:40]Read from MH i2c: E2 0E 00 9B 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 34 [00:06:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:40]wFMCommunicate OK [00:06:40]SAM_PROTO_GetShiftState done [00:06:40]FM_GetShiftState done [00:06:40]req_shift_open_date done [00:06:40]produce_requested_data done [00:06:40]produce_requested_data return {"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33380,"shift.num":433,"shift.opened":0,"shift.open_date":0} [00:06:40]process_action_free get_value [00:06:40]json_value_free [00:06:40]json_value_free done [00:06:40]process_json_proto returns [00:06:40]Send response to host [00:06:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000122","kkm.ver":"001","fm.sn":"0000000000875104","fd.num":33380,"shift.num":433,"shift.opened":0,"shift.open_date":0}}} [00:06:40]free response buf [00:06:40]execute_script done [00:06:40]execute_script returns [00:06:40]free content buf [00:06:40]Sock 9.Close socket [00:06:40]Sock 9.Thread stoped [00:06:40]accept exits with 7 [00:06:40]New connection [00:06:40]New thread 3066461540 created [00:06:40]Thread 3066604900 joined [00:06:40]Waiting for new connection... [00:06:40] Sock 7.Parse request [00:06:40]Sock 7.Check first char [00:06:40]Sock 7.First char is OK [00:06:40]request: POST /json_proto HTTP/1.0 [00:06:40]Method: POST [00:06:40]URL: /json_proto [00:06:40]Method is POST - this is cgi request [00:06:40]url: /json_proto [00:06:40]query_string will be loaded in cgi processing [00:06:40]execute_cgi json_proto POST (null) [00:06:40]execute_cgi path=json_proto method=POST [00:06:40]POST find Content-Length [00:06:40]Host: 172.17.35.196:8080 [00:06:40]Content-Length: 331 [00:06:40]Content-Type: application/json [00:06:40] [00:06:40]POST finish read [00:06:40]Found Content-Length = 331 [00:06:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:40]execute_script... [00:06:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:41]POST & json_proto [00:06:41]process_json_proto [00:06:41]json parsed OK: [00:06:41]protocol is kg_v1.0 [00:06:41]action value=get_value [00:06:41]process_action get_value [00:06:41]cmd_get_value [00:06:41]process_action get_value done [00:06:41]requested_data is exist [00:06:41]produce_requested_data [00:06:41]requested_item fm.sale.total is exist - process it [00:06:41]SAM_PROTO_GetFMData [00:06:41]wFMCommunicate request_size=4 [00:06:41]MH_SAM_APDU [00:06:41]CAPDU: 80 13 03 00 [00:06:41]Write to MH i2c: E2 08 00 9C 11 80 13 03 00 00 00 00 00 2C [00:06:41]Write i2c OK [00:06:41]MH_I2C_Read... [00:06:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:41]Read from MH i2c: E2 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 FD 00 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 FD 00 9C 11 00 C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 D6 [00:06:41]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:06:41]wFMCommunicate OK [00:06:41]wFMCommunicate request_size=4 [00:06:41]MH_SAM_APDU [00:06:41]CAPDU: 80 17 00 00 [00:06:41]Write to MH i2c: E2 08 00 9D 11 80 17 00 00 00 00 00 00 2E [00:06:41]Write i2c OK [00:06:41]MH_I2C_Read... [00:06:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:41]Read from MH i2c: E2 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 FD 00 [00:06:41]MH_I2C_Read... [00:06:41]Read from MH i2c: E2 FD 00 9D 11 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 EB [00:06:41]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:06:41]wFMCommunicate OK [00:06:41]wFMCommunicate request_size=4 [00:06:41]MH_SAM_APDU [00:06:41]CAPDU: 80 17 00 00 [00:06:41]Write to MH i2c: E2 08 00 9E 11 80 17 00 00 00 00 00 00 2F [00:06:41]Write i2c OK [00:06:41]MH_I2C_Read... [00:06:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:42]Read from MH i2c: E2 [00:06:42]MH_I2C_Read... [00:06:42]Read from MH i2c: E2 FD 00 [00:06:42]MH_I2C_Read... [00:06:42]Read from MH i2c: E2 FD 00 9E 11 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 44 [00:06:42]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:42]wFMCommunicate OK [00:06:42]wFMCommunicate request_size=4 [00:06:42]MH_SAM_APDU [00:06:42]CAPDU: 80 17 00 00 [00:06:42]Write to MH i2c: E2 08 00 9F 11 80 17 00 00 00 00 00 00 30 [00:06:42]Write i2c OK [00:06:42]MH_I2C_Read... [00:06:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:42]Read from MH i2c: E2 [00:06:42]MH_I2C_Read... [00:06:42]Read from MH i2c: E2 FD 00 [00:06:42]MH_I2C_Read... [00:06:42]Read from MH i2c: E2 FD 00 9F 11 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A8 [00:06:42]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:42]wFMCommunicate OK [00:06:42]wFMCommunicate request_size=4 [00:06:42]MH_SAM_APDU [00:06:42]CAPDU: 80 17 00 00 [00:06:42]Write to MH i2c: E2 08 00 A0 11 80 17 00 00 00 00 00 00 31 [00:06:42]Write i2c OK [00:06:42]MH_I2C_Read... [00:06:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:06:42]Read from MH i2c: E2 [00:06:42]MH_I2C_Read... [00:06:42]Read from MH i2c: E2 E1 00 [00:06:42]MH_I2C_Read... [00:06:42]OFD Sender: No OFD packet to send [00:06:42]Read from MH i2c: E2 E1 00 A0 11 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1F [00:06:42]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:42]wFMCommunicate OK [00:06:42]SAM_PROTO_GetFMData done [00:06:42]requested_item fm.sale_refund.total is exist - process it [00:06:42]requested_item fm.buy.total is exist - process it [00:06:42]requested_item shift.sale.total is exist - process it [00:06:42]SAM_PROTO_GetShiftData [00:06:42]wFMCommunicate request_size=4 [00:06:42]MH_SAM_APDU [00:06:42]CAPDU: 80 13 02 00 [00:06:42]Write to MH i2c: E2 08 00 A1 11 80 13 02 00 00 00 00 00 30 [00:06:42]Write i2c OK [00:06:42]MH_I2C_Read... [00:06:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:43]Read from MH i2c: E2 [00:06:43]MH_I2C_Read... [00:06:43]Read from MH i2c: E2 FD 00 [00:06:43]MH_I2C_Read... [00:06:43]Read from MH i2c: E2 FD 00 A1 11 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 84 [00:06:43]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 FE 36 19 70 04 03 00 FC 70 10 72 04 03 00 02 C6 08 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 83 AD 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 1D 39 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:06:43]wFMCommunicate OK [00:06:43]wFMCommunicate request_size=4 [00:06:43]MH_SAM_APDU [00:06:43]CAPDU: 80 17 00 00 [00:06:43]Write to MH i2c: E2 08 00 A2 11 80 17 00 00 00 00 00 00 33 [00:06:43]Write i2c OK [00:06:43]MH_I2C_Read... [00:06:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:43]Read from MH i2c: E2 [00:06:43]MH_I2C_Read... [00:06:43]Read from MH i2c: E2 FD 00 [00:06:43]MH_I2C_Read... [00:06:43]Read from MH i2c: E2 FD 00 A2 11 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 55 [00:06:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:06:43]wFMCommunicate OK [00:06:43]wFMCommunicate request_size=4 [00:06:43]MH_SAM_APDU [00:06:43]CAPDU: 80 17 00 00 [00:06:43]Write to MH i2c: E2 08 00 A3 11 80 17 00 00 00 00 00 00 34 [00:06:43]Write i2c OK [00:06:43]MH_I2C_Read... [00:06:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:43]Read from MH i2c: E2 [00:06:43]MH_I2C_Read... [00:06:43]Read from MH i2c: E2 FD 00 [00:06:43]MH_I2C_Read... [00:06:43]Read from MH i2c: E2 FD 00 A3 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EB [00:06:43]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:06:43]wFMCommunicate OK [00:06:43]wFMCommunicate request_size=4 [00:06:43]MH_SAM_APDU [00:06:43]CAPDU: 80 17 00 00 [00:06:43]Write to MH i2c: E2 08 00 A4 11 80 17 00 00 00 00 00 00 35 [00:06:43]Write i2c OK [00:06:43]MH_I2C_Read... [00:06:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:43]Read from MH i2c: E2 [00:06:43]MH_I2C_Read... [00:06:43]Read from MH i2c: E2 FD 00 [00:06:43]MH_I2C_Read... [00:06:43]Read from MH i2c: E2 FD 00 A4 11 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 A7 [00:06:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:06:43]wFMCommunicate OK [00:06:43]wFMCommunicate request_size=4 [00:06:43]MH_SAM_APDU [00:06:43]CAPDU: 80 17 00 00 [00:06:43]Write to MH i2c: E2 08 00 A5 11 80 17 00 00 00 00 00 00 36 [00:06:43]Write i2c OK [00:06:43]MH_I2C_Read... [00:06:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:06:44]Read from MH i2c: E2 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 CB 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 CB 00 A5 11 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 1F [00:06:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:44]wFMCommunicate OK [00:06:44]SAM_PROTO_GetShiftData done [00:06:44]requested_item shift.sale.total_cash is exist - process it [00:06:44]requested_item shift.sale_refund.total is exist - process it [00:06:44]requested_item shift.sale_refund.total_cash is exist - process it [00:06:44]requested_item shift.buy.total is exist - process it [00:06:44]requested_item shift.buy.total_cash is exist - process it [00:06:44]produce_requested_data done [00:06:44]produce_requested_data return {"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:06:44]process_action_free get_value [00:06:44]json_value_free [00:06:44]json_value_free done [00:06:44]process_json_proto returns [00:06:44]Send response to host [00:06:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.00,"fm.buy.total":0.00,"shift.sale.total":16524.78,"shift.sale.total_cash":10775.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:06:44]free response buf [00:06:44]execute_script done [00:06:44]execute_script returns [00:06:44]free content buf [00:06:44]Sock 7.Close socket [00:06:44]Sock 7.Thread stoped [00:06:44]accept exits with 9 [00:06:44]New connection [00:06:44]New thread 3066604900 created [00:06:44]Thread 3066461540 joined [00:06:44]Waiting for new connection... [00:06:44] Sock 9.Parse request [00:06:44]Sock 9.Check first char [00:06:44]Sock 9.First char is OK [00:06:44]request: POST /json_proto HTTP/1.0 [00:06:44]Method: POST [00:06:44]URL: /json_proto [00:06:44]Method is POST - this is cgi request [00:06:44]url: /json_proto [00:06:44]query_string will be loaded in cgi processing [00:06:44]execute_cgi json_proto POST (null) [00:06:44]execute_cgi path=json_proto method=POST [00:06:44]POST find Content-Length [00:06:44]Host: 172.17.35.196:8080 [00:06:44]Content-Length: 283 [00:06:44]Content-Type: application/json [00:06:44] [00:06:44]POST finish read [00:06:44]Found Content-Length = 283 [00:06:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u042D\u0433\u0435\u043D\u0431\u0435\u0440\u0434\u0438\u0435\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:44]execute_script... [00:06:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u042D\u0433\u0435\u043D\u0431\u0435\u0440\u0434\u0438\u0435\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:44]POST & json_proto [00:06:44]process_json_proto [00:06:44]json parsed OK: [00:06:44]protocol is kg_v1.0 [00:06:44]action value=open_shift [00:06:44]process_action open_shift [00:06:44]cmd_open_shift [00:06:44]MH_GetDate [00:06:44]Write to MH i2c: F0 00 00 A6 11 A6 [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: F0 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: F0 09 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: F0 09 00 A6 11 00 17 C5 91 66 AD 14 F4 65 9C [00:06:44]GetLastDocTimeStamp 1720828775 [00:06:44]current date 1720829207 [00:06:44]FM_GetShiftState [00:06:44]SAM_PROTO_GetShiftState [00:06:44]wFMCommunicate request_size=4 [00:06:44]MH_SAM_APDU [00:06:44]CAPDU: 80 13 01 00 [00:06:44]Write to MH i2c: E2 08 00 A7 11 80 13 01 00 00 00 00 00 35 [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:44]Read from MH i2c: E2 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 0E 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 0E 00 A7 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 40 [00:06:44]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:44]wFMCommunicate OK [00:06:44]SAM_PROTO_GetShiftState done [00:06:44]FM_GetShiftState done [00:06:44]KKMCreateOpenShiftDocument [00:06:44]Load OK [00:06:44]Malloc new data [00:06:44]MH_GetDate [00:06:44]Write to MH i2c: F0 00 00 A8 11 A8 [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: F0 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: F0 09 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: F0 09 00 A8 11 00 17 C5 91 66 AD 14 F4 65 9E [00:06:44]Malloc new data [00:06:44]KKMCreateOpenShiftDocument OK [00:06:44]KKMSetOpenShiftData OK [00:06:44]ProcessDocumentItem done err = 0, tmpTLVsize=208 [00:06:44]tlvbuf is 00ABB910 [00:06:44]KKMLoadAndSignOpenShiftData [00:06:44]SAM_PROTO_ProcessDocument [00:06:44]wFMCommunicate request_size=9 [00:06:44]MH_SAM_APDU [00:06:44]CAPDU: 80 15 01 00 04 02 00 D0 00 [00:06:44]Write to MH i2c: E2 0C 00 A9 11 80 15 01 00 04 00 02 00 D0 00 00 00 13 [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:06:44]Read from MH i2c: E2 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 A9 11 00 90 00 2E [00:06:44]RAPDU: 90 00 [00:06:44]wFMCommunicate OK [00:06:44]wFMCommunicate request_size=23 [00:06:44]MH_SAM_APDU [00:06:44]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:06:44]Write to MH i2c: E2 1A 00 AA 11 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 30 [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 [00:06:44]MH_I2C_Read... [00:06:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:44]Read from MH i2c: E2 03 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 AA 11 00 90 00 2F [00:06:44]RAPDU: 90 00 [00:06:44]wFMCommunicate OK [00:06:44]wFMCommunicate request_size=38 [00:06:44]MH_SAM_APDU [00:06:44]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 [00:06:44]Write to MH i2c: E2 29 00 AB 11 80 15 02 00 21 00 FD 03 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 00 00 69 [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:44]Read from MH i2c: E2 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 AB 11 00 90 00 30 [00:06:44]RAPDU: 90 00 [00:06:44]wFMCommunicate OK [00:06:44]wFMCommunicate request_size=89 [00:06:44]MH_SAM_APDU [00:06:44]CAPDU: 80 15 02 00 54 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 [00:06:44]Write to MH i2c: E2 5C 00 AC 11 80 15 02 00 54 00 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 00 00 B6 [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:44]Read from MH i2c: E2 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 AC 11 00 90 00 31 [00:06:44]RAPDU: 90 00 [00:06:44]wFMCommunicate OK [00:06:44]wFMCommunicate request_size=50 [00:06:44]MH_SAM_APDU [00:06:44]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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:06:44]Write to MH i2c: E2 35 00 AD 11 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 BB [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:44]Read from MH i2c: E2 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 AD 11 00 90 00 32 [00:06:44]RAPDU: 90 00 [00:06:44]wFMCommunicate OK [00:06:44]wFMCommunicate request_size=13 [00:06:44]MH_SAM_APDU [00:06:44]CAPDU: 80 15 02 00 08 F4 03 04 00 17 C5 91 66 [00:06:44]Write to MH i2c: E2 10 00 AE 11 80 15 02 00 08 00 F4 03 04 00 17 C5 91 66 00 00 1D [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:44]Read from MH i2c: E2 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 [00:06:44]MH_I2C_Read... [00:06:44]Read from MH i2c: E2 03 00 AE 11 00 90 00 33 [00:06:44]RAPDU: 90 00 [00:06:44]wFMCommunicate OK [00:06:44]wFMCommunicate request_size=25 [00:06:44]MH_SAM_APDU [00:06:44]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 [00:06:44]Write to MH i2c: E2 1C 00 AF 11 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 00 00 9B [00:06:44]Write i2c OK [00:06:44]MH_I2C_Read... [00:06:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:45]Read from MH i2c: E2 [00:06:45]MH_I2C_Read... [00:06:45]Read from MH i2c: E2 03 00 [00:06:45]MH_I2C_Read... [00:06:45]Read from MH i2c: E2 03 00 AF 11 00 90 00 34 [00:06:45]RAPDU: 90 00 [00:06:45]wFMCommunicate OK [00:06:45]wFMCommunicate request_size=4 [00:06:45]MH_SAM_APDU [00:06:45]CAPDU: 80 15 03 00 [00:06:45]Write to MH i2c: E2 08 00 B0 11 80 15 03 00 00 00 00 00 42 [00:06:45]Write i2c OK [00:06:45]MH_I2C_Read... [00:06:45]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:06:45]Read from MH i2c: E2 [00:06:45]MH_I2C_Read... [00:06:45]Read from MH i2c: E2 38 00 [00:06:45]MH_I2C_Read... [00:06:45]Read from MH i2c: E2 38 00 B0 11 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 65 82 00 00 0E 04 04 00 B2 01 00 00 35 04 06 00 30 22 8E 4D 37 09 90 00 0E [00:06:45]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 65 82 00 00 0E 04 04 00 B2 01 00 00 35 04 06 00 30 22 8E 4D 37 09 90 00 [00:06:45]wFMCommunicate OK [00:06:45]SAM_PROTO_ProcessDocument answer len = 51 [00:06:45]SAM_PROTO_ProcessDocument done [00:06:45]SetTLVBufToDocument [00:06:45]Processing tag 1209 (04B9) [00:06:45]Malloc new data [00:06:45]Processing tag 1041 (0411) [00:06:45]Processing tag 1040 (0410) [00:06:45]Malloc new data [00:06:45]Processing tag 1038 (040E) [00:06:45]Malloc new data [00:06:45]Processing tag 1077 (0435) [00:06:45]Malloc new data [00:06:45]SetTLVBufToDocument err=0 [00:06:45]KKMLoadAndSignOpenShiftData store KKM data [00:06:45]KKMLoadAndSignOpenShiftData err=0 [00:06:45]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Эгенбердиева Д. Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 Место: АЗС № 77 "Партнер Нефть" 13.07.2024 00:06 Смена: 434 РНМ: 0000000000093033 ЗНМ: 0300000122 ФД: 33381 ФМ: 0000000000875104 ФПД: 52924974446345 [00:06:45]StoreToDocumentArchive [00:06:45]shift 434 fd 33381 [00:06:45]Create dir for shift 0434 [00:06:45]save to /storage/0434/doc_00033381 [00:06:45]save last doc name /storage/0434/doc_00033381 to /storage/kkm_last_doc_name [00:06:45]save OK [00:06:45]Clear old archive folders... [00:06:45]Remove dir /storage/0433 [00:06:45]opendir ok [00:06:45]file . [00:06:45]file .. [00:06:45]file doc_00033322 [00:06:45]remove file /storage/0433/doc_00033322 [00:06:45]file doc_00033323 [00:06:45]remove file /storage/0433/doc_00033323 [00:06:45]file doc_00033324 [00:06:45]remove file /storage/0433/doc_00033324 [00:06:45]file doc_00033325 [00:06:45]remove file /storage/0433/doc_00033325 [00:06:45]file doc_00033326 [00:06:45]remove file /storage/0433/doc_00033326 [00:06:45]file doc_00033327 [00:06:45]remove file /storage/0433/doc_00033327 [00:06:45]file doc_00033328 [00:06:45]remove file /storage/0433/doc_00033328 [00:06:45]file doc_00033329 [00:06:45]remove file /storage/0433/doc_00033329 [00:06:45]file doc_00033330 [00:06:45]remove file /storage/0433/doc_00033330 [00:06:45]file doc_00033331 [00:06:45]remove file /storage/0433/doc_00033331 [00:06:45]file doc_00033332 [00:06:45]remove file /storage/0433/doc_00033332 [00:06:45]file doc_00033333 [00:06:45]remove file /storage/0433/doc_00033333 [00:06:45]file doc_00033334 [00:06:45]remove file /storage/0433/doc_00033334 [00:06:45]file doc_00033335 [00:06:45]remove file /storage/0433/doc_00033335 [00:06:45]file doc_00033336 [00:06:45]remove file /storage/0433/doc_00033336 [00:06:45]file doc_00033337 [00:06:45]remove file /storage/0433/doc_00033337 [00:06:45]file doc_00033338 [00:06:45]remove file /storage/0433/doc_00033338 [00:06:45]file doc_00033339 [00:06:45]remove file /storage/0433/doc_00033339 [00:06:45]file doc_00033340 [00:06:45]remove file /storage/0433/doc_00033340 [00:06:45]file doc_00033341 [00:06:45]remove file /storage/0433/doc_00033341 [00:06:45]file doc_00033342 [00:06:45]remove file /storage/0433/doc_00033342 [00:06:45]file doc_00033343 [00:06:45]remove file /storage/0433/doc_00033343 [00:06:45]file doc_00033344 [00:06:45]remove file /storage/0433/doc_00033344 [00:06:45]file doc_00033345 [00:06:45]remove file /storage/0433/doc_00033345 [00:06:45]file doc_00033346 [00:06:45]remove file /storage/0433/doc_00033346 [00:06:45]file doc_00033347 [00:06:45]remove file /storage/0433/doc_00033347 [00:06:45]file doc_00033348 [00:06:45]remove file /storage/0433/doc_00033348 [00:06:45]file doc_00033349 [00:06:45]remove file /storage/0433/doc_00033349 [00:06:45]file doc_00033350 [00:06:45]remove file /storage/0433/doc_00033350 [00:06:45]file doc_00033351 [00:06:45]remove file /storage/0433/doc_00033351 [00:06:45]file doc_00033352 [00:06:45]remove file /storage/0433/doc_00033352 [00:06:45]file doc_00033353 [00:06:45]remove file /storage/0433/doc_00033353 [00:06:45]file doc_00033354 [00:06:45]remove file /storage/0433/doc_00033354 [00:06:45]file doc_00033355 [00:06:45]remove file /storage/0433/doc_00033355 [00:06:45]file doc_00033356 [00:06:45]remove file /storage/0433/doc_00033356 [00:06:45]file doc_00033357 [00:06:45]remove file /storage/0433/doc_00033357 [00:06:45]file doc_00033358 [00:06:45]remove file /storage/0433/doc_00033358 [00:06:45]file doc_00033359 [00:06:45]remove file /storage/0433/doc_00033359 [00:06:45]file doc_00033360 [00:06:45]remove file /storage/0433/doc_00033360 [00:06:45]file doc_00033361 [00:06:45]remove file /storage/0433/doc_00033361 [00:06:45]file doc_00033362 [00:06:45]remove file /storage/0433/doc_00033362 [00:06:45]file doc_00033363 [00:06:45]remove file /storage/0433/doc_00033363 [00:06:45]file doc_00033364 [00:06:45]remove file /storage/0433/doc_00033364 [00:06:45]file doc_00033365 [00:06:45]remove file /storage/0433/doc_00033365 [00:06:45]file doc_00033366 [00:06:45]remove file /storage/0433/doc_00033366 [00:06:45]file doc_00033367 [00:06:45]remove file /storage/0433/doc_00033367 [00:06:45]file doc_00033368 [00:06:45]remove file /storage/0433/doc_00033368 [00:06:45]file doc_00033369 [00:06:45]remove file /storage/0433/doc_00033369 [00:06:45]file doc_00033370 [00:06:45]remove file /storage/0433/doc_00033370 [00:06:45]file doc_00033371 [00:06:45]remove file /storage/0433/doc_00033371 [00:06:45]file doc_00033372 [00:06:45]remove file /storage/0433/doc_00033372 [00:06:45]file doc_00033373 [00:06:45]remove file /storage/0433/doc_00033373 [00:06:45]file doc_00033374 [00:06:45]remove file /storage/0433/doc_00033374 [00:06:45]file doc_00033375 [00:06:45]remove file /storage/0433/doc_00033375 [00:06:45]file doc_00033376 [00:06:45]remove file /storage/0433/doc_00033376 [00:06:45]file doc_00033377 [00:06:45]remove file /storage/0433/doc_00033377 [00:06:45]file doc_00033378 [00:06:45]remove file /storage/0433/doc_00033378 [00:06:45]file doc_00033379 [00:06:45]remove file /storage/0433/doc_00033379 [00:06:45]file doc_00033380 [00:06:45]remove file /storage/0433/doc_00033380 [00:06:45]remove dir /storage/0433 [00:06:45]ProcessDocumentItem done err = 0, tmpTLVsize=259 [00:06:45]tlvbuf is 00B27BB0 [00:06:45]SAM_PROTO_ClearQueue [00:06:45]wFMCommunicate request_size=4 [00:06:45]MH_SAM_APDU [00:06:45]CAPDU: 80 09 00 00 [00:06:45]Write to MH i2c: E2 08 00 B1 11 80 09 00 00 00 00 00 00 34 [00:06:45]Write i2c OK [00:06:45]MH_I2C_Read... [00:06:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:06:45]Read from MH i2c: E2 [00:06:45]MH_I2C_Read... [00:06:45]Read from MH i2c: E2 03 00 [00:06:45]MH_I2C_Read... [00:06:45]Read from MH i2c: E2 03 00 B1 11 00 90 00 36 [00:06:45]RAPDU: 90 00 [00:06:45]wFMCommunicate OK [00:06:45]SAM_PROTO_ClearQueue done [00:06:45]KKMCreateOFDPacket [00:06:45]OFDProtocolAddRootSTLVToBuf [00:06:45]FM_MakeSignedData [00:06:45]FM_MakeSignedData [00:06:45]SAM_PROTO_SignData [00:06:45]wFMCommunicate request_size=4 [00:06:45]MH_SAM_APDU [00:06:45]CAPDU: 80 0D 01 02 [00:06:45]Write to MH i2c: E2 08 00 B2 11 80 0D 01 02 00 00 00 00 3C [00:06:45]Write i2c OK [00:06:45]MH_I2C_Read... [00:06:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:06:45]Read from MH i2c: E2 [00:06:45]MH_I2C_Read... [00:06:45]Read from MH i2c: E2 03 00 [00:06:45]MH_I2C_Read... [00:06:45]Read from MH i2c: E2 03 00 B2 11 00 90 00 37 [00:06:45]RAPDU: 90 00 [00:06:45]wFMCommunicate OK [00:06:45]wFMCommunicate request_size=255 [00:06:45]MH_SAM_APDU [00:06:45]CAPDU: 80 0D 02 02 FA 02 00 03 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 17 C5 91 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 65 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 [00:06:45]Write to MH i2c: E2 02 01 B3 11 80 0D 02 02 FA 00 02 00 03 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 17 C5 91 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 65 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 00 00 1A [00:06:45]Write i2c OK [00:06:45]MH_I2C_Read... [00:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:46]Read from MH i2c: E2 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: E2 03 00 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: E2 03 00 B3 11 00 90 00 38 [00:06:46]RAPDU: 90 00 [00:06:46]wFMCommunicate OK [00:06:46]wFMCommunicate request_size=18 [00:06:46]MH_SAM_APDU [00:06:46]CAPDU: 80 0D 02 02 0D 31 30 34 35 04 06 00 30 22 8E 4D 37 09 [00:06:46]Write to MH i2c: E2 15 00 B4 11 80 0D 02 02 0D 00 31 30 34 35 04 06 00 30 22 8E 4D 37 09 00 00 9A [00:06:46]Write i2c OK [00:06:46]MH_I2C_Read... [00:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:46]Read from MH i2c: E2 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: E2 03 00 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: E2 03 00 B4 11 00 90 00 39 [00:06:46]RAPDU: 90 00 [00:06:46]wFMCommunicate OK [00:06:46]wFMCommunicate request_size=4 [00:06:46]MH_SAM_APDU [00:06:46]CAPDU: 80 0D 03 02 [00:06:46]Write to MH i2c: E2 08 00 B5 11 80 0D 03 02 00 00 00 00 41 [00:06:46]Write i2c OK [00:06:46]MH_I2C_Read... [00:06:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:06:46]Read from MH i2c: E2 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: E2 0B 00 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: E2 0B 00 B5 11 00 17 D7 E3 67 F0 F9 44 CB 90 00 72 [00:06:46]RAPDU: 17 D7 E3 67 F0 F9 44 CB 90 00 [00:06:46]wFMCommunicate OK [00:06:46]SAM_PROTO_SignData done [00:06:46]FM_MakeSignedData done [00:06:46]CreateOFDProtocolMessage [00:06:46]wFMCommunicate request_size=4 [00:06:46]MH_SAM_APDU [00:06:46]CAPDU: 80 11 00 00 [00:06:46]Write to MH i2c: E2 08 00 B6 11 80 11 00 00 00 00 00 00 41 [00:06:46]Write i2c OK [00:06:46]MH_I2C_Read... [00:06:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:46]Read from MH i2c: E2 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: E2 17 00 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: E2 17 00 B6 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 8D [00:06:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [00:06:46]wFMCommunicate OK [00:06:46]CreateOFDProtocolMessage done [00:06:46]OFDSenderStorePacket 33381 [00:06:46]StoreOFDPacket docnum=33381 [00:06:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 17 01 00 00 8B 24 0F 01 E3 6D 5A 02 01 00 02 00 03 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 17 C5 91 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 65 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 30 22 8E 4D 37 09 17 D7 E3 67 F0 F9 44 CB [00:06:46]CheckFolder [00:06:46]dirname=/storage/ofd_packets [00:06:46]CheckFolder done [00:06:46]ProducePacketName [00:06:46]name=ofd_packets/00033381 [00:06:46]NVStorageSaveData ofd_packets/00033381 [00:06:46]File name is /storage/ofd_packets/00033381 [00:06:46]Write 309 bytes [00:06:46]NVStorageSaveData done [00:06:46]OFDSenderStorePacket done [00:06:46]KKMCreateOFDPacket done [00:06:46]NVStorageSaveData kkm_last_timestamp [00:06:46]File name is /storage/kkm_last_timestamp [00:06:46]Write 4 bytes [00:06:46]NVStorageSaveData done [00:06:46]ExternCall_PrintAddStr [00:06:46]wPrintStart [00:06:46]Write to MH i2c: 01 00 00 B7 11 C8 [00:06:46]Write i2c OK [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: 01 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: 01 07 00 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: 01 07 00 B7 11 00 00 00 00 00 FF 0F DD [00:06:46]RasterBufferAndPrint [00:06:46]line Отчет об открытии смены [00:06:46]line ФФД: 1.0 [00:06:46]line ИНН: 02508201610067 [00:06:46]line Кассир: Эгенбердиева Д. [00:06:46]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [00:06:46]line Место: АЗС № 77 "Партнер Нефть" [00:06:46]line 13.07.2024 00:06 [00:06:46]line Смена: 434 [00:06:46]line РНМ: 0000000000093033 [00:06:46]line ЗНМ: 0300000122 [00:06:46]line ФД: 33381 [00:06:46]line ФМ: 0000000000875104 [00:06:46]line ФПД: 52924974446345 [00:06:46]written 0, free lines is 4095 [00:06:46]OFD Sender: Processing packet 33381 [packets to send 6, broken 5] [00:06:46]ProducePacketName [00:06:46]name=ofd_packets/00033381 [00:06:46]OFD Sender: To server: pG, [00:06:46]CommunicateWithHost lk.salyk.kg:30040 [00:06:46]ConnectInit lk.salyk.kg [00:06:46]Connected sock=10 [00:06:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 17 01 00 00 8B 24 0F 01 E3 6D 5A 02 01 00 02 00 03 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 AD D0 B3 D0 B5 D0 BD D0 B1 D0 B5 D1 80 D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2C 20 D1 83 D0 BB 2E 20 D0 A7 2E 20 D0 90 D0 B9 D1 82 D0 BC D0 B0 D1 82 D0 BE D0 B2 D0 B0 20 D0 B1 2F D0 BD 2C 20 34 32 2E 35 32 35 32 38 34 2C 20 37 32 2E 32 34 35 34 33 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 37 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 17 C5 91 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 65 82 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 35 04 06 00 30 22 8E 4D 37 09 17 D7 E3 67 F0 F9 44 CB [00:06:46]Write to MH i2c: 01 00 00 C9 11 DA [00:06:46]Write i2c OK [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: 01 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: 01 07 00 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: 01 07 00 C9 11 00 00 00 00 00 82 0E 71 [00:06:46]RasterBufferAndPrint [00:06:46]line [00:06:46]line [00:06:46]line [00:06:46]line [00:06:46]line [00:06:46]written 0, free lines is 3732 [00:06:46]MH_Cut [00:06:46]Write to MH i2c: D1 01 00 D0 11 01 B3 [00:06:46]Write i2c OK [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: D1 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: D1 01 00 [00:06:46]MH_I2C_Read... [00:06:46]Read from MH i2c: D1 01 00 D0 11 00 B2 [00:06:46]Write to MH i2c: 01 00 00 D1 11 E2 [00:06:46]Write i2c OK [00:06:46]MH_I2C_Read... [00:06:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 05 50 47 00 37 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 65 82 00 00 F4 03 04 00 C3 6F 91 66 B6 04 01 00 00 C0 FB 88 0A E9 16 EF AE [00:06:46]CommunicateWithHost err = 0 [00:06:46]CheckOFDResponse [00:06:46]1017 (14) - 77093643461234 [00:06:46]1041 (16) - 0000000000875104 [00:06:46]1040 (4) - 33381 [00:06:46]1012 (4) - 12.07.2024 18:02 [00:06:46]1206 (1) - 0 [00:06:46]OFD Sender: Remove packet 33381 [00:06:46]ProducePacketName [00:06:46]name=ofd_packets/00033381 [00:06:46]NVStorageDeleteData [00:06:47]*** Cut start [00:06:47]*** Partial cut [00:06:47]*** CUTSNS_PIN = 1 [00:06:47]*** CUTSNS_PIN = 0 [00:06:47]OFD Sender: No OFD packet to send [00:06:47]*** Brake cut motor [00:06:47]Read from MH i2c: 01 [00:06:47]MH_I2C_Read... [00:06:47]*** Stop cut motor [00:06:47]*** Cut end [00:06:47]Read from MH i2c: 01 07 00 [00:06:47]MH_I2C_Read... [00:06:47]Read from MH i2c: 01 07 00 D1 11 00 00 00 00 00 FF 0F F7 [00:06:47]process_action open_shift done [00:06:47]requested_data is exist [00:06:47]produce_requested_data [00:06:47]requested_item fd.num is exist - process it [00:06:47]SAM_PROTO_GetFieldsCounters [00:06:47]wFMCommunicate request_size=4 [00:06:47]MH_SAM_APDU [00:06:47]CAPDU: 80 13 00 00 [00:06:47]Write to MH i2c: E2 08 00 D2 11 80 13 00 00 00 00 00 00 5F [00:06:47]Write i2c OK [00:06:47]MH_I2C_Read... [00:06:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:47]Read from MH i2c: E2 [00:06:47]MH_I2C_Read... [00:06:47]Read from MH i2c: E2 62 00 [00:06:47]MH_I2C_Read... [00:06:47]Read from MH i2c: E2 62 00 D2 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 65 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [00:06:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 65 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:48]wFMCommunicate OK [00:06:48]SAM_PROTO_GetFieldsCounters done [00:06:48]requested_item shift.num is exist - process it [00:06:48]requested_item shift.opened is exist - process it [00:06:48]req_shift_opened [00:06:48]FM_GetShiftState [00:06:48]SAM_PROTO_GetShiftState [00:06:48]wFMCommunicate request_size=4 [00:06:48]MH_SAM_APDU [00:06:48]CAPDU: 80 13 01 00 [00:06:48]Write to MH i2c: E2 08 00 D3 11 80 13 01 00 00 00 00 00 61 [00:06:48]Write i2c OK [00:06:48]MH_I2C_Read... [00:06:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:48]Read from MH i2c: E2 [00:06:48]MH_I2C_Read... [00:06:48]Read from MH i2c: E2 0E 00 [00:06:48]MH_I2C_Read... [00:06:48]Read from MH i2c: E2 0E 00 D3 11 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 40 [00:06:48]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [00:06:48]wFMCommunicate OK [00:06:48]SAM_PROTO_GetShiftState done [00:06:48]FM_GetShiftState done [00:06:48]req_shift_opened done [00:06:48]requested_item shift.open_date is exist - process it [00:06:48]req_shift_open_date [00:06:48]req_shift_open_date done [00:06:48]produce_requested_data done [00:06:48]produce_requested_data return {"fd.num":33381,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [00:06:48]process_action_free open_shift [00:06:48]json_value_free [00:06:48]json_value_free done [00:06:48]process_json_proto returns [00:06:48]Send response to host [00:06:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":33381,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [00:06:48]free response buf [00:06:48]execute_script done [00:06:48]execute_script returns [00:06:48]free content buf [00:06:48]Sock 9.Close socket [00:06:48]Sock 9.Thread stoped [00:06:48]accept exits with 7 [00:06:48]New connection [00:06:48]New thread 3066461540 created [00:06:48]Thread 3066604900 joined [00:06:48]Waiting for new connection... [00:06:48] Sock 7.Parse request [00:06:48]Sock 7.Check first char [00:06:48]Sock 7.First char is OK [00:06:48]request: POST /json_proto HTTP/1.0 [00:06:48]Method: POST [00:06:48]URL: /json_proto [00:06:48]Method is POST - this is cgi request [00:06:48]url: /json_proto [00:06:48]query_string will be loaded in cgi processing [00:06:48]execute_cgi json_proto POST (null) [00:06:48]execute_cgi path=json_proto method=POST [00:06:48]POST find Content-Length [00:06:48]Host: 172.17.35.196:8080 [00:06:48]Content-Length: 331 [00:06:48]Content-Type: application/json [00:06:48] [00:06:48]POST finish read [00:06:48]Found Content-Length = 331 [00:06:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:48]execute_script... [00:06:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:06:48]POST & json_proto [00:06:48]process_json_proto [00:06:48]json parsed OK: [00:06:48]protocol is kg_v1.0 [00:06:48]action value=get_value [00:06:48]process_action get_value [00:06:48]cmd_get_value [00:06:48]process_action get_value done [00:06:48]requested_data is exist [00:06:48]produce_requested_data [00:06:48]requested_item fm.sale.total is exist - process it [00:06:48]SAM_PROTO_GetFMData [00:06:48]wFMCommunicate request_size=4 [00:06:48]MH_SAM_APDU [00:06:48]CAPDU: 80 13 03 00 [00:06:48]Write to MH i2c: E2 08 00 D4 11 80 13 03 00 00 00 00 00 64 [00:06:48]Write i2c OK [00:06:48]MH_I2C_Read... [00:06:48]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:48]Read from MH i2c: E2 [00:06:48]MH_I2C_Read... [00:06:48]Read from MH i2c: E2 FD 00 [00:06:48]MH_I2C_Read... [00:06:48]Read from MH i2c: E2 FD 00 D4 11 00 C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 0E [00:06:48]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 01 7F 00 00 69 04 A0 00 6F 04 04 00 20 7E 00 00 B1 04 04 00 9E 1F A2 3F 70 04 04 00 94 F3 F3 34 72 04 04 00 0A 2C AE 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1E 14 C2 06 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 B9 20 90 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 E1 00 00 00 B1 04 04 00 BC 87 2D 02 70 04 04 00 C8 F4 27 02 72 04 03 00 F4 92 05 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A0 35 3B EF 03 09 00 90 00 [00:06:48]wFMCommunicate OK [00:06:48]wFMCommunicate request_size=4 [00:06:48]MH_SAM_APDU [00:06:48]CAPDU: 80 17 00 00 [00:06:48]Write to MH i2c: E2 08 00 D5 11 80 17 00 00 00 00 00 00 66 [00:06:48]Write i2c OK [00:06:48]MH_I2C_Read... [00:06:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:48]Read from MH i2c: E2 [00:06:48]MH_I2C_Read... [00:06:48]Read from MH i2c: E2 FD 00 [00:06:48]MH_I2C_Read... [00:06:48]Read from MH i2c: E2 FD 00 D5 11 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 23 [00:06:48]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 14 EF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:06:49]wFMCommunicate OK [00:06:49]wFMCommunicate request_size=4 [00:06:49]MH_SAM_APDU [00:06:49]CAPDU: 80 17 00 00 [00:06:49]Write to MH i2c: E2 08 00 D6 11 80 17 00 00 00 00 00 00 67 [00:06:49]Write i2c OK [00:06:49]MH_I2C_Read... [00:06:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:49]Read from MH i2c: E2 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 FD 00 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 FD 00 D6 11 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7C [00:06:49]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:49]wFMCommunicate OK [00:06:49]wFMCommunicate request_size=4 [00:06:49]MH_SAM_APDU [00:06:49]CAPDU: 80 17 00 00 [00:06:49]Write to MH i2c: E2 08 00 D7 11 80 17 00 00 00 00 00 00 68 [00:06:49]Write i2c OK [00:06:49]MH_I2C_Read... [00:06:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:49]Read from MH i2c: E2 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 FD 00 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 FD 00 D7 11 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E0 [00:06:49]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:06:49]wFMCommunicate OK [00:06:49]wFMCommunicate request_size=4 [00:06:49]MH_SAM_APDU [00:06:49]CAPDU: 80 17 00 00 [00:06:49]Write to MH i2c: E2 08 00 D8 11 80 17 00 00 00 00 00 00 69 [00:06:49]Write i2c OK [00:06:49]MH_I2C_Read... [00:06:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:06:50]Read from MH i2c: E2 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 E1 00 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 E1 00 D8 11 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:06:50]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:50]wFMCommunicate OK [00:06:50]SAM_PROTO_GetFMData done [00:06:50]requested_item fm.sale_refund.total is exist - process it [00:06:50]requested_item fm.buy.total is exist - process it [00:06:50]requested_item shift.sale.total is exist - process it [00:06:50]SAM_PROTO_GetShiftData [00:06:50]wFMCommunicate request_size=4 [00:06:50]MH_SAM_APDU [00:06:50]CAPDU: 80 13 02 00 [00:06:50]Write to MH i2c: E2 08 00 D9 11 80 13 02 00 00 00 00 00 68 [00:06:50]Write i2c OK [00:06:50]MH_I2C_Read... [00:06:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:50]Read from MH i2c: E2 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 D9 11 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 DB [00:06:50]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:06:50]wFMCommunicate OK [00:06:50]wFMCommunicate request_size=4 [00:06:50]MH_SAM_APDU [00:06:50]CAPDU: 80 17 00 00 [00:06:50]Write to MH i2c: E2 08 00 DA 11 80 17 00 00 00 00 00 00 6B [00:06:50]Write i2c OK [00:06:50]MH_I2C_Read... [00:06:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:51]Read from MH i2c: E2 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 DA 11 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 73 [00:06:51]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:06:51]wFMCommunicate OK [00:06:51]wFMCommunicate request_size=4 [00:06:51]MH_SAM_APDU [00:06:51]CAPDU: 80 17 00 00 [00:06:51]Write to MH i2c: E2 08 00 DB 11 80 17 00 00 00 00 00 00 6C [00:06:51]Write i2c OK [00:06:51]MH_I2C_Read... [00:06:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:51]Read from MH i2c: E2 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 DB 11 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 3E [00:06:51]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:06:51]wFMCommunicate OK [00:06:51]wFMCommunicate request_size=4 [00:06:51]MH_SAM_APDU [00:06:51]CAPDU: 80 17 00 00 [00:06:51]Write to MH i2c: E2 08 00 DC 11 80 17 00 00 00 00 00 00 6D [00:06:51]Write i2c OK [00:06:51]MH_I2C_Read... [00:06:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:51]Read from MH i2c: E2 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 [00:06:51]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 FD 00 DC 11 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 DF [00:06:52]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:06:52]wFMCommunicate OK [00:06:52]wFMCommunicate request_size=4 [00:06:52]MH_SAM_APDU [00:06:52]CAPDU: 80 17 00 00 [00:06:52]Write to MH i2c: E2 08 00 DD 11 80 17 00 00 00 00 00 00 6E [00:06:52]Write i2c OK [00:06:52]MH_I2C_Read... [00:06:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:06:52]Read from MH i2c: E2 [00:06:52]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 BD 00 [00:06:52]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 BD 00 DD 11 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 54 [00:06:52]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:06:52]wFMCommunicate OK [00:06:52]SAM_PROTO_GetShiftData done [00:06:52]requested_item shift.sale.total_cash is exist - process it [00:06:52]requested_item shift.sale_refund.total is exist - process it [00:06:52]requested_item shift.sale_refund.total_cash is exist - process it [00:06:52]requested_item shift.buy.total is exist - process it [00:06:52]requested_item shift.buy.total_cash is exist - process it [00:06:52]produce_requested_data done [00:06:52]produce_requested_data return {"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.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:06:52]process_action_free get_value [00:06:52]json_value_free [00:06:52]json_value_free done [00:06:52]process_json_proto returns [00:06:52]Send response to host [00:06:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":10675895.34,"fm.sale_refund.total":365383.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:06:52]free response buf [00:06:52]execute_script done [00:06:52]execute_script returns [00:06:52]free content buf [00:06:52]Sock 7.Close socket [00:06:52]Sock 7.Thread stoped [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:03]OFD Sender: No OFD packet to send [00:13:08]OFD Sender: No OFD packet to send [00:13:13]OFD Sender: No OFD packet to send [00:13:18]OFD Sender: No OFD packet to send [00:13:23]OFD Sender: No OFD packet to send [00:13:28]OFD Sender: No OFD packet to send [00:13:33]OFD Sender: No OFD packet to send [00:13:38]OFD Sender: No OFD packet to send [00:13:43]OFD Sender: No OFD packet to send [00:13:48]OFD Sender: No OFD packet to send [00:13:53]OFD Sender: No OFD packet to send [00:13:58]OFD Sender: No OFD packet to send [00:14:03]OFD Sender: No OFD packet to send [00:14:08]OFD Sender: No OFD packet to send [00:14:13]OFD Sender: No OFD packet to send [00:14:18]OFD Sender: No OFD packet to send [00:14:23]OFD Sender: No OFD packet to send [00:14:28]OFD Sender: No OFD packet to send [00:14:33]OFD Sender: No OFD packet to send [00:14:38]OFD Sender: No OFD packet to send [00:14:43]OFD Sender: No OFD packet to send [00:14:48]OFD Sender: No OFD packet to send [00:14:53]OFD Sender: No OFD packet to send [00:14:58]OFD Sender: No OFD packet to send [00:15:03]OFD Sender: No OFD packet to send [00:15:08]OFD Sender: No OFD packet to send [00:15:13]OFD Sender: No OFD packet to send [00:15:18]OFD Sender: No OFD packet to send [00:15:23]OFD Sender: No OFD packet to send [00:15:28]OFD Sender: No OFD packet to send [00:15:33]OFD Sender: No OFD packet to send [00:15:38]OFD Sender: No OFD packet to send [00:15:43]OFD Sender: No OFD packet to send [00:15:48]OFD Sender: No OFD packet to send [00:15:53]OFD Sender: No OFD packet to send [00:15:58]OFD Sender: No OFD packet to send [00:16:03]OFD Sender: No OFD packet to send [00:16:08]OFD Sender: No OFD packet to send [00:16:13]OFD Sender: No OFD packet to send [00:16:18]OFD Sender: No OFD packet to send [00:16:23]OFD Sender: No OFD packet to send [00:16:28]OFD Sender: No OFD packet to send [00:16:33]OFD Sender: No OFD packet to send [00:16:38]OFD Sender: No OFD packet to send [00:16:43]OFD Sender: No OFD packet to send [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:03]OFD Sender: No OFD packet to send [00:17:08]OFD Sender: No OFD packet to send [00:17:13]OFD Sender: No OFD packet to send [00:17:18]OFD Sender: No OFD packet to send [00:17:23]OFD Sender: No OFD packet to send [00:17:28]OFD Sender: No OFD packet to send [00:17:33]OFD Sender: No OFD packet to send [00:17:38]OFD Sender: No OFD packet to send [00:17:43]OFD Sender: No OFD packet to send [00:17:48]OFD Sender: No OFD packet to send [00:17:53]OFD Sender: No OFD packet to send [00:17:58]OFD Sender: No OFD packet to send [00:18:03]OFD Sender: No OFD packet to send [00:18:08]OFD Sender: No OFD packet to send [00:18:13]OFD Sender: No OFD packet to send [00:18:18]OFD Sender: No OFD packet to send [00:18:23]OFD Sender: No OFD packet to send [00:18:28]OFD Sender: No OFD packet to send [00:18:33]OFD Sender: No OFD packet to send [00:18:38]OFD Sender: No OFD packet to send [00:18:43]OFD Sender: No OFD packet to send [00:18:48]OFD Sender: No OFD packet to send [00:18:53]OFD Sender: No OFD packet to send [00:18:58]OFD Sender: No OFD packet to send [00:19:03]OFD Sender: No OFD packet to send [00:19:08]OFD Sender: No OFD packet to send [00:19:13]OFD Sender: No OFD packet to send [00:19:18]OFD Sender: No OFD packet to send [00:19:23]OFD Sender: No OFD packet to send [00:19:28]OFD Sender: No OFD packet to send [00:19:33]OFD Sender: No OFD packet to send [00:19:38]OFD Sender: No OFD packet to send [00:19:43]OFD Sender: No OFD packet to send [00:19:48]OFD Sender: No OFD packet to send [00:19:53]OFD Sender: No OFD packet to send [00:19:58]OFD Sender: No OFD packet to send [00:20:03]OFD Sender: No OFD packet to send [00:20:08]OFD Sender: No OFD packet to send [00:20:13]OFD Sender: No OFD packet to send [00:20:18]OFD Sender: No OFD packet to send [00:20:23]OFD Sender: No OFD packet to send [00:20:28]OFD Sender: No OFD packet to send [00:20:33]OFD Sender: No OFD packet to send [00:20:38]OFD Sender: No OFD packet to send [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:23]OFD Sender: No OFD packet to send [00:22:28]OFD Sender: No OFD packet to send [00:22:33]OFD Sender: No OFD packet to send [00:22:38]OFD Sender: No OFD packet to send [00:22:43]OFD Sender: No OFD packet to send [00:22:48]OFD Sender: No OFD packet to send [00:22:53]OFD Sender: No OFD packet to send [00:22:58]OFD Sender: No OFD packet to send [00:23:03]OFD Sender: No OFD packet to send [00:23:08]OFD Sender: No OFD packet to send [00:23:13]OFD Sender: No OFD packet to send [00:23:18]OFD Sender: No OFD packet to send [00:23:23]OFD Sender: No OFD packet to send [00:23:28]OFD Sender: No OFD packet to send [00:23:33]OFD Sender: No OFD packet to send [00:23:38]OFD Sender: No OFD packet to send [00:23:43]OFD Sender: No OFD packet to send [00:23:48]OFD Sender: No OFD packet to send [00:23:53]OFD Sender: No OFD packet to send [00:23:58]OFD Sender: No OFD packet to send [00:24:03]OFD Sender: No OFD packet to send [00:24:08]OFD Sender: No OFD packet to send [00:24:13]OFD Sender: No OFD packet to send [00:24:18]OFD Sender: No OFD packet to send [00:24:23]OFD Sender: No OFD packet to send [00:24:28]OFD Sender: No OFD packet to send [00:24:33]OFD Sender: No OFD packet to send [00:24:38]OFD Sender: No OFD packet to send [00:24:43]OFD Sender: No OFD packet to send [00:24:48]OFD Sender: No OFD packet to send [00:24:53]OFD Sender: No OFD packet to send [00:24:58]OFD Sender: No OFD packet to send [00:25:03]OFD Sender: No OFD packet to send [00:25:08]OFD Sender: No OFD packet to send [00:25:13]OFD Sender: No OFD packet to send [00:25:18]OFD Sender: No OFD packet to send [00:25:23]OFD Sender: No OFD packet to send [00:25:28]OFD Sender: No OFD packet to send [00:25:33]OFD Sender: No OFD packet to send [00:25:38]OFD Sender: No OFD packet to send [00:25:43]OFD Sender: No OFD packet to send [00:25:48]OFD Sender: No OFD packet to send [00:25:53]OFD Sender: No OFD packet to send [00:25:58]OFD Sender: No OFD packet to send [00:26:03]OFD Sender: No OFD packet to send [00:26:08]OFD Sender: No OFD packet to send [00:26:13]OFD Sender: No OFD packet to send [00:26:18]OFD Sender: No OFD packet to send [00:26:23]OFD Sender: No OFD packet to send [00:26:28]OFD Sender: No OFD packet to send [00:26:33]OFD Sender: No OFD packet to send [00:26:38]OFD Sender: No OFD packet to send [00:26:43]OFD Sender: No OFD packet to send [00:26:48]OFD Sender: No OFD packet to send [00:26:53]OFD Sender: No OFD packet to send [00:26:58]OFD Sender: No OFD packet to send [00:27:03]OFD Sender: No OFD packet to send [00:27:08]OFD Sender: No OFD packet to send [00:27:13]OFD Sender: No OFD packet to send [00:27:18]OFD Sender: No OFD packet to send [00:27:23]OFD Sender: No OFD packet to send [00:27:28]OFD Sender: No OFD packet to send [00:27:33]OFD Sender: No OFD packet to send [00:27:38]OFD Sender: No OFD packet to send [00:27:43]OFD Sender: No OFD packet to send [00:27:48]OFD Sender: No OFD packet to send [00:27:53]OFD Sender: No OFD packet to send [00:27:58]OFD Sender: No OFD packet to send [00:28:03]OFD Sender: No OFD packet to send [00:28:08]OFD Sender: No OFD packet to send [00:28:13]OFD Sender: No OFD packet to send [00:28:18]OFD Sender: No OFD packet to send [00:28:23]OFD Sender: No OFD packet to send [00:28:28]OFD Sender: No OFD packet to send [00:28:33]OFD Sender: No OFD packet to send [00:28:38]OFD Sender: No OFD packet to send [00:28:43]OFD Sender: No OFD packet to send [00:28:48]OFD Sender: No OFD packet to send [00:28:53]OFD Sender: No OFD packet to send [00:28:58]OFD Sender: No OFD packet to send [00:29:03]OFD Sender: No OFD packet to send [00:29:08]OFD Sender: No OFD packet to send [00:29:13]OFD Sender: No OFD packet to send [00:29:18]OFD Sender: No OFD packet to send [00:29:23]OFD Sender: No OFD packet to send [00:29:28]OFD Sender: No OFD packet to send [00:29:33]OFD Sender: No OFD packet to send [00:29:38]OFD Sender: No OFD packet to send [00:29:43]OFD Sender: No OFD packet to send [00:29:48]OFD Sender: No OFD packet to send [00:29:53]OFD Sender: No OFD packet to send [00:29:58]OFD Sender: No OFD packet to send [00:30:03]OFD Sender: No OFD packet to send [00:30:08]OFD Sender: No OFD packet to send [00:30:13]OFD Sender: No OFD packet to send [00:30:18]OFD Sender: No OFD packet to send [00:30:23]OFD Sender: No OFD packet to send [00:30:28]OFD Sender: No OFD packet to send [00:30:33]OFD Sender: No OFD packet to send [00:30:38]OFD Sender: No OFD packet to send [00:30:43]OFD Sender: No OFD packet to send [00:30:48]OFD Sender: No OFD packet to send [00:30:53]OFD Sender: No OFD packet to send [00:30:58]OFD Sender: No OFD packet to send [00:31:03]OFD Sender: No OFD packet to send [00:31:08]OFD Sender: No OFD packet to send [00:31:13]OFD Sender: No OFD packet to send [00:31:18]OFD Sender: No OFD packet to send [00:31:23]OFD Sender: No OFD packet to send [00:31:28]OFD Sender: No OFD packet to send [00:31:33]OFD Sender: No OFD packet to send [00:31:38]OFD Sender: No OFD packet to send [00:31:43]OFD Sender: No OFD packet to send [00:31:48]OFD Sender: No OFD packet to send [00:31:53]OFD Sender: No OFD packet to send [00:31:58]OFD Sender: No OFD packet to send [00:32:03]OFD Sender: No OFD packet to send [00:32:08]OFD Sender: No OFD packet to send [00:32:13]OFD Sender: No OFD packet to send [00:32:18]OFD Sender: No OFD packet to send [00:32:23]OFD Sender: No OFD packet to send [00:32:28]OFD Sender: No OFD packet to send [00:32:33]OFD Sender: No OFD packet to send [00:32:38]OFD Sender: No OFD packet to send [00:32:43]OFD Sender: No OFD packet to send [00:32:48]OFD Sender: No OFD packet to send [00:32:53]OFD Sender: No OFD packet to send [00:32:58]OFD Sender: No OFD packet to send [00:33:03]OFD Sender: No OFD packet to send [00:33:08]OFD Sender: No OFD packet to send [00:33:13]OFD Sender: No OFD packet to send [00:33:18]OFD Sender: No OFD packet to send [00:33:23]OFD Sender: No OFD packet to send [00:33:28]OFD Sender: No OFD packet to send [00:33:33]OFD Sender: No OFD packet to send [00:33:38]OFD Sender: No OFD packet to send [00:33:43]OFD Sender: No OFD packet to send [00:33:48]OFD Sender: No OFD packet to send [00:33:53]OFD Sender: No OFD packet to send [00:33:58]OFD Sender: No OFD packet to send [00:34:03]OFD Sender: No OFD packet to send [00:34:08]OFD Sender: No OFD packet to send [00:34:13]OFD Sender: No OFD packet to send [00:34:18]OFD Sender: No OFD packet to send [00:34:23]OFD Sender: No OFD packet to send [00:34:28]OFD Sender: No OFD packet to send [00:34:33]OFD Sender: No OFD packet to send [00:34:38]OFD Sender: No OFD packet to send [00:34:44]OFD Sender: No OFD packet to send [00:34:49]OFD Sender: No OFD packet to send [00:34:54]OFD Sender: No OFD packet to send [00:34:59]OFD Sender: No OFD packet to send [00:35:04]OFD Sender: No OFD packet to send [00:35:09]OFD Sender: No OFD packet to send [00:35:14]OFD Sender: No OFD packet to send [00:35:19]OFD Sender: No OFD packet to send [00:35:24]OFD Sender: No OFD packet to send [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:44]OFD Sender: No OFD packet to send [00:36:49]OFD Sender: No OFD packet to send [00:36:54]OFD Sender: No OFD packet to send [00:36:59]OFD Sender: No OFD packet to send [00:37:04]OFD Sender: No OFD packet to send [00:37:09]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]OFD Sender: No OFD packet to send [00:40:19]OFD Sender: No OFD packet to send [00:40:24]OFD Sender: No OFD packet to send [00:40:29]OFD Sender: No OFD packet to send [00:40:34]OFD Sender: No OFD packet to send [00:40:39]OFD Sender: No OFD packet to send [00:40:44]OFD Sender: No OFD packet to send [00:40:49]OFD Sender: No OFD packet to send [00:40:54]OFD Sender: No OFD packet to send [00:40:59]OFD Sender: No OFD packet to send [00:41:04]OFD Sender: No OFD packet to send [00:41:09]OFD Sender: No OFD packet to send [00:41:14]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]OFD Sender: No OFD packet to send [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:30]OFD Sender: No OFD packet to send [00:56:35]OFD Sender: No OFD packet to send [00:56:40]OFD Sender: No OFD packet to send [00:56:45]OFD Sender: No OFD packet to send [00:56:50]OFD Sender: No OFD packet to send [00:56:55]OFD Sender: No OFD packet to send [00:57:00]OFD Sender: No OFD packet to send [00:57:05]OFD Sender: No OFD packet to send [00:57:10]OFD Sender: No OFD packet to send [00:57:15]OFD Sender: No OFD packet to send [00:57:20]OFD Sender: No OFD packet to send [00:57:25]OFD Sender: No OFD packet to send [00:57:30]OFD Sender: No OFD packet to send [00:57:35]OFD Sender: No OFD packet to send [00:57:40]OFD Sender: No OFD packet to send [00:57:45]OFD Sender: No OFD packet to send [00:57:50]OFD Sender: No OFD packet to send [00:57:55]OFD Sender: No OFD packet to send [00:58:00]OFD Sender: No OFD packet to send [00:58:05]OFD Sender: No OFD packet to send [00:58:10]OFD Sender: No OFD packet to send [00:58:15]OFD Sender: No OFD packet to send [00:58:20]OFD Sender: No OFD packet to send [00:58:25]OFD Sender: No OFD packet to send [00:58:30]OFD Sender: No OFD packet to send [00:58:35]OFD Sender: No OFD packet to send [00:58:40]OFD Sender: No OFD packet to send [00:58:45]OFD Sender: No OFD packet to send [00:58:50]OFD Sender: No OFD packet to send [00:58:55]OFD Sender: No OFD packet to send [00:59:00]OFD Sender: No OFD packet to send [00:59:05]OFD Sender: No OFD packet to send [00:59:10]OFD Sender: No OFD packet to send [00:59:15]OFD Sender: No OFD packet to send [00:59:20]OFD Sender: No OFD packet to send [00:59:25]OFD Sender: No OFD packet to send [00:59:30]OFD Sender: No OFD packet to send [00:59:35]OFD Sender: No OFD packet to send [00:59:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:35]OFD Sender: No OFD packet to send [01:12:40]OFD Sender: No OFD packet to send [01:12:45]OFD Sender: No OFD packet to send [01:12:50]OFD Sender: No OFD packet to send [01:12:55]OFD Sender: No OFD packet to send [01:13:00]OFD Sender: No OFD packet to send [01:13:05]OFD Sender: No OFD packet to send [01:13:10]OFD Sender: No OFD packet to send [01:13:15]OFD Sender: No OFD packet to send [01:13:20]OFD Sender: No OFD packet to send [01:13:25]OFD Sender: No OFD packet to send [01:13:30]OFD Sender: No OFD packet to send [01:13:35]OFD Sender: No OFD packet to send [01:13:40]OFD Sender: No OFD packet to send [01:13:45]OFD Sender: No OFD packet to send [01:13:50]OFD Sender: No OFD packet to send [01:13:55]OFD Sender: No OFD packet to send [01:14:00]OFD Sender: No OFD packet to send [01:14:05]OFD Sender: No OFD packet to send [01:14:10]OFD Sender: No OFD packet to send [01:14:15]OFD Sender: No OFD packet to send [01:14:20]OFD Sender: No OFD packet to send [01:14:25]OFD Sender: No OFD packet to send [01:14:30]OFD Sender: No OFD packet to send [01:14:35]OFD Sender: No OFD packet to send [01:14:40]OFD Sender: No OFD packet to send [01:14:45]OFD Sender: No OFD packet to send [01:14:50]OFD Sender: No OFD packet to send [01:14:55]OFD Sender: No OFD packet to send [01:15:00]OFD Sender: No OFD packet to send [01:15:05]OFD Sender: No OFD packet to send [01:15:10]OFD Sender: No OFD packet to send [01:15:15]OFD Sender: No OFD packet to send [01:15:20]OFD Sender: No OFD packet to send [01:15:25]OFD Sender: No OFD packet to send [01:15:30]OFD Sender: No OFD packet to send [01:15:35]OFD Sender: No OFD packet to send [01:15:40]OFD Sender: No OFD packet to send [01:15:45]OFD Sender: No OFD packet to send [01:15:50]OFD Sender: No OFD packet to send [01:15:55]OFD Sender: No OFD packet to send [01:16:00]OFD Sender: No OFD packet to send [01:16:05]OFD Sender: No OFD packet to send [01:16:10]OFD Sender: No OFD packet to send [01:16:15]OFD Sender: No OFD packet to send [01:16:20]OFD Sender: No OFD packet to send [01:16:25]OFD Sender: No OFD packet to send [01:16:30]OFD Sender: No OFD packet to send [01:16:35]OFD Sender: No OFD packet to send [01:16:40]OFD Sender: No OFD packet to send [01:16:45]OFD Sender: No OFD packet to send [01:16:50]OFD Sender: No OFD packet to send [01:16:55]OFD Sender: No OFD packet to send [01:17:00]OFD Sender: No OFD packet to send [01:17:05]OFD Sender: No OFD packet to send [01:17:10]OFD Sender: No OFD packet to send [01:17:15]OFD Sender: No OFD packet to send [01:17:20]OFD Sender: No OFD packet to send [01:17:25]OFD Sender: No OFD packet to send [01:17:30]OFD Sender: No OFD packet to send [01:17:35]OFD Sender: No OFD packet to send [01:17:40]OFD Sender: No OFD packet to send [01:17:45]OFD Sender: No OFD packet to send [01:17:50]OFD Sender: No OFD packet to send [01:17:56]OFD Sender: No OFD packet to send [01:18:01]OFD Sender: No OFD packet to send [01:18:06]OFD Sender: No OFD packet to send [01:18:11]OFD Sender: No OFD packet to send [01:18:16]OFD Sender: No OFD packet to send [01:18:21]OFD Sender: No OFD packet to send [01:18:26]OFD Sender: No OFD packet to send [01:18:31]OFD Sender: No OFD packet to send [01:18:36]OFD Sender: No OFD packet to send [01:18:41]OFD Sender: No OFD packet to send [01:18:46]OFD Sender: No OFD packet to send [01:18:51]OFD Sender: No OFD packet to send [01:18:56]OFD Sender: No OFD packet to send [01:19:01]OFD Sender: No OFD packet to send [01:19:06]OFD Sender: No OFD packet to send [01:19:11]OFD Sender: No OFD packet to send [01:19:16]OFD Sender: No OFD packet to send [01:19:21]OFD Sender: No OFD packet to send [01:19:26]OFD Sender: No OFD packet to send [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:06]OFD Sender: No OFD packet to send [01:23:11]OFD Sender: No OFD packet to send [01:23:16]OFD Sender: No OFD packet to send [01:23:21]OFD Sender: No OFD packet to send [01:23:26]OFD Sender: No OFD packet to send [01:23:31]OFD Sender: No OFD packet to send [01:23:36]OFD Sender: No OFD packet to send [01:23:41]OFD Sender: No OFD packet to send [01:23:46]OFD Sender: No OFD packet to send [01:23:51]OFD Sender: No OFD packet to send [01:23:56]OFD Sender: No OFD packet to send [01:24:01]OFD Sender: No OFD packet to send [01:24:06]OFD Sender: No OFD packet to send [01:24:11]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:31]OFD Sender: No OFD packet to send [01:25:36]OFD Sender: No OFD packet to send [01:25:41]OFD Sender: No OFD packet to send [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:36]OFD Sender: No OFD packet to send [01:30:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:40]accept exits with 9 [01:31:40]New connection [01:31:40]New thread 3066604900 created [01:31:40]Thread 3066461540 joined [01:31:40]Waiting for new connection... [01:31:40] Sock 9.Parse request [01:31:40]Sock 9.Check first char [01:31:40]Sock 9.First char is OK [01:31:40]request: POST /json_proto HTTP/1.0 [01:31:40]Method: POST [01:31:40]URL: /json_proto [01:31:40]Method is POST - this is cgi request [01:31:40]url: /json_proto [01:31:40]query_string will be loaded in cgi processing [01:31:40]execute_cgi json_proto POST (null) [01:31:40]execute_cgi path=json_proto method=POST [01:31:40]POST find Content-Length [01:31:40]Host: 172.17.35.196:8080 [01:31:40]Content-Length: 1111 [01:31:40]Content-Type: application/json [01:31:40] [01:31:40]POST finish read [01:31:40]Found Content-Length = 1111 [01:31:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169193", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 477.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:31:40]execute_script... [01:31: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)169193", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 477.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:31:40]POST & json_proto [01:31:40]process_json_proto [01:31:40]json parsed OK: [01:31:40]protocol is kg_v1.0 [01:31:40]action value=close_receipt [01:31:40]process_action close_receipt [01:31:40]cmd_close_receipt [01:31:40]MH_GetDate [01:31:40]Write to MH i2c: F0 00 00 DE 11 DE [01:31:40]Write i2c OK [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: F0 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: F0 09 00 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: F0 09 00 DE 11 00 00 D9 91 66 AD 14 F4 65 D1 [01:31:40]GetLastDocTimeStamp 1720829207 [01:31:40]current date 1720834304 [01:31:40]FM_GetShiftState [01:31:40]SAM_PROTO_GetShiftState [01:31:40]wFMCommunicate request_size=4 [01:31:40]MH_SAM_APDU [01:31:40]CAPDU: 80 13 01 00 [01:31:40]Write to MH i2c: E2 08 00 DF 11 80 13 01 00 00 00 00 00 6D [01:31:40]Write i2c OK [01:31:40]MH_I2C_Read... [01:31:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:40]Read from MH i2c: E2 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: E2 0E 00 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: E2 0E 00 DF 11 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 4C [01:31:40]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [01:31:40]wFMCommunicate OK [01:31:40]SAM_PROTO_GetShiftState done [01:31:40]FM_GetShiftState done [01:31:40]opened in 1720829207 [01:31:40]opened+sec_in_day 1720915607 [01:31:40]quantity*price = 15700 [01:31:40]sum+1 = 15701 [01:31:40]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860019001346 Вода Боржоми 0,5л ст 2.000 * 160.00 = 320.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 477.00 НСП 1% : 4.22 НДС 12% : 50.65 Наличными: 0.00 Безнал.: 477.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 1 13.07.2024 01:31 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000875104 ФД: 33382 ФПД: 64226544587400 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T013144&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33382&fm=64226544587400&tin=02508201610067®Number=0000000000093033&sum=47700 0 [01:31:41]StoreToDocumentArchive [01:31:41]shift 434 fd 33382 [01:31:41]save to /storage/0434/doc_00033382 [01:31:41]save last doc name /storage/0434/doc_00033382 to /storage/kkm_last_doc_name [01:31:41]save OK [01:31:41]Clear old archive folders... [01:31:41]ProcessDocumentItem done err = 0, tmpTLVsize=384 [01:31:41]tlvbuf is 00A458A0 [01:31:41]SAM_PROTO_ClearQueue [01:31:41]wFMCommunicate request_size=4 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 09 00 00 [01:31:41]Write to MH i2c: E2 08 00 EC 11 80 09 00 00 00 00 00 00 6F [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:31:41]Read from MH i2c: E2 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 03 00 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 03 00 EC 11 00 90 00 71 [01:31:41]RAPDU: 90 00 [01:31:41]wFMCommunicate OK [01:31:41]SAM_PROTO_ClearQueue done [01:31:41]KKMCreateOFDPacket [01:31:41]OFDProtocolAddRootSTLVToBuf [01:31:41]FM_MakeSignedData [01:31:41]FM_MakeSignedData [01:31:41]SAM_PROTO_SignData [01:31:41]wFMCommunicate request_size=4 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 0D 01 02 [01:31:41]Write to MH i2c: E2 08 00 ED 11 80 0D 01 02 00 00 00 00 77 [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:41]OFD Sender: No OFD packet to send [01:31:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:31:41]Read from MH i2c: E2 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 03 00 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 03 00 ED 11 00 90 00 72 [01:31:41]RAPDU: 90 00 [01:31:41]wFMCommunicate OK [01:31:41]wFMCommunicate request_size=255 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [01:31:41]Write to MH i2c: E2 02 01 EE 11 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 7D [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 EE 11 00 90 00 73 [01:31:42]RAPDU: 90 00 [01:31:42]wFMCommunicate OK [01:31:42]wFMCommunicate request_size=143 [01:31:42]MH_SAM_APDU [01:31:42]CAPDU: 80 0D 02 02 8A A6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 BA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 00 D9 91 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 66 82 00 00 35 04 06 00 3A 69 E8 60 12 88 [01:31:42]Write to MH i2c: E2 92 00 EF 11 80 0D 02 02 8A 00 A6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 BA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 00 D9 91 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 66 82 00 00 35 04 06 00 3A 69 E8 60 12 88 00 00 2F [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 EF 11 00 90 00 74 [01:31:42]RAPDU: 90 00 [01:31:42]wFMCommunicate OK [01:31:42]wFMCommunicate request_size=4 [01:31:42]MH_SAM_APDU [01:31:42]CAPDU: 80 0D 03 02 [01:31:42]Write to MH i2c: E2 08 00 F0 11 80 0D 03 02 00 00 00 00 7C [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 0B 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 0B 00 F0 11 00 08 60 5E AB 87 4E 9D 75 90 00 D5 [01:31:42]RAPDU: 08 60 5E AB 87 4E 9D 75 90 00 [01:31:42]wFMCommunicate OK [01:31:42]SAM_PROTO_SignData done [01:31:42]FM_MakeSignedData done [01:31:42]CreateOFDProtocolMessage [01:31:42]wFMCommunicate request_size=4 [01:31:42]MH_SAM_APDU [01:31:42]CAPDU: 80 11 00 00 [01:31:42]Write to MH i2c: E2 08 00 F1 11 80 11 00 00 00 00 00 00 7C [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 17 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 17 00 F1 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 C8 [01:31:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:31:42]wFMCommunicate OK [01:31:42]CreateOFDProtocolMessage done [01:31:42]OFDSenderStorePacket 33382 [01:31:42]StoreOFDPacket docnum=33382 [01:31:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 94 01 00 00 56 E3 8C 01 47 32 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 BA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 00 D9 91 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 66 82 00 00 35 04 06 00 3A 69 E8 60 12 88 08 60 5E AB 87 4E 9D 75 [01:31:42]CheckFolder [01:31:42]dirname=/storage/ofd_packets [01:31:42]CheckFolder done [01:31:42]ProducePacketName [01:31:42]name=ofd_packets/00033382 [01:31:42]NVStorageSaveData ofd_packets/00033382 [01:31:42]File name is /storage/ofd_packets/00033382 [01:31:42]Write 434 bytes [01:31:42]NVStorageSaveData done [01:31:42]OFDSenderStorePacket done [01:31:42]KKMCreateOFDPacket done [01:31:42]NVStorageSaveData kkm_last_timestamp [01:31:42]File name is /storage/kkm_last_timestamp [01:31:42]Write 4 bytes [01:31:42]NVStorageSaveData done [01:31:42]ExternCall_PrintAddStr [01:31:42]wPrintStart [01:31:42]Write to MH i2c: 01 00 00 F2 11 03 [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]OFD Sender: Processing packet 33382 [packets to send 6, broken 5] [01:31:42]Read from MH i2c: ProducePacketName [01:31:42]01 name=ofd_packets/00033382 [01:31:42] [01:31:42]OFD Sender: To server: pG, [01:31:42]MH_I2C_Read... [01:31:42]CommunicateWithHost lk.salyk.kg:30040 [01:31:42]Read from MH i2c: ConnectInit lk.salyk.kg [01:31:42]01 07 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: 01 07 00 F2 11 00 00 00 00 00 FF 0F 18 [01:31:42]RasterBufferAndPrint [01:31:42]line Счет N : (3)169193 [01:31:42]line ИНН: 02508201610067 [01:31:42]line Контрольно-Кассовый Чек [01:31:42]line ПРОДАЖА [01:31:42]line Товар: 90162602 [01:31:42]line Энерг напиток Red bull 0,25л [01:31:42]line 1.000 * 157.00 [01:31:42]line = 157.00 [01:31:42]line НДС 12% НСП 1% [01:31:42]line > о реализуемом товаре [01:31:42]line Товар: 4860019001346 [01:31:42]line Вода Боржоми 0,5л ст [01:31:42]line 2.000 * 160.00 [01:31:42]line = 320.00 [01:31:42]line НДС 12% НСП 1% [01:31:42]line > о реализуемом товаре [01:31:42]line ИТОГО: 477.00 [01:31:42]line НСП 1% : 4.22 [01:31:42]line НДС 12% : 50.65 [01:31:42]line Наличными: 0.00 [01:31:42]line Безнал.: 477.00 [01:31:42]line Место: АЗС № 77 "Партнер Нефть" [01:31:42]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [01:31:42]line СНО: Общий режим [01:31:42]line Чек 1 13.07.2024 01:31 [01:31:42]line Смена: 434 ФФД: 1.0 [01:31:42]line ЗНМ: 0300000122 [01:31:42]line РНМ: 0000000000093033 [01:31:42]line Версия ККМ: 001 [01:31:42]line Платежная система: АКБ Кыргызстан [01:31:42]line ФМ: 0000000000875104 [01:31:42]line ФД: 33382 [01:31:42]line ФПД: 64226544587400 [01:31:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T013144&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33382&fm=64226544587400&tin=02508201610067®Number=0000000000093033&sum=47700 [01:31:42]line 0 [01:31:42]written 0, free lines is 4095 [01:31:42]Connected sock=11 [01:31:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 94 01 00 00 56 E3 8C 01 47 32 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 BA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 00 D9 91 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 66 82 00 00 35 04 06 00 3A 69 E8 60 12 88 08 60 5E AB 87 4E 9D 75 [01:31:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 4B 06 47 00 0A 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 38 37 35 31 30 34 10 04 04 00 66 82 00 00 F4 03 04 00 AB 83 91 66 B6 04 01 00 00 7C A0 D9 48 EE CC EF B7 [01:31:42]CommunicateWithHost err = 0 [01:31:42]CheckOFDResponse [01:31:42]1017 (14) - 77093643461234 [01:31:42]1041 (16) - 0000000000875104 [01:31:42]1040 (4) - 33382 [01:31:42]1012 (4) - 12.07.2024 19:27 [01:31:42]1206 (1) - 0 [01:31:42]OFD Sender: Remove packet 33382 [01:31:42]ProducePacketName [01:31:42]name=ofd_packets/00033382 [01:31:42]NVStorageDeleteData [01:31:43]Write to MH i2c: 01 00 00 22 12 34 [01:31:43]Write i2c OK [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: 01 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: 01 07 00 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: 01 07 00 22 12 00 00 00 00 00 92 0C D9 [01:31:43]RasterBufferAndPrint [01:31:43]line [01:31:43]line [01:31:43]line [01:31:43]line [01:31:43]line [01:31:43]written 0, free lines is 3227 [01:31:43]MH_Cut [01:31:43]Write to MH i2c: D1 01 00 29 12 01 0D [01:31:43]Write i2c OK [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: D1 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: D1 01 00 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: D1 01 00 29 12 00 0C [01:31:43]Write to MH i2c: 01 00 00 2A 12 3C [01:31:43]Write i2c OK [01:31:43]MH_I2C_Read... [01:31:43]OFD Sender: No OFD packet to send [01:31:43]*** Cut start [01:31:43]*** Partial cut [01:31:43]*** CUTSNS_PIN = 1 [01:31:44]*** CUTSNS_PIN = 0 [01:31:44]*** Brake cut motor [01:31:44]Read from MH i2c: 01 [01:31:44]MH_I2C_Read... [01:31:44]*** Stop cut motor [01:31:44]*** Cut end [01:31:44]Read from MH i2c: 01 07 00 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: 01 07 00 2A 12 00 00 00 00 00 FF 0F 51 [01:31:44]process_action close_receipt done [01:31:44]requested_data is exist [01:31:44]produce_requested_data [01:31:44]requested_item fm.sn is exist - process it [01:31:44]wFMCommunicate request_size=4 [01:31:44]MH_SAM_APDU [01:31:44]CAPDU: 80 11 00 00 [01:31:44]Write to MH i2c: E2 08 00 2B 12 80 11 00 00 00 00 00 00 B7 [01:31:44]Write i2c OK [01:31:44]MH_I2C_Read... [01:31:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:44]Read from MH i2c: E2 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: E2 17 00 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: E2 17 00 2B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 03 [01:31:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:31:44]wFMCommunicate OK [01:31:44]requested_item fd.num is exist - process it [01:31:44]SAM_PROTO_GetFieldsCounters [01:31:44]wFMCommunicate request_size=4 [01:31:44]MH_SAM_APDU [01:31:44]CAPDU: 80 13 00 00 [01:31:44]Write to MH i2c: E2 08 00 2C 12 80 13 00 00 00 00 00 00 BA [01:31:44]Write i2c OK [01:31:44]MH_I2C_Read... [01:31:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:31:44]Read from MH i2c: E2 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: E2 62 00 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: E2 62 00 2C 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 66 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [01:31:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 66 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:31:44]wFMCommunicate OK [01:31:44]SAM_PROTO_GetFieldsCounters done [01:31:44]requested_item shift.num is exist - process it [01:31:44]requested_item shift.opened is exist - process it [01:31:44]req_shift_opened [01:31:44]FM_GetShiftState [01:31:44]SAM_PROTO_GetShiftState [01:31:44]wFMCommunicate request_size=4 [01:31:44]MH_SAM_APDU [01:31:44]CAPDU: 80 13 01 00 [01:31:44]Write to MH i2c: E2 08 00 2D 12 80 13 01 00 00 00 00 00 BC [01:31:44]Write i2c OK [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: E2 [01:31:44]MH_I2C_Read... [01:31:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:44]Read from MH i2c: E2 0E 00 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: E2 0E 00 2D 12 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 9B [01:31:44]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [01:31:44]wFMCommunicate OK [01:31:44]SAM_PROTO_GetShiftState done [01:31:44]FM_GetShiftState done [01:31:44]req_shift_opened done [01:31:44]requested_item shift.open_date is exist - process it [01:31:44]req_shift_open_date [01:31:44]req_shift_open_date done [01:31:44]produce_requested_data done [01:31:44]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33382,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [01:31:44]process_action_free close_receipt [01:31:44]json_value_free [01:31:44]json_value_free done [01:31:44]process_json_proto returns [01:31:44]Send response to host [01:31:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33382,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [01:31:44]free response buf [01:31:44]execute_script done [01:31:44]execute_script returns [01:31:44]free content buf [01:31:44]Sock 9.Close socket [01:31:44]Sock 9.Thread stoped [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:14]accept exits with 7 [01:40:14]New connection [01:40:14]New thread 3066461540 created [01:40:14]Thread 3066604900 joined [01:40:14]Waiting for new connection... [01:40:14] Sock 7.Parse request [01:40:14]Sock 7.Check first char [01:40:14]Sock 7.First char is OK [01:40:14]request: POST /json_proto HTTP/1.0 [01:40:14]Method: POST [01:40:14]URL: /json_proto [01:40:14]Method is POST - this is cgi request [01:40:14]url: /json_proto [01:40:14]query_string will be loaded in cgi processing [01:40:14]execute_cgi json_proto POST (null) [01:40:14]execute_cgi path=json_proto method=POST [01:40:14]POST find Content-Length [01:40:14]Host: 172.17.35.196:8080 [01:40:14]Content-Length: 869 [01:40:14]Content-Type: application/json [01:40:14] [01:40:14]POST finish read [01:40:14]Found Content-Length = 869 [01:40:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)169194", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 201.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:40:14]execute_script... [01:40: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)169194", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 201.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:40:14]POST & json_proto [01:40:14]process_json_proto [01:40:14]json parsed OK: [01:40:14]protocol is kg_v1.0 [01:40:14]action value=close_receipt [01:40:14]process_action close_receipt [01:40:14]cmd_close_receipt [01:40:14]MH_GetDate [01:40:14]Write to MH i2c: F0 00 00 2E 12 2F [01:40:14]Write i2c OK [01:40:14]MH_I2C_Read... [01:40:14]Read from MH i2c: F0 [01:40:14]MH_I2C_Read... [01:40:14]Read from MH i2c: F0 09 00 [01:40:14]MH_I2C_Read... [01:40:14]Read from MH i2c: F0 09 00 2E 12 00 01 DB 91 66 AD 14 F4 65 25 [01:40:14]GetLastDocTimeStamp 1720834304 [01:40:14]current date 1720834817 [01:40:14]FM_GetShiftState [01:40:14]SAM_PROTO_GetShiftState [01:40:14]wFMCommunicate request_size=4 [01:40:14]MH_SAM_APDU [01:40:14]CAPDU: 80 13 01 00 [01:40:14]Write to MH i2c: E2 08 00 2F 12 80 13 01 00 00 00 00 00 BE [01:40:14]Write i2c OK [01:40:14]MH_I2C_Read... [01:40:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:40:14]Read from MH i2c: E2 [01:40:14]MH_I2C_Read... [01:40:14]Read from MH i2c: E2 0E 00 [01:40:14]MH_I2C_Read... [01:40:14]Read from MH i2c: E2 0E 00 2F 12 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 9D [01:40:14]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [01:40:14]wFMCommunicate OK [01:40:14]SAM_PROTO_GetShiftState done [01:40:14]FM_GetShiftState done [01:40:14]opened in 1720829207 [01:40:14]opened+sec_in_day 1720915607 [01:40:14]quantity*price = 15100 [01:40:14]sum+1 = 15101 [01:40:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 201.00 НСП 1% : 1.78 НДС 12% : 21.34 Наличными: 201.00 Безнал.: 0.00 Место: АЗС № 77 "Партнер Нефть" Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 СНО: Общий режим Чек 2 13.07.2024 01:40 Смена: 434 ФФД: 1.0 ЗНМ: 0300000122 РНМ: 0000000000093033 Версия ККМ: 001 ФМ: 0000000000875104 ФД: 33383 ФПД: 4639860575831 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T014018&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33383&fm=4639860575831&tin=02508201610067®Number=0000000000093033&sum=20100 0 [01:40:15]StoreToDocumentArchive [01:40:15]shift 434 fd 33383 [01:40:15]save to /storage/0434/doc_00033383 [01:40:15]save last doc name /storage/0434/doc_00033383 to /storage/kkm_last_doc_name [01:40:15]save OK [01:40:15]Clear old archive folders... [01:40:15]ProcessDocumentItem done err = 0, tmpTLVsize=373 [01:40:15]tlvbuf is 00A3DC20 [01:40:15]SAM_PROTO_ClearQueue [01:40:15]wFMCommunicate request_size=4 [01:40:15]MH_SAM_APDU [01:40:15]CAPDU: 80 09 00 00 [01:40:15]Write to MH i2c: E2 08 00 3C 12 80 09 00 00 00 00 00 00 C0 [01:40:15]Write i2c OK [01:40:15]MH_I2C_Read... [01:40:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:40:15]Read from MH i2c: E2 [01:40:15]MH_I2C_Read... [01:40:15]Read from MH i2c: E2 03 00 [01:40:15]MH_I2C_Read... [01:40:15]Read from MH i2c: E2 03 00 3C 12 00 90 00 C2 [01:40:15]RAPDU: 90 00 [01:40:15]wFMCommunicate OK [01:40:15]SAM_PROTO_ClearQueue done [01:40:15]KKMCreateOFDPacket [01:40:15]OFDProtocolAddRootSTLVToBuf [01:40:15]FM_MakeSignedData [01:40:15]FM_MakeSignedData [01:40:15]SAM_PROTO_SignData [01:40:15]wFMCommunicate request_size=4 [01:40:15]MH_SAM_APDU [01:40:15]CAPDU: 80 0D 01 02 [01:40:15]Write to MH i2c: E2 08 00 3D 12 80 0D 01 02 00 00 00 00 C8 [01:40:15]Write i2c OK [01:40:15]MH_I2C_Read... [01:40:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:40:15]Read from MH i2c: E2 [01:40:15]MH_I2C_Read... [01:40:15]Read from MH i2c: E2 03 00 [01:40:15]MH_I2C_Read... [01:40:15]Read from MH i2c: E2 03 00 3D 12 00 90 00 C3 [01:40:15]RAPDU: 90 00 [01:40:15]wFMCommunicate OK [01:40:15]wFMCommunicate request_size=255 [01:40:15]MH_SAM_APDU [01:40:15]CAPDU: 80 0D 02 02 FA 03 00 75 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 00 00 00 00 00 EE 03 0F 00 F2 [01:40:15]Write to MH i2c: E2 02 01 3E 12 80 0D 02 02 FA 00 03 00 75 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 00 00 00 00 00 EE 03 0F 00 F2 00 00 EA [01:40:15]Write i2c OK [01:40:15]MH_I2C_Read... [01:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:40:15]Read from MH i2c: E2 [01:40:15]MH_I2C_Read... [01:40:15]Read from MH i2c: E2 03 00 [01:40:15]MH_I2C_Read... [01:40:15]Read from MH i2c: E2 03 00 3E 12 00 90 00 C4 [01:40:15]RAPDU: 90 00 [01:40:15]wFMCommunicate OK [01:40:15]wFMCommunicate request_size=132 [01:40:15]MH_SAM_APDU [01:40:15]CAPDU: 80 0D 02 02 7F 03 01 00 01 F3 03 06 00 56 08 00 00 00 00 07 04 06 00 84 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 02 DB 91 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 67 82 00 00 35 04 06 00 04 38 4D 3D CE 57 [01:40:15]Write to MH i2c: E2 87 00 3F 12 80 0D 02 02 7F 00 03 01 00 01 F3 03 06 00 56 08 00 00 00 00 07 04 06 00 84 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 02 DB 91 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 67 82 00 00 35 04 06 00 04 38 4D 3D CE 57 00 00 83 [01:40:15]Write i2c OK [01:40:15]MH_I2C_Read... [01:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:40:16]Read from MH i2c: E2 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: E2 03 00 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: E2 03 00 3F 12 00 90 00 C5 [01:40:16]RAPDU: 90 00 [01:40:16]wFMCommunicate OK [01:40:16]wFMCommunicate request_size=4 [01:40:16]MH_SAM_APDU [01:40:16]CAPDU: 80 0D 03 02 [01:40:16]Write to MH i2c: E2 08 00 40 12 80 0D 03 02 00 00 00 00 CD [01:40:16]Write i2c OK [01:40:16]MH_I2C_Read... [01:40:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:40:16]Read from MH i2c: E2 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: E2 0B 00 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: E2 0B 00 40 12 00 3C 31 E6 75 EB 7A 1F BF 90 00 D9 [01:40:16]RAPDU: 3C 31 E6 75 EB 7A 1F BF 90 00 [01:40:16]wFMCommunicate OK [01:40:16]SAM_PROTO_SignData done [01:40:16]FM_MakeSignedData done [01:40:16]CreateOFDProtocolMessage [01:40:16]wFMCommunicate request_size=4 [01:40:16]MH_SAM_APDU [01:40:16]CAPDU: 80 11 00 00 [01:40:16]Write to MH i2c: E2 08 00 41 12 80 11 00 00 00 00 00 00 CD [01:40:16]Write i2c OK [01:40:16]MH_I2C_Read... [01:40:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:40:16]Read from MH i2c: E2 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: E2 17 00 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: E2 17 00 41 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 19 [01:40:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:40:16]wFMCommunicate OK [01:40:16]CreateOFDProtocolMessage done [01:40:16]OFDSenderStorePacket 33383 [01:40:16]StoreOFDPacket docnum=33383 [01:40:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 89 01 00 00 13 35 81 01 E9 DB 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 08 00 00 00 00 07 04 06 00 84 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 02 DB 91 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 67 82 00 00 35 04 06 00 04 38 4D 3D CE 57 3C 31 E6 75 EB 7A 1F BF [01:40:16]CheckFolder [01:40:16]dirname=/storage/ofd_packets [01:40:16]CheckFolder done [01:40:16]ProducePacketName [01:40:16]name=ofd_packets/00033383 [01:40:16]NVStorageSaveData ofd_packets/00033383 [01:40:16]File name is /storage/ofd_packets/00033383 [01:40:16]Write 423 bytes [01:40:16]NVStorageSaveData done [01:40:16]OFDSenderStorePacket done [01:40:16]KKMCreateOFDPacket done [01:40:16]NVStorageSaveData kkm_last_timestamp [01:40:16]File name is /storage/kkm_last_timestamp [01:40:16]Write 4 bytes [01:40:16]NVStorageSaveData done [01:40:16]ExternCall_PrintAddStr [01:40:16]wPrintStart [01:40:16]Write to MH i2c: 01 00 00 42 12 54 [01:40:16]Write i2c OK [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: 01 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: 01 07 00 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: 01 07 00 42 12 00 00 00 00 00 FF 0F 69 [01:40:16]RasterBufferAndPrint [01:40:16]line Счет N : (3)169194 [01:40:16]line ИНН: 02508201610067 [01:40:16]line Контрольно-Кассовый Чек [01:40:16]line ПРОДАЖА [01:40:16]line Товар: 48741958 [01:40:16]line Сигареты Parliament Aqua Blue [01:40:16]line 1.000 * 151.00 [01:40:16]line = 151.00 [01:40:16]line НДС 12% НСП 1% [01:40:16]line > о реализуемом товаре [01:40:16]line Товар: 4700000160358 [01:40:16]line Вода Легенда 1л [01:40:16]line 1.000 * 50.00 [01:40:16]line = 50.00 [01:40:16]line НДС 12% НСП 1% [01:40:16]line > о реализуемом товаре [01:40:16]line ИТОГО: 201.00 [01:40:16]line НСП 1% : 1.78 [01:40:16]line НДС 12% : 21.34 [01:40:16]line Наличными: 201.00 [01:40:16]line Безнал.: 0.00 [01:40:16]line Место: АЗС № 77 "Партнер Нефть" [01:40:16]line Адрес: 720001, г. Талас, ул. Ч. Айтматова б/н, 42.525284, 72.245432 [01:40:16]line СНО: Общий режим [01:40:16]line Чек 2 13.07.2024 01:40 [01:40:16]line Смена: 434 ФФД: 1.0 [01:40:16]line ЗНМ: 0300000122 [01:40:16]line РНМ: 0000000000093033 [01:40:16]line Версия ККМ: 001 [01:40:16]line ФМ: 0000000000875104 [01:40:16]line ФД: 33383 [01:40:16]line ФПД: 4639860575831 [01:40:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240713T014018&type=1&operation_type=1&fn_number=0000000000875104&fd_number=33383&fm=4639860575831&tin=02508201610067®Number=0000000000093033&sum=20100 [01:40:16]line 0 [01:40:16]OFD Sender: Processing packet 33383 [packets to send 6, broken 5] [01:40:16]ProducePacketName [01:40:16]name=ofd_packets/00033383 [01:40:16]OFD Sender: To server: pG, [01:40:16]CommunicateWithHost lk.salyk.kg:30040 [01:40:16]ConnectInit lk.salyk.kg [01:40:16]written 0, free lines is 4095 [01:40:16]Connected sock=10 [01:40:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 89 01 00 00 13 35 81 01 E9 DB 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 08 00 00 00 00 07 04 06 00 84 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 02 DB 91 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 67 82 00 00 35 04 06 00 04 38 4D 3D CE 57 3C 31 E6 75 EB 7A 1F BF [01:40:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 4F 00 00 00 87 D2 47 00 3B 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 10 04 04 00 67 82 00 00 F4 03 04 00 AD 85 91 66 B6 04 01 00 00 92 31 BE 73 B8 9B 1C CF [01:40:16]CommunicateWithHost err = 0 [01:40:16]CheckOFDResponse [01:40:16]1017 (14) - 77093643461234 [01:40:16]1041 (16) - 0000000000875104 [01:40:16]1040 (4) - 33383 [01:40:16]1012 (4) - 12.07.2024 19:36 [01:40:16]1206 (1) - 0 [01:40:16]OFD Sender: Remove packet 33383 [01:40:16]ProducePacketName [01:40:16]name=ofd_packets/00033383 [01:40:16]NVStorageDeleteData [01:40:16]Write to MH i2c: 01 00 00 71 12 83 [01:40:16]Write i2c OK [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: 01 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: 01 07 00 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: 01 07 00 71 12 00 00 00 00 00 82 0C 18 [01:40:16]RasterBufferAndPrint [01:40:16]line [01:40:16]line [01:40:16]line [01:40:16]line [01:40:16]line [01:40:16]written 0, free lines is 3211 [01:40:16]MH_Cut [01:40:16]Write to MH i2c: D1 01 00 78 12 01 5C [01:40:16]Write i2c OK [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: D1 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: D1 01 00 [01:40:16]MH_I2C_Read... [01:40:16]Read from MH i2c: D1 01 00 78 12 00 5B [01:40:16]Write to MH i2c: 01 00 00 79 12 8B [01:40:16]Write i2c OK [01:40:16]MH_I2C_Read... [01:40:17]OFD Sender: No OFD packet to send [01:40:17]*** Cut start [01:40:17]*** Partial cut [01:40:17]*** CUTSNS_PIN = 1 [01:40:17]*** CUTSNS_PIN = 0 [01:40:18]*** Brake cut motor [01:40:18]Read from MH i2c: 01 [01:40:18]MH_I2C_Read... [01:40:18]*** Stop cut motor [01:40:18]*** Cut end [01:40:18]Read from MH i2c: 01 07 00 [01:40:18]MH_I2C_Read... [01:40:18]Read from MH i2c: 01 07 00 79 12 00 00 00 00 00 FF 0F A0 [01:40:18]process_action close_receipt done [01:40:18]requested_data is exist [01:40:18]produce_requested_data [01:40:18]requested_item fm.sn is exist - process it [01:40:18]wFMCommunicate request_size=4 [01:40:18]MH_SAM_APDU [01:40:18]CAPDU: 80 11 00 00 [01:40:18]Write to MH i2c: E2 08 00 7A 12 80 11 00 00 00 00 00 00 06 [01:40:18]Write i2c OK [01:40:18]MH_I2C_Read... [01:40:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:40:18]Read from MH i2c: E2 [01:40:18]MH_I2C_Read... [01:40:18]Read from MH i2c: E2 17 00 [01:40:18]MH_I2C_Read... [01:40:18]Read from MH i2c: E2 17 00 7A 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 52 [01:40:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 90 00 [01:40:18]wFMCommunicate OK [01:40:18]requested_item fd.num is exist - process it [01:40:18]SAM_PROTO_GetFieldsCounters [01:40:18]wFMCommunicate request_size=4 [01:40:18]MH_SAM_APDU [01:40:18]CAPDU: 80 13 00 00 [01:40:18]Write to MH i2c: E2 08 00 7B 12 80 13 00 00 00 00 00 00 09 [01:40:18]Write i2c OK [01:40:18]MH_I2C_Read... [01:40:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:40:18]Read from MH i2c: E2 [01:40:18]MH_I2C_Read... [01:40:18]Read from MH i2c: E2 62 00 [01:40:18]MH_I2C_Read... [01:40:18]Read from MH i2c: E2 62 00 7B 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 67 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 BE [01:40:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 31 30 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 33 30 33 33 10 04 04 00 67 82 00 00 0E 04 04 00 B2 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:40:18]wFMCommunicate OK [01:40:18]SAM_PROTO_GetFieldsCounters done [01:40:18]requested_item shift.num is exist - process it [01:40:18]requested_item shift.opened is exist - process it [01:40:18]req_shift_opened [01:40:18]FM_GetShiftState [01:40:18]SAM_PROTO_GetShiftState [01:40:18]wFMCommunicate request_size=4 [01:40:18]MH_SAM_APDU [01:40:18]CAPDU: 80 13 01 00 [01:40:18]Write to MH i2c: E2 08 00 7C 12 80 13 01 00 00 00 00 00 0B [01:40:18]Write i2c OK [01:40:18]MH_I2C_Read... [01:40:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:40:18]Read from MH i2c: E2 [01:40:18]MH_I2C_Read... [01:40:18]Read from MH i2c: E2 0E 00 [01:40:18]MH_I2C_Read... [01:40:18]Read from MH i2c: E2 0E 00 7C 12 00 09 00 01 17 C5 91 66 00 00 00 00 90 00 EA [01:40:18]RAPDU: 09 00 01 17 C5 91 66 00 00 00 00 90 00 [01:40:18]wFMCommunicate OK [01:40:18]SAM_PROTO_GetShiftState done [01:40:18]FM_GetShiftState done [01:40:18]req_shift_opened done [01:40:18]requested_item shift.open_date is exist - process it [01:40:18]req_shift_open_date [01:40:18]req_shift_open_date done [01:40:18]produce_requested_data done [01:40:18]produce_requested_data return {"fm.sn":"0000000000875104","fd.num":33383,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207} [01:40:18]process_action_free close_receipt [01:40:18]json_value_free [01:40:18]json_value_free done [01:40:18]process_json_proto returns [01:40:18]Send response to host [01:40:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875104","fd.num":33383,"shift.num":434,"shift.opened":1,"shift.open_date":1720829207}}} [01:40:18]free response buf [01:40:18]execute_script done [01:40:18]execute_script returns [01:40:18]free content buf [01:40:18]Sock 7.Close socket [01:40:18]Sock 7.Thread stoped [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:42]OFD Sender: No OFD packet to send [01:43:47]OFD Sender: No OFD packet to send [01:43:52]OFD Sender: No OFD packet to send [01:43:57]OFD Sender: No OFD packet to send [01:44:02]OFD Sender: No OFD packet to send [01:44:07]OFD Sender: No OFD packet to send [01:44:12]OFD Sender: No OFD packet to send [01:44:17]OFD Sender: No OFD packet to send [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:32]OFD Sender: No OFD packet to send [01:44:37]OFD Sender: No OFD packet to send [01:44:42]OFD Sender: No OFD packet to send [01:44:47]OFD Sender: No OFD packet to send [01:44:52]OFD Sender: No OFD packet to send [01:44:57]OFD Sender: No OFD packet to send [01:45:02]OFD Sender: No OFD packet to send [01:45:07]OFD Sender: No OFD packet to send [01:45:12]OFD Sender: No OFD packet to send [01:45:17]OFD Sender: No OFD packet to send [01:45:22]OFD Sender: No OFD packet to send [01:45:27]OFD Sender: No OFD packet to send [01:45:32]OFD Sender: No OFD packet to send [01:45:37]OFD Sender: No OFD packet to send [01:45:42]OFD Sender: No OFD packet to send [01:45:47]OFD Sender: No OFD packet to send [01:45:52]OFD Sender: No OFD packet to send [01:45:57]OFD Sender: No OFD packet to send [01:46:02]OFD Sender: No OFD packet to send [01:46:07]OFD Sender: No OFD packet to send [01:46:12]OFD Sender: No OFD packet to send [01:46:17]OFD Sender: No OFD packet to send [01:46:22]OFD Sender: No OFD packet to send [01:46:27]OFD Sender: No OFD packet to send [01:46:32]OFD Sender: No OFD packet to send [01:46:37]OFD Sender: No OFD packet to send [01:46:42]OFD Sender: No OFD packet to send [01:46:47]OFD Sender: No OFD packet to send [01:46:52]OFD Sender: No OFD packet to send [01:46:57]OFD Sender: No OFD packet to send [01:47:02]OFD Sender: No OFD packet to send [01:47:07]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:07]OFD Sender: No OFD packet to send [01:49:12]OFD Sender: No OFD packet to send [01:49:17]OFD Sender: No OFD packet to send [01:49:22]OFD Sender: No OFD packet to send [01:49:27]OFD Sender: No OFD packet to send [01:49:32]OFD Sender: No OFD packet to send [01:49:37]OFD Sender: No OFD packet to send [01:49:42]OFD Sender: No OFD packet to send [01:49:47]OFD Sender: No OFD packet to send [01:49:52]OFD Sender: No OFD packet to send [01:49:57]OFD Sender: No OFD packet to send [01:50:02]OFD Sender: No OFD packet to send [01:50:07]OFD Sender: No OFD packet to send [01:50:12]OFD Sender: No OFD packet to send [01:50:17]OFD Sender: No OFD packet to send [01:50:22]OFD Sender: No OFD packet to send [01:50:27]OFD Sender: No OFD packet to send [01:50:32]OFD Sender: No OFD packet to send [01:50:37]OFD Sender: No OFD packet to send [01:50:42]OFD Sender: No OFD packet to send [01:50:47]OFD Sender: No OFD packet to send [01:50:52]OFD Sender: No OFD packet to send [01:50:57]OFD Sender: No OFD packet to send [01:51:02]OFD Sender: No OFD packet to send [01:51:07]OFD Sender: No OFD packet to send [01:51:12]OFD Sender: No OFD packet to send [01:51:17]OFD Sender: No OFD packet to send [01:51:22]OFD Sender: No OFD packet to send [01:51:27]OFD Sender: No OFD packet to send [01:51:32]OFD Sender: No OFD packet to send [01:51:37]OFD Sender: No OFD packet to send [01:51:42]OFD Sender: No OFD packet to send [01:51:47]OFD Sender: No OFD packet to send [01:51:52]OFD Sender: No OFD packet to send [01:51:57]OFD Sender: No OFD packet to send [01:52:02]OFD Sender: No OFD packet to send [01:52:07]OFD Sender: No OFD packet to send [01:52:12]OFD Sender: No OFD packet to send [01:52:17]OFD Sender: No OFD packet to send [01:52:22]OFD Sender: No OFD packet to send [01:52:27]OFD Sender: No OFD packet to send [01:52:32]OFD Sender: No OFD packet to send [01:52:37]OFD Sender: No OFD packet to send [01:52:42]OFD Sender: No OFD packet to send [01:52:47]OFD Sender: No OFD packet to send [01:52:52]OFD Sender: No OFD packet to send [01:52:57]OFD Sender: No OFD packet to send [01:53:02]OFD Sender: No OFD packet to send [01:53:07]OFD Sender: No OFD packet to send [01:53:12]OFD Sender: No OFD packet to send [01:53:17]OFD Sender: No OFD packet to send [01:53:22]OFD Sender: No OFD packet to send [01:53:27]OFD Sender: No OFD packet to send [01:53:32]OFD Sender: No OFD packet to send [01:53:37]OFD Sender: No OFD packet to send [01:53:42]OFD Sender: No OFD packet to send [01:53:47]OFD Sender: No OFD packet to send [01:53:52]OFD Sender: No OFD packet to send [01:53:57]OFD Sender: No OFD packet to send [01:54:02]OFD Sender: No OFD packet to send [01:54:07]OFD Sender: No OFD packet to send [01:54:12]OFD Sender: No OFD packet to send [01:54:17]OFD Sender: No OFD packet to send [01:54:22]OFD Sender: No OFD packet to send [01:54:27]OFD Sender: No OFD packet to send [01:54:32]OFD Sender: No OFD packet to send [01:54:37]OFD Sender: No OFD packet to send [01:54:42]OFD Sender: No OFD packet to send [01:54:47]OFD Sender: No OFD packet to send [01:54:52]OFD Sender: No OFD packet to send [01:54:57]OFD Sender: No OFD packet to send [01:55:02]OFD Sender: No OFD packet to send [01:55:07]OFD Sender: No OFD packet to send [01:55:12]OFD Sender: No OFD packet to send [01:55:17]OFD Sender: No OFD packet to send [01:55:22]OFD Sender: No OFD packet to send [01:55:27]OFD Sender: No OFD packet to send [01:55:32]OFD Sender: No OFD packet to send [01:55:37]OFD Sender: No OFD packet to send [01:55:42]OFD Sender: No OFD packet to send [01:55:47]OFD Sender: No OFD packet to send [01:55:52]OFD Sender: No OFD packet to send [01:55:57]OFD Sender: No OFD packet to send [01:56:02]OFD Sender: No OFD packet to send [01:56:07]OFD Sender: No OFD packet to send [01:56:12]OFD Sender: No OFD packet to send [01:56:17]OFD Sender: No OFD packet to send [01:56:22]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:58]OFD Sender: No OFD packet to send [01:57:03]OFD Sender: No OFD packet to send [01:57:08]OFD Sender: No OFD packet to send [01:57:13]OFD Sender: No OFD packet to send [01:57:18]OFD Sender: No OFD packet to send [01:57:23]OFD Sender: No OFD packet to send [01:57:28]OFD Sender: No OFD packet to send [01:57:33]OFD Sender: No OFD packet to send [01:57:38]OFD Sender: No OFD packet to send [01:57:43]OFD Sender: No OFD packet to send [01:57:48]OFD Sender: No OFD packet to send [01:57:53]OFD Sender: No OFD packet to send [01:57:58]OFD Sender: No OFD packet to send [01:58:03]OFD Sender: No OFD packet to send [01:58:08]OFD Sender: No OFD packet to send [01:58:13]OFD Sender: No OFD packet to send [01:58:18]OFD Sender: No OFD packet to send [01:58:23]OFD Sender: No OFD packet to send [01:58:28]OFD Sender: No OFD packet to send [01:58:33]OFD Sender: No OFD packet to send [01:58:38]OFD Sender: No OFD packet to send [01:58:43]OFD Sender: No OFD packet to send [01:58:48]OFD Sender: No OFD packet to send [01:58:53]OFD Sender: No OFD packet to send [01:58:58]OFD Sender: No OFD packet to send [01:59:03]OFD Sender: No OFD packet to send [01:59:08]OFD Sender: No OFD packet to send [01:59:13]OFD Sender: No OFD packet to send [01:59:18]OFD Sender: No OFD packet to send [01:59:23]OFD Sender: No OFD packet to send [01:59:28]OFD Sender: No OFD packet to send [01:59:33]OFD Sender: No OFD packet to send [01:59:38]OFD Sender: No OFD packet to send [01:59:43]OFD Sender: No OFD packet to send [01:59:48]OFD Sender: No OFD packet to send [01:59:53]OFD Sender: No OFD packet to send [01:59:58]OFD Sender: No OFD packet to send [02:00:03]OFD Sender: No OFD packet to send [02:00:08]OFD Sender: No OFD packet to send [02:00:13]OFD Sender: No OFD packet to send [02:00:18]OFD Sender: No OFD packet to send [02:00:23]OFD Sender: No OFD packet to send [02:00:28]OFD Sender: No OFD packet to send [02:00:33]OFD Sender: No OFD packet to send [02:00:38]OFD Sender: No OFD packet to send [02:00:43]OFD Sender: No OFD packet to send [02:00:48]OFD Sender: No OFD packet to send [02:00:53]OFD Sender: No OFD packet to send [02:00:58]OFD Sender: No OFD packet to send [02:01:03]OFD Sender: No OFD packet to send [02:01:08]OFD Sender: No OFD packet to send [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:33]OFD Sender: No OFD packet to send [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:48]OFD Sender: No OFD packet to send [02:01:53]OFD Sender: No OFD packet to send [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:14:48]OFD Sender: No OFD packet to send [02:14:53]OFD Sender: No OFD packet to send [02:14:58]OFD Sender: No OFD packet to send [02:15:03]OFD Sender: No OFD packet to send [02:15:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:17:03]OFD Sender: No OFD packet to send [02:17:08]OFD Sender: No OFD packet to send [02:17:13]OFD Sender: No OFD packet to send [02:17:18]OFD Sender: No OFD packet to send [02:17:23]OFD Sender: No OFD packet to send [02:17:28]OFD Sender: No OFD packet to send [02:17:33]OFD Sender: No OFD packet to send [02:17:38]OFD Sender: No OFD packet to send [02:17:43]OFD Sender: No OFD packet to send [02:17:48]OFD Sender: No OFD packet to send [02:17:53]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:04]OFD Sender: No OFD packet to send [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]OFD Sender: No OFD packet to send [02:34:59]OFD Sender: No OFD packet to send [02:35:04]OFD Sender: No OFD packet to send [02:35:09]OFD Sender: No OFD packet to send [02:35:14]OFD Sender: No OFD packet to send [02:35:19]OFD Sender: No OFD packet to send [02:35:24]OFD Sender: No OFD packet to send [02:35:29]OFD Sender: No OFD packet to send [02:35:34]OFD Sender: No OFD packet to send [02:35:39]OFD Sender: No OFD packet to send [02:35:44]OFD Sender: No OFD packet to send [02:35:49]OFD Sender: No OFD packet to send [02:35:54]OFD Sender: No OFD packet to send [02:35:59]OFD Sender: No OFD packet to send [02:36:04]OFD Sender: No OFD packet to send [02:36:09]OFD Sender: No OFD packet to send [02:36:14]OFD Sender: No OFD packet to send [02:36:19]OFD Sender: No OFD packet to send [02:36:24]OFD Sender: No OFD packet to send [02:36:29]OFD Sender: No OFD packet to send [02:36:34]OFD Sender: No OFD packet to send [02:36:39]OFD Sender: No OFD packet to send [02:36:44]OFD Sender: No OFD packet to send [02:36:49]OFD Sender: No OFD packet to send [02:36:54]OFD Sender: No OFD packet to send [02:36:59]OFD Sender: No OFD packet to send [02:37:04]OFD Sender: No OFD packet to send [02:37:09]OFD Sender: No OFD packet to send [02:37:14]OFD Sender: No OFD packet to send [02:37:19]OFD Sender: No OFD packet to send [02:37:24]OFD Sender: No OFD packet to send [02:37:29]OFD Sender: No OFD packet to send [02:37:34]OFD Sender: No OFD packet to send [02:37:39]OFD Sender: No OFD packet to send [02:37:44]OFD Sender: No OFD packet to send [02:37:49]OFD Sender: No OFD packet to send [02:37:54]OFD Sender: No OFD packet to send [02:37:59]OFD Sender: No OFD packet to send [02:38:04]OFD Sender: No OFD packet to send [02:38:09]OFD Sender: No OFD packet to send [02:38:14]OFD Sender: No OFD packet to send [02:38:19]OFD Sender: No OFD packet to send [02:38:24]OFD Sender: No OFD packet to send [02:38:29]OFD Sender: No OFD packet to send [02:38:34]OFD Sender: No OFD packet to send [02:38:39]OFD Sender: No OFD packet to send [02:38:44]OFD Sender: No OFD packet to send [02:38:49]OFD Sender: No OFD packet to send [02:38:54]OFD Sender: No OFD packet to send [02:38:59]OFD Sender: No OFD packet to send [02:39:04]OFD Sender: No OFD packet to send [02:39:09]OFD Sender: No OFD packet to send [02:39:14]OFD Sender: No OFD packet to send [02:39:19]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:50]OFD Sender: No OFD packet to send [02:39:55]OFD Sender: No OFD packet to send [02:40:00]OFD Sender: No OFD packet to send [02:40:05]OFD Sender: No OFD packet to send [02:40:10]OFD Sender: No OFD packet to send [02:40:15]OFD Sender: No OFD packet to send [02:40:20]OFD Sender: No OFD packet to send [02:40:25]OFD Sender: No OFD packet to send [02:40:30]OFD Sender: No OFD packet to send [02:40:35]OFD Sender: No OFD packet to send [02:40:40]OFD Sender: No OFD packet to send [02:40:45]OFD Sender: No OFD packet to send [02:40:50]OFD Sender: No OFD packet to send [02:40:55]OFD Sender: No OFD packet to send [02:41:00]OFD Sender: No OFD packet to send [02:41:05]OFD Sender: No OFD packet to send [02:41:10]OFD Sender: No OFD packet to send [02:41:15]OFD Sender: No OFD packet to send [02:41:20]OFD Sender: No OFD packet to send [02:41:25]OFD Sender: No OFD packet to send [02:41:30]OFD Sender: No OFD packet to send [02:41:35]OFD Sender: No OFD packet to send [02:41:40]OFD Sender: No OFD packet to send [02:41:45]OFD Sender: No OFD packet to send [02:41:50]OFD Sender: No OFD packet to send [02:41:55]OFD Sender: No OFD packet to send [02:42:00]OFD Sender: No OFD packet to send [02:42:05]OFD Sender: No OFD packet to send [02:42:10]OFD Sender: No OFD packet to send [02:42:15]OFD Sender: No OFD packet to send [02:42:20]OFD Sender: No OFD packet to send [02:42:25]OFD Sender: No OFD packet to send [02:42:30]OFD Sender: No OFD packet to send [02:42:35]OFD Sender: No OFD packet to send [02:42:40]OFD Sender: No OFD packet to send [02:42:45]OFD Sender: No OFD packet to send [02:42:50]OFD Sender: No OFD packet to send [02:42:55]OFD Sender: No OFD packet to send [02:43:00]OFD Sender: No OFD packet to send [02:43:05]OFD Sender: No OFD packet to send [02:43:10]OFD Sender: No OFD packet to send [02:43:15]OFD Sender: No OFD packet to send [02:43:20]OFD Sender: No OFD packet to send [02:43:25]OFD Sender: No OFD packet to send [02:43:30]OFD Sender: No OFD packet to send [02:43:35]OFD Sender: No OFD packet to send [02:43:40]OFD Sender: No OFD packet to send [02:43:45]OFD Sender: No OFD packet to send [02:43:50]OFD Sender: No OFD packet to send [02:43:55]OFD Sender: No OFD packet to send [02:44:00]OFD Sender: No OFD packet to send [02:44:05]OFD Sender: No OFD packet to send [02:44:10]OFD Sender: No OFD packet to send [02:44:15]OFD Sender: No OFD packet to send [02:44:20]OFD Sender: No OFD packet to send [02:44:25]OFD Sender: No OFD packet to send [02:44:30]OFD Sender: No OFD packet to send [02:44:35]OFD Sender: No OFD packet to send [02:44:40]OFD Sender: No OFD packet to send [02:44:45]OFD Sender: No OFD packet to send [02:44:50]OFD Sender: No OFD packet to send [02:44:55]OFD Sender: No OFD packet to send [02:45:00]OFD Sender: No OFD packet to send [02:45:05]OFD Sender: No OFD packet to send [02:45:10]OFD Sender: No OFD packet to send [02:45:15]OFD Sender: No OFD packet to send [02:45:20]OFD Sender: No OFD packet to send [02:45:25]OFD Sender: No OFD packet to send [02:45:30]OFD Sender: No OFD packet to send [02:45:35]OFD Sender: No OFD packet to send [02:45:40]OFD Sender: No OFD packet to send [02:45:45]OFD Sender: No OFD packet to send [02:45:50]OFD Sender: No OFD packet to send [02:45:55]OFD Sender: No OFD packet to send [02:46:00]OFD Sender: No OFD packet to send [02:46:05]OFD Sender: No OFD packet to send [02:46:10]OFD Sender: No OFD packet to send [02:46:15]OFD Sender: No OFD packet to send [02:46:20]OFD Sender: No OFD packet to send [02:46:25]OFD Sender: No OFD packet to send [02:46:30]OFD Sender: No OFD packet to send [02:46:35]OFD Sender: No OFD packet to send [02:46:40]OFD Sender: No OFD packet to send [02:46:45]OFD Sender: No OFD packet to send [02:46:50]OFD Sender: No OFD packet to send [02:46:55]OFD Sender: No OFD packet to send [02:47:00]OFD Sender: No OFD packet to send [02:47:05]OFD Sender: No OFD packet to send [02:47:10]OFD Sender: No OFD packet to send [02:47:15]OFD Sender: No OFD packet to send [02:47:20]OFD Sender: No OFD packet to send [02:47:25]OFD Sender: No OFD packet to send [02:47:30]OFD Sender: No OFD packet to send [02:47:35]OFD Sender: No OFD packet to send [02:47:40]OFD Sender: No OFD packet to send [02:47:45]OFD Sender: No OFD packet to send [02:47:50]OFD Sender: No OFD packet to send [02:47:55]OFD Sender: No OFD packet to send [02:48:00]OFD Sender: No OFD packet to send [02:48:05]OFD Sender: No OFD packet to send [02:48:10]OFD Sender: No OFD packet to send [02:48:15]OFD Sender: No OFD packet to send [02:48:20]OFD Sender: No OFD packet to send [02:48:25]OFD Sender: No OFD packet to send [02:48:30]OFD Sender: No OFD packet to send [02:48:35]OFD Sender: No OFD packet to send [02:48:40]OFD Sender: No OFD packet to send [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:05]OFD Sender: No OFD packet to send [02:52:10]OFD Sender: No OFD packet to send [02:52:15]OFD Sender: No OFD packet to send [02:52:20]OFD Sender: No OFD packet to send [02:52:25]OFD Sender: No OFD packet to send [02:52:30]OFD Sender: No OFD packet to send [02:52:35]OFD Sender: No OFD packet to send [02:52:40]OFD Sender: No OFD packet to send [02:52:45]OFD Sender: No OFD packet to send [02:52:50]OFD Sender: No OFD packet to send [02:52:55]OFD Sender: No OFD packet to send [02:53:00]OFD Sender: No OFD packet to send [02:53:05]OFD Sender: No OFD packet to send [02:53:10]OFD Sender: No OFD packet to send [02:53:15]OFD Sender: No OFD packet to send [02:53:20]OFD Sender: No OFD packet to send [02:53:25]OFD Sender: No OFD packet to send [02:53:30]OFD Sender: No OFD packet to send [02:53:35]OFD Sender: No OFD packet to send [02:53:40]OFD Sender: No OFD packet to send [02:53:45]OFD Sender: No OFD packet to send [02:53:50]OFD Sender: No OFD packet to send [02:53:55]OFD Sender: No OFD packet to send [02:54:00]OFD Sender: No OFD packet to send [02:54:05]OFD Sender: No OFD packet to send [02:54:10]OFD Sender: No OFD packet to send [02:54:15]OFD Sender: No OFD packet to send [02:54:20]OFD Sender: No OFD packet to send [02:54:25]OFD Sender: No OFD packet to send [02:54:30]OFD Sender: No OFD packet to send [02:54:35]OFD Sender: No OFD packet to send [02:54:40]OFD Sender: No OFD packet to send [02:54:45]OFD Sender: No OFD packet to send [02:54:50]OFD Sender: No OFD packet to send [02:54:55]OFD Sender: No OFD packet to send [02:55:00]OFD Sender: No OFD packet to send [02:55:05]OFD Sender: No OFD packet to send [02:55:10]OFD Sender: No OFD packet to send [02:55:15]OFD Sender: No OFD packet to send [02:55:20]OFD Sender: No OFD packet to send [02:55:25]OFD Sender: No OFD packet to send [02:55:30]OFD Sender: No OFD packet to send [02:55:35]OFD Sender: No OFD packet to send [02:55:40]OFD Sender: No OFD packet to send [02:55:45]OFD Sender: No OFD packet to send [02:55:50]OFD Sender: No OFD packet to send [02:55:55]OFD Sender: No OFD packet to send [02:56:00]OFD Sender: No OFD packet to send [02:56:05]OFD Sender: No OFD packet to send [02:56:10]OFD Sender: No OFD packet to send [02:56:15]OFD Sender: No OFD packet to send [02:56:20]OFD Sender: No OFD packet to send [02:56:25]OFD Sender: No OFD packet to send [02:56:30]OFD Sender: No OFD packet to send [02:56:35]OFD Sender: No OFD packet to send [02:56:40]OFD Sender: No OFD packet to send [02:56:45]OFD Sender: No OFD packet to send [02:56:50]OFD Sender: No OFD packet to send [02:56:55]OFD Sender: No OFD packet to send [02:57:00]OFD Sender: No OFD packet to send [02:57:05]OFD Sender: No OFD packet to send [02:57:10]OFD Sender: No OFD packet to send [02:57:15]OFD Sender: No OFD packet to send [02:57:20]OFD Sender: No OFD packet to send [02:57:25]OFD Sender: No OFD packet to send [02:57:30]OFD Sender: No OFD packet to send [02:57:35]OFD Sender: No OFD packet to send [02:57:40]OFD Sender: No OFD packet to send [02:57:45]OFD Sender: No OFD packet to send [02:57:50]OFD Sender: No OFD packet to send [02:57:55]OFD Sender: No OFD packet to send [02:58:00]OFD Sender: No OFD packet to send [02:58:05]OFD Sender: No OFD packet to send [02:58:10]OFD Sender: No OFD packet to send [02:58:15]OFD Sender: No OFD packet to send [02:58:20]OFD Sender: No OFD packet to send [02:58:25]OFD Sender: No OFD packet to send [02:58:30]OFD Sender: No OFD packet to send [02:58:35]OFD Sender: No OFD packet to send [02:58:40]OFD Sender: No OFD packet to send [02:58:45]OFD Sender: No OFD packet to send [02:58:50]OFD Sender: No OFD packet to send [02:58:55]OFD Sender: No OFD packet to send [02:59:00]OFD Sender: No OFD packet to send [02:59:05]OFD Sender: No OFD packet to send [02:59:10]OFD Sender: No OFD packet to send [02:59:15]OFD Sender: No OFD packet to send [02:59:20]OFD Sender: No OFD packet to send [02:59:25]OFD Sender: No OFD packet to send [02:59:30]OFD Sender: No OFD packet to send [02:59:35]OFD Sender: No OFD packet to send [02:59:40]OFD Sender: No OFD packet to send [02:59:45]OFD Sender: No OFD packet to send [02:59:50]OFD Sender: No OFD packet to send [02:59:55]OFD Sender: No OFD packet to send [03:00:00]OFD Sender: No OFD packet to send [03:00:05]OFD Sender: No OFD packet to send [03:00:10]OFD Sender: No OFD packet to send [03:00:15]OFD Sender: No OFD packet to send [03:00:20]OFD Sender: No OFD packet to send [03:00:25]OFD Sender: No OFD packet to send [03:00:30]OFD Sender: No OFD packet to send [03:00:35]OFD Sender: No OFD packet to send [03:00:40]OFD Sender: No OFD packet to send [03:00:45]OFD Sender: No OFD packet to send [03:00:50]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send [03:03:01]OFD Sender: No OFD packet to send [03:03:06]OFD Sender: No OFD packet to send [03:03:11]OFD Sender: No OFD packet to send [03:03:16]OFD Sender: No OFD packet to send [03:03:21]OFD Sender: No OFD packet to send [03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send