[02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:55]OFD Sender: No OFD packet to send [03:06:00]OFD Sender: No OFD packet to send [03:06:05]OFD Sender: No OFD packet to send [03:06:10]OFD Sender: No OFD packet to send [03:06:15]OFD Sender: No OFD packet to send [03:06:20]OFD Sender: No OFD packet to send [03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]OFD Sender: No OFD packet to send [03:07:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:40]OFD Sender: No OFD packet to send [03:11:45]OFD Sender: No OFD packet to send [03:11:50]OFD Sender: No OFD packet to send [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:15]OFD Sender: No OFD packet to send [03:12:20]OFD Sender: No OFD packet to send [03:12:25]OFD Sender: No OFD packet to send [03:12:30]OFD Sender: No OFD packet to send [03:12:35]OFD Sender: No OFD packet to send [03:12:40]OFD Sender: No OFD packet to send [03:12:45]OFD Sender: No OFD packet to send [03:12:50]OFD Sender: No OFD packet to send [03:12:55]OFD Sender: No OFD packet to send [03:13:00]OFD Sender: No OFD packet to send [03:13:05]OFD Sender: No OFD packet to send [03:13:10]OFD Sender: No OFD packet to send [03:13:15]OFD Sender: No OFD packet to send [03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]OFD Sender: No OFD packet to send [03:16:30]OFD Sender: No OFD packet to send [03:16:35]OFD Sender: No OFD packet to send [03:16:40]OFD Sender: No OFD packet to send [03:16:45]OFD Sender: No OFD packet to send [03:16:50]OFD Sender: No OFD packet to send [03:16:55]OFD Sender: No OFD packet to send [03:17:00]OFD Sender: No OFD packet to send [03:17:05]OFD Sender: No OFD packet to send [03:17:10]OFD Sender: No OFD packet to send [03:17:15]OFD Sender: No OFD packet to send [03:17:20]OFD Sender: No OFD packet to send [03:17:25]OFD Sender: No OFD packet to send [03:17:30]OFD Sender: No OFD packet to send [03:17:35]OFD Sender: No OFD packet to send [03:17:40]OFD Sender: No OFD packet to send [03:17:45]OFD Sender: No OFD packet to send [03:17:50]OFD Sender: No OFD packet to send [03:17:55]OFD Sender: No OFD packet to send [03:18:00]OFD Sender: No OFD packet to send [03:18:05]OFD Sender: No OFD packet to send [03:18:10]OFD Sender: No OFD packet to send [03:18:15]OFD Sender: No OFD packet to send [03:18:20]OFD Sender: No OFD packet to send [03:18:25]OFD Sender: No OFD packet to send [03:18:30]OFD Sender: No OFD packet to send [03:18:35]OFD Sender: No OFD packet to send [03:18:40]OFD Sender: No OFD packet to send [03:18:45]OFD Sender: No OFD packet to send [03:18:50]OFD Sender: No OFD packet to send [03:18:55]OFD Sender: No OFD packet to send [03:19:00]OFD Sender: No OFD packet to send [03:19:05]OFD Sender: No OFD packet to send [03:19:10]OFD Sender: No OFD packet to send [03:19:15]OFD Sender: No OFD packet to send [03:19:20]OFD Sender: No OFD packet to send [03:19:25]OFD Sender: No OFD packet to send [03:19:30]OFD Sender: No OFD packet to send [03:19:35]OFD Sender: No OFD packet to send [03:19:40]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]OFD Sender: No OFD packet to send [03:21:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]OFD Sender: No OFD packet to send [03:21:55]OFD Sender: No OFD packet to send [03:22:00]OFD Sender: No OFD packet to send [03:22:05]OFD Sender: No OFD packet to send [03:22:10]OFD Sender: No OFD packet to send [03:22:15]OFD Sender: No OFD packet to send [03:22:20]OFD Sender: No OFD packet to send [03:22:25]OFD Sender: No OFD packet to send [03:22:30]OFD Sender: No OFD packet to send [03:22:35]OFD Sender: No OFD packet to send [03:22:40]OFD Sender: No OFD packet to send [03:22:45]OFD Sender: No OFD packet to send [03:22:50]OFD Sender: No OFD packet to send [03:22:55]OFD Sender: No OFD packet to send [03:23:00]OFD Sender: No OFD packet to send [03:23:05]OFD Sender: No OFD packet to send [03:23:10]OFD Sender: No OFD packet to send [03:23:15]OFD Sender: No OFD packet to send [03:23:20]OFD Sender: No OFD packet to send [03:23:25]OFD Sender: No OFD packet to send [03:23:30]OFD Sender: No OFD packet to send [03:23:35]OFD Sender: No OFD packet to send [03:23:40]OFD Sender: No OFD packet to send [03:23:45]OFD Sender: No OFD packet to send [03:23:50]OFD Sender: No OFD packet to send [03:23:55]OFD Sender: No OFD packet to send [03:24:00]OFD Sender: No OFD packet to send [03:24:05]OFD Sender: No OFD packet to send [03:24:10]OFD Sender: No OFD packet to send [03:24:15]OFD Sender: No OFD packet to send [03:24:20]OFD Sender: No OFD packet to send [03:24:25]OFD Sender: No OFD packet to send [03:24:30]OFD Sender: No OFD packet to send [03:24:35]OFD Sender: No OFD packet to send [03:24:40]OFD Sender: No OFD packet to send [03:24:45]OFD Sender: No OFD packet to send [03:24:50]OFD Sender: No OFD packet to send [03:24:55]OFD Sender: No OFD packet to send [03:25:00]OFD Sender: No OFD packet to send [03:25:05]OFD Sender: No OFD packet to send [03:25:10]OFD Sender: No OFD packet to send [03:25:15]OFD Sender: No OFD packet to send [03:25:20]OFD Sender: No OFD packet to send [03:25:25]OFD Sender: No OFD packet to send [03:25:30]OFD Sender: No OFD packet to send [03:25:35]OFD Sender: No OFD packet to send [03:25:40]OFD Sender: No OFD packet to send [03:25: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:56]OFD Sender: No OFD packet to send [03:27:01]OFD Sender: No OFD packet to send [03:27:06]OFD Sender: No OFD packet to send [03:27:11]OFD Sender: No OFD packet to send [03:27:16]OFD Sender: No OFD packet to send [03:27:21]OFD Sender: No OFD packet to send [03:27:26]OFD Sender: No OFD packet to send [03:27:31]OFD Sender: No OFD packet to send [03:27:36]OFD Sender: No OFD packet to send [03:27:41]OFD Sender: No OFD packet to send [03:27:46]OFD Sender: No OFD packet to send [03:27:51]OFD Sender: No OFD packet to send [03:27:56]OFD Sender: No OFD packet to send [03:28:01]OFD Sender: No OFD packet to send [03:28:06]OFD Sender: No OFD packet to send [03:28:11]OFD Sender: No OFD packet to send [03:28:16]OFD Sender: No OFD packet to send [03:28:21]OFD Sender: No OFD packet to send [03:28:26]OFD Sender: No OFD packet to send [03:28:31]OFD Sender: No OFD packet to send [03:28:36]OFD Sender: No OFD packet to send [03:28:41]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:36]OFD Sender: No OFD packet to send [03:30:41]OFD Sender: No OFD packet to send [03:30:46]OFD Sender: No OFD packet to send [03:30:51]OFD Sender: No OFD packet to send [03:30:56]OFD Sender: No OFD packet to send [03:31:01]OFD Sender: No OFD packet to send [03:31:06]OFD Sender: No OFD packet to send [03:31:11]OFD Sender: No OFD packet to send [03:31:16]OFD Sender: No OFD packet to send [03:31:21]OFD Sender: No OFD packet to send [03:31:26]OFD Sender: No OFD packet to send [03:31:31]OFD Sender: No OFD packet to send [03:31:36]OFD Sender: No OFD packet to send [03:31:41]OFD Sender: No OFD packet to send [03:31:46]OFD Sender: No OFD packet to send [03:31:51]OFD Sender: No OFD packet to send [03:31:56]OFD Sender: No OFD packet to send [03:32:01]OFD Sender: No OFD packet to send [03:32:06]OFD Sender: No OFD packet to send [03:32:11]OFD Sender: No OFD packet to send [03:32:16]OFD Sender: No OFD packet to send [03:32:21]OFD Sender: No OFD packet to send [03:32:26]OFD Sender: No OFD packet to send [03:32:31]OFD Sender: No OFD packet to send [03:32:36]OFD Sender: No OFD packet to send [03:32:41]OFD Sender: No OFD packet to send [03:32:46]OFD Sender: No OFD packet to send [03:32:51]OFD Sender: No OFD packet to send [03:32:56]OFD Sender: No OFD packet to send [03:33:01]OFD Sender: No OFD packet to send [03:33:06]OFD Sender: No OFD packet to send [03:33:11]OFD Sender: No OFD packet to send [03:33:16]OFD Sender: No OFD packet to send [03:33:21]OFD Sender: No OFD packet to send [03:33:26]OFD Sender: No OFD packet to send [03:33:31]OFD Sender: No OFD packet to send [03:33:36]OFD Sender: No OFD packet to send [03:33:41]OFD Sender: No OFD packet to send [03:33:46]OFD Sender: No OFD packet to send [03:33:51]OFD Sender: No OFD packet to send [03:33:56]OFD Sender: No OFD packet to send [03:34:01]OFD Sender: No OFD packet to send [03:34:06]OFD Sender: No OFD packet to send [03:34:11]OFD Sender: No OFD packet to send [03:34:16]OFD Sender: No OFD packet to send [03:34:21]OFD Sender: No OFD packet to send [03:34:26]OFD Sender: No OFD packet to send [03:34:31]OFD Sender: No OFD packet to send [03:34:36]OFD Sender: No OFD packet to send [03:34:41]OFD Sender: No OFD packet to send [03:34:46]OFD Sender: No OFD packet to send [03:34:51]OFD Sender: No OFD packet to send [03:34:56]OFD Sender: No OFD packet to send [03:35:01]OFD Sender: No OFD packet to send [03:35:06]OFD Sender: No OFD packet to send [03:35:11]OFD Sender: No OFD packet to send [03:35:16]OFD Sender: No OFD packet to send [03:35:21]OFD Sender: No OFD packet to send [03:35:26]OFD Sender: No OFD packet to send [03:35:31]OFD Sender: No OFD packet to send [03:35:36]OFD Sender: No OFD packet to send [03:35:41]OFD Sender: No OFD packet to send [03:35:46]OFD Sender: No OFD packet to send [03:35:51]OFD Sender: No OFD packet to send [03:35:56]OFD Sender: No OFD packet to send [03:36:01]OFD Sender: No OFD packet to send [03:36:06]OFD Sender: No OFD packet to send [03:36:11]OFD Sender: No OFD packet to send [03:36:16]OFD Sender: No OFD packet to send [03:36:21]OFD Sender: No OFD packet to send [03:36:26]OFD Sender: No OFD packet to send [03:36:31]OFD Sender: No OFD packet to send [03:36:36]OFD Sender: No OFD packet to send [03:36:41]OFD Sender: No OFD packet to send [03:36:46]OFD Sender: No OFD packet to send [03:36:51]OFD Sender: No OFD packet to send [03:36:56]OFD Sender: No OFD packet to send [03:37:01]OFD Sender: No OFD packet to send [03:37:06]OFD Sender: No OFD packet to send [03:37:11]OFD Sender: No OFD packet to send [03:37:16]OFD Sender: No OFD packet to send [03:37:21]OFD Sender: No OFD packet to send [03:37:26]OFD Sender: No OFD packet to send [03:37:31]OFD Sender: No OFD packet to send [03:37:36]OFD Sender: No OFD packet to send [03:37:41]OFD Sender: No OFD packet to send [03:37:46]OFD Sender: No OFD packet to send [03:37:51]OFD Sender: No OFD packet to send [03:37:56]OFD Sender: No OFD packet to send [03:38:01]OFD Sender: No OFD packet to send [03:38:06]OFD Sender: No OFD packet to send [03:38:11]OFD Sender: No OFD packet to send [03:38:16]OFD Sender: No OFD packet to send [03:38:21]OFD Sender: No OFD packet to send [03:38:26]OFD Sender: No OFD packet to send [03:38:31]OFD Sender: No OFD packet to send [03:38:36]OFD Sender: No OFD packet to send [03:38:41]OFD Sender: No OFD packet to send [03:38:46]OFD Sender: No OFD packet to send [03:38:51]OFD Sender: No OFD packet to send [03:38:56]OFD Sender: No OFD packet to send [03:39:01]OFD Sender: No OFD packet to send [03:39:06]OFD Sender: No OFD packet to send [03:39:11]OFD Sender: No OFD packet to send [03:39:16]OFD Sender: No OFD packet to send [03:39:21]OFD Sender: No OFD packet to send [03:39:26]OFD Sender: No OFD packet to send [03:39:31]OFD Sender: No OFD packet to send [03:39:36]OFD Sender: No OFD packet to send [03:39:41]OFD Sender: No OFD packet to send [03:39:46]OFD Sender: No OFD packet to send [03:39:51]OFD Sender: No OFD packet to send [03:39:56]OFD Sender: No OFD packet to send [03:40:01]OFD Sender: No OFD packet to send [03:40:06]OFD Sender: No OFD packet to send [03:40:11]OFD Sender: No OFD packet to send [03:40:16]OFD Sender: No OFD packet to send [03:40:21]OFD Sender: No OFD packet to send [03:40:26]OFD Sender: No OFD packet to send [03:40:31]OFD Sender: No OFD packet to send [03:40:36]OFD Sender: No OFD packet to send [03:40:41]OFD Sender: No OFD packet to send [03:40:46]OFD Sender: No OFD packet to send [03:40:51]OFD Sender: No OFD packet to send [03:40:56]OFD Sender: No OFD packet to send [03:41:01]OFD Sender: No OFD packet to send [03:41:06]OFD Sender: No OFD packet to send [03:41:11]OFD Sender: No OFD packet to send [03:41:16]OFD Sender: No OFD packet to send [03:41:21]OFD Sender: No OFD packet to send [03:41:26]OFD Sender: No OFD packet to send [03:41:31]OFD Sender: No OFD packet to send [03:41:36]OFD Sender: No OFD packet to send [03:41:41]OFD Sender: No OFD packet to send [03:41:46]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:26]OFD Sender: No OFD packet to send [03:43:31]OFD Sender: No OFD packet to send [03:43:36]OFD Sender: No OFD packet to send [03:43:41]OFD Sender: No OFD packet to send [03:43:46]OFD Sender: No OFD packet to send [03:43:51]OFD Sender: No OFD packet to send [03:43:56]OFD Sender: No OFD packet to send [03:44:01]OFD Sender: No OFD packet to send [03:44:06]OFD Sender: No OFD packet to send [03:44:11]OFD Sender: No OFD packet to send [03:44:16]OFD Sender: No OFD packet to send [03:44:21]OFD Sender: No OFD packet to send [03:44:26]OFD Sender: No OFD packet to send [03:44:31]OFD Sender: No OFD packet to send [03:44:36]OFD Sender: No OFD packet to send [03:44:41]OFD Sender: No OFD packet to send [03:44:46]OFD Sender: No OFD packet to send [03:44:51]OFD Sender: No OFD packet to send [03:44:56]OFD Sender: No OFD packet to send [03:45:01]OFD Sender: No OFD packet to send [03:45:06]OFD Sender: No OFD packet to send [03:45:11]OFD Sender: No OFD packet to send [03:45:16]OFD Sender: No OFD packet to send [03:45:21]OFD Sender: No OFD packet to send [03:45:26]OFD Sender: No OFD packet to send [03:45:31]OFD Sender: No OFD packet to send [03:45:36]OFD Sender: No OFD packet to send [03:45:41]OFD Sender: No OFD packet to send [03:45:46]OFD Sender: No OFD packet to send [03:45:51]OFD Sender: No OFD packet to send [03:45:56]OFD Sender: No OFD packet to send [03:46:01]OFD Sender: No OFD packet to send [03:46:06]OFD Sender: No OFD packet to send [03:46:11]OFD Sender: No OFD packet to send [03:46:16]OFD Sender: No OFD packet to send [03:46:21]OFD Sender: No OFD packet to send [03:46:26]OFD Sender: No OFD packet to send [03:46:31]OFD Sender: No OFD packet to send [03:46:36]OFD Sender: No OFD packet to send [03:46:41]OFD Sender: No OFD packet to send [03:46:46]OFD Sender: No OFD packet to send [03:46:51]OFD Sender: No OFD packet to send [03:46:56]OFD Sender: No OFD packet to send [03:47:01]OFD Sender: No OFD packet to send [03:47:06]OFD Sender: No OFD packet to send [03:47:11]OFD Sender: No OFD packet to send [03:47:16]OFD Sender: No OFD packet to send [03:47:21]OFD Sender: No OFD packet to send [03:47:26]OFD Sender: No OFD packet to send [03:47:31]OFD Sender: No OFD packet to send [03:47:36]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:17]OFD Sender: No OFD packet to send [03:50:22]OFD Sender: No OFD packet to send [03:50:27]OFD Sender: No OFD packet to send [03:50:32]OFD Sender: No OFD packet to send [03:50:37]OFD Sender: No OFD packet to send [03:50:42]OFD Sender: No OFD packet to send [03:50:47]OFD Sender: No OFD packet to send [03:50:52]OFD Sender: No OFD packet to send [03:50:57]OFD Sender: No OFD packet to send [03:51:02]OFD Sender: No OFD packet to send [03:51:07]OFD Sender: No OFD packet to send [03:51:12]OFD Sender: No OFD packet to send [03:51:17]OFD Sender: No OFD packet to send [03:51:22]OFD Sender: No OFD packet to send [03:51:27]OFD Sender: No OFD packet to send [03:51:32]OFD Sender: No OFD packet to send [03:51:37]OFD Sender: No OFD packet to send [03:51:42]OFD Sender: No OFD packet to send [03:51:47]OFD Sender: No OFD packet to send [03:51:52]OFD Sender: No OFD packet to send [03:51:57]OFD Sender: No OFD packet to send [03:52:02]OFD Sender: No OFD packet to send [03:52:07]OFD Sender: No OFD packet to send [03:52:12]OFD Sender: No OFD packet to send [03:52:17]OFD Sender: No OFD packet to send [03:52:22]OFD Sender: No OFD packet to send [03:52:27]OFD Sender: No OFD packet to send [03:52:32]OFD Sender: No OFD packet to send [03:52:37]OFD Sender: No OFD packet to send [03:52:42]OFD Sender: No OFD packet to send [03:52:47]OFD Sender: No OFD packet to send [03:52:52]OFD Sender: No OFD packet to send [03:52:57]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:52]OFD Sender: No OFD packet to send [03:54:57]OFD Sender: No OFD packet to send [03:55:02]OFD Sender: No OFD packet to send [03:55:07]OFD Sender: No OFD packet to send [03:55:12]OFD Sender: No OFD packet to send [03:55:17]OFD Sender: No OFD packet to send [03:55:22]OFD Sender: No OFD packet to send [03:55:27]OFD Sender: No OFD packet to send [03:55:32]OFD Sender: No OFD packet to send [03:55:37]OFD Sender: No OFD packet to send [03:55:42]OFD Sender: No OFD packet to send [03:55:47]OFD Sender: No OFD packet to send [03:55:52]OFD Sender: No OFD packet to send [03:55:57]OFD Sender: No OFD packet to send [03:56:02]OFD Sender: No OFD packet to send [03:56:07]OFD Sender: No OFD packet to send [03:56:12]OFD Sender: No OFD packet to send [03:56:17]OFD Sender: No OFD packet to send [03:56:22]OFD Sender: No OFD packet to send [03:56:27]OFD Sender: No OFD packet to send [03:56:32]OFD Sender: No OFD packet to send [03:56:37]OFD Sender: No OFD packet to send [03:56:42]OFD Sender: No OFD packet to send [03:56:47]OFD Sender: No OFD packet to send [03:56:52]OFD Sender: No OFD packet to send [03:56:57]OFD Sender: No OFD packet to send [03:57:02]OFD Sender: No OFD packet to send [03:57:07]OFD Sender: No OFD packet to send [03:57:12]OFD Sender: No OFD packet to send [03:57:17]OFD Sender: No OFD packet to send [03:57:22]OFD Sender: No OFD packet to send [03:57:27]OFD Sender: No OFD packet to send [03:57:32]OFD Sender: No OFD packet to send [03:57:37]OFD Sender: No OFD packet to send [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:27]OFD Sender: No OFD packet to send [03:58:32]OFD Sender: No OFD packet to send [03:58:37]OFD Sender: No OFD packet to send [03:58:42]OFD Sender: No OFD packet to send [03:58:47]OFD Sender: No OFD packet to send [03:58:52]OFD Sender: No OFD packet to send [03:58:57]OFD Sender: No OFD packet to send [03:59:02]OFD Sender: No OFD packet to send [03:59:07]OFD Sender: No OFD packet to send [03:59:12]OFD Sender: No OFD packet to send [03:59:17]OFD Sender: No OFD packet to send [03:59:22]OFD Sender: No OFD packet to send [03:59:27]OFD Sender: No OFD packet to send [03:59:32]OFD Sender: No OFD packet to send [03:59:37]OFD Sender: No OFD packet to send [03:59:42]OFD Sender: No OFD packet to send [03:59:47]OFD Sender: No OFD packet to send [03:59:52]OFD Sender: No OFD packet to send [03:59:57]OFD Sender: No OFD packet to send [04:00:02]OFD Sender: No OFD packet to send [04:00:07]OFD Sender: No OFD packet to send [04:00:12]OFD Sender: No OFD packet to send [04:00:17]OFD Sender: No OFD packet to send [04:00:22]OFD Sender: No OFD packet to send [04:00:27]OFD Sender: No OFD packet to send [04:00:32]OFD Sender: No OFD packet to send [04:00:37]OFD Sender: No OFD packet to send [04:00:42]OFD Sender: No OFD packet to send [04:00:47]OFD Sender: No OFD packet to send [04:00:52]OFD Sender: No OFD packet to send [04:00:57]OFD Sender: No OFD packet to send [04:01:02]OFD Sender: No OFD packet to send [04:01:07]OFD Sender: No OFD packet to send [04:01:12]OFD Sender: No OFD packet to send [04:01:17]OFD Sender: No OFD packet to send [04:01:22]OFD Sender: No OFD packet to send [04:01:27]OFD Sender: No OFD packet to send [04:01:32]OFD Sender: No OFD packet to send [04:01:37]OFD Sender: No OFD packet to send [04:01:42]OFD Sender: No OFD packet to send [04:01:47]OFD Sender: No OFD packet to send [04:01:52]OFD Sender: No OFD packet to send [04:01:57]OFD Sender: No OFD packet to send [04:02:02]OFD Sender: No OFD packet to send [04:02:07]OFD Sender: No OFD packet to send [04:02:12]OFD Sender: No OFD packet to send [04:02:17]OFD Sender: No OFD packet to send [04:02:22]OFD Sender: No OFD packet to send [04:02:27]OFD Sender: No OFD packet to send [04:02:32]OFD Sender: No OFD packet to send [04:02:37]OFD Sender: No OFD packet to send [04:02:42]OFD Sender: No OFD packet to send [04:02:47]OFD Sender: No OFD packet to send [04:02:52]OFD Sender: No OFD packet to send [04:02:57]OFD Sender: No OFD packet to send [04:03:02]OFD Sender: No OFD packet to send [04:03:07]OFD Sender: No OFD packet to send [04:03:12]OFD Sender: No OFD packet to send [04:03:17]OFD Sender: No OFD packet to send [04:03:22]OFD Sender: No OFD packet to send [04:03:27]OFD Sender: No OFD packet to send [04:03:32]OFD Sender: No OFD packet to send [04:03:37]OFD Sender: No OFD packet to send [04:03:42]OFD Sender: No OFD packet to send [04:03:47]OFD Sender: No OFD packet to send [04:03:52]OFD Sender: No OFD packet to send [04:03:57]OFD Sender: No OFD packet to send [04:04:02]OFD Sender: No OFD packet to send [04:04:07]OFD Sender: No OFD packet to send [04:04:12]OFD Sender: No OFD packet to send [04:04:17]OFD Sender: No OFD packet to send [04:04:22]OFD Sender: No OFD packet to send [04:04:27]OFD Sender: No OFD packet to send [04:04:32]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:08]OFD Sender: No OFD packet to send [04:14:13]OFD Sender: No OFD packet to send [04:14:18]OFD Sender: No OFD packet to send [04:14:23]OFD Sender: No OFD packet to send [04:14:28]OFD Sender: No OFD packet to send [04:14:33]OFD Sender: No OFD packet to send [04:14:38]OFD Sender: No OFD packet to send [04:14:43]OFD Sender: No OFD packet to send [04:14:48]OFD Sender: No OFD packet to send [04:14:53]OFD Sender: No OFD packet to send [04:14:58]OFD Sender: No OFD packet to send [04:15:03]OFD Sender: No OFD packet to send [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:18]OFD Sender: No OFD packet to send [04:18:23]OFD Sender: No OFD packet to send [04:18:28]OFD Sender: No OFD packet to send [04:18:33]OFD Sender: No OFD packet to send [04:18:38]OFD Sender: No OFD packet to send [04:18:43]OFD Sender: No OFD packet to send [04:18:48]OFD Sender: No OFD packet to send [04:18:53]OFD Sender: No OFD packet to send [04:18:58]OFD Sender: No OFD packet to send [04:19:03]OFD Sender: No OFD packet to send [04:19:08]OFD Sender: No OFD packet to send [04:19:13]OFD Sender: No OFD packet to send [04:19:18]OFD Sender: No OFD packet to send [04:19:23]OFD Sender: No OFD packet to send [04:19:28]OFD Sender: No OFD packet to send [04:19:33]OFD Sender: No OFD packet to send [04:19:38]OFD Sender: No OFD packet to send [04:19:43]OFD Sender: No OFD packet to send [04:19:48]OFD Sender: No OFD packet to send [04:19:53]OFD Sender: No OFD packet to send [04:19:58]OFD Sender: No OFD packet to send [04:20:03]OFD Sender: No OFD packet to send [04:20:08]OFD Sender: No OFD packet to send [04:20:13]OFD Sender: No OFD packet to send [04:20:18]OFD Sender: No OFD packet to send [04:20:23]OFD Sender: No OFD packet to send [04:20:28]OFD Sender: No OFD packet to send [04:20:33]OFD Sender: No OFD packet to send [04:20:38]OFD Sender: No OFD packet to send [04:20:43]OFD Sender: No OFD packet to send [04:20:48]OFD Sender: No OFD packet to send [04:20:53]OFD Sender: No OFD packet to send [04:20:58]OFD Sender: No OFD packet to send [04:21:03]OFD Sender: No OFD packet to send [04:21:08]OFD Sender: No OFD packet to send [04:21:13]OFD Sender: No OFD packet to send [04:21:18]OFD Sender: No OFD packet to send [04:21:23]OFD Sender: No OFD packet to send [04:21:28]OFD Sender: No OFD packet to send [04:21:33]OFD Sender: No OFD packet to send [04:21:38]OFD Sender: No OFD packet to send [04:21:43]OFD Sender: No OFD packet to send [04:21:48]OFD Sender: No OFD packet to send [04:21:53]OFD Sender: No OFD packet to send [04:21:58]OFD Sender: No OFD packet to send [04:22:03]OFD Sender: No OFD packet to send [04:22:08]OFD Sender: No OFD packet to send [04:22:13]OFD Sender: No OFD packet to send [04:22:18]OFD Sender: No OFD packet to send [04:22:23]OFD Sender: No OFD packet to send [04:22:28]OFD Sender: No OFD packet to send [04:22:33]OFD Sender: No OFD packet to send [04:22:38]OFD Sender: No OFD packet to send [04:22:43]OFD Sender: No OFD packet to send [04:22:48]OFD Sender: No OFD packet to send [04:22:53]OFD Sender: No OFD packet to send [04:22:58]OFD Sender: No OFD packet to send [04:23:03]OFD Sender: No OFD packet to send [04:23:08]OFD Sender: No OFD packet to send [04:23:13]OFD Sender: No OFD packet to send [04:23:18]OFD Sender: No OFD packet to send [04:23:23]OFD Sender: No OFD packet to send [04:23:28]OFD Sender: No OFD packet to send [04:23:33]OFD Sender: No OFD packet to send [04:23:38]OFD Sender: No OFD packet to send [04:23:43]OFD Sender: No OFD packet to send [04:23:48]OFD Sender: No OFD packet to send [04:23:53]OFD Sender: No OFD packet to send [04:23:58]OFD Sender: No OFD packet to send [04:24:03]OFD Sender: No OFD packet to send [04:24:08]OFD Sender: No OFD packet to send [04:24:13]OFD Sender: No OFD packet to send [04:24:18]OFD Sender: No OFD packet to send [04:24:23]OFD Sender: No OFD packet to send [04:24:28]OFD Sender: No OFD packet to send [04:24:33]OFD Sender: No OFD packet to send [04:24:38]OFD Sender: No OFD packet to send [04:24:43]OFD Sender: No OFD packet to send [04:24:48]OFD Sender: No OFD packet to send [04:24:53]OFD Sender: No OFD packet to send [04:24:58]OFD Sender: No OFD packet to send [04:25:03]OFD Sender: No OFD packet to send [04:25:08]OFD Sender: No OFD packet to send [04:25:13]OFD Sender: No OFD packet to send [04:25:18]OFD Sender: No OFD packet to send [04:25:23]OFD Sender: No OFD packet to send [04:25:28]OFD Sender: No OFD packet to send [04:25:33]OFD Sender: No OFD packet to send [04:25:38]OFD Sender: No OFD packet to send [04:25:43]OFD Sender: No OFD packet to send [04:25:48]OFD Sender: No OFD packet to send [04:25:53]OFD Sender: No OFD packet to send [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:09]OFD Sender: No OFD packet to send [04:29:14]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:44]OFD Sender: No OFD packet to send [04:30:49]OFD Sender: No OFD packet to send [04:30:54]OFD Sender: No OFD packet to send [04:30:59]OFD Sender: No OFD packet to send [04:31:04]OFD Sender: No OFD packet to send [04:31:09]OFD Sender: No OFD packet to send [04:31:14]OFD Sender: No OFD packet to send [04:31:19]OFD Sender: No OFD packet to send [04:31:24]OFD Sender: No OFD packet to send [04:31:29]OFD Sender: No OFD packet to send [04:31:34]OFD Sender: No OFD packet to send [04:31:39]OFD Sender: No OFD packet to send [04:31:44]OFD Sender: No OFD packet to send [04:31:49]OFD Sender: No OFD packet to send [04:31:54]OFD Sender: No OFD packet to send [04:31:59]OFD Sender: No OFD packet to send [04:32:04]OFD Sender: No OFD packet to send [04:32:09]OFD Sender: No OFD packet to send [04:32:14]OFD Sender: No OFD packet to send [04:32:19]OFD Sender: No OFD packet to send [04:32:24]OFD Sender: No OFD packet to send [04:32:29]OFD Sender: No OFD packet to send [04:32:34]OFD Sender: No OFD packet to send [04:32:39]OFD Sender: No OFD packet to send [04:32:44]OFD Sender: No OFD packet to send [04:32:49]OFD Sender: No OFD packet to send [04:32:54]OFD Sender: No OFD packet to send [04:32:59]OFD Sender: No OFD packet to send [04:33:04]OFD Sender: No OFD packet to send [04:33:09]OFD Sender: No OFD packet to send [04:33:14]OFD Sender: No OFD packet to send [04:33:19]OFD Sender: No OFD packet to send [04:33:24]OFD Sender: No OFD packet to send [04:33:29]OFD Sender: No OFD packet to send [04:33:34]OFD Sender: No OFD packet to send [04:33:39]OFD Sender: No OFD packet to send [04:33:44]OFD Sender: No OFD packet to send [04:33:49]OFD Sender: No OFD packet to send [04:33:54]OFD Sender: No OFD packet to send [04:33:59]OFD Sender: No OFD packet to send [04:34:04]OFD Sender: No OFD packet to send [04:34:09]OFD Sender: No OFD packet to send [04:34:14]OFD Sender: No OFD packet to send [04:34:19]OFD Sender: No OFD packet to send [04:34:24]OFD Sender: No OFD packet to send [04:34:29]OFD Sender: No OFD packet to send [04:34:34]OFD Sender: No OFD packet to send [04:34:39]OFD Sender: No OFD packet to send [04:34:44]OFD Sender: No OFD packet to send [04:34:49]OFD Sender: No OFD packet to send [04:34:54]OFD Sender: No OFD packet to send [04:34:59]OFD Sender: No OFD packet to send [04:35:04]OFD Sender: No OFD packet to send [04:35:09]OFD Sender: No OFD packet to send [04:35:14]OFD Sender: No OFD packet to send [04:35:19]OFD Sender: No OFD packet to send [04:35:24]OFD Sender: No OFD packet to send [04:35:29]OFD Sender: No OFD packet to send [04:35:34]OFD Sender: No OFD packet to send [04:35:39]OFD Sender: No OFD packet to send [04:35:44]OFD Sender: No OFD packet to send [04:35:49]OFD Sender: No OFD packet to send [04:35:54]OFD Sender: No OFD packet to send [04:35:59]OFD Sender: No OFD packet to send [04:36:04]OFD Sender: No OFD packet to send [04:36:09]OFD Sender: No OFD packet to send [04:36:14]OFD Sender: No OFD packet to send [04:36:19]OFD Sender: No OFD packet to send [04:36:24]OFD Sender: No OFD packet to send [04:36:29]OFD Sender: No OFD packet to send [04:36:34]OFD Sender: No OFD packet to send [04:36:39]OFD Sender: No OFD packet to send [04:36:44]OFD Sender: No OFD packet to send [04:36:49]OFD Sender: No OFD packet to send [04:36:54]OFD Sender: No OFD packet to send [04:36:59]OFD Sender: No OFD packet to send [04:37:04]OFD Sender: No OFD packet to send [04:37:09]OFD Sender: No OFD packet to send [04:37:14]OFD Sender: No OFD packet to send [04:37:19]OFD Sender: No OFD packet to send [04:37:24]OFD Sender: No OFD packet to send [04:37:29]OFD Sender: No OFD packet to send [04:37:34]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42:04]OFD Sender: No OFD packet to send [04:42:09]OFD Sender: No OFD packet to send [04:42:14]OFD Sender: No OFD packet to send [04:42:19]OFD Sender: No OFD packet to send [04:42:24]OFD Sender: No OFD packet to send [04:42:29]OFD Sender: No OFD packet to send [04:42:34]OFD Sender: No OFD packet to send [04:42:39]OFD Sender: No OFD packet to send [04:42:44]OFD Sender: No OFD packet to send [04:42:49]OFD Sender: No OFD packet to send [04:42:54]OFD Sender: No OFD packet to send [04:42:59]OFD Sender: No OFD packet to send [04:43:04]OFD Sender: No OFD packet to send [04:43:09]OFD Sender: No OFD packet to send [04:43:14]OFD Sender: No OFD packet to send [04:43:19]OFD Sender: No OFD packet to send [04:43:24]OFD Sender: No OFD packet to send [04:43:29]OFD Sender: No OFD packet to send [04:43:34]OFD Sender: No OFD packet to send [04:43:39]OFD Sender: No OFD packet to send [04:43:44]OFD Sender: No OFD packet to send [04:43:49]OFD Sender: No OFD packet to send [04:43:54]OFD Sender: No OFD packet to send [04:43:59]OFD Sender: No OFD packet to send [04:44:04]OFD Sender: No OFD packet to send [04:44:09]OFD Sender: No OFD packet to send [04:44:14]OFD Sender: No OFD packet to send [04:44:19]OFD Sender: No OFD packet to send [04:44:24]OFD Sender: No OFD packet to send [04:44:29]OFD Sender: No OFD packet to send [04:44:34]OFD Sender: No OFD packet to send [04:44:39]OFD Sender: No OFD packet to send [04:44:44]OFD Sender: No OFD packet to send [04:44:49]OFD Sender: No OFD packet to send [04:44:54]OFD Sender: No OFD packet to send [04:44:59]OFD Sender: No OFD packet to send [04:45:04]OFD Sender: No OFD packet to send [04:45:09]OFD Sender: No OFD packet to send [04:45:14]OFD Sender: No OFD packet to send [04:45:19]OFD Sender: No OFD packet to send [04:45:24]OFD Sender: No OFD packet to send [04:45:29]OFD Sender: No OFD packet to send [04:45:34]OFD Sender: No OFD packet to send [04:45:39]OFD Sender: No OFD packet to send [04:45:44]OFD Sender: No OFD packet to send [04:45:49]OFD Sender: No OFD packet to send [04:45:54]OFD Sender: No OFD packet to send [04:45:59]OFD Sender: No OFD packet to send [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:20]OFD Sender: No OFD packet to send [04:50:25]OFD Sender: No OFD packet to send [04:50:30]OFD Sender: No OFD packet to send [04:50:35]OFD Sender: No OFD packet to send [04:50:40]OFD Sender: No OFD packet to send [04:50:45]OFD Sender: No OFD packet to send [04:50:50]OFD Sender: No OFD packet to send [04:50:55]OFD Sender: No OFD packet to send [04:51:00]OFD Sender: No OFD packet to send [04:51:05]OFD Sender: No OFD packet to send [04:51:10]OFD Sender: No OFD packet to send [04:51:15]OFD Sender: No OFD packet to send [04:51:20]OFD Sender: No OFD packet to send [04:51:25]OFD Sender: No OFD packet to send [04:51:30]OFD Sender: No OFD packet to send [04:51:35]OFD Sender: No OFD packet to send [04:51:40]OFD Sender: No OFD packet to send [04:51:45]OFD Sender: No OFD packet to send [04:51:50]OFD Sender: No OFD packet to send [04:51:55]OFD Sender: No OFD packet to send [04:52:00]OFD Sender: No OFD packet to send [04:52:05]OFD Sender: No OFD packet to send [04:52:10]OFD Sender: No OFD packet to send [04:52:15]OFD Sender: No OFD packet to send [04:52:20]OFD Sender: No OFD packet to send [04:52:25]OFD Sender: No OFD packet to send [04:52:30]OFD Sender: No OFD packet to send [04:52:35]OFD Sender: No OFD packet to send [04:52:40]OFD Sender: No OFD packet to send [04:52:45]OFD Sender: No OFD packet to send [04:52:50]OFD Sender: No OFD packet to send [04:52:55]OFD Sender: No OFD packet to send [04:53:00]OFD Sender: No OFD packet to send [04:53:05]OFD Sender: No OFD packet to send [04:53:10]OFD Sender: No OFD packet to send [04:53:15]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:26]OFD Sender: No OFD packet to send [05:11:31]OFD Sender: No OFD packet to send [05:11:36]OFD Sender: No OFD packet to send [05:11:41]OFD Sender: No OFD packet to send [05:11:46]OFD Sender: No OFD packet to send [05:11:51]OFD Sender: No OFD packet to send [05:11:56]OFD Sender: No OFD packet to send [05:12:01]OFD Sender: No OFD packet to send [05:12:06]OFD Sender: No OFD packet to send [05:12:11]OFD Sender: No OFD packet to send [05:12:16]OFD Sender: No OFD packet to send [05:12:21]OFD Sender: No OFD packet to send [05:12:26]OFD Sender: No OFD packet to send [05:12:31]OFD Sender: No OFD packet to send [05:12:36]OFD Sender: No OFD packet to send [05:12:41]OFD Sender: No OFD packet to send [05:12:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]OFD Sender: No OFD packet to send [05:28:46]OFD Sender: No OFD packet to send [05:28:51]OFD Sender: No OFD packet to send [05:28:56]OFD Sender: No OFD packet to send [05:29:01]OFD Sender: No OFD packet to send [05:29:06]OFD Sender: No OFD packet to send [05:29:11]OFD Sender: No OFD packet to send [05:29:16]OFD Sender: No OFD packet to send [05:29:21]OFD Sender: No OFD packet to send [05:29:26]OFD Sender: No OFD packet to send [05:29:31]OFD Sender: No OFD packet to send [05:29:36]OFD Sender: No OFD packet to send [05:29:41]OFD Sender: No OFD packet to send [05:29:46]OFD Sender: No OFD packet to send [05:29:51]OFD Sender: No OFD packet to send [05:29:56]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:52]OFD Sender: No OFD packet to send [05:35:57]OFD Sender: No OFD packet to send [05:36:02]OFD Sender: No OFD packet to send [05:36:07]OFD Sender: No OFD packet to send [05:36:12]OFD Sender: No OFD packet to send [05:36:17]OFD Sender: No OFD packet to send [05:36:22]OFD Sender: No OFD packet to send [05:36:27]OFD Sender: No OFD packet to send [05:36:32]OFD Sender: No OFD packet to send [05:36:37]OFD Sender: No OFD packet to send [05:36:42]OFD Sender: No OFD packet to send [05:36:47]OFD Sender: No OFD packet to send [05:36:52]OFD Sender: No OFD packet to send [05:36:57]OFD Sender: No OFD packet to send [05:37:02]OFD Sender: No OFD packet to send [05:37:07]OFD Sender: No OFD packet to send [05:37:12]OFD Sender: No OFD packet to send [05:37:17]OFD Sender: No OFD packet to send [05:37:22]OFD Sender: No OFD packet to send [05:37:27]OFD Sender: No OFD packet to send [05:37:32]OFD Sender: No OFD packet to send [05:37:37]OFD Sender: No OFD packet to send [05:37:42]OFD Sender: No OFD packet to send [05:37:47]OFD Sender: No OFD packet to send [05:37:52]OFD Sender: No OFD packet to send [05:37:57]OFD Sender: No OFD packet to send [05:38:02]OFD Sender: No OFD packet to send [05:38:07]OFD Sender: No OFD packet to send [05:38:12]OFD Sender: No OFD packet to send [05:38:17]OFD Sender: No OFD packet to send [05:38:22]OFD Sender: No OFD packet to send [05:38:27]OFD Sender: No OFD packet to send [05:38:32]OFD Sender: No OFD packet to send [05:38:37]OFD Sender: No OFD packet to send [05:38:42]OFD Sender: No OFD packet to send [05:38:47]OFD Sender: No OFD packet to send [05:38:52]OFD Sender: No OFD packet to send [05:38:57]OFD Sender: No OFD packet to send [05:39:02]OFD Sender: No OFD packet to send [05:39:07]OFD Sender: No OFD packet to send [05:39:12]OFD Sender: No OFD packet to send [05:39:17]OFD Sender: No OFD packet to send [05:39:22]OFD Sender: No OFD packet to send [05:39:27]OFD Sender: No OFD packet to send [05:39:32]OFD Sender: No OFD packet to send [05:39:37]OFD Sender: No OFD packet to send [05:39:42]OFD Sender: No OFD packet to send [05:39:47]OFD Sender: No OFD packet to send [05:39:52]OFD Sender: No OFD packet to send [05:39:57]OFD Sender: No OFD packet to send [05:40:02]OFD Sender: No OFD packet to send [05:40:07]OFD Sender: No OFD packet to send [05:40:12]OFD Sender: No OFD packet to send [05:40:17]OFD Sender: No OFD packet to send [05:40:22]OFD Sender: No OFD packet to send [05:40:27]OFD Sender: No OFD packet to send [05:40:32]OFD Sender: No OFD packet to send [05:40:37]OFD Sender: No OFD packet to send [05:40:42]OFD Sender: No OFD packet to send [05:40:47]OFD Sender: No OFD packet to send [05:40:52]OFD Sender: No OFD packet to send [05:40:57]OFD Sender: No OFD packet to send [05:41:02]OFD Sender: No OFD packet to send [05:41:07]OFD Sender: No OFD packet to send [05:41:12]OFD Sender: No OFD packet to send [05:41:17]OFD Sender: No OFD packet to send [05:41:22]OFD Sender: No OFD packet to send [05:41:27]OFD Sender: No OFD packet to send [05:41:32]OFD Sender: No OFD packet to send [05:41:37]OFD Sender: No OFD packet to send [05:41:42]OFD Sender: No OFD packet to send [05:41:47]OFD Sender: No OFD packet to send [05:41:52]OFD Sender: No OFD packet to send [05:41:57]OFD Sender: No OFD packet to send [05:42:02]OFD Sender: No OFD packet to send [05:42:07]OFD Sender: No OFD packet to send [05:42:12]OFD Sender: No OFD packet to send [05:42:17]OFD Sender: No OFD packet to send [05:42:22]OFD Sender: No OFD packet to send [05:42:27]OFD Sender: No OFD packet to send [05:42:32]OFD Sender: No OFD packet to send [05:42:37]OFD Sender: No OFD packet to send [05:42:42]OFD Sender: No OFD packet to send [05:42:47]OFD Sender: No OFD packet to send [05:42:52]OFD Sender: No OFD packet to send [05:42:57]OFD Sender: No OFD packet to send [05:43:02]OFD Sender: No OFD packet to send [05:43:07]OFD Sender: No OFD packet to send [05:43:12]OFD Sender: No OFD packet to send [05:43:17]OFD Sender: No OFD packet to send [05:43:22]OFD Sender: No OFD packet to send [05:43:27]OFD Sender: No OFD packet to send [05:43:32]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:17]OFD Sender: No OFD packet to send [05:46:22]OFD Sender: No OFD packet to send [05:46:27]OFD Sender: No OFD packet to send [05:46:32]OFD Sender: No OFD packet to send [05:46:37]OFD Sender: No OFD packet to send [05:46:42]OFD Sender: No OFD packet to send [05:46:47]OFD Sender: No OFD packet to send [05:46:52]OFD Sender: No OFD packet to send [05:46:57]OFD Sender: No OFD packet to send [05:47:02]OFD Sender: No OFD packet to send [05:47:07]OFD Sender: No OFD packet to send [05:47:12]OFD Sender: No OFD packet to send [05:47:17]OFD Sender: No OFD packet to send [05:47:22]OFD Sender: No OFD packet to send [05:47:27]OFD Sender: No OFD packet to send [05:47:32]OFD Sender: No OFD packet to send [05:47:37]OFD Sender: No OFD packet to send [05:47:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]OFD Sender: No OFD packet to send [05:50:17]OFD Sender: No OFD packet to send [05:50:22]OFD Sender: No OFD packet to send [05:50:27]OFD Sender: No OFD packet to send [05:50:32]OFD Sender: No OFD packet to send [05:50:37]OFD Sender: No OFD packet to send [05:50:42]OFD Sender: No OFD packet to send [05:50:47]OFD Sender: No OFD packet to send [05:50:52]OFD Sender: No OFD packet to send [05:50:57]OFD Sender: No OFD packet to send [05:51:02]OFD Sender: No OFD packet to send [05:51:07]OFD Sender: No OFD packet to send [05:51:12]OFD Sender: No OFD packet to send [05:51:17]OFD Sender: No OFD packet to send [05:51:22]OFD Sender: No OFD packet to send [05:51:27]OFD Sender: No OFD packet to send [05:51:32]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:33]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:03]OFD Sender: No OFD packet to send [05:58:08]OFD Sender: No OFD packet to send [05:58:13]OFD Sender: No OFD packet to send [05:58:18]OFD Sender: No OFD packet to send [05:58:23]OFD Sender: No OFD packet to send [05:58:28]OFD Sender: No OFD packet to send [05:58:33]OFD Sender: No OFD packet to send [05:58:38]OFD Sender: No OFD packet to send [05:58:43]OFD Sender: No OFD packet to send [05:58:48]OFD Sender: No OFD packet to send [05:58:53]OFD Sender: No OFD packet to send [05:58:58]OFD Sender: No OFD packet to send [05:59:03]OFD Sender: No OFD packet to send [05:59:08]OFD Sender: No OFD packet to send [05:59:13]OFD Sender: No OFD packet to send [05:59:18]OFD Sender: No OFD packet to send [05:59:23]OFD Sender: No OFD packet to send [05:59:28]OFD Sender: No OFD packet to send [05:59:33]OFD Sender: No OFD packet to send [05:59:38]OFD Sender: No OFD packet to send [05:59:43]OFD Sender: No OFD packet to send [05:59:48]OFD Sender: No OFD packet to send [05:59:53]OFD Sender: No OFD packet to send [05:59:58]OFD Sender: No OFD packet to send [06:00:03]OFD Sender: No OFD packet to send [06:00:08]OFD Sender: No OFD packet to send [06:00:13]OFD Sender: No OFD packet to send [06:00:18]OFD Sender: No OFD packet to send [06:00:23]OFD Sender: No OFD packet to send [06:00:28]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:23]OFD Sender: No OFD packet to send [06:02:28]OFD Sender: No OFD packet to send [06:02:33]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06:14:03]OFD Sender: No OFD packet to send [06:14:08]OFD Sender: No OFD packet to send [06:14:13]OFD Sender: No OFD packet to send [06:14:18]OFD Sender: No OFD packet to send [06:14:23]OFD Sender: No OFD packet to send [06:14:28]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:49]OFD Sender: No OFD packet to send [06:17:54]OFD Sender: No OFD packet to send [06:17:59]OFD Sender: No OFD packet to send [06:18:04]OFD Sender: No OFD packet to send [06:18:09]OFD Sender: No OFD packet to send [06:18:14]OFD Sender: No OFD packet to send [06:18:19]OFD Sender: No OFD packet to send [06:18:24]OFD Sender: No OFD packet to send [06:18:29]OFD Sender: No OFD packet to send [06:18:34]OFD Sender: No OFD packet to send [06:18:39]OFD Sender: No OFD packet to send [06:18:44]OFD Sender: No OFD packet to send [06:18:49]OFD Sender: No OFD packet to send [06:18:54]OFD Sender: No OFD packet to send [06:18:59]OFD Sender: No OFD packet to send [06:19:04]OFD Sender: No OFD packet to send [06:19:09]OFD Sender: No OFD packet to send [06:19:14]OFD Sender: No OFD packet to send [06:19:19]OFD Sender: No OFD packet to send [06:19:24]OFD Sender: No OFD packet to send [06:19:29]OFD Sender: No OFD packet to send [06:19:34]OFD Sender: No OFD packet to send [06:19:39]OFD Sender: No OFD packet to send [06:19:44]OFD Sender: No OFD packet to send [06:19:49]OFD Sender: No OFD packet to send [06:19:54]OFD Sender: No OFD packet to send [06:19:59]OFD Sender: No OFD packet to send [06:20:04]OFD Sender: No OFD packet to send [06:20:09]OFD Sender: No OFD packet to send [06:20:14]OFD Sender: No OFD packet to send [06:20:19]OFD Sender: No OFD packet to send [06:20:24]OFD Sender: No OFD packet to send [06:20:29]OFD Sender: No OFD packet to send [06:20:34]OFD Sender: No OFD packet to send [06:20:39]OFD Sender: No OFD packet to send [06:20:44]OFD Sender: No OFD packet to send [06:20:49]OFD Sender: No OFD packet to send [06:20:54]OFD Sender: No OFD packet to send [06:20:59]OFD Sender: No OFD packet to send [06:21:04]OFD Sender: No OFD packet to send [06:21:09]OFD Sender: No OFD packet to send [06:21:14]OFD Sender: No OFD packet to send [06:21:19]OFD Sender: No OFD packet to send [06:21:24]OFD Sender: No OFD packet to send [06:21:29]OFD Sender: No OFD packet to send [06:21:34]OFD Sender: No OFD packet to send [06:21:39]OFD Sender: No OFD packet to send [06:21:44]OFD Sender: No OFD packet to send [06:21:49]OFD Sender: No OFD packet to send [06:21:54]OFD Sender: No OFD packet to send [06:21:59]OFD Sender: No OFD packet to send [06:22:04]OFD Sender: No OFD packet to send [06:22:09]OFD Sender: No OFD packet to send [06:22:14]OFD Sender: No OFD packet to send [06:22:19]OFD Sender: No OFD packet to send [06:22:24]OFD Sender: No OFD packet to send [06:22:29]OFD Sender: No OFD packet to send [06:22:34]OFD Sender: No OFD packet to send [06:22:39]OFD Sender: No OFD packet to send [06:22:44]OFD Sender: No OFD packet to send [06:22:49]OFD Sender: No OFD packet to send [06:22:54]OFD Sender: No OFD packet to send [06:22:59]OFD Sender: No OFD packet to send [06:23:04]OFD Sender: No OFD packet to send [06:23:09]OFD Sender: No OFD packet to send [06:23:14]OFD Sender: No OFD packet to send [06:23:19]OFD Sender: No OFD packet to send [06:23:24]OFD Sender: No OFD packet to send [06:23:29]OFD Sender: No OFD packet to send [06:23:34]OFD Sender: No OFD packet to send [06:23:39]OFD Sender: No OFD packet to send [06:23:44]OFD Sender: No OFD packet to send [06:23:49]OFD Sender: No OFD packet to send [06:23:54]OFD Sender: No OFD packet to send [06:23:59]OFD Sender: No OFD packet to send [06:24:04]OFD Sender: No OFD packet to send [06:24:09]OFD Sender: No OFD packet to send [06:24:14]OFD Sender: No OFD packet to send [06:24:19]OFD Sender: No OFD packet to send [06:24:24]OFD Sender: No OFD packet to send [06:24:29]OFD Sender: No OFD packet to send [06:24:34]OFD Sender: No OFD packet to send [06:24:39]OFD Sender: No OFD packet to send [06:24:44]OFD Sender: No OFD packet to send [06:24:49]OFD Sender: No OFD packet to send [06:24:54]OFD Sender: No OFD packet to send [06:24:59]OFD Sender: No OFD packet to send [06:25:04]OFD Sender: No OFD packet to send [06:25:09]OFD Sender: No OFD packet to send [06:25:14]OFD Sender: No OFD packet to send [06:25:19]OFD Sender: No OFD packet to send [06:25:24]OFD Sender: No OFD packet to send [06:25:29]OFD Sender: No OFD packet to send [06:25:34]OFD Sender: No OFD packet to send [06:25:39]OFD Sender: No OFD packet to send [06:25:44]OFD Sender: No OFD packet to send [06:25:49]OFD Sender: No OFD packet to send [06:25:54]OFD Sender: No OFD packet to send [06:25:59]OFD Sender: No OFD packet to send [06:26:04]OFD Sender: No OFD packet to send [06:26:09]OFD Sender: No OFD packet to send [06:26:14]OFD Sender: No OFD packet to send [06:26:19]OFD Sender: No OFD packet to send [06:26:24]OFD Sender: No OFD packet to send [06:26:29]OFD Sender: No OFD packet to send [06:26:34]OFD Sender: No OFD packet to send [06:26:39]OFD Sender: No OFD packet to send [06:26:44]OFD Sender: No OFD packet to send [06:26:49]OFD Sender: No OFD packet to send [06:26:54]OFD Sender: No OFD packet to send [06:26:59]OFD Sender: No OFD packet to send [06:27:04]OFD Sender: No OFD packet to send [06:27:09]OFD Sender: No OFD packet to send [06:27:14]OFD Sender: No OFD packet to send [06:27:19]OFD Sender: No OFD packet to send [06:27:24]OFD Sender: No OFD packet to send [06:27:29]OFD Sender: No OFD packet to send [06:27:34]OFD Sender: No OFD packet to send [06:27:39]OFD Sender: No OFD packet to send [06:27:44]OFD Sender: No OFD packet to send [06:27:49]OFD Sender: No OFD packet to send [06:27:54]OFD Sender: No OFD packet to send [06:27:59]OFD Sender: No OFD packet to send [06:28:04]OFD Sender: No OFD packet to send [06:28:09]OFD Sender: No OFD packet to send [06:28:14]OFD Sender: No OFD packet to send [06:28:19]OFD Sender: No OFD packet to send [06:28:24]OFD Sender: No OFD packet to send [06:28:29]OFD Sender: No OFD packet to send [06:28:34]OFD Sender: No OFD packet to send [06:28:39]OFD Sender: No OFD packet to send [06:28:44]OFD Sender: No OFD packet to send [06:28:49]OFD Sender: No OFD packet to send [06:28:54]OFD Sender: No OFD packet to send [06:28:59]OFD Sender: No OFD packet to send [06:29:04]OFD Sender: No OFD packet to send [06:29:09]OFD Sender: No OFD packet to send [06:29:14]OFD Sender: No OFD packet to send [06:29:19]OFD Sender: No OFD packet to send [06:29:24]OFD Sender: No OFD packet to send [06:29:29]OFD Sender: No OFD packet to send [06:29:34]OFD Sender: No OFD packet to send [06:29:39]OFD Sender: No OFD packet to send [06:29:44]OFD Sender: No OFD packet to send [06:29:49]OFD Sender: No OFD packet to send [06:29:54]OFD Sender: No OFD packet to send [06:29:59]OFD Sender: No OFD packet to send [06:30:04]OFD Sender: No OFD packet to send [06:30:09]OFD Sender: No OFD packet to send [06:30:14]OFD Sender: No OFD packet to send [06:30:19]OFD Sender: No OFD packet to send [06:30:24]OFD Sender: No OFD packet to send [06:30:29]OFD Sender: No OFD packet to send [06:30:34]OFD Sender: No OFD packet to send [06:30:39]OFD Sender: No OFD packet to send [06:30:44]OFD Sender: No OFD packet to send [06:30:49]OFD Sender: No OFD packet to send [06:30:54]OFD Sender: No OFD packet to send [06:30:59]OFD Sender: No OFD packet to send [06:31:04]OFD Sender: No OFD packet to send [06:31:09]OFD Sender: No OFD packet to send [06:31:14]OFD Sender: No OFD packet to send [06:31:19]OFD Sender: No OFD packet to send [06:31:24]OFD Sender: No OFD packet to send [06:31:29]OFD Sender: No OFD packet to send [06:31:34]OFD Sender: No OFD packet to send [06:31:39]OFD Sender: No OFD packet to send [06:31:44]OFD Sender: No OFD packet to send [06:31:49]OFD Sender: No OFD packet to send [06:31:54]OFD Sender: No OFD packet to send [06:31:59]OFD Sender: No OFD packet to send [06:32:04]OFD Sender: No OFD packet to send [06:32:09]OFD Sender: No OFD packet to send [06:32:14]OFD Sender: No OFD packet to send [06:32:19]OFD Sender: No OFD packet to send [06:32:24]OFD Sender: No OFD packet to send [06:32:29]OFD Sender: No OFD packet to send [06:32:34]OFD Sender: No OFD packet to send [06:32:39]OFD Sender: No OFD packet to send [06:32:44]OFD Sender: No OFD packet to send [06:32:49]OFD Sender: No OFD packet to send [06:32:54]OFD Sender: No OFD packet to send [06:32:59]OFD Sender: No OFD packet to send [06:33:04]OFD Sender: No OFD packet to send [06:33:09]OFD Sender: No OFD packet to send [06:33:14]OFD Sender: No OFD packet to send [06:33:19]OFD Sender: No OFD packet to send [06:33:24]OFD Sender: No OFD packet to send [06:33:29]OFD Sender: No OFD packet to send [06:33:34]OFD Sender: No OFD packet to send [06:33:39]OFD Sender: No OFD packet to send [06:33:44]OFD Sender: No OFD packet to send [06:33:49]OFD Sender: No OFD packet to send [06:33:54]OFD Sender: No OFD packet to send [06:33:59]OFD Sender: No OFD packet to send [06:34:04]OFD Sender: No OFD packet to send [06:34:09]OFD Sender: No OFD packet to send [06:34:14]OFD Sender: No OFD packet to send [06:34:19]OFD Sender: No OFD packet to send [06:34:24]OFD Sender: No OFD packet to send [06:34:29]OFD Sender: No OFD packet to send [06:34:34]OFD Sender: No OFD packet to send [06:34:39]OFD Sender: No OFD packet to send [06:34:44]OFD Sender: No OFD packet to send [06:34:49]OFD Sender: No OFD packet to send [06:34:54]OFD Sender: No OFD packet to send [06:34:59]OFD Sender: No OFD packet to send [06:35:04]OFD Sender: No OFD packet to send [06:35:09]OFD Sender: No OFD packet to send [06:35:14]OFD Sender: No OFD packet to send [06:35:19]OFD Sender: No OFD packet to send [06:35:24]OFD Sender: No OFD packet to send [06:35:29]OFD Sender: No OFD packet to send [06:35:34]OFD Sender: No OFD packet to send [06:35:40]OFD Sender: No OFD packet to send [06:35:45]OFD Sender: No OFD packet to send [06:35:50]OFD Sender: No OFD packet to send [06:35:55]OFD Sender: No OFD packet to send [06:36:00]OFD Sender: No OFD packet to send [06:36:05]OFD Sender: No OFD packet to send [06:36:10]OFD Sender: No OFD packet to send [06:36:15]OFD Sender: No OFD packet to send [06:36:20]OFD Sender: No OFD packet to send [06:36:25]OFD Sender: No OFD packet to send [06:36:30]OFD Sender: No OFD packet to send [06:36:35]OFD Sender: No OFD packet to send [06:36:40]OFD Sender: No OFD packet to send [06:36:45]OFD Sender: No OFD packet to send [06:36:50]OFD Sender: No OFD packet to send [06:36:55]OFD Sender: No OFD packet to send [06:37:00]OFD Sender: No OFD packet to send [06:37:05]OFD Sender: No OFD packet to send [06:37:10]OFD Sender: No OFD packet to send [06:37:15]OFD Sender: No OFD packet to send [06:37:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:45]OFD Sender: No OFD packet to send [06:37:50]OFD Sender: No OFD packet to send [06:37:55]OFD Sender: No OFD packet to send [06:38:00]OFD Sender: No OFD packet to send [06:38:05]OFD Sender: No OFD packet to send [06:38:10]OFD Sender: No OFD packet to send [06:38:15]OFD Sender: No OFD packet to send [06:38:20]OFD Sender: No OFD packet to send [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]OFD Sender: No OFD packet to send [06:39:15]OFD Sender: No OFD packet to send [06:39:20]OFD Sender: No OFD packet to send [06:39:25]OFD Sender: No OFD packet to send [06:39:30]OFD Sender: No OFD packet to send [06:39:35]OFD Sender: No OFD packet to send [06:39:40]OFD Sender: No OFD packet to send [06:39:45]OFD Sender: No OFD packet to send [06:39:50]OFD Sender: No OFD packet to send [06:39:55]OFD Sender: No OFD packet to send [06:40:00]OFD Sender: No OFD packet to send [06:40:05]OFD Sender: No OFD packet to send [06:40:10]OFD Sender: No OFD packet to send [06:40:15]OFD Sender: No OFD packet to send [06:40:20]OFD Sender: No OFD packet to send [06:40:25]OFD Sender: No OFD packet to send [06:40:30]OFD Sender: No OFD packet to send [06:40:35]OFD Sender: No OFD packet to send [06:40:40]OFD Sender: No OFD packet to send [06:40:45]OFD Sender: No OFD packet to send [06:40:50]OFD Sender: No OFD packet to send [06:40:55]OFD Sender: No OFD packet to send [06:41:00]OFD Sender: No OFD packet to send [06:41:05]OFD Sender: No OFD packet to send [06:41:10]OFD Sender: No OFD packet to send [06:41:15]OFD Sender: No OFD packet to send [06:41:20]OFD Sender: No OFD packet to send [06:41:25]OFD Sender: No OFD packet to send [06:41:30]OFD Sender: No OFD packet to send [06:41:35]OFD Sender: No OFD packet to send [06:41:40]OFD Sender: No OFD packet to send [06:41:45]OFD Sender: No OFD packet to send [06:41:50]OFD Sender: No OFD packet to send [06:41:55]OFD Sender: No OFD packet to send [06:42:00]OFD Sender: No OFD packet to send [06:42:05]OFD Sender: No OFD packet to send [06:42:10]OFD Sender: No OFD packet to send [06:42:15]OFD Sender: No OFD packet to send [06:42:20]OFD Sender: No OFD packet to send [06:42:25]OFD Sender: No OFD packet to send [06:42:30]OFD Sender: No OFD packet to send [06:42:35]OFD Sender: No OFD packet to send [06:42:40]OFD Sender: No OFD packet to send [06:42:45]OFD Sender: No OFD packet to send [06:42:50]OFD Sender: No OFD packet to send [06:42:55]OFD Sender: No OFD packet to send [06:43:00]OFD Sender: No OFD packet to send [06:43:05]OFD Sender: No OFD packet to send [06:43:10]OFD Sender: No OFD packet to send [06:43:15]OFD Sender: No OFD packet to send [06:43:20]OFD Sender: No OFD packet to send [06:43:25]OFD Sender: No OFD packet to send [06:43:30]OFD Sender: No OFD packet to send [06:43:35]OFD Sender: No OFD packet to send [06:43:40]OFD Sender: No OFD packet to send [06:43:45]OFD Sender: No OFD packet to send [06:43:50]OFD Sender: No OFD packet to send [06:43:55]OFD Sender: No OFD packet to send [06:44:00]OFD Sender: No OFD packet to send [06:44:05]OFD Sender: No OFD packet to send [06:44:10]OFD Sender: No OFD packet to send [06:44:15]OFD Sender: No OFD packet to send [06:44:20]OFD Sender: No OFD packet to send [06:44:25]OFD Sender: No OFD packet to send [06:44:30]OFD Sender: No OFD packet to send [06:44:35]OFD Sender: No OFD packet to send [06:44:40]OFD Sender: No OFD packet to send [06:44:45]OFD Sender: No OFD packet to send [06:44:50]OFD Sender: No OFD packet to send [06:44:55]OFD Sender: No OFD packet to send [06:45:00]OFD Sender: No OFD packet to send [06:45:05]OFD Sender: No OFD packet to send [06:45:10]OFD Sender: No OFD packet to send [06:45:15]OFD Sender: No OFD packet to send [06:45:20]OFD Sender: No OFD packet to send [06:45:25]OFD Sender: No OFD packet to send [06:45:30]OFD Sender: No OFD packet to send [06:45:35]OFD Sender: No OFD packet to send [06:45:40]OFD Sender: No OFD packet to send [06:45:45]OFD Sender: No OFD packet to send [06:45:50]OFD Sender: No OFD packet to send [06:45:55]OFD Sender: No OFD packet to send [06:46:00]OFD Sender: No OFD packet to send [06:46:05]OFD Sender: No OFD packet to send [06:46:10]OFD Sender: No OFD packet to send [06:46:15]OFD Sender: No OFD packet to send [06:46:20]OFD Sender: No OFD packet to send [06:46:25]OFD Sender: No OFD packet to send [06:46:30]OFD Sender: No OFD packet to send [06:46:35]OFD Sender: No OFD packet to send [06:46:40]OFD Sender: No OFD packet to send [06:46:45]OFD Sender: No OFD packet to send [06:46:50]OFD Sender: No OFD packet to send [06:46:55]OFD Sender: No OFD packet to send [06:47:00]OFD Sender: No OFD packet to send [06:47:05]OFD Sender: No OFD packet to send [06:47:10]OFD Sender: No OFD packet to send [06:47:15]OFD Sender: No OFD packet to send [06:47:20]OFD Sender: No OFD packet to send [06:47:25]OFD Sender: No OFD packet to send [06:47:30]OFD Sender: No OFD packet to send [06:47:35]OFD Sender: No OFD packet to send [06:47:40]OFD Sender: No OFD packet to send [06:47:45]OFD Sender: No OFD packet to send [06:47:50]OFD Sender: No OFD packet to send [06:47:55]OFD Sender: No OFD packet to send [06:48:00]OFD Sender: No OFD packet to send [06:48:05]OFD Sender: No OFD packet to send [06:48:10]OFD Sender: No OFD packet to send [06:48:15]OFD Sender: No OFD packet to send [06:48:20]OFD Sender: No OFD packet to send [06:48:25]OFD Sender: No OFD packet to send [06:48:30]OFD Sender: No OFD packet to send [06:48:35]OFD Sender: No OFD packet to send [06:48:40]OFD Sender: No OFD packet to send [06:48:45]OFD Sender: No OFD packet to send [06:48:50]OFD Sender: No OFD packet to send [06:48:55]OFD Sender: No OFD packet to send [06:49:00]OFD Sender: No OFD packet to send [06:49:05]OFD Sender: No OFD packet to send [06:49:10]OFD Sender: No OFD packet to send [06:49:15]OFD Sender: No OFD packet to send [06:49:20]OFD Sender: No OFD packet to send [06:49:25]OFD Sender: No OFD packet to send [06:49:30]OFD Sender: No OFD packet to send [06:49:35]OFD Sender: No OFD packet to send [06:49:40]OFD Sender: No OFD packet to send [06:49:45]OFD Sender: No OFD packet to send [06:49:50]OFD Sender: No OFD packet to send [06:49:55]OFD Sender: No OFD packet to send [06:50:00]OFD Sender: No OFD packet to send [06:50:05]OFD Sender: No OFD packet to send [06:50:10]OFD Sender: No OFD packet to send [06:50:15]OFD Sender: No OFD packet to send [06:50:20]OFD Sender: No OFD packet to send [06:50:25]OFD Sender: No OFD packet to send [06:50:30]OFD Sender: No OFD packet to send [06:50:35]OFD Sender: No OFD packet to send [06:50:40]OFD Sender: No OFD packet to send [06:50:45]OFD Sender: No OFD packet to send [06:50:50]OFD Sender: No OFD packet to send [06:50:55]OFD Sender: No OFD packet to send [06:51:00]OFD Sender: No OFD packet to send [06:51:05]OFD Sender: No OFD packet to send [06:51:10]OFD Sender: No OFD packet to send [06:51:15]OFD Sender: No OFD packet to send [06:51:20]OFD Sender: No OFD packet to send [06:51:25]OFD Sender: No OFD packet to send [06:51:30]OFD Sender: No OFD packet to send [06:51:35]OFD Sender: No OFD packet to send [06:51:40]OFD Sender: No OFD packet to send [06:51:45]OFD Sender: No OFD packet to send [06:51:50]OFD Sender: No OFD packet to send [06:51:55]OFD Sender: No OFD packet to send [06:52:00]OFD Sender: No OFD packet to send [06:52:05]OFD Sender: No OFD packet to send [06:52:10]OFD Sender: No OFD packet to send [06:52:15]OFD Sender: No OFD packet to send [06:52:20]OFD Sender: No OFD packet to send [06:52:25]OFD Sender: No OFD packet to send [06:52:30]OFD Sender: No OFD packet to send [06:52:35]OFD Sender: No OFD packet to send [06:52:40]OFD Sender: No OFD packet to send [06:52:45]OFD Sender: No OFD packet to send [06:52:50]OFD Sender: No OFD packet to send [06:52:55]OFD Sender: No OFD packet to send [06:53:00]OFD Sender: No OFD packet to send [06:53:05]OFD Sender: No OFD packet to send [06:53:10]OFD Sender: No OFD packet to send [06:53:15]OFD Sender: No OFD packet to send [06:53:20]OFD Sender: No OFD packet to send [06:53:25]OFD Sender: No OFD packet to send [06:53:30]OFD Sender: No OFD packet to send [06:53:35]OFD Sender: No OFD packet to send [06:53:40]OFD Sender: No OFD packet to send [06:53:45]OFD Sender: No OFD packet to send [06:53:50]OFD Sender: No OFD packet to send [06:53:55]OFD Sender: No OFD packet to send [06:54:00]OFD Sender: No OFD packet to send [06:54:05]OFD Sender: No OFD packet to send [06:54:10]OFD Sender: No OFD packet to send [06:54:15]OFD Sender: No OFD packet to send [06:54:20]OFD Sender: No OFD packet to send [06:54:25]OFD Sender: No OFD packet to send [06:54:30]OFD Sender: No OFD packet to send [06:54:35]OFD Sender: No OFD packet to send [06:54:40]OFD Sender: No OFD packet to send [06:54:45]OFD Sender: No OFD packet to send [06:54:50]OFD Sender: No OFD packet to send [06:54:55]OFD Sender: No OFD packet to send [06:55:00]OFD Sender: No OFD packet to send [06:55:05]OFD Sender: No OFD packet to send [06:55:10]OFD Sender: No OFD packet to send [06:55:15]OFD Sender: No OFD packet to send [06:55:20]OFD Sender: No OFD packet to send [06:55:25]OFD Sender: No OFD packet to send [06:55:30]OFD Sender: No OFD packet to send [06:55:35]OFD Sender: No OFD packet to send [06:55:40]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:30]OFD Sender: No OFD packet to send [06:56:35]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:11]OFD Sender: No OFD packet to send [07:02:16]OFD Sender: No OFD packet to send [07:02:21]OFD Sender: No OFD packet to send [07:02:26]OFD Sender: No OFD packet to send [07:02:31]OFD Sender: No OFD packet to send [07:02:36]OFD Sender: No OFD packet to send [07:02:41]OFD Sender: No OFD packet to send [07:02:46]OFD Sender: No OFD packet to send [07:02:51]OFD Sender: No OFD packet to send [07:02:56]OFD Sender: No OFD packet to send [07:03:01]OFD Sender: No OFD packet to send [07:03:06]OFD Sender: No OFD packet to send [07:03:11]OFD Sender: No OFD packet to send [07:03:16]OFD Sender: No OFD packet to send [07:03:21]OFD Sender: No OFD packet to send [07:03:26]OFD Sender: No OFD packet to send [07:03:31]OFD Sender: No OFD packet to send [07:03:36]OFD Sender: No OFD packet to send [07:03:41]OFD Sender: No OFD packet to send [07:03:46]OFD Sender: No OFD packet to send [07:03:51]OFD Sender: No OFD packet to send [07:03:56]OFD Sender: No OFD packet to send [07:04:01]OFD Sender: No OFD packet to send [07:04:06]OFD Sender: No OFD packet to send [07:04:11]OFD Sender: No OFD packet to send [07:04:16]OFD Sender: No OFD packet to send [07:04:21]OFD Sender: No OFD packet to send [07:04:26]OFD Sender: No OFD packet to send [07:04:31]OFD Sender: No OFD packet to send [07:04:36]OFD Sender: No OFD packet to send [07:04:41]OFD Sender: No OFD packet to send [07:04:46]OFD Sender: No OFD packet to send [07:04:51]OFD Sender: No OFD packet to send [07:04:56]OFD Sender: No OFD packet to send [07:05:01]OFD Sender: No OFD packet to send [07:05:06]OFD Sender: No OFD packet to send [07:05:11]OFD Sender: No OFD packet to send [07:05:16]OFD Sender: No OFD packet to send [07:05:21]OFD Sender: No OFD packet to send [07:05:26]OFD Sender: No OFD packet to send [07:05:31]OFD Sender: No OFD packet to send [07:05:36]OFD Sender: No OFD packet to send [07:05:41]OFD Sender: No OFD packet to send [07:05:46]OFD Sender: No OFD packet to send [07:05:51]OFD Sender: No OFD packet to send [07:05:56]OFD Sender: No OFD packet to send [07:06:01]OFD Sender: No OFD packet to send [07:06:06]OFD Sender: No OFD packet to send [07:06:11]OFD Sender: No OFD packet to send [07:06:16]OFD Sender: No OFD packet to send [07:06:21]OFD Sender: No OFD packet to send [07:06:26]OFD Sender: No OFD packet to send [07:06:31]OFD Sender: No OFD packet to send [07:06:36]OFD Sender: No OFD packet to send [07:06:41]OFD Sender: No OFD packet to send [07:06:46]OFD Sender: No OFD packet to send [07:06:51]OFD Sender: No OFD packet to send [07:06:56]OFD Sender: No OFD packet to send [07:07:01]OFD Sender: No OFD packet to send [07:07:06]OFD Sender: No OFD packet to send [07:07:11]OFD Sender: No OFD packet to send [07:07:16]OFD Sender: No OFD packet to send [07:07:21]OFD Sender: No OFD packet to send [07:07:26]OFD Sender: No OFD packet to send [07:07:31]OFD Sender: No OFD packet to send [07:07:36]OFD Sender: No OFD packet to send [07:07:41]OFD Sender: No OFD packet to send [07:07:46]OFD Sender: No OFD packet to send [07:07:51]OFD Sender: No OFD packet to send [07:07:56]OFD Sender: No OFD packet to send [07:08:01]OFD Sender: No OFD packet to send [07:08:06]OFD Sender: No OFD packet to send [07:08:11]OFD Sender: No OFD packet to send [07:08:16]OFD Sender: No OFD packet to send [07:08:21]OFD Sender: No OFD packet to send [07:08:26]OFD Sender: No OFD packet to send [07:08:31]OFD Sender: No OFD packet to send [07:08:36]OFD Sender: No OFD packet to send [07:08:41]OFD Sender: No OFD packet to send [07:08:46]OFD Sender: No OFD packet to send [07:08:51]OFD Sender: No OFD packet to send [07:08:56]OFD Sender: No OFD packet to send [07:09:01]OFD Sender: No OFD packet to send [07:09:06]OFD Sender: No OFD packet to send [07:09:11]OFD Sender: No OFD packet to send [07:09:16]OFD Sender: No OFD packet to send [07:09:21]OFD Sender: No OFD packet to send [07:09:26]OFD Sender: No OFD packet to send [07:09:31]OFD Sender: No OFD packet to send [07:09:36]OFD Sender: No OFD packet to send [07:09:41]OFD Sender: No OFD packet to send [07:09:46]OFD Sender: No OFD packet to send [07:09:51]OFD Sender: No OFD packet to send [07:09:56]OFD Sender: No OFD packet to send [07:10:01]OFD Sender: No OFD packet to send [07:10:06]OFD Sender: No OFD packet to send [07:10:11]OFD Sender: No OFD packet to send [07:10:16]OFD Sender: No OFD packet to send [07:10:21]OFD Sender: No OFD packet to send [07:10:26]OFD Sender: No OFD packet to send [07:10:31]OFD Sender: No OFD packet to send [07:10:36]OFD Sender: No OFD packet to send [07:10:41]OFD Sender: No OFD packet to send [07:10:46]OFD Sender: No OFD packet to send [07:10:51]OFD Sender: No OFD packet to send [07:10:56]OFD Sender: No OFD packet to send [07:11:01]OFD Sender: No OFD packet to send [07:11:06]OFD Sender: No OFD packet to send [07:11:11]OFD Sender: No OFD packet to send [07:11:16]OFD Sender: No OFD packet to send [07:11:21]OFD Sender: No OFD packet to send [07:11:26]OFD Sender: No OFD packet to send [07:11:31]OFD Sender: No OFD packet to send [07:11:36]OFD Sender: No OFD packet to send [07:11:41]OFD Sender: No OFD packet to send [07:11:46]OFD Sender: No OFD packet to send [07:11:51]OFD Sender: No OFD packet to send [07:11:56]OFD Sender: No OFD packet to send [07:12:01]OFD Sender: No OFD packet to send [07:12:06]OFD Sender: No OFD packet to send [07:12:11]OFD Sender: No OFD packet to send [07:12:16]OFD Sender: No OFD packet to send [07:12:21]OFD Sender: No OFD packet to send [07:12:26]OFD Sender: No OFD packet to send [07:12:31]OFD Sender: No OFD packet to send [07:12:36]OFD Sender: No OFD packet to send [07:12:41]OFD Sender: No OFD packet to send [07:12:46]OFD Sender: No OFD packet to send [07:12:51]OFD Sender: No OFD packet to send [07:12:56]OFD Sender: No OFD packet to send [07:13:01]OFD Sender: No OFD packet to send [07:13:06]OFD Sender: No OFD packet to send [07:13:11]OFD Sender: No OFD packet to send [07:13:16]OFD Sender: No OFD packet to send [07:13:21]OFD Sender: No OFD packet to send [07:13:26]OFD Sender: No OFD packet to send [07:13:31]OFD Sender: No OFD packet to send [07:13:36]OFD Sender: No OFD packet to send [07:13:41]OFD Sender: No OFD packet to send [07:13:46]OFD Sender: No OFD packet to send [07:13:51]OFD Sender: No OFD packet to send [07:13:56]OFD Sender: No OFD packet to send [07:14:01]OFD Sender: No OFD packet to send [07:14:06]OFD Sender: No OFD packet to send [07:14:11]OFD Sender: No OFD packet to send [07:14:16]OFD Sender: No OFD packet to send [07:14:21]OFD Sender: No OFD packet to send [07:14:26]OFD Sender: No OFD packet to send [07:14:31]OFD Sender: No OFD packet to send [07:14:36]OFD Sender: No OFD packet to send [07:14:41]OFD Sender: No OFD packet to send [07:14:46]OFD Sender: No OFD packet to send [07:14:51]OFD Sender: No OFD packet to send [07:14:56]OFD Sender: No OFD packet to send [07:15:01]OFD Sender: No OFD packet to send [07:15:06]OFD Sender: No OFD packet to send [07:15:11]OFD Sender: No OFD packet to send [07:15:16]OFD Sender: No OFD packet to send [07:15:21]OFD Sender: No OFD packet to send [07:15:26]OFD Sender: No OFD packet to send [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]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:37]OFD Sender: No OFD packet to send [07:23:42]OFD Sender: No OFD packet to send [07:23:47]OFD Sender: No OFD packet to send [07:23:52]OFD Sender: No OFD packet to send [07:23:57]OFD Sender: No OFD packet to send [07:24:02]OFD Sender: No OFD packet to send [07:24:07]OFD Sender: No OFD packet to send [07:24:12]OFD Sender: No OFD packet to send [07:24:17]OFD Sender: No OFD packet to send [07:24:22]OFD Sender: No OFD packet to send [07:24:27]OFD Sender: No OFD packet to send [07:24:32]OFD Sender: No OFD packet to send [07:24:37]OFD Sender: No OFD packet to send [07:24:42]OFD Sender: No OFD packet to send [07:24:47]OFD Sender: No OFD packet to send [07:24:52]OFD Sender: No OFD packet to send [07:24:57]OFD Sender: No OFD packet to send [07:25:02]OFD Sender: No OFD packet to send [07:25:07]OFD Sender: No OFD packet to send [07:25:12]OFD Sender: No OFD packet to send [07:25:17]OFD Sender: No OFD packet to send [07:25:22]OFD Sender: No OFD packet to send [07:25:27]OFD Sender: No OFD packet to send [07:25:32]OFD Sender: No OFD packet to send [07:25:37]OFD Sender: No OFD packet to send [07:25:42]OFD Sender: No OFD packet to send [07:25:47]OFD Sender: No OFD packet to send [07:25:52]OFD Sender: No OFD packet to send [07:25:57]OFD Sender: No OFD packet to send [07:26:02]OFD Sender: No OFD packet to send [07:26:07]OFD Sender: No OFD packet to send [07:26:12]OFD Sender: No OFD packet to send [07:26:17]OFD Sender: No OFD packet to send [07:26:22]OFD Sender: No OFD packet to send [07:26:27]OFD Sender: No OFD packet to send [07:26:32]OFD Sender: No OFD packet to send [07:26:37]OFD Sender: No OFD packet to send [07:26:42]OFD Sender: No OFD packet to send [07:26:47]OFD Sender: No OFD packet to send [07:26:52]OFD Sender: No OFD packet to send [07:26:57]OFD Sender: No OFD packet to send [07:27:02]OFD Sender: No OFD packet to send [07:27:07]OFD Sender: No OFD packet to send [07:27:12]OFD Sender: No OFD packet to send [07:27:17]OFD Sender: No OFD packet to send [07:27:22]OFD Sender: No OFD packet to send [07:27:27]OFD Sender: No OFD packet to send [07:27:32]OFD Sender: No OFD packet to send [07:27:37]OFD Sender: No OFD packet to send [07:27:42]OFD Sender: No OFD packet to send [07:27:47]OFD Sender: No OFD packet to send [07:27:52]OFD Sender: No OFD packet to send [07:27:57]OFD Sender: No OFD packet to send [07:28:02]OFD Sender: No OFD packet to send [07:28:07]OFD Sender: No OFD packet to send [07:28:12]OFD Sender: No OFD packet to send [07:28:17]OFD Sender: No OFD packet to send [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:17]OFD Sender: No OFD packet to send [07:30:22]OFD Sender: No OFD packet to send [07:30:27]OFD Sender: No OFD packet to send [07:30:32]OFD Sender: No OFD packet to send [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]OFD Sender: No OFD packet to send [07:31:42]OFD Sender: No OFD packet to send [07:31:47]OFD Sender: No OFD packet to send [07:31:52]OFD Sender: No OFD packet to send [07:31:57]OFD Sender: No OFD packet to send [07:32:02]OFD Sender: No OFD packet to send [07:32:07]OFD Sender: No OFD packet to send [07:32:12]OFD Sender: No OFD packet to send [07:32:17]OFD Sender: No OFD packet to send [07:32:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:32]OFD Sender: No OFD packet to send [07:32:37]OFD Sender: No OFD packet to send [07:32:42]OFD Sender: No OFD packet to send [07:32:47]OFD Sender: No OFD packet to send [07:32:52]OFD Sender: No OFD packet to send [07:32:57]OFD Sender: No OFD packet to send [07:33:02]OFD Sender: No OFD packet to send [07:33:07]OFD Sender: No OFD packet to send [07:33:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]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:43]OFD Sender: No OFD packet to send [07:43:48]OFD Sender: No OFD packet to send [07:43:53]OFD Sender: No OFD packet to send [07:43:58]OFD Sender: No OFD packet to send [07:44:03]OFD Sender: No OFD packet to send [07:44:08]OFD Sender: No OFD packet to send [07:44:13]OFD Sender: No OFD packet to send [07:44:18]OFD Sender: No OFD packet to send [07:44:23]OFD Sender: No OFD packet to send [07:44:28]OFD Sender: No OFD packet to send [07:44:33]OFD Sender: No OFD packet to send [07:44:38]OFD Sender: No OFD packet to send [07:44:43]OFD Sender: No OFD packet to send [07:44:48]OFD Sender: No OFD packet to send [07:44:53]OFD Sender: No OFD packet to send [07:44:58]OFD Sender: No OFD packet to send [07:45:03]OFD Sender: No OFD packet to send [07:45:08]OFD Sender: No OFD packet to send [07:45:13]OFD Sender: No OFD packet to send [07:45:18]OFD Sender: No OFD packet to send [07:45:23]OFD Sender: No OFD packet to send [07:45:28]OFD Sender: No OFD packet to send [07:45:33]OFD Sender: No OFD packet to send [07:45:38]OFD Sender: No OFD packet to send [07:45:43]OFD Sender: No OFD packet to send [07:45:48]OFD Sender: No OFD packet to send [07:45:53]OFD Sender: No OFD packet to send [07:45:58]OFD Sender: No OFD packet to send [07:46:03]OFD Sender: No OFD packet to send [07:46:08]OFD Sender: No OFD packet to send [07:46:13]OFD Sender: No OFD packet to send [07:46:18]OFD Sender: No OFD packet to send [07:46:23]OFD Sender: No OFD packet to send [07:46:28]OFD Sender: No OFD packet to send [07:46:33]OFD Sender: No OFD packet to send [07:46:38]OFD Sender: No OFD packet to send [07:46:43]OFD Sender: No OFD packet to send [07:46:48]OFD Sender: No OFD packet to send [07:46:53]OFD Sender: No OFD packet to send [07:46:58]OFD Sender: No OFD packet to send [07:47:03]OFD Sender: No OFD packet to send [07:47:08]OFD Sender: No OFD packet to send [07:47:13]OFD Sender: No OFD packet to send [07:47:16]accept exits with 9 [07:47:16]New connection [07:47:16]New thread 3066670436 created [07:47:16]Thread 3066813796 joined [07:47:16]Waiting for new connection... [07:47:16] Sock 9.Parse request [07:47:16]Sock 9.Check first char [07:47:16]Sock 9.First char is OK [07:47:16]request: POST /json_proto HTTP/1.0 [07:47:16]Method: POST [07:47:16]URL: /json_proto [07:47:16]Method is POST - this is cgi request [07:47:16]url: /json_proto [07:47:16]query_string will be loaded in cgi processing [07:47:16]execute_cgi json_proto POST (null) [07:47:16]execute_cgi path=json_proto method=POST [07:47:16]POST find Content-Length [07:47:16]Host: 172.17.56.67:8080 [07:47:16]Content-Length: 675 [07:47:16]Content-Type: application/json [07:47:16] [07:47:16]POST finish read [07:47:16]Found Content-Length = 675 [07:47:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216034", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 10.020, "sum" : 700.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:47:16]execute_script... [07:47:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216034", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 10.020, "sum" : 700.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:47:16]POST & json_proto [07:47:16]process_json_proto [07:47:16]json parsed OK: [07:47:16]protocol is kg_v1.0 [07:47:16]action value=close_receipt [07:47:16]process_action close_receipt [07:47:16]cmd_close_receipt [07:47:16]MH_GetDate [07:47:16]Write to MH i2c: F0 00 00 85 24 98 [07:47:16]Write i2c OK [07:47:16]MH_I2C_Read... [07:47:16]Read from MH i2c: F0 [07:47:16]MH_I2C_Read... [07:47:16]Read from MH i2c: F0 09 00 [07:47:16]MH_I2C_Read... [07:47:16]Read from MH i2c: F0 09 00 85 24 00 8B 06 B6 65 26 5D 9E 65 D3 [07:47:16]GetLastDocTimeStamp 1706407775 [07:47:16]current date 1706428043 [07:47:16]FM_GetShiftState [07:47:16]SAM_PROTO_GetShiftState [07:47:16]wFMCommunicate request_size=4 [07:47:16]MH_SAM_APDU [07:47:16]CAPDU: 80 13 01 00 [07:47:16]Write to MH i2c: E2 08 00 86 24 80 13 01 00 00 00 00 00 27 [07:47:16]Write i2c OK [07:47:16]MH_I2C_Read... [07:47:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:47:16]Read from MH i2c: E2 [07:47:16]MH_I2C_Read... [07:47:16]Read from MH i2c: E2 0E 00 [07:47:16]MH_I2C_Read... [07:47:16]Read from MH i2c: E2 0E 00 86 24 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 AD [07:47:16]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [07:47:16]wFMCommunicate OK [07:47:16]SAM_PROTO_GetShiftState done [07:47:16]FM_GetShiftState done [07:47:16]opened in 1706400199 [07:47:16]opened+sec_in_day 1706486599 [07:47:16]quantity*price = 70039 [07:47:16]sum+1 = 70041 [07:47:16]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.40 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 2 28.01.2024 07:47 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48937 ФПД: 124696555626339 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T074723&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48937&fm=124696555626339&tin=02508201610067®Number=0000000000092723&sum=70000 [07:47:17]StoreToDocumentArchive [07:47:17]shift 244 fd 48937 [07:47:17]save to /storage/0244/doc_00048937 [07:47:17]save last doc name /storage/0244/doc_00048937 to /storage/kkm_last_doc_name [07:47:17]save OK [07:47:17]Clear old archive folders... [07:47:17]ProcessDocumentItem done err = 0, tmpTLVsize=248 [07:47:17]tlvbuf is 011CF4A0 [07:47:17]SAM_PROTO_ClearQueue [07:47:17]wFMCommunicate request_size=4 [07:47:17]MH_SAM_APDU [07:47:17]CAPDU: 80 09 00 00 [07:47:17]Write to MH i2c: E2 08 00 93 24 80 09 00 00 00 00 00 00 29 [07:47:17]Write i2c OK [07:47:17]MH_I2C_Read... [07:47:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:47:17]Read from MH i2c: E2 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 03 00 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 03 00 93 24 00 90 00 2B [07:47:17]RAPDU: 90 00 [07:47:17]wFMCommunicate OK [07:47:17]SAM_PROTO_ClearQueue done [07:47:17]KKMCreateOFDPacket [07:47:17]OFDProtocolAddRootSTLVToBuf [07:47:17]FM_MakeSignedData [07:47:17]FM_MakeSignedData [07:47:17]SAM_PROTO_SignData [07:47:17]wFMCommunicate request_size=4 [07:47:17]MH_SAM_APDU [07:47:17]CAPDU: 80 0D 01 02 [07:47:17]Write to MH i2c: E2 08 00 94 24 80 0D 01 02 00 00 00 00 31 [07:47:17]Write i2c OK [07:47:17]MH_I2C_Read... [07:47:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:47:17]Read from MH i2c: E2 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 03 00 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 03 00 94 24 00 90 00 2C [07:47:17]RAPDU: 90 00 [07:47:17]wFMCommunicate OK [07:47:17]wFMCommunicate request_size=255 [07:47:17]MH_SAM_APDU [07:47:17]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 24 27 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 98 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 8B 06 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 29 BF 00 00 35 04 06 00 71 69 2D E7 [07:47:17]Write to MH i2c: E2 02 01 95 24 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 24 27 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 98 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 8B 06 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 29 BF 00 00 35 04 06 00 71 69 2D E7 00 00 F9 [07:47:17]Write i2c OK [07:47:17]MH_I2C_Read... [07:47:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:47:17]Read from MH i2c: E2 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 03 00 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 03 00 95 24 00 90 00 2D [07:47:17]RAPDU: 90 00 [07:47:17]wFMCommunicate OK [07:47:17]wFMCommunicate request_size=7 [07:47:17]MH_SAM_APDU [07:47:17]CAPDU: 80 0D 02 02 02 1F 63 [07:47:17]Write to MH i2c: E2 0A 00 96 24 80 0D 02 02 02 00 1F 63 00 00 BA [07:47:17]Write i2c OK [07:47:17]MH_I2C_Read... [07:47:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:47:17]Read from MH i2c: E2 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 03 00 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 03 00 96 24 00 90 00 2E [07:47:17]RAPDU: 90 00 [07:47:17]wFMCommunicate OK [07:47:17]wFMCommunicate request_size=4 [07:47:17]MH_SAM_APDU [07:47:17]CAPDU: 80 0D 03 02 [07:47:17]Write to MH i2c: E2 08 00 97 24 80 0D 03 02 00 00 00 00 36 [07:47:17]Write i2c OK [07:47:17]MH_I2C_Read... [07:47:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:47:17]Read from MH i2c: E2 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 0B 00 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 0B 00 97 24 00 07 D6 18 27 43 EB 3D 18 90 00 D6 [07:47:17]RAPDU: 07 D6 18 27 43 EB 3D 18 90 00 [07:47:17]wFMCommunicate OK [07:47:17]SAM_PROTO_SignData done [07:47:17]FM_MakeSignedData done [07:47:17]CreateOFDProtocolMessage [07:47:17]wFMCommunicate request_size=4 [07:47:17]MH_SAM_APDU [07:47:17]CAPDU: 80 11 00 00 [07:47:17]Write to MH i2c: E2 08 00 98 24 80 11 00 00 00 00 00 00 36 [07:47:17]Write i2c OK [07:47:17]MH_I2C_Read... [07:47:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:47:17]Read from MH i2c: E2 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 17 00 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: E2 17 00 98 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 83 [07:47:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [07:47:17]wFMCommunicate OK [07:47:17]CreateOFDProtocolMessage done [07:47:17]OFDSenderStorePacket 48937 [07:47:17]StoreOFDPacket docnum=48937 [07:47:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 C3 4E 04 01 10 21 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 24 27 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 98 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 8B 06 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 29 BF 00 00 35 04 06 00 71 69 2D E7 1F 63 07 D6 18 27 43 EB 3D 18 [07:47:17]CheckFolder [07:47:17]dirname=/storage/ofd_packets [07:47:17]CheckFolder done [07:47:17]ProducePacketName [07:47:17]name=ofd_packets/00048937 [07:47:17]NVStorageSaveData ofd_packets/00048937 [07:47:17]File name is /storage/ofd_packets/00048937 [07:47:17]Write 298 bytes [07:47:17]NVStorageSaveData done [07:47:17]OFDSenderStorePacket done [07:47:17]KKMCreateOFDPacket done [07:47:17]NVStorageSaveData kkm_last_timestamp [07:47:17]File name is /storage/kkm_last_timestamp [07:47:17]Write 4 bytes [07:47:17]NVStorageSaveData done [07:47:17]ExternCall_PrintAddStr [07:47:17]wPrintStart [07:47:17]Write to MH i2c: 01 00 00 99 24 BD [07:47:17]Write i2c OK [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: 01 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: 01 07 00 [07:47:17]MH_I2C_Read... [07:47:17]Read from MH i2c: 01 07 00 99 24 00 00 00 00 00 FF 0F D2 [07:47:17]RasterBufferAndPrint [07:47:17]line Счет N : (1)216034 [07:47:17]line ИÐÐ: 02508201610067 [07:47:17]line Контрольно-КаÑÑовый Чек [07:47:17]line ПРОДÐЖР[07:47:17]line ТРК (МРК, ГÐК) : 11 [07:47:17]line Товар: 2710194210 [07:47:17]line ДТ-К-5 [07:47:17]line 10.020 * 69.90 [07:47:17]line = 700.40 [07:47:17]line ÐДС 12% ÐСП 1% [07:47:17]line > о реализуемом товаре [07:47:17]line ОКРУГЛЕÐИЕ: -0.40 [07:47:17]line ИТОГО: 700.00 [07:47:17]line ВнеÑено: 700.00 [07:47:17]line СДÐЧÐ: 0.00 [07:47:17]line ÐСП 1% : 6.20 [07:47:17]line ÐДС 12% : 74.38 [07:47:17]line Ðаличными: 700.00 [07:47:17]line Безнал.: 0.00 [07:47:17]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [07:47:17]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [07:47:17]line СÐО: Общий режим [07:47:17]line Чек 2 28.01.2024 07:47 [07:47:17]line Смена: 244 ФФД: 1.0 [07:47:17]line ЗÐМ: 0300000040 [07:47:17]line РÐМ: 0000000000092723 [07:47:17]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:47:17]line ФМ: 0000000000875060 [07:47:17]line ФД: 48937 [07:47:17]line ФПД: 124696555626339 [07:47:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T074723&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48937&fm=124696555626339&tin=02508201610067®Number=0000000000092723&sum=70000 [07:47:18]OFD Sender: Processing packet 48937 [packets to send 12, broken 11] [07:47:18]ProducePacketName [07:47:18]name=ofd_packets/00048937 [07:47:18]OFD Sender: To server: ‡•öpG, [07:47:18]CommunicateWithHost lk.salyk.kg:30040 [07:47:18]ConnectInit lk.salyk.kg [07:47:18]written 0, free lines is 4095 [07:47:18]Connected sock=10 [07:47:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 C3 4E 04 01 10 21 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 24 27 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 98 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 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 8B 06 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 29 BF 00 00 35 04 06 00 71 69 2D E7 1F 63 07 D6 18 27 43 EB 3D 18 [07:47:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 40 C2 47 00 0E 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 29 BF 00 00 F4 03 04 00 87 B2 B5 65 B6 04 01 00 00 80 F5 3B 91 C8 E7 F4 C7 [07:47:18]CommunicateWithHost err = 0 [07:47:18]CheckOFDResponse [07:47:18]1017 (14) - 77093643461234 [07:47:18]1041 (16) - 0000000000875060 [07:47:18]1040 (4) - 48937 [07:47:18]1012 (4) - 28.01.2024 01:48 [07:47:18]1206 (1) - 0 [07:47:18]OFD Sender: Remove packet 48937 [07:47:18]ProducePacketName [07:47:18]name=ofd_packets/00048937 [07:47:18]NVStorageDeleteData [07:47:18]Write to MH i2c: 01 00 00 C4 24 E8 [07:47:18]Write i2c OK [07:47:18]MH_I2C_Read... [07:47:18]Read from MH i2c: 01 [07:47:18]MH_I2C_Read... [07:47:18]Read from MH i2c: 01 07 00 [07:47:18]MH_I2C_Read... [07:47:18]Read from MH i2c: 01 07 00 C4 24 00 00 00 00 00 E4 0C DF [07:47:18]RasterBufferAndPrint [07:47:18]line [07:47:18]line [07:47:18]line [07:47:18]line [07:47:18]line [07:47:18]written 0, free lines is 3306 [07:47:18]MH_Cut [07:47:18]Write to MH i2c: D1 01 00 CB 24 01 C1 [07:47:18]Write i2c OK [07:47:18]MH_I2C_Read... [07:47:18]Read from MH i2c: D1 [07:47:18]MH_I2C_Read... [07:47:18]Read from MH i2c: D1 01 00 [07:47:18]MH_I2C_Read... [07:47:18]Read from MH i2c: D1 01 00 CB 24 00 C0 [07:47:18]Write to MH i2c: 01 00 00 CC 24 F0 [07:47:18]Write i2c OK [07:47:18]MH_I2C_Read... [07:47:18]OFD Sender: No OFD packet to send [07:47:19]*** Cut start [07:47:19]*** Partial cut [07:47:19]*** CUTSNS_PIN = 1 [07:47:19]*** CUTSNS_PIN = 0 [07:47:19]*** Brake cut motor [07:47:19]Read from MH i2c: 01 [07:47:19]MH_I2C_Read... [07:47:19]*** Stop cut motor [07:47:19]*** Cut end [07:47:19]Read from MH i2c: 01 07 00 [07:47:19]MH_I2C_Read... [07:47:19]Read from MH i2c: 01 07 00 CC 24 00 00 00 00 00 FF 0F 05 [07:47:19]process_action close_receipt done [07:47:19]requested_data is exist [07:47:19]produce_requested_data [07:47:19]requested_item fm.sn is exist - process it [07:47:19]wFMCommunicate request_size=4 [07:47:19]MH_SAM_APDU [07:47:19]CAPDU: 80 11 00 00 [07:47:19]Write to MH i2c: E2 08 00 CD 24 80 11 00 00 00 00 00 00 6B [07:47:19]Write i2c OK [07:47:19]MH_I2C_Read... [07:47:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:47:19]Read from MH i2c: E2 [07:47:19]MH_I2C_Read... [07:47:19]Read from MH i2c: E2 17 00 [07:47:19]MH_I2C_Read... [07:47:19]Read from MH i2c: E2 17 00 CD 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 B8 [07:47:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [07:47:19]wFMCommunicate OK [07:47:19]requested_item fd.num is exist - process it [07:47:19]SAM_PROTO_GetFieldsCounters [07:47:19]wFMCommunicate request_size=4 [07:47:19]MH_SAM_APDU [07:47:19]CAPDU: 80 13 00 00 [07:47:19]Write to MH i2c: E2 08 00 CE 24 80 13 00 00 00 00 00 00 6E [07:47:19]Write i2c OK [07:47:19]MH_I2C_Read... [07:47:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:47:19]Read from MH i2c: E2 [07:47:19]MH_I2C_Read... [07:47:19]Read from MH i2c: E2 62 00 [07:47:19]MH_I2C_Read... [07:47:19]Read from MH i2c: E2 62 00 CE 24 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 29 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 69 [07:47: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 29 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:47:20]wFMCommunicate OK [07:47:20]SAM_PROTO_GetFieldsCounters done [07:47:20]requested_item shift.num is exist - process it [07:47:20]requested_item shift.opened is exist - process it [07:47:20]req_shift_opened [07:47:20]FM_GetShiftState [07:47:20]SAM_PROTO_GetShiftState [07:47:20]wFMCommunicate request_size=4 [07:47:20]MH_SAM_APDU [07:47:20]CAPDU: 80 13 01 00 [07:47:20]Write to MH i2c: E2 08 00 CF 24 80 13 01 00 00 00 00 00 70 [07:47:20]Write i2c OK [07:47:20]MH_I2C_Read... [07:47:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:47:20]Read from MH i2c: E2 [07:47:20]MH_I2C_Read... [07:47:20]Read from MH i2c: E2 0E 00 [07:47:20]MH_I2C_Read... [07:47:20]Read from MH i2c: E2 0E 00 CF 24 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F6 [07:47:20]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [07:47:20]wFMCommunicate OK [07:47:20]SAM_PROTO_GetShiftState done [07:47:20]FM_GetShiftState done [07:47:20]req_shift_opened done [07:47:20]requested_item shift.open_date is exist - process it [07:47:20]req_shift_open_date [07:47:20]req_shift_open_date done [07:47:20]produce_requested_data done [07:47:20]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48937,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [07:47:20]process_action_free close_receipt [07:47:20]json_value_free [07:47:20]json_value_free done [07:47:20]process_json_proto returns [07:47:20]Send response to host [07:47:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48937,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [07:47:20]free response buf [07:47:20]execute_script done [07:47:20]execute_script returns [07:47:20]free content buf [07:47:20]Sock 9.Close socket [07:47:20]Sock 9.Thread stoped [07:47:23]OFD Sender: No OFD packet to send [07:47:28]OFD Sender: No OFD packet to send [07:47:33]OFD Sender: No OFD packet to send [07:47:38]OFD Sender: No OFD packet to send [07:47:43]OFD Sender: No OFD packet to send [07:47:48]OFD Sender: No OFD packet to send [07:47:53]OFD Sender: No OFD packet to send [07:47:58]OFD Sender: No OFD packet to send [07:48:03]OFD Sender: No OFD packet to send [07:48:08]OFD Sender: No OFD packet to send [07:48:13]OFD Sender: No OFD packet to send [07:48:18]OFD Sender: No OFD packet to send [07:48:23]OFD Sender: No OFD packet to send [07:48:28]OFD Sender: No OFD packet to send [07:48:33]OFD Sender: No OFD packet to send [07:48:38]OFD Sender: No OFD packet to send [07:48:43]OFD Sender: No OFD packet to send [07:48:48]OFD Sender: No OFD packet to send [07:48:53]OFD Sender: No OFD packet to send [07:48:58]OFD Sender: No OFD packet to send [07:49:03]OFD Sender: No OFD packet to send [07:49:08]OFD Sender: No OFD packet to send [07:49:13]OFD Sender: No OFD packet to send [07:49:18]OFD Sender: No OFD packet to send [07:49:23]OFD Sender: No OFD packet to send [07:49:28]OFD Sender: No OFD packet to send [07:49:33]OFD Sender: No OFD packet to send [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:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:53:59]OFD Sender: No OFD packet to send [07:54:04]OFD Sender: No OFD packet to send [07:54:09]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:49]OFD Sender: No OFD packet to send [07:55:54]OFD Sender: No OFD packet to send [07:55:59]OFD Sender: No OFD packet to send [07:56:04]OFD Sender: No OFD packet to send [07:56:09]OFD Sender: No OFD packet to send [07:56:14]OFD Sender: No OFD packet to send [07:56:19]OFD Sender: No OFD packet to send [07:56:24]OFD Sender: No OFD packet to send [07:56:29]OFD Sender: No OFD packet to send [07:56:34]OFD Sender: No OFD packet to send [07:56:39]OFD Sender: No OFD packet to send [07:56:44]OFD Sender: No OFD packet to send [07:56:49]OFD Sender: No OFD packet to send [07:56:54]OFD Sender: No OFD packet to send [07:56:59]OFD Sender: No OFD packet to send [07:57:04]OFD Sender: No OFD packet to send [07:57:09]OFD Sender: No OFD packet to send [07:57:14]OFD Sender: No OFD packet to send [07:57:19]OFD Sender: No OFD packet to send [07:57:24]OFD Sender: No OFD packet to send [07:57:29]OFD Sender: No OFD packet to send [07:57:34]OFD Sender: No OFD packet to send [07:57:39]OFD Sender: No OFD packet to send [07:57:44]OFD Sender: No OFD packet to send [07:57:49]OFD Sender: No OFD packet to send [07:57:54]OFD Sender: No OFD packet to send [07:57:59]OFD Sender: No OFD packet to send [07:58:04]OFD Sender: No OFD packet to send [07:58:09]OFD Sender: No OFD packet to send [07:58:14]OFD Sender: No OFD packet to send [07:58:19]OFD Sender: No OFD packet to send [07:58:24]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:24]OFD Sender: No OFD packet to send [08:00:29]OFD Sender: No OFD packet to send [08:00:34]OFD Sender: No OFD packet to send [08:00:39]OFD Sender: No OFD packet to send [08:00:44]OFD Sender: No OFD packet to send [08:00:49]OFD Sender: No OFD packet to send [08:00:54]OFD Sender: No OFD packet to send [08:00:59]OFD Sender: No OFD packet to send [08:01:04]OFD Sender: No OFD packet to send [08:01:09]OFD Sender: No OFD packet to send [08:01:14]OFD Sender: No OFD packet to send [08:01:19]OFD Sender: No OFD packet to send [08:01:24]OFD Sender: No OFD packet to send [08:01:29]OFD Sender: No OFD packet to send [08:01:34]OFD Sender: No OFD packet to send [08:01:39]OFD Sender: No OFD packet to send [08:01:44]OFD Sender: No OFD packet to send [08:01:49]OFD Sender: No OFD packet to send [08:01:54]OFD Sender: No OFD packet to send [08:01:59]OFD Sender: No OFD packet to send [08:02:04]OFD Sender: No OFD packet to send [08:02:09]OFD Sender: No OFD packet to send [08:02:14]OFD Sender: No OFD packet to send [08:02:19]OFD Sender: No OFD packet to send [08:02:24]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:30]accept exits with 7 [08:08:30]New connection [08:08:30]New thread 3066813796 created [08:08:30]Thread 3066670436 joined [08:08:30]Waiting for new connection... [08:08:30] Sock 7.Parse request [08:08:30]Sock 7.Check first char [08:08:30]Sock 7.First char is OK [08:08:30]request: POST /json_proto HTTP/1.0 [08:08:30]Method: POST [08:08:30]URL: /json_proto [08:08:30]Method is POST - this is cgi request [08:08:30]url: /json_proto [08:08:30]query_string will be loaded in cgi processing [08:08:30]execute_cgi json_proto POST (null) [08:08:30]execute_cgi path=json_proto method=POST [08:08:30]POST find Content-Length [08:08:30]Host: 172.17.56.67:8080 [08:08:30]Content-Length: 640 [08:08:30]Content-Type: application/json [08:08:30] [08:08:30]POST finish read [08:08:30]Found Content-Length = 640 [08:08:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216035", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 10.000, "sum" : 603.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 603.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:08:30]execute_script... [08:08: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)216035", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 10.000, "sum" : 603.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 603.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:08:30]POST & json_proto [08:08:30]process_json_proto [08:08:30]json parsed OK: [08:08:30]protocol is kg_v1.0 [08:08:30]action value=close_receipt [08:08:30]process_action close_receipt [08:08:30]cmd_close_receipt [08:08:30]MH_GetDate [08:08:30]Write to MH i2c: F0 00 00 D0 24 E3 [08:08:30]Write i2c OK [08:08:30]MH_I2C_Read... [08:08:30]Read from MH i2c: F0 [08:08:30]MH_I2C_Read... [08:08:30]Read from MH i2c: F0 09 00 [08:08:30]MH_I2C_Read... [08:08:30]Read from MH i2c: F0 09 00 D0 24 00 85 0B B6 65 26 5D 9E 65 1D [08:08:30]GetLastDocTimeStamp 1706428043 [08:08:30]current date 1706429317 [08:08:30]FM_GetShiftState [08:08:30]SAM_PROTO_GetShiftState [08:08:30]wFMCommunicate request_size=4 [08:08:30]MH_SAM_APDU [08:08:30]CAPDU: 80 13 01 00 [08:08:30]Write to MH i2c: E2 08 00 D1 24 80 13 01 00 00 00 00 00 72 [08:08:30]Write i2c OK [08:08:30]MH_I2C_Read... [08:08:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:08:30]Read from MH i2c: E2 [08:08:30]MH_I2C_Read... [08:08:30]Read from MH i2c: E2 0E 00 [08:08:30]MH_I2C_Read... [08:08:30]Read from MH i2c: E2 0E 00 D1 24 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F8 [08:08:30]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:08:30]wFMCommunicate OK [08:08:30]SAM_PROTO_GetShiftState done [08:08:30]FM_GetShiftState done [08:08:30]opened in 1706400199 [08:08:30]opened+sec_in_day 1706486599 [08:08:30]quantity*price = 60300 [08:08:30]sum+1 = 60301 [08:08:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 603.00 ÐСП 1% : 5.34 ÐДС 12% : 64.03 Ðаличными: 603.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 3 28.01.2024 08:08 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48938 ФПД: 177662749599279 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T080837&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48938&fm=177662749599279&tin=02508201610067®Number=0000000000092723&sum=60300 [08:08:31]StoreToDocumentArchive [08:08:31]shift 244 fd 48938 [08:08:31]save to /storage/0244/doc_00048938 [08:08:31]save last doc name /storage/0244/doc_00048938 to /storage/kkm_last_doc_name [08:08:31]save OK [08:08:31]Clear old archive folders... [08:08:31]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:08:31]tlvbuf is 011E6240 [08:08:31]SAM_PROTO_ClearQueue [08:08:31]wFMCommunicate request_size=4 [08:08:31]MH_SAM_APDU [08:08:31]CAPDU: 80 09 00 00 [08:08:31]Write to MH i2c: E2 08 00 DE 24 80 09 00 00 00 00 00 00 74 [08:08:31]Write i2c OK [08:08:31]MH_I2C_Read... [08:08:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:08:31]Read from MH i2c: E2 [08:08:31]MH_I2C_Read... [08:08:31]Read from MH i2c: E2 03 00 [08:08:31]MH_I2C_Read... [08:08:31]Read from MH i2c: E2 03 00 DE 24 00 90 00 76 [08:08:31]RAPDU: 90 00 [08:08:31]wFMCommunicate OK [08:08:31]SAM_PROTO_ClearQueue done [08:08:31]KKMCreateOFDPacket [08:08:31]OFDProtocolAddRootSTLVToBuf [08:08:31]FM_MakeSignedData [08:08:31]FM_MakeSignedData [08:08:31]SAM_PROTO_SignData [08:08:31]wFMCommunicate request_size=4 [08:08:31]MH_SAM_APDU [08:08:31]CAPDU: 80 0D 01 02 [08:08:31]Write to MH i2c: E2 08 00 DF 24 80 0D 01 02 00 00 00 00 7C [08:08:31]Write i2c OK [08:08:31]MH_I2C_Read... [08:08:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:08:31]Read from MH i2c: E2 [08:08:31]MH_I2C_Read... [08:08:31]Read from MH i2c: E2 03 00 [08:08:31]MH_I2C_Read... [08:08:31]Read from MH i2c: E2 03 00 DF 24 00 90 00 77 [08:08:31]RAPDU: 90 00 [08:08:31]wFMCommunicate OK [08:08:31]wFMCommunicate request_size=255 [08:08:31]MH_SAM_APDU [08:08:31]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 10 27 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 8C EB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 19 00 00 00 00 07 04 06 00 8C EB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 85 0B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2A BF 00 00 35 04 06 00 A1 [08:08:31]Write to MH i2c: E2 02 01 E0 24 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 8C EB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 19 00 00 00 00 07 04 06 00 8C EB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 85 0B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2A BF 00 00 35 04 06 00 A1 00 00 1F [08:08:31]Write i2c OK [08:08:31]MH_I2C_Read... [08:08:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:08:31]Read from MH i2c: E2 [08:08:31]MH_I2C_Read... [08:08:31]Read from MH i2c: E2 03 00 [08:08:31]MH_I2C_Read... [08:08:31]Read from MH i2c: E2 03 00 E0 24 00 90 00 78 [08:08:31]RAPDU: 90 00 [08:08:31]wFMCommunicate OK [08:08:31]wFMCommunicate request_size=10 [08:08:31]MH_SAM_APDU [08:08:31]CAPDU: 80 0D 02 02 05 95 55 14 66 2F [08:08:31]Write to MH i2c: E2 0D 00 E1 24 80 0D 02 02 05 00 95 55 14 66 2F 00 00 1C [08:08:31]Write i2c OK [08:08:31]MH_I2C_Read... [08:08:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:08:31]Read from MH i2c: E2 [08:08:31]MH_I2C_Read... [08:08:31]Read from MH i2c: E2 03 00 [08:08:31]MH_I2C_Read... [08:08:31]Read from MH i2c: E2 03 00 E1 24 00 90 00 79 [08:08:31]RAPDU: 90 00 [08:08:31]wFMCommunicate OK [08:08:31]wFMCommunicate request_size=4 [08:08:31]MH_SAM_APDU [08:08:31]CAPDU: 80 0D 03 02 [08:08:31]Write to MH i2c: E2 08 00 E2 24 80 0D 03 02 00 00 00 00 81 [08:08:31]Write i2c OK [08:08:31]MH_I2C_Read... [08:08:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:08:32]Read from MH i2c: E2 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: E2 0B 00 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: E2 0B 00 E2 24 00 42 7E 2D 3F D0 D6 19 3A 90 00 A7 [08:08:32]RAPDU: 42 7E 2D 3F D0 D6 19 3A 90 00 [08:08:32]wFMCommunicate OK [08:08:32]SAM_PROTO_SignData done [08:08:32]FM_MakeSignedData done [08:08:32]CreateOFDProtocolMessage [08:08:32]wFMCommunicate request_size=4 [08:08:32]MH_SAM_APDU [08:08:32]CAPDU: 80 11 00 00 [08:08:32]Write to MH i2c: E2 08 00 E3 24 80 11 00 00 00 00 00 00 81 [08:08:32]Write i2c OK [08:08:32]MH_I2C_Read... [08:08:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:08:32]Read from MH i2c: E2 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: E2 17 00 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: E2 17 00 E3 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 CE [08:08:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:08:32]wFMCommunicate OK [08:08:32]CreateOFDProtocolMessage done [08:08:32]OFDSenderStorePacket 48938 [08:08:32]StoreOFDPacket docnum=48938 [08:08:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 7D 4B 07 01 B2 3E 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 10 27 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 8C EB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 19 00 00 00 00 07 04 06 00 8C EB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 85 0B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2A BF 00 00 35 04 06 00 A1 95 55 14 66 2F 42 7E 2D 3F D0 D6 19 3A [08:08:32]CheckFolder [08:08:32]dirname=/storage/ofd_packets [08:08:32]CheckFolder done [08:08:32]ProducePacketName [08:08:32]name=ofd_packets/00048938 [08:08:32]NVStorageSaveData ofd_packets/00048938 [08:08:32]File name is /storage/ofd_packets/00048938 [08:08:32]Write 301 bytes [08:08:32]NVStorageSaveData done [08:08:32]OFDSenderStorePacket done [08:08:32]KKMCreateOFDPacket done [08:08:32]NVStorageSaveData kkm_last_timestamp [08:08:32]File name is /storage/kkm_last_timestamp [08:08:32]Write 4 bytes [08:08:32]NVStorageSaveData done [08:08:32]ExternCall_PrintAddStr [08:08:32]wPrintStart [08:08:32]Write to MH i2c: 01 00 00 E4 24 08 [08:08:32]Write i2c OK [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: 01 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: 01 07 00 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: 01 07 00 E4 24 00 00 00 00 00 FF 0F 1D [08:08:32]RasterBufferAndPrint [08:08:32]line Счет N : (1)216035 [08:08:32]line ИÐÐ: 02508201610067 [08:08:32]line Контрольно-КаÑÑовый Чек [08:08:32]line ПРОДÐЖР[08:08:32]line ТРК (МРК, ГÐК) : 12 [08:08:32]line Товар: 2710124130 [08:08:32]line Ðи-92-К-5 [08:08:32]line 10.000 * 60.30 [08:08:32]line = 603.00 [08:08:32]line ÐДС 12% ÐСП 1% [08:08:32]line > о реализуемом товаре [08:08:32]line ИТОГО: 603.00 [08:08:32]line ÐСП 1% : 5.34 [08:08:32]line ÐДС 12% : 64.03 [08:08:32]line Ðаличными: 603.00 [08:08:32]line Безнал.: 0.00 [08:08:32]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [08:08:32]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [08:08:32]line СÐО: Общий режим [08:08:32]line Чек 3 28.01.2024 08:08 [08:08:32]line Смена: 244 ФФД: 1.0 [08:08:32]line ЗÐМ: 0300000040 [08:08:32]line РÐМ: 0000000000092723 [08:08:32]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:08:32]line ФМ: 0000000000875060 [08:08:32]line ФД: 48938 [08:08:32]line ФПД: 177662749599279 [08:08:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T080837&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48938&fm=177662749599279&tin=02508201610067®Number=0000000000092723&sum=60300 [08:08:32]OFD Sender: Processing packet 48938 [packets to send 12, broken 11] [08:08:32]ProducePacketName [08:08:32]name=ofd_packets/00048938 [08:08:32]OFD Sender: To server: ‡•öpG, [08:08:32]CommunicateWithHost lk.salyk.kg:30040 [08:08:32]ConnectInit lk.salyk.kg [08:08:32]written 0, free lines is 4095 [08:08:32]Connected sock=10 [08:08: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 30 36 30 0F 01 00 00 7D 4B 07 01 B2 3E 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 10 27 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 8C EB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 19 00 00 00 00 07 04 06 00 8C EB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 85 0B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2A BF 00 00 35 04 06 00 A1 95 55 14 66 2F 42 7E 2D 3F D0 D6 19 3A [08:08:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 9B 43 47 00 4B C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2A BF 00 00 F4 03 04 00 82 B7 B5 65 B6 04 01 00 00 8A EF 52 A6 3E C2 DD D6 [08:08:32]CommunicateWithHost err = 0 [08:08:32]CheckOFDResponse [08:08:32]1017 (14) - 77093643461234 [08:08:32]1041 (16) - 0000000000875060 [08:08:32]1040 (4) - 48938 [08:08:32]1012 (4) - 28.01.2024 02:10 [08:08:32]1206 (1) - 0 [08:08:32]OFD Sender: Remove packet 48938 [08:08:32]ProducePacketName [08:08:32]name=ofd_packets/00048938 [08:08:32]NVStorageDeleteData [08:08:32]Write to MH i2c: 01 00 00 0C 25 31 [08:08:32]Write i2c OK [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: 01 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: 01 07 00 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: 01 07 00 0C 25 00 00 00 00 00 1C 0D 61 [08:08:32]RasterBufferAndPrint [08:08:32]line [08:08:32]line [08:08:32]line [08:08:32]line [08:08:32]line [08:08:32]written 0, free lines is 3362 [08:08:32]MH_Cut [08:08:32]Write to MH i2c: D1 01 00 13 25 01 0A [08:08:32]Write i2c OK [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: D1 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: D1 01 00 [08:08:32]MH_I2C_Read... [08:08:32]Read from MH i2c: D1 01 00 13 25 00 09 [08:08:32]Write to MH i2c: 01 00 00 14 25 39 [08:08:32]Write i2c OK [08:08:32]MH_I2C_Read... [08:08:33]OFD Sender: No OFD packet to send [08:08:33]*** Cut start [08:08:33]*** Partial cut [08:08:33]*** CUTSNS_PIN = 1 [08:08:33]*** CUTSNS_PIN = 0 [08:08:33]*** Brake cut motor [08:08:34]Read from MH i2c: 01 [08:08:34]MH_I2C_Read... [08:08:34]*** Stop cut motor [08:08:34]*** Cut end [08:08:34]Read from MH i2c: 01 07 00 [08:08:34]MH_I2C_Read... [08:08:34]Read from MH i2c: 01 07 00 14 25 00 00 00 00 00 FF 0F 4E [08:08:34]process_action close_receipt done [08:08:34]requested_data is exist [08:08:34]produce_requested_data [08:08:34]requested_item fm.sn is exist - process it [08:08:34]wFMCommunicate request_size=4 [08:08:34]MH_SAM_APDU [08:08:34]CAPDU: 80 11 00 00 [08:08:34]Write to MH i2c: E2 08 00 15 25 80 11 00 00 00 00 00 00 B4 [08:08:34]Write i2c OK [08:08:34]MH_I2C_Read... [08:08:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:08:34]Read from MH i2c: E2 [08:08:34]MH_I2C_Read... [08:08:34]Read from MH i2c: E2 17 00 [08:08:34]MH_I2C_Read... [08:08:34]Read from MH i2c: E2 17 00 15 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 01 [08:08:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:08:34]wFMCommunicate OK [08:08:34]requested_item fd.num is exist - process it [08:08:34]SAM_PROTO_GetFieldsCounters [08:08:34]wFMCommunicate request_size=4 [08:08:34]MH_SAM_APDU [08:08:34]CAPDU: 80 13 00 00 [08:08:34]Write to MH i2c: E2 08 00 16 25 80 13 00 00 00 00 00 00 B7 [08:08:34]Write i2c OK [08:08:34]MH_I2C_Read... [08:08:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:08:34]Read from MH i2c: E2 [08:08:34]MH_I2C_Read... [08:08:34]Read from MH i2c: E2 62 00 [08:08:34]MH_I2C_Read... [08:08:34]Read from MH i2c: E2 62 00 16 25 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 B6 [08:08: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:08:34]wFMCommunicate OK [08:08:34]SAM_PROTO_GetFieldsCounters done [08:08:34]requested_item shift.num is exist - process it [08:08:34]requested_item shift.opened is exist - process it [08:08:34]req_shift_opened [08:08:34]FM_GetShiftState [08:08:34]SAM_PROTO_GetShiftState [08:08:34]wFMCommunicate request_size=4 [08:08:34]MH_SAM_APDU [08:08:34]CAPDU: 80 13 01 00 [08:08:34]Write to MH i2c: E2 08 00 17 25 80 13 01 00 00 00 00 00 B9 [08:08:34]Write i2c OK [08:08:34]MH_I2C_Read... [08:08:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:08:34]Read from MH i2c: E2 [08:08:34]MH_I2C_Read... [08:08:34]Read from MH i2c: E2 0E 00 [08:08:34]MH_I2C_Read... [08:08:34]Read from MH i2c: E2 0E 00 17 25 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3F [08:08:34]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:08:34]wFMCommunicate OK [08:08:34]SAM_PROTO_GetShiftState done [08:08:34]FM_GetShiftState done [08:08:34]req_shift_opened done [08:08:34]requested_item shift.open_date is exist - process it [08:08:34]req_shift_open_date [08:08:34]req_shift_open_date done [08:08:34]produce_requested_data done [08:08:34]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48938,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [08:08:34]process_action_free close_receipt [08:08:34]json_value_free [08:08:34]json_value_free done [08:08:34]process_json_proto returns [08:08:34]Send response to host [08:08:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48938,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [08:08:34]free response buf [08:08:34]execute_script done [08:08:34]execute_script returns [08:08:34]free content buf [08:08:34]Sock 7.Close socket [08:08:34]Sock 7.Thread stoped [08:08:38]OFD Sender: No OFD packet to send [08:08:43]OFD Sender: No OFD packet to send [08:08:48]OFD Sender: No OFD packet to send [08:08:53]OFD Sender: No OFD packet to send [08:08:58]OFD Sender: No OFD packet to send [08:09:03]OFD Sender: No OFD packet to send [08:09:08]OFD Sender: No OFD packet to send [08:09:13]OFD Sender: No OFD packet to send [08:09:18]OFD Sender: No OFD packet to send [08:09:23]OFD Sender: No OFD packet to send [08:09:28]OFD Sender: No OFD packet to send [08:09:33]OFD Sender: No OFD packet to send [08:09:38]OFD Sender: No OFD packet to send [08:09:43]OFD Sender: No OFD packet to send [08:09:48]OFD Sender: No OFD packet to send [08:09:53]OFD Sender: No OFD packet to send [08:09:58]OFD Sender: No OFD packet to send [08:10:03]OFD Sender: No OFD packet to send [08:10:08]OFD Sender: No OFD packet to send [08:10:13]OFD Sender: No OFD packet to send [08:10:18]OFD Sender: No OFD packet to send [08:10:23]OFD Sender: No OFD packet to send [08:10:28]OFD Sender: No OFD packet to send [08:10:33]OFD Sender: No OFD packet to send [08:10:38]OFD Sender: No OFD packet to send [08:10:43]OFD Sender: No OFD packet to send [08:10:48]OFD Sender: No OFD packet to send [08:10:53]OFD Sender: No OFD packet to send [08:10:58]OFD Sender: No OFD packet to send [08:11:03]OFD Sender: No OFD packet to send [08:11:08]OFD Sender: No OFD packet to send [08:11:13]OFD Sender: No OFD packet to send [08:11:18]OFD Sender: No OFD packet to send [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:33]OFD Sender: No OFD packet to send [08:13:38]OFD Sender: No OFD packet to send [08:13:43]OFD Sender: No OFD packet to send [08:13:48]OFD Sender: No OFD packet to send [08:13:53]OFD Sender: No OFD packet to send [08:13:58]OFD Sender: No OFD packet to send [08:14:03]OFD Sender: No OFD packet to send [08:14:08]OFD Sender: No OFD packet to send [08:14:13]OFD Sender: No OFD packet to send [08:14:18]OFD Sender: No OFD packet to send [08:14:23]OFD Sender: No OFD packet to send [08:14:28]OFD Sender: No OFD packet to send [08:14:33]OFD Sender: No OFD packet to send [08:14:38]OFD Sender: No OFD packet to send [08:14:43]OFD Sender: No OFD packet to send [08:14:48]OFD Sender: No OFD packet to send [08:14:53]OFD Sender: No OFD packet to send [08:14:58]OFD Sender: No OFD packet to send [08:15:03]OFD Sender: No OFD packet to send [08:15:08]OFD Sender: No OFD packet to send [08:15:13]OFD Sender: No OFD packet to send [08:15:18]OFD Sender: No OFD packet to send [08:15:23]OFD Sender: No OFD packet to send [08:15:28]OFD Sender: No OFD packet to send [08:15:33]OFD Sender: No OFD packet to send [08:15:38]OFD Sender: No OFD packet to send [08:15:43]OFD Sender: No OFD packet to send [08:15:48]OFD Sender: No OFD packet to send [08:15:53]OFD Sender: No OFD packet to send [08:15:58]OFD Sender: No OFD packet to send [08:16:03]OFD Sender: No OFD packet to send [08:16:08]OFD Sender: No OFD packet to send [08:16:13]OFD Sender: No OFD packet to send [08:16:18]OFD Sender: No OFD packet to send [08:16:23]OFD Sender: No OFD packet to send [08:16:28]OFD Sender: No OFD packet to send [08:16:33]OFD Sender: No OFD packet to send [08:16:38]OFD Sender: No OFD packet to send [08:16:43]OFD Sender: No OFD packet to send [08:16:48]OFD Sender: No OFD packet to send [08:16:53]OFD Sender: No OFD packet to send [08:16:58]OFD Sender: No OFD packet to send [08:17:03]OFD Sender: No OFD packet to send [08:17:08]OFD Sender: No OFD packet to send [08:17:13]OFD Sender: No OFD packet to send [08:17:18]OFD Sender: No OFD packet to send [08:17:23]OFD Sender: No OFD packet to send [08:17:28]OFD Sender: No OFD packet to send [08:17:33]OFD Sender: No OFD packet to send [08:17:38]OFD Sender: No OFD packet to send [08:17:43]OFD Sender: No OFD packet to send [08:17:48]OFD Sender: No OFD packet to send [08:17:53]OFD Sender: No OFD packet to send [08:17:55]accept exits with 9 [08:17:55]New connection [08:17:55]New thread 3066670436 created [08:17:55]Thread 3066813796 joined [08:17:55]Waiting for new connection... [08:17:55] Sock 9.Parse request [08:17:55]Sock 9.Check first char [08:17:55]Sock 9.First char is OK [08:17:55]request: POST /json_proto HTTP/1.0 [08:17:55]Method: POST [08:17:55]URL: /json_proto [08:17:55]Method is POST - this is cgi request [08:17:55]url: /json_proto [08:17:55]query_string will be loaded in cgi processing [08:17:55]execute_cgi json_proto POST (null) [08:17:55]execute_cgi path=json_proto method=POST [08:17:55]POST find Content-Length [08:17:55]Host: 172.17.56.67:8080 [08:17:55]Content-Length: 677 [08:17:55]Content-Type: application/json [08:17:55] [08:17:55]POST finish read [08:17:55]Found Content-Length = 677 [08:17:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216036", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 9.960, "sum" : 600.59, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:55]execute_script... [08:17: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)216036", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 9.960, "sum" : 600.59, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:55]POST & json_proto [08:17:55]process_json_proto [08:17:55]json parsed OK: [08:17:55]protocol is kg_v1.0 [08:17:55]action value=close_receipt [08:17:55]process_action close_receipt [08:17:55]cmd_close_receipt [08:17:55]MH_GetDate [08:17:55]Write to MH i2c: F0 00 00 18 25 2C [08:17:55]Write i2c OK [08:17:55]MH_I2C_Read... [08:17:55]Read from MH i2c: F0 [08:17:55]MH_I2C_Read... [08:17:55]Read from MH i2c: F0 09 00 [08:17:55]MH_I2C_Read... [08:17:55]Read from MH i2c: F0 09 00 18 25 00 BA 0D B6 65 26 5D 9E 65 9D [08:17:55]GetLastDocTimeStamp 1706429317 [08:17:55]current date 1706429882 [08:17:55]FM_GetShiftState [08:17:55]SAM_PROTO_GetShiftState [08:17:55]wFMCommunicate request_size=4 [08:17:55]MH_SAM_APDU [08:17:55]CAPDU: 80 13 01 00 [08:17:55]Write to MH i2c: E2 08 00 19 25 80 13 01 00 00 00 00 00 BB [08:17:55]Write i2c OK [08:17:55]MH_I2C_Read... [08:17:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:55]Read from MH i2c: E2 [08:17:55]MH_I2C_Read... [08:17:55]Read from MH i2c: E2 0E 00 [08:17:55]MH_I2C_Read... [08:17:55]Read from MH i2c: E2 0E 00 19 25 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 41 [08:17:55]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:17:55]wFMCommunicate OK [08:17:55]SAM_PROTO_GetShiftState done [08:17:55]FM_GetShiftState done [08:17:55]opened in 1706400199 [08:17:55]opened+sec_in_day 1706486599 [08:17:55]quantity*price = 60058 [08:17:55]sum+1 = 60060 [08:17:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.59 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.78 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 4 28.01.2024 08:18 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48939 ФПД: 232590597407495 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T081803&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48939&fm=232590597407495&tin=02508201610067®Number=0000000000092723&sum=60000 [08:17:56]StoreToDocumentArchive [08:17:56]shift 244 fd 48939 [08:17:56]save to /storage/0244/doc_00048939 [08:17:56]save last doc name /storage/0244/doc_00048939 to /storage/kkm_last_doc_name [08:17:56]save OK [08:17:56]Clear old archive folders... [08:17:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:17:56]tlvbuf is 011E5AC0 [08:17:56]SAM_PROTO_ClearQueue [08:17:56]wFMCommunicate request_size=4 [08:17:56]MH_SAM_APDU [08:17:56]CAPDU: 80 09 00 00 [08:17:56]Write to MH i2c: E2 08 00 26 25 80 09 00 00 00 00 00 00 BD [08:17:56]Write i2c OK [08:17:56]MH_I2C_Read... [08:17:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:17:56]Read from MH i2c: E2 [08:17:56]MH_I2C_Read... [08:17:56]Read from MH i2c: E2 03 00 [08:17:56]MH_I2C_Read... [08:17:56]Read from MH i2c: E2 03 00 26 25 00 90 00 BF [08:17:56]RAPDU: 90 00 [08:17:56]wFMCommunicate OK [08:17:56]SAM_PROTO_ClearQueue done [08:17:56]KKMCreateOFDPacket [08:17:56]OFDProtocolAddRootSTLVToBuf [08:17:56]FM_MakeSignedData [08:17:56]FM_MakeSignedData [08:17:56]SAM_PROTO_SignData [08:17:56]wFMCommunicate request_size=4 [08:17:56]MH_SAM_APDU [08:17:56]CAPDU: 80 0D 01 02 [08:17:56]Write to MH i2c: E2 08 00 27 25 80 0D 01 02 00 00 00 00 C5 [08:17:56]Write i2c OK [08:17:56]MH_I2C_Read... [08:17:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:17:56]Read from MH i2c: E2 [08:17:56]MH_I2C_Read... [08:17:56]Read from MH i2c: E2 03 00 [08:17:56]MH_I2C_Read... [08:17:56]Read from MH i2c: E2 03 00 27 25 00 90 00 C0 [08:17:56]RAPDU: 90 00 [08:17:56]wFMCommunicate OK [08:17:56]wFMCommunicate request_size=255 [08:17:56]MH_SAM_APDU [08:17: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 E8 26 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 9B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 BB 0D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2B BF 00 00 35 04 06 00 D3 [08:17:56]Write to MH i2c: E2 02 01 28 25 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E8 26 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 9B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 BB 0D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2B BF 00 00 35 04 06 00 D3 00 00 42 [08:17:56]Write i2c OK [08:17:56]MH_I2C_Read... [08:17:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:17:56]Read from MH i2c: E2 [08:17:56]MH_I2C_Read... [08:17:56]Read from MH i2c: E2 03 00 [08:17:56]MH_I2C_Read... [08:17:56]Read from MH i2c: E2 03 00 28 25 00 90 00 C1 [08:17:56]RAPDU: 90 00 [08:17:56]wFMCommunicate OK [08:17:56]wFMCommunicate request_size=10 [08:17:56]MH_SAM_APDU [08:17:56]CAPDU: 80 0D 02 02 05 8A 37 EF C3 07 [08:17:56]Write to MH i2c: E2 0D 00 29 25 80 0D 02 02 05 00 8A 37 EF C3 07 00 00 4C [08:17:56]Write i2c OK [08:17:56]MH_I2C_Read... [08:17:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:17:57]Read from MH i2c: E2 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: E2 03 00 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: E2 03 00 29 25 00 90 00 C2 [08:17:57]RAPDU: 90 00 [08:17:57]wFMCommunicate OK [08:17:57]wFMCommunicate request_size=4 [08:17:57]MH_SAM_APDU [08:17:57]CAPDU: 80 0D 03 02 [08:17:57]Write to MH i2c: E2 08 00 2A 25 80 0D 03 02 00 00 00 00 CA [08:17:57]Write i2c OK [08:17:57]MH_I2C_Read... [08:17:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:17:57]Read from MH i2c: E2 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: E2 0B 00 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: E2 0B 00 2A 25 00 C9 D3 E5 09 75 04 47 F6 90 00 0B [08:17:57]RAPDU: C9 D3 E5 09 75 04 47 F6 90 00 [08:17:57]wFMCommunicate OK [08:17:57]SAM_PROTO_SignData done [08:17:57]FM_MakeSignedData done [08:17:57]CreateOFDProtocolMessage [08:17:57]wFMCommunicate request_size=4 [08:17:57]MH_SAM_APDU [08:17:57]CAPDU: 80 11 00 00 [08:17:57]Write to MH i2c: E2 08 00 2B 25 80 11 00 00 00 00 00 00 CA [08:17:57]Write i2c OK [08:17:57]MH_I2C_Read... [08:17:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:57]Read from MH i2c: E2 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: E2 17 00 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: E2 17 00 2B 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 17 [08:17:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:17:57]wFMCommunicate OK [08:17:57]CreateOFDProtocolMessage done [08:17:57]OFDSenderStorePacket 48939 [08:17:57]StoreOFDPacket docnum=48939 [08:17:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 7C D3 07 01 F6 CE 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 E8 26 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 9B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 BB 0D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2B BF 00 00 35 04 06 00 D3 8A 37 EF C3 07 C9 D3 E5 09 75 04 47 F6 [08:17:57]CheckFolder [08:17:57]dirname=/storage/ofd_packets [08:17:57]CheckFolder done [08:17:57]ProducePacketName [08:17:57]name=ofd_packets/00048939 [08:17:57]NVStorageSaveData ofd_packets/00048939 [08:17:57]File name is /storage/ofd_packets/00048939 [08:17:57]Write 301 bytes [08:17:57]NVStorageSaveData done [08:17:57]OFDSenderStorePacket done [08:17:57]KKMCreateOFDPacket done [08:17:57]NVStorageSaveData kkm_last_timestamp [08:17:57]File name is /storage/kkm_last_timestamp [08:17:57]Write 4 bytes [08:17:57]NVStorageSaveData done [08:17:57]ExternCall_PrintAddStr [08:17:57]wPrintStart [08:17:57]Write to MH i2c: 01 00 00 2C 25 51 [08:17:57]Write i2c OK [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: 01 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: 01 07 00 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: 01 07 00 2C 25 00 00 00 00 00 FF 0F 66 [08:17:57]RasterBufferAndPrint [08:17:57]line Счет N : (1)216036 [08:17:57]line ИÐÐ: 02508201610067 [08:17:57]line Контрольно-КаÑÑовый Чек [08:17:57]line ПРОДÐЖР[08:17:57]line ТРК (МРК, ГÐК) : 12 [08:17:57]line Товар: 2710124130 [08:17:57]line Ðи-92-К-5 [08:17:57]line 9.960 * 60.30 [08:17:57]line = 600.59 [08:17:57]line ÐДС 12% ÐСП 1% [08:17:57]line > о реализуемом товаре [08:17:57]line ОКРУГЛЕÐИЕ: -0.59 [08:17:57]line ИТОГО: 600.00 [08:17:57]line ВнеÑено: 600.00 [08:17:57]line СДÐЧÐ: 0.00 [08:17:57]line ÐСП 1% : 5.31 [08:17:57]line ÐДС 12% : 63.78 [08:17:57]line Ðаличными: 600.00 [08:17:57]line Безнал.: 0.00 [08:17:57]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [08:17:57]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [08:17:57]line СÐО: Общий режим [08:17:57]line Чек 4 28.01.2024 08:18 [08:17:57]line Смена: 244 ФФД: 1.0 [08:17:57]line ЗÐМ: 0300000040 [08:17:57]line РÐМ: 0000000000092723 [08:17:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:17:57]line ФМ: 0000000000875060 [08:17:57]line ФД: 48939 [08:17:57]line ФПД: 232590597407495 [08:17:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T081803&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48939&fm=232590597407495&tin=02508201610067®Number=0000000000092723&sum=60000 [08:17:57]OFD Sender: Processing packet 48939 [packets to send 12, broken 11] [08:17:57]ProducePacketName [08:17:57]name=ofd_packets/00048939 [08:17:57]OFD Sender: To server: ‡•öpG, [08:17:57]CommunicateWithHost lk.salyk.kg:30040 [08:17:57]ConnectInit lk.salyk.kg [08:17:57]written 0, free lines is 4095 [08:17:57]Connected sock=10 [08:17: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 30 36 30 0F 01 00 00 7C D3 07 01 F6 CE 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 E8 26 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 9B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 BB 0D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2B BF 00 00 35 04 06 00 D3 8A 37 EF C3 07 C9 D3 E5 09 75 04 47 F6 [08:17:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 30 E1 47 00 DB EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2B BF 00 00 F4 03 04 00 B7 B9 B5 65 B6 04 01 00 00 68 01 55 48 25 C6 C6 2A [08:17:57]CommunicateWithHost err = 0 [08:17:57]CheckOFDResponse [08:17:57]1017 (14) - 77093643461234 [08:17:57]1041 (16) - 0000000000875060 [08:17:57]1040 (4) - 48939 [08:17:57]1012 (4) - 28.01.2024 02:19 [08:17:57]1206 (1) - 0 [08:17:57]OFD Sender: Remove packet 48939 [08:17:57]ProducePacketName [08:17:57]name=ofd_packets/00048939 [08:17:57]NVStorageDeleteData [08:17:57]Write to MH i2c: 01 00 00 57 25 7C [08:17:57]Write i2c OK [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: 01 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: 01 07 00 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: 01 07 00 57 25 00 00 00 00 00 ED 0C 7C [08:17:57]RasterBufferAndPrint [08:17:57]line [08:17:57]line [08:17:57]line [08:17:57]line [08:17:57]line [08:17:57]written 0, free lines is 3315 [08:17:57]MH_Cut [08:17:57]Write to MH i2c: D1 01 00 5E 25 01 55 [08:17:57]Write i2c OK [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: D1 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: D1 01 00 [08:17:57]MH_I2C_Read... [08:17:57]Read from MH i2c: D1 01 00 5E 25 00 54 [08:17:57]Write to MH i2c: 01 00 00 5F 25 84 [08:17:57]Write i2c OK [08:17:57]MH_I2C_Read... [08:17:58]OFD Sender: No OFD packet to send [08:17:58]*** Cut start [08:17:58]*** Partial cut [08:17:58]*** CUTSNS_PIN = 1 [08:17:58]*** CUTSNS_PIN = 0 [08:17:58]*** Brake cut motor [08:17:59]Read from MH i2c: 01 [08:17:59]MH_I2C_Read... [08:17:59]*** Stop cut motor [08:17:59]*** Cut end [08:17:59]Read from MH i2c: 01 07 00 [08:17:59]MH_I2C_Read... [08:17:59]Read from MH i2c: 01 07 00 5F 25 00 00 00 00 00 FF 0F 99 [08:17:59]process_action close_receipt done [08:17:59]requested_data is exist [08:17:59]produce_requested_data [08:17:59]requested_item fm.sn is exist - process it [08:17:59]wFMCommunicate request_size=4 [08:17:59]MH_SAM_APDU [08:17:59]CAPDU: 80 11 00 00 [08:17:59]Write to MH i2c: E2 08 00 60 25 80 11 00 00 00 00 00 00 FF [08:17:59]Write i2c OK [08:17:59]MH_I2C_Read... [08:17:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:59]Read from MH i2c: E2 [08:17:59]MH_I2C_Read... [08:17:59]Read from MH i2c: E2 17 00 [08:17:59]MH_I2C_Read... [08:17:59]Read from MH i2c: E2 17 00 60 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 4C [08:17:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:17:59]wFMCommunicate OK [08:17:59]requested_item fd.num is exist - process it [08:17:59]SAM_PROTO_GetFieldsCounters [08:17:59]wFMCommunicate request_size=4 [08:17:59]MH_SAM_APDU [08:17:59]CAPDU: 80 13 00 00 [08:17:59]Write to MH i2c: E2 08 00 61 25 80 13 00 00 00 00 00 00 02 [08:17:59]Write i2c OK [08:17:59]MH_I2C_Read... [08:17:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:17:59]Read from MH i2c: E2 [08:17:59]MH_I2C_Read... [08:17:59]Read from MH i2c: E2 62 00 [08:17:59]MH_I2C_Read... [08:17:59]Read from MH i2c: E2 62 00 61 25 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [08:17: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:17:59]wFMCommunicate OK [08:17:59]SAM_PROTO_GetFieldsCounters done [08:17:59]requested_item shift.num is exist - process it [08:17:59]requested_item shift.opened is exist - process it [08:17:59]req_shift_opened [08:17:59]FM_GetShiftState [08:17:59]SAM_PROTO_GetShiftState [08:17:59]wFMCommunicate request_size=4 [08:17:59]MH_SAM_APDU [08:17:59]CAPDU: 80 13 01 00 [08:17:59]Write to MH i2c: E2 08 00 62 25 80 13 01 00 00 00 00 00 04 [08:17:59]Write i2c OK [08:17:59]MH_I2C_Read... [08:17:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:59]Read from MH i2c: E2 [08:17:59]MH_I2C_Read... [08:17:59]Read from MH i2c: E2 0E 00 [08:17:59]MH_I2C_Read... [08:17:59]Read from MH i2c: E2 0E 00 62 25 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 8A [08:17:59]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:17:59]wFMCommunicate OK [08:17:59]SAM_PROTO_GetShiftState done [08:17:59]FM_GetShiftState done [08:17:59]req_shift_opened done [08:17:59]requested_item shift.open_date is exist - process it [08:17:59]req_shift_open_date [08:17:59]req_shift_open_date done [08:17:59]produce_requested_data done [08:17:59]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48939,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [08:17:59]process_action_free close_receipt [08:17:59]json_value_free [08:17:59]json_value_free done [08:17:59]process_json_proto returns [08:17:59]Send response to host [08:17:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48939,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [08:17:59]free response buf [08:17:59]execute_script done [08:17:59]execute_script returns [08:17:59]free content buf [08:17:59]Sock 9.Close socket [08:17:59]Sock 9.Thread stoped [08:18:03]OFD Sender: No OFD packet to send [08:18:08]OFD Sender: No OFD packet to send [08:18:13]OFD Sender: No OFD packet to send [08:18:18]OFD Sender: No OFD packet to send [08:18:23]OFD Sender: No OFD packet to send [08:18:28]OFD Sender: No OFD packet to send [08:18:33]OFD Sender: No OFD packet to send [08:18:38]OFD Sender: No OFD packet to send [08:18:43]OFD Sender: No OFD packet to send [08:18:48]OFD Sender: No OFD packet to send [08:18:53]OFD Sender: No OFD packet to send [08:18:58]OFD Sender: No OFD packet to send [08:19:03]OFD Sender: No OFD packet to send [08:19:08]OFD Sender: No OFD packet to send [08:19:13]OFD Sender: No OFD packet to send [08:19:18]OFD Sender: No OFD packet to send [08:19:23]OFD Sender: No OFD packet to send [08:19:28]OFD Sender: No OFD packet to send [08:19:33]OFD Sender: No OFD packet to send [08:19:38]OFD Sender: No OFD packet to send [08:19:43]OFD Sender: No OFD packet to send [08:19:48]OFD Sender: No OFD packet to send [08:19:53]OFD Sender: No OFD packet to send [08:19:58]OFD Sender: No OFD packet to send [08:20:03]OFD Sender: No OFD packet to send [08:20:08]OFD Sender: No OFD packet to send [08:20:13]OFD Sender: No OFD packet to send [08:20:18]OFD Sender: No OFD packet to send [08:20:23]OFD Sender: No OFD packet to send [08:20:28]OFD Sender: No OFD packet to send [08:20:33]OFD Sender: No OFD packet to send [08:20:38]OFD Sender: No OFD packet to send [08:20:43]OFD Sender: No OFD packet to send [08:20:48]OFD Sender: No OFD packet to send [08:20:49]accept exits with 7 [08:20:49]New connection [08:20:49]New thread 3066813796 created [08:20:49]Thread 3066670436 joined [08:20:49]Waiting for new connection... [08:20:49] Sock 7.Parse request [08:20:49]Sock 7.Check first char [08:20:49]Sock 7.First char is OK [08:20:49]request: POST /json_proto HTTP/1.0 [08:20:49]Method: POST [08:20:49]URL: /json_proto [08:20:49]Method is POST - this is cgi request [08:20:49]url: /json_proto [08:20:49]query_string will be loaded in cgi processing [08:20:49]execute_cgi json_proto POST (null) [08:20:49]execute_cgi path=json_proto method=POST [08:20:49]POST find Content-Length [08:20:49]Host: 172.17.56.67:8080 [08:20:49]Content-Length: 677 [08:20:49]Content-Type: application/json [08:20:49] [08:20:49]POST finish read [08:20:49]Found Content-Length = 677 [08:20:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216037", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.470, "sum" : 390.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 390.00, "total" : 390.00, "payments": [ { "type": 0, "sum" : 390.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:20:49]execute_script... [08:20: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)216037", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.470, "sum" : 390.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 390.00, "total" : 390.00, "payments": [ { "type": 0, "sum" : 390.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:20:49]POST & json_proto [08:20:49]process_json_proto [08:20:49]json parsed OK: [08:20:49]protocol is kg_v1.0 [08:20:49]action value=close_receipt [08:20:49]process_action close_receipt [08:20:49]cmd_close_receipt [08:20:49]MH_GetDate [08:20:49]Write to MH i2c: F0 00 00 63 25 77 [08:20:49]Write i2c OK [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: F0 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: F0 09 00 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: F0 09 00 63 25 00 69 0E B6 65 26 5D 9E 65 98 [08:20:49]GetLastDocTimeStamp 1706429883 [08:20:49]current date 1706430057 [08:20:49]FM_GetShiftState [08:20:49]SAM_PROTO_GetShiftState [08:20:49]wFMCommunicate request_size=4 [08:20:49]MH_SAM_APDU [08:20:49]CAPDU: 80 13 01 00 [08:20:49]Write to MH i2c: E2 08 00 64 25 80 13 01 00 00 00 00 00 06 [08:20:49]Write i2c OK [08:20:49]MH_I2C_Read... [08:20:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:49]Read from MH i2c: E2 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 0E 00 [08:20:49]MH_I2C_Read... [08:20:49]Read from MH i2c: E2 0E 00 64 25 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 8C [08:20:49]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:20:49]wFMCommunicate OK [08:20:49]SAM_PROTO_GetShiftState done [08:20:49]FM_GetShiftState done [08:20:49]opened in 1706400199 [08:20:49]opened+sec_in_day 1706486599 [08:20:49]quantity*price = 39014 [08:20:49]sum+1 = 39015 [08:20:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.14 ИТОГО: 390.00 ВнеÑено: 390.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.45 ÐДС 12% : 41.43 Ðаличными: 390.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 5 28.01.2024 08:20 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48940 ФПД: 243047378382732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T082057&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48940&fm=243047378382732&tin=02508201610067®Number=0000000000092723&sum=39000 [08:20:50]StoreToDocumentArchive [08:20:50]shift 244 fd 48940 [08:20:50]save to /storage/0244/doc_00048940 [08:20:50]save last doc name /storage/0244/doc_00048940 to /storage/kkm_last_doc_name [08:20:50]save OK [08:20:50]Clear old archive folders... [08:20:50]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:20:50]tlvbuf is 011EC5F0 [08:20:50]SAM_PROTO_ClearQueue [08:20:50]wFMCommunicate request_size=4 [08:20:50]MH_SAM_APDU [08:20:50]CAPDU: 80 09 00 00 [08:20:50]Write to MH i2c: E2 08 00 71 25 80 09 00 00 00 00 00 00 08 [08:20:50]Write i2c OK [08:20:50]MH_I2C_Read... [08:20:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:20:50]Read from MH i2c: E2 [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: E2 03 00 [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: E2 03 00 71 25 00 90 00 0A [08:20:50]RAPDU: 90 00 [08:20:50]wFMCommunicate OK [08:20:50]SAM_PROTO_ClearQueue done [08:20:50]KKMCreateOFDPacket [08:20:50]OFDProtocolAddRootSTLVToBuf [08:20:50]FM_MakeSignedData [08:20:50]FM_MakeSignedData [08:20:50]SAM_PROTO_SignData [08:20:50]wFMCommunicate request_size=4 [08:20:50]MH_SAM_APDU [08:20:50]CAPDU: 80 0D 01 02 [08:20:50]Write to MH i2c: E2 08 00 72 25 80 0D 01 02 00 00 00 00 10 [08:20:50]Write i2c OK [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: E2 [08:20:50]MH_I2C_Read... [08:20:50]Read from MH i2c: E2 03 00 [08:20:50]MH_I2C_Read... [08:20:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:20:50]Read from MH i2c: E2 03 00 72 25 00 90 00 0B [08:20:50]RAPDU: 90 00 [08:20:50]wFMCommunicate OK [08:20:50]wFMCommunicate request_size=255 [08:20:50]MH_SAM_APDU [08:20:50]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 46 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 66 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 10 00 00 00 00 07 04 06 00 58 98 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 69 0E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2C BF 00 00 35 04 06 00 DD [08:20:50]Write to MH i2c: E2 02 01 73 25 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 46 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 66 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 10 00 00 00 00 07 04 06 00 58 98 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 69 0E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2C BF 00 00 35 04 06 00 DD 00 00 E0 [08:20:50]Write i2c OK [08:20:50]MH_I2C_Read... [08:20:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:51]Read from MH i2c: E2 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: E2 03 00 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: E2 03 00 73 25 00 90 00 0C [08:20:51]RAPDU: 90 00 [08:20:51]wFMCommunicate OK [08:20:51]wFMCommunicate request_size=10 [08:20:51]MH_SAM_APDU [08:20:51]CAPDU: 80 0D 02 02 05 0C E0 A6 EF 8C [08:20:51]Write to MH i2c: E2 0D 00 74 25 80 0D 02 02 05 00 0C E0 A6 EF 8C 00 00 2A [08:20:51]Write i2c OK [08:20:51]MH_I2C_Read... [08:20:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:51]Read from MH i2c: E2 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: E2 03 00 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: E2 03 00 74 25 00 90 00 0D [08:20:51]RAPDU: 90 00 [08:20:51]wFMCommunicate OK [08:20:51]wFMCommunicate request_size=4 [08:20:51]MH_SAM_APDU [08:20:51]CAPDU: 80 0D 03 02 [08:20:51]Write to MH i2c: E2 08 00 75 25 80 0D 03 02 00 00 00 00 15 [08:20:51]Write i2c OK [08:20:51]MH_I2C_Read... [08:20:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:20:51]Read from MH i2c: E2 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: E2 0B 00 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: E2 0B 00 75 25 00 EE A3 02 53 9F 1A 4E F1 90 00 F4 [08:20:51]RAPDU: EE A3 02 53 9F 1A 4E F1 90 00 [08:20:51]wFMCommunicate OK [08:20:51]SAM_PROTO_SignData done [08:20:51]FM_MakeSignedData done [08:20:51]CreateOFDProtocolMessage [08:20:51]wFMCommunicate request_size=4 [08:20:51]MH_SAM_APDU [08:20:51]CAPDU: 80 11 00 00 [08:20:51]Write to MH i2c: E2 08 00 76 25 80 11 00 00 00 00 00 00 15 [08:20:51]Write i2c OK [08:20:51]MH_I2C_Read... [08:20:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:51]Read from MH i2c: E2 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: E2 17 00 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: E2 17 00 76 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 62 [08:20:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:20:51]wFMCommunicate OK [08:20:51]CreateOFDProtocolMessage done [08:20:51]OFDSenderStorePacket 48940 [08:20:51]StoreOFDPacket docnum=48940 [08:20:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 FD 5E 07 01 41 9C 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 46 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 66 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 10 00 00 00 00 07 04 06 00 58 98 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 69 0E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2C BF 00 00 35 04 06 00 DD 0C E0 A6 EF 8C EE A3 02 53 9F 1A 4E F1 [08:20:51]CheckFolder [08:20:51]dirname=/storage/ofd_packets [08:20:51]CheckFolder done [08:20:51]ProducePacketName [08:20:51]name=ofd_packets/00048940 [08:20:51]NVStorageSaveData ofd_packets/00048940 [08:20:51]File name is /storage/ofd_packets/00048940 [08:20:51]Write 301 bytes [08:20:51]NVStorageSaveData done [08:20:51]OFDSenderStorePacket done [08:20:51]KKMCreateOFDPacket done [08:20:51]NVStorageSaveData kkm_last_timestamp [08:20:51]File name is /storage/kkm_last_timestamp [08:20:51]Write 4 bytes [08:20:51]NVStorageSaveData done [08:20:51]ExternCall_PrintAddStr [08:20:51]wPrintStart [08:20:51]Write to MH i2c: 01 00 00 77 25 9C [08:20:51]Write i2c OK [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: 01 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: 01 07 00 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: 01 07 00 77 25 00 00 00 00 00 FF 0F B1 [08:20:51]RasterBufferAndPrint [08:20:51]line Счет N : (1)216037 [08:20:51]line ИÐÐ: 02508201610067 [08:20:51]line Контрольно-КаÑÑовый Чек [08:20:51]line ПРОДÐЖР[08:20:51]line ТРК (МРК, ГÐК) : 12 [08:20:51]line Товар: 2710124130 [08:20:51]line Ðи-92-К-5 [08:20:51]line 6.470 * 60.30 [08:20:51]line = 390.14 [08:20:51]line ÐДС 12% ÐСП 1% [08:20:51]line > о реализуемом товаре [08:20:51]line ОКРУГЛЕÐИЕ: -0.14 [08:20:51]line ИТОГО: 390.00 [08:20:51]line ВнеÑено: 390.00 [08:20:51]line СДÐЧÐ: 0.00 [08:20:51]line ÐСП 1% : 3.45 [08:20:51]line ÐДС 12% : 41.43 [08:20:51]line Ðаличными: 390.00 [08:20:51]line Безнал.: 0.00 [08:20:51]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [08:20:51]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [08:20:51]line СÐО: Общий режим [08:20:51]line Чек 5 28.01.2024 08:20 [08:20:51]line Смена: 244 ФФД: 1.0 [08:20:51]line ЗÐМ: 0300000040 [08:20:51]line РÐМ: 0000000000092723 [08:20:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:20:51]line ФМ: 0000000000875060 [08:20:51]line ФД: 48940 [08:20:51]line ФПД: 243047378382732 [08:20:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T082057&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48940&fm=243047378382732&tin=02508201610067®Number=0000000000092723&sum=39000 [08:20:51]OFD Sender: Processing packet 48940 [packets to send 12, broken 11] [08:20:51]ProducePacketName [08:20:51]name=ofd_packets/00048940 [08:20:51]OFD Sender: To server: ‡•öpG, [08:20:51]CommunicateWithHost lk.salyk.kg:30040 [08:20:51]ConnectInit lk.salyk.kg [08:20:51]written 0, free lines is 4095 [08:20:51]Connected sock=10 [08:20: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 30 36 30 0F 01 00 00 FD 5E 07 01 41 9C 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 46 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 66 98 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 10 00 00 00 00 07 04 06 00 58 98 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 69 0E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2C BF 00 00 35 04 06 00 DD 0C E0 A6 EF 8C EE A3 02 53 9F 1A 4E F1 [08:20:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 89 0B 47 00 DA 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 2C BF 00 00 F4 03 04 00 65 BA B5 65 B6 04 01 00 00 96 E1 AC 2C BD 20 6A 05 [08:20:51]CommunicateWithHost err = 0 [08:20:51]CheckOFDResponse [08:20:51]1017 (14) - 77093643461234 [08:20:51]1041 (16) - 0000000000875060 [08:20:51]1040 (4) - 48940 [08:20:51]1012 (4) - 28.01.2024 02:22 [08:20:51]1206 (1) - 0 [08:20:51]OFD Sender: Remove packet 48940 [08:20:51]ProducePacketName [08:20:51]name=ofd_packets/00048940 [08:20:51]NVStorageDeleteData [08:20:51]Write to MH i2c: 01 00 00 A2 25 C7 [08:20:51]Write i2c OK [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: 01 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: 01 07 00 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: 01 07 00 A2 25 00 00 00 00 00 E5 0C BF [08:20:51]RasterBufferAndPrint [08:20:51]line [08:20:51]line [08:20:51]line [08:20:51]line [08:20:51]line [08:20:51]written 0, free lines is 3306 [08:20:51]MH_Cut [08:20:51]Write to MH i2c: D1 01 00 A9 25 01 A0 [08:20:51]Write i2c OK [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: D1 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: D1 01 00 [08:20:51]MH_I2C_Read... [08:20:51]Read from MH i2c: D1 01 00 A9 25 00 9F [08:20:51]Write to MH i2c: 01 00 00 AA 25 CF [08:20:51]Write i2c OK [08:20:51]MH_I2C_Read... [08:20:52]OFD Sender: No OFD packet to send [08:20:52]*** Cut start [08:20:52]*** Partial cut [08:20:52]*** CUTSNS_PIN = 1 [08:20:52]*** CUTSNS_PIN = 0 [08:20:52]*** Brake cut motor [08:20:53]Read from MH i2c: 01 [08:20:53]MH_I2C_Read... [08:20:53]*** Stop cut motor [08:20:53]*** Cut end [08:20:53]Read from MH i2c: 01 07 00 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: 01 07 00 AA 25 00 00 00 00 00 FF 0F E4 [08:20:53]process_action close_receipt done [08:20:53]requested_data is exist [08:20:53]produce_requested_data [08:20:53]requested_item fm.sn is exist - process it [08:20:53]wFMCommunicate request_size=4 [08:20:53]MH_SAM_APDU [08:20:53]CAPDU: 80 11 00 00 [08:20:53]Write to MH i2c: E2 08 00 AB 25 80 11 00 00 00 00 00 00 4A [08:20:53]Write i2c OK [08:20:53]MH_I2C_Read... [08:20:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:53]Read from MH i2c: E2 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 17 00 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 17 00 AB 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 97 [08:20:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:20:53]wFMCommunicate OK [08:20:53]requested_item fd.num is exist - process it [08:20:53]SAM_PROTO_GetFieldsCounters [08:20:53]wFMCommunicate request_size=4 [08:20:53]MH_SAM_APDU [08:20:53]CAPDU: 80 13 00 00 [08:20:53]Write to MH i2c: E2 08 00 AC 25 80 13 00 00 00 00 00 00 4D [08:20:53]Write i2c OK [08:20:53]MH_I2C_Read... [08:20:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:20:53]Read from MH i2c: E2 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 62 00 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 62 00 AC 25 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 54 [08:20:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:20:53]wFMCommunicate OK [08:20:53]SAM_PROTO_GetFieldsCounters done [08:20:53]requested_item shift.num is exist - process it [08:20:53]requested_item shift.opened is exist - process it [08:20:53]req_shift_opened [08:20:53]FM_GetShiftState [08:20:53]SAM_PROTO_GetShiftState [08:20:53]wFMCommunicate request_size=4 [08:20:53]MH_SAM_APDU [08:20:53]CAPDU: 80 13 01 00 [08:20:53]Write to MH i2c: E2 08 00 AD 25 80 13 01 00 00 00 00 00 4F [08:20:53]Write i2c OK [08:20:53]MH_I2C_Read... [08:20:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:53]Read from MH i2c: E2 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 0E 00 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 0E 00 AD 25 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D5 [08:20:53]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:20:53]wFMCommunicate OK [08:20:53]SAM_PROTO_GetShiftState done [08:20:53]FM_GetShiftState done [08:20:53]req_shift_opened done [08:20:53]requested_item shift.open_date is exist - process it [08:20:53]req_shift_open_date [08:20:53]req_shift_open_date done [08:20:53]produce_requested_data done [08:20:53]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48940,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [08:20:53]process_action_free close_receipt [08:20:53]json_value_free [08:20:53]json_value_free done [08:20:53]process_json_proto returns [08:20:53]Send response to host [08:20:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48940,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [08:20:53]free response buf [08:20:53]execute_script done [08:20:53]execute_script returns [08:20:53]free content buf [08:20:53]Sock 7.Close socket [08:20:53]Sock 7.Thread stoped [08:20:53]accept exits with 9 [08:20:53]New connection [08:20:53]New thread 3066670436 created [08:20:53]Thread 3066813796 joined [08:20:53]Waiting for new connection... [08:20:53] Sock 9.Parse request [08:20:53]Sock 9.Check first char [08:20:53]Sock 9.First char is OK [08:20:53]request: POST /json_proto HTTP/1.0 [08:20:53]Method: POST [08:20:53]URL: /json_proto [08:20:53]Method is POST - this is cgi request [08:20:53]url: /json_proto [08:20:53]query_string will be loaded in cgi processing [08:20:53]execute_cgi json_proto POST (null) [08:20:53]execute_cgi path=json_proto method=POST [08:20:53]POST find Content-Length [08:20:53]Host: 172.17.56.67:8080 [08:20:53]Content-Length: 677 [08:20:53]Content-Type: application/json [08:20:53] [08:20:53]POST finish read [08:20:53]Found Content-Length = 677 [08:20:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216038", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [08:20:53]execute_script... [08:20: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 : (1)216038", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [08:20:53]POST & json_proto [08:20:53]process_json_proto [08:20:53]json parsed OK: [08:20:53]protocol is kg_v1.0 [08:20:53]action value=close_receipt [08:20:53]process_action close_receipt [08:20:53]cmd_close_receipt [08:20:53]MH_GetDate [08:20:53]Write to MH i2c: F0 00 00 AE 25 C2 [08:20:53]Write i2c OK [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: F0 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: F0 09 00 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: F0 09 00 AE 25 00 6D 0E B6 65 26 5D 9E 65 E7 [08:20:53]GetLastDocTimeStamp 1706430057 [08:20:53]current date 1706430061 [08:20:53]FM_GetShiftState [08:20:53]SAM_PROTO_GetShiftState [08:20:53]wFMCommunicate request_size=4 [08:20:53]MH_SAM_APDU [08:20:53]CAPDU: 80 13 01 00 [08:20:53]Write to MH i2c: E2 08 00 AF 25 80 13 01 00 00 00 00 00 51 [08:20:53]Write i2c OK [08:20:53]MH_I2C_Read... [08:20:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:53]Read from MH i2c: E2 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 0E 00 [08:20:53]MH_I2C_Read... [08:20:53]Read from MH i2c: E2 0E 00 AF 25 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D7 [08:20:53]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:20:53]wFMCommunicate OK [08:20:53]SAM_PROTO_GetShiftState done [08:20:53]FM_GetShiftState done [08:20:53]opened in 1706400199 [08:20:53]opened+sec_in_day 1706486599 [08:20:53]quantity*price = 20019 [08:20:53]sum+1 = 20021 [08:20:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 6 28.01.2024 08:21 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48941 ФПД: 234374026938663 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T082101&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48941&fm=234374026938663&tin=02508201610067®Number=0000000000092723&sum=20000 [08:20:55]StoreToDocumentArchive [08:20:55]shift 244 fd 48941 [08:20:55]save to /storage/0244/doc_00048941 [08:20:55]save last doc name /storage/0244/doc_00048941 to /storage/kkm_last_doc_name [08:20:55]save OK [08:20:55]Clear old archive folders... [08:20:55]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:20:55]tlvbuf is 01232680 [08:20:55]SAM_PROTO_ClearQueue [08:20:55]wFMCommunicate request_size=4 [08:20:55]MH_SAM_APDU [08:20:55]CAPDU: 80 09 00 00 [08:20:55]Write to MH i2c: E2 08 00 BC 25 80 09 00 00 00 00 00 00 53 [08:20:55]Write i2c OK [08:20:55]MH_I2C_Read... [08:20:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:20:55]Read from MH i2c: E2 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 03 00 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 03 00 BC 25 00 90 00 55 [08:20:55]RAPDU: 90 00 [08:20:55]wFMCommunicate OK [08:20:55]SAM_PROTO_ClearQueue done [08:20:55]KKMCreateOFDPacket [08:20:55]OFDProtocolAddRootSTLVToBuf [08:20:55]FM_MakeSignedData [08:20:55]FM_MakeSignedData [08:20:55]SAM_PROTO_SignData [08:20:55]wFMCommunicate request_size=4 [08:20:55]MH_SAM_APDU [08:20:55]CAPDU: 80 0D 01 02 [08:20:55]Write to MH i2c: E2 08 00 BD 25 80 0D 01 02 00 00 00 00 5B [08:20:55]Write i2c OK [08:20:55]MH_I2C_Read... [08:20:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:20:55]Read from MH i2c: E2 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 03 00 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 03 00 BD 25 00 90 00 56 [08:20:55]RAPDU: 90 00 [08:20:55]wFMCommunicate OK [08:20:55]wFMCommunicate request_size=255 [08:20:55]MH_SAM_APDU [08:20:55]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 06 00 00 00 F4 03 04 00 6D 0E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2D BF 00 00 35 04 06 00 D5 [08:20:55]Write to MH i2c: E2 02 01 BE 25 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 06 00 00 00 F4 03 04 00 6D 0E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2D BF 00 00 35 04 06 00 D5 00 00 BC [08:20:55]Write i2c OK [08:20:55]MH_I2C_Read... [08:20:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:55]Read from MH i2c: E2 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 03 00 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 03 00 BE 25 00 90 00 57 [08:20:55]RAPDU: 90 00 [08:20:55]wFMCommunicate OK [08:20:55]wFMCommunicate request_size=10 [08:20:55]MH_SAM_APDU [08:20:55]CAPDU: 80 0D 02 02 05 29 74 9E C9 27 [08:20:55]Write to MH i2c: E2 0D 00 BF 25 80 0D 02 02 05 00 29 74 9E C9 27 00 00 93 [08:20:55]Write i2c OK [08:20:55]MH_I2C_Read... [08:20:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:55]Read from MH i2c: E2 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 03 00 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 03 00 BF 25 00 90 00 58 [08:20:55]RAPDU: 90 00 [08:20:55]wFMCommunicate OK [08:20:55]wFMCommunicate request_size=4 [08:20:55]MH_SAM_APDU [08:20:55]CAPDU: 80 0D 03 02 [08:20:55]Write to MH i2c: E2 08 00 C0 25 80 0D 03 02 00 00 00 00 60 [08:20:55]Write i2c OK [08:20:55]MH_I2C_Read... [08:20:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:20:55]Read from MH i2c: E2 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 0B 00 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 0B 00 C0 25 00 7A 60 51 3C D9 C2 34 5C 90 00 F3 [08:20:55]RAPDU: 7A 60 51 3C D9 C2 34 5C 90 00 [08:20:55]wFMCommunicate OK [08:20:55]SAM_PROTO_SignData done [08:20:55]FM_MakeSignedData done [08:20:55]CreateOFDProtocolMessage [08:20:55]wFMCommunicate request_size=4 [08:20:55]MH_SAM_APDU [08:20:55]CAPDU: 80 11 00 00 [08:20:55]Write to MH i2c: E2 08 00 C1 25 80 11 00 00 00 00 00 00 60 [08:20:55]Write i2c OK [08:20:55]MH_I2C_Read... [08:20:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:55]Read from MH i2c: E2 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 17 00 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: E2 17 00 C1 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 AD [08:20:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:20:55]wFMCommunicate OK [08:20:55]CreateOFDProtocolMessage done [08:20:55]OFDSenderStorePacket 48941 [08:20:55]StoreOFDPacket docnum=48941 [08:20:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 97 EF 07 01 4D D0 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 06 00 00 00 F4 03 04 00 6D 0E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2D BF 00 00 35 04 06 00 D5 29 74 9E C9 27 7A 60 51 3C D9 C2 34 5C [08:20:55]CheckFolder [08:20:55]dirname=/storage/ofd_packets [08:20:55]CheckFolder done [08:20:55]ProducePacketName [08:20:55]name=ofd_packets/00048941 [08:20:55]NVStorageSaveData ofd_packets/00048941 [08:20:55]File name is /storage/ofd_packets/00048941 [08:20:55]Write 301 bytes [08:20:55]NVStorageSaveData done [08:20:55]OFDSenderStorePacket done [08:20:55]KKMCreateOFDPacket done [08:20:55]NVStorageSaveData kkm_last_timestamp [08:20:55]File name is /storage/kkm_last_timestamp [08:20:55]Write 4 bytes [08:20:55]NVStorageSaveData done [08:20:55]ExternCall_PrintAddStr [08:20:55]wPrintStart [08:20:55]Write to MH i2c: 01 00 00 C2 25 E7 [08:20:55]Write i2c OK [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: 01 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: 01 07 00 [08:20:55]MH_I2C_Read... [08:20:55]Read from MH i2c: 01 07 00 C2 25 00 00 00 00 00 FF 0F FC [08:20:55]RasterBufferAndPrint [08:20:55]line Счет N : (1)216038 [08:20:55]line ИÐÐ: 02508201610067 [08:20:55]line Контрольно-КаÑÑовый Чек [08:20:55]line ПРОДÐЖР[08:20:55]line ТРК (МРК, ГÐК) : 22 [08:20:55]line Товар: 2710124130 [08:20:55]line Ðи-92-К-5 [08:20:55]line 3.320 * 60.30 [08:20:55]line = 200.20 [08:20:55]line ÐДС 12% ÐСП 1% [08:20:55]line > о реализуемом товаре [08:20:55]line ОКРУГЛЕÐИЕ: -0.20 [08:20:55]line ИТОГО: 200.00 [08:20:55]line ВнеÑено: 200.00 [08:20:55]line СДÐЧÐ: 0.00 [08:20:55]line ÐСП 1% : 1.77 [08:20:55]line ÐДС 12% : 21.26 [08:20:55]line Ðаличными: 200.00 [08:20:55]line Безнал.: 0.00 [08:20:55]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [08:20:56]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [08:20:56]line СÐО: Общий режим [08:20:56]line Чек 6 28.01.2024 08:21 [08:20:56]line Смена: 244 ФФД: 1.0 [08:20:56]line ЗÐМ: 0300000040 [08:20:56]line РÐМ: 0000000000092723 [08:20:56]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:20:56]line ФМ: 0000000000875060 [08:20:56]line ФД: 48941 [08:20:56]line ФПД: 234374026938663 [08:20:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T082101&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48941&fm=234374026938663&tin=02508201610067®Number=0000000000092723&sum=20000 [08:20:56]OFD Sender: Processing packet 48941 [packets to send 12, broken 11] [08:20:56]ProducePacketName [08:20:56]name=ofd_packets/00048941 [08:20:56]OFD Sender: To server: ‡•öpG, [08:20:56]CommunicateWithHost lk.salyk.kg:30040 [08:20:56]ConnectInit lk.salyk.kg [08:20:56]written 0, free lines is 4095 [08:20:56]Connected sock=10 [08:20:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 97 EF 07 01 4D D0 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 06 00 00 00 F4 03 04 00 6D 0E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2D BF 00 00 35 04 06 00 D5 29 74 9E C9 27 7A 60 51 3C D9 C2 34 5C [08:20:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 24 E4 47 00 DA 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 2D BF 00 00 F4 03 04 00 69 BA B5 65 B6 04 01 00 00 42 2E 88 7A 1B 4F DE 78 [08:20:56]CommunicateWithHost err = 0 [08:20:56]CheckOFDResponse [08:20:56]1017 (14) - 77093643461234 [08:20:56]1041 (16) - 0000000000875060 [08:20:56]1040 (4) - 48941 [08:20:56]1012 (4) - 28.01.2024 02:22 [08:20:56]1206 (1) - 0 [08:20:56]OFD Sender: Remove packet 48941 [08:20:56]ProducePacketName [08:20:56]name=ofd_packets/00048941 [08:20:56]NVStorageDeleteData [08:20:56]Write to MH i2c: 01 00 00 ED 25 12 [08:20:56]Write i2c OK [08:20:56]MH_I2C_Read... [08:20:56]Read from MH i2c: 01 [08:20:56]MH_I2C_Read... [08:20:56]Read from MH i2c: 01 07 00 [08:20:56]MH_I2C_Read... [08:20:56]Read from MH i2c: 01 07 00 ED 25 00 00 00 00 00 03 0D 29 [08:20:56]RasterBufferAndPrint [08:20:56]line [08:20:56]line [08:20:56]line [08:20:56]line [08:20:56]line [08:20:56]written 0, free lines is 3343 [08:20:56]MH_Cut [08:20:56]Write to MH i2c: D1 01 00 F4 25 01 EB [08:20:56]Write i2c OK [08:20:56]MH_I2C_Read... [08:20:56]Read from MH i2c: D1 [08:20:56]MH_I2C_Read... [08:20:56]Read from MH i2c: D1 01 00 [08:20:56]MH_I2C_Read... [08:20:56]Read from MH i2c: D1 01 00 F4 25 00 EA [08:20:56]Write to MH i2c: 01 00 00 F5 25 1A [08:20:56]Write i2c OK [08:20:56]MH_I2C_Read... [08:20:56]OFD Sender: No OFD packet to send [08:20:57]*** Cut start [08:20:57]*** Partial cut [08:20:57]*** CUTSNS_PIN = 1 [08:20:57]*** CUTSNS_PIN = 0 [08:20:57]*** Brake cut motor [08:20:57]Read from MH i2c: 01 [08:20:57]MH_I2C_Read... [08:20:57]*** Stop cut motor [08:20:57]*** Cut end [08:20:57]Read from MH i2c: 01 07 00 [08:20:57]MH_I2C_Read... [08:20:57]Read from MH i2c: 01 07 00 F5 25 00 00 00 00 00 FF 0F 2F [08:20:57]process_action close_receipt done [08:20:57]requested_data is exist [08:20:57]produce_requested_data [08:20:57]requested_item fm.sn is exist - process it [08:20:57]wFMCommunicate request_size=4 [08:20:57]MH_SAM_APDU [08:20:57]CAPDU: 80 11 00 00 [08:20:57]Write to MH i2c: E2 08 00 F6 25 80 11 00 00 00 00 00 00 95 [08:20:57]Write i2c OK [08:20:57]MH_I2C_Read... [08:20:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:57]Read from MH i2c: E2 [08:20:57]MH_I2C_Read... [08:20:57]Read from MH i2c: E2 17 00 [08:20:57]MH_I2C_Read... [08:20:57]Read from MH i2c: E2 17 00 F6 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 E2 [08:20:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:20:57]wFMCommunicate OK [08:20:57]requested_item fd.num is exist - process it [08:20:57]SAM_PROTO_GetFieldsCounters [08:20:57]wFMCommunicate request_size=4 [08:20:57]MH_SAM_APDU [08:20:57]CAPDU: 80 13 00 00 [08:20:57]Write to MH i2c: E2 08 00 F7 25 80 13 00 00 00 00 00 00 98 [08:20:57]Write i2c OK [08:20:57]MH_I2C_Read... [08:20:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:20:58]Read from MH i2c: E2 [08:20:58]MH_I2C_Read... [08:20:58]Read from MH i2c: E2 62 00 [08:20:58]MH_I2C_Read... [08:20:58]Read from MH i2c: E2 62 00 F7 25 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [08:20: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:20:58]wFMCommunicate OK [08:20:58]SAM_PROTO_GetFieldsCounters done [08:20:58]requested_item shift.num is exist - process it [08:20:58]requested_item shift.opened is exist - process it [08:20:58]req_shift_opened [08:20:58]FM_GetShiftState [08:20:58]SAM_PROTO_GetShiftState [08:20:58]wFMCommunicate request_size=4 [08:20:58]MH_SAM_APDU [08:20:58]CAPDU: 80 13 01 00 [08:20:58]Write to MH i2c: E2 08 00 F8 25 80 13 01 00 00 00 00 00 9A [08:20:58]Write i2c OK [08:20:58]MH_I2C_Read... [08:20:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:58]Read from MH i2c: E2 [08:20:58]MH_I2C_Read... [08:20:58]Read from MH i2c: E2 0E 00 [08:20:58]MH_I2C_Read... [08:20:58]Read from MH i2c: E2 0E 00 F8 25 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 20 [08:20:58]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:20:58]wFMCommunicate OK [08:20:58]SAM_PROTO_GetShiftState done [08:20:58]FM_GetShiftState done [08:20:58]req_shift_opened done [08:20:58]requested_item shift.open_date is exist - process it [08:20:58]req_shift_open_date [08:20:58]req_shift_open_date done [08:20:58]produce_requested_data done [08:20:58]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48941,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [08:20:58]process_action_free close_receipt [08:20:58]json_value_free [08:20:58]json_value_free done [08:20:58]process_json_proto returns [08:20:58]Send response to host [08:20:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48941,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [08:20:58]free response buf [08:20:58]execute_script done [08:20:58]execute_script returns [08:20:58]free content buf [08:20:58]Sock 9.Close socket [08:20:58]Sock 9.Thread stoped [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:55]int [08:27:55]Write to MH i2c: 01 00 00 F9 25 1E [08:27:55]*** FLAG_PRN_KEY set [08:27:55]Write i2c OK [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 07 00 [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 07 00 F9 25 00 08 00 00 00 FF 0F 3B [08:27:55]state=0 [08:27:55]Key pressed [08:27:55]Feed [08:27:55]Write to MH i2c: D8 00 00 FA 25 F6 [08:27:55]Write i2c OK [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: D8 [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: D8 01 00 [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: D8 01 00 FA 25 00 F7 [08:27:55]int [08:27:55]Write to MH i2c: 01 00 00 FB 25 20 [08:27:55]Write i2c OK [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 07 00 [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 07 00 FB 25 00 48 00 00 00 3C 00 AB [08:27:55]state=2 [08:27:55]Key pressed [08:27:55]int [08:27:55]Write to MH i2c: 01 00 00 FC 25 21 [08:27:55]*** FLAG_PRN_KEY reset [08:27:55]Write i2c OK [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 07 00 [08:27:55]MH_I2C_Read... [08:27:55]Read from MH i2c: 01 07 00 FC 25 00 00 00 00 00 FB 0F 32 [08:27:55]state=2 [08:27:55]Stop feed [08:27:57]OFD Sender: No OFD packet to send [08:27:57]int [08:27:57]Write to MH i2c: 01 00 00 FD 25 22 [08:27:57]*** FLAG_PRN_PAP1 set [08:27:57]Write i2c OK [08:27:57]MH_I2C_Read... [08:27:57]Read from MH i2c: 01 [08:27:57]MH_I2C_Read... [08:27:57]Read from MH i2c: 01 07 00 [08:27:57]MH_I2C_Read... [08:27:57]Read from MH i2c: 01 07 00 FD 25 00 01 00 00 00 FF 0F 38 [08:27:57]state=0 [08:27:57]No paper [08:27:57]int [08:27:57]Write to MH i2c: 01 00 00 FE 25 23 [08:27:57]*** FLAG_PRN_PAP2 set [08:27:57]Write i2c OK [08:27:57]MH_I2C_Read... [08:27:57]Read from MH i2c: 01 [08:27:57]MH_I2C_Read... [08:27:57]Read from MH i2c: 01 07 00 [08:27:57]MH_I2C_Read... [08:27:57]Read from MH i2c: 01 07 00 FE 25 00 03 00 00 00 FF 0F 3B [08:27:57]state=0 [08:27:57]No paper [08:27:57]Cover opened [08:28:00]int [08:28:00]Write to MH i2c: 01 00 00 FF 25 24 [08:28:00]*** FLAG_PRN_PAP2 reset [08:28:00]Write i2c OK [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 07 00 [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 07 00 FF 25 00 01 00 00 00 FF 0F 3A [08:28:00]state=3 [08:28:00]No paper [08:28:00]Cover closed [08:28:00]int [08:28:00]Write to MH i2c: 01 00 00 00 26 26 [08:28:00]*** FLAG_PRN_PAP2 set [08:28:00]Write i2c OK [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 07 00 [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 07 00 00 26 00 03 00 00 00 FF 0F 3E [08:28:00]state=0 [08:28:00]No paper [08:28:00]Cover opened [08:28:00]int [08:28:00]Write to MH i2c: 01 00 00 01 26 27 [08:28:00]*** FLAG_PRN_PAP2 reset [08:28:00]Write i2c OK [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 07 00 [08:28:00]MH_I2C_Read... [08:28:00]Read from MH i2c: 01 07 00 01 26 00 01 00 00 00 FF 0F 3D [08:28:00]state=3 [08:28:00]No paper [08:28:00]Cover closed [08:28:01]int [08:28:01]Write to MH i2c: 01 00 00 02 26 28 [08:28:01]*** FLAG_PRN_PAP2 set [08:28:01]Write i2c OK [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 07 00 [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 07 00 02 26 00 03 00 00 00 FF 0F 40 [08:28:01]state=0 [08:28:01]No paper [08:28:01]Cover opened [08:28:01]int [08:28:01]Write to MH i2c: 01 00 00 03 26 29 [08:28:01]*** FLAG_PRN_PAP2 reset [08:28:01]Write i2c OK [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 07 00 [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 07 00 03 26 00 01 00 00 00 FF 0F 3F [08:28:01]state=3 [08:28:01]No paper [08:28:01]Cover closed [08:28:01]int line is 0 - check status [08:28:01]Write to MH i2c: 01 00 00 04 26 2A [08:28:01]*** FLAG_PRN_PAP1 reset [08:28:01]Write i2c OK [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 07 00 [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 07 00 04 26 00 00 00 00 00 FF 0F 3F [08:28:01]state=0 [08:28:01]int [08:28:01]Write to MH i2c: 01 00 00 05 26 2B [08:28:01]Write i2c OK [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 07 00 [08:28:01]MH_I2C_Read... [08:28:01]Read from MH i2c: 01 07 00 05 26 00 00 00 00 00 FF 0F 40 [08:28:01]state=0 [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [08:30:32]OFD Sender: No OFD packet to send [08:30:37]OFD Sender: No OFD packet to send [08:30:42]OFD Sender: No OFD packet to send [08:30:47]OFD Sender: No OFD packet to send [08:30:52]OFD Sender: No OFD packet to send [08:30:57]OFD Sender: No OFD packet to send [08:31:02]OFD Sender: No OFD packet to send [08:31:07]OFD Sender: No OFD packet to send [08:31:12]OFD Sender: No OFD packet to send [08:31:17]OFD Sender: No OFD packet to send [08:31:22]OFD Sender: No OFD packet to send [08:31:27]OFD Sender: No OFD packet to send [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:37]OFD Sender: No OFD packet to send [08:33:42]OFD Sender: No OFD packet to send [08:33:47]OFD Sender: No OFD packet to send [08:33:52]OFD Sender: No OFD packet to send [08:33:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:12]OFD Sender: No OFD packet to send [08:39:17]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43:38]OFD Sender: No OFD packet to send [08:43:43]OFD Sender: No OFD packet to send [08:43:48]OFD Sender: No OFD packet to send [08:43:53]OFD Sender: No OFD packet to send [08:43:58]OFD Sender: No OFD packet to send [08:44:03]OFD Sender: No OFD packet to send [08:44:08]OFD Sender: No OFD packet to send [08:44:13]OFD Sender: No OFD packet to send [08:44:18]OFD Sender: No OFD packet to send [08:44:23]OFD Sender: No OFD packet to send [08:44:28]OFD Sender: No OFD packet to send [08:44:33]OFD Sender: No OFD packet to send [08:44:38]OFD Sender: No OFD packet to send [08:44:43]OFD Sender: No OFD packet to send [08:44:48]OFD Sender: No OFD packet to send [08:44:53]OFD Sender: No OFD packet to send [08:44:58]OFD Sender: No OFD packet to send [08:45:03]OFD Sender: No OFD packet to send [08:45:08]OFD Sender: No OFD packet to send [08:45:13]OFD Sender: No OFD packet to send [08:45:18]OFD Sender: No OFD packet to send [08:45:23]OFD Sender: No OFD packet to send [08:45:28]OFD Sender: No OFD packet to send [08:45:33]OFD Sender: No OFD packet to send [08:45:38]OFD Sender: No OFD packet to send [08:45:43]OFD Sender: No OFD packet to send [08:45:48]OFD Sender: No OFD packet to send [08:45:53]OFD Sender: No OFD packet to send [08:45:58]OFD Sender: No OFD packet to send [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:28]OFD Sender: No OFD packet to send [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:23]OFD Sender: No OFD packet to send [08:48:28]OFD Sender: No OFD packet to send [08:48:33]OFD Sender: No OFD packet to send [08:48:38]OFD Sender: No OFD packet to send [08:48:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:03]OFD Sender: No OFD packet to send [08:51:08]OFD Sender: No OFD packet to send [08:51:13]OFD Sender: No OFD packet to send [08:51:18]OFD Sender: No OFD packet to send [08:51:23]OFD Sender: No OFD packet to send [08:51:28]OFD Sender: No OFD packet to send [08:51:33]OFD Sender: No OFD packet to send [08:51:38]OFD Sender: No OFD packet to send [08:51:43]OFD Sender: No OFD packet to send [08:51:48]OFD Sender: No OFD packet to send [08:51:53]OFD Sender: No OFD packet to send [08:51:58]OFD Sender: No OFD packet to send [08:52:03]OFD Sender: No OFD packet to send [08:52:08]OFD Sender: No OFD packet to send [08:52:13]OFD Sender: No OFD packet to send [08:52:18]OFD Sender: No OFD packet to send [08:52:23]OFD Sender: No OFD packet to send [08:52:28]OFD Sender: No OFD packet to send [08:52:33]OFD Sender: No OFD packet to send [08:52:38]OFD Sender: No OFD packet to send [08:52:43]OFD Sender: No OFD packet to send [08:52:48]OFD Sender: No OFD packet to send [08:52:53]OFD Sender: No OFD packet to send [08:52:58]OFD Sender: No OFD packet to send [08:53:03]OFD Sender: No OFD packet to send [08:53:08]OFD Sender: No OFD packet to send [08:53:13]OFD Sender: No OFD packet to send [08:53:18]OFD Sender: No OFD packet to send [08:53:23]OFD Sender: No OFD packet to send [08:53:28]OFD Sender: No OFD packet to send [08:53:33]OFD Sender: No OFD packet to send [08:53:38]OFD Sender: No OFD packet to send [08:53:43]OFD Sender: No OFD packet to send [08:53:48]OFD Sender: No OFD packet to send [08:53:53]OFD Sender: No OFD packet to send [08:53:58]OFD Sender: No OFD packet to send [08:54:03]OFD Sender: No OFD packet to send [08:54:08]OFD Sender: No OFD packet to send [08:54:13]OFD Sender: No OFD packet to send [08:54:18]OFD Sender: No OFD packet to send [08:54:23]OFD Sender: No OFD packet to send [08:54:28]OFD Sender: No OFD packet to send [08:54:33]OFD Sender: No OFD packet to send [08:54:38]OFD Sender: No OFD packet to send [08:54:43]OFD Sender: No OFD packet to send [08:54:48]OFD Sender: No OFD packet to send [08:54:53]OFD Sender: No OFD packet to send [08:54:58]OFD Sender: No OFD packet to send [08:55:03]OFD Sender: No OFD packet to send [08:55:08]OFD Sender: No OFD packet to send [08:55:13]OFD Sender: No OFD packet to send [08:55:18]OFD Sender: No OFD packet to send [08:55:23]OFD Sender: No OFD packet to send [08:55:28]OFD Sender: No OFD packet to send [08:55:33]OFD Sender: No OFD packet to send [08:55:38]OFD Sender: No OFD packet to send [08:55:43]OFD Sender: No OFD packet to send [08:55:48]OFD Sender: No OFD packet to send [08:55:53]OFD Sender: No OFD packet to send [08:55:58]OFD Sender: No OFD packet to send [08:56:03]OFD Sender: No OFD packet to send [08:56:08]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:47]accept exits with 7 [08:56:47]New connection [08:56:47]New thread 3066813796 created [08:56:47]Thread 3066670436 joined [08:56:47]Waiting for new connection... [08:56:47] Sock 7.Parse request [08:56:47]Sock 7.Check first char [08:56:47]Sock 7.First char is OK [08:56:47]request: POST /json_proto HTTP/1.0 [08:56:47]Method: POST [08:56:47]URL: /json_proto [08:56:47]Method is POST - this is cgi request [08:56:47]url: /json_proto [08:56:47]query_string will be loaded in cgi processing [08:56:47]execute_cgi json_proto POST (null) [08:56:47]execute_cgi path=json_proto method=POST [08:56:47]POST find Content-Length [08:56:47]Host: 172.17.56.67:8080 [08:56:47]Content-Length: 682 [08:56:47]Content-Type: application/json [08:56:47] [08:56:47]POST finish read [08:56:47]Found Content-Length = 682 [08:56:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216039", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 24.880, "sum" : 1500.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:56:47]execute_script... [08:56:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216039", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 24.880, "sum" : 1500.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:56:47]POST & json_proto [08:56:47]process_json_proto [08:56:47]json parsed OK: [08:56:47]protocol is kg_v1.0 [08:56:47]action value=close_receipt [08:56:47]process_action close_receipt [08:56:47]cmd_close_receipt [08:56:47]MH_GetDate [08:56:47]Write to MH i2c: F0 00 00 06 26 1B [08:56:47]Write i2c OK [08:56:47]MH_I2C_Read... [08:56:47]Read from MH i2c: F0 [08:56:47]MH_I2C_Read... [08:56:47]Read from MH i2c: F0 09 00 [08:56:47]MH_I2C_Read... [08:56:47]Read from MH i2c: F0 09 00 06 26 00 D7 16 B6 65 26 5D 9E 65 B2 [08:56:47]GetLastDocTimeStamp 1706430061 [08:56:47]current date 1706432215 [08:56:47]FM_GetShiftState [08:56:47]SAM_PROTO_GetShiftState [08:56:47]wFMCommunicate request_size=4 [08:56:47]MH_SAM_APDU [08:56:47]CAPDU: 80 13 01 00 [08:56:47]Write to MH i2c: E2 08 00 07 26 80 13 01 00 00 00 00 00 AA [08:56:47]Write i2c OK [08:56:47]MH_I2C_Read... [08:56:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:56:47]Read from MH i2c: E2 [08:56:47]MH_I2C_Read... [08:56:47]Read from MH i2c: E2 0E 00 [08:56:47]MH_I2C_Read... [08:56:47]Read from MH i2c: E2 0E 00 07 26 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 30 [08:56:47]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:56:47]wFMCommunicate OK [08:56:47]SAM_PROTO_GetShiftState done [08:56:47]FM_GetShiftState done [08:56:47]opened in 1706400199 [08:56:47]opened+sec_in_day 1706486599 [08:56:47]quantity*price = 150026 [08:56:47]sum+1 = 150027 [08:56:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.26 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.28 ÐДС 12% : 159.32 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 7 28.01.2024 08:56 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48942 ФПД: 35974697525377 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T085655&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48942&fm=35974697525377&tin=02508201610067®Number=0000000000092723&sum=150000 [08:56:48]StoreToDocumentArchive [08:56:48]shift 244 fd 48942 [08:56:48]save to /storage/0244/doc_00048942 [08:56:48]save last doc name /storage/0244/doc_00048942 to /storage/kkm_last_doc_name [08:56:48]save OK [08:56:48]Clear old archive folders... [08:56:48]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:56:48]tlvbuf is B6E86EF0 [08:56:48]SAM_PROTO_ClearQueue [08:56:48]wFMCommunicate request_size=4 [08:56:48]MH_SAM_APDU [08:56:48]CAPDU: 80 09 00 00 [08:56:48]Write to MH i2c: E2 08 00 14 26 80 09 00 00 00 00 00 00 AC [08:56:48]Write i2c OK [08:56:48]MH_I2C_Read... [08:56:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:56:48]Read from MH i2c: E2 [08:56:48]MH_I2C_Read... [08:56:48]Read from MH i2c: E2 03 00 [08:56:48]MH_I2C_Read... [08:56:48]Read from MH i2c: E2 03 00 14 26 00 90 00 AE [08:56:48]RAPDU: 90 00 [08:56:48]wFMCommunicate OK [08:56:48]SAM_PROTO_ClearQueue done [08:56:48]KKMCreateOFDPacket [08:56:48]OFDProtocolAddRootSTLVToBuf [08:56:48]FM_MakeSignedData [08:56:48]FM_MakeSignedData [08:56:48]SAM_PROTO_SignData [08:56:48]wFMCommunicate request_size=4 [08:56:48]MH_SAM_APDU [08:56:48]CAPDU: 80 0D 01 02 [08:56:48]Write to MH i2c: E2 08 00 15 26 80 0D 01 02 00 00 00 00 B4 [08:56:48]Write i2c OK [08:56:48]MH_I2C_Read... [08:56:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:56:48]Read from MH i2c: E2 [08:56:48]MH_I2C_Read... [08:56:48]Read from MH i2c: E2 03 00 [08:56:48]MH_I2C_Read... [08:56:48]Read from MH i2c: E2 03 00 15 26 00 90 00 AF [08:56:48]RAPDU: 90 00 [08:56:48]wFMCommunicate OK [08:56:48]wFMCommunicate request_size=255 [08:56:48]MH_SAM_APDU [08:56:48]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 D7 16 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2E BF 00 00 35 04 06 00 20 [08:56:48]Write to MH i2c: E2 02 01 16 26 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 D7 16 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2E BF 00 00 35 04 06 00 20 00 00 77 [08:56:48]Write i2c OK [08:56:48]MH_I2C_Read... [08:56:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:56:49]Read from MH i2c: E2 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: E2 03 00 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: E2 03 00 16 26 00 90 00 B0 [08:56:49]RAPDU: 90 00 [08:56:49]wFMCommunicate OK [08:56:49]wFMCommunicate request_size=10 [08:56:49]MH_SAM_APDU [08:56:49]CAPDU: 80 0D 02 02 05 B8 03 11 20 81 [08:56:49]Write to MH i2c: E2 0D 00 17 26 80 0D 02 02 05 00 B8 03 11 20 81 00 00 2E [08:56:49]Write i2c OK [08:56:49]MH_I2C_Read... [08:56:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:56:49]Read from MH i2c: E2 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: E2 03 00 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: E2 03 00 17 26 00 90 00 B1 [08:56:49]RAPDU: 90 00 [08:56:49]wFMCommunicate OK [08:56:49]wFMCommunicate request_size=4 [08:56:49]MH_SAM_APDU [08:56:49]CAPDU: 80 0D 03 02 [08:56:49]Write to MH i2c: E2 08 00 18 26 80 0D 03 02 00 00 00 00 B9 [08:56:49]Write i2c OK [08:56:49]MH_I2C_Read... [08:56:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:56:49]Read from MH i2c: E2 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: E2 0B 00 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: E2 0B 00 18 26 00 72 84 21 1F B5 DF 7B E7 90 00 E6 [08:56:49]RAPDU: 72 84 21 1F B5 DF 7B E7 90 00 [08:56:49]wFMCommunicate OK [08:56:49]SAM_PROTO_SignData done [08:56:49]FM_MakeSignedData done [08:56:49]CreateOFDProtocolMessage [08:56:49]wFMCommunicate request_size=4 [08:56:49]MH_SAM_APDU [08:56:49]CAPDU: 80 11 00 00 [08:56:49]Write to MH i2c: E2 08 00 19 26 80 11 00 00 00 00 00 00 B9 [08:56:49]Write i2c OK [08:56:49]MH_I2C_Read... [08:56:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:56:49]Read from MH i2c: E2 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: E2 17 00 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: E2 17 00 19 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 06 [08:56:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:56:49]wFMCommunicate OK [08:56:49]CreateOFDProtocolMessage done [08:56:49]OFDSenderStorePacket 48942 [08:56:49]StoreOFDPacket docnum=48942 [08:56:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 E7 2B 07 01 46 CF 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 D7 16 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2E BF 00 00 35 04 06 00 20 B8 03 11 20 81 72 84 21 1F B5 DF 7B E7 [08:56:49]CheckFolder [08:56:49]dirname=/storage/ofd_packets [08:56:49]CheckFolder done [08:56:49]ProducePacketName [08:56:49]name=ofd_packets/00048942 [08:56:49]NVStorageSaveData ofd_packets/00048942 [08:56:49]File name is /storage/ofd_packets/00048942 [08:56:49]Write 301 bytes [08:56:49]NVStorageSaveData done [08:56:49]OFDSenderStorePacket done [08:56:49]KKMCreateOFDPacket done [08:56:49]NVStorageSaveData kkm_last_timestamp [08:56:49]File name is /storage/kkm_last_timestamp [08:56:49]Write 4 bytes [08:56:49]NVStorageSaveData done [08:56:49]ExternCall_PrintAddStr [08:56:49]wPrintStart [08:56:49]Write to MH i2c: 01 00 00 1A 26 40 [08:56:49]Write i2c OK [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: 01 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: 01 07 00 [08:56:49]MH_I2C_Read... [08:56:49]Read from MH i2c: 01 07 00 1A 26 00 00 00 00 00 FF 0F 55 [08:56:49]RasterBufferAndPrint [08:56:49]line Счет N : (1)216039 [08:56:49]line ИÐÐ: 02508201610067 [08:56:49]line Контрольно-КаÑÑовый Чек [08:56:49]line ПРОДÐЖР[08:56:49]line ТРК (МРК, ГÐК) : 22 [08:56:49]line Товар: 2710124130 [08:56:49]line Ðи-92-К-5 [08:56:49]line 24.880 * 60.30 [08:56:49]line = 1500.26 [08:56:49]line ÐДС 12% ÐСП 1% [08:56:49]line > о реализуемом товаре [08:56:49]line ОКРУГЛЕÐИЕ: -0.26 [08:56:49]line ИТОГО: 1500.00 [08:56:49]line ВнеÑено: 1500.00 [08:56:49]line СДÐЧÐ: 0.00 [08:56:49]line ÐСП 1% : 13.28 [08:56:49]line ÐДС 12% : 159.32 [08:56:49]line Ðаличными: 1500.00 [08:56:49]line Безнал.: 0.00 [08:56:49]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [08:56:49]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [08:56:49]line СÐО: Общий режим [08:56:49]line Чек 7 28.01.2024 08:56 [08:56:49]line Смена: 244 ФФД: 1.0 [08:56:49]line ЗÐМ: 0300000040 [08:56:49]line РÐМ: 0000000000092723 [08:56:49]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:56:49]line ФМ: 0000000000875060 [08:56:49]line ФД: 48942 [08:56:49]line ФПД: 35974697525377 [08:56:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T085655&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48942&fm=35974697525377&tin=02508201610067®Number=0000000000092723&sum=150000 [08:56:49]OFD Sender: Processing packet 48942 [packets to send 12, broken 11] [08:56:49]ProducePacketName [08:56:49]name=ofd_packets/00048942 [08:56:49]OFD Sender: To server: ‡•öpG, [08:56:49]CommunicateWithHost lk.salyk.kg:30040 [08:56:49]ConnectInit lk.salyk.kg [08:56:49]written 0, free lines is 4095 [08:56:49]Connected sock=10 [08:56:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 E7 2B 07 01 46 CF 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 D7 16 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2E BF 00 00 35 04 06 00 20 B8 03 11 20 81 72 84 21 1F B5 DF 7B E7 [08:56:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 5B CE 47 00 3D 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 30 36 30 10 04 04 00 2E BF 00 00 F4 03 04 00 D3 C2 B5 65 B6 04 01 00 00 61 6B F2 DF 17 59 52 DA [08:56:49]CommunicateWithHost err = 0 [08:56:49]CheckOFDResponse [08:56:49]1017 (14) - 77093643461234 [08:56:49]1041 (16) - 0000000000875060 [08:56:49]1040 (4) - 48942 [08:56:49]1012 (4) - 28.01.2024 02:58 [08:56:49]1206 (1) - 0 [08:56:49]OFD Sender: Remove packet 48942 [08:56:49]ProducePacketName [08:56:49]name=ofd_packets/00048942 [08:56:49]NVStorageDeleteData [08:56:50]Write to MH i2c: 01 00 00 45 26 6B [08:56:50]Write i2c OK [08:56:50]MH_I2C_Read... [08:56:50]Read from MH i2c: 01 [08:56:50]MH_I2C_Read... [08:56:50]Read from MH i2c: 01 07 00 [08:56:50]MH_I2C_Read... [08:56:50]Read from MH i2c: 01 07 00 45 26 00 00 00 00 00 0B 0D 8A [08:56:50]RasterBufferAndPrint [08:56:50]line [08:56:50]line [08:56:50]line [08:56:50]line [08:56:50]line [08:56:50]written 0, free lines is 3346 [08:56:50]MH_Cut [08:56:50]Write to MH i2c: D1 01 00 4C 26 01 44 [08:56:50]Write i2c OK [08:56:50]MH_I2C_Read... [08:56:50]Read from MH i2c: D1 [08:56:50]MH_I2C_Read... [08:56:50]Read from MH i2c: D1 01 00 [08:56:50]MH_I2C_Read... [08:56:50]Read from MH i2c: D1 01 00 4C 26 00 43 [08:56:50]Write to MH i2c: 01 00 00 4D 26 73 [08:56:50]Write i2c OK [08:56:50]MH_I2C_Read... [08:56:50]OFD Sender: No OFD packet to send [08:56:50]*** Cut start [08:56:50]*** Partial cut [08:56:50]*** CUTSNS_PIN = 1 [08:56:50]*** CUTSNS_PIN = 0 [08:56:51]*** Brake cut motor [08:56:51]Read from MH i2c: 01 [08:56:51]MH_I2C_Read... [08:56:51]*** Stop cut motor [08:56:51]*** Cut end [08:56:51]Read from MH i2c: 01 07 00 [08:56:51]MH_I2C_Read... [08:56:51]Read from MH i2c: 01 07 00 4D 26 00 00 00 00 00 FF 0F 88 [08:56:51]process_action close_receipt done [08:56:51]requested_data is exist [08:56:51]produce_requested_data [08:56:51]requested_item fm.sn is exist - process it [08:56:51]wFMCommunicate request_size=4 [08:56:51]MH_SAM_APDU [08:56:51]CAPDU: 80 11 00 00 [08:56:51]Write to MH i2c: E2 08 00 4E 26 80 11 00 00 00 00 00 00 EE [08:56:51]Write i2c OK [08:56:51]MH_I2C_Read... [08:56:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:56:51]Read from MH i2c: E2 [08:56:51]MH_I2C_Read... [08:56:51]Read from MH i2c: E2 17 00 [08:56:51]MH_I2C_Read... [08:56:51]Read from MH i2c: E2 17 00 4E 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 3B [08:56:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:56:51]wFMCommunicate OK [08:56:51]requested_item fd.num is exist - process it [08:56:51]SAM_PROTO_GetFieldsCounters [08:56:51]wFMCommunicate request_size=4 [08:56:51]MH_SAM_APDU [08:56:51]CAPDU: 80 13 00 00 [08:56:51]Write to MH i2c: E2 08 00 4F 26 80 13 00 00 00 00 00 00 F1 [08:56:51]Write i2c OK [08:56:51]MH_I2C_Read... [08:56:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:56:51]Read from MH i2c: E2 [08:56:51]MH_I2C_Read... [08:56:51]Read from MH i2c: E2 62 00 [08:56:51]MH_I2C_Read... [08:56:51]Read from MH i2c: E2 62 00 4F 26 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 00 [08:56: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:56:51]wFMCommunicate OK [08:56:51]SAM_PROTO_GetFieldsCounters done [08:56:51]requested_item shift.num is exist - process it [08:56:51]requested_item shift.opened is exist - process it [08:56:51]req_shift_opened [08:56:51]FM_GetShiftState [08:56:51]SAM_PROTO_GetShiftState [08:56:51]wFMCommunicate request_size=4 [08:56:51]MH_SAM_APDU [08:56:51]CAPDU: 80 13 01 00 [08:56:51]Write to MH i2c: E2 08 00 50 26 80 13 01 00 00 00 00 00 F3 [08:56:51]Write i2c OK [08:56:51]MH_I2C_Read... [08:56:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:56:51]Read from MH i2c: E2 [08:56:51]MH_I2C_Read... [08:56:51]Read from MH i2c: E2 0E 00 [08:56:51]MH_I2C_Read... [08:56:51]Read from MH i2c: E2 0E 00 50 26 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 79 [08:56:51]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:56:51]wFMCommunicate OK [08:56:51]SAM_PROTO_GetShiftState done [08:56:51]FM_GetShiftState done [08:56:51]req_shift_opened done [08:56:51]requested_item shift.open_date is exist - process it [08:56:51]req_shift_open_date [08:56:51]req_shift_open_date done [08:56:51]produce_requested_data done [08:56:51]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48942,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [08:56:51]process_action_free close_receipt [08:56:51]json_value_free [08:56:51]json_value_free done [08:56:51]process_json_proto returns [08:56:51]Send response to host [08:56:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48942,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [08:56:51]free response buf [08:56:51]execute_script done [08:56:51]execute_script returns [08:56:51]free content buf [08:56:51]Sock 7.Close socket [08:56:51]Sock 7.Thread stoped [08:56:55]OFD Sender: No OFD packet to send [08:57:00]OFD Sender: No OFD packet to send [08:57:05]OFD Sender: No OFD packet to send [08:57:10]OFD Sender: No OFD packet to send [08:57:15]OFD Sender: No OFD packet to send [08:57:20]OFD Sender: No OFD packet to send [08:57:25]OFD Sender: No OFD packet to send [08:57:30]OFD Sender: No OFD packet to send [08:57:32]accept exits with 9 [08:57:32]New connection [08:57:32]New thread 3066670436 created [08:57:32]Thread 3066813796 joined [08:57:32]Waiting for new connection... [08:57:32] Sock 9.Parse request [08:57:32]Sock 9.Check first char [08:57:32]Sock 9.First char is OK [08:57:32]request: POST /json_proto HTTP/1.0 [08:57:32]Method: POST [08:57:32]URL: /json_proto [08:57:32]Method is POST - this is cgi request [08:57:32]url: /json_proto [08:57:32]query_string will be loaded in cgi processing [08:57:32]execute_cgi json_proto POST (null) [08:57:32]execute_cgi path=json_proto method=POST [08:57:32]POST find Content-Length [08:57:32]Host: 172.17.56.67:8080 [08:57:32]Content-Length: 677 [08:57:32]Content-Type: application/json [08:57:32] [08:57:32]POST finish read [08:57:32]Found Content-Length = 677 [08:57:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216040", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.640, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:57:32]execute_script... [08:57:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216040", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.640, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:57:32]POST & json_proto [08:57:32]process_json_proto [08:57:32]json parsed OK: [08:57:32]protocol is kg_v1.0 [08:57:32]action value=close_receipt [08:57:32]process_action close_receipt [08:57:32]cmd_close_receipt [08:57:32]MH_GetDate [08:57:32]Write to MH i2c: F0 00 00 51 26 66 [08:57:32]Write i2c OK [08:57:32]MH_I2C_Read... [08:57:32]Read from MH i2c: F0 [08:57:32]MH_I2C_Read... [08:57:32]Read from MH i2c: F0 09 00 [08:57:32]MH_I2C_Read... [08:57:32]Read from MH i2c: F0 09 00 51 26 00 04 17 B6 65 26 5D 9E 65 2B [08:57:32]GetLastDocTimeStamp 1706432215 [08:57:32]current date 1706432260 [08:57:32]FM_GetShiftState [08:57:32]SAM_PROTO_GetShiftState [08:57:32]wFMCommunicate request_size=4 [08:57:32]MH_SAM_APDU [08:57:32]CAPDU: 80 13 01 00 [08:57:32]Write to MH i2c: E2 08 00 52 26 80 13 01 00 00 00 00 00 F5 [08:57:32]Write i2c OK [08:57:32]MH_I2C_Read... [08:57:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:57:33]Read from MH i2c: E2 [08:57:33]MH_I2C_Read... [08:57:33]Read from MH i2c: E2 0E 00 [08:57:33]MH_I2C_Read... [08:57:33]Read from MH i2c: E2 0E 00 52 26 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 7B [08:57:33]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:57:33]wFMCommunicate OK [08:57:33]SAM_PROTO_GetShiftState done [08:57:33]FM_GetShiftState done [08:57:33]opened in 1706400199 [08:57:33]opened+sec_in_day 1706486599 [08:57:33]quantity*price = 40039 [08:57:33]sum+1 = 40040 [08:57:33]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.39 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.52 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 8 28.01.2024 08:57 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48943 ФПД: 49386532816671 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T085740&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48943&fm=49386532816671&tin=02508201610067®Number=0000000000092723&sum=40000 [08:57:34]StoreToDocumentArchive [08:57:34]shift 244 fd 48943 [08:57:34]save to /storage/0244/doc_00048943 [08:57:34]save last doc name /storage/0244/doc_00048943 to /storage/kkm_last_doc_name [08:57:34]save OK [08:57:34]Clear old archive folders... [08:57:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:57:34]tlvbuf is 011F8280 [08:57:34]SAM_PROTO_ClearQueue [08:57:34]wFMCommunicate request_size=4 [08:57:34]MH_SAM_APDU [08:57:34]CAPDU: 80 09 00 00 [08:57:34]Write to MH i2c: E2 08 00 5F 26 80 09 00 00 00 00 00 00 F7 [08:57:34]Write i2c OK [08:57:34]MH_I2C_Read... [08:57:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:57:34]Read from MH i2c: E2 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 03 00 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 03 00 5F 26 00 90 00 F9 [08:57:34]RAPDU: 90 00 [08:57:34]wFMCommunicate OK [08:57:34]SAM_PROTO_ClearQueue done [08:57:34]KKMCreateOFDPacket [08:57:34]OFDProtocolAddRootSTLVToBuf [08:57:34]FM_MakeSignedData [08:57:34]FM_MakeSignedData [08:57:34]SAM_PROTO_SignData [08:57:34]wFMCommunicate request_size=4 [08:57:34]MH_SAM_APDU [08:57:34]CAPDU: 80 0D 01 02 [08:57:34]Write to MH i2c: E2 08 00 60 26 80 0D 01 02 00 00 00 00 FF [08:57:34]Write i2c OK [08:57:34]MH_I2C_Read... [08:57:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:57:34]Read from MH i2c: E2 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 03 00 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 03 00 60 26 00 90 00 FA [08:57:34]RAPDU: 90 00 [08:57:34]wFMCommunicate OK [08:57:34]wFMCommunicate request_size=255 [08:57:34]MH_SAM_APDU [08:57:34]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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 04 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2F BF 00 00 35 04 06 00 2C [08:57:34]Write to MH i2c: E2 02 01 61 26 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 04 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2F BF 00 00 35 04 06 00 2C 00 00 C5 [08:57:34]Write i2c OK [08:57:34]MH_I2C_Read... [08:57:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:57:34]Read from MH i2c: E2 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 03 00 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 03 00 61 26 00 90 00 FB [08:57:34]RAPDU: 90 00 [08:57:34]wFMCommunicate OK [08:57:34]wFMCommunicate request_size=10 [08:57:34]MH_SAM_APDU [08:57:34]CAPDU: 80 0D 02 02 05 EA B2 BE C7 1F [08:57:34]Write to MH i2c: E2 0D 00 62 26 80 0D 02 02 05 00 EA B2 BE C7 1F 00 00 4C [08:57:34]Write i2c OK [08:57:34]MH_I2C_Read... [08:57:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:57:34]Read from MH i2c: E2 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 03 00 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 03 00 62 26 00 90 00 FC [08:57:34]RAPDU: 90 00 [08:57:34]wFMCommunicate OK [08:57:34]wFMCommunicate request_size=4 [08:57:34]MH_SAM_APDU [08:57:34]CAPDU: 80 0D 03 02 [08:57:34]Write to MH i2c: E2 08 00 63 26 80 0D 03 02 00 00 00 00 04 [08:57:34]Write i2c OK [08:57:34]MH_I2C_Read... [08:57:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:57:34]Read from MH i2c: E2 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 0B 00 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 0B 00 63 26 00 81 9A D9 5A 98 60 49 48 90 00 DC [08:57:34]RAPDU: 81 9A D9 5A 98 60 49 48 90 00 [08:57:34]wFMCommunicate OK [08:57:34]SAM_PROTO_SignData done [08:57:34]FM_MakeSignedData done [08:57:34]CreateOFDProtocolMessage [08:57:34]wFMCommunicate request_size=4 [08:57:34]MH_SAM_APDU [08:57:34]CAPDU: 80 11 00 00 [08:57:34]Write to MH i2c: E2 08 00 64 26 80 11 00 00 00 00 00 00 04 [08:57:34]Write i2c OK [08:57:34]MH_I2C_Read... [08:57:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:34]Read from MH i2c: E2 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 17 00 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: E2 17 00 64 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 51 [08:57:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:57:34]wFMCommunicate OK [08:57:34]CreateOFDProtocolMessage done [08:57:34]OFDSenderStorePacket 48943 [08:57:34]StoreOFDPacket docnum=48943 [08:57:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 B8 09 07 01 99 D6 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 04 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2F BF 00 00 35 04 06 00 2C EA B2 BE C7 1F 81 9A D9 5A 98 60 49 48 [08:57:34]CheckFolder [08:57:34]dirname=/storage/ofd_packets [08:57:34]CheckFolder done [08:57:34]ProducePacketName [08:57:34]name=ofd_packets/00048943 [08:57:34]NVStorageSaveData ofd_packets/00048943 [08:57:34]File name is /storage/ofd_packets/00048943 [08:57:34]Write 301 bytes [08:57:34]NVStorageSaveData done [08:57:34]OFDSenderStorePacket done [08:57:34]KKMCreateOFDPacket done [08:57:34]NVStorageSaveData kkm_last_timestamp [08:57:34]File name is /storage/kkm_last_timestamp [08:57:34]Write 4 bytes [08:57:34]NVStorageSaveData done [08:57:34]ExternCall_PrintAddStr [08:57:34]wPrintStart [08:57:34]Write to MH i2c: 01 00 00 65 26 8B [08:57:34]Write i2c OK [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: 01 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: 01 07 00 [08:57:34]MH_I2C_Read... [08:57:34]Read from MH i2c: 01 07 00 65 26 00 00 00 00 00 FF 0F A0 [08:57:34]RasterBufferAndPrint [08:57:34]line Счет N : (1)216040 [08:57:34]line ИÐÐ: 02508201610067 [08:57:34]line Контрольно-КаÑÑовый Чек [08:57:34]line ПРОДÐЖР[08:57:34]line ТРК (МРК, ГÐК) : 12 [08:57:34]line Товар: 2710124130 [08:57:34]line Ðи-92-К-5 [08:57:34]line 6.640 * 60.30 [08:57:34]line = 400.39 [08:57:34]line ÐДС 12% ÐСП 1% [08:57:34]line > о реализуемом товаре [08:57:34]line ОКРУГЛЕÐИЕ: -0.39 [08:57:34]line ИТОГО: 400.00 [08:57:34]line ВнеÑено: 400.00 [08:57:34]line СДÐЧÐ: 0.00 [08:57:34]line ÐСП 1% : 3.54 [08:57:34]line ÐДС 12% : 42.52 [08:57:34]line Ðаличными: 400.00 [08:57:34]line Безнал.: 0.00 [08:57:34]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [08:57:34]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [08:57:34]line СÐО: Общий режим [08:57:34]line Чек 8 28.01.2024 08:57 [08:57:34]line Смена: 244 ФФД: 1.0 [08:57:34]line ЗÐМ: 0300000040 [08:57:34]line РÐМ: 0000000000092723 [08:57:34]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:57:34]line ФМ: 0000000000875060 [08:57:34]line ФД: 48943 [08:57:34]line ФПД: 49386532816671 [08:57:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T085740&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48943&fm=49386532816671&tin=02508201610067®Number=0000000000092723&sum=40000 [08:57:35]OFD Sender: Processing packet 48943 [packets to send 12, broken 11] [08:57:35]ProducePacketName [08:57:35]name=ofd_packets/00048943 [08:57:35]OFD Sender: To server: ‡•öpG, [08:57:35]CommunicateWithHost lk.salyk.kg:30040 [08:57:35]ConnectInit lk.salyk.kg [08:57:35]written 0, free lines is 4095 [08:57:35]Connected sock=10 [08:57: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 30 36 30 0F 01 00 00 B8 09 07 01 99 D6 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 04 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2F BF 00 00 35 04 06 00 2C EA B2 BE C7 1F 81 9A D9 5A 98 60 49 48 [08:57:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 34 91 47 00 8B FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 2F BF 00 00 F4 03 04 00 00 C3 B5 65 B6 04 01 00 00 A2 8A CE 37 40 FA 33 74 [08:57:35]CommunicateWithHost err = 0 [08:57:35]CheckOFDResponse [08:57:35]1017 (14) - 77093643461234 [08:57:35]1041 (16) - 0000000000875060 [08:57:35]1040 (4) - 48943 [08:57:35]1012 (4) - 28.01.2024 02:59 [08:57:35]1206 (1) - 0 [08:57:35]OFD Sender: Remove packet 48943 [08:57:35]ProducePacketName [08:57:35]name=ofd_packets/00048943 [08:57:35]NVStorageDeleteData [08:57:35]Write to MH i2c: 01 00 00 90 26 B6 [08:57:35]Write i2c OK [08:57:35]MH_I2C_Read... [08:57:35]Read from MH i2c: 01 [08:57:35]MH_I2C_Read... [08:57:35]Read from MH i2c: 01 07 00 [08:57:35]MH_I2C_Read... [08:57:35]Read from MH i2c: 01 07 00 90 26 00 00 00 00 00 F5 0C BE [08:57:35]RasterBufferAndPrint [08:57:35]line [08:57:35]line [08:57:35]line [08:57:35]line [08:57:35]line [08:57:35]written 0, free lines is 3327 [08:57:35]MH_Cut [08:57:35]Write to MH i2c: D1 01 00 97 26 01 8F [08:57:35]Write i2c OK [08:57:35]MH_I2C_Read... [08:57:35]Read from MH i2c: D1 [08:57:35]MH_I2C_Read... [08:57:35]Read from MH i2c: D1 01 00 [08:57:35]MH_I2C_Read... [08:57:35]Read from MH i2c: D1 01 00 97 26 00 8E [08:57:35]Write to MH i2c: 01 00 00 98 26 BE [08:57:35]Write i2c OK [08:57:35]MH_I2C_Read... [08:57:35]OFD Sender: No OFD packet to send [08:57:36]*** Cut start [08:57:36]*** Partial cut [08:57:36]*** CUTSNS_PIN = 1 [08:57:36]*** CUTSNS_PIN = 0 [08:57:36]*** Brake cut motor [08:57:36]Read from MH i2c: 01 [08:57:36]MH_I2C_Read... [08:57:36]*** Stop cut motor [08:57:36]*** Cut end [08:57:36]Read from MH i2c: 01 07 00 [08:57:36]MH_I2C_Read... [08:57:36]Read from MH i2c: 01 07 00 98 26 00 00 00 00 00 FF 0F D3 [08:57:36]process_action close_receipt done [08:57:36]requested_data is exist [08:57:36]produce_requested_data [08:57:36]requested_item fm.sn is exist - process it [08:57:36]wFMCommunicate request_size=4 [08:57:36]MH_SAM_APDU [08:57:36]CAPDU: 80 11 00 00 [08:57:36]Write to MH i2c: E2 08 00 99 26 80 11 00 00 00 00 00 00 39 [08:57:36]Write i2c OK [08:57:36]MH_I2C_Read... [08:57:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:36]Read from MH i2c: E2 [08:57:36]MH_I2C_Read... [08:57:36]Read from MH i2c: E2 17 00 [08:57:36]MH_I2C_Read... [08:57:36]Read from MH i2c: E2 17 00 99 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 86 [08:57:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:57:36]wFMCommunicate OK [08:57:36]requested_item fd.num is exist - process it [08:57:36]SAM_PROTO_GetFieldsCounters [08:57:36]wFMCommunicate request_size=4 [08:57:36]MH_SAM_APDU [08:57:36]CAPDU: 80 13 00 00 [08:57:36]Write to MH i2c: E2 08 00 9A 26 80 13 00 00 00 00 00 00 3C [08:57:36]Write i2c OK [08:57:36]MH_I2C_Read... [08:57:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:57:36]Read from MH i2c: E2 [08:57:36]MH_I2C_Read... [08:57:36]Read from MH i2c: E2 62 00 [08:57:36]MH_I2C_Read... [08:57:36]Read from MH i2c: E2 62 00 9A 26 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [08:57: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 2F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:57:36]wFMCommunicate OK [08:57:36]SAM_PROTO_GetFieldsCounters done [08:57:36]requested_item shift.num is exist - process it [08:57:36]requested_item shift.opened is exist - process it [08:57:36]req_shift_opened [08:57:36]FM_GetShiftState [08:57:36]SAM_PROTO_GetShiftState [08:57:36]wFMCommunicate request_size=4 [08:57:36]MH_SAM_APDU [08:57:36]CAPDU: 80 13 01 00 [08:57:36]Write to MH i2c: E2 08 00 9B 26 80 13 01 00 00 00 00 00 3E [08:57:36]Write i2c OK [08:57:36]MH_I2C_Read... [08:57:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:57:36]Read from MH i2c: E2 [08:57:36]MH_I2C_Read... [08:57:36]Read from MH i2c: E2 0E 00 [08:57:36]MH_I2C_Read... [08:57:36]Read from MH i2c: E2 0E 00 9B 26 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C4 [08:57:36]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:57:36]wFMCommunicate OK [08:57:36]SAM_PROTO_GetShiftState done [08:57:36]FM_GetShiftState done [08:57:36]req_shift_opened done [08:57:36]requested_item shift.open_date is exist - process it [08:57:36]req_shift_open_date [08:57:36]req_shift_open_date done [08:57:36]produce_requested_data done [08:57:36]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48943,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [08:57:36]process_action_free close_receipt [08:57:36]json_value_free [08:57:36]json_value_free done [08:57:36]process_json_proto returns [08:57:36]Send response to host [08:57:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48943,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [08:57:36]free response buf [08:57:36]execute_script done [08:57:36]execute_script returns [08:57:36]free content buf [08:57:36]Sock 9.Close socket [08:57:36]Sock 9.Thread stoped [08:57:40]OFD Sender: No OFD packet to send [08:57:45]OFD Sender: No OFD packet to send [08:57:50]OFD Sender: No OFD packet to send [08:57:54]accept exits with 7 [08:57:54]New connection [08:57:54]New thread 3066813796 created [08:57:54]Thread 3066670436 joined [08:57:54]Waiting for new connection... [08:57:54] Sock 7.Parse request [08:57:54]Sock 7.Check first char [08:57:54]Sock 7.First char is OK [08:57:54]request: POST /json_proto HTTP/1.0 [08:57:54]Method: POST [08:57:54]URL: /json_proto [08:57:54]Method is POST - this is cgi request [08:57:54]url: /json_proto [08:57:54]query_string will be loaded in cgi processing [08:57:54]execute_cgi json_proto POST (null) [08:57:54]execute_cgi path=json_proto method=POST [08:57:54]POST find Content-Length [08:57:54]Host: 172.17.56.67:8080 [08:57:54]Content-Length: 677 [08:57:54]Content-Type: application/json [08:57:54] [08:57:54]POST finish read [08:57:54]Found Content-Length = 677 [08:57:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216041", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [08:57:54]execute_script... [08:57:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216041", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [08:57:54]POST & json_proto [08:57:54]process_json_proto [08:57:54]json parsed OK: [08:57:54]protocol is kg_v1.0 [08:57:54]action value=close_receipt [08:57:54]process_action close_receipt [08:57:54]cmd_close_receipt [08:57:54]MH_GetDate [08:57:54]Write to MH i2c: F0 00 00 9C 26 B1 [08:57:54]Write i2c OK [08:57:54]MH_I2C_Read... [08:57:54]Read from MH i2c: F0 [08:57:54]MH_I2C_Read... [08:57:54]Read from MH i2c: F0 09 00 [08:57:54]MH_I2C_Read... [08:57:54]Read from MH i2c: F0 09 00 9C 26 00 1A 17 B6 65 26 5D 9E 65 8C [08:57:54]GetLastDocTimeStamp 1706432260 [08:57:54]current date 1706432282 [08:57:54]FM_GetShiftState [08:57:54]SAM_PROTO_GetShiftState [08:57:54]wFMCommunicate request_size=4 [08:57:54]MH_SAM_APDU [08:57:54]CAPDU: 80 13 01 00 [08:57:54]Write to MH i2c: E2 08 00 9D 26 80 13 01 00 00 00 00 00 40 [08:57:54]Write i2c OK [08:57:54]MH_I2C_Read... [08:57:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:57:54]Read from MH i2c: E2 [08:57:54]MH_I2C_Read... [08:57:54]Read from MH i2c: E2 0E 00 [08:57:54]MH_I2C_Read... [08:57:54]Read from MH i2c: E2 0E 00 9D 26 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C6 [08:57:54]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:57:54]wFMCommunicate OK [08:57:54]SAM_PROTO_GetShiftState done [08:57:54]FM_GetShiftState done [08:57:54]opened in 1706400199 [08:57:54]opened+sec_in_day 1706486599 [08:57:54]quantity*price = 30029 [08:57:54]sum+1 = 30030 [08:57:54]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 9 28.01.2024 08:58 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48944 ФПД: 189642546808702 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T085802&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48944&fm=189642546808702&tin=02508201610067®Number=0000000000092723&sum=30000 [08:57:55]StoreToDocumentArchive [08:57:55]shift 244 fd 48944 [08:57:55]save to /storage/0244/doc_00048944 [08:57:55]save last doc name /storage/0244/doc_00048944 to /storage/kkm_last_doc_name [08:57:55]save OK [08:57:55]Clear old archive folders... [08:57:55]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:57:55]tlvbuf is 011D8480 [08:57:55]SAM_PROTO_ClearQueue [08:57:55]wFMCommunicate request_size=4 [08:57:55]MH_SAM_APDU [08:57:55]CAPDU: 80 09 00 00 [08:57:55]Write to MH i2c: E2 08 00 AA 26 80 09 00 00 00 00 00 00 42 [08:57:55]Write i2c OK [08:57:55]MH_I2C_Read... [08:57:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:57:55]Read from MH i2c: E2 [08:57:55]MH_I2C_Read... [08:57:55]Read from MH i2c: E2 03 00 [08:57:55]MH_I2C_Read... [08:57:55]Read from MH i2c: E2 03 00 AA 26 00 90 00 44 [08:57:55]RAPDU: 90 00 [08:57:55]wFMCommunicate OK [08:57:55]SAM_PROTO_ClearQueue done [08:57:55]KKMCreateOFDPacket [08:57:55]OFDProtocolAddRootSTLVToBuf [08:57:55]FM_MakeSignedData [08:57:55]FM_MakeSignedData [08:57:55]SAM_PROTO_SignData [08:57:55]wFMCommunicate request_size=4 [08:57:55]MH_SAM_APDU [08:57:55]CAPDU: 80 0D 01 02 [08:57:55]Write to MH i2c: E2 08 00 AB 26 80 0D 01 02 00 00 00 00 4A [08:57:55]Write i2c OK [08:57:55]MH_I2C_Read... [08:57:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:57:55]Read from MH i2c: E2 [08:57:55]MH_I2C_Read... [08:57:55]Read from MH i2c: E2 03 00 [08:57:55]MH_I2C_Read... [08:57:55]Read from MH i2c: E2 03 00 AB 26 00 90 00 45 [08:57:55]RAPDU: 90 00 [08:57:55]wFMCommunicate OK [08:57:55]wFMCommunicate request_size=255 [08:57:55]MH_SAM_APDU [08:57:55]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 09 00 00 00 F4 03 04 00 1A 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 30 BF 00 00 35 04 06 00 AC [08:57:55]Write to MH i2c: E2 02 01 AC 26 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 09 00 00 00 F4 03 04 00 1A 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 30 BF 00 00 35 04 06 00 AC 00 00 F4 [08:57:55]Write i2c OK [08:57:55]MH_I2C_Read... [08:57:55]OFD Sender: No OFD packet to send [08:57:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:57:55]Read from MH i2c: E2 [08:57:55]MH_I2C_Read... [08:57:55]Read from MH i2c: E2 03 00 [08:57:55]MH_I2C_Read... [08:57:55]Read from MH i2c: E2 03 00 AC 26 00 90 00 46 [08:57:55]RAPDU: 90 00 [08:57:55]wFMCommunicate OK [08:57:55]wFMCommunicate request_size=10 [08:57:55]MH_SAM_APDU [08:57:55]CAPDU: 80 0D 02 02 05 7A 98 A3 07 7E [08:57:55]Write to MH i2c: E2 0D 00 AD 26 80 0D 02 02 05 00 7A 98 A3 07 7E 00 00 91 [08:57:55]Write i2c OK [08:57:55]MH_I2C_Read... [08:57:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:57:55]Read from MH i2c: E2 [08:57:55]MH_I2C_Read... [08:57:55]Read from MH i2c: E2 03 00 [08:57:55]MH_I2C_Read... [08:57:55]Read from MH i2c: E2 03 00 AD 26 00 90 00 47 [08:57:55]RAPDU: 90 00 [08:57:55]wFMCommunicate OK [08:57:55]wFMCommunicate request_size=4 [08:57:55]MH_SAM_APDU [08:57:55]CAPDU: 80 0D 03 02 [08:57:55]Write to MH i2c: E2 08 00 AE 26 80 0D 03 02 00 00 00 00 4F [08:57:55]Write i2c OK [08:57:55]MH_I2C_Read... [08:57:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:57:56]Read from MH i2c: E2 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: E2 0B 00 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: E2 0B 00 AE 26 00 4B 66 8C 68 1C D4 F0 63 90 00 38 [08:57:56]RAPDU: 4B 66 8C 68 1C D4 F0 63 90 00 [08:57:56]wFMCommunicate OK [08:57:56]SAM_PROTO_SignData done [08:57:56]FM_MakeSignedData done [08:57:56]CreateOFDProtocolMessage [08:57:56]wFMCommunicate request_size=4 [08:57:56]MH_SAM_APDU [08:57:56]CAPDU: 80 11 00 00 [08:57:56]Write to MH i2c: E2 08 00 AF 26 80 11 00 00 00 00 00 00 4F [08:57:56]Write i2c OK [08:57:56]MH_I2C_Read... [08:57:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:56]Read from MH i2c: E2 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: E2 17 00 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: E2 17 00 AF 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 9C [08:57:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:57:56]wFMCommunicate OK [08:57:56]CreateOFDProtocolMessage done [08:57:56]OFDSenderStorePacket 48944 [08:57:56]StoreOFDPacket docnum=48944 [08:57:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 FB BF 07 01 20 DD 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 09 00 00 00 F4 03 04 00 1A 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 30 BF 00 00 35 04 06 00 AC 7A 98 A3 07 7E 4B 66 8C 68 1C D4 F0 63 [08:57:56]CheckFolder [08:57:56]dirname=/storage/ofd_packets [08:57:56]CheckFolder done [08:57:56]ProducePacketName [08:57:56]name=ofd_packets/00048944 [08:57:56]NVStorageSaveData ofd_packets/00048944 [08:57:56]File name is /storage/ofd_packets/00048944 [08:57:56]Write 301 bytes [08:57:56]NVStorageSaveData done [08:57:56]OFDSenderStorePacket done [08:57:56]KKMCreateOFDPacket done [08:57:56]NVStorageSaveData kkm_last_timestamp [08:57:56]File name is /storage/kkm_last_timestamp [08:57:56]Write 4 bytes [08:57:56]NVStorageSaveData done [08:57:56]ExternCall_PrintAddStr [08:57:56]wPrintStart [08:57:56]Write to MH i2c: 01 00 00 B0 26 D6 [08:57:56]Write i2c OK [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: 01 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: 01 07 00 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: 01 07 00 B0 26 00 00 00 00 00 FF 0F EB [08:57:56]RasterBufferAndPrint [08:57:56]line Счет N : (1)216041 [08:57:56]line ИÐÐ: 02508201610067 [08:57:56]line Контрольно-КаÑÑовый Чек [08:57:56]line ПРОДÐЖР[08:57:56]line ТРК (МРК, ГÐК) : 22 [08:57:56]line Товар: 2710124130 [08:57:56]line Ðи-92-К-5 [08:57:56]line 4.980 * 60.30 [08:57:56]line = 300.29 [08:57:56]line ÐДС 12% ÐСП 1% [08:57:56]line > о реализуемом товаре [08:57:56]line ОКРУГЛЕÐИЕ: -0.29 [08:57:56]line ИТОГО: 300.00 [08:57:56]line ВнеÑено: 300.00 [08:57:56]line СДÐЧÐ: 0.00 [08:57:56]line ÐСП 1% : 2.66 [08:57:56]line ÐДС 12% : 31.89 [08:57:56]line Ðаличными: 300.00 [08:57:56]line Безнал.: 0.00 [08:57:56]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [08:57:56]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [08:57:56]line СÐО: Общий режим [08:57:56]line Чек 9 28.01.2024 08:58 [08:57:56]line Смена: 244 ФФД: 1.0 [08:57:56]line ЗÐМ: 0300000040 [08:57:56]line РÐМ: 0000000000092723 [08:57:56]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:57:56]line ФМ: 0000000000875060 [08:57:56]line ФД: 48944 [08:57:56]line ФПД: 189642546808702 [08:57:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T085802&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48944&fm=189642546808702&tin=02508201610067®Number=0000000000092723&sum=30000 [08:57:56]OFD Sender: Processing packet 48944 [packets to send 12, broken 11] [08:57:56]ProducePacketName [08:57:56]name=ofd_packets/00048944 [08:57:56]OFD Sender: To server: ‡•öpG, [08:57:56]CommunicateWithHost lk.salyk.kg:30040 [08:57:56]ConnectInit lk.salyk.kg [08:57:56]written 0, free lines is 4095 [08:57:56]Connected sock=10 [08:57:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 FB BF 07 01 20 DD 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 09 00 00 00 F4 03 04 00 1A 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 30 BF 00 00 35 04 06 00 AC 7A 98 A3 07 7E 4B 66 8C 68 1C D4 F0 63 [08:57:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 88 36 47 00 BE 01 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 30 BF 00 00 F4 03 04 00 16 C3 B5 65 B6 04 01 00 00 1A C0 42 D8 51 FB 08 D2 [08:57:56]CommunicateWithHost err = 0 [08:57:56]CheckOFDResponse [08:57:56]1017 (14) - 77093643461234 [08:57:56]1041 (16) - 0000000000875060 [08:57:56]1040 (4) - 48944 [08:57:56]1012 (4) - 28.01.2024 02:59 [08:57:56]1206 (1) - 0 [08:57:56]OFD Sender: Remove packet 48944 [08:57:56]ProducePacketName [08:57:56]name=ofd_packets/00048944 [08:57:56]NVStorageDeleteData [08:57:56]Write to MH i2c: 01 00 00 DB 26 01 [08:57:56]Write i2c OK [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: 01 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: 01 07 00 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: 01 07 00 DB 26 00 00 00 00 00 FF 0C 13 [08:57:56]RasterBufferAndPrint [08:57:56]line [08:57:56]line [08:57:56]line [08:57:56]line [08:57:56]line [08:57:56]written 0, free lines is 3333 [08:57:56]MH_Cut [08:57:56]Write to MH i2c: D1 01 00 E2 26 01 DA [08:57:56]Write i2c OK [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: D1 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: D1 01 00 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: D1 01 00 E2 26 00 D9 [08:57:56]Write to MH i2c: 01 00 00 E3 26 09 [08:57:56]Write i2c OK [08:57:56]MH_I2C_Read... [08:57:57]OFD Sender: No OFD packet to send [08:57:57]*** Cut start [08:57:57]*** Partial cut [08:57:57]*** CUTSNS_PIN = 1 [08:57:57]*** CUTSNS_PIN = 0 [08:57:57]*** Brake cut motor [08:57:58]Read from MH i2c: 01 [08:57:58]MH_I2C_Read... [08:57:58]*** Stop cut motor [08:57:58]*** Cut end [08:57:58]Read from MH i2c: 01 07 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: 01 07 00 E3 26 00 00 00 00 00 FF 0F 1E [08:57:58]process_action close_receipt done [08:57:58]requested_data is exist [08:57:58]produce_requested_data [08:57:58]requested_item fm.sn is exist - process it [08:57:58]wFMCommunicate request_size=4 [08:57:58]MH_SAM_APDU [08:57:58]CAPDU: 80 11 00 00 [08:57:58]Write to MH i2c: E2 08 00 E4 26 80 11 00 00 00 00 00 00 84 [08:57:58]Write i2c OK [08:57:58]MH_I2C_Read... [08:57:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:58]Read from MH i2c: E2 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 17 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 17 00 E4 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D1 [08:57:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:57:58]wFMCommunicate OK [08:57:58]requested_item fd.num is exist - process it [08:57:58]SAM_PROTO_GetFieldsCounters [08:57:58]wFMCommunicate request_size=4 [08:57:58]MH_SAM_APDU [08:57:58]CAPDU: 80 13 00 00 [08:57:58]Write to MH i2c: E2 08 00 E5 26 80 13 00 00 00 00 00 00 87 [08:57:58]Write i2c OK [08:57:58]MH_I2C_Read... [08:57:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:57:58]Read from MH i2c: E2 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 62 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 62 00 E5 26 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 30 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [08:57: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 30 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:57:58]wFMCommunicate OK [08:57:58]SAM_PROTO_GetFieldsCounters done [08:57:58]requested_item shift.num is exist - process it [08:57:58]requested_item shift.opened is exist - process it [08:57:58]req_shift_opened [08:57:58]FM_GetShiftState [08:57:58]SAM_PROTO_GetShiftState [08:57:58]wFMCommunicate request_size=4 [08:57:58]MH_SAM_APDU [08:57:58]CAPDU: 80 13 01 00 [08:57:58]Write to MH i2c: E2 08 00 E6 26 80 13 01 00 00 00 00 00 89 [08:57:58]Write i2c OK [08:57:58]MH_I2C_Read... [08:57:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:57:58]Read from MH i2c: E2 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 0E 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 0E 00 E6 26 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 0F [08:57:58]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:57:58]wFMCommunicate OK [08:57:58]SAM_PROTO_GetShiftState done [08:57:58]FM_GetShiftState done [08:57:58]req_shift_opened done [08:57:58]requested_item shift.open_date is exist - process it [08:57:58]req_shift_open_date [08:57:58]req_shift_open_date done [08:57:58]produce_requested_data done [08:57:58]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48944,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [08:57:58]process_action_free close_receipt [08:57:58]json_value_free [08:57:58]json_value_free done [08:57:58]process_json_proto returns [08:57:58]Send response to host [08:57:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48944,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [08:57:58]free response buf [08:57:58]execute_script done [08:57:58]execute_script returns [08:57:58]free content buf [08:57:58]Sock 7.Close socket [08:57:58]Sock 7.Thread stoped [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]OFD Sender: No OFD packet to send [08:58:52]OFD Sender: No OFD packet to send [08:58:57]OFD Sender: No OFD packet to send [08:59:01]accept exits with 9 [08:59:01]New connection [08:59:01]New thread 3066670436 created [08:59:01]Thread 3066813796 joined [08:59:01]Waiting for new connection... [08:59:01] Sock 9.Parse request [08:59:01]Sock 9.Check first char [08:59:01]Sock 9.First char is OK [08:59:01]request: POST /json_proto HTTP/1.0 [08:59:01]Method: POST [08:59:01]URL: /json_proto [08:59:01]Method is POST - this is cgi request [08:59:01]url: /json_proto [08:59:01]query_string will be loaded in cgi processing [08:59:01]execute_cgi json_proto POST (null) [08:59:01]execute_cgi path=json_proto method=POST [08:59:01]POST find Content-Length [08:59:01]Host: 172.17.56.67:8080 [08:59:01]Content-Length: 677 [08:59:01]Content-Type: application/json [08:59:01] [08:59:01]POST finish read [08:59:01]Found Content-Length = 677 [08:59:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216042", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [08:59:01]execute_script... [08:59:01]execute_script path=json_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)216042", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [08:59:01]POST & json_proto [08:59:01]process_json_proto [08:59:01]json parsed OK: [08:59:01]protocol is kg_v1.0 [08:59:01]action value=close_receipt [08:59:01]process_action close_receipt [08:59:01]cmd_close_receipt [08:59:01]MH_GetDate [08:59:01]Write to MH i2c: F0 00 00 E7 26 FC [08:59:01]Write i2c OK [08:59:01]MH_I2C_Read... [08:59:01]Read from MH i2c: F0 [08:59:01]MH_I2C_Read... [08:59:01]Read from MH i2c: F0 09 00 [08:59:01]MH_I2C_Read... [08:59:01]Read from MH i2c: F0 09 00 E7 26 00 5D 17 B6 65 26 5D 9E 65 1A [08:59:01]GetLastDocTimeStamp 1706432282 [08:59:01]current date 1706432349 [08:59:01]FM_GetShiftState [08:59:01]SAM_PROTO_GetShiftState [08:59:01]wFMCommunicate request_size=4 [08:59:01]MH_SAM_APDU [08:59:01]CAPDU: 80 13 01 00 [08:59:01]Write to MH i2c: E2 08 00 E8 26 80 13 01 00 00 00 00 00 8B [08:59:01]Write i2c OK [08:59:01]MH_I2C_Read... [08:59:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:59:01]Read from MH i2c: E2 [08:59:01]MH_I2C_Read... [08:59:01]Read from MH i2c: E2 0E 00 [08:59:01]MH_I2C_Read... [08:59:01]Read from MH i2c: E2 0E 00 E8 26 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 11 [08:59:01]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:59:01]wFMCommunicate OK [08:59:01]SAM_PROTO_GetShiftState done [08:59:01]FM_GetShiftState done [08:59:01]opened in 1706400199 [08:59:01]opened+sec_in_day 1706486599 [08:59:01]quantity*price = 30029 [08:59:01]sum+1 = 30030 [08:59:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 10 28.01.2024 08:59 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48945 ФПД: 272965679267575 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T085909&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48945&fm=272965679267575&tin=02508201610067®Number=0000000000092723&sum=30000 [08:59:02]StoreToDocumentArchive [08:59:02]shift 244 fd 48945 [08:59:02]save to /storage/0244/doc_00048945 [08:59:02]save last doc name /storage/0244/doc_00048945 to /storage/kkm_last_doc_name [08:59:02]save OK [08:59:02]Clear old archive folders... [08:59:02]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:59:02]tlvbuf is 011FA920 [08:59:02]SAM_PROTO_ClearQueue [08:59:02]wFMCommunicate request_size=4 [08:59:02]MH_SAM_APDU [08:59:02]CAPDU: 80 09 00 00 [08:59:02]Write to MH i2c: E2 08 00 F5 26 80 09 00 00 00 00 00 00 8D [08:59:02]Write i2c OK [08:59:02]MH_I2C_Read... [08:59:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:59:03]Read from MH i2c: E2 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 03 00 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 03 00 F5 26 00 90 00 8F [08:59:03]RAPDU: 90 00 [08:59:03]wFMCommunicate OK [08:59:03]SAM_PROTO_ClearQueue done [08:59:03]KKMCreateOFDPacket [08:59:03]OFDProtocolAddRootSTLVToBuf [08:59:03]FM_MakeSignedData [08:59:03]FM_MakeSignedData [08:59:03]SAM_PROTO_SignData [08:59:03]wFMCommunicate request_size=4 [08:59:03]MH_SAM_APDU [08:59:03]CAPDU: 80 0D 01 02 [08:59:03]Write to MH i2c: E2 08 00 F6 26 80 0D 01 02 00 00 00 00 95 [08:59:03]Write i2c OK [08:59:03]MH_I2C_Read... [08:59:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:59:03]Read from MH i2c: E2 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 03 00 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 03 00 F6 26 00 90 00 90 [08:59:03]RAPDU: 90 00 [08:59:03]wFMCommunicate OK [08:59:03]wFMCommunicate request_size=255 [08:59:03]MH_SAM_APDU [08:59:03]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0A 00 00 00 F4 03 04 00 5D 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 31 BF 00 00 35 04 06 00 F8 [08:59:03]Write to MH i2c: E2 02 01 F7 26 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0A 00 00 00 F4 03 04 00 5D 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 31 BF 00 00 35 04 06 00 F8 00 00 D0 [08:59:03]Write i2c OK [08:59:03]MH_I2C_Read... [08:59:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:03]Read from MH i2c: E2 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 03 00 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 03 00 F7 26 00 90 00 91 [08:59:03]RAPDU: 90 00 [08:59:03]wFMCommunicate OK [08:59:03]wFMCommunicate request_size=10 [08:59:03]MH_SAM_APDU [08:59:03]CAPDU: 80 0D 02 02 05 42 C6 59 3E F7 [08:59:03]Write to MH i2c: E2 0D 00 F8 26 80 0D 02 02 05 00 42 C6 59 3E F7 00 00 38 [08:59:03]Write i2c OK [08:59:03]MH_I2C_Read... [08:59:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:03]Read from MH i2c: E2 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 03 00 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 03 00 F8 26 00 90 00 92 [08:59:03]RAPDU: 90 00 [08:59:03]wFMCommunicate OK [08:59:03]wFMCommunicate request_size=4 [08:59:03]MH_SAM_APDU [08:59:03]CAPDU: 80 0D 03 02 [08:59:03]Write to MH i2c: E2 08 00 F9 26 80 0D 03 02 00 00 00 00 9A [08:59:03]Write i2c OK [08:59:03]MH_I2C_Read... [08:59:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:59:03]Read from MH i2c: E2 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 0B 00 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 0B 00 F9 26 00 30 16 46 DA 3A 12 92 AC 90 00 8B [08:59:03]RAPDU: 30 16 46 DA 3A 12 92 AC 90 00 [08:59:03]wFMCommunicate OK [08:59:03]SAM_PROTO_SignData done [08:59:03]FM_MakeSignedData done [08:59:03]CreateOFDProtocolMessage [08:59:03]wFMCommunicate request_size=4 [08:59:03]MH_SAM_APDU [08:59:03]CAPDU: 80 11 00 00 [08:59:03]Write to MH i2c: E2 08 00 FA 26 80 11 00 00 00 00 00 00 9A [08:59:03]Write i2c OK [08:59:03]MH_I2C_Read... [08:59:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:59:03]Read from MH i2c: E2 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 17 00 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: E2 17 00 FA 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 E7 [08:59:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:59:03]wFMCommunicate OK [08:59:03]CreateOFDProtocolMessage done [08:59:03]OFDSenderStorePacket 48945 [08:59:03]StoreOFDPacket docnum=48945 [08:59:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F6 12 07 01 CA 32 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0A 00 00 00 F4 03 04 00 5D 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 31 BF 00 00 35 04 06 00 F8 42 C6 59 3E F7 30 16 46 DA 3A 12 92 AC [08:59:03]CheckFolder [08:59:03]dirname=/storage/ofd_packets [08:59:03]CheckFolder done [08:59:03]ProducePacketName [08:59:03]name=ofd_packets/00048945 [08:59:03]NVStorageSaveData ofd_packets/00048945 [08:59:03]File name is /storage/ofd_packets/00048945 [08:59:03]Write 301 bytes [08:59:03]NVStorageSaveData done [08:59:03]OFDSenderStorePacket done [08:59:03]KKMCreateOFDPacket done [08:59:03]NVStorageSaveData kkm_last_timestamp [08:59:03]File name is /storage/kkm_last_timestamp [08:59:03]Write 4 bytes [08:59:03]NVStorageSaveData done [08:59:03]ExternCall_PrintAddStr [08:59:03]wPrintStart [08:59:03]Write to MH i2c: 01 00 00 FB 26 21 [08:59:03]Write i2c OK [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: 01 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: 01 07 00 [08:59:03]MH_I2C_Read... [08:59:03]Read from MH i2c: 01 07 00 FB 26 00 00 00 00 00 FF 0F 36 [08:59:03]RasterBufferAndPrint [08:59:03]line Счет N : (1)216042 [08:59:03]line ИÐÐ: 02508201610067 [08:59:03]line Контрольно-КаÑÑовый Чек [08:59:03]line ПРОДÐЖР[08:59:03]line ТРК (МРК, ГÐК) : 22 [08:59:03]line Товар: 2710124130 [08:59:03]line Ðи-92-К-5 [08:59:03]line 4.980 * 60.30 [08:59:03]line = 300.29 [08:59:03]line ÐДС 12% ÐСП 1% [08:59:03]line > о реализуемом товаре [08:59:03]line ОКРУГЛЕÐИЕ: -0.29 [08:59:03]line ИТОГО: 300.00 [08:59:03]line ВнеÑено: 300.00 [08:59:03]line СДÐЧÐ: 0.00 [08:59:03]line ÐСП 1% : 2.66 [08:59:03]line ÐДС 12% : 31.89 [08:59:03]line Ðаличными: 300.00 [08:59:03]line Безнал.: 0.00 [08:59:03]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [08:59:03]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [08:59:03]line СÐО: Общий режим [08:59:03]line Чек 10 28.01.2024 08:59 [08:59:03]line Смена: 244 ФФД: 1.0 [08:59:03]line ЗÐМ: 0300000040 [08:59:03]line РÐМ: 0000000000092723 [08:59:03]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:59:03]line ФМ: 0000000000875060 [08:59:03]line ФД: 48945 [08:59:03]line ФПД: 272965679267575 [08:59:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T085909&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48945&fm=272965679267575&tin=02508201610067®Number=0000000000092723&sum=30000 [08:59:03]written 0, free lines is 4095 [08:59:03]OFD Sender: Processing packet 48945 [packets to send 12, broken 11] [08:59:03]ProducePacketName [08:59:03]name=ofd_packets/00048945 [08:59:03]OFD Sender: To server: ‡•öpG, [08:59:03]CommunicateWithHost lk.salyk.kg:30040 [08:59:03]ConnectInit lk.salyk.kg [08:59:03]Connected sock=10 [08:59:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F6 12 07 01 CA 32 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0A 00 00 00 F4 03 04 00 5D 17 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 31 BF 00 00 35 04 06 00 F8 42 C6 59 3E F7 30 16 46 DA 3A 12 92 AC [08:59:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 70 94 47 00 0C A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 31 BF 00 00 F4 03 04 00 59 C3 B5 65 B6 04 01 00 00 66 77 98 26 52 D3 CA 6B [08:59:04]CommunicateWithHost err = 0 [08:59:04]CheckOFDResponse [08:59:04]1017 (14) - 77093643461234 [08:59:04]1041 (16) - 0000000000875060 [08:59:04]1040 (4) - 48945 [08:59:04]1012 (4) - 28.01.2024 03:00 [08:59:04]1206 (1) - 0 [08:59:04]OFD Sender: Remove packet 48945 [08:59:04]ProducePacketName [08:59:04]name=ofd_packets/00048945 [08:59:04]NVStorageDeleteData [08:59:04]Write to MH i2c: 01 00 00 26 27 4D [08:59:04]Write i2c OK [08:59:04]MH_I2C_Read... [08:59:04]Read from MH i2c: 01 [08:59:04]MH_I2C_Read... [08:59:04]Read from MH i2c: 01 07 00 [08:59:04]MH_I2C_Read... [08:59:04]Read from MH i2c: 01 07 00 26 27 00 00 00 00 00 F8 0C 58 [08:59:04]RasterBufferAndPrint [08:59:04]line [08:59:04]line [08:59:04]line [08:59:04]line [08:59:04]line [08:59:04]written 0, free lines is 3329 [08:59:04]MH_Cut [08:59:04]Write to MH i2c: D1 01 00 2D 27 01 26 [08:59:04]Write i2c OK [08:59:04]MH_I2C_Read... [08:59:04]Read from MH i2c: D1 [08:59:04]MH_I2C_Read... [08:59:04]Read from MH i2c: D1 01 00 [08:59:04]MH_I2C_Read... [08:59:04]Read from MH i2c: D1 01 00 2D 27 00 25 [08:59:04]Write to MH i2c: 01 00 00 2E 27 55 [08:59:04]Write i2c OK [08:59:04]MH_I2C_Read... [08:59:04]OFD Sender: No OFD packet to send [08:59:04]*** Cut start [08:59:04]*** Partial cut [08:59:04]*** CUTSNS_PIN = 1 [08:59:05]*** CUTSNS_PIN = 0 [08:59:05]*** Brake cut motor [08:59:05]Read from MH i2c: 01 [08:59:05]MH_I2C_Read... [08:59:05]*** Stop cut motor [08:59:05]*** Cut end [08:59:05]Read from MH i2c: 01 07 00 [08:59:05]MH_I2C_Read... [08:59:05]Read from MH i2c: 01 07 00 2E 27 00 00 00 00 00 FF 0F 6A [08:59:05]process_action close_receipt done [08:59:05]requested_data is exist [08:59:05]produce_requested_data [08:59:05]requested_item fm.sn is exist - process it [08:59:05]wFMCommunicate request_size=4 [08:59:05]MH_SAM_APDU [08:59:05]CAPDU: 80 11 00 00 [08:59:05]Write to MH i2c: E2 08 00 2F 27 80 11 00 00 00 00 00 00 D0 [08:59:05]Write i2c OK [08:59:05]MH_I2C_Read... [08:59:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:59:05]Read from MH i2c: E2 [08:59:05]MH_I2C_Read... [08:59:05]Read from MH i2c: E2 17 00 [08:59:05]MH_I2C_Read... [08:59:05]Read from MH i2c: E2 17 00 2F 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 1D [08:59:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [08:59:05]wFMCommunicate OK [08:59:05]requested_item fd.num is exist - process it [08:59:05]SAM_PROTO_GetFieldsCounters [08:59:05]wFMCommunicate request_size=4 [08:59:05]MH_SAM_APDU [08:59:05]CAPDU: 80 13 00 00 [08:59:05]Write to MH i2c: E2 08 00 30 27 80 13 00 00 00 00 00 00 D3 [08:59:05]Write i2c OK [08:59:05]MH_I2C_Read... [08:59:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:59:05]Read from MH i2c: E2 [08:59:05]MH_I2C_Read... [08:59:05]Read from MH i2c: E2 62 00 [08:59:05]MH_I2C_Read... [08:59:05]Read from MH i2c: E2 62 00 30 27 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 31 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [08: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 31 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:59:05]wFMCommunicate OK [08:59:05]SAM_PROTO_GetFieldsCounters done [08:59:05]requested_item shift.num is exist - process it [08:59:05]requested_item shift.opened is exist - process it [08:59:05]req_shift_opened [08:59:05]FM_GetShiftState [08:59:05]SAM_PROTO_GetShiftState [08:59:05]wFMCommunicate request_size=4 [08:59:05]MH_SAM_APDU [08:59:05]CAPDU: 80 13 01 00 [08:59:05]Write to MH i2c: E2 08 00 31 27 80 13 01 00 00 00 00 00 D5 [08:59:05]Write i2c OK [08:59:05]MH_I2C_Read... [08:59:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:59:05]Read from MH i2c: E2 [08:59:05]MH_I2C_Read... [08:59:05]Read from MH i2c: E2 0E 00 [08:59:05]MH_I2C_Read... [08:59:05]Read from MH i2c: E2 0E 00 31 27 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 5B [08:59:05]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [08:59:05]wFMCommunicate OK [08:59:05]SAM_PROTO_GetShiftState done [08:59:05]FM_GetShiftState done [08:59:05]req_shift_opened done [08:59:05]requested_item shift.open_date is exist - process it [08:59:05]req_shift_open_date [08:59:05]req_shift_open_date done [08:59:05]produce_requested_data done [08:59:05]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48945,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [08:59:05]process_action_free close_receipt [08:59:05]json_value_free [08:59:05]json_value_free done [08:59:05]process_json_proto returns [08:59:05]Send response to host [08:59:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48945,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [08:59:05]free response buf [08:59:05]execute_script done [08:59:05]execute_script returns [08:59:05]free content buf [08:59:05]Sock 9.Close socket [08:59:05]Sock 9.Thread stoped [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:19]OFD Sender: No OFD packet to send [09:01:24]OFD Sender: No OFD packet to send [09:01:29]OFD Sender: No OFD packet to send [09:01:34]OFD Sender: No OFD packet to send [09:01:39]OFD Sender: No OFD packet to send [09:01:44]OFD Sender: No OFD packet to send [09:01:49]OFD Sender: No OFD packet to send [09:01:54]OFD Sender: No OFD packet to send [09:01:59]OFD Sender: No OFD packet to send [09:02:04]OFD Sender: No OFD packet to send [09:02:09]OFD Sender: No OFD packet to send [09:02:14]OFD Sender: No OFD packet to send [09:02:19]OFD Sender: No OFD packet to send [09:02:24]OFD Sender: No OFD packet to send [09:02:29]OFD Sender: No OFD packet to send [09:02:34]OFD Sender: No OFD packet to send [09:02:39]OFD Sender: No OFD packet to send [09:02:44]OFD Sender: No OFD packet to send [09:02:49]OFD Sender: No OFD packet to send [09:02:54]OFD Sender: No OFD packet to send [09:02:59]OFD Sender: No OFD packet to send [09:03:04]OFD Sender: No OFD packet to send [09:03:09]OFD Sender: No OFD packet to send [09:03:14]OFD Sender: No OFD packet to send [09:03:19]OFD Sender: No OFD packet to send [09:03:24]OFD Sender: No OFD packet to send [09:03:29]OFD Sender: No OFD packet to send [09:03:34]OFD Sender: No OFD packet to send [09:03:39]OFD Sender: No OFD packet to send [09:03:44]OFD Sender: No OFD packet to send [09:03:49]OFD Sender: No OFD packet to send [09:03:54]OFD Sender: No OFD packet to send [09:03:59]OFD Sender: No OFD packet to send [09:04:04]OFD Sender: No OFD packet to send [09:04:09]OFD Sender: No OFD packet to send [09:04:14]OFD Sender: No OFD packet to send [09:04:19]OFD Sender: No OFD packet to send [09:04:24]OFD Sender: No OFD packet to send [09:04:29]OFD Sender: No OFD packet to send [09:04:34]OFD Sender: No OFD packet to send [09:04:39]OFD Sender: No OFD packet to send [09:04:44]OFD Sender: No OFD packet to send [09:04:49]OFD Sender: No OFD packet to send [09:04:54]OFD Sender: No OFD packet to send [09:04:59]OFD Sender: No OFD packet to send [09:05:04]OFD Sender: No OFD packet to send [09:05:09]OFD Sender: No OFD packet to send [09:05:14]OFD Sender: No OFD packet to send [09:05:19]OFD Sender: No OFD packet to send [09:05:24]OFD Sender: No OFD packet to send [09:05:29]OFD Sender: No OFD packet to send [09:05:34]OFD Sender: No OFD packet to send [09:05:39]OFD Sender: No OFD packet to send [09:05:44]OFD Sender: No OFD packet to send [09:05:49]OFD Sender: No OFD packet to send [09:05:54]OFD Sender: No OFD packet to send [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:17]accept exits with 7 [09:07:17]New connection [09:07:17]New thread 3066813796 created [09:07:17]Thread 3066670436 joined [09:07:17]Waiting for new connection... [09:07:17] Sock 7.Parse request [09:07:17]Sock 7.Check first char [09:07:17]Sock 7.First char is OK [09:07:17]request: POST /json_proto HTTP/1.0 [09:07:17]Method: POST [09:07:17]URL: /json_proto [09:07:17]Method is POST - this is cgi request [09:07:17]url: /json_proto [09:07:17]query_string will be loaded in cgi processing [09:07:17]execute_cgi json_proto POST (null) [09:07:17]execute_cgi path=json_proto method=POST [09:07:17]POST find Content-Length [09:07:17]Host: 172.17.56.67:8080 [09:07:17]Content-Length: 677 [09:07:17]Content-Type: application/json [09:07:17] [09:07:17]POST finish read [09:07:17]Found Content-Length = 677 [09:07:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216043", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [09:07:17]execute_script... [09:07: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 : (1)216043", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [09:07:17]POST & json_proto [09:07:17]process_json_proto [09:07:17]json parsed OK: [09:07:17]protocol is kg_v1.0 [09:07:17]action value=close_receipt [09:07:17]process_action close_receipt [09:07:17]cmd_close_receipt [09:07:17]MH_GetDate [09:07:17]Write to MH i2c: F0 00 00 32 27 48 [09:07:17]Write i2c OK [09:07:17]MH_I2C_Read... [09:07:17]Read from MH i2c: F0 [09:07:17]MH_I2C_Read... [09:07:17]Read from MH i2c: F0 09 00 [09:07:17]MH_I2C_Read... [09:07:17]Read from MH i2c: F0 09 00 32 27 00 4C 19 B6 65 26 5D 9E 65 57 [09:07:17]GetLastDocTimeStamp 1706432349 [09:07:17]current date 1706432844 [09:07:17]FM_GetShiftState [09:07:17]SAM_PROTO_GetShiftState [09:07:17]wFMCommunicate request_size=4 [09:07:17]MH_SAM_APDU [09:07:17]CAPDU: 80 13 01 00 [09:07:17]Write to MH i2c: E2 08 00 33 27 80 13 01 00 00 00 00 00 D7 [09:07:17]Write i2c OK [09:07:17]MH_I2C_Read... [09:07:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:07:17]Read from MH i2c: E2 [09:07:17]MH_I2C_Read... [09:07:17]Read from MH i2c: E2 0E 00 [09:07:17]MH_I2C_Read... [09:07:17]Read from MH i2c: E2 0E 00 33 27 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 5D [09:07:17]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:07:17]wFMCommunicate OK [09:07:17]SAM_PROTO_GetShiftState done [09:07:17]FM_GetShiftState done [09:07:17]opened in 1706400199 [09:07:17]opened+sec_in_day 1706486599 [09:07:17]quantity*price = 20019 [09:07:17]sum+1 = 20021 [09:07:17]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 11 28.01.2024 09:07 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48946 ФПД: 135994199150186 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T090724&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48946&fm=135994199150186&tin=02508201610067®Number=0000000000092723&sum=20000 [09:07:18]StoreToDocumentArchive [09:07:18]shift 244 fd 48946 [09:07:18]save to /storage/0244/doc_00048946 [09:07:18]save last doc name /storage/0244/doc_00048946 to /storage/kkm_last_doc_name [09:07:18]save OK [09:07:18]Clear old archive folders... [09:07:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:07:18]tlvbuf is 01214680 [09:07:18]SAM_PROTO_ClearQueue [09:07:18]wFMCommunicate request_size=4 [09:07:18]MH_SAM_APDU [09:07:18]CAPDU: 80 09 00 00 [09:07:18]Write to MH i2c: E2 08 00 40 27 80 09 00 00 00 00 00 00 D9 [09:07:18]Write i2c OK [09:07:18]MH_I2C_Read... [09:07:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:07:18]Read from MH i2c: E2 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 03 00 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 03 00 40 27 00 90 00 DB [09:07:18]RAPDU: 90 00 [09:07:18]wFMCommunicate OK [09:07:18]SAM_PROTO_ClearQueue done [09:07:18]KKMCreateOFDPacket [09:07:18]OFDProtocolAddRootSTLVToBuf [09:07:18]FM_MakeSignedData [09:07:18]FM_MakeSignedData [09:07:18]SAM_PROTO_SignData [09:07:18]wFMCommunicate request_size=4 [09:07:18]MH_SAM_APDU [09:07:18]CAPDU: 80 0D 01 02 [09:07:18]Write to MH i2c: E2 08 00 41 27 80 0D 01 02 00 00 00 00 E1 [09:07:18]Write i2c OK [09:07:18]MH_I2C_Read... [09:07:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:07:18]Read from MH i2c: E2 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 03 00 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 03 00 41 27 00 90 00 DC [09:07:18]RAPDU: 90 00 [09:07:18]wFMCommunicate OK [09:07:18]wFMCommunicate request_size=255 [09:07:18]MH_SAM_APDU [09:07:18]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 0B 00 00 00 F4 03 04 00 4C 19 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 32 BF 00 00 35 04 06 00 7B [09:07:18]Write to MH i2c: E2 02 01 42 27 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 0B 00 00 00 F4 03 04 00 4C 19 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 32 BF 00 00 35 04 06 00 7B 00 00 DC [09:07:18]Write i2c OK [09:07:18]MH_I2C_Read... [09:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:07:18]Read from MH i2c: E2 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 03 00 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 03 00 42 27 00 90 00 DD [09:07:18]RAPDU: 90 00 [09:07:18]wFMCommunicate OK [09:07:18]wFMCommunicate request_size=10 [09:07:18]MH_SAM_APDU [09:07:18]CAPDU: 80 0D 02 02 05 AF 9D EE 8E 6A [09:07:18]Write to MH i2c: E2 0D 00 43 27 80 0D 02 02 05 00 AF 9D EE 8E 6A 00 00 20 [09:07:18]Write i2c OK [09:07:18]MH_I2C_Read... [09:07:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:07:18]Read from MH i2c: E2 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 03 00 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 03 00 43 27 00 90 00 DE [09:07:18]RAPDU: 90 00 [09:07:18]wFMCommunicate OK [09:07:18]wFMCommunicate request_size=4 [09:07:18]MH_SAM_APDU [09:07:18]CAPDU: 80 0D 03 02 [09:07:18]Write to MH i2c: E2 08 00 44 27 80 0D 03 02 00 00 00 00 E6 [09:07:18]Write i2c OK [09:07:18]MH_I2C_Read... [09:07:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:07:18]Read from MH i2c: E2 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 0B 00 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 0B 00 44 27 00 F6 85 4B 84 FD 1E D8 B5 90 00 D9 [09:07:18]RAPDU: F6 85 4B 84 FD 1E D8 B5 90 00 [09:07:18]wFMCommunicate OK [09:07:18]SAM_PROTO_SignData done [09:07:18]FM_MakeSignedData done [09:07:18]CreateOFDProtocolMessage [09:07:18]wFMCommunicate request_size=4 [09:07:18]MH_SAM_APDU [09:07:18]CAPDU: 80 11 00 00 [09:07:18]Write to MH i2c: E2 08 00 45 27 80 11 00 00 00 00 00 00 E6 [09:07:18]Write i2c OK [09:07:18]MH_I2C_Read... [09:07:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:07:18]Read from MH i2c: E2 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 17 00 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: E2 17 00 45 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 33 [09:07:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:07:18]wFMCommunicate OK [09:07:18]CreateOFDProtocolMessage done [09:07:18]OFDSenderStorePacket 48946 [09:07:18]StoreOFDPacket docnum=48946 [09:07:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 62 C1 07 01 BB 7F 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 0B 00 00 00 F4 03 04 00 4C 19 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 32 BF 00 00 35 04 06 00 7B AF 9D EE 8E 6A F6 85 4B 84 FD 1E D8 B5 [09:07:18]CheckFolder [09:07:18]dirname=/storage/ofd_packets [09:07:18]CheckFolder done [09:07:18]ProducePacketName [09:07:18]name=ofd_packets/00048946 [09:07:18]NVStorageSaveData ofd_packets/00048946 [09:07:18]File name is /storage/ofd_packets/00048946 [09:07:18]Write 301 bytes [09:07:18]NVStorageSaveData done [09:07:18]OFDSenderStorePacket done [09:07:18]KKMCreateOFDPacket done [09:07:18]NVStorageSaveData kkm_last_timestamp [09:07:18]File name is /storage/kkm_last_timestamp [09:07:18]Write 4 bytes [09:07:18]NVStorageSaveData done [09:07:18]ExternCall_PrintAddStr [09:07:18]wPrintStart [09:07:18]Write to MH i2c: 01 00 00 46 27 6D [09:07:18]Write i2c OK [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: 01 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: 01 07 00 [09:07:18]MH_I2C_Read... [09:07:18]Read from MH i2c: 01 07 00 46 27 00 00 00 00 00 FF 0F 82 [09:07:18]RasterBufferAndPrint [09:07:18]line Счет N : (1)216043 [09:07:18]line ИÐÐ: 02508201610067 [09:07:18]line Контрольно-КаÑÑовый Чек [09:07:18]line ПРОДÐЖР[09:07:18]line ТРК (МРК, ГÐК) : 22 [09:07:18]line Товар: 2710124130 [09:07:18]line Ðи-92-К-5 [09:07:18]line 3.320 * 60.30 [09:07:18]line = 200.20 [09:07:18]line ÐДС 12% ÐСП 1% [09:07:18]line > о реализуемом товаре [09:07:18]line ОКРУГЛЕÐИЕ: -0.20 [09:07:18]line ИТОГО: 200.00 [09:07:18]line ВнеÑено: 200.00 [09:07:18]line СДÐЧÐ: 0.00 [09:07:18]line ÐСП 1% : 1.77 [09:07:18]line ÐДС 12% : 21.26 [09:07:18]line Ðаличными: 200.00 [09:07:18]line Безнал.: 0.00 [09:07:18]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [09:07:18]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [09:07:18]line СÐО: Общий режим [09:07:18]line Чек 11 28.01.2024 09:07 [09:07:18]line Смена: 244 ФФД: 1.0 [09:07:18]line ЗÐМ: 0300000040 [09:07:18]line РÐМ: 0000000000092723 [09:07:18]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:07:18]line ФМ: 0000000000875060 [09:07:18]line ФД: 48946 [09:07:18]line ФПД: 135994199150186 [09:07:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T090724&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48946&fm=135994199150186&tin=02508201610067®Number=0000000000092723&sum=20000 [09:07:19]OFD Sender: Processing packet 48946 [packets to send 12, broken 11] [09:07:19]ProducePacketName [09:07:19]name=ofd_packets/00048946 [09:07:19]OFD Sender: To server: ‡•öpG, [09:07:19]CommunicateWithHost lk.salyk.kg:30040 [09:07:19]ConnectInit lk.salyk.kg [09:07:19]written 0, free lines is 4095 [09:07:19]Connected sock=10 [09:07: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 30 36 30 0F 01 00 00 62 C1 07 01 BB 7F 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 0B 00 00 00 F4 03 04 00 4C 19 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 32 BF 00 00 35 04 06 00 7B AF 9D EE 8E 6A F6 85 4B 84 FD 1E D8 B5 [09:07:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 2E E7 47 00 B1 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 32 BF 00 00 F4 03 04 00 48 C5 B5 65 B6 04 01 00 00 8A 72 4E 12 3D FA DA 7F [09:07:19]CommunicateWithHost err = 0 [09:07:19]CheckOFDResponse [09:07:19]1017 (14) - 77093643461234 [09:07:19]1041 (16) - 0000000000875060 [09:07:19]1040 (4) - 48946 [09:07:19]1012 (4) - 28.01.2024 03:08 [09:07:19]1206 (1) - 0 [09:07:19]OFD Sender: Remove packet 48946 [09:07:19]ProducePacketName [09:07:19]name=ofd_packets/00048946 [09:07:19]NVStorageDeleteData [09:07:19]Write to MH i2c: 01 00 00 71 27 98 [09:07:19]Write i2c OK [09:07:19]MH_I2C_Read... [09:07:19]Read from MH i2c: 01 [09:07:19]MH_I2C_Read... [09:07:19]Read from MH i2c: 01 07 00 [09:07:19]MH_I2C_Read... [09:07:19]Read from MH i2c: 01 07 00 71 27 00 00 00 00 00 F9 0C A4 [09:07:19]RasterBufferAndPrint [09:07:19]line [09:07:19]line [09:07:19]line [09:07:19]line [09:07:19]line [09:07:19]written 0, free lines is 3331 [09:07:19]MH_Cut [09:07:19]Write to MH i2c: D1 01 00 78 27 01 71 [09:07:19]Write i2c OK [09:07:19]MH_I2C_Read... [09:07:19]Read from MH i2c: D1 [09:07:19]MH_I2C_Read... [09:07:19]Read from MH i2c: D1 01 00 [09:07:19]MH_I2C_Read... [09:07:19]Read from MH i2c: D1 01 00 78 27 00 70 [09:07:19]Write to MH i2c: 01 00 00 79 27 A0 [09:07:19]Write i2c OK [09:07:19]MH_I2C_Read... [09:07:19]OFD Sender: No OFD packet to send [09:07:20]*** Cut start [09:07:20]*** Partial cut [09:07:20]*** CUTSNS_PIN = 1 [09:07:20]*** CUTSNS_PIN = 0 [09:07:20]*** Brake cut motor [09:07:20]Read from MH i2c: 01 [09:07:20]MH_I2C_Read... [09:07:20]*** Stop cut motor [09:07:20]*** Cut end [09:07:20]Read from MH i2c: 01 07 00 [09:07:20]MH_I2C_Read... [09:07:20]Read from MH i2c: 01 07 00 79 27 00 00 00 00 00 FF 0F B5 [09:07:20]process_action close_receipt done [09:07:20]requested_data is exist [09:07:20]produce_requested_data [09:07:20]requested_item fm.sn is exist - process it [09:07:20]wFMCommunicate request_size=4 [09:07:20]MH_SAM_APDU [09:07:20]CAPDU: 80 11 00 00 [09:07:20]Write to MH i2c: E2 08 00 7A 27 80 11 00 00 00 00 00 00 1B [09:07:20]Write i2c OK [09:07:20]MH_I2C_Read... [09:07:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:07:20]Read from MH i2c: E2 [09:07:20]MH_I2C_Read... [09:07:20]Read from MH i2c: E2 17 00 [09:07:20]MH_I2C_Read... [09:07:20]Read from MH i2c: E2 17 00 7A 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 68 [09:07:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:07:20]wFMCommunicate OK [09:07:20]requested_item fd.num is exist - process it [09:07:20]SAM_PROTO_GetFieldsCounters [09:07:20]wFMCommunicate request_size=4 [09:07:20]MH_SAM_APDU [09:07:20]CAPDU: 80 13 00 00 [09:07:20]Write to MH i2c: E2 08 00 7B 27 80 13 00 00 00 00 00 00 1E [09:07:20]Write i2c OK [09:07:20]MH_I2C_Read... [09:07:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:07:21]Read from MH i2c: E2 [09:07:21]MH_I2C_Read... [09:07:21]Read from MH i2c: E2 62 00 [09:07:21]MH_I2C_Read... [09:07:21]Read from MH i2c: E2 62 00 7B 27 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 32 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [09:07: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 32 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:07:21]wFMCommunicate OK [09:07:21]SAM_PROTO_GetFieldsCounters done [09:07:21]requested_item shift.num is exist - process it [09:07:21]requested_item shift.opened is exist - process it [09:07:21]req_shift_opened [09:07:21]FM_GetShiftState [09:07:21]SAM_PROTO_GetShiftState [09:07:21]wFMCommunicate request_size=4 [09:07:21]MH_SAM_APDU [09:07:21]CAPDU: 80 13 01 00 [09:07:21]Write to MH i2c: E2 08 00 7C 27 80 13 01 00 00 00 00 00 20 [09:07:21]Write i2c OK [09:07:21]MH_I2C_Read... [09:07:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:07:21]Read from MH i2c: E2 [09:07:21]MH_I2C_Read... [09:07:21]Read from MH i2c: E2 0E 00 [09:07:21]MH_I2C_Read... [09:07:21]Read from MH i2c: E2 0E 00 7C 27 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A6 [09:07:21]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:07:21]wFMCommunicate OK [09:07:21]SAM_PROTO_GetShiftState done [09:07:21]FM_GetShiftState done [09:07:21]req_shift_opened done [09:07:21]requested_item shift.open_date is exist - process it [09:07:21]req_shift_open_date [09:07:21]req_shift_open_date done [09:07:21]produce_requested_data done [09:07:21]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48946,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [09:07:21]process_action_free close_receipt [09:07:21]json_value_free [09:07:21]json_value_free done [09:07:21]process_json_proto returns [09:07:21]Send response to host [09:07:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48946,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [09:07:21]free response buf [09:07:21]execute_script done [09:07:21]execute_script returns [09:07:21]free content buf [09:07:21]Sock 7.Close socket [09:07:21]Sock 7.Thread stoped [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:09]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:21]accept exits with 9 [09:08:21]New connection [09:08:21]New thread 3066670436 created [09:08:21]Thread 3066813796 joined [09:08:21]Waiting for new connection... [09:08:21] Sock 9.Parse request [09:08:21]Sock 9.Check first char [09:08:21]Sock 9.First char is OK [09:08:21]request: POST /json_proto HTTP/1.0 [09:08:21]Method: POST [09:08:21]URL: /json_proto [09:08:21]Method is POST - this is cgi request [09:08:21]url: /json_proto [09:08:21]query_string will be loaded in cgi processing [09:08:21]execute_cgi json_proto POST (null) [09:08:21]execute_cgi path=json_proto method=POST [09:08:21]POST find Content-Length [09:08:21]Host: 172.17.56.67:8080 [09:08:21]Content-Length: 677 [09:08:21]Content-Type: application/json [09:08:21] [09:08:21]POST finish read [09:08:21]Found Content-Length = 677 [09:08:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216044", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [09:08:21]execute_script... [09:08:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216044", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [09:08:21]POST & json_proto [09:08:21]process_json_proto [09:08:21]json parsed OK: [09:08:21]protocol is kg_v1.0 [09:08:21]action value=close_receipt [09:08:21]process_action close_receipt [09:08:21]cmd_close_receipt [09:08:21]MH_GetDate [09:08:21]Write to MH i2c: F0 00 00 7D 27 93 [09:08:21]Write i2c OK [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: F0 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: F0 09 00 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: F0 09 00 7D 27 00 8D 19 B6 65 26 5D 9E 65 E3 [09:08:21]GetLastDocTimeStamp 1706432844 [09:08:21]current date 1706432909 [09:08:21]FM_GetShiftState [09:08:21]SAM_PROTO_GetShiftState [09:08:21]wFMCommunicate request_size=4 [09:08:21]MH_SAM_APDU [09:08:21]CAPDU: 80 13 01 00 [09:08:21]Write to MH i2c: E2 08 00 7E 27 80 13 01 00 00 00 00 00 22 [09:08:21]Write i2c OK [09:08:21]MH_I2C_Read... [09:08:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:21]Read from MH i2c: E2 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 0E 00 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 0E 00 7E 27 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A8 [09:08:21]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:08:21]wFMCommunicate OK [09:08:21]SAM_PROTO_GetShiftState done [09:08:21]FM_GetShiftState done [09:08:21]opened in 1706400199 [09:08:21]opened+sec_in_day 1706486599 [09:08:21]quantity*price = 30029 [09:08:21]sum+1 = 30030 [09:08:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 12 28.01.2024 09:08 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48947 ФПД: 243009994372969 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T090829&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48947&fm=243009994372969&tin=02508201610067®Number=0000000000092723&sum=30000 [09:08:22]StoreToDocumentArchive [09:08:22]shift 244 fd 48947 [09:08:22]save to /storage/0244/doc_00048947 [09:08:22]save last doc name /storage/0244/doc_00048947 to /storage/kkm_last_doc_name [09:08:22]save OK [09:08:22]Clear old archive folders... [09:08:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:08:22]tlvbuf is 011DAB20 [09:08:22]SAM_PROTO_ClearQueue [09:08:22]wFMCommunicate request_size=4 [09:08:22]MH_SAM_APDU [09:08:22]CAPDU: 80 09 00 00 [09:08:22]Write to MH i2c: E2 08 00 8B 27 80 09 00 00 00 00 00 00 24 [09:08:22]Write i2c OK [09:08:22]MH_I2C_Read... [09:08:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:22]Read from MH i2c: E2 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: E2 03 00 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: E2 03 00 8B 27 00 90 00 26 [09:08:22]RAPDU: 90 00 [09:08:22]wFMCommunicate OK [09:08:22]SAM_PROTO_ClearQueue done [09:08:22]KKMCreateOFDPacket [09:08:22]OFDProtocolAddRootSTLVToBuf [09:08:22]FM_MakeSignedData [09:08:22]FM_MakeSignedData [09:08:22]SAM_PROTO_SignData [09:08:22]wFMCommunicate request_size=4 [09:08:22]MH_SAM_APDU [09:08:22]CAPDU: 80 0D 01 02 [09:08:22]Write to MH i2c: E2 08 00 8C 27 80 0D 01 02 00 00 00 00 2C [09:08:22]Write i2c OK [09:08:22]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 8C 27 00 90 00 27 [09:08:23]RAPDU: 90 00 [09:08:23]wFMCommunicate OK [09:08:23]wFMCommunicate request_size=255 [09:08:23]MH_SAM_APDU [09:08:23]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0C 00 00 00 F4 03 04 00 8D 19 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 33 BF 00 00 35 04 06 00 DD [09:08:23]Write to MH i2c: E2 02 01 8D 27 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0C 00 00 00 F4 03 04 00 8D 19 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 33 BF 00 00 35 04 06 00 DD 00 00 82 [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 8D 27 00 90 00 28 [09:08:23]RAPDU: 90 00 [09:08:23]wFMCommunicate OK [09:08:23]wFMCommunicate request_size=10 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 0D 02 02 05 04 2C 64 37 69 [09:08:23]Write to MH i2c: E2 0D 00 8E 27 80 0D 02 02 05 00 04 2C 64 37 69 00 00 6D [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 8E 27 00 90 00 29 [09:08:23]RAPDU: 90 00 [09:08:23]wFMCommunicate OK [09:08:23]wFMCommunicate request_size=4 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 0D 03 02 [09:08:23]Write to MH i2c: E2 08 00 8F 27 80 0D 03 02 00 00 00 00 31 [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 0B 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 0B 00 8F 27 00 39 42 03 EA 51 A3 A0 8D 90 00 BB [09:08:23]RAPDU: 39 42 03 EA 51 A3 A0 8D 90 00 [09:08:23]wFMCommunicate OK [09:08:23]SAM_PROTO_SignData done [09:08:23]FM_MakeSignedData done [09:08:23]CreateOFDProtocolMessage [09:08:23]wFMCommunicate request_size=4 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 11 00 00 [09:08:23]Write to MH i2c: E2 08 00 90 27 80 11 00 00 00 00 00 00 31 [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 17 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 17 00 90 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 7E [09:08:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:08:23]wFMCommunicate OK [09:08:23]CreateOFDProtocolMessage done [09:08:23]OFDSenderStorePacket 48947 [09:08:23]StoreOFDPacket docnum=48947 [09:08:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 AC 1B 07 01 55 5D 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0C 00 00 00 F4 03 04 00 8D 19 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 33 BF 00 00 35 04 06 00 DD 04 2C 64 37 69 39 42 03 EA 51 A3 A0 8D [09:08:23]CheckFolder [09:08:23]dirname=/storage/ofd_packets [09:08:23]CheckFolder done [09:08:23]ProducePacketName [09:08:23]name=ofd_packets/00048947 [09:08:23]NVStorageSaveData ofd_packets/00048947 [09:08:23]File name is /storage/ofd_packets/00048947 [09:08:23]Write 301 bytes [09:08:23]NVStorageSaveData done [09:08:23]OFDSenderStorePacket done [09:08:23]KKMCreateOFDPacket done [09:08:23]NVStorageSaveData kkm_last_timestamp [09:08:23]File name is /storage/kkm_last_timestamp [09:08:23]Write 4 bytes [09:08:23]NVStorageSaveData done [09:08:23]ExternCall_PrintAddStr [09:08:23]wPrintStart [09:08:23]Write to MH i2c: 01 00 00 91 27 B8 [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: 01 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: 01 07 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: 01 07 00 91 27 00 00 00 00 00 FF 0F CD [09:08:23]RasterBufferAndPrint [09:08:23]line Счет N : (1)216044 [09:08:23]line ИÐÐ: 02508201610067 [09:08:23]line Контрольно-КаÑÑовый Чек [09:08:23]line ПРОДÐЖР[09:08:23]line ТРК (МРК, ГÐК) : 12 [09:08:23]line Товар: 2710124130 [09:08:23]line Ðи-92-К-5 [09:08:23]line 4.980 * 60.30 [09:08:23]line = 300.29 [09:08:23]line ÐДС 12% ÐСП 1% [09:08:23]line > о реализуемом товаре [09:08:23]line ОКРУГЛЕÐИЕ: -0.29 [09:08:23]line ИТОГО: 300.00 [09:08:23]line ВнеÑено: 300.00 [09:08:23]line СДÐЧÐ: 0.00 [09:08:23]line ÐСП 1% : 2.66 [09:08:23]line ÐДС 12% : 31.89 [09:08:23]line Ðаличными: 300.00 [09:08:23]line Безнал.: 0.00 [09:08:23]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [09:08:23]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [09:08:23]line СÐО: Общий режим [09:08:23]line Чек 12 28.01.2024 09:08 [09:08:23]line Смена: 244 ФФД: 1.0 [09:08:23]line ЗÐМ: 0300000040 [09:08:23]line РÐМ: 0000000000092723 [09:08:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:08:23]line ФМ: 0000000000875060 [09:08:23]line ФД: 48947 [09:08:23]line ФПД: 243009994372969 [09:08:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T090829&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48947&fm=243009994372969&tin=02508201610067®Number=0000000000092723&sum=30000 [09:08:23]OFD Sender: Processing packet 48947 [packets to send 12, broken 11] [09:08:23]ProducePacketName [09:08:23]name=ofd_packets/00048947 [09:08:23]OFD Sender: To server: ‡•öpG, [09:08:23]CommunicateWithHost lk.salyk.kg:30040 [09:08:23]ConnectInit lk.salyk.kg [09:08:23]written 0, free lines is 4095 [09:08:23]Connected sock=10 [09:08: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 30 36 30 0F 01 00 00 AC 1B 07 01 55 5D 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0C 00 00 00 F4 03 04 00 8D 19 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 33 BF 00 00 35 04 06 00 DD 04 2C 64 37 69 39 42 03 EA 51 A3 A0 8D [09:08:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 35 21 47 00 87 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 33 BF 00 00 F4 03 04 00 89 C5 B5 65 B6 04 01 00 00 C9 E0 56 93 13 8D 1C C5 [09:08:24]CommunicateWithHost err = 0 [09:08:24]CheckOFDResponse [09:08:24]1017 (14) - 77093643461234 [09:08:24]1041 (16) - 0000000000875060 [09:08:24]1040 (4) - 48947 [09:08:24]1012 (4) - 28.01.2024 03:10 [09:08:24]1206 (1) - 0 [09:08:24]OFD Sender: Remove packet 48947 [09:08:24]ProducePacketName [09:08:24]name=ofd_packets/00048947 [09:08:24]NVStorageDeleteData [09:08:24]Write to MH i2c: 01 00 00 BC 27 E3 [09:08:24]Write i2c OK [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 07 00 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 07 00 BC 27 00 00 00 00 00 F3 0C E9 [09:08:24]RasterBufferAndPrint [09:08:24]line [09:08:24]line [09:08:24]line [09:08:24]line [09:08:24]line [09:08:24]written 0, free lines is 3321 [09:08:24]MH_Cut [09:08:24]Write to MH i2c: D1 01 00 C3 27 01 BC [09:08:24]Write i2c OK [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: D1 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: D1 01 00 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: D1 01 00 C3 27 00 BB [09:08:24]Write to MH i2c: 01 00 00 C4 27 EB [09:08:24]Write i2c OK [09:08:24]MH_I2C_Read... [09:08:24]OFD Sender: No OFD packet to send [09:08:24]*** Cut start [09:08:24]*** Partial cut [09:08:24]*** CUTSNS_PIN = 1 [09:08:24]*** CUTSNS_PIN = 0 [09:08:25]*** Brake cut motor [09:08:25]Read from MH i2c: 01 [09:08:25]MH_I2C_Read... [09:08:25]*** Stop cut motor [09:08:25]*** Cut end [09:08:25]Read from MH i2c: 01 07 00 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: 01 07 00 C4 27 00 00 00 00 00 FF 0F 00 [09:08:25]process_action close_receipt done [09:08:25]requested_data is exist [09:08:25]produce_requested_data [09:08:25]requested_item fm.sn is exist - process it [09:08:25]wFMCommunicate request_size=4 [09:08:25]MH_SAM_APDU [09:08:25]CAPDU: 80 11 00 00 [09:08:25]Write to MH i2c: E2 08 00 C5 27 80 11 00 00 00 00 00 00 66 [09:08:25]Write i2c OK [09:08:25]MH_I2C_Read... [09:08:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:25]Read from MH i2c: E2 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 17 00 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 17 00 C5 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 B3 [09:08:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:08:25]wFMCommunicate OK [09:08:25]requested_item fd.num is exist - process it [09:08:25]SAM_PROTO_GetFieldsCounters [09:08:25]wFMCommunicate request_size=4 [09:08:25]MH_SAM_APDU [09:08:25]CAPDU: 80 13 00 00 [09:08:25]Write to MH i2c: E2 08 00 C6 27 80 13 00 00 00 00 00 00 69 [09:08:25]Write i2c OK [09:08:25]MH_I2C_Read... [09:08:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:25]Read from MH i2c: E2 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 62 00 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 62 00 C6 27 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 33 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [09:08: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 33 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:08:25]wFMCommunicate OK [09:08:25]SAM_PROTO_GetFieldsCounters done [09:08:25]requested_item shift.num is exist - process it [09:08:25]requested_item shift.opened is exist - process it [09:08:25]req_shift_opened [09:08:25]FM_GetShiftState [09:08:25]SAM_PROTO_GetShiftState [09:08:25]wFMCommunicate request_size=4 [09:08:25]MH_SAM_APDU [09:08:25]CAPDU: 80 13 01 00 [09:08:25]Write to MH i2c: E2 08 00 C7 27 80 13 01 00 00 00 00 00 6B [09:08:25]Write i2c OK [09:08:25]MH_I2C_Read... [09:08:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:25]Read from MH i2c: E2 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 0E 00 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 0E 00 C7 27 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F1 [09:08:25]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:08:25]wFMCommunicate OK [09:08:25]SAM_PROTO_GetShiftState done [09:08:25]FM_GetShiftState done [09:08:25]req_shift_opened done [09:08:25]requested_item shift.open_date is exist - process it [09:08:25]req_shift_open_date [09:08:25]req_shift_open_date done [09:08:25]produce_requested_data done [09:08:25]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48947,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [09:08:25]process_action_free close_receipt [09:08:25]json_value_free [09:08:25]json_value_free done [09:08:25]process_json_proto returns [09:08:25]Send response to host [09:08:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48947,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [09:08:25]free response buf [09:08:25]execute_script done [09:08:25]execute_script returns [09:08:25]free content buf [09:08:25]Sock 9.Close socket [09:08:25]Sock 9.Thread stoped [09:08:29]OFD Sender: No OFD packet to send [09:08:34]OFD Sender: No OFD packet to send [09:08:39]OFD Sender: No OFD packet to send [09:08:44]OFD Sender: No OFD packet to send [09:08:49]OFD Sender: No OFD packet to send [09:08:54]OFD Sender: No OFD packet to send [09:08:59]OFD Sender: No OFD packet to send [09:09:04]OFD Sender: No OFD packet to send [09:09:09]OFD Sender: No OFD packet to send [09:09:14]OFD Sender: No OFD packet to send [09:09:19]OFD Sender: No OFD packet to send [09:09:24]OFD Sender: No OFD packet to send [09:09:29]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:39]OFD Sender: No OFD packet to send [09:09:44]OFD Sender: No OFD packet to send [09:09:49]OFD Sender: No OFD packet to send [09:09:54]OFD Sender: No OFD packet to send [09:09:59]OFD Sender: No OFD packet to send [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:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]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:44]accept exits with 7 [09:23:44]New connection [09:23:44]New thread 3066813796 created [09:23:44]Thread 3066670436 joined [09:23:44]Waiting for new connection... [09:23:44] Sock 7.Parse request [09:23:44]Sock 7.Check first char [09:23:44]Sock 7.First char is OK [09:23:44]request: POST /json_proto HTTP/1.0 [09:23:44]Method: POST [09:23:44]URL: /json_proto [09:23:44]Method is POST - this is cgi request [09:23:44]url: /json_proto [09:23:44]query_string will be loaded in cgi processing [09:23:44]execute_cgi json_proto POST (null) [09:23:44]execute_cgi path=json_proto method=POST [09:23:44]POST find Content-Length [09:23:44]Host: 172.17.56.67:8080 [09:23:44]Content-Length: 677 [09:23:44]Content-Type: application/json [09:23:44] [09:23:44]POST finish read [09:23:44]Found Content-Length = 677 [09:23:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216045", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [09:23:44]execute_script... [09:23:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216045", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [09:23:44]POST & json_proto [09:23:44]process_json_proto [09:23:44]json parsed OK: [09:23:44]protocol is kg_v1.0 [09:23:44]action value=close_receipt [09:23:44]process_action close_receipt [09:23:44]cmd_close_receipt [09:23:44]MH_GetDate [09:23:44]Write to MH i2c: F0 00 00 C8 27 DE [09:23:44]Write i2c OK [09:23:44]MH_I2C_Read... [09:23:44]Read from MH i2c: F0 [09:23:44]MH_I2C_Read... [09:23:44]Read from MH i2c: F0 09 00 [09:23:44]MH_I2C_Read... [09:23:44]Read from MH i2c: F0 09 00 C8 27 00 28 1D B6 65 26 5D 9E 65 CD [09:23:44]GetLastDocTimeStamp 1706432909 [09:23:44]current date 1706433832 [09:23:44]FM_GetShiftState [09:23:44]SAM_PROTO_GetShiftState [09:23:44]wFMCommunicate request_size=4 [09:23:44]MH_SAM_APDU [09:23:44]CAPDU: 80 13 01 00 [09:23:44]Write to MH i2c: E2 08 00 C9 27 80 13 01 00 00 00 00 00 6D [09:23:44]Write i2c OK [09:23:44]MH_I2C_Read... [09:23:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:23:44]Read from MH i2c: E2 [09:23:44]MH_I2C_Read... [09:23:44]Read from MH i2c: E2 0E 00 [09:23:44]MH_I2C_Read... [09:23:44]Read from MH i2c: E2 0E 00 C9 27 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F3 [09:23:44]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:23:44]wFMCommunicate OK [09:23:44]SAM_PROTO_GetShiftState done [09:23:44]FM_GetShiftState done [09:23:44]opened in 1706400199 [09:23:44]opened+sec_in_day 1706486599 [09:23:44]quantity*price = 30029 [09:23:44]sum+1 = 30030 [09:23:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 13 28.01.2024 09:23 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48948 ФПД: 178902398885614 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T092352&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48948&fm=178902398885614&tin=02508201610067®Number=0000000000092723&sum=30000 [09:23:45]StoreToDocumentArchive [09:23:45]shift 244 fd 48948 [09:23:45]save to /storage/0244/doc_00048948 [09:23:45]save last doc name /storage/0244/doc_00048948 to /storage/kkm_last_doc_name [09:23:45]save OK [09:23:45]Clear old archive folders... [09:23:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:23:45]tlvbuf is 011DABB0 [09:23:45]SAM_PROTO_ClearQueue [09:23:45]wFMCommunicate request_size=4 [09:23:45]MH_SAM_APDU [09:23:45]CAPDU: 80 09 00 00 [09:23:45]Write to MH i2c: E2 08 00 D6 27 80 09 00 00 00 00 00 00 6F [09:23:46]Write i2c OK [09:23:46]MH_I2C_Read... [09:23:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:23:46]Read from MH i2c: E2 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 03 00 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 03 00 D6 27 00 90 00 71 [09:23:46]RAPDU: 90 00 [09:23:46]wFMCommunicate OK [09:23:46]SAM_PROTO_ClearQueue done [09:23:46]KKMCreateOFDPacket [09:23:46]OFDProtocolAddRootSTLVToBuf [09:23:46]FM_MakeSignedData [09:23:46]FM_MakeSignedData [09:23:46]SAM_PROTO_SignData [09:23:46]wFMCommunicate request_size=4 [09:23:46]MH_SAM_APDU [09:23:46]CAPDU: 80 0D 01 02 [09:23:46]Write to MH i2c: E2 08 00 D7 27 80 0D 01 02 00 00 00 00 77 [09:23:46]Write i2c OK [09:23:46]MH_I2C_Read... [09:23:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:23:46]Read from MH i2c: E2 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 03 00 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 03 00 D7 27 00 90 00 72 [09:23:46]RAPDU: 90 00 [09:23:46]wFMCommunicate OK [09:23:46]wFMCommunicate request_size=255 [09:23:46]MH_SAM_APDU [09:23:46]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0D 00 00 00 F4 03 04 00 28 1D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 34 BF 00 00 35 04 06 00 A2 [09:23:46]Write to MH i2c: E2 02 01 D8 27 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0D 00 00 00 F4 03 04 00 28 1D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 34 BF 00 00 35 04 06 00 A2 00 00 33 [09:23:46]Write i2c OK [09:23:46]MH_I2C_Read... [09:23:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:23:46]Read from MH i2c: E2 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 03 00 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 03 00 D8 27 00 90 00 73 [09:23:46]RAPDU: 90 00 [09:23:46]wFMCommunicate OK [09:23:46]wFMCommunicate request_size=10 [09:23:46]MH_SAM_APDU [09:23:46]CAPDU: 80 0D 02 02 05 B5 F5 EF 5E EE [09:23:46]Write to MH i2c: E2 0D 00 D9 27 80 0D 02 02 05 00 B5 F5 EF 5E EE 00 00 69 [09:23:46]Write i2c OK [09:23:46]MH_I2C_Read... [09:23:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:23:46]Read from MH i2c: E2 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 03 00 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 03 00 D9 27 00 90 00 74 [09:23:46]RAPDU: 90 00 [09:23:46]wFMCommunicate OK [09:23:46]wFMCommunicate request_size=4 [09:23:46]MH_SAM_APDU [09:23:46]CAPDU: 80 0D 03 02 [09:23:46]Write to MH i2c: E2 08 00 DA 27 80 0D 03 02 00 00 00 00 7C [09:23:46]Write i2c OK [09:23:46]MH_I2C_Read... [09:23:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:23:46]Read from MH i2c: E2 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 0B 00 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 0B 00 DA 27 00 A2 AB 0C 7D 35 17 9F E1 90 00 1F [09:23:46]RAPDU: A2 AB 0C 7D 35 17 9F E1 90 00 [09:23:46]wFMCommunicate OK [09:23:46]SAM_PROTO_SignData done [09:23:46]FM_MakeSignedData done [09:23:46]CreateOFDProtocolMessage [09:23:46]wFMCommunicate request_size=4 [09:23:46]MH_SAM_APDU [09:23:46]CAPDU: 80 11 00 00 [09:23:46]Write to MH i2c: E2 08 00 DB 27 80 11 00 00 00 00 00 00 7C [09:23:46]Write i2c OK [09:23:46]MH_I2C_Read... [09:23:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:23:46]Read from MH i2c: E2 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 17 00 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: E2 17 00 DB 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 C9 [09:23:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:23:46]wFMCommunicate OK [09:23:46]CreateOFDProtocolMessage done [09:23:46]OFDSenderStorePacket 48948 [09:23:46]StoreOFDPacket docnum=48948 [09:23:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 4F E0 07 01 A7 FD 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0D 00 00 00 F4 03 04 00 28 1D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 34 BF 00 00 35 04 06 00 A2 B5 F5 EF 5E EE A2 AB 0C 7D 35 17 9F E1 [09:23:46]CheckFolder [09:23:46]dirname=/storage/ofd_packets [09:23:46]CheckFolder done [09:23:46]ProducePacketName [09:23:46]name=ofd_packets/00048948 [09:23:46]NVStorageSaveData ofd_packets/00048948 [09:23:46]File name is /storage/ofd_packets/00048948 [09:23:46]Write 301 bytes [09:23:46]NVStorageSaveData done [09:23:46]OFDSenderStorePacket done [09:23:46]KKMCreateOFDPacket done [09:23:46]NVStorageSaveData kkm_last_timestamp [09:23:46]File name is /storage/kkm_last_timestamp [09:23:46]Write 4 bytes [09:23:46]NVStorageSaveData done [09:23:46]ExternCall_PrintAddStr [09:23:46]wPrintStart [09:23:46]Write to MH i2c: 01 00 00 DC 27 03 [09:23:46]Write i2c OK [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: 01 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: 01 07 00 [09:23:46]MH_I2C_Read... [09:23:46]Read from MH i2c: 01 07 00 DC 27 00 00 00 00 00 FF 0F 18 [09:23:46]RasterBufferAndPrint [09:23:46]line Счет N : (1)216045 [09:23:46]line ИÐÐ: 02508201610067 [09:23:46]line Контрольно-КаÑÑовый Чек [09:23:46]line ПРОДÐЖР[09:23:46]line ТРК (МРК, ГÐК) : 12 [09:23:46]line Товар: 2710124130 [09:23:46]line Ðи-92-К-5 [09:23:46]line 4.980 * 60.30 [09:23:46]line = 300.29 [09:23:46]line ÐДС 12% ÐСП 1% [09:23:46]line > о реализуемом товаре [09:23:46]line ОКРУГЛЕÐИЕ: -0.29 [09:23:46]line ИТОГО: 300.00 [09:23:46]line ВнеÑено: 300.00 [09:23:46]line СДÐЧÐ: 0.00 [09:23:46]line ÐСП 1% : 2.66 [09:23:46]line ÐДС 12% : 31.89 [09:23:46]line Ðаличными: 300.00 [09:23:46]line Безнал.: 0.00 [09:23:46]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [09:23:46]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [09:23:46]line СÐО: Общий режим [09:23:46]line Чек 13 28.01.2024 09:23 [09:23:46]line Смена: 244 ФФД: 1.0 [09:23:46]line ЗÐМ: 0300000040 [09:23:46]line РÐМ: 0000000000092723 [09:23:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:23:46]line ФМ: 0000000000875060 [09:23:46]line ФД: 48948 [09:23:46]line ФПД: 178902398885614 [09:23:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T092352&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48948&fm=178902398885614&tin=02508201610067®Number=0000000000092723&sum=30000 [09:23:46]OFD Sender: Processing packet 48948 [packets to send 12, broken 11] [09:23:46]ProducePacketName [09:23:46]name=ofd_packets/00048948 [09:23:46]OFD Sender: To server: ‡•öpG, [09:23:46]CommunicateWithHost lk.salyk.kg:30040 [09:23:46]ConnectInit lk.salyk.kg [09:23:46]written 0, free lines is 4095 [09:23:46]Connected sock=10 [09:23: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 30 36 30 0F 01 00 00 4F E0 07 01 A7 FD 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0D 00 00 00 F4 03 04 00 28 1D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 34 BF 00 00 35 04 06 00 A2 B5 F5 EF 5E EE A2 AB 0C 7D 35 17 9F E1 [09:23:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 CD 94 47 00 CF 6E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 34 BF 00 00 F4 03 04 00 24 C9 B5 65 B6 04 01 00 00 E0 15 16 DE BD 16 A0 12 [09:23:47]CommunicateWithHost err = 0 [09:23:47]CheckOFDResponse [09:23:47]1017 (14) - 77093643461234 [09:23:47]1041 (16) - 0000000000875060 [09:23:47]1040 (4) - 48948 [09:23:47]1012 (4) - 28.01.2024 03:25 [09:23:47]1206 (1) - 0 [09:23:47]OFD Sender: Remove packet 48948 [09:23:47]ProducePacketName [09:23:47]name=ofd_packets/00048948 [09:23:47]NVStorageDeleteData [09:23:47]Write to MH i2c: 01 00 00 07 28 2F [09:23:47]Write i2c OK [09:23:47]MH_I2C_Read... [09:23:47]Read from MH i2c: 01 [09:23:47]MH_I2C_Read... [09:23:47]Read from MH i2c: 01 07 00 [09:23:47]MH_I2C_Read... [09:23:47]Read from MH i2c: 01 07 00 07 28 00 00 00 00 00 08 0D 4B [09:23:47]RasterBufferAndPrint [09:23:47]line [09:23:47]line [09:23:47]line [09:23:47]line [09:23:47]line [09:23:47]written 0, free lines is 3343 [09:23:47]MH_Cut [09:23:47]Write to MH i2c: D1 01 00 0E 28 01 08 [09:23:47]Write i2c OK [09:23:47]MH_I2C_Read... [09:23:47]Read from MH i2c: D1 [09:23:47]MH_I2C_Read... [09:23:47]Read from MH i2c: D1 01 00 [09:23:47]MH_I2C_Read... [09:23:47]Read from MH i2c: D1 01 00 0E 28 00 07 [09:23:47]Write to MH i2c: 01 00 00 0F 28 37 [09:23:47]Write i2c OK [09:23:47]MH_I2C_Read... [09:23:47]OFD Sender: No OFD packet to send [09:23:47]*** Cut start [09:23:47]*** Partial cut [09:23:47]*** CUTSNS_PIN = 1 [09:23:48]*** CUTSNS_PIN = 0 [09:23:48]*** Brake cut motor [09:23:48]Read from MH i2c: 01 [09:23:48]MH_I2C_Read... [09:23:48]*** Stop cut motor [09:23:48]*** Cut end [09:23:48]Read from MH i2c: 01 07 00 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: 01 07 00 0F 28 00 00 00 00 00 FF 0F 4C [09:23:48]process_action close_receipt done [09:23:48]requested_data is exist [09:23:48]produce_requested_data [09:23:48]requested_item fm.sn is exist - process it [09:23:48]wFMCommunicate request_size=4 [09:23:48]MH_SAM_APDU [09:23:48]CAPDU: 80 11 00 00 [09:23:48]Write to MH i2c: E2 08 00 10 28 80 11 00 00 00 00 00 00 B2 [09:23:48]Write i2c OK [09:23:48]MH_I2C_Read... [09:23:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:23:48]Read from MH i2c: E2 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: E2 17 00 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: E2 17 00 10 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 FF [09:23:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:23:48]wFMCommunicate OK [09:23:48]requested_item fd.num is exist - process it [09:23:48]SAM_PROTO_GetFieldsCounters [09:23:48]wFMCommunicate request_size=4 [09:23:48]MH_SAM_APDU [09:23:48]CAPDU: 80 13 00 00 [09:23:48]Write to MH i2c: E2 08 00 11 28 80 13 00 00 00 00 00 00 B5 [09:23:48]Write i2c OK [09:23:48]MH_I2C_Read... [09:23:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:23:48]Read from MH i2c: E2 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: E2 62 00 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: E2 62 00 11 28 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 34 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [09:23: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 34 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:23:48]wFMCommunicate OK [09:23:48]SAM_PROTO_GetFieldsCounters done [09:23:48]requested_item shift.num is exist - process it [09:23:48]requested_item shift.opened is exist - process it [09:23:48]req_shift_opened [09:23:48]FM_GetShiftState [09:23:48]SAM_PROTO_GetShiftState [09:23:48]wFMCommunicate request_size=4 [09:23:48]MH_SAM_APDU [09:23:48]CAPDU: 80 13 01 00 [09:23:48]Write to MH i2c: E2 08 00 12 28 80 13 01 00 00 00 00 00 B7 [09:23:48]Write i2c OK [09:23:48]MH_I2C_Read... [09:23:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:23:48]Read from MH i2c: E2 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: E2 0E 00 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: E2 0E 00 12 28 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3D [09:23:48]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:23:48]wFMCommunicate OK [09:23:48]SAM_PROTO_GetShiftState done [09:23:48]FM_GetShiftState done [09:23:48]req_shift_opened done [09:23:48]requested_item shift.open_date is exist - process it [09:23:48]req_shift_open_date [09:23:48]req_shift_open_date done [09:23:48]produce_requested_data done [09:23:48]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48948,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [09:23:48]process_action_free close_receipt [09:23:48]json_value_free [09:23:48]json_value_free done [09:23:48]process_json_proto returns [09:23:48]Send response to host [09:23:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48948,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [09:23:48]free response buf [09:23:48]execute_script done [09:23:48]execute_script returns [09:23:48]free content buf [09:23:48]Sock 7.Close socket [09:23:48]Sock 7.Thread stoped [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:13]recv_with_timeout no data received [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:22]OFD Sender: No OFD packet to send [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:06]accept exits with 9 [09:28:06]New connection [09:28:06]New thread 3066670436 created [09:28:06]Thread 3066813796 joined [09:28:06]Waiting for new connection... [09:28:06] Sock 9.Parse request [09:28:06]Sock 9.Check first char [09:28:06]Sock 9.First char is OK [09:28:06]request: POST /json_proto HTTP/1.0 [09:28:06]Method: POST [09:28:06]URL: /json_proto [09:28:06]Method is POST - this is cgi request [09:28:06]url: /json_proto [09:28:06]query_string will be loaded in cgi processing [09:28:06]execute_cgi json_proto POST (null) [09:28:06]execute_cgi path=json_proto method=POST [09:28:06]POST find Content-Length [09:28:06]Host: 172.17.56.67:8080 [09:28:06]Content-Length: 677 [09:28:06]Content-Type: application/json [09:28:06] [09:28:06]POST finish read [09:28:06]Found Content-Length = 677 [09:28:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216046", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [09:28:06]execute_script... [09:28:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216046", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [09:28:06]POST & json_proto [09:28:06]process_json_proto [09:28:06]json parsed OK: [09:28:06]protocol is kg_v1.0 [09:28:06]action value=close_receipt [09:28:06]process_action close_receipt [09:28:06]cmd_close_receipt [09:28:06]MH_GetDate [09:28:06]Write to MH i2c: F0 00 00 13 28 2A [09:28:06]Write i2c OK [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: F0 [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: F0 09 00 [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: F0 09 00 13 28 00 2E 1E B6 65 26 5D 9E 65 20 [09:28:06]GetLastDocTimeStamp 1706433832 [09:28:06]current date 1706434094 [09:28:06]FM_GetShiftState [09:28:06]SAM_PROTO_GetShiftState [09:28:06]wFMCommunicate request_size=4 [09:28:06]MH_SAM_APDU [09:28:06]CAPDU: 80 13 01 00 [09:28:06]Write to MH i2c: E2 08 00 14 28 80 13 01 00 00 00 00 00 B9 [09:28:06]Write i2c OK [09:28:06]MH_I2C_Read... [09:28:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:06]Read from MH i2c: E2 [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: E2 0E 00 [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: E2 0E 00 14 28 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3F [09:28:06]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:28:06]wFMCommunicate OK [09:28:06]SAM_PROTO_GetShiftState done [09:28:06]FM_GetShiftState done [09:28:06]opened in 1706400199 [09:28:06]opened+sec_in_day 1706486599 [09:28:06]quantity*price = 30029 [09:28:06]sum+1 = 30030 [09:28:06]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 14 28.01.2024 09:28 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48949 ФПД: 74020867811919 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T092814&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48949&fm=74020867811919&tin=02508201610067®Number=0000000000092723&sum=30000 [09:28:08]StoreToDocumentArchive [09:28:08]shift 244 fd 48949 [09:28:08]save to /storage/0244/doc_00048949 [09:28:08]save last doc name /storage/0244/doc_00048949 to /storage/kkm_last_doc_name [09:28:08]save OK [09:28:08]Clear old archive folders... [09:28:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:28:08]tlvbuf is 0119A0A0 [09:28:08]SAM_PROTO_ClearQueue [09:28:08]wFMCommunicate request_size=4 [09:28:08]MH_SAM_APDU [09:28:08]CAPDU: 80 09 00 00 [09:28:08]Write to MH i2c: E2 08 00 21 28 80 09 00 00 00 00 00 00 BB [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 03 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 03 00 21 28 00 90 00 BD [09:28:08]RAPDU: 90 00 [09:28:08]wFMCommunicate OK [09:28:08]SAM_PROTO_ClearQueue done [09:28:08]KKMCreateOFDPacket [09:28:08]OFDProtocolAddRootSTLVToBuf [09:28:08]FM_MakeSignedData [09:28:08]FM_MakeSignedData [09:28:08]SAM_PROTO_SignData [09:28:08]wFMCommunicate request_size=4 [09:28:08]MH_SAM_APDU [09:28:08]CAPDU: 80 0D 01 02 [09:28:08]Write to MH i2c: E2 08 00 22 28 80 0D 01 02 00 00 00 00 C3 [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 03 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 03 00 22 28 00 90 00 BE [09:28:08]RAPDU: 90 00 [09:28:08]wFMCommunicate OK [09:28:08]wFMCommunicate request_size=255 [09:28:08]MH_SAM_APDU [09:28:08]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0E 00 00 00 F4 03 04 00 2E 1E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 35 BF 00 00 35 04 06 00 43 [09:28:08]Write to MH i2c: E2 02 01 23 28 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0E 00 00 00 F4 03 04 00 2E 1E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 35 BF 00 00 35 04 06 00 43 00 00 29 [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 03 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 03 00 23 28 00 90 00 BF [09:28:08]RAPDU: 90 00 [09:28:08]wFMCommunicate OK [09:28:08]wFMCommunicate request_size=10 [09:28:08]MH_SAM_APDU [09:28:08]CAPDU: 80 0D 02 02 05 52 53 88 2A 4F [09:28:08]Write to MH i2c: E2 0D 00 24 28 80 0D 02 02 05 00 52 53 88 2A 4F 00 00 76 [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 03 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 03 00 24 28 00 90 00 C0 [09:28:08]RAPDU: 90 00 [09:28:08]wFMCommunicate OK [09:28:08]wFMCommunicate request_size=4 [09:28:08]MH_SAM_APDU [09:28:08]CAPDU: 80 0D 03 02 [09:28:08]Write to MH i2c: E2 08 00 25 28 80 0D 03 02 00 00 00 00 C8 [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 0B 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 0B 00 25 28 00 72 C3 5C E7 6D B3 E3 63 90 00 A7 [09:28:08]RAPDU: 72 C3 5C E7 6D B3 E3 63 90 00 [09:28:08]wFMCommunicate OK [09:28:08]SAM_PROTO_SignData done [09:28:08]FM_MakeSignedData done [09:28:08]CreateOFDProtocolMessage [09:28:08]wFMCommunicate request_size=4 [09:28:08]MH_SAM_APDU [09:28:08]CAPDU: 80 11 00 00 [09:28:08]Write to MH i2c: E2 08 00 26 28 80 11 00 00 00 00 00 00 C8 [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 17 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 17 00 26 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 15 [09:28:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:28:08]wFMCommunicate OK [09:28:08]CreateOFDProtocolMessage done [09:28:08]OFDSenderStorePacket 48949 [09:28:08]StoreOFDPacket docnum=48949 [09:28:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 EA D6 07 01 91 32 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0E 00 00 00 F4 03 04 00 2E 1E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 35 BF 00 00 35 04 06 00 43 52 53 88 2A 4F 72 C3 5C E7 6D B3 E3 63 [09:28:08]CheckFolder [09:28:08]dirname=/storage/ofd_packets [09:28:08]CheckFolder done [09:28:08]ProducePacketName [09:28:08]name=ofd_packets/00048949 [09:28:08]NVStorageSaveData ofd_packets/00048949 [09:28:08]File name is /storage/ofd_packets/00048949 [09:28:08]Write 301 bytes [09:28:08]NVStorageSaveData done [09:28:08]OFDSenderStorePacket done [09:28:08]KKMCreateOFDPacket done [09:28:08]NVStorageSaveData kkm_last_timestamp [09:28:08]File name is /storage/kkm_last_timestamp [09:28:08]Write 4 bytes [09:28:08]NVStorageSaveData done [09:28:08]ExternCall_PrintAddStr [09:28:08]wPrintStart [09:28:08]Write to MH i2c: 01 00 00 27 28 4F [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: 01 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: 01 07 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: 01 07 00 27 28 00 00 00 00 00 FF 0F 64 [09:28:08]RasterBufferAndPrint [09:28:08]line Счет N : (1)216046 [09:28:08]line ИÐÐ: 02508201610067 [09:28:08]line Контрольно-КаÑÑовый Чек [09:28:08]line ПРОДÐЖР[09:28:08]line ТРК (МРК, ГÐК) : 22 [09:28:08]line Товар: 2710124130 [09:28:08]line Ðи-92-К-5 [09:28:08]line 4.980 * 60.30 [09:28:08]line = 300.29 [09:28:08]line ÐДС 12% ÐСП 1% [09:28:08]line > о реализуемом товаре [09:28:08]line ОКРУГЛЕÐИЕ: -0.29 [09:28:08]line ИТОГО: 300.00 [09:28:08]line ВнеÑено: 300.00 [09:28:08]line СДÐЧÐ: 0.00 [09:28:08]line ÐСП 1% : 2.66 [09:28:08]line ÐДС 12% : 31.89 [09:28:08]line Ðаличными: 300.00 [09:28:08]line Безнал.: 0.00 [09:28:08]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [09:28:08]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [09:28:08]line СÐО: Общий режим [09:28:08]line Чек 14 28.01.2024 09:28 [09:28:08]line Смена: 244 ФФД: 1.0 [09:28:08]line ЗÐМ: 0300000040 [09:28:08]line РÐМ: 0000000000092723 [09:28:08]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:28:08]line ФМ: 0000000000875060 [09:28:08]line ФД: 48949 [09:28:08]line ФПД: 74020867811919 [09:28:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T092814&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48949&fm=74020867811919&tin=02508201610067®Number=0000000000092723&sum=30000 [09:28:08]OFD Sender: Processing packet 48949 [packets to send 12, broken 11] [09:28:08]ProducePacketName [09:28:08]name=ofd_packets/00048949 [09:28:08]OFD Sender: To server: ‡•öpG, [09:28:08]CommunicateWithHost lk.salyk.kg:30040 [09:28:08]ConnectInit lk.salyk.kg [09:28:08]written 0, free lines is 4095 [09:28:09]Connected sock=10 [09: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 30 36 30 0F 01 00 00 EA D6 07 01 91 32 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 0E 00 00 00 F4 03 04 00 2E 1E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 35 BF 00 00 35 04 06 00 43 52 53 88 2A 4F 72 C3 5C E7 6D B3 E3 63 [09:28:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 BA A4 47 00 84 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 35 BF 00 00 F4 03 04 00 2A CA B5 65 B6 04 01 00 00 1C 47 1D 2B B9 F7 D8 77 [09:28:09]CommunicateWithHost err = 0 [09:28:09]CheckOFDResponse [09:28:09]1017 (14) - 77093643461234 [09:28:09]1041 (16) - 0000000000875060 [09:28:09]1040 (4) - 48949 [09:28:09]1012 (4) - 28.01.2024 03:29 [09:28:09]1206 (1) - 0 [09:28:09]OFD Sender: Remove packet 48949 [09:28:09]ProducePacketName [09:28:09]name=ofd_packets/00048949 [09:28:09]NVStorageDeleteData [09:28:09]Write to MH i2c: 01 00 00 52 28 7A [09:28:09]Write i2c OK [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: 01 [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: 01 07 00 [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: 01 07 00 52 28 00 00 00 00 00 F2 0C 7F [09:28:09]RasterBufferAndPrint [09:28:09]line [09:28:09]line [09:28:09]line [09:28:09]line [09:28:09]line [09:28:09]written 0, free lines is 3320 [09:28:09]MH_Cut [09:28:09]Write to MH i2c: D1 01 00 59 28 01 53 [09:28:09]Write i2c OK [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: D1 [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: D1 01 00 [09:28:09]MH_I2C_Read... [09:28:09]Read from MH i2c: D1 01 00 59 28 00 52 [09:28:09]Write to MH i2c: 01 00 00 5A 28 82 [09:28:09]Write i2c OK [09:28:09]MH_I2C_Read... [09:28:09]OFD Sender: No OFD packet to send [09:28:10]*** Cut start [09:28:10]*** Partial cut [09:28:10]*** CUTSNS_PIN = 1 [09:28:10]*** CUTSNS_PIN = 0 [09:28:10]*** Brake cut motor [09:28:10]Read from MH i2c: 01 [09:28:10]MH_I2C_Read... [09:28:10]*** Stop cut motor [09:28:10]*** Cut end [09:28:10]Read from MH i2c: 01 07 00 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: 01 07 00 5A 28 00 00 00 00 00 FF 0F 97 [09:28:10]process_action close_receipt done [09:28:10]requested_data is exist [09:28:10]produce_requested_data [09:28:10]requested_item fm.sn is exist - process it [09:28:10]wFMCommunicate request_size=4 [09:28:10]MH_SAM_APDU [09:28:10]CAPDU: 80 11 00 00 [09:28:10]Write to MH i2c: E2 08 00 5B 28 80 11 00 00 00 00 00 00 FD [09:28:10]Write i2c OK [09:28:10]MH_I2C_Read... [09:28:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:10]Read from MH i2c: E2 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: E2 17 00 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: E2 17 00 5B 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 4A [09:28:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:28:10]wFMCommunicate OK [09:28:10]requested_item fd.num is exist - process it [09:28:10]SAM_PROTO_GetFieldsCounters [09:28:10]wFMCommunicate request_size=4 [09:28:10]MH_SAM_APDU [09:28:10]CAPDU: 80 13 00 00 [09:28:10]Write to MH i2c: E2 08 00 5C 28 80 13 00 00 00 00 00 00 00 [09:28:10]Write i2c OK [09:28:10]MH_I2C_Read... [09:28:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:28:10]Read from MH i2c: E2 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: E2 62 00 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: E2 62 00 5C 28 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 35 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [09:28:10]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 35 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:28:10]wFMCommunicate OK [09:28:10]SAM_PROTO_GetFieldsCounters done [09:28:10]requested_item shift.num is exist - process it [09:28:10]requested_item shift.opened is exist - process it [09:28:10]req_shift_opened [09:28:10]FM_GetShiftState [09:28:10]SAM_PROTO_GetShiftState [09:28:10]wFMCommunicate request_size=4 [09:28:10]MH_SAM_APDU [09:28:10]CAPDU: 80 13 01 00 [09:28:10]Write to MH i2c: E2 08 00 5D 28 80 13 01 00 00 00 00 00 02 [09:28:10]Write i2c OK [09:28:10]MH_I2C_Read... [09:28:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:10]Read from MH i2c: E2 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: E2 0E 00 [09:28:10]MH_I2C_Read... [09:28:10]Read from MH i2c: E2 0E 00 5D 28 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 88 [09:28:10]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:28:10]wFMCommunicate OK [09:28:10]SAM_PROTO_GetShiftState done [09:28:10]FM_GetShiftState done [09:28:10]req_shift_opened done [09:28:10]requested_item shift.open_date is exist - process it [09:28:10]req_shift_open_date [09:28:10]req_shift_open_date done [09:28:10]produce_requested_data done [09:28:10]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48949,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [09:28:10]process_action_free close_receipt [09:28:10]json_value_free [09:28:10]json_value_free done [09:28:10]process_json_proto returns [09:28:10]Send response to host [09:28:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48949,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [09:28:10]free response buf [09:28:10]execute_script done [09:28:10]execute_script returns [09:28:10]free content buf [09:28:10]Sock 9.Close socket [09:28:10]Sock 9.Thread stoped [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:28]accept exits with 7 [09:29:28]New connection [09:29:28]New thread 3066813796 created [09:29:28]Thread 3066670436 joined [09:29:28]Waiting for new connection... [09:29:28] Sock 7.Parse request [09:29:28]Sock 7.Check first char [09:29:28]Sock 7.First char is OK [09:29:28]request: POST /json_proto HTTP/1.0 [09:29:28]Method: POST [09:29:28]URL: /json_proto [09:29:28]Method is POST - this is cgi request [09:29:28]url: /json_proto [09:29:28]query_string will be loaded in cgi processing [09:29:28]execute_cgi json_proto POST (null) [09:29:28]execute_cgi path=json_proto method=POST [09:29:28]POST find Content-Length [09:29:28]Host: 172.17.56.67:8080 [09:29:28]Content-Length: 677 [09:29:28]Content-Type: application/json [09:29:28] [09:29:28]POST finish read [09:29:28]Found Content-Length = 677 [09:29:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216047", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 5.810, "sum" : 350.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:29:28]execute_script... [09:29: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 : (1)216047", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 5.810, "sum" : 350.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:29:28]POST & json_proto [09:29:28]process_json_proto [09:29:28]json parsed OK: [09:29:28]protocol is kg_v1.0 [09:29:28]action value=close_receipt [09:29:28]process_action close_receipt [09:29:28]cmd_close_receipt [09:29:28]MH_GetDate [09:29:28]Write to MH i2c: F0 00 00 5E 28 75 [09:29:28]Write i2c OK [09:29:28]MH_I2C_Read... [09:29:28]Read from MH i2c: F0 [09:29:28]MH_I2C_Read... [09:29:28]Read from MH i2c: F0 09 00 [09:29:28]MH_I2C_Read... [09:29:28]Read from MH i2c: F0 09 00 5E 28 00 80 1E B6 65 26 5D 9E 65 BD [09:29:28]GetLastDocTimeStamp 1706434094 [09:29:28]current date 1706434176 [09:29:28]FM_GetShiftState [09:29:28]SAM_PROTO_GetShiftState [09:29:28]wFMCommunicate request_size=4 [09:29:28]MH_SAM_APDU [09:29:28]CAPDU: 80 13 01 00 [09:29:28]Write to MH i2c: E2 08 00 5F 28 80 13 01 00 00 00 00 00 04 [09:29:28]Write i2c OK [09:29:28]MH_I2C_Read... [09:29:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:29:28]Read from MH i2c: E2 [09:29:28]MH_I2C_Read... [09:29:28]Read from MH i2c: E2 0E 00 [09:29:28]MH_I2C_Read... [09:29:28]Read from MH i2c: E2 0E 00 5F 28 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 8A [09:29:28]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:29:28]wFMCommunicate OK [09:29:28]SAM_PROTO_GetShiftState done [09:29:28]FM_GetShiftState done [09:29:28]opened in 1706400199 [09:29:28]opened+sec_in_day 1706486599 [09:29:28]quantity*price = 35034 [09:29:28]sum+1 = 35035 [09:29:28]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.34 ИТОГО: 350.00 ВнеÑено: 350.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.10 ÐДС 12% : 37.20 Ðаличными: 350.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 15 28.01.2024 09:29 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48950 ФПД: 253267768109362 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T092936&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48950&fm=253267768109362&tin=02508201610067®Number=0000000000092723&sum=35000 [09:29:29]StoreToDocumentArchive [09:29:29]shift 244 fd 48950 [09:29:29]save to /storage/0244/doc_00048950 [09:29:29]save last doc name /storage/0244/doc_00048950 to /storage/kkm_last_doc_name [09:29:29]save OK [09:29:29]Clear old archive folders... [09:29:29]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:29:29]tlvbuf is 011F8130 [09:29:29]SAM_PROTO_ClearQueue [09:29:29]wFMCommunicate request_size=4 [09:29:29]MH_SAM_APDU [09:29:29]CAPDU: 80 09 00 00 [09:29:29]Write to MH i2c: E2 08 00 6C 28 80 09 00 00 00 00 00 00 06 [09:29:29]Write i2c OK [09:29:29]MH_I2C_Read... [09:29:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:29:29]Read from MH i2c: E2 [09:29:29]MH_I2C_Read... [09:29:29]Read from MH i2c: E2 03 00 [09:29:29]MH_I2C_Read... [09:29:29]Read from MH i2c: E2 03 00 6C 28 00 90 00 08 [09:29:29]RAPDU: 90 00 [09:29:29]wFMCommunicate OK [09:29:29]SAM_PROTO_ClearQueue done [09:29:29]KKMCreateOFDPacket [09:29:29]OFDProtocolAddRootSTLVToBuf [09:29:29]FM_MakeSignedData [09:29:29]FM_MakeSignedData [09:29:29]SAM_PROTO_SignData [09:29:29]wFMCommunicate request_size=4 [09:29:29]MH_SAM_APDU [09:29:29]CAPDU: 80 0D 01 02 [09:29:29]Write to MH i2c: E2 08 00 6D 28 80 0D 01 02 00 00 00 00 0E [09:29:29]Write i2c OK [09:29:29]MH_I2C_Read... [09:29:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:29:30]Read from MH i2c: E2 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 03 00 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 03 00 6D 28 00 90 00 09 [09:29:30]RAPDU: 90 00 [09:29:30]wFMCommunicate OK [09:29:30]wFMCommunicate request_size=255 [09:29:30]MH_SAM_APDU [09:29:30]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 16 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 DA 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0E 00 00 00 00 07 04 06 00 B8 88 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 80 1E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 36 BF 00 00 35 04 06 00 E6 [09:29:30]Write to MH i2c: E2 02 01 6E 28 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 16 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 DA 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0E 00 00 00 00 07 04 06 00 B8 88 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 80 1E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 36 BF 00 00 35 04 06 00 E6 00 00 C3 [09:29:30]Write i2c OK [09:29:30]MH_I2C_Read... [09:29:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:30]Read from MH i2c: E2 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 03 00 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 03 00 6E 28 00 90 00 0A [09:29:30]RAPDU: 90 00 [09:29:30]wFMCommunicate OK [09:29:30]wFMCommunicate request_size=10 [09:29:30]MH_SAM_APDU [09:29:30]CAPDU: 80 0D 02 02 05 58 7F 59 E9 32 [09:29:30]Write to MH i2c: E2 0D 00 6F 28 80 0D 02 02 05 00 58 7F 59 E9 32 00 00 66 [09:29:30]Write i2c OK [09:29:30]MH_I2C_Read... [09:29:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:30]Read from MH i2c: E2 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 03 00 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 03 00 6F 28 00 90 00 0B [09:29:30]RAPDU: 90 00 [09:29:30]wFMCommunicate OK [09:29:30]wFMCommunicate request_size=4 [09:29:30]MH_SAM_APDU [09:29:30]CAPDU: 80 0D 03 02 [09:29:30]Write to MH i2c: E2 08 00 70 28 80 0D 03 02 00 00 00 00 13 [09:29:30]Write i2c OK [09:29:30]MH_I2C_Read... [09:29:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:29:30]Read from MH i2c: E2 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 0B 00 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 0B 00 70 28 00 E0 CD 57 D8 6B C0 8F 31 90 00 DB [09:29:30]RAPDU: E0 CD 57 D8 6B C0 8F 31 90 00 [09:29:30]wFMCommunicate OK [09:29:30]SAM_PROTO_SignData done [09:29:30]FM_MakeSignedData done [09:29:30]CreateOFDProtocolMessage [09:29:30]wFMCommunicate request_size=4 [09:29:30]MH_SAM_APDU [09:29:30]CAPDU: 80 11 00 00 [09:29:30]Write to MH i2c: E2 08 00 71 28 80 11 00 00 00 00 00 00 13 [09:29:30]Write i2c OK [09:29:30]MH_I2C_Read... [09:29:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:29:30]Read from MH i2c: E2 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 17 00 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: E2 17 00 71 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 60 [09:29:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:29:30]wFMCommunicate OK [09:29:30]CreateOFDProtocolMessage done [09:29:30]OFDSenderStorePacket 48950 [09:29:30]StoreOFDPacket docnum=48950 [09:29:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 57 04 07 01 69 FC 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 16 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 DA 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0E 00 00 00 00 07 04 06 00 B8 88 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 80 1E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 36 BF 00 00 35 04 06 00 E6 58 7F 59 E9 32 E0 CD 57 D8 6B C0 8F 31 [09:29:30]CheckFolder [09:29:30]dirname=/storage/ofd_packets [09:29:30]CheckFolder done [09:29:30]ProducePacketName [09:29:30]name=ofd_packets/00048950 [09:29:30]NVStorageSaveData ofd_packets/00048950 [09:29:30]File name is /storage/ofd_packets/00048950 [09:29:30]Write 301 bytes [09:29:30]NVStorageSaveData done [09:29:30]OFDSenderStorePacket done [09:29:30]KKMCreateOFDPacket done [09:29:30]NVStorageSaveData kkm_last_timestamp [09:29:30]File name is /storage/kkm_last_timestamp [09:29:30]Write 4 bytes [09:29:30]NVStorageSaveData done [09:29:30]OFD Sender: Processing packet 48950 [packets to send 12, broken 11] [09:29:30]ProducePacketName [09:29:30]name=ofd_packets/00048950 [09:29:30]OFD Sender: To server: ‡•öpG, [09:29:30]CommunicateWithHost lk.salyk.kg:30040 [09:29:30]ConnectInit lk.salyk.kg [09:29:30]ExternCall_PrintAddStr [09:29:30]wPrintStart [09:29:30]Write to MH i2c: 01 00 00 72 28 9A [09:29:30]Write i2c OK [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: 01 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: 01 07 00 [09:29:30]MH_I2C_Read... [09:29:30]Read from MH i2c: 01 07 00 72 28 00 00 00 00 00 FF 0F AF [09:29:30]RasterBufferAndPrint [09:29:30]line Счет N : (1)216047 [09:29:30]line ИÐÐ: 02508201610067 [09:29:30]line Контрольно-КаÑÑовый Чек [09:29:30]line ПРОДÐЖР[09:29:30]line ТРК (МРК, ГÐК) : 22 [09:29:30]line Товар: 2710124130 [09:29:30]line Ðи-92-К-5 [09:29:30]line 5.810 * 60.30 [09:29:30]line = 350.34 [09:29:30]line ÐДС 12% ÐСП 1% [09:29:30]line > о реализуемом товаре [09:29:30]line ОКРУГЛЕÐИЕ: -0.34 [09:29:30]line ИТОГО: 350.00 [09:29:30]line ВнеÑено: 350.00 [09:29:30]line СДÐЧÐ: 0.00 [09:29:30]line ÐСП 1% : 3.10 [09:29:30]line ÐДС 12% : 37.20 [09:29:30]line Ðаличными: 350.00 [09:29:30]line Безнал.: 0.00 [09:29:30]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [09:29:30]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [09:29:30]line СÐО: Общий режим [09:29:30]line Чек 15 28.01.2024 09:29 [09:29:30]line Смена: 244 ФФД: 1.0 [09:29:30]line ЗÐМ: 0300000040 [09:29:30]line РÐМ: 0000000000092723 [09:29:30]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:29:30]line ФМ: 0000000000875060 [09:29:30]line ФД: 48950 [09:29:30]line ФПД: 253267768109362 [09:29:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T092936&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48950&fm=253267768109362&tin=02508201610067®Number=0000000000092723&sum=35000 [09:29:30]Connected sock=11 [09:29: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 30 36 30 0F 01 00 00 57 04 07 01 69 FC 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 16 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 DA 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0E 00 00 00 00 07 04 06 00 B8 88 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 80 1E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 36 BF 00 00 35 04 06 00 E6 58 7F 59 E9 32 E0 CD 57 D8 6B C0 8F 31 [09:29:30]written 0, free lines is 4095 [09:29:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 3D 43 47 00 C5 CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 36 BF 00 00 F4 03 04 00 7C CA B5 65 B6 04 01 00 00 F6 B5 1A 0E DD 34 9B 47 [09:29:30]CommunicateWithHost err = 0 [09:29:30]CheckOFDResponse [09:29:30]1017 (14) - 77093643461234 [09:29:30]1041 (16) - 0000000000875060 [09:29:30]1040 (4) - 48950 [09:29:30]1012 (4) - 28.01.2024 03:31 [09:29:30]1206 (1) - 0 [09:29:30]OFD Sender: Remove packet 48950 [09:29:30]ProducePacketName [09:29:30]name=ofd_packets/00048950 [09:29:30]NVStorageDeleteData [09:29:31]Write to MH i2c: 01 00 00 9D 28 C5 [09:29:31]Write i2c OK [09:29:31]MH_I2C_Read... [09:29:31]Read from MH i2c: 01 [09:29:31]MH_I2C_Read... [09:29:31]Read from MH i2c: 01 07 00 [09:29:31]MH_I2C_Read... [09:29:31]Read from MH i2c: 01 07 00 9D 28 00 00 00 00 00 F5 0C CD [09:29:31]RasterBufferAndPrint [09:29:31]line [09:29:31]line [09:29:31]line [09:29:31]line [09:29:31]line [09:29:31]written 0, free lines is 3323 [09:29:31]MH_Cut [09:29:31]Write to MH i2c: D1 01 00 A4 28 01 9E [09:29:31]Write i2c OK [09:29:31]MH_I2C_Read... [09:29:31]Read from MH i2c: D1 [09:29:31]MH_I2C_Read... [09:29:31]Read from MH i2c: D1 01 00 [09:29:31]MH_I2C_Read... [09:29:31]Read from MH i2c: D1 01 00 A4 28 00 9D [09:29:31]Write to MH i2c: 01 00 00 A5 28 CD [09:29:31]Write i2c OK [09:29:31]MH_I2C_Read... [09:29:31]OFD Sender: No OFD packet to send [09:29:31]*** Cut start [09:29:31]*** Partial cut [09:29:31]*** CUTSNS_PIN = 1 [09:29:31]*** CUTSNS_PIN = 0 [09:29:32]*** Brake cut motor [09:29:32]Read from MH i2c: 01 [09:29:32]MH_I2C_Read... [09:29:32]*** Stop cut motor [09:29:32]*** Cut end [09:29:32]Read from MH i2c: 01 07 00 [09:29:32]MH_I2C_Read... [09:29:32]Read from MH i2c: 01 07 00 A5 28 00 00 00 00 00 FF 0F E2 [09:29:32]process_action close_receipt done [09:29:32]requested_data is exist [09:29:32]produce_requested_data [09:29:32]requested_item fm.sn is exist - process it [09:29:32]wFMCommunicate request_size=4 [09:29:32]MH_SAM_APDU [09:29:32]CAPDU: 80 11 00 00 [09:29:32]Write to MH i2c: E2 08 00 A6 28 80 11 00 00 00 00 00 00 48 [09:29:32]Write i2c OK [09:29:32]MH_I2C_Read... [09:29:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:29:32]Read from MH i2c: E2 [09:29:32]MH_I2C_Read... [09:29:32]Read from MH i2c: E2 17 00 [09:29:32]MH_I2C_Read... [09:29:32]Read from MH i2c: E2 17 00 A6 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 95 [09:29:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:29:32]wFMCommunicate OK [09:29:32]requested_item fd.num is exist - process it [09:29:32]SAM_PROTO_GetFieldsCounters [09:29:32]wFMCommunicate request_size=4 [09:29:32]MH_SAM_APDU [09:29:32]CAPDU: 80 13 00 00 [09:29:32]Write to MH i2c: E2 08 00 A7 28 80 13 00 00 00 00 00 00 4B [09:29:32]Write i2c OK [09:29:32]MH_I2C_Read... [09:29:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:29:32]Read from MH i2c: E2 [09:29:32]MH_I2C_Read... [09:29:32]Read from MH i2c: E2 62 00 [09:29:32]MH_I2C_Read... [09:29:32]Read from MH i2c: E2 62 00 A7 28 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 36 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 7A [09:29: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 36 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:29:32]wFMCommunicate OK [09:29:32]SAM_PROTO_GetFieldsCounters done [09:29:32]requested_item shift.num is exist - process it [09:29:32]requested_item shift.opened is exist - process it [09:29:32]req_shift_opened [09:29:32]FM_GetShiftState [09:29:32]SAM_PROTO_GetShiftState [09:29:32]wFMCommunicate request_size=4 [09:29:32]MH_SAM_APDU [09:29:32]CAPDU: 80 13 01 00 [09:29:32]Write to MH i2c: E2 08 00 A8 28 80 13 01 00 00 00 00 00 4D [09:29:32]Write i2c OK [09:29:32]MH_I2C_Read... [09:29:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:29:32]Read from MH i2c: E2 [09:29:32]MH_I2C_Read... [09:29:32]Read from MH i2c: E2 0E 00 [09:29:32]MH_I2C_Read... [09:29:32]Read from MH i2c: E2 0E 00 A8 28 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D3 [09:29:32]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:29:32]wFMCommunicate OK [09:29:32]SAM_PROTO_GetShiftState done [09:29:32]FM_GetShiftState done [09:29:32]req_shift_opened done [09:29:32]requested_item shift.open_date is exist - process it [09:29:32]req_shift_open_date [09:29:32]req_shift_open_date done [09:29:32]produce_requested_data done [09:29:32]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48950,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [09:29:32]process_action_free close_receipt [09:29:32]json_value_free [09:29:32]json_value_free done [09:29:32]process_json_proto returns [09:29:32]Send response to host [09:29:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48950,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [09:29:32]free response buf [09:29:32]execute_script done [09:29:32]execute_script returns [09:29:32]free content buf [09:29:32]Sock 7.Close socket [09:29:32]Sock 7.Thread stoped [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40: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:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:07]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:37]OFD Sender: No OFD packet to send [09:44:42]OFD Sender: No OFD packet to send [09:44:47]OFD Sender: No OFD packet to send [09:44:52]OFD Sender: No OFD packet to send [09:44:57]OFD Sender: No OFD packet to send [09:45:02]OFD Sender: No OFD packet to send [09:45:07]OFD Sender: No OFD packet to send [09:45:12]OFD Sender: No OFD packet to send [09:45:17]OFD Sender: No OFD packet to send [09:45:22]OFD Sender: No OFD packet to send [09:45:27]OFD Sender: No OFD packet to send [09:45:32]OFD Sender: No OFD packet to send [09:45:37]OFD Sender: No OFD packet to send [09:45:42]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:07]OFD Sender: No OFD packet to send [09:46:12]OFD Sender: No OFD packet to send [09:46:17]OFD Sender: No OFD packet to send [09:46:22]OFD Sender: No OFD packet to send [09:46:23]accept exits with 9 [09:46:23]New connection [09:46:23]New thread 3066670436 created [09:46:23]Thread 3066813796 joined [09:46:23]Waiting for new connection... [09:46:23] Sock 9.Parse request [09:46:23]Sock 9.Check first char [09:46:23]Sock 9.First char is OK [09:46:23]request: POST /json_proto HTTP/1.0 [09:46:23]Method: POST [09:46:23]URL: /json_proto [09:46:23]Method is POST - this is cgi request [09:46:23]url: /json_proto [09:46:23]query_string will be loaded in cgi processing [09:46:23]execute_cgi json_proto POST (null) [09:46:23]execute_cgi path=json_proto method=POST [09:46:23]POST find Content-Length [09:46:23]Host: 172.17.56.67:8080 [09:46:23]Content-Length: 677 [09:46:23]Content-Type: application/json [09:46:23] [09:46:23]POST finish read [09:46:23]Found Content-Length = 677 [09:46:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216048", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.640, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:23]execute_script... [09:46:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216048", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.640, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:23]POST & json_proto [09:46:23]process_json_proto [09:46:23]json parsed OK: [09:46:23]protocol is kg_v1.0 [09:46:23]action value=close_receipt [09:46:23]process_action close_receipt [09:46:23]cmd_close_receipt [09:46:23]MH_GetDate [09:46:23]Write to MH i2c: F0 00 00 A9 28 C0 [09:46:23]Write i2c OK [09:46:23]MH_I2C_Read... [09:46:23]Read from MH i2c: F0 [09:46:23]MH_I2C_Read... [09:46:23]Read from MH i2c: F0 09 00 [09:46:23]MH_I2C_Read... [09:46:23]Read from MH i2c: F0 09 00 A9 28 00 77 22 B6 65 26 5D 9E 65 03 [09:46:23]GetLastDocTimeStamp 1706434176 [09:46:23]current date 1706435191 [09:46:23]FM_GetShiftState [09:46:23]SAM_PROTO_GetShiftState [09:46:23]wFMCommunicate request_size=4 [09:46:23]MH_SAM_APDU [09:46:23]CAPDU: 80 13 01 00 [09:46:23]Write to MH i2c: E2 08 00 AA 28 80 13 01 00 00 00 00 00 4F [09:46:23]Write i2c OK [09:46:23]MH_I2C_Read... [09:46:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:23]Read from MH i2c: E2 [09:46:23]MH_I2C_Read... [09:46:23]Read from MH i2c: E2 0E 00 [09:46:23]MH_I2C_Read... [09:46:23]Read from MH i2c: E2 0E 00 AA 28 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D5 [09:46:23]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:46:23]wFMCommunicate OK [09:46:23]SAM_PROTO_GetShiftState done [09:46:23]FM_GetShiftState done [09:46:23]opened in 1706400199 [09:46:23]opened+sec_in_day 1706486599 [09:46:23]quantity*price = 40039 [09:46:23]sum+1 = 40040 [09:46:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.39 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.52 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 16 28.01.2024 09:46 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48951 ФПД: 258521012294919 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T094631&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48951&fm=258521012294919&tin=02508201610067®Number=0000000000092723&sum=40000 [09:46:24]StoreToDocumentArchive [09:46:24]shift 244 fd 48951 [09:46:24]save to /storage/0244/doc_00048951 [09:46:24]save last doc name /storage/0244/doc_00048951 to /storage/kkm_last_doc_name [09:46:24]save OK [09:46:24]Clear old archive folders... [09:46:24]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:46:24]tlvbuf is B6EB8610 [09:46:24]SAM_PROTO_ClearQueue [09:46:24]wFMCommunicate request_size=4 [09:46:24]MH_SAM_APDU [09:46:24]CAPDU: 80 09 00 00 [09:46:24]Write to MH i2c: E2 08 00 B7 28 80 09 00 00 00 00 00 00 51 [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:46:24]Read from MH i2c: E2 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 03 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 03 00 B7 28 00 90 00 53 [09:46:24]RAPDU: 90 00 [09:46:24]wFMCommunicate OK [09:46:24]SAM_PROTO_ClearQueue done [09:46:24]KKMCreateOFDPacket [09:46:24]OFDProtocolAddRootSTLVToBuf [09:46:24]FM_MakeSignedData [09:46:24]FM_MakeSignedData [09:46:24]SAM_PROTO_SignData [09:46:24]wFMCommunicate request_size=4 [09:46:24]MH_SAM_APDU [09:46:24]CAPDU: 80 0D 01 02 [09:46:24]Write to MH i2c: E2 08 00 B8 28 80 0D 01 02 00 00 00 00 59 [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:46:24]Read from MH i2c: E2 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 03 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 03 00 B8 28 00 90 00 54 [09:46:24]RAPDU: 90 00 [09:46:24]wFMCommunicate OK [09:46:24]wFMCommunicate request_size=255 [09:46:24]MH_SAM_APDU [09:46:24]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 77 22 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 37 BF 00 00 35 04 06 00 EB [09:46:24]Write to MH i2c: E2 02 01 B9 28 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 77 22 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 37 BF 00 00 35 04 06 00 EB 00 00 6C [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:24]Read from MH i2c: E2 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 03 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 03 00 B9 28 00 90 00 55 [09:46:24]RAPDU: 90 00 [09:46:24]wFMCommunicate OK [09:46:24]wFMCommunicate request_size=10 [09:46:24]MH_SAM_APDU [09:46:24]CAPDU: 80 0D 02 02 05 1F 9D 1A D5 07 [09:46:24]Write to MH i2c: E2 0D 00 BA 28 80 0D 02 02 05 00 1F 9D 1A D5 07 00 00 18 [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:24]Read from MH i2c: E2 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 03 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 03 00 BA 28 00 90 00 56 [09:46:24]RAPDU: 90 00 [09:46:24]wFMCommunicate OK [09:46:24]wFMCommunicate request_size=4 [09:46:24]MH_SAM_APDU [09:46:24]CAPDU: 80 0D 03 02 [09:46:24]Write to MH i2c: E2 08 00 BB 28 80 0D 03 02 00 00 00 00 5E [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:46:24]Read from MH i2c: E2 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: E2 0B 00 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: E2 0B 00 BB 28 00 92 97 54 90 AE 34 3B 53 90 00 DC [09:46:25]RAPDU: 92 97 54 90 AE 34 3B 53 90 00 [09:46:25]wFMCommunicate OK [09:46:25]SAM_PROTO_SignData done [09:46:25]FM_MakeSignedData done [09:46:25]CreateOFDProtocolMessage [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 BC 28 80 11 00 00 00 00 00 00 5E [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 BC 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 AB [09:46:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:46:25]wFMCommunicate OK [09:46:25]CreateOFDProtocolMessage done [09:46:25]OFDSenderStorePacket 48951 [09:46:25]StoreOFDPacket docnum=48951 [09:46:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 8A 83 07 01 20 B5 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 77 22 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 37 BF 00 00 35 04 06 00 EB 1F 9D 1A D5 07 92 97 54 90 AE 34 3B 53 [09:46:25]CheckFolder [09:46:25]dirname=/storage/ofd_packets [09:46:25]CheckFolder done [09:46:25]ProducePacketName [09:46:25]name=ofd_packets/00048951 [09:46:25]NVStorageSaveData ofd_packets/00048951 [09:46:25]File name is /storage/ofd_packets/00048951 [09:46:25]Write 301 bytes [09:46:25]NVStorageSaveData done [09:46:25]OFDSenderStorePacket done [09:46:25]KKMCreateOFDPacket done [09:46:25]NVStorageSaveData kkm_last_timestamp [09:46:25]File name is /storage/kkm_last_timestamp [09:46:25]Write 4 bytes [09:46:25]NVStorageSaveData done [09:46:25]ExternCall_PrintAddStr [09:46:25]wPrintStart [09:46:25]Write to MH i2c: 01 00 00 BD 28 E5 [09:46:25]Write i2c OK [09:46:25]MH_I2C_Read... [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]Read from MH i2c: 01 07 00 BD 28 00 00 00 00 00 FF 0F FA [09:46:25]RasterBufferAndPrint [09:46:25]line Счет N : (1)216048 [09:46:25]line ИÐÐ: 02508201610067 [09:46:25]line Контрольно-КаÑÑовый Чек [09:46:25]line ПРОДÐЖР[09:46:25]line ТРК (МРК, ГÐК) : 22 [09:46:25]line Товар: 2710124130 [09:46:25]line Ðи-92-К-5 [09:46:25]line 6.640 * 60.30 [09:46:25]line = 400.39 [09:46:25]line ÐДС 12% ÐСП 1% [09:46:25]line > о реализуемом товаре [09:46:25]line ОКРУГЛЕÐИЕ: -0.39 [09:46:25]line ИТОГО: 400.00 [09:46:25]line ВнеÑено: 400.00 [09:46:25]line СДÐЧÐ: 0.00 [09:46:25]line ÐСП 1% : 3.54 [09:46:25]line ÐДС 12% : 42.52 [09:46:25]line Ðаличными: 400.00 [09:46:25]line Безнал.: 0.00 [09:46:25]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [09:46:25]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [09:46:25]line СÐО: Общий режим [09:46:25]line Чек 16 28.01.2024 09:46 [09:46:25]line Смена: 244 ФФД: 1.0 [09:46:25]line ЗÐМ: 0300000040 [09:46:25]line РÐМ: 0000000000092723 [09:46:25]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:46:25]line ФМ: 0000000000875060 [09:46:25]line ФД: 48951 [09:46:25]line ФПД: 258521012294919 [09:46:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T094631&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48951&fm=258521012294919&tin=02508201610067®Number=0000000000092723&sum=40000 [09:46:25]OFD Sender: Processing packet 48951 [packets to send 12, broken 11] [09:46:25]ProducePacketName [09:46:25]name=ofd_packets/00048951 [09:46:25]OFD Sender: To server: ‡•öpG, [09:46:25]CommunicateWithHost lk.salyk.kg:30040 [09:46:25]ConnectInit lk.salyk.kg [09:46:25]written 0, free lines is 4095 [09:46:25]Connected sock=10 [09:46: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 30 36 30 0F 01 00 00 8A 83 07 01 20 B5 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 77 22 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 37 BF 00 00 35 04 06 00 EB 1F 9D 1A D5 07 92 97 54 90 AE 34 3B 53 [09:46:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 48 C3 47 00 43 89 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 37 BF 00 00 F4 03 04 00 73 CE B5 65 B6 04 01 00 00 E1 E3 1A 36 EF C1 A9 FB [09:46:25]CommunicateWithHost err = 0 [09:46:25]CheckOFDResponse [09:46:25]1017 (14) - 77093643461234 [09:46:25]1041 (16) - 0000000000875060 [09:46:25]1040 (4) - 48951 [09:46:25]1012 (4) - 28.01.2024 03:48 [09:46:25]1206 (1) - 0 [09:46:25]OFD Sender: Remove packet 48951 [09:46:25]ProducePacketName [09:46:25]name=ofd_packets/00048951 [09:46:25]NVStorageDeleteData [09:46:25]Write to MH i2c: 01 00 00 E8 28 10 [09:46:25]Write i2c OK [09:46:25]MH_I2C_Read... [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]Read from MH i2c: 01 07 00 E8 28 00 00 00 00 00 FA 0C 1D [09:46:25]RasterBufferAndPrint [09:46:25]line [09:46:25]line [09:46:25]line [09:46:25]line [09:46:25]line [09:46:25]written 0, free lines is 3330 [09:46:25]MH_Cut [09:46:25]Write to MH i2c: D1 01 00 EF 28 01 E9 [09:46:25]Write i2c OK [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: D1 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: D1 01 00 [09:46:25]MH_I2C_Read... [09:46:25]Read from MH i2c: D1 01 00 EF 28 00 E8 [09:46:25]Write to MH i2c: 01 00 00 F0 28 18 [09:46:25]Write i2c OK [09:46:25]MH_I2C_Read... [09:46:26]OFD Sender: No OFD packet to send [09:46:26]*** Cut start [09:46:26]*** Partial cut [09:46:26]*** CUTSNS_PIN = 1 [09:46:26]*** CUTSNS_PIN = 0 [09:46:26]*** Brake cut motor [09:46:27]Read from MH i2c: 01 [09:46:27]MH_I2C_Read... [09:46:27]*** Stop cut motor [09:46:27]*** Cut end [09:46:27]Read from MH i2c: 01 07 00 [09:46:27]MH_I2C_Read... [09:46:27]Read from MH i2c: 01 07 00 F0 28 00 00 00 00 00 FF 0F 2D [09:46:27]process_action close_receipt done [09:46:27]requested_data is exist [09:46:27]produce_requested_data [09:46:27]requested_item fm.sn is exist - process it [09:46:27]wFMCommunicate request_size=4 [09:46:27]MH_SAM_APDU [09:46:27]CAPDU: 80 11 00 00 [09:46:27]Write to MH i2c: E2 08 00 F1 28 80 11 00 00 00 00 00 00 93 [09:46:27]Write i2c OK [09:46:27]MH_I2C_Read... [09:46:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:27]Read from MH i2c: E2 [09:46:27]MH_I2C_Read... [09:46:27]Read from MH i2c: E2 17 00 [09:46:27]MH_I2C_Read... [09:46:27]Read from MH i2c: E2 17 00 F1 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 E0 [09:46:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:46:27]wFMCommunicate OK [09:46:27]requested_item fd.num is exist - process it [09:46:27]SAM_PROTO_GetFieldsCounters [09:46:27]wFMCommunicate request_size=4 [09:46:27]MH_SAM_APDU [09:46:27]CAPDU: 80 13 00 00 [09:46:27]Write to MH i2c: E2 08 00 F2 28 80 13 00 00 00 00 00 00 96 [09:46:27]Write i2c OK [09:46:27]MH_I2C_Read... [09:46:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:27]Read from MH i2c: E2 [09:46:27]MH_I2C_Read... [09:46:27]Read from MH i2c: E2 62 00 [09:46:27]MH_I2C_Read... [09:46:27]Read from MH i2c: E2 62 00 F2 28 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 37 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 C9 [09:46: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 37 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:46:27]wFMCommunicate OK [09:46:27]SAM_PROTO_GetFieldsCounters done [09:46:27]requested_item shift.num is exist - process it [09:46:27]requested_item shift.opened is exist - process it [09:46:27]req_shift_opened [09:46:27]FM_GetShiftState [09:46:27]SAM_PROTO_GetShiftState [09:46:27]wFMCommunicate request_size=4 [09:46:27]MH_SAM_APDU [09:46:27]CAPDU: 80 13 01 00 [09:46:27]Write to MH i2c: E2 08 00 F3 28 80 13 01 00 00 00 00 00 98 [09:46:27]Write i2c OK [09:46:27]MH_I2C_Read... [09:46:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:27]Read from MH i2c: E2 [09:46:27]MH_I2C_Read... [09:46:27]Read from MH i2c: E2 0E 00 [09:46:27]MH_I2C_Read... [09:46:27]Read from MH i2c: E2 0E 00 F3 28 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 1E [09:46:27]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:46:27]wFMCommunicate OK [09:46:27]SAM_PROTO_GetShiftState done [09:46:27]FM_GetShiftState done [09:46:27]req_shift_opened done [09:46:27]requested_item shift.open_date is exist - process it [09:46:27]req_shift_open_date [09:46:27]req_shift_open_date done [09:46:27]produce_requested_data done [09:46:27]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48951,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [09:46:27]process_action_free close_receipt [09:46:27]json_value_free [09:46:27]json_value_free done [09:46:27]process_json_proto returns [09:46:27]Send response to host [09:46:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48951,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [09:46:27]free response buf [09:46:27]execute_script done [09:46:27]execute_script returns [09:46:27]free content buf [09:46:27]Sock 9.Close socket [09:46:27]Sock 9.Thread stoped [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:31]OFD Sender: No OFD packet to send [09:48:36]OFD Sender: No OFD packet to send [09:48:41]OFD Sender: No OFD packet to send [09:48:46]OFD Sender: No OFD packet to send [09:48:51]OFD Sender: No OFD packet to send [09:48:56]OFD Sender: No OFD packet to send [09:49:01]OFD Sender: No OFD packet to send [09:49:06]OFD Sender: No OFD packet to send [09:49:11]OFD Sender: No OFD packet to send [09:49:16]OFD Sender: No OFD packet to send [09:49:21]OFD Sender: No OFD packet to send [09:49:26]OFD Sender: No OFD packet to send [09:49:31]OFD Sender: No OFD packet to send [09:49:36]OFD Sender: No OFD packet to send [09:49:41]OFD Sender: No OFD packet to send [09:49:46]OFD Sender: No OFD packet to send [09:49:51]OFD Sender: No OFD packet to send [09:49:56]OFD Sender: No OFD packet to send [09:50:01]OFD Sender: No OFD packet to send [09:50:06]OFD Sender: No OFD packet to send [09:50:11]OFD Sender: No OFD packet to send [09:50:16]OFD Sender: No OFD packet to send [09:50:21]OFD Sender: No OFD packet to send [09:50:26]OFD Sender: No OFD packet to send [09:50:31]OFD Sender: No OFD packet to send [09:50:36]OFD Sender: No OFD packet to send [09:50:41]OFD Sender: No OFD packet to send [09:50:46]OFD Sender: No OFD packet to send [09:50:51]OFD Sender: No OFD packet to send [09:50:56]OFD Sender: No OFD packet to send [09:51:01]OFD Sender: No OFD packet to send [09:51:06]OFD Sender: No OFD packet to send [09:51:11]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:23]accept exits with 7 [09:51:23]New connection [09:51:23]New thread 3066813796 created [09:51:23]Thread 3066670436 joined [09:51:23]Waiting for new connection... [09:51:23] Sock 7.Parse request [09:51:23]Sock 7.Check first char [09:51:23]Sock 7.First char is OK [09:51:23]request: POST /json_proto HTTP/1.0 [09:51:23]Method: POST [09:51:23]URL: /json_proto [09:51:23]Method is POST - this is cgi request [09:51:23]url: /json_proto [09:51:23]query_string will be loaded in cgi processing [09:51:23]execute_cgi json_proto POST (null) [09:51:23]execute_cgi path=json_proto method=POST [09:51:23]POST find Content-Length [09:51:23]Host: 172.17.56.67:8080 [09:51:23]Content-Length: 674 [09:51:23]Content-Type: application/json [09:51:23] [09:51:23]POST finish read [09:51:23]Found Content-Length = 674 [09:51:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216049", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 7.160, "sum" : 500.48, "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:51:23]execute_script... [09:51:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216049", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 7.160, "sum" : 500.48, "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:51:23]POST & json_proto [09:51:23]process_json_proto [09:51:23]json parsed OK: [09:51:23]protocol is kg_v1.0 [09:51:23]action value=close_receipt [09:51:23]process_action close_receipt [09:51:23]cmd_close_receipt [09:51:23]MH_GetDate [09:51:23]Write to MH i2c: F0 00 00 F4 28 0B [09:51:23]Write i2c OK [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: F0 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: F0 09 00 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: F0 09 00 F4 28 00 A3 23 B6 65 26 5D 9E 65 7B [09:51:23]GetLastDocTimeStamp 1706435191 [09:51:23]current date 1706435491 [09:51:23]FM_GetShiftState [09:51:23]SAM_PROTO_GetShiftState [09:51:23]wFMCommunicate request_size=4 [09:51:23]MH_SAM_APDU [09:51:23]CAPDU: 80 13 01 00 [09:51:23]Write to MH i2c: E2 08 00 F5 28 80 13 01 00 00 00 00 00 9A [09:51:23]Write i2c OK [09:51:23]MH_I2C_Read... [09:51:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:51:23]Read from MH i2c: E2 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: E2 0E 00 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: E2 0E 00 F5 28 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 20 [09:51:23]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:51:23]wFMCommunicate OK [09:51:23]SAM_PROTO_GetShiftState done [09:51:23]FM_GetShiftState done [09:51:23]opened in 1706400199 [09:51:23]opened+sec_in_day 1706486599 [09:51:23]quantity*price = 50048 [09:51:23]sum+1 = 50049 [09:51:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.48 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 17 28.01.2024 09:51 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48952 ФПД: 102031880339496 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T095131&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48952&fm=102031880339496&tin=02508201610067®Number=0000000000092723&sum=50000 [09:51:24]StoreToDocumentArchive [09:51:24]shift 244 fd 48952 [09:51:24]save to /storage/0244/doc_00048952 [09:51:24]save last doc name /storage/0244/doc_00048952 to /storage/kkm_last_doc_name [09:51:24]save OK [09:51:24]Clear old archive folders... [09:51:24]ProcessDocumentItem done err = 0, tmpTLVsize=248 [09:51:24]tlvbuf is 01236E70 [09:51:24]SAM_PROTO_ClearQueue [09:51:24]wFMCommunicate request_size=4 [09:51:24]MH_SAM_APDU [09:51:24]CAPDU: 80 09 00 00 [09:51:24]Write to MH i2c: E2 08 00 02 29 80 09 00 00 00 00 00 00 9D [09:51:24]Write i2c OK [09:51:24]MH_I2C_Read... [09:51:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:51:24]Read from MH i2c: E2 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 03 00 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 03 00 02 29 00 90 00 9F [09:51:24]RAPDU: 90 00 [09:51:24]wFMCommunicate OK [09:51:24]SAM_PROTO_ClearQueue done [09:51:24]KKMCreateOFDPacket [09:51:24]OFDProtocolAddRootSTLVToBuf [09:51:24]FM_MakeSignedData [09:51:24]FM_MakeSignedData [09:51:24]SAM_PROTO_SignData [09:51:24]wFMCommunicate request_size=4 [09:51:24]MH_SAM_APDU [09:51:24]CAPDU: 80 0D 01 02 [09:51:24]Write to MH i2c: E2 08 00 03 29 80 0D 01 02 00 00 00 00 A5 [09:51:24]Write i2c OK [09:51:24]MH_I2C_Read... [09:51:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:51:24]Read from MH i2c: E2 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 03 00 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 03 00 03 29 00 90 00 A0 [09:51:24]RAPDU: 90 00 [09:51:24]wFMCommunicate OK [09:51:24]wFMCommunicate request_size=255 [09:51:24]MH_SAM_APDU [09:51:24]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 F8 1B 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 80 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 A3 23 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 38 BF 00 00 35 04 06 00 5C CC 25 FB [09:51:24]Write to MH i2c: E2 02 01 04 29 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 F8 1B 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 80 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 A3 23 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 38 BF 00 00 35 04 06 00 5C CC 25 FB 00 00 97 [09:51:24]Write i2c OK [09:51:24]MH_I2C_Read... [09:51:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:51:24]Read from MH i2c: E2 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 03 00 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 03 00 04 29 00 90 00 A1 [09:51:24]RAPDU: 90 00 [09:51:24]wFMCommunicate OK [09:51:24]wFMCommunicate request_size=7 [09:51:24]MH_SAM_APDU [09:51:24]CAPDU: 80 0D 02 02 02 C0 28 [09:51:24]Write to MH i2c: E2 0A 00 05 29 80 0D 02 02 02 00 C0 28 00 00 94 [09:51:24]Write i2c OK [09:51:24]MH_I2C_Read... [09:51:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:51:24]Read from MH i2c: E2 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 03 00 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 03 00 05 29 00 90 00 A2 [09:51:24]RAPDU: 90 00 [09:51:24]wFMCommunicate OK [09:51:24]wFMCommunicate request_size=4 [09:51:24]MH_SAM_APDU [09:51:24]CAPDU: 80 0D 03 02 [09:51:24]Write to MH i2c: E2 08 00 06 29 80 0D 03 02 00 00 00 00 AA [09:51:24]Write i2c OK [09:51:24]MH_I2C_Read... [09:51:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:51:25]Read from MH i2c: E2 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: E2 0B 00 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: E2 0B 00 06 29 00 CC 81 A3 6C BB 73 6B CE 90 00 6E [09:51:25]RAPDU: CC 81 A3 6C BB 73 6B CE 90 00 [09:51:25]wFMCommunicate OK [09:51:25]SAM_PROTO_SignData done [09:51:25]FM_MakeSignedData done [09:51:25]CreateOFDProtocolMessage [09:51:25]wFMCommunicate request_size=4 [09:51:25]MH_SAM_APDU [09:51:25]CAPDU: 80 11 00 00 [09:51:25]Write to MH i2c: E2 08 00 07 29 80 11 00 00 00 00 00 00 AA [09:51:25]Write i2c OK [09:51:25]MH_I2C_Read... [09:51:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:51:25]Read from MH i2c: E2 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: E2 17 00 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: E2 17 00 07 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 F7 [09:51:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:51:25]wFMCommunicate OK [09:51:25]CreateOFDProtocolMessage done [09:51:25]OFDSenderStorePacket 48952 [09:51:25]StoreOFDPacket docnum=48952 [09:51:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 E5 29 04 01 2C 83 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 F8 1B 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 80 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 A3 23 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 38 BF 00 00 35 04 06 00 5C CC 25 FB C0 28 CC 81 A3 6C BB 73 6B CE [09:51:25]CheckFolder [09:51:25]dirname=/storage/ofd_packets [09:51:25]CheckFolder done [09:51:25]ProducePacketName [09:51:25]name=ofd_packets/00048952 [09:51:25]NVStorageSaveData ofd_packets/00048952 [09:51:25]File name is /storage/ofd_packets/00048952 [09:51:25]Write 298 bytes [09:51:25]NVStorageSaveData done [09:51:25]OFDSenderStorePacket done [09:51:25]KKMCreateOFDPacket done [09:51:25]NVStorageSaveData kkm_last_timestamp [09:51:25]File name is /storage/kkm_last_timestamp [09:51:25]Write 4 bytes [09:51:25]NVStorageSaveData done [09:51:25]ExternCall_PrintAddStr [09:51:25]wPrintStart [09:51:25]Write to MH i2c: 01 00 00 08 29 31 [09:51:25]Write i2c OK [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: 01 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: 01 07 00 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: 01 07 00 08 29 00 00 00 00 00 FF 0F 46 [09:51:25]RasterBufferAndPrint [09:51:25]line Счет N : (1)216049 [09:51:25]line ИÐÐ: 02508201610067 [09:51:25]line Контрольно-КаÑÑовый Чек [09:51:25]line ПРОДÐЖР[09:51:25]line ТРК (МРК, ГÐК) : 11 [09:51:25]line Товар: 2710194210 [09:51:25]line ДТ-К-5 [09:51:25]line 7.160 * 69.90 [09:51:25]line = 500.48 [09:51:25]line ÐДС 12% ÐСП 1% [09:51:25]line > о реализуемом товаре [09:51:25]line ОКРУГЛЕÐИЕ: -0.48 [09:51:25]line ИТОГО: 500.00 [09:51:25]line ВнеÑено: 500.00 [09:51:25]line СДÐЧÐ: 0.00 [09:51:25]line ÐСП 1% : 4.43 [09:51:25]line ÐДС 12% : 53.15 [09:51:25]line Ðаличными: 500.00 [09:51:25]line Безнал.: 0.00 [09:51:25]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [09:51:25]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [09:51:25]line СÐО: Общий режим [09:51:25]line Чек 17 28.01.2024 09:51 [09:51:25]line Смена: 244 ФФД: 1.0 [09:51:25]line ЗÐМ: 0300000040 [09:51:25]line РÐМ: 0000000000092723 [09:51:25]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:51:25]line ФМ: 0000000000875060 [09:51:25]line ФД: 48952 [09:51:25]line ФПД: 102031880339496 [09:51:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T095131&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48952&fm=102031880339496&tin=02508201610067®Number=0000000000092723&sum=50000 [09:51:25]OFD Sender: Processing packet 48952 [packets to send 12, broken 11] [09:51:25]ProducePacketName [09:51:25]name=ofd_packets/00048952 [09:51:25]OFD Sender: To server: ‡•öpG, [09:51:25]CommunicateWithHost lk.salyk.kg:30040 [09:51:25]ConnectInit lk.salyk.kg [09:51:25]written 0, free lines is 4095 [09:51:25]Connected sock=10 [09:51: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 30 36 30 0C 01 00 00 E5 29 04 01 2C 83 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 F8 1B 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 80 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 A3 23 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 38 BF 00 00 35 04 06 00 5C CC 25 FB C0 28 CC 81 A3 6C BB 73 6B CE [09:51:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 66 8B 47 00 78 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 38 BF 00 00 F4 03 04 00 9F CF B5 65 B6 04 01 00 00 3A CC A0 20 99 7D 42 A6 [09:51:25]CommunicateWithHost err = 0 [09:51:25]CheckOFDResponse [09:51:25]1017 (14) - 77093643461234 [09:51:25]1041 (16) - 0000000000875060 [09:51:25]1040 (4) - 48952 [09:51:25]1012 (4) - 28.01.2024 03:53 [09:51:25]1206 (1) - 0 [09:51:25]OFD Sender: Remove packet 48952 [09:51:25]ProducePacketName [09:51:25]name=ofd_packets/00048952 [09:51:25]NVStorageDeleteData [09:51:25]Write to MH i2c: 01 00 00 33 29 5C [09:51:25]Write i2c OK [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: 01 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: 01 07 00 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: 01 07 00 33 29 00 00 00 00 00 EC 0C 5B [09:51:25]RasterBufferAndPrint [09:51:25]line [09:51:25]line [09:51:25]line [09:51:25]line [09:51:25]line [09:51:25]written 0, free lines is 3317 [09:51:25]MH_Cut [09:51:25]Write to MH i2c: D1 01 00 3A 29 01 35 [09:51:25]Write i2c OK [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: D1 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: D1 01 00 [09:51:25]MH_I2C_Read... [09:51:25]Read from MH i2c: D1 01 00 3A 29 00 34 [09:51:25]Write to MH i2c: 01 00 00 3B 29 64 [09:51:25]Write i2c OK [09:51:25]MH_I2C_Read... [09:51:26]OFD Sender: No OFD packet to send [09:51:26]*** Cut start [09:51:26]*** Partial cut [09:51:26]*** CUTSNS_PIN = 1 [09:51:26]*** CUTSNS_PIN = 0 [09:51:26]*** Brake cut motor [09:51:27]Read from MH i2c: 01 [09:51:27]MH_I2C_Read... [09:51:27]*** Stop cut motor [09:51:27]*** Cut end [09:51:27]Read from MH i2c: 01 07 00 [09:51:27]MH_I2C_Read... [09:51:27]Read from MH i2c: 01 07 00 3B 29 00 00 00 00 00 FF 0F 79 [09:51:27]process_action close_receipt done [09:51:27]requested_data is exist [09:51:27]produce_requested_data [09:51:27]requested_item fm.sn is exist - process it [09:51:27]wFMCommunicate request_size=4 [09:51:27]MH_SAM_APDU [09:51:27]CAPDU: 80 11 00 00 [09:51:27]Write to MH i2c: E2 08 00 3C 29 80 11 00 00 00 00 00 00 DF [09:51:27]Write i2c OK [09:51:27]MH_I2C_Read... [09:51:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:51:27]Read from MH i2c: E2 [09:51:27]MH_I2C_Read... [09:51:27]Read from MH i2c: E2 17 00 [09:51:27]MH_I2C_Read... [09:51:27]Read from MH i2c: E2 17 00 3C 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 2C [09:51:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:51:27]wFMCommunicate OK [09:51:27]requested_item fd.num is exist - process it [09:51:27]SAM_PROTO_GetFieldsCounters [09:51:27]wFMCommunicate request_size=4 [09:51:27]MH_SAM_APDU [09:51:27]CAPDU: 80 13 00 00 [09:51:27]Write to MH i2c: E2 08 00 3D 29 80 13 00 00 00 00 00 00 E2 [09:51:27]Write i2c OK [09:51:27]MH_I2C_Read... [09:51:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:51:27]Read from MH i2c: E2 [09:51:27]MH_I2C_Read... [09:51:27]Read from MH i2c: E2 62 00 [09:51:27]MH_I2C_Read... [09:51:27]Read from MH i2c: E2 62 00 3D 29 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 38 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 19 [09:51: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 38 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:51:27]wFMCommunicate OK [09:51:27]SAM_PROTO_GetFieldsCounters done [09:51:27]requested_item shift.num is exist - process it [09:51:27]requested_item shift.opened is exist - process it [09:51:27]req_shift_opened [09:51:27]FM_GetShiftState [09:51:27]SAM_PROTO_GetShiftState [09:51:27]wFMCommunicate request_size=4 [09:51:27]MH_SAM_APDU [09:51:27]CAPDU: 80 13 01 00 [09:51:27]Write to MH i2c: E2 08 00 3E 29 80 13 01 00 00 00 00 00 E4 [09:51:27]Write i2c OK [09:51:27]MH_I2C_Read... [09:51:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:51:27]Read from MH i2c: E2 [09:51:27]MH_I2C_Read... [09:51:27]Read from MH i2c: E2 0E 00 [09:51:27]MH_I2C_Read... [09:51:27]Read from MH i2c: E2 0E 00 3E 29 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 6A [09:51:27]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:51:27]wFMCommunicate OK [09:51:27]SAM_PROTO_GetShiftState done [09:51:27]FM_GetShiftState done [09:51:27]req_shift_opened done [09:51:27]requested_item shift.open_date is exist - process it [09:51:27]req_shift_open_date [09:51:27]req_shift_open_date done [09:51:27]produce_requested_data done [09:51:27]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48952,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [09:51:27]process_action_free close_receipt [09:51:27]json_value_free [09:51:27]json_value_free done [09:51:27]process_json_proto returns [09:51:27]Send response to host [09:51:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48952,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [09:51:27]free response buf [09:51:27]execute_script done [09:51:27]execute_script returns [09:51:27]free content buf [09:51:27]Sock 7.Close socket [09:51:27]Sock 7.Thread stoped [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:24]accept exits with 9 [09:52:24]New connection [09:52:24]New thread 3066670436 created [09:52:24]Thread 3066813796 joined [09:52:24]Waiting for new connection... [09:52:24] Sock 9.Parse request [09:52:24]Sock 9.Check first char [09:52:24]Sock 9.First char is OK [09:52:24]request: POST /json_proto HTTP/1.0 [09:52:24]Method: POST [09:52:24]URL: /json_proto [09:52:24]Method is POST - this is cgi request [09:52:24]url: /json_proto [09:52:24]query_string will be loaded in cgi processing [09:52:24]execute_cgi json_proto POST (null) [09:52:24]execute_cgi path=json_proto method=POST [09:52:24]POST find Content-Length [09:52:24]Host: 172.17.56.67:8080 [09:52:24]Content-Length: 677 [09:52:24]Content-Type: application/json [09:52:24] [09:52:24]POST finish read [09:52:24]Found Content-Length = 677 [09:52:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216050", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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:52:24]execute_script... [09:52: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 : (1)216050", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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:52:24]POST & json_proto [09:52:24]process_json_proto [09:52:24]json parsed OK: [09:52:24]protocol is kg_v1.0 [09:52:24]action value=close_receipt [09:52:24]process_action close_receipt [09:52:24]cmd_close_receipt [09:52:24]MH_GetDate [09:52:24]Write to MH i2c: F0 00 00 3F 29 57 [09:52:24]Write i2c OK [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: F0 [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: F0 09 00 [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: F0 09 00 3F 29 00 E0 23 B6 65 26 5D 9E 65 04 [09:52:24]GetLastDocTimeStamp 1706435491 [09:52:24]current date 1706435552 [09:52:24]FM_GetShiftState [09:52:24]SAM_PROTO_GetShiftState [09:52:24]wFMCommunicate request_size=4 [09:52:24]MH_SAM_APDU [09:52:24]CAPDU: 80 13 01 00 [09:52:24]Write to MH i2c: E2 08 00 40 29 80 13 01 00 00 00 00 00 E6 [09:52:24]Write i2c OK [09:52:24]MH_I2C_Read... [09:52:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:52:24]Read from MH i2c: E2 [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: E2 0E 00 [09:52:24]MH_I2C_Read... [09:52:24]Read from MH i2c: E2 0E 00 40 29 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 6C [09:52:24]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:52:24]wFMCommunicate OK [09:52:24]SAM_PROTO_GetShiftState done [09:52:24]FM_GetShiftState done [09:52:24]opened in 1706400199 [09:52:24]opened+sec_in_day 1706486599 [09:52:24]quantity*price = 50049 [09:52:24]sum+1 = 50050 [09:52:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 18 28.01.2024 09:52 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48953 ФПД: 204866971924604 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T095232&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48953&fm=204866971924604&tin=02508201610067®Number=0000000000092723&sum=50000 [09:52:25]StoreToDocumentArchive [09:52:25]shift 244 fd 48953 [09:52:25]save to /storage/0244/doc_00048953 [09:52:25]save last doc name /storage/0244/doc_00048953 to /storage/kkm_last_doc_name [09:52:25]save OK [09:52:25]Clear old archive folders... [09:52:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:52:25]tlvbuf is 01232730 [09:52:25]SAM_PROTO_ClearQueue [09:52:25]wFMCommunicate request_size=4 [09:52:25]MH_SAM_APDU [09:52:25]CAPDU: 80 09 00 00 [09:52:25]Write to MH i2c: E2 08 00 4D 29 80 09 00 00 00 00 00 00 E8 [09:52:25]Write i2c OK [09:52:25]MH_I2C_Read... [09:52:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:52:25]Read from MH i2c: E2 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 03 00 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 03 00 4D 29 00 90 00 EA [09:52:25]RAPDU: 90 00 [09:52:25]wFMCommunicate OK [09:52:25]SAM_PROTO_ClearQueue done [09:52:25]KKMCreateOFDPacket [09:52:25]OFDProtocolAddRootSTLVToBuf [09:52:25]FM_MakeSignedData [09:52:25]FM_MakeSignedData [09:52:25]SAM_PROTO_SignData [09:52:25]wFMCommunicate request_size=4 [09:52:25]MH_SAM_APDU [09:52:25]CAPDU: 80 0D 01 02 [09:52:25]Write to MH i2c: E2 08 00 4E 29 80 0D 01 02 00 00 00 00 F0 [09:52:25]Write i2c OK [09:52:25]MH_I2C_Read... [09:52:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:52:25]Read from MH i2c: E2 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 03 00 [09:52:25]MH_I2C_Read... [09:52:25]Read from MH i2c: E2 03 00 4E 29 00 90 00 EB [09:52:25]RAPDU: 90 00 [09:52:25]wFMCommunicate OK [09:52:25]wFMCommunicate request_size=255 [09:52:25]MH_SAM_APDU [09:52:25]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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 12 00 00 00 F4 03 04 00 E0 23 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 39 BF 00 00 35 04 06 00 BA [09:52:25]Write to MH i2c: E2 02 01 4F 29 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 12 00 00 00 F4 03 04 00 E0 23 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 39 BF 00 00 35 04 06 00 BA 00 00 F6 [09:52:25]Write i2c OK [09:52:25]MH_I2C_Read... [09:52:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:52:26]Read from MH i2c: E2 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 03 00 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 03 00 4F 29 00 90 00 EC [09:52:26]RAPDU: 90 00 [09:52:26]wFMCommunicate OK [09:52:26]wFMCommunicate request_size=10 [09:52:26]MH_SAM_APDU [09:52:26]CAPDU: 80 0D 02 02 05 53 4F 16 78 7C [09:52:26]Write to MH i2c: E2 0D 00 50 29 80 0D 02 02 05 00 53 4F 16 78 7C 00 00 A9 [09:52:26]Write i2c OK [09:52:26]MH_I2C_Read... [09:52:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:52:26]OFD Sender: No OFD packet to send [09:52:26]Read from MH i2c: E2 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 03 00 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 03 00 50 29 00 90 00 ED [09:52:26]RAPDU: 90 00 [09:52:26]wFMCommunicate OK [09:52:26]wFMCommunicate request_size=4 [09:52:26]MH_SAM_APDU [09:52:26]CAPDU: 80 0D 03 02 [09:52:26]Write to MH i2c: E2 08 00 51 29 80 0D 03 02 00 00 00 00 F5 [09:52:26]Write i2c OK [09:52:26]MH_I2C_Read... [09:52:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:52:26]Read from MH i2c: E2 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 0B 00 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 0B 00 51 29 00 BB D7 E7 0A C1 CB 59 23 90 00 81 [09:52:26]RAPDU: BB D7 E7 0A C1 CB 59 23 90 00 [09:52:26]wFMCommunicate OK [09:52:26]SAM_PROTO_SignData done [09:52:26]FM_MakeSignedData done [09:52:26]CreateOFDProtocolMessage [09:52:26]wFMCommunicate request_size=4 [09:52:26]MH_SAM_APDU [09:52:26]CAPDU: 80 11 00 00 [09:52:26]Write to MH i2c: E2 08 00 52 29 80 11 00 00 00 00 00 00 F5 [09:52:26]Write i2c OK [09:52:26]MH_I2C_Read... [09:52:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:52:26]Read from MH i2c: E2 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 17 00 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: E2 17 00 52 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 42 [09:52:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:52:26]wFMCommunicate OK [09:52:26]CreateOFDProtocolMessage done [09:52:26]OFDSenderStorePacket 48953 [09:52:26]StoreOFDPacket docnum=48953 [09:52:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 27 AF 07 01 67 77 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 12 00 00 00 F4 03 04 00 E0 23 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 39 BF 00 00 35 04 06 00 BA 53 4F 16 78 7C BB D7 E7 0A C1 CB 59 23 [09:52:26]CheckFolder [09:52:26]dirname=/storage/ofd_packets [09:52:26]CheckFolder done [09:52:26]ProducePacketName [09:52:26]name=ofd_packets/00048953 [09:52:26]NVStorageSaveData ofd_packets/00048953 [09:52:26]File name is /storage/ofd_packets/00048953 [09:52:26]Write 301 bytes [09:52:26]NVStorageSaveData done [09:52:26]OFDSenderStorePacket done [09:52:26]KKMCreateOFDPacket done [09:52:26]NVStorageSaveData kkm_last_timestamp [09:52:26]File name is /storage/kkm_last_timestamp [09:52:26]Write 4 bytes [09:52:26]NVStorageSaveData done [09:52:26]ExternCall_PrintAddStr [09:52:26]wPrintStart [09:52:26]Write to MH i2c: 01 00 00 53 29 7C [09:52:26]Write i2c OK [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: 01 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: 01 07 00 [09:52:26]MH_I2C_Read... [09:52:26]Read from MH i2c: 01 07 00 53 29 00 00 00 00 00 FF 0F 91 [09:52:26]RasterBufferAndPrint [09:52:26]line Счет N : (1)216050 [09:52:26]line ИÐÐ: 02508201610067 [09:52:26]line Контрольно-КаÑÑовый Чек [09:52:26]line ПРОДÐЖР[09:52:26]line ТРК (МРК, ГÐК) : 22 [09:52:26]line Товар: 2710124130 [09:52:26]line Ðи-92-К-5 [09:52:26]line 8.300 * 60.30 [09:52:26]line = 500.49 [09:52:26]line ÐДС 12% ÐСП 1% [09:52:26]line > о реализуемом товаре [09:52:26]line ОКРУГЛЕÐИЕ: -0.49 [09:52:26]line ИТОГО: 500.00 [09:52:26]line ВнеÑено: 500.00 [09:52:26]line СДÐЧÐ: 0.00 [09:52:26]line ÐСП 1% : 4.43 [09:52:26]line ÐДС 12% : 53.15 [09:52:26]line Ðаличными: 500.00 [09:52:26]line Безнал.: 0.00 [09:52:26]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [09:52:26]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [09:52:26]line СÐО: Общий режим [09:52:26]line Чек 18 28.01.2024 09:52 [09:52:26]line Смена: 244 ФФД: 1.0 [09:52:26]line ЗÐМ: 0300000040 [09:52:26]line РÐМ: 0000000000092723 [09:52:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:52:26]line ФМ: 0000000000875060 [09:52:26]line ФД: 48953 [09:52:26]line ФПД: 204866971924604 [09:52:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T095232&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48953&fm=204866971924604&tin=02508201610067®Number=0000000000092723&sum=50000 [09:52:26]OFD Sender: Processing packet 48953 [packets to send 12, broken 11] [09:52:26]ProducePacketName [09:52:26]name=ofd_packets/00048953 [09:52:26]OFD Sender: To server: ‡•öpG, [09:52:26]CommunicateWithHost lk.salyk.kg:30040 [09:52:26]ConnectInit lk.salyk.kg [09:52:26]written 0, free lines is 4095 [09:52:26]Connected sock=10 [09:52: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 30 36 30 0F 01 00 00 27 AF 07 01 67 77 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 12 00 00 00 F4 03 04 00 E0 23 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 39 BF 00 00 35 04 06 00 BA 53 4F 16 78 7C BB D7 E7 0A C1 CB 59 23 [09:52:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 DB B8 47 00 65 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 39 BF 00 00 F4 03 04 00 DC CF B5 65 B6 04 01 00 00 5F 97 BA 8E 6D C1 76 22 [09:52:26]CommunicateWithHost err = 0 [09:52:26]CheckOFDResponse [09:52:26]1017 (14) - 77093643461234 [09:52:26]1041 (16) - 0000000000875060 [09:52:26]1040 (4) - 48953 [09:52:26]1012 (4) - 28.01.2024 03:54 [09:52:26]1206 (1) - 0 [09:52:26]OFD Sender: Remove packet 48953 [09:52:26]ProducePacketName [09:52:26]name=ofd_packets/00048953 [09:52:26]NVStorageDeleteData [09:52:27]Write to MH i2c: 01 00 00 7E 29 A7 [09:52:27]Write i2c OK [09:52:27]MH_I2C_Read... [09:52:27]Read from MH i2c: 01 [09:52:27]MH_I2C_Read... [09:52:27]Read from MH i2c: 01 07 00 [09:52:27]MH_I2C_Read... [09:52:27]Read from MH i2c: 01 07 00 7E 29 00 00 00 00 00 F3 0C AD [09:52:27]RasterBufferAndPrint [09:52:27]line [09:52:27]line [09:52:27]line [09:52:27]line [09:52:27]line [09:52:27]written 0, free lines is 3321 [09:52:27]MH_Cut [09:52:27]Write to MH i2c: D1 01 00 85 29 01 80 [09:52:27]Write i2c OK [09:52:27]MH_I2C_Read... [09:52:27]Read from MH i2c: D1 [09:52:27]MH_I2C_Read... [09:52:27]Read from MH i2c: D1 01 00 [09:52:27]MH_I2C_Read... [09:52:27]Read from MH i2c: D1 01 00 85 29 00 7F [09:52:27]Write to MH i2c: 01 00 00 86 29 AF [09:52:27]Write i2c OK [09:52:27]MH_I2C_Read... [09:52:27]OFD Sender: No OFD packet to send [09:52:27]*** Cut start [09:52:27]*** Partial cut [09:52:27]*** CUTSNS_PIN = 1 [09:52:27]*** CUTSNS_PIN = 0 [09:52:28]*** Brake cut motor [09:52:28]Read from MH i2c: 01 [09:52:28]MH_I2C_Read... [09:52:28]*** Stop cut motor [09:52:28]*** Cut end [09:52:28]Read from MH i2c: 01 07 00 [09:52:28]MH_I2C_Read... [09:52:28]Read from MH i2c: 01 07 00 86 29 00 00 00 00 00 FF 0F C4 [09:52:28]process_action close_receipt done [09:52:28]requested_data is exist [09:52:28]produce_requested_data [09:52:28]requested_item fm.sn is exist - process it [09:52:28]wFMCommunicate request_size=4 [09:52:28]MH_SAM_APDU [09:52:28]CAPDU: 80 11 00 00 [09:52:28]Write to MH i2c: E2 08 00 87 29 80 11 00 00 00 00 00 00 2A [09:52:28]Write i2c OK [09:52:28]MH_I2C_Read... [09:52:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:52:28]Read from MH i2c: E2 [09:52:28]MH_I2C_Read... [09:52:28]Read from MH i2c: E2 17 00 [09:52:28]MH_I2C_Read... [09:52:28]Read from MH i2c: E2 17 00 87 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 77 [09:52:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [09:52:28]wFMCommunicate OK [09:52:28]requested_item fd.num is exist - process it [09:52:28]SAM_PROTO_GetFieldsCounters [09:52:28]wFMCommunicate request_size=4 [09:52:28]MH_SAM_APDU [09:52:28]CAPDU: 80 13 00 00 [09:52:28]Write to MH i2c: E2 08 00 88 29 80 13 00 00 00 00 00 00 2D [09:52:28]Write i2c OK [09:52:28]MH_I2C_Read... [09:52:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:52:28]Read from MH i2c: E2 [09:52:28]MH_I2C_Read... [09:52:28]Read from MH i2c: E2 62 00 [09:52:28]MH_I2C_Read... [09:52:28]Read from MH i2c: E2 62 00 88 29 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 39 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [09:52: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 39 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:52:28]wFMCommunicate OK [09:52:28]SAM_PROTO_GetFieldsCounters done [09:52:28]requested_item shift.num is exist - process it [09:52:28]requested_item shift.opened is exist - process it [09:52:28]req_shift_opened [09:52:28]FM_GetShiftState [09:52:28]SAM_PROTO_GetShiftState [09:52:28]wFMCommunicate request_size=4 [09:52:28]MH_SAM_APDU [09:52:28]CAPDU: 80 13 01 00 [09:52:28]Write to MH i2c: E2 08 00 89 29 80 13 01 00 00 00 00 00 2F [09:52:28]Write i2c OK [09:52:28]MH_I2C_Read... [09:52:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:52:28]Read from MH i2c: E2 [09:52:28]MH_I2C_Read... [09:52:28]Read from MH i2c: E2 0E 00 [09:52:28]MH_I2C_Read... [09:52:28]Read from MH i2c: E2 0E 00 89 29 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 B5 [09:52:28]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [09:52:28]wFMCommunicate OK [09:52:28]SAM_PROTO_GetShiftState done [09:52:28]FM_GetShiftState done [09:52:28]req_shift_opened done [09:52:28]requested_item shift.open_date is exist - process it [09:52:28]req_shift_open_date [09:52:28]req_shift_open_date done [09:52:28]produce_requested_data done [09:52:28]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48953,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [09:52:28]process_action_free close_receipt [09:52:28]json_value_free [09:52:28]json_value_free done [09:52:28]process_json_proto returns [09:52:28]Send response to host [09:52:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48953,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [09:52:28]free response buf [09:52:28]execute_script done [09:52:28]execute_script returns [09:52:28]free content buf [09:52:28]Sock 9.Close socket [09:52:28]Sock 9.Thread stoped [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:57]OFD Sender: No OFD packet to send [10:00:02]OFD Sender: No OFD packet to send [10:00:07]OFD Sender: No OFD packet to send [10:00:12]OFD Sender: No OFD packet to send [10:00:17]OFD Sender: No OFD packet to send [10:00:22]OFD Sender: No OFD packet to send [10:00:27]OFD Sender: No OFD packet to send [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:21]accept exits with 7 [10:02:21]New connection [10:02:21]New thread 3066813796 created [10:02:21]Thread 3066670436 joined [10:02:21]Waiting for new connection... [10:02:21] Sock 7.Parse request [10:02:21]Sock 7.Check first char [10:02:21]Sock 7.First char is OK [10:02:21]request: POST /json_proto HTTP/1.0 [10:02:21]Method: POST [10:02:21]URL: /json_proto [10:02:21]Method is POST - this is cgi request [10:02:21]url: /json_proto [10:02:21]query_string will be loaded in cgi processing [10:02:21]execute_cgi json_proto POST (null) [10:02:21]execute_cgi path=json_proto method=POST [10:02:21]POST find Content-Length [10:02:21]Host: 172.17.56.67:8080 [10:02:21]Content-Length: 682 [10:02:21]Content-Type: application/json [10:02:21] [10:02:21]POST finish read [10:02:21]Found Content-Length = 682 [10:02:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216051", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 24.880, "sum" : 1500.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:02:21]execute_script... [10:02:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216051", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 24.880, "sum" : 1500.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:02:21]POST & json_proto [10:02:21]process_json_proto [10:02:21]json parsed OK: [10:02:21]protocol is kg_v1.0 [10:02:21]action value=close_receipt [10:02:21]process_action close_receipt [10:02:21]cmd_close_receipt [10:02:21]MH_GetDate [10:02:21]Write to MH i2c: F0 00 00 8A 29 A2 [10:02:21]Write i2c OK [10:02:21]MH_I2C_Read... [10:02:21]Read from MH i2c: F0 [10:02:21]MH_I2C_Read... [10:02:21]Read from MH i2c: F0 09 00 [10:02:21]MH_I2C_Read... [10:02:21]Read from MH i2c: F0 09 00 8A 29 00 34 26 B6 65 26 5D 9E 65 A6 [10:02:21]GetLastDocTimeStamp 1706435552 [10:02:21]current date 1706436148 [10:02:21]FM_GetShiftState [10:02:21]SAM_PROTO_GetShiftState [10:02:21]wFMCommunicate request_size=4 [10:02:21]MH_SAM_APDU [10:02:21]CAPDU: 80 13 01 00 [10:02:21]Write to MH i2c: E2 08 00 8B 29 80 13 01 00 00 00 00 00 31 [10:02:21]Write i2c OK [10:02:21]MH_I2C_Read... [10:02:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:02:21]Read from MH i2c: E2 [10:02:21]MH_I2C_Read... [10:02:21]Read from MH i2c: E2 0E 00 [10:02:21]MH_I2C_Read... [10:02:21]Read from MH i2c: E2 0E 00 8B 29 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 B7 [10:02:21]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:02:21]wFMCommunicate OK [10:02:21]SAM_PROTO_GetShiftState done [10:02:21]FM_GetShiftState done [10:02:21]opened in 1706400199 [10:02:21]opened+sec_in_day 1706486599 [10:02:21]quantity*price = 150026 [10:02:21]sum+1 = 150027 [10:02:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.26 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.28 ÐДС 12% : 159.32 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 19 28.01.2024 10:02 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48954 ФПД: 4758861507042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T100229&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48954&fm=4758861507042&tin=02508201610067®Number=0000000000092723&sum=150000 [10:02:22]StoreToDocumentArchive [10:02:22]shift 244 fd 48954 [10:02:22]save to /storage/0244/doc_00048954 [10:02:22]save last doc name /storage/0244/doc_00048954 to /storage/kkm_last_doc_name [10:02:22]save OK [10:02:22]Clear old archive folders... [10:02:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:02:22]tlvbuf is 01384840 [10:02:22]SAM_PROTO_ClearQueue [10:02:22]wFMCommunicate request_size=4 [10:02:22]MH_SAM_APDU [10:02:22]CAPDU: 80 09 00 00 [10:02:22]Write to MH i2c: E2 08 00 98 29 80 09 00 00 00 00 00 00 33 [10:02:22]Write i2c OK [10:02:22]MH_I2C_Read... [10:02:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:02:22]Read from MH i2c: E2 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 03 00 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 03 00 98 29 00 90 00 35 [10:02:22]RAPDU: 90 00 [10:02:22]wFMCommunicate OK [10:02:22]SAM_PROTO_ClearQueue done [10:02:22]KKMCreateOFDPacket [10:02:22]OFDProtocolAddRootSTLVToBuf [10:02:22]FM_MakeSignedData [10:02:22]FM_MakeSignedData [10:02:22]SAM_PROTO_SignData [10:02:22]wFMCommunicate request_size=4 [10:02:22]MH_SAM_APDU [10:02:22]CAPDU: 80 0D 01 02 [10:02:22]Write to MH i2c: E2 08 00 99 29 80 0D 01 02 00 00 00 00 3B [10:02:22]Write i2c OK [10:02:22]MH_I2C_Read... [10:02:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:02:22]Read from MH i2c: E2 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 03 00 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 03 00 99 29 00 90 00 36 [10:02:22]RAPDU: 90 00 [10:02:22]wFMCommunicate OK [10:02:22]wFMCommunicate request_size=255 [10:02:22]MH_SAM_APDU [10:02:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 35 26 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3A BF 00 00 35 04 06 00 04 [10:02:22]Write to MH i2c: E2 02 01 9A 29 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 35 26 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3A BF 00 00 35 04 06 00 04 00 00 68 [10:02:22]Write i2c OK [10:02:22]MH_I2C_Read... [10:02:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:02:22]Read from MH i2c: E2 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 03 00 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 03 00 9A 29 00 90 00 37 [10:02:22]RAPDU: 90 00 [10:02:22]wFMCommunicate OK [10:02:22]wFMCommunicate request_size=10 [10:02:22]MH_SAM_APDU [10:02:22]CAPDU: 80 0D 02 02 05 54 02 3F E9 E2 [10:02:22]Write to MH i2c: E2 0D 00 9B 29 80 0D 02 02 05 00 54 02 3F E9 E2 00 00 A8 [10:02:22]Write i2c OK [10:02:22]MH_I2C_Read... [10:02:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:02:22]Read from MH i2c: E2 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 03 00 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 03 00 9B 29 00 90 00 38 [10:02:22]RAPDU: 90 00 [10:02:22]wFMCommunicate OK [10:02:22]wFMCommunicate request_size=4 [10:02:22]MH_SAM_APDU [10:02:22]CAPDU: 80 0D 03 02 [10:02:22]Write to MH i2c: E2 08 00 9C 29 80 0D 03 02 00 00 00 00 40 [10:02:22]Write i2c OK [10:02:22]MH_I2C_Read... [10:02:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:02:22]Read from MH i2c: E2 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 0B 00 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 0B 00 9C 29 00 DF 4C B0 74 BB 7F 32 F3 90 00 EF [10:02:22]RAPDU: DF 4C B0 74 BB 7F 32 F3 90 00 [10:02:22]wFMCommunicate OK [10:02:22]SAM_PROTO_SignData done [10:02:22]FM_MakeSignedData done [10:02:22]CreateOFDProtocolMessage [10:02:22]wFMCommunicate request_size=4 [10:02:22]MH_SAM_APDU [10:02:22]CAPDU: 80 11 00 00 [10:02:22]Write to MH i2c: E2 08 00 9D 29 80 11 00 00 00 00 00 00 40 [10:02:22]Write i2c OK [10:02:22]MH_I2C_Read... [10:02:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:02:22]Read from MH i2c: E2 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 17 00 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: E2 17 00 9D 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 8D [10:02:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:02:22]wFMCommunicate OK [10:02:22]CreateOFDProtocolMessage done [10:02:22]OFDSenderStorePacket 48954 [10:02:22]StoreOFDPacket docnum=48954 [10:02:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 CE AB 07 01 9E 9C 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 35 26 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3A BF 00 00 35 04 06 00 04 54 02 3F E9 E2 DF 4C B0 74 BB 7F 32 F3 [10:02:22]CheckFolder [10:02:22]dirname=/storage/ofd_packets [10:02:22]CheckFolder done [10:02:22]ProducePacketName [10:02:22]name=ofd_packets/00048954 [10:02:22]NVStorageSaveData ofd_packets/00048954 [10:02:22]File name is /storage/ofd_packets/00048954 [10:02:22]Write 301 bytes [10:02:22]NVStorageSaveData done [10:02:22]OFDSenderStorePacket done [10:02:22]KKMCreateOFDPacket done [10:02:22]NVStorageSaveData kkm_last_timestamp [10:02:22]File name is /storage/kkm_last_timestamp [10:02:22]Write 4 bytes [10:02:22]NVStorageSaveData done [10:02:22]ExternCall_PrintAddStr [10:02:22]wPrintStart [10:02:22]Write to MH i2c: 01 00 00 9E 29 C7 [10:02:22]Write i2c OK [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: 01 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: 01 07 00 [10:02:22]MH_I2C_Read... [10:02:22]Read from MH i2c: 01 07 00 9E 29 00 00 00 00 00 FF 0F DC [10:02:22]RasterBufferAndPrint [10:02:22]line Счет N : (1)216051 [10:02:22]line ИÐÐ: 02508201610067 [10:02:22]line Контрольно-КаÑÑовый Чек [10:02:22]line ПРОДÐЖР[10:02:22]line ТРК (МРК, ГÐК) : 12 [10:02:22]line Товар: 2710124130 [10:02:22]line Ðи-92-К-5 [10:02:22]line 24.880 * 60.30 [10:02:22]line = 1500.26 [10:02:22]line ÐДС 12% ÐСП 1% [10:02:22]line > о реализуемом товаре [10:02:22]line ОКРУГЛЕÐИЕ: -0.26 [10:02:22]line ИТОГО: 1500.00 [10:02:22]line ВнеÑено: 1500.00 [10:02:22]line СДÐЧÐ: 0.00 [10:02:22]line ÐСП 1% : 13.28 [10:02:22]line ÐДС 12% : 159.32 [10:02:22]line Ðаличными: 1500.00 [10:02:22]line Безнал.: 0.00 [10:02:22]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [10:02:22]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [10:02:22]line СÐО: Общий режим [10:02:22]line Чек 19 28.01.2024 10:02 [10:02:22]line Смена: 244 ФФД: 1.0 [10:02:22]line ЗÐМ: 0300000040 [10:02:22]line РÐМ: 0000000000092723 [10:02:22]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:02:22]line ФМ: 0000000000875060 [10:02:22]line ФД: 48954 [10:02:22]line ФПД: 4758861507042 [10:02:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T100229&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48954&fm=4758861507042&tin=02508201610067®Number=0000000000092723&sum=150000 [10:02:23]OFD Sender: Processing packet 48954 [packets to send 12, broken 11] [10:02:23]ProducePacketName [10:02:23]name=ofd_packets/00048954 [10:02:23]OFD Sender: To server: ‡•öpG, [10:02:23]CommunicateWithHost lk.salyk.kg:30040 [10:02:23]ConnectInit lk.salyk.kg [10:02:23]written 0, free lines is 4095 [10:02:23]Connected sock=10 [10:02: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 30 36 30 0F 01 00 00 CE AB 07 01 9E 9C 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 35 26 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3A BF 00 00 35 04 06 00 04 54 02 3F E9 E2 DF 4C B0 74 BB 7F 32 F3 [10:02:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 97 B3 47 00 25 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 3A BF 00 00 F4 03 04 00 30 D2 B5 65 B6 04 01 00 00 08 9C 35 73 EC E0 BF 90 [10:02:23]CommunicateWithHost err = 0 [10:02:23]CheckOFDResponse [10:02:23]1017 (14) - 77093643461234 [10:02:23]1041 (16) - 0000000000875060 [10:02:23]1040 (4) - 48954 [10:02:23]1012 (4) - 28.01.2024 04:04 [10:02:23]1206 (1) - 0 [10:02:23]OFD Sender: Remove packet 48954 [10:02:23]ProducePacketName [10:02:23]name=ofd_packets/00048954 [10:02:23]NVStorageDeleteData [10:02:23]Write to MH i2c: 01 00 00 C9 29 F2 [10:02:23]Write i2c OK [10:02:23]MH_I2C_Read... [10:02:23]Read from MH i2c: 01 [10:02:23]MH_I2C_Read... [10:02:23]Read from MH i2c: 01 07 00 [10:02:23]MH_I2C_Read... [10:02:23]Read from MH i2c: 01 07 00 C9 29 00 00 00 00 00 EC 0C F1 [10:02:23]RasterBufferAndPrint [10:02:23]line [10:02:23]line [10:02:23]line [10:02:23]line [10:02:23]line [10:02:23]written 0, free lines is 3314 [10:02:23]MH_Cut [10:02:23]Write to MH i2c: D1 01 00 D0 29 01 CB [10:02:23]Write i2c OK [10:02:23]MH_I2C_Read... [10:02:23]Read from MH i2c: D1 [10:02:23]MH_I2C_Read... [10:02:23]Read from MH i2c: D1 01 00 [10:02:23]MH_I2C_Read... [10:02:23]Read from MH i2c: D1 01 00 D0 29 00 CA [10:02:23]Write to MH i2c: 01 00 00 D1 29 FA [10:02:23]Write i2c OK [10:02:23]MH_I2C_Read... [10:02:23]OFD Sender: No OFD packet to send [10:02:24]*** Cut start [10:02:24]*** Partial cut [10:02:24]*** CUTSNS_PIN = 1 [10:02:24]*** CUTSNS_PIN = 0 [10:02:24]*** Brake cut motor [10:02:24]Read from MH i2c: 01 [10:02:24]MH_I2C_Read... [10:02:24]*** Stop cut motor [10:02:24]*** Cut end [10:02:24]Read from MH i2c: 01 07 00 [10:02:24]MH_I2C_Read... [10:02:24]Read from MH i2c: 01 07 00 D1 29 00 00 00 00 00 FF 0F 0F [10:02:24]process_action close_receipt done [10:02:24]requested_data is exist [10:02:24]produce_requested_data [10:02:24]requested_item fm.sn is exist - process it [10:02:24]wFMCommunicate request_size=4 [10:02:24]MH_SAM_APDU [10:02:24]CAPDU: 80 11 00 00 [10:02:24]Write to MH i2c: E2 08 00 D2 29 80 11 00 00 00 00 00 00 75 [10:02:24]Write i2c OK [10:02:24]MH_I2C_Read... [10:02:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:02:24]Read from MH i2c: E2 [10:02:24]MH_I2C_Read... [10:02:24]Read from MH i2c: E2 17 00 [10:02:24]MH_I2C_Read... [10:02:24]Read from MH i2c: E2 17 00 D2 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 C2 [10:02:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:02:24]wFMCommunicate OK [10:02:24]requested_item fd.num is exist - process it [10:02:24]SAM_PROTO_GetFieldsCounters [10:02:24]wFMCommunicate request_size=4 [10:02:24]MH_SAM_APDU [10:02:24]CAPDU: 80 13 00 00 [10:02:24]Write to MH i2c: E2 08 00 D3 29 80 13 00 00 00 00 00 00 78 [10:02:24]Write i2c OK [10:02:24]MH_I2C_Read... [10:02:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:02:24]Read from MH i2c: E2 [10:02:24]MH_I2C_Read... [10:02:24]Read from MH i2c: E2 62 00 [10:02:24]MH_I2C_Read... [10:02:24]Read from MH i2c: E2 62 00 D3 29 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 B7 [10:02: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:02:24]wFMCommunicate OK [10:02:24]SAM_PROTO_GetFieldsCounters done [10:02:24]requested_item shift.num is exist - process it [10:02:24]requested_item shift.opened is exist - process it [10:02:24]req_shift_opened [10:02:24]FM_GetShiftState [10:02:24]SAM_PROTO_GetShiftState [10:02:24]wFMCommunicate request_size=4 [10:02:24]MH_SAM_APDU [10:02:24]CAPDU: 80 13 01 00 [10:02:24]Write to MH i2c: E2 08 00 D4 29 80 13 01 00 00 00 00 00 7A [10:02:24]Write i2c OK [10:02:24]MH_I2C_Read... [10:02:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:02:25]Read from MH i2c: E2 [10:02:25]MH_I2C_Read... [10:02:25]Read from MH i2c: E2 0E 00 [10:02:25]MH_I2C_Read... [10:02:25]Read from MH i2c: E2 0E 00 D4 29 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 00 [10:02:25]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:02:25]wFMCommunicate OK [10:02:25]SAM_PROTO_GetShiftState done [10:02:25]FM_GetShiftState done [10:02:25]req_shift_opened done [10:02:25]requested_item shift.open_date is exist - process it [10:02:25]req_shift_open_date [10:02:25]req_shift_open_date done [10:02:25]produce_requested_data done [10:02:25]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48954,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [10:02:25]process_action_free close_receipt [10:02:25]json_value_free [10:02:25]json_value_free done [10:02:25]process_json_proto returns [10:02:25]Send response to host [10:02:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48954,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [10:02:25]free response buf [10:02:25]execute_script done [10:02:25]execute_script returns [10:02:25]free content buf [10:02:25]Sock 7.Close socket [10:02:25]Sock 7.Thread stoped [10:02:28]OFD Sender: No OFD packet to send [10:02:33]OFD Sender: No OFD packet to send [10:02:38]OFD Sender: No OFD packet to send [10:02:43]OFD Sender: No OFD packet to send [10:02:48]OFD Sender: No OFD packet to send [10:02:53]OFD Sender: No OFD packet to send [10:02:58]OFD Sender: No OFD packet to send [10:03:03]OFD Sender: No OFD packet to send [10:03:08]OFD Sender: No OFD packet to send [10:03:13]OFD Sender: No OFD packet to send [10:03:18]OFD Sender: No OFD packet to send [10:03:23]OFD Sender: No OFD packet to send [10:03:28]OFD Sender: No OFD packet to send [10:03:33]OFD Sender: No OFD packet to send [10:03:38]OFD Sender: No OFD packet to send [10:03:43]OFD Sender: No OFD packet to send [10:03:48]OFD Sender: No OFD packet to send [10:03:53]OFD Sender: No OFD packet to send [10:03:58]OFD Sender: No OFD packet to send [10:04:03]OFD Sender: No OFD packet to send [10:04:08]OFD Sender: No OFD packet to send [10:04:13]OFD Sender: No OFD packet to send [10:04:18]OFD Sender: No OFD packet to send [10:04:23]OFD Sender: No OFD packet to send [10:04:28]OFD Sender: No OFD packet to send [10:04:33]OFD Sender: No OFD packet to send [10:04:38]OFD Sender: No OFD packet to send [10:04:43]OFD Sender: No OFD packet to send [10:04:48]OFD Sender: No OFD packet to send [10:04:53]OFD Sender: No OFD packet to send [10:04:58]OFD Sender: No OFD packet to send [10:05:03]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:51]accept exits with 9 [10:08:51]New connection [10:08:51]New thread 3066670436 created [10:08:51]Thread 3066813796 joined [10:08:51]Waiting for new connection... [10:08:51] Sock 9.Parse request [10:08:51]Sock 9.Check first char [10:08:51]Sock 9.First char is OK [10:08:51]request: POST /json_proto HTTP/1.0 [10:08:51]Method: POST [10:08:51]URL: /json_proto [10:08:51]Method is POST - this is cgi request [10:08:51]url: /json_proto [10:08:51]query_string will be loaded in cgi processing [10:08:51]execute_cgi json_proto POST (null) [10:08:51]execute_cgi path=json_proto method=POST [10:08:51]POST find Content-Length [10:08:51]Host: 172.17.56.67:8080 [10:08:51]Content-Length: 677 [10:08:51]Content-Type: application/json [10:08:51] [10:08:51]POST finish read [10:08:51]Found Content-Length = 677 [10:08:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216052", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.640, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:08:51]execute_script... [10:08:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216052", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.640, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:08:51]POST & json_proto [10:08:51]process_json_proto [10:08:51]json parsed OK: [10:08:51]protocol is kg_v1.0 [10:08:51]action value=close_receipt [10:08:51]process_action close_receipt [10:08:51]cmd_close_receipt [10:08:51]MH_GetDate [10:08:51]Write to MH i2c: F0 00 00 D5 29 ED [10:08:51]Write i2c OK [10:08:51]MH_I2C_Read... [10:08:51]Read from MH i2c: F0 [10:08:51]MH_I2C_Read... [10:08:51]Read from MH i2c: F0 09 00 [10:08:51]MH_I2C_Read... [10:08:51]Read from MH i2c: F0 09 00 D5 29 00 BB 27 B6 65 26 5D 9E 65 79 [10:08:51]GetLastDocTimeStamp 1706436149 [10:08:51]current date 1706436539 [10:08:51]FM_GetShiftState [10:08:51]SAM_PROTO_GetShiftState [10:08:51]wFMCommunicate request_size=4 [10:08:51]MH_SAM_APDU [10:08:51]CAPDU: 80 13 01 00 [10:08:51]Write to MH i2c: E2 08 00 D6 29 80 13 01 00 00 00 00 00 7C [10:08:51]Write i2c OK [10:08:51]MH_I2C_Read... [10:08:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:51]Read from MH i2c: E2 [10:08:51]MH_I2C_Read... [10:08:51]Read from MH i2c: E2 0E 00 [10:08:51]MH_I2C_Read... [10:08:51]Read from MH i2c: E2 0E 00 D6 29 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 02 [10:08:51]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:08:51]wFMCommunicate OK [10:08:51]SAM_PROTO_GetShiftState done [10:08:51]FM_GetShiftState done [10:08:51]opened in 1706400199 [10:08:51]opened+sec_in_day 1706486599 [10:08:51]quantity*price = 40039 [10:08:51]sum+1 = 40040 [10:08:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.39 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.52 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 20 28.01.2024 10:08 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48955 ФПД: 9149715625010 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T100859&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48955&fm=9149715625010&tin=02508201610067®Number=0000000000092723&sum=40000 [10:08:52]StoreToDocumentArchive [10:08:52]shift 244 fd 48955 [10:08:52]save to /storage/0244/doc_00048955 [10:08:52]save last doc name /storage/0244/doc_00048955 to /storage/kkm_last_doc_name [10:08:52]save OK [10:08:52]Clear old archive folders... [10:08:52]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:08:52]tlvbuf is 011D8220 [10:08:52]SAM_PROTO_ClearQueue [10:08:52]wFMCommunicate request_size=4 [10:08:52]MH_SAM_APDU [10:08:52]CAPDU: 80 09 00 00 [10:08:52]Write to MH i2c: E2 08 00 E3 29 80 09 00 00 00 00 00 00 7E [10:08:52]Write i2c OK [10:08:52]MH_I2C_Read... [10:08:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:08:52]Read from MH i2c: E2 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 03 00 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 03 00 E3 29 00 90 00 80 [10:08:52]RAPDU: 90 00 [10:08:52]wFMCommunicate OK [10:08:52]SAM_PROTO_ClearQueue done [10:08:52]KKMCreateOFDPacket [10:08:52]OFDProtocolAddRootSTLVToBuf [10:08:52]FM_MakeSignedData [10:08:52]FM_MakeSignedData [10:08:52]SAM_PROTO_SignData [10:08:52]wFMCommunicate request_size=4 [10:08:52]MH_SAM_APDU [10:08:52]CAPDU: 80 0D 01 02 [10:08:52]Write to MH i2c: E2 08 00 E4 29 80 0D 01 02 00 00 00 00 86 [10:08:52]Write i2c OK [10:08:52]MH_I2C_Read... [10:08:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:08:52]Read from MH i2c: E2 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 03 00 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 03 00 E4 29 00 90 00 81 [10:08:52]RAPDU: 90 00 [10:08:52]wFMCommunicate OK [10:08:52]wFMCommunicate request_size=255 [10:08:52]MH_SAM_APDU [10:08:52]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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 BB 27 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3B BF 00 00 35 04 06 00 08 [10:08:52]Write to MH i2c: E2 02 01 E5 29 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 BB 27 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3B BF 00 00 35 04 06 00 08 00 00 07 [10:08:52]Write i2c OK [10:08:52]MH_I2C_Read... [10:08:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:52]Read from MH i2c: E2 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 03 00 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 03 00 E5 29 00 90 00 82 [10:08:52]RAPDU: 90 00 [10:08:52]wFMCommunicate OK [10:08:52]wFMCommunicate request_size=10 [10:08:52]MH_SAM_APDU [10:08:52]CAPDU: 80 0D 02 02 05 52 55 8C B4 32 [10:08:52]Write to MH i2c: E2 0D 00 E6 29 80 0D 02 02 05 00 52 55 8C B4 32 00 00 AC [10:08:52]Write i2c OK [10:08:52]MH_I2C_Read... [10:08:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:52]Read from MH i2c: E2 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 03 00 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 03 00 E6 29 00 90 00 83 [10:08:52]RAPDU: 90 00 [10:08:52]wFMCommunicate OK [10:08:52]wFMCommunicate request_size=4 [10:08:52]MH_SAM_APDU [10:08:52]CAPDU: 80 0D 03 02 [10:08:52]Write to MH i2c: E2 08 00 E7 29 80 0D 03 02 00 00 00 00 8B [10:08:52]Write i2c OK [10:08:52]MH_I2C_Read... [10:08:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:08:52]Read from MH i2c: E2 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 0B 00 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 0B 00 E7 29 00 B2 F1 46 85 F8 E8 D2 66 90 00 12 [10:08:52]RAPDU: B2 F1 46 85 F8 E8 D2 66 90 00 [10:08:52]wFMCommunicate OK [10:08:52]SAM_PROTO_SignData done [10:08:52]FM_MakeSignedData done [10:08:52]CreateOFDProtocolMessage [10:08:52]wFMCommunicate request_size=4 [10:08:52]MH_SAM_APDU [10:08:52]CAPDU: 80 11 00 00 [10:08:52]Write to MH i2c: E2 08 00 E8 29 80 11 00 00 00 00 00 00 8B [10:08:52]Write i2c OK [10:08:52]MH_I2C_Read... [10:08:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:52]Read from MH i2c: E2 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 17 00 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: E2 17 00 E8 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D8 [10:08:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:08:52]wFMCommunicate OK [10:08:52]CreateOFDProtocolMessage done [10:08:52]OFDSenderStorePacket 48955 [10:08:52]StoreOFDPacket docnum=48955 [10:08:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 44 22 07 01 B0 C4 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 BB 27 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3B BF 00 00 35 04 06 00 08 52 55 8C B4 32 B2 F1 46 85 F8 E8 D2 66 [10:08:52]CheckFolder [10:08:52]dirname=/storage/ofd_packets [10:08:52]CheckFolder done [10:08:52]ProducePacketName [10:08:52]name=ofd_packets/00048955 [10:08:52]NVStorageSaveData ofd_packets/00048955 [10:08:52]File name is /storage/ofd_packets/00048955 [10:08:52]Write 301 bytes [10:08:52]NVStorageSaveData done [10:08:52]OFDSenderStorePacket done [10:08:52]KKMCreateOFDPacket done [10:08:52]NVStorageSaveData kkm_last_timestamp [10:08:52]File name is /storage/kkm_last_timestamp [10:08:52]Write 4 bytes [10:08:52]NVStorageSaveData done [10:08:52]ExternCall_PrintAddStr [10:08:52]wPrintStart [10:08:52]Write to MH i2c: 01 00 00 E9 29 12 [10:08:52]Write i2c OK [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: 01 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: 01 07 00 [10:08:52]MH_I2C_Read... [10:08:52]Read from MH i2c: 01 07 00 E9 29 00 00 00 00 00 FF 0F 27 [10:08:52]RasterBufferAndPrint [10:08:52]line Счет N : (1)216052 [10:08:52]line ИÐÐ: 02508201610067 [10:08:52]line Контрольно-КаÑÑовый Чек [10:08:52]line ПРОДÐЖР[10:08:52]line ТРК (МРК, ГÐК) : 22 [10:08:52]line Товар: 2710124130 [10:08:52]line Ðи-92-К-5 [10:08:52]line 6.640 * 60.30 [10:08:52]line = 400.39 [10:08:52]line ÐДС 12% ÐСП 1% [10:08:52]line > о реализуемом товаре [10:08:52]line ОКРУГЛЕÐИЕ: -0.39 [10:08:52]line ИТОГО: 400.00 [10:08:52]line ВнеÑено: 400.00 [10:08:52]line СДÐЧÐ: 0.00 [10:08:52]line ÐСП 1% : 3.54 [10:08:52]line ÐДС 12% : 42.52 [10:08:52]line Ðаличными: 400.00 [10:08:52]line Безнал.: 0.00 [10:08:52]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [10:08:52]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [10:08:52]line СÐО: Общий режим [10:08:52]line Чек 20 28.01.2024 10:08 [10:08:52]line Смена: 244 ФФД: 1.0 [10:08:52]line ЗÐМ: 0300000040 [10:08:52]line РÐМ: 0000000000092723 [10:08:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:08:52]line ФМ: 0000000000875060 [10:08:52]line ФД: 48955 [10:08:52]line ФПД: 9149715625010 [10:08:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T100859&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48955&fm=9149715625010&tin=02508201610067®Number=0000000000092723&sum=40000 [10:08:53]OFD Sender: Processing packet 48955 [packets to send 12, broken 11] [10:08:53]ProducePacketName [10:08:53]name=ofd_packets/00048955 [10:08:53]OFD Sender: To server: ‡•öpG, [10:08:53]CommunicateWithHost lk.salyk.kg:30040 [10:08:53]ConnectInit lk.salyk.kg [10:08:53]written 0, free lines is 4095 [10:08:53]Connected sock=10 [10:08: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 30 36 30 0F 01 00 00 44 22 07 01 B0 C4 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 BB 27 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3B BF 00 00 35 04 06 00 08 52 55 8C B4 32 B2 F1 46 85 F8 E8 D2 66 [10:08:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 8C 1A 47 00 07 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 30 36 30 10 04 04 00 3B BF 00 00 F4 03 04 00 B6 D3 B5 65 B6 04 01 00 00 59 40 D8 1A 09 0A 5D 81 [10:08:53]CommunicateWithHost err = 0 [10:08:53]CheckOFDResponse [10:08:53]1017 (14) - 77093643461234 [10:08:53]1041 (16) - 0000000000875060 [10:08:53]1040 (4) - 48955 [10:08:53]1012 (4) - 28.01.2024 04:10 [10:08:53]1206 (1) - 0 [10:08:53]OFD Sender: Remove packet 48955 [10:08:53]ProducePacketName [10:08:53]name=ofd_packets/00048955 [10:08:53]NVStorageDeleteData [10:08:53]Write to MH i2c: 01 00 00 14 2A 3E [10:08:53]Write i2c OK [10:08:53]MH_I2C_Read... [10:08:53]Read from MH i2c: 01 [10:08:53]MH_I2C_Read... [10:08:53]Read from MH i2c: 01 07 00 [10:08:53]MH_I2C_Read... [10:08:53]Read from MH i2c: 01 07 00 14 2A 00 00 00 00 00 F6 0C 47 [10:08:53]RasterBufferAndPrint [10:08:53]line [10:08:53]line [10:08:53]line [10:08:53]line [10:08:53]line [10:08:53]written 0, free lines is 3326 [10:08:53]MH_Cut [10:08:53]Write to MH i2c: D1 01 00 1B 2A 01 17 [10:08:53]Write i2c OK [10:08:53]MH_I2C_Read... [10:08:53]Read from MH i2c: D1 [10:08:53]MH_I2C_Read... [10:08:53]Read from MH i2c: D1 01 00 [10:08:53]MH_I2C_Read... [10:08:53]Read from MH i2c: D1 01 00 1B 2A 00 16 [10:08:53]Write to MH i2c: 01 00 00 1C 2A 46 [10:08:53]Write i2c OK [10:08:53]MH_I2C_Read... [10:08:53]OFD Sender: No OFD packet to send [10:08:54]*** Cut start [10:08:54]*** Partial cut [10:08:54]*** CUTSNS_PIN = 1 [10:08:54]*** CUTSNS_PIN = 0 [10:08:54]*** Brake cut motor [10:08:54]Read from MH i2c: 01 [10:08:54]MH_I2C_Read... [10:08:54]*** Stop cut motor [10:08:54]*** Cut end [10:08:54]Read from MH i2c: 01 07 00 [10:08:54]MH_I2C_Read... [10:08:54]Read from MH i2c: 01 07 00 1C 2A 00 00 00 00 00 FF 0F 5B [10:08:54]process_action close_receipt done [10:08:54]requested_data is exist [10:08:54]produce_requested_data [10:08:54]requested_item fm.sn is exist - process it [10:08:54]wFMCommunicate request_size=4 [10:08:54]MH_SAM_APDU [10:08:54]CAPDU: 80 11 00 00 [10:08:54]Write to MH i2c: E2 08 00 1D 2A 80 11 00 00 00 00 00 00 C1 [10:08:54]Write i2c OK [10:08:54]MH_I2C_Read... [10:08:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:54]Read from MH i2c: E2 [10:08:54]MH_I2C_Read... [10:08:54]Read from MH i2c: E2 17 00 [10:08:54]MH_I2C_Read... [10:08:54]Read from MH i2c: E2 17 00 1D 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 0E [10:08:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:08:54]wFMCommunicate OK [10:08:54]requested_item fd.num is exist - process it [10:08:54]SAM_PROTO_GetFieldsCounters [10:08:54]wFMCommunicate request_size=4 [10:08:54]MH_SAM_APDU [10:08:54]CAPDU: 80 13 00 00 [10:08:54]Write to MH i2c: E2 08 00 1E 2A 80 13 00 00 00 00 00 00 C4 [10:08:54]Write i2c OK [10:08:54]MH_I2C_Read... [10:08:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:08:55]Read from MH i2c: E2 [10:08:55]MH_I2C_Read... [10:08:55]Read from MH i2c: E2 62 00 [10:08:55]MH_I2C_Read... [10:08:55]Read from MH i2c: E2 62 00 1E 2A 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [10:08: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:08:55]wFMCommunicate OK [10:08:55]SAM_PROTO_GetFieldsCounters done [10:08:55]requested_item shift.num is exist - process it [10:08:55]requested_item shift.opened is exist - process it [10:08:55]req_shift_opened [10:08:55]FM_GetShiftState [10:08:55]SAM_PROTO_GetShiftState [10:08:55]wFMCommunicate request_size=4 [10:08:55]MH_SAM_APDU [10:08:55]CAPDU: 80 13 01 00 [10:08:55]Write to MH i2c: E2 08 00 1F 2A 80 13 01 00 00 00 00 00 C6 [10:08:55]Write i2c OK [10:08:55]MH_I2C_Read... [10:08:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:55]Read from MH i2c: E2 [10:08:55]MH_I2C_Read... [10:08:55]Read from MH i2c: E2 0E 00 [10:08:55]MH_I2C_Read... [10:08:55]Read from MH i2c: E2 0E 00 1F 2A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 4C [10:08:55]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:08:55]wFMCommunicate OK [10:08:55]SAM_PROTO_GetShiftState done [10:08:55]FM_GetShiftState done [10:08:55]req_shift_opened done [10:08:55]requested_item shift.open_date is exist - process it [10:08:55]req_shift_open_date [10:08:55]req_shift_open_date done [10:08:55]produce_requested_data done [10:08:55]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48955,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [10:08:55]process_action_free close_receipt [10:08:55]json_value_free [10:08:55]json_value_free done [10:08:55]process_json_proto returns [10:08:55]Send response to host [10:08:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48955,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [10:08:55]free response buf [10:08:55]execute_script done [10:08:55]execute_script returns [10:08:55]free content buf [10:08:55]Sock 9.Close socket [10:08:55]Sock 9.Thread stoped [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:12]accept exits with 7 [10:15:12]New connection [10:15:12]New thread 3066813796 created [10:15:12]Thread 3066670436 joined [10:15:12]Waiting for new connection... [10:15:12] Sock 7.Parse request [10:15:12]Sock 7.Check first char [10:15:12]Sock 7.First char is OK [10:15:12]request: POST /json_proto HTTP/1.0 [10:15:12]Method: POST [10:15:12]URL: /json_proto [10:15:12]Method is POST - this is cgi request [10:15:12]url: /json_proto [10:15:12]query_string will be loaded in cgi processing [10:15:12]execute_cgi json_proto POST (null) [10:15:12]execute_cgi path=json_proto method=POST [10:15:12]POST find Content-Length [10:15:12]Host: 172.17.56.67:8080 [10:15:12]Content-Length: 682 [10:15:12]Content-Type: application/json [10:15:12] [10:15:12]POST finish read [10:15:12]Found Content-Length = 682 [10:15:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216053", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [10:15:12]execute_script... [10:15: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)216053", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [10:15:12]POST & json_proto [10:15:12]process_json_proto [10:15:12]json parsed OK: [10:15:12]protocol is kg_v1.0 [10:15:12]action value=close_receipt [10:15:12]process_action close_receipt [10:15:12]cmd_close_receipt [10:15:12]MH_GetDate [10:15:12]Write to MH i2c: F0 00 00 20 2A 39 [10:15:12]Write i2c OK [10:15:12]MH_I2C_Read... [10:15:12]Read from MH i2c: F0 [10:15:12]MH_I2C_Read... [10:15:12]Read from MH i2c: F0 09 00 [10:15:12]MH_I2C_Read... [10:15:12]Read from MH i2c: F0 09 00 20 2A 00 38 29 B6 65 26 5D 9E 65 44 [10:15:12]GetLastDocTimeStamp 1706436539 [10:15:12]current date 1706436920 [10:15:12]FM_GetShiftState [10:15:12]SAM_PROTO_GetShiftState [10:15:12]wFMCommunicate request_size=4 [10:15:12]MH_SAM_APDU [10:15:12]CAPDU: 80 13 01 00 [10:15:12]Write to MH i2c: E2 08 00 21 2A 80 13 01 00 00 00 00 00 C8 [10:15:12]Write i2c OK [10:15:12]MH_I2C_Read... [10:15:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:12]Read from MH i2c: E2 [10:15:12]MH_I2C_Read... [10:15:12]Read from MH i2c: E2 0E 00 [10:15:12]MH_I2C_Read... [10:15:12]Read from MH i2c: E2 0E 00 21 2A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 4E [10:15:12]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:15:12]wFMCommunicate OK [10:15:12]SAM_PROTO_GetShiftState done [10:15:12]FM_GetShiftState done [10:15:12]opened in 1706400199 [10:15:12]opened+sec_in_day 1706486599 [10:15:12]quantity*price = 100037 [10:15:12]sum+1 = 100039 [10:15:12]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.23 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 21 28.01.2024 10:15 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48956 ФПД: 260136806608380 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T101520&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48956&fm=260136806608380&tin=02508201610067®Number=0000000000092723&sum=100000 [10:15:13]StoreToDocumentArchive [10:15:13]shift 244 fd 48956 [10:15:13]save to /storage/0244/doc_00048956 [10:15:13]save last doc name /storage/0244/doc_00048956 to /storage/kkm_last_doc_name [10:15:13]save OK [10:15:13]Clear old archive folders... [10:15:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:15:13]tlvbuf is B6D86280 [10:15:13]SAM_PROTO_ClearQueue [10:15:13]wFMCommunicate request_size=4 [10:15:13]MH_SAM_APDU [10:15:13]CAPDU: 80 09 00 00 [10:15:13]Write to MH i2c: E2 08 00 2E 2A 80 09 00 00 00 00 00 00 CA [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 03 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 03 00 2E 2A 00 90 00 CC [10:15:13]RAPDU: 90 00 [10:15:13]wFMCommunicate OK [10:15:13]SAM_PROTO_ClearQueue done [10:15:13]KKMCreateOFDPacket [10:15:13]OFDProtocolAddRootSTLVToBuf [10:15:13]FM_MakeSignedData [10:15:13]FM_MakeSignedData [10:15:13]SAM_PROTO_SignData [10:15:13]wFMCommunicate request_size=4 [10:15:13]MH_SAM_APDU [10:15:13]CAPDU: 80 0D 01 02 [10:15:13]Write to MH i2c: E2 08 00 2F 2A 80 0D 01 02 00 00 00 00 D2 [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 03 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 03 00 2F 2A 00 90 00 CD [10:15:13]RAPDU: 90 00 [10:15:13]wFMCommunicate OK [10:15:13]wFMCommunicate request_size=255 [10:15:13]MH_SAM_APDU [10:15:13]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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 15 00 00 00 F4 03 04 00 38 29 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3C BF 00 00 35 04 06 00 EC [10:15:13]Write to MH i2c: E2 02 01 30 2A 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 15 00 00 00 F4 03 04 00 38 29 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3C BF 00 00 35 04 06 00 EC 00 00 AE [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 03 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 03 00 30 2A 00 90 00 CE [10:15:13]RAPDU: 90 00 [10:15:13]wFMCommunicate OK [10:15:13]wFMCommunicate request_size=10 [10:15:13]MH_SAM_APDU [10:15:13]CAPDU: 80 0D 02 02 05 97 D1 F3 6D FC [10:15:13]Write to MH i2c: E2 0D 00 31 2A 80 0D 02 02 05 00 97 D1 F3 6D FC 00 00 A3 [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 03 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 03 00 31 2A 00 90 00 CF [10:15:13]RAPDU: 90 00 [10:15:13]wFMCommunicate OK [10:15:13]wFMCommunicate request_size=4 [10:15:13]MH_SAM_APDU [10:15:13]CAPDU: 80 0D 03 02 [10:15:13]Write to MH i2c: E2 08 00 32 2A 80 0D 03 02 00 00 00 00 D7 [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 0B 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 0B 00 32 2A 00 C5 9A C1 B2 71 BD E5 5E 90 00 1B [10:15:13]RAPDU: C5 9A C1 B2 71 BD E5 5E 90 00 [10:15:13]wFMCommunicate OK [10:15:13]SAM_PROTO_SignData done [10:15:13]FM_MakeSignedData done [10:15:13]CreateOFDProtocolMessage [10:15:13]wFMCommunicate request_size=4 [10:15:13]MH_SAM_APDU [10:15:13]CAPDU: 80 11 00 00 [10:15:13]Write to MH i2c: E2 08 00 33 2A 80 11 00 00 00 00 00 00 D7 [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:13]Read from MH i2c: E2 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 17 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: E2 17 00 33 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 24 [10:15:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:15:13]wFMCommunicate OK [10:15:13]CreateOFDProtocolMessage done [10:15:13]OFDSenderStorePacket 48956 [10:15:13]StoreOFDPacket docnum=48956 [10:15:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 A3 CF 07 01 1E 60 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 15 00 00 00 F4 03 04 00 38 29 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3C BF 00 00 35 04 06 00 EC 97 D1 F3 6D FC C5 9A C1 B2 71 BD E5 5E [10:15:13]CheckFolder [10:15:13]dirname=/storage/ofd_packets [10:15:13]CheckFolder done [10:15:13]ProducePacketName [10:15:13]name=ofd_packets/00048956 [10:15:13]NVStorageSaveData ofd_packets/00048956 [10:15:13]File name is /storage/ofd_packets/00048956 [10:15:13]Write 301 bytes [10:15:13]NVStorageSaveData done [10:15:13]OFDSenderStorePacket done [10:15:13]KKMCreateOFDPacket done [10:15:13]NVStorageSaveData kkm_last_timestamp [10:15:13]File name is /storage/kkm_last_timestamp [10:15:13]Write 4 bytes [10:15:13]NVStorageSaveData done [10:15:13]ExternCall_PrintAddStr [10:15:13]wPrintStart [10:15:13]Write to MH i2c: 01 00 00 34 2A 5E [10:15:13]Write i2c OK [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: 01 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: 01 07 00 [10:15:13]MH_I2C_Read... [10:15:13]Read from MH i2c: 01 07 00 34 2A 00 00 00 00 00 FF 0F 73 [10:15:13]RasterBufferAndPrint [10:15:13]line Счет N : (1)216053 [10:15:13]line ИÐÐ: 02508201610067 [10:15:13]line Контрольно-КаÑÑовый Чек [10:15:13]line ПРОДÐЖР[10:15:13]line ТРК (МРК, ГÐК) : 12 [10:15:13]line Товар: 2710124130 [10:15:13]line Ðи-92-К-5 [10:15:13]line 16.590 * 60.30 [10:15:13]line = 1000.38 [10:15:13]line ÐДС 12% ÐСП 1% [10:15:13]line > о реализуемом товаре [10:15:13]line ОКРУГЛЕÐИЕ: -0.38 [10:15:13]line ИТОГО: 1000.00 [10:15:13]line ВнеÑено: 1000.00 [10:15:13]line СДÐЧÐ: 0.00 [10:15:13]line ÐСП 1% : 8.85 [10:15:13]line ÐДС 12% : 106.23 [10:15:13]line Ðаличными: 1000.00 [10:15:13]line Безнал.: 0.00 [10:15:13]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [10:15:13]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [10:15:13]line СÐО: Общий режим [10:15:13]line Чек 21 28.01.2024 10:15 [10:15:13]line Смена: 244 ФФД: 1.0 [10:15:13]line ЗÐМ: 0300000040 [10:15:13]line РÐМ: 0000000000092723 [10:15:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:15:13]line ФМ: 0000000000875060 [10:15:13]line ФД: 48956 [10:15:13]line ФПД: 260136806608380 [10:15:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T101520&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48956&fm=260136806608380&tin=02508201610067®Number=0000000000092723&sum=100000 [10:15:14]OFD Sender: Processing packet 48956 [packets to send 12, broken 11] [10:15:14]ProducePacketName [10:15:14]name=ofd_packets/00048956 [10:15:14]OFD Sender: To server: ‡•öpG, [10:15:14]CommunicateWithHost lk.salyk.kg:30040 [10:15:14]ConnectInit lk.salyk.kg [10:15:14]written 0, free lines is 4095 [10:15:14]Connected sock=10 [10:15: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 30 36 30 0F 01 00 00 A3 CF 07 01 1E 60 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 15 00 00 00 F4 03 04 00 38 29 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3C BF 00 00 35 04 06 00 EC 97 D1 F3 6D FC C5 9A C1 B2 71 BD E5 5E [10:15:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 9A 59 47 00 B9 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 3C BF 00 00 F4 03 04 00 33 D5 B5 65 B6 04 01 00 00 81 B4 93 12 C9 04 7E A7 [10:15:14]CommunicateWithHost err = 0 [10:15:14]CheckOFDResponse [10:15:14]1017 (14) - 77093643461234 [10:15:14]1041 (16) - 0000000000875060 [10:15:14]1040 (4) - 48956 [10:15:14]1012 (4) - 28.01.2024 04:16 [10:15:14]1206 (1) - 0 [10:15:14]OFD Sender: Remove packet 48956 [10:15:14]ProducePacketName [10:15:14]name=ofd_packets/00048956 [10:15:14]NVStorageDeleteData [10:15:14]Write to MH i2c: 01 00 00 5F 2A 89 [10:15:14]Write i2c OK [10:15:14]MH_I2C_Read... [10:15:14]Read from MH i2c: 01 [10:15:14]MH_I2C_Read... [10:15:14]Read from MH i2c: 01 07 00 [10:15:14]MH_I2C_Read... [10:15:14]Read from MH i2c: 01 07 00 5F 2A 00 00 00 00 00 F5 0C 91 [10:15:14]RasterBufferAndPrint [10:15:14]line [10:15:14]line [10:15:14]line [10:15:14]line [10:15:14]line [10:15:14]written 0, free lines is 3323 [10:15:14]MH_Cut [10:15:14]Write to MH i2c: D1 01 00 66 2A 01 62 [10:15:14]Write i2c OK [10:15:14]MH_I2C_Read... [10:15:14]Read from MH i2c: D1 [10:15:14]MH_I2C_Read... [10:15:14]Read from MH i2c: D1 01 00 [10:15:14]MH_I2C_Read... [10:15:14]Read from MH i2c: D1 01 00 66 2A 00 61 [10:15:14]Write to MH i2c: 01 00 00 67 2A 91 [10:15:14]Write i2c OK [10:15:14]MH_I2C_Read... [10:15:14]OFD Sender: No OFD packet to send [10:15:15]*** Cut start [10:15:15]*** Partial cut [10:15:15]*** CUTSNS_PIN = 1 [10:15:15]*** CUTSNS_PIN = 0 [10:15:15]*** Brake cut motor [10:15:15]Read from MH i2c: 01 [10:15:15]MH_I2C_Read... [10:15:15]*** Stop cut motor [10:15:15]*** Cut end [10:15:15]Read from MH i2c: 01 07 00 [10:15:15]MH_I2C_Read... [10:15:15]Read from MH i2c: 01 07 00 67 2A 00 00 00 00 00 FF 0F A6 [10:15:15]process_action close_receipt done [10:15:15]requested_data is exist [10:15:15]produce_requested_data [10:15:15]requested_item fm.sn is exist - process it [10:15:15]wFMCommunicate request_size=4 [10:15:15]MH_SAM_APDU [10:15:15]CAPDU: 80 11 00 00 [10:15:15]Write to MH i2c: E2 08 00 68 2A 80 11 00 00 00 00 00 00 0C [10:15:15]Write i2c OK [10:15:15]MH_I2C_Read... [10:15:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:15]Read from MH i2c: E2 [10:15:15]MH_I2C_Read... [10:15:15]Read from MH i2c: E2 17 00 [10:15:15]MH_I2C_Read... [10:15:15]Read from MH i2c: E2 17 00 68 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 59 [10:15:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:15:15]wFMCommunicate OK [10:15:15]requested_item fd.num is exist - process it [10:15:15]SAM_PROTO_GetFieldsCounters [10:15:15]wFMCommunicate request_size=4 [10:15:15]MH_SAM_APDU [10:15:15]CAPDU: 80 13 00 00 [10:15:15]Write to MH i2c: E2 08 00 69 2A 80 13 00 00 00 00 00 00 0F [10:15:15]Write i2c OK [10:15:15]MH_I2C_Read... [10:15:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:15:16]Read from MH i2c: E2 [10:15:16]MH_I2C_Read... [10:15:16]Read from MH i2c: E2 62 00 [10:15:16]MH_I2C_Read... [10:15:16]Read from MH i2c: E2 62 00 69 2A 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 56 [10:15: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:15:16]wFMCommunicate OK [10:15:16]SAM_PROTO_GetFieldsCounters done [10:15:16]requested_item shift.num is exist - process it [10:15:16]requested_item shift.opened is exist - process it [10:15:16]req_shift_opened [10:15:16]FM_GetShiftState [10:15:16]SAM_PROTO_GetShiftState [10:15:16]wFMCommunicate request_size=4 [10:15:16]MH_SAM_APDU [10:15:16]CAPDU: 80 13 01 00 [10:15:16]Write to MH i2c: E2 08 00 6A 2A 80 13 01 00 00 00 00 00 11 [10:15:16]Write i2c OK [10:15:16]MH_I2C_Read... [10:15:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:16]Read from MH i2c: E2 [10:15:16]MH_I2C_Read... [10:15:16]Read from MH i2c: E2 0E 00 [10:15:16]MH_I2C_Read... [10:15:16]Read from MH i2c: E2 0E 00 6A 2A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 97 [10:15:16]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:15:16]wFMCommunicate OK [10:15:16]SAM_PROTO_GetShiftState done [10:15:16]FM_GetShiftState done [10:15:16]req_shift_opened done [10:15:16]requested_item shift.open_date is exist - process it [10:15:16]req_shift_open_date [10:15:16]req_shift_open_date done [10:15:16]produce_requested_data done [10:15:16]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48956,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [10:15:16]process_action_free close_receipt [10:15:16]json_value_free [10:15:16]json_value_free done [10:15:16]process_json_proto returns [10:15:16]Send response to host [10:15:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48956,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [10:15:16]free response buf [10:15:16]execute_script done [10:15:16]execute_script returns [10:15:16]free content buf [10:15:16]Sock 7.Close socket [10:15:16]Sock 7.Thread stoped [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:49]OFD Sender: No OFD packet to send [10:15:54]OFD Sender: No OFD packet to send [10:15:59]OFD Sender: No OFD packet to send [10:16:04]OFD Sender: No OFD packet to send [10:16:09]OFD Sender: No OFD packet to send [10:16:14]OFD Sender: No OFD packet to send [10:16:19]OFD Sender: No OFD packet to send [10:16:24]OFD Sender: No OFD packet to send [10:16:29]OFD Sender: No OFD packet to send [10:16:34]OFD Sender: No OFD packet to send [10:16:39]OFD Sender: No OFD packet to send [10:16:44]OFD Sender: No OFD packet to send [10:16:49]OFD Sender: No OFD packet to send [10:16:54]OFD Sender: No OFD packet to send [10:16:59]OFD Sender: No OFD packet to send [10:17:04]OFD Sender: No OFD packet to send [10:17:09]OFD Sender: No OFD packet to send [10:17:14]OFD Sender: No OFD packet to send [10:17:19]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [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:55]OFD Sender: No OFD packet to send [10:23:00]OFD Sender: No OFD packet to send [10:23:05]OFD Sender: No OFD packet to send [10:23:10]OFD Sender: No OFD packet to send [10:23:15]OFD Sender: No OFD packet to send [10:23:20]OFD Sender: No OFD packet to send [10:23:25]OFD Sender: No OFD packet to send [10:23:30]OFD Sender: No OFD packet to send [10:23:32]accept exits with 9 [10:23:32]New connection [10:23:32]New thread 3066670436 created [10:23:32]Thread 3066813796 joined [10:23:32]Waiting for new connection... [10:23:32] Sock 9.Parse request [10:23:32]Sock 9.Check first char [10:23:32]Sock 9.First char is OK [10:23:32]request: POST /json_proto HTTP/1.0 [10:23:32]Method: POST [10:23:32]URL: /json_proto [10:23:32]Method is POST - this is cgi request [10:23:32]url: /json_proto [10:23:32]query_string will be loaded in cgi processing [10:23:32]execute_cgi json_proto POST (null) [10:23:32]execute_cgi path=json_proto method=POST [10:23:32]POST find Content-Length [10:23:32]Host: 172.17.56.67:8080 [10:23:32]Content-Length: 677 [10:23:32]Content-Type: application/json [10:23:32] [10:23:32]POST finish read [10:23:32]Found Content-Length = 677 [10:23:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216054", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [10:23:32]execute_script... [10:23:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216054", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [10:23:32]POST & json_proto [10:23:32]process_json_proto [10:23:32]json parsed OK: [10:23:32]protocol is kg_v1.0 [10:23:32]action value=close_receipt [10:23:32]process_action close_receipt [10:23:32]cmd_close_receipt [10:23:32]MH_GetDate [10:23:32]Write to MH i2c: F0 00 00 6B 2A 84 [10:23:32]Write i2c OK [10:23:32]MH_I2C_Read... [10:23:32]Read from MH i2c: F0 [10:23:32]MH_I2C_Read... [10:23:32]Read from MH i2c: F0 09 00 [10:23:32]MH_I2C_Read... [10:23:32]Read from MH i2c: F0 09 00 6B 2A 00 2C 2B B6 65 26 5D 9E 65 85 [10:23:32]GetLastDocTimeStamp 1706436920 [10:23:32]current date 1706437420 [10:23:32]FM_GetShiftState [10:23:32]SAM_PROTO_GetShiftState [10:23:32]wFMCommunicate request_size=4 [10:23:32]MH_SAM_APDU [10:23:32]CAPDU: 80 13 01 00 [10:23:32]Write to MH i2c: E2 08 00 6C 2A 80 13 01 00 00 00 00 00 13 [10:23:32]Write i2c OK [10:23:32]MH_I2C_Read... [10:23:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:23:32]Read from MH i2c: E2 [10:23:32]MH_I2C_Read... [10:23:32]Read from MH i2c: E2 0E 00 [10:23:32]MH_I2C_Read... [10:23:32]Read from MH i2c: E2 0E 00 6C 2A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 99 [10:23:32]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:23:32]wFMCommunicate OK [10:23:32]SAM_PROTO_GetShiftState done [10:23:32]FM_GetShiftState done [10:23:32]opened in 1706400199 [10:23:32]opened+sec_in_day 1706486599 [10:23:32]quantity*price = 30029 [10:23:32]sum+1 = 30030 [10:23:32]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 22 28.01.2024 10:23 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48957 ФПД: 106098023530608 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T102340&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48957&fm=106098023530608&tin=02508201610067®Number=0000000000092723&sum=30000 [10:23:33]StoreToDocumentArchive [10:23:33]shift 244 fd 48957 [10:23:33]save to /storage/0244/doc_00048957 [10:23:33]save last doc name /storage/0244/doc_00048957 to /storage/kkm_last_doc_name [10:23:33]save OK [10:23:33]Clear old archive folders... [10:23:33]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:23:33]tlvbuf is 0121DC80 [10:23:33]SAM_PROTO_ClearQueue [10:23:33]wFMCommunicate request_size=4 [10:23:33]MH_SAM_APDU [10:23:33]CAPDU: 80 09 00 00 [10:23:33]Write to MH i2c: E2 08 00 79 2A 80 09 00 00 00 00 00 00 15 [10:23:33]Write i2c OK [10:23:33]MH_I2C_Read... [10:23:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:23:33]Read from MH i2c: E2 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 03 00 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 03 00 79 2A 00 90 00 17 [10:23:33]RAPDU: 90 00 [10:23:33]wFMCommunicate OK [10:23:33]SAM_PROTO_ClearQueue done [10:23:33]KKMCreateOFDPacket [10:23:33]OFDProtocolAddRootSTLVToBuf [10:23:33]FM_MakeSignedData [10:23:33]FM_MakeSignedData [10:23:33]SAM_PROTO_SignData [10:23:33]wFMCommunicate request_size=4 [10:23:33]MH_SAM_APDU [10:23:33]CAPDU: 80 0D 01 02 [10:23:33]Write to MH i2c: E2 08 00 7A 2A 80 0D 01 02 00 00 00 00 1D [10:23:33]Write i2c OK [10:23:33]MH_I2C_Read... [10:23:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:23:33]Read from MH i2c: E2 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 03 00 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 03 00 7A 2A 00 90 00 18 [10:23:33]RAPDU: 90 00 [10:23:33]wFMCommunicate OK [10:23:33]wFMCommunicate request_size=255 [10:23:33]MH_SAM_APDU [10:23:33]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 16 00 00 00 F4 03 04 00 2C 2B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3D BF 00 00 35 04 06 00 60 [10:23:33]Write to MH i2c: E2 02 01 7B 2A 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 16 00 00 00 F4 03 04 00 2C 2B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3D BF 00 00 35 04 06 00 60 00 00 BB [10:23:33]Write i2c OK [10:23:33]MH_I2C_Read... [10:23:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:23:33]Read from MH i2c: E2 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 03 00 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 03 00 7B 2A 00 90 00 19 [10:23:33]RAPDU: 90 00 [10:23:33]wFMCommunicate OK [10:23:33]wFMCommunicate request_size=10 [10:23:33]MH_SAM_APDU [10:23:33]CAPDU: 80 0D 02 02 05 7E DF 01 00 70 [10:23:33]Write to MH i2c: E2 0D 00 7C 2A 80 0D 02 02 05 00 7E DF 01 00 70 00 00 F8 [10:23:33]Write i2c OK [10:23:33]MH_I2C_Read... [10:23:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:23:33]Read from MH i2c: E2 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 03 00 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 03 00 7C 2A 00 90 00 1A [10:23:33]RAPDU: 90 00 [10:23:33]wFMCommunicate OK [10:23:33]wFMCommunicate request_size=4 [10:23:33]MH_SAM_APDU [10:23:33]CAPDU: 80 0D 03 02 [10:23:33]Write to MH i2c: E2 08 00 7D 2A 80 0D 03 02 00 00 00 00 22 [10:23:33]Write i2c OK [10:23:33]MH_I2C_Read... [10:23:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:23:33]Read from MH i2c: E2 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 0B 00 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 0B 00 7D 2A 00 50 D3 D0 9D F5 25 14 CE 90 00 AF [10:23:33]RAPDU: 50 D3 D0 9D F5 25 14 CE 90 00 [10:23:33]wFMCommunicate OK [10:23:33]SAM_PROTO_SignData done [10:23:33]FM_MakeSignedData done [10:23:33]CreateOFDProtocolMessage [10:23:33]wFMCommunicate request_size=4 [10:23:33]MH_SAM_APDU [10:23:33]CAPDU: 80 11 00 00 [10:23:33]Write to MH i2c: E2 08 00 7E 2A 80 11 00 00 00 00 00 00 22 [10:23:33]Write i2c OK [10:23:33]MH_I2C_Read... [10:23:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:23:33]Read from MH i2c: E2 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 17 00 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: E2 17 00 7E 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 6F [10:23:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:23:33]wFMCommunicate OK [10:23:33]CreateOFDProtocolMessage done [10:23:33]OFDSenderStorePacket 48957 [10:23:33]StoreOFDPacket docnum=48957 [10:23:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 BD 06 07 01 57 A6 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 16 00 00 00 F4 03 04 00 2C 2B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3D BF 00 00 35 04 06 00 60 7E DF 01 00 70 50 D3 D0 9D F5 25 14 CE [10:23:33]CheckFolder [10:23:33]dirname=/storage/ofd_packets [10:23:33]CheckFolder done [10:23:33]ProducePacketName [10:23:33]name=ofd_packets/00048957 [10:23:33]NVStorageSaveData ofd_packets/00048957 [10:23:33]File name is /storage/ofd_packets/00048957 [10:23:33]Write 301 bytes [10:23:33]NVStorageSaveData done [10:23:33]OFDSenderStorePacket done [10:23:33]KKMCreateOFDPacket done [10:23:33]NVStorageSaveData kkm_last_timestamp [10:23:33]File name is /storage/kkm_last_timestamp [10:23:33]Write 4 bytes [10:23:33]NVStorageSaveData done [10:23:33]ExternCall_PrintAddStr [10:23:33]wPrintStart [10:23:33]Write to MH i2c: 01 00 00 7F 2A A9 [10:23:33]Write i2c OK [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: 01 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: 01 07 00 [10:23:33]MH_I2C_Read... [10:23:33]Read from MH i2c: 01 07 00 7F 2A 00 00 00 00 00 FF 0F BE [10:23:33]RasterBufferAndPrint [10:23:33]line Счет N : (1)216054 [10:23:33]line ИÐÐ: 02508201610067 [10:23:33]line Контрольно-КаÑÑовый Чек [10:23:33]line ПРОДÐЖР[10:23:33]line ТРК (МРК, ГÐК) : 12 [10:23:33]line Товар: 2710124130 [10:23:33]line Ðи-92-К-5 [10:23:33]line 4.980 * 60.30 [10:23:33]line = 300.29 [10:23:33]line ÐДС 12% ÐСП 1% [10:23:33]line > о реализуемом товаре [10:23:33]line ОКРУГЛЕÐИЕ: -0.29 [10:23:33]line ИТОГО: 300.00 [10:23:33]line ВнеÑено: 300.00 [10:23:33]line СДÐЧÐ: 0.00 [10:23:33]line ÐСП 1% : 2.66 [10:23:33]line ÐДС 12% : 31.89 [10:23:33]line Ðаличными: 300.00 [10:23:33]line Безнал.: 0.00 [10:23:33]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [10:23:33]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [10:23:33]line СÐО: Общий режим [10:23:33]line Чек 22 28.01.2024 10:23 [10:23:33]line Смена: 244 ФФД: 1.0 [10:23:33]line ЗÐМ: 0300000040 [10:23:33]line РÐМ: 0000000000092723 [10:23:33]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:23:33]line ФМ: 0000000000875060 [10:23:33]line ФД: 48957 [10:23:33]line ФПД: 106098023530608 [10:23:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T102340&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48957&fm=106098023530608&tin=02508201610067®Number=0000000000092723&sum=30000 [10:23:34]OFD Sender: Processing packet 48957 [packets to send 12, broken 11] [10:23:34]ProducePacketName [10:23:34]name=ofd_packets/00048957 [10:23:34]OFD Sender: To server: ‡•öpG, [10:23:34]CommunicateWithHost lk.salyk.kg:30040 [10:23:34]ConnectInit lk.salyk.kg [10:23:34]written 0, free lines is 4095 [10:23:34]Connected sock=10 [10:23:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 BD 06 07 01 57 A6 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 16 00 00 00 F4 03 04 00 2C 2B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3D BF 00 00 35 04 06 00 60 7E DF 01 00 70 50 D3 D0 9D F5 25 14 CE [10:23:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 6E 64 47 00 37 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3D BF 00 00 F4 03 04 00 28 D7 B5 65 B6 04 01 00 00 BB 6E 71 70 44 5E 6B D4 [10:23:34]CommunicateWithHost err = 0 [10:23:34]CheckOFDResponse [10:23:34]1017 (14) - 77093643461234 [10:23:34]1041 (16) - 0000000000875060 [10:23:34]1040 (4) - 48957 [10:23:34]1012 (4) - 28.01.2024 04:25 [10:23:34]1206 (1) - 0 [10:23:34]OFD Sender: Remove packet 48957 [10:23:34]ProducePacketName [10:23:34]name=ofd_packets/00048957 [10:23:34]NVStorageDeleteData [10:23:34]Write to MH i2c: 01 00 00 AA 2A D4 [10:23:34]Write i2c OK [10:23:34]MH_I2C_Read... [10:23:34]Read from MH i2c: 01 [10:23:34]MH_I2C_Read... [10:23:34]Read from MH i2c: 01 07 00 [10:23:34]MH_I2C_Read... [10:23:34]Read from MH i2c: 01 07 00 AA 2A 00 00 00 00 00 F1 0C D8 [10:23:34]RasterBufferAndPrint [10:23:34]line [10:23:34]line [10:23:34]line [10:23:34]line [10:23:34]line [10:23:34]written 0, free lines is 3322 [10:23:34]MH_Cut [10:23:34]Write to MH i2c: D1 01 00 B1 2A 01 AD [10:23:34]Write i2c OK [10:23:34]MH_I2C_Read... [10:23:34]Read from MH i2c: D1 [10:23:34]MH_I2C_Read... [10:23:34]Read from MH i2c: D1 01 00 [10:23:34]MH_I2C_Read... [10:23:34]Read from MH i2c: D1 01 00 B1 2A 00 AC [10:23:34]Write to MH i2c: 01 00 00 B2 2A DC [10:23:34]Write i2c OK [10:23:34]MH_I2C_Read... [10:23:35]OFD Sender: No OFD packet to send [10:23:35]*** Cut start [10:23:35]*** Partial cut [10:23:35]*** CUTSNS_PIN = 1 [10:23:35]*** CUTSNS_PIN = 0 [10:23:35]*** Brake cut motor [10:23:35]Read from MH i2c: 01 [10:23:35]MH_I2C_Read... [10:23:35]*** Stop cut motor [10:23:35]*** Cut end [10:23:35]Read from MH i2c: 01 07 00 [10:23:35]MH_I2C_Read... [10:23:35]Read from MH i2c: 01 07 00 B2 2A 00 00 00 00 00 FF 0F F1 [10:23:35]process_action close_receipt done [10:23:35]requested_data is exist [10:23:35]produce_requested_data [10:23:35]requested_item fm.sn is exist - process it [10:23:35]wFMCommunicate request_size=4 [10:23:35]MH_SAM_APDU [10:23:35]CAPDU: 80 11 00 00 [10:23:35]Write to MH i2c: E2 08 00 B3 2A 80 11 00 00 00 00 00 00 57 [10:23:35]Write i2c OK [10:23:35]MH_I2C_Read... [10:23:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:23:36]Read from MH i2c: E2 [10:23:36]MH_I2C_Read... [10:23:36]Read from MH i2c: E2 17 00 [10:23:36]MH_I2C_Read... [10:23:36]Read from MH i2c: E2 17 00 B3 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 A4 [10:23:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:23:36]wFMCommunicate OK [10:23:36]requested_item fd.num is exist - process it [10:23:36]SAM_PROTO_GetFieldsCounters [10:23:36]wFMCommunicate request_size=4 [10:23:36]MH_SAM_APDU [10:23:36]CAPDU: 80 13 00 00 [10:23:36]Write to MH i2c: E2 08 00 B4 2A 80 13 00 00 00 00 00 00 5A [10:23:36]Write i2c OK [10:23:36]MH_I2C_Read... [10:23:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:23:36]Read from MH i2c: E2 [10:23:36]MH_I2C_Read... [10:23:36]Read from MH i2c: E2 62 00 [10:23:36]MH_I2C_Read... [10:23:36]Read from MH i2c: E2 62 00 B4 2A 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 A5 [10:23: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:23:36]wFMCommunicate OK [10:23:36]SAM_PROTO_GetFieldsCounters done [10:23:36]requested_item shift.num is exist - process it [10:23:36]requested_item shift.opened is exist - process it [10:23:36]req_shift_opened [10:23:36]FM_GetShiftState [10:23:36]SAM_PROTO_GetShiftState [10:23:36]wFMCommunicate request_size=4 [10:23:36]MH_SAM_APDU [10:23:36]CAPDU: 80 13 01 00 [10:23:36]Write to MH i2c: E2 08 00 B5 2A 80 13 01 00 00 00 00 00 5C [10:23:36]Write i2c OK [10:23:36]MH_I2C_Read... [10:23:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:23:36]Read from MH i2c: E2 [10:23:36]MH_I2C_Read... [10:23:36]Read from MH i2c: E2 0E 00 [10:23:36]MH_I2C_Read... [10:23:36]Read from MH i2c: E2 0E 00 B5 2A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 E2 [10:23:36]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:23:36]wFMCommunicate OK [10:23:36]SAM_PROTO_GetShiftState done [10:23:36]FM_GetShiftState done [10:23:36]req_shift_opened done [10:23:36]requested_item shift.open_date is exist - process it [10:23:36]req_shift_open_date [10:23:36]req_shift_open_date done [10:23:36]produce_requested_data done [10:23:36]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48957,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [10:23:36]process_action_free close_receipt [10:23:36]json_value_free [10:23:36]json_value_free done [10:23:36]process_json_proto returns [10:23:36]Send response to host [10:23:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48957,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [10:23:36]free response buf [10:23:36]execute_script done [10:23:36]execute_script returns [10:23:36]free content buf [10:23:36]Sock 9.Close socket [10:23:36]Sock 9.Thread stoped [10:23:40]OFD Sender: No OFD packet to send [10:23:45]OFD Sender: No OFD packet to send [10:23:50]OFD Sender: No OFD packet to send [10:23:55]OFD Sender: No OFD packet to send [10:24:00]OFD Sender: No OFD packet to send [10:24:05]OFD Sender: No OFD packet to send [10:24:10]OFD Sender: No OFD packet to send [10:24:15]OFD Sender: No OFD packet to send [10:24:20]OFD Sender: No OFD packet to send [10:24:25]OFD Sender: No OFD packet to send [10:24:30]OFD Sender: No OFD packet to send [10:24:35]OFD Sender: No OFD packet to send [10:24:40]OFD Sender: No OFD packet to send [10:24:45]OFD Sender: No OFD packet to send [10:24:50]OFD Sender: No OFD packet to send [10:24:55]OFD Sender: No OFD packet to send [10:25:00]OFD Sender: No OFD packet to send [10:25:05]OFD Sender: No OFD packet to send [10:25:10]OFD Sender: No OFD packet to send [10:25:15]OFD Sender: No OFD packet to send [10:25:20]OFD Sender: No OFD packet to send [10:25:25]OFD Sender: No OFD packet to send [10:25:30]OFD Sender: No OFD packet to send [10:25:35]OFD Sender: No OFD packet to send [10:25:40]OFD Sender: No OFD packet to send [10:25:45]OFD Sender: No OFD packet to send [10:25:50]OFD Sender: No OFD packet to send [10:25:55]OFD Sender: No OFD packet to send [10:26:00]OFD Sender: No OFD packet to send [10:26:05]OFD Sender: No OFD packet to send [10:26:10]OFD Sender: No OFD packet to send [10:26:15]OFD Sender: No OFD packet to send [10:26:20]OFD Sender: No OFD packet to send [10:26:25]OFD Sender: No OFD packet to send [10:26:30]OFD Sender: No OFD packet to send [10:26:35]OFD Sender: No OFD packet to send [10:26:40]OFD Sender: No OFD packet to send [10:26:45]OFD Sender: No OFD packet to send [10:26:50]OFD Sender: No OFD packet to send [10:26:55]OFD Sender: No OFD packet to send [10:27:00]OFD Sender: No OFD packet to send [10:27:05]OFD Sender: No OFD packet to send [10:27:10]OFD Sender: No OFD packet to send [10:27:15]OFD Sender: No OFD packet to send [10:27:20]OFD Sender: No OFD packet to send [10:27:25]OFD Sender: No OFD packet to send [10:27:30]OFD Sender: No OFD packet to send [10:27:35]OFD Sender: No OFD packet to send [10:27:40]OFD Sender: No OFD packet to send [10:27:45]OFD Sender: No OFD packet to send [10:27:50]OFD Sender: No OFD packet to send [10:27:55]OFD Sender: No OFD packet to send [10:28:00]OFD Sender: No OFD packet to send [10:28:05]OFD Sender: No OFD packet to send [10:28:10]OFD Sender: No OFD packet to send [10:28:15]OFD Sender: No OFD packet to send [10:28:20]OFD Sender: No OFD packet to send [10:28:25]OFD Sender: No OFD packet to send [10:28:30]OFD Sender: No OFD packet to send [10:28:35]OFD Sender: No OFD packet to send [10:28:40]OFD Sender: No OFD packet to send [10:28:45]OFD Sender: No OFD packet to send [10:28:49]accept exits with 7 [10:28:49]New connection [10:28:49]New thread 3066813796 created [10:28:49]Thread 3066670436 joined [10:28:49]Waiting for new connection... [10:28:49] Sock 7.Parse request [10:28:49]Sock 7.Check first char [10:28:49]Sock 7.First char is OK [10:28:49]request: POST /json_proto HTTP/1.0 [10:28:49]Method: POST [10:28:49]URL: /json_proto [10:28:49]Method is POST - this is cgi request [10:28:49]url: /json_proto [10:28:49]query_string will be loaded in cgi processing [10:28:49]execute_cgi json_proto POST (null) [10:28:49]execute_cgi path=json_proto method=POST [10:28:49]POST find Content-Length [10:28:49]Host: 172.17.56.67:8080 [10:28:49]Content-Length: 677 [10:28:49]Content-Type: application/json [10:28:49] [10:28:49]POST finish read [10:28:49]Found Content-Length = 677 [10:28:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216055", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [10:28:49]execute_script... [10:28: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)216055", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [10:28:49]POST & json_proto [10:28:49]process_json_proto [10:28:49]json parsed OK: [10:28:49]protocol is kg_v1.0 [10:28:49]action value=close_receipt [10:28:49]process_action close_receipt [10:28:49]cmd_close_receipt [10:28:49]MH_GetDate [10:28:49]Write to MH i2c: F0 00 00 B6 2A CF [10:28:49]Write i2c OK [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: F0 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: F0 09 00 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: F0 09 00 B6 2A 00 69 2C B6 65 26 5D 9E 65 0E [10:28:49]GetLastDocTimeStamp 1706437420 [10:28:49]current date 1706437737 [10:28:49]FM_GetShiftState [10:28:49]SAM_PROTO_GetShiftState [10:28:49]wFMCommunicate request_size=4 [10:28:49]MH_SAM_APDU [10:28:49]CAPDU: 80 13 01 00 [10:28:49]Write to MH i2c: E2 08 00 B7 2A 80 13 01 00 00 00 00 00 5E [10:28:49]Write i2c OK [10:28:49]MH_I2C_Read... [10:28:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:49]Read from MH i2c: E2 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: E2 0E 00 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: E2 0E 00 B7 2A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 E4 [10:28:49]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:28:49]wFMCommunicate OK [10:28:49]SAM_PROTO_GetShiftState done [10:28:49]FM_GetShiftState done [10:28:49]opened in 1706400199 [10:28:49]opened+sec_in_day 1706486599 [10:28:49]quantity*price = 30029 [10:28:49]sum+1 = 30030 [10:28:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 23 28.01.2024 10:28 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48958 ФПД: 217960976353325 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T102857&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48958&fm=217960976353325&tin=02508201610067®Number=0000000000092723&sum=30000 [10:28:50]StoreToDocumentArchive [10:28:50]shift 244 fd 48958 [10:28:50]save to /storage/0244/doc_00048958 [10:28:50]save last doc name /storage/0244/doc_00048958 to /storage/kkm_last_doc_name [10:28:50]save OK [10:28:50]Clear old archive folders... [10:28:50]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:28:50]tlvbuf is 01214640 [10:28:50]SAM_PROTO_ClearQueue [10:28:50]wFMCommunicate request_size=4 [10:28:50]MH_SAM_APDU [10:28:50]CAPDU: 80 09 00 00 [10:28:50]Write to MH i2c: E2 08 00 C4 2A 80 09 00 00 00 00 00 00 60 [10:28:50]Write i2c OK [10:28:50]MH_I2C_Read... [10:28:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:28:50]Read from MH i2c: E2 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 03 00 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 03 00 C4 2A 00 90 00 62 [10:28:50]RAPDU: 90 00 [10:28:50]wFMCommunicate OK [10:28:50]SAM_PROTO_ClearQueue done [10:28:50]KKMCreateOFDPacket [10:28:50]OFDProtocolAddRootSTLVToBuf [10:28:50]FM_MakeSignedData [10:28:50]FM_MakeSignedData [10:28:50]SAM_PROTO_SignData [10:28:50]wFMCommunicate request_size=4 [10:28:50]MH_SAM_APDU [10:28:50]CAPDU: 80 0D 01 02 [10:28:50]Write to MH i2c: E2 08 00 C5 2A 80 0D 01 02 00 00 00 00 68 [10:28:50]Write i2c OK [10:28:50]MH_I2C_Read... [10:28:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:28:50]Read from MH i2c: E2 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 03 00 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 03 00 C5 2A 00 90 00 63 [10:28:50]RAPDU: 90 00 [10:28:50]wFMCommunicate OK [10:28:50]wFMCommunicate request_size=255 [10:28:50]MH_SAM_APDU [10:28:50]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 17 00 00 00 F4 03 04 00 69 2C B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3E BF 00 00 35 04 06 00 C6 [10:28:50]Write to MH i2c: E2 02 01 C6 2A 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 17 00 00 00 F4 03 04 00 69 2C B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3E BF 00 00 35 04 06 00 C6 00 00 AC [10:28:50]Write i2c OK [10:28:50]MH_I2C_Read... [10:28:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:50]Read from MH i2c: E2 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 03 00 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 03 00 C6 2A 00 90 00 64 [10:28:50]RAPDU: 90 00 [10:28:50]wFMCommunicate OK [10:28:50]wFMCommunicate request_size=10 [10:28:50]MH_SAM_APDU [10:28:50]CAPDU: 80 0D 02 02 05 3B FE 92 08 2D [10:28:50]Write to MH i2c: E2 0D 00 C7 2A 80 0D 02 02 05 00 3B FE 92 08 2D 00 00 75 [10:28:50]Write i2c OK [10:28:50]MH_I2C_Read... [10:28:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:50]Read from MH i2c: E2 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 03 00 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 03 00 C7 2A 00 90 00 65 [10:28:50]RAPDU: 90 00 [10:28:50]wFMCommunicate OK [10:28:50]wFMCommunicate request_size=4 [10:28:50]MH_SAM_APDU [10:28:50]CAPDU: 80 0D 03 02 [10:28:50]Write to MH i2c: E2 08 00 C8 2A 80 0D 03 02 00 00 00 00 6D [10:28:50]Write i2c OK [10:28:50]MH_I2C_Read... [10:28:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:28:50]Read from MH i2c: E2 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 0B 00 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 0B 00 C8 2A 00 BC E6 54 E8 98 7D 29 2E 90 00 B8 [10:28:50]RAPDU: BC E6 54 E8 98 7D 29 2E 90 00 [10:28:50]wFMCommunicate OK [10:28:50]SAM_PROTO_SignData done [10:28:50]FM_MakeSignedData done [10:28:50]CreateOFDProtocolMessage [10:28:50]wFMCommunicate request_size=4 [10:28:50]MH_SAM_APDU [10:28:50]CAPDU: 80 11 00 00 [10:28:50]Write to MH i2c: E2 08 00 C9 2A 80 11 00 00 00 00 00 00 6D [10:28:50]Write i2c OK [10:28:50]MH_I2C_Read... [10:28:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:50]Read from MH i2c: E2 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 17 00 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 17 00 C9 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 BA [10:28:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:28:50]wFMCommunicate OK [10:28:50]CreateOFDProtocolMessage done [10:28:50]OFDSenderStorePacket 48958 [10:28:50]StoreOFDPacket docnum=48958 [10:28:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 C1 75 07 01 3A 40 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 17 00 00 00 F4 03 04 00 69 2C B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3E BF 00 00 35 04 06 00 C6 3B FE 92 08 2D BC E6 54 E8 98 7D 29 2E [10:28:50]CheckFolder [10:28:50]dirname=/storage/ofd_packets [10:28:50]CheckFolder done [10:28:50]ProducePacketName [10:28:50]name=ofd_packets/00048958 [10:28:50]NVStorageSaveData ofd_packets/00048958 [10:28:50]File name is /storage/ofd_packets/00048958 [10:28:50]Write 301 bytes [10:28:50]NVStorageSaveData done [10:28:50]OFDSenderStorePacket done [10:28:50]KKMCreateOFDPacket done [10:28:50]NVStorageSaveData kkm_last_timestamp [10:28:50]File name is /storage/kkm_last_timestamp [10:28:50]Write 4 bytes [10:28:50]NVStorageSaveData done [10:28:50]ExternCall_PrintAddStr [10:28:51]wPrintStart [10:28:51]Write to MH i2c: 01 00 00 CA 2A F4 [10:28:51]Write i2c OK [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: 01 [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: 01 07 00 [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: 01 07 00 CA 2A 00 00 00 00 00 FF 0F 09 [10:28:51]RasterBufferAndPrint [10:28:51]line Счет N : (1)216055 [10:28:51]line ИÐÐ: 02508201610067 [10:28:51]line Контрольно-КаÑÑовый Чек [10:28:51]line ПРОДÐЖР[10:28:51]line ТРК (МРК, ГÐК) : 22 [10:28:51]line Товар: 2710124130 [10:28:51]line Ðи-92-К-5 [10:28:51]line 4.980 * 60.30 [10:28:51]line = 300.29 [10:28:51]line ÐДС 12% ÐСП 1% [10:28:51]line > о реализуемом товаре [10:28:51]line ОКРУГЛЕÐИЕ: -0.29 [10:28:51]line ИТОГО: 300.00 [10:28:51]line ВнеÑено: 300.00 [10:28:51]line СДÐЧÐ: 0.00 [10:28:51]line ÐСП 1% : 2.66 [10:28:51]line ÐДС 12% : 31.89 [10:28:51]line Ðаличными: 300.00 [10:28:51]line Безнал.: 0.00 [10:28:51]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [10:28:51]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [10:28:51]line СÐО: Общий режим [10:28:51]line Чек 23 28.01.2024 10:28 [10:28:51]line Смена: 244 ФФД: 1.0 [10:28:51]line ЗÐМ: 0300000040 [10:28:51]line РÐМ: 0000000000092723 [10:28:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:28:51]line ФМ: 0000000000875060 [10:28:51]line ФД: 48958 [10:28:51]line ФПД: 217960976353325 [10:28:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T102857&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48958&fm=217960976353325&tin=02508201610067®Number=0000000000092723&sum=30000 [10:28:51]OFD Sender: Processing packet 48958 [packets to send 12, broken 11] [10:28:51]ProducePacketName [10:28:51]name=ofd_packets/00048958 [10:28:51]OFD Sender: To server: ‡•öpG, [10:28:51]CommunicateWithHost lk.salyk.kg:30040 [10:28:51]ConnectInit lk.salyk.kg [10:28:51]written 0, free lines is 4095 [10:28:51]Connected sock=11 [10:28: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 30 36 30 0F 01 00 00 C1 75 07 01 3A 40 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 17 00 00 00 F4 03 04 00 69 2C B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3E BF 00 00 35 04 06 00 C6 3B FE 92 08 2D BC E6 54 E8 98 7D 29 2E [10:28:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 DF 26 47 00 14 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 30 36 30 10 04 04 00 3E BF 00 00 F4 03 04 00 65 D8 B5 65 B6 04 01 00 00 B4 7E 56 D5 95 74 EF E3 [10:28:51]CommunicateWithHost err = 0 [10:28:51]CheckOFDResponse [10:28:51]1017 (14) - 77093643461234 [10:28:51]1041 (16) - 0000000000875060 [10:28:51]1040 (4) - 48958 [10:28:51]1012 (4) - 28.01.2024 04:30 [10:28:51]1206 (1) - 0 [10:28:51]OFD Sender: Remove packet 48958 [10:28:51]ProducePacketName [10:28:51]name=ofd_packets/00048958 [10:28:51]NVStorageDeleteData [10:28:51]Write to MH i2c: 01 00 00 F5 2A 1F [10:28:51]Write i2c OK [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: 01 [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: 01 07 00 [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: 01 07 00 F5 2A 00 00 00 00 00 FB 0C 2D [10:28:51]RasterBufferAndPrint [10:28:51]line [10:28:51]line [10:28:51]line [10:28:51]line [10:28:51]line [10:28:51]written 0, free lines is 3329 [10:28:51]MH_Cut [10:28:51]Write to MH i2c: D1 01 00 FC 2A 01 F8 [10:28:51]Write i2c OK [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: D1 [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: D1 01 00 [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: D1 01 00 FC 2A 00 F7 [10:28:51]Write to MH i2c: 01 00 00 FD 2A 27 [10:28:51]Write i2c OK [10:28:51]MH_I2C_Read... [10:28:52]OFD Sender: No OFD packet to send [10:28:52]*** Cut start [10:28:52]*** Partial cut [10:28:52]*** CUTSNS_PIN = 1 [10:28:52]*** CUTSNS_PIN = 0 [10:28:52]*** Brake cut motor [10:28:53]Read from MH i2c: 01 [10:28:53]MH_I2C_Read... [10:28:53]*** Stop cut motor [10:28:53]*** Cut end [10:28:53]Read from MH i2c: 01 07 00 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: 01 07 00 FD 2A 00 00 00 00 00 FF 0F 3C [10:28:53]process_action close_receipt done [10:28:53]requested_data is exist [10:28:53]produce_requested_data [10:28:53]requested_item fm.sn is exist - process it [10:28:53]wFMCommunicate request_size=4 [10:28:53]MH_SAM_APDU [10:28:53]CAPDU: 80 11 00 00 [10:28:53]Write to MH i2c: E2 08 00 FE 2A 80 11 00 00 00 00 00 00 A2 [10:28:53]Write i2c OK [10:28:53]MH_I2C_Read... [10:28:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:53]Read from MH i2c: E2 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: E2 17 00 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: E2 17 00 FE 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 EF [10:28:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:28:53]wFMCommunicate OK [10:28:53]requested_item fd.num is exist - process it [10:28:53]SAM_PROTO_GetFieldsCounters [10:28:53]wFMCommunicate request_size=4 [10:28:53]MH_SAM_APDU [10:28:53]CAPDU: 80 13 00 00 [10:28:53]Write to MH i2c: E2 08 00 FF 2A 80 13 00 00 00 00 00 00 A5 [10:28:53]Write i2c OK [10:28:53]MH_I2C_Read... [10:28:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:28:53]Read from MH i2c: E2 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: E2 62 00 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: E2 62 00 FF 2A 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [10:28: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:28:53]wFMCommunicate OK [10:28:53]SAM_PROTO_GetFieldsCounters done [10:28:53]requested_item shift.num is exist - process it [10:28:53]requested_item shift.opened is exist - process it [10:28:53]req_shift_opened [10:28:53]FM_GetShiftState [10:28:53]SAM_PROTO_GetShiftState [10:28:53]wFMCommunicate request_size=4 [10:28:53]MH_SAM_APDU [10:28:53]CAPDU: 80 13 01 00 [10:28:53]Write to MH i2c: E2 08 00 00 2B 80 13 01 00 00 00 00 00 A8 [10:28:53]Write i2c OK [10:28:53]MH_I2C_Read... [10:28:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:53]Read from MH i2c: E2 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: E2 0E 00 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: E2 0E 00 00 2B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 2E [10:28:53]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:28:53]wFMCommunicate OK [10:28:53]SAM_PROTO_GetShiftState done [10:28:53]FM_GetShiftState done [10:28:53]req_shift_opened done [10:28:53]requested_item shift.open_date is exist - process it [10:28:53]req_shift_open_date [10:28:53]req_shift_open_date done [10:28:53]produce_requested_data done [10:28:53]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48958,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [10:28:53]process_action_free close_receipt [10:28:53]json_value_free [10:28:53]json_value_free done [10:28:53]process_json_proto returns [10:28:53]Send response to host [10:28:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48958,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [10:28:53]free response buf [10:28:53]execute_script done [10:28:53]execute_script returns [10:28:53]free content buf [10:28:53]Sock 7.Close socket [10:28:53]Sock 7.Thread stoped [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:07]OFD Sender: No OFD packet to send [10:32:12]OFD Sender: No OFD packet to send [10:32:17]OFD Sender: No OFD packet to send [10:32:22]OFD Sender: No OFD packet to send [10:32:27]OFD Sender: No OFD packet to send [10:32:32]OFD Sender: No OFD packet to send [10:32:37]OFD Sender: No OFD packet to send [10:32:42]OFD Sender: No OFD packet to send [10:32:45]accept exits with 9 [10:32:45]New connection [10:32:45]New thread 3066670436 created [10:32:45]Thread 3066813796 joined [10:32:45]Waiting for new connection... [10:32:45] Sock 9.Parse request [10:32:45]Sock 9.Check first char [10:32:45]Sock 9.First char is OK [10:32:45]request: POST /json_proto HTTP/1.0 [10:32:45]Method: POST [10:32:45]URL: /json_proto [10:32:45]Method is POST - this is cgi request [10:32:45]url: /json_proto [10:32:45]query_string will be loaded in cgi processing [10:32:45]execute_cgi json_proto POST (null) [10:32:45]execute_cgi path=json_proto method=POST [10:32:45]POST find Content-Length [10:32:45]Host: 172.17.56.67:8080 [10:32:45]Content-Length: 674 [10:32:45]Content-Type: application/json [10:32:45] [10:32:45]POST finish read [10:32:45]Found Content-Length = 674 [10:32:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216056", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 8.590, "sum" : 600.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:32:45]execute_script... [10:32: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 : (1)216056", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 8.590, "sum" : 600.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:32:45]POST & json_proto [10:32:45]process_json_proto [10:32:45]json parsed OK: [10:32:45]protocol is kg_v1.0 [10:32:45]action value=close_receipt [10:32:45]process_action close_receipt [10:32:45]cmd_close_receipt [10:32:45]MH_GetDate [10:32:45]Write to MH i2c: F0 00 00 01 2B 1B [10:32:45]Write i2c OK [10:32:45]MH_I2C_Read... [10:32:45]Read from MH i2c: F0 [10:32:45]MH_I2C_Read... [10:32:45]Read from MH i2c: F0 09 00 [10:32:45]MH_I2C_Read... [10:32:45]Read from MH i2c: F0 09 00 01 2B 00 55 2D B6 65 26 5D 9E 65 47 [10:32:45]GetLastDocTimeStamp 1706437737 [10:32:45]current date 1706437973 [10:32:45]FM_GetShiftState [10:32:45]SAM_PROTO_GetShiftState [10:32:45]wFMCommunicate request_size=4 [10:32:45]MH_SAM_APDU [10:32:45]CAPDU: 80 13 01 00 [10:32:45]Write to MH i2c: E2 08 00 02 2B 80 13 01 00 00 00 00 00 AA [10:32:45]Write i2c OK [10:32:45]MH_I2C_Read... [10:32:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:32:45]Read from MH i2c: E2 [10:32:45]MH_I2C_Read... [10:32:45]Read from MH i2c: E2 0E 00 [10:32:45]MH_I2C_Read... [10:32:45]Read from MH i2c: E2 0E 00 02 2B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 30 [10:32:45]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:32:45]wFMCommunicate OK [10:32:45]SAM_PROTO_GetShiftState done [10:32:45]FM_GetShiftState done [10:32:45]opened in 1706400199 [10:32:45]opened+sec_in_day 1706486599 [10:32:45]quantity*price = 60044 [10:32:45]sum+1 = 60045 [10:32:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.44 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.76 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 24 28.01.2024 10:32 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48959 ФПД: 249309843446539 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T103253&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48959&fm=249309843446539&tin=02508201610067®Number=0000000000092723&sum=60000 [10:32:46]StoreToDocumentArchive [10:32:46]shift 244 fd 48959 [10:32:46]save to /storage/0244/doc_00048959 [10:32:46]save last doc name /storage/0244/doc_00048959 to /storage/kkm_last_doc_name [10:32:46]save OK [10:32:46]Clear old archive folders... [10:32:46]ProcessDocumentItem done err = 0, tmpTLVsize=248 [10:32:46]tlvbuf is 01210550 [10:32:46]SAM_PROTO_ClearQueue [10:32:46]wFMCommunicate request_size=4 [10:32:46]MH_SAM_APDU [10:32:46]CAPDU: 80 09 00 00 [10:32:46]Write to MH i2c: E2 08 00 0F 2B 80 09 00 00 00 00 00 00 AC [10:32:46]Write i2c OK [10:32:46]MH_I2C_Read... [10:32:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:32:46]Read from MH i2c: E2 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 03 00 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 03 00 0F 2B 00 90 00 AE [10:32:46]RAPDU: 90 00 [10:32:46]wFMCommunicate OK [10:32:46]SAM_PROTO_ClearQueue done [10:32:46]KKMCreateOFDPacket [10:32:46]OFDProtocolAddRootSTLVToBuf [10:32:46]FM_MakeSignedData [10:32:46]FM_MakeSignedData [10:32:46]SAM_PROTO_SignData [10:32:46]wFMCommunicate request_size=4 [10:32:46]MH_SAM_APDU [10:32:46]CAPDU: 80 0D 01 02 [10:32:46]Write to MH i2c: E2 08 00 10 2B 80 0D 01 02 00 00 00 00 B4 [10:32:46]Write i2c OK [10:32:46]MH_I2C_Read... [10:32:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:32:46]Read from MH i2c: E2 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 03 00 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 03 00 10 2B 00 90 00 AF [10:32:46]RAPDU: 90 00 [10:32:46]wFMCommunicate OK [10:32:46]wFMCommunicate request_size=255 [10:32:46]MH_SAM_APDU [10:32:46]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8E 21 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 8C EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 55 2D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3F BF 00 00 35 04 06 00 E2 BE F8 A8 [10:32:46]Write to MH i2c: E2 02 01 11 2B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8E 21 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 8C EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 55 2D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3F BF 00 00 35 04 06 00 E2 BE F8 A8 00 00 27 [10:32:46]Write i2c OK [10:32:46]MH_I2C_Read... [10:32:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:32:46]Read from MH i2c: E2 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 03 00 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 03 00 11 2B 00 90 00 B0 [10:32:46]RAPDU: 90 00 [10:32:46]wFMCommunicate OK [10:32:46]wFMCommunicate request_size=7 [10:32:46]MH_SAM_APDU [10:32:46]CAPDU: 80 0D 02 02 02 5B 0B [10:32:46]Write to MH i2c: E2 0A 00 12 2B 80 0D 02 02 02 00 5B 0B 00 00 21 [10:32:46]Write i2c OK [10:32:46]MH_I2C_Read... [10:32:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:32:46]Read from MH i2c: E2 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 03 00 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 03 00 12 2B 00 90 00 B1 [10:32:46]RAPDU: 90 00 [10:32:46]wFMCommunicate OK [10:32:46]wFMCommunicate request_size=4 [10:32:46]MH_SAM_APDU [10:32:46]CAPDU: 80 0D 03 02 [10:32:46]Write to MH i2c: E2 08 00 13 2B 80 0D 03 02 00 00 00 00 B9 [10:32:46]Write i2c OK [10:32:46]MH_I2C_Read... [10:32:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:32:46]Read from MH i2c: E2 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 0B 00 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 0B 00 13 2B 00 E1 60 73 99 46 88 BF F6 90 00 8A [10:32:46]RAPDU: E1 60 73 99 46 88 BF F6 90 00 [10:32:46]wFMCommunicate OK [10:32:46]SAM_PROTO_SignData done [10:32:46]FM_MakeSignedData done [10:32:46]CreateOFDProtocolMessage [10:32:46]wFMCommunicate request_size=4 [10:32:46]MH_SAM_APDU [10:32:46]CAPDU: 80 11 00 00 [10:32:46]Write to MH i2c: E2 08 00 14 2B 80 11 00 00 00 00 00 00 B9 [10:32:46]Write i2c OK [10:32:46]MH_I2C_Read... [10:32:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:32:46]Read from MH i2c: E2 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 17 00 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: E2 17 00 14 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 06 [10:32:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:32:46]wFMCommunicate OK [10:32:46]CreateOFDProtocolMessage done [10:32:46]OFDSenderStorePacket 48959 [10:32:46]StoreOFDPacket docnum=48959 [10:32:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 C8 0B 04 01 4C BE 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8E 21 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 8C EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 55 2D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3F BF 00 00 35 04 06 00 E2 BE F8 A8 5B 0B E1 60 73 99 46 88 BF F6 [10:32:46]CheckFolder [10:32:46]dirname=/storage/ofd_packets [10:32:46]CheckFolder done [10:32:46]ProducePacketName [10:32:46]name=ofd_packets/00048959 [10:32:46]NVStorageSaveData ofd_packets/00048959 [10:32:46]File name is /storage/ofd_packets/00048959 [10:32:46]Write 298 bytes [10:32:46]NVStorageSaveData done [10:32:46]OFDSenderStorePacket done [10:32:46]KKMCreateOFDPacket done [10:32:46]NVStorageSaveData kkm_last_timestamp [10:32:46]File name is /storage/kkm_last_timestamp [10:32:46]Write 4 bytes [10:32:46]NVStorageSaveData done [10:32:46]ExternCall_PrintAddStr [10:32:46]wPrintStart [10:32:46]Write to MH i2c: 01 00 00 15 2B 40 [10:32:46]Write i2c OK [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: 01 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: 01 07 00 [10:32:46]MH_I2C_Read... [10:32:46]Read from MH i2c: 01 07 00 15 2B 00 00 00 00 00 FF 0F 55 [10:32:46]RasterBufferAndPrint [10:32:46]line Счет N : (1)216056 [10:32:46]line ИÐÐ: 02508201610067 [10:32:46]line Контрольно-КаÑÑовый Чек [10:32:46]line ПРОДÐЖР[10:32:46]line ТРК (МРК, ГÐК) : 11 [10:32:46]line Товар: 2710194210 [10:32:46]line ДТ-К-5 [10:32:46]line 8.590 * 69.90 [10:32:46]line = 600.44 [10:32:46]line ÐДС 12% ÐСП 1% [10:32:46]line > о реализуемом товаре [10:32:46]line ОКРУГЛЕÐИЕ: -0.44 [10:32:46]line ИТОГО: 600.00 [10:32:46]line ВнеÑено: 600.00 [10:32:46]line СДÐЧÐ: 0.00 [10:32:46]line ÐСП 1% : 5.31 [10:32:46]line ÐДС 12% : 63.76 [10:32:46]line Ðаличными: 600.00 [10:32:46]line Безнал.: 0.00 [10:32:46]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [10:32:46]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [10:32:46]line СÐО: Общий режим [10:32:46]line Чек 24 28.01.2024 10:32 [10:32:46]line Смена: 244 ФФД: 1.0 [10:32:46]line ЗÐМ: 0300000040 [10:32:46]line РÐМ: 0000000000092723 [10:32:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:32:46]line ФМ: 0000000000875060 [10:32:46]line ФД: 48959 [10:32:46]line ФПД: 249309843446539 [10:32:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T103253&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48959&fm=249309843446539&tin=02508201610067®Number=0000000000092723&sum=60000 [10:32:47]OFD Sender: Processing packet 48959 [packets to send 12, broken 11] [10:32:47]ProducePacketName [10:32:47]name=ofd_packets/00048959 [10:32:47]OFD Sender: To server: ‡•öpG, [10:32:47]CommunicateWithHost lk.salyk.kg:30040 [10:32:47]ConnectInit lk.salyk.kg [10:32:47]written 0, free lines is 4095 [10:32:47]Connected sock=10 [10:32: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 30 36 30 0C 01 00 00 C8 0B 04 01 4C BE 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8E 21 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 8C EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 55 2D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3F BF 00 00 35 04 06 00 E2 BE F8 A8 5B 0B E1 60 73 99 46 88 BF F6 [10:32:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 B4 1D 47 00 99 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 3F BF 00 00 F4 03 04 00 51 D9 B5 65 B6 04 01 00 00 A3 8C CF C1 43 46 06 03 [10:32:47]CommunicateWithHost err = 0 [10:32:47]CheckOFDResponse [10:32:47]1017 (14) - 77093643461234 [10:32:47]1041 (16) - 0000000000875060 [10:32:47]1040 (4) - 48959 [10:32:47]1012 (4) - 28.01.2024 04:34 [10:32:47]1206 (1) - 0 [10:32:47]OFD Sender: Remove packet 48959 [10:32:47]ProducePacketName [10:32:47]name=ofd_packets/00048959 [10:32:47]NVStorageDeleteData [10:32:47]Write to MH i2c: 01 00 00 40 2B 6B [10:32:47]Write i2c OK [10:32:47]MH_I2C_Read... [10:32:47]Read from MH i2c: 01 [10:32:47]MH_I2C_Read... [10:32:47]Read from MH i2c: 01 07 00 [10:32:47]MH_I2C_Read... [10:32:47]Read from MH i2c: 01 07 00 40 2B 00 00 00 00 00 F1 0C 6F [10:32:47]RasterBufferAndPrint [10:32:47]line [10:32:47]line [10:32:47]line [10:32:47]line [10:32:47]line [10:32:47]written 0, free lines is 3319 [10:32:47]MH_Cut [10:32:47]Write to MH i2c: D1 01 00 47 2B 01 44 [10:32:47]Write i2c OK [10:32:47]MH_I2C_Read... [10:32:47]Read from MH i2c: D1 [10:32:47]MH_I2C_Read... [10:32:47]Read from MH i2c: D1 01 00 [10:32:47]MH_I2C_Read... [10:32:47]Read from MH i2c: D1 01 00 47 2B 00 43 [10:32:47]Write to MH i2c: 01 00 00 48 2B 73 [10:32:47]Write i2c OK [10:32:47]MH_I2C_Read... [10:32:48]OFD Sender: No OFD packet to send [10:32:48]*** Cut start [10:32:48]*** Partial cut [10:32:48]*** CUTSNS_PIN = 1 [10:32:48]*** CUTSNS_PIN = 0 [10:32:48]*** Brake cut motor [10:32:48]Read from MH i2c: 01 [10:32:49]MH_I2C_Read... [10:32:49]*** Stop cut motor [10:32:49]*** Cut end [10:32:49]Read from MH i2c: 01 07 00 [10:32:49]MH_I2C_Read... [10:32:49]Read from MH i2c: 01 07 00 48 2B 00 00 00 00 00 FF 0F 88 [10:32:49]process_action close_receipt done [10:32:49]requested_data is exist [10:32:49]produce_requested_data [10:32:49]requested_item fm.sn is exist - process it [10:32:49]wFMCommunicate request_size=4 [10:32:49]MH_SAM_APDU [10:32:49]CAPDU: 80 11 00 00 [10:32:49]Write to MH i2c: E2 08 00 49 2B 80 11 00 00 00 00 00 00 EE [10:32:49]Write i2c OK [10:32:49]MH_I2C_Read... [10:32:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:32:49]Read from MH i2c: E2 [10:32:49]MH_I2C_Read... [10:32:49]Read from MH i2c: E2 17 00 [10:32:49]MH_I2C_Read... [10:32:49]Read from MH i2c: E2 17 00 49 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 3B [10:32:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:32:49]wFMCommunicate OK [10:32:49]requested_item fd.num is exist - process it [10:32:49]SAM_PROTO_GetFieldsCounters [10:32:49]wFMCommunicate request_size=4 [10:32:49]MH_SAM_APDU [10:32:49]CAPDU: 80 13 00 00 [10:32:49]Write to MH i2c: E2 08 00 4A 2B 80 13 00 00 00 00 00 00 F1 [10:32:49]Write i2c OK [10:32:49]MH_I2C_Read... [10:32:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:32:49]Read from MH i2c: E2 [10:32:49]MH_I2C_Read... [10:32:49]Read from MH i2c: E2 62 00 [10:32:49]MH_I2C_Read... [10:32:49]Read from MH i2c: E2 62 00 4A 2B 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 44 [10:32: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 3F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:32:49]wFMCommunicate OK [10:32:49]SAM_PROTO_GetFieldsCounters done [10:32:49]requested_item shift.num is exist - process it [10:32:49]requested_item shift.opened is exist - process it [10:32:49]req_shift_opened [10:32:49]FM_GetShiftState [10:32:49]SAM_PROTO_GetShiftState [10:32:49]wFMCommunicate request_size=4 [10:32:49]MH_SAM_APDU [10:32:49]CAPDU: 80 13 01 00 [10:32:49]Write to MH i2c: E2 08 00 4B 2B 80 13 01 00 00 00 00 00 F3 [10:32:49]Write i2c OK [10:32:49]MH_I2C_Read... [10:32:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:32:49]Read from MH i2c: E2 [10:32:49]MH_I2C_Read... [10:32:49]Read from MH i2c: E2 0E 00 [10:32:49]MH_I2C_Read... [10:32:49]Read from MH i2c: E2 0E 00 4B 2B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 79 [10:32:49]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:32:49]wFMCommunicate OK [10:32:49]SAM_PROTO_GetShiftState done [10:32:49]FM_GetShiftState done [10:32:49]req_shift_opened done [10:32:49]requested_item shift.open_date is exist - process it [10:32:49]req_shift_open_date [10:32:49]req_shift_open_date done [10:32:49]produce_requested_data done [10:32:49]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48959,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [10:32:49]process_action_free close_receipt [10:32:49]json_value_free [10:32:49]json_value_free done [10:32:49]process_json_proto returns [10:32:49]Send response to host [10:32:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48959,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [10:32:49]free response buf [10:32:49]execute_script done [10:32:49]execute_script returns [10:32:49]free content buf [10:32:49]Sock 9.Close socket [10:32:49]Sock 9.Thread stoped [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: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:48]OFD Sender: No OFD packet to send [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:26]ConnectInit Can't connect to host [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:48]OFD Sender: No OFD packet to send [10:38:53]OFD Sender: No OFD packet to send [10:38:58]OFD Sender: No OFD packet to send [10:39:03]OFD Sender: No OFD packet to send [10:39:08]OFD Sender: No OFD packet to send [10:39:13]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:48]OFD Sender: No OFD packet to send [10:40:53]OFD Sender: No OFD packet to send [10:40:58]OFD Sender: No OFD packet to send [10:41:03]OFD Sender: No OFD packet to send [10:41:08]OFD Sender: No OFD packet to send [10:41:13]OFD Sender: No OFD packet to send [10:41:18]OFD Sender: No OFD packet to send [10:41:23]OFD Sender: No OFD packet to send [10:41:28]OFD Sender: No OFD packet to send [10:41:33]OFD Sender: No OFD packet to send [10:41:38]OFD Sender: No OFD packet to send [10:41:43]OFD Sender: No OFD packet to send [10:41:48]OFD Sender: No OFD packet to send [10:41:53]OFD Sender: No OFD packet to send [10:41:58]OFD Sender: No OFD packet to send [10:42:03]OFD Sender: No OFD packet to send [10:42:08]OFD Sender: No OFD packet to send [10:42:13]OFD Sender: No OFD packet to send [10:42:18]OFD Sender: No OFD packet to send [10:42:23]OFD Sender: No OFD packet to send [10:42:28]OFD Sender: No OFD packet to send [10:42:33]OFD Sender: No OFD packet to send [10:42:38]OFD Sender: No OFD packet to send [10:42:43]OFD Sender: No OFD packet to send [10:42:48]OFD Sender: No OFD packet to send [10:42:53]OFD Sender: No OFD packet to send [10:42:58]OFD Sender: No OFD packet to send [10:43:03]OFD Sender: No OFD packet to send [10:43:08]OFD Sender: No OFD packet to send [10:43:13]OFD Sender: No OFD packet to send [10:43:18]OFD Sender: No OFD packet to send [10:43:23]OFD Sender: No OFD packet to send [10:43:28]OFD Sender: No OFD packet to send [10:43:33]OFD Sender: No OFD packet to send [10:43:38]OFD Sender: No OFD packet to send [10:43:43]OFD Sender: No OFD packet to send [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:53]OFD Sender: No OFD packet to send [10:45:58]OFD Sender: No OFD packet to send [10:46:03]OFD Sender: No OFD packet to send [10:46:08]OFD Sender: No OFD packet to send [10:46:13]OFD Sender: No OFD packet to send [10:46:18]OFD Sender: No OFD packet to send [10:46:23]OFD Sender: No OFD packet to send [10:46:28]OFD Sender: No OFD packet to send [10:46:33]OFD Sender: No OFD packet to send [10:46:38]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:13]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:53]OFD Sender: No OFD packet to send [10:48:58]OFD Sender: No OFD packet to send [10:49:03]OFD Sender: No OFD packet to send [10:49:08]OFD Sender: No OFD packet to send [10:49:13]OFD Sender: No OFD packet to send [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49:43]OFD Sender: No OFD packet to send [10:49:48]OFD Sender: No OFD packet to send [10:49:53]OFD Sender: No OFD packet to send [10:49:58]OFD Sender: No OFD packet to send [10:50:03]OFD Sender: No OFD packet to send [10:50:08]OFD Sender: No OFD packet to send [10:50:13]OFD Sender: No OFD packet to send [10:50:18]OFD Sender: No OFD packet to send [10:50:23]OFD Sender: No OFD packet to send [10:50:28]OFD Sender: No OFD packet to send [10:50:33]OFD Sender: No OFD packet to send [10:50:38]OFD Sender: No OFD packet to send [10:50:43]OFD Sender: No OFD packet to send [10:50:48]OFD Sender: No OFD packet to send [10:50:53]OFD Sender: No OFD packet to send [10:50:58]OFD Sender: No OFD packet to send [10:51:03]OFD Sender: No OFD packet to send [10:51:08]OFD Sender: No OFD packet to send [10:51:13]OFD Sender: No OFD packet to send [10:51:18]OFD Sender: No OFD packet to send [10:51:23]OFD Sender: No OFD packet to send [10:51:28]OFD Sender: No OFD packet to send [10:51:33]OFD Sender: No OFD packet to send [10:51:37]accept exits with 7 [10:51:37]New connection [10:51:37]New thread 3066813796 created [10:51:37]Thread 3066670436 joined [10:51:37]Waiting for new connection... [10:51:37] Sock 7.Parse request [10:51:37]Sock 7.Check first char [10:51:37]Sock 7.First char is OK [10:51:37]request: POST /json_proto HTTP/1.0 [10:51:37]Method: POST [10:51:37]URL: /json_proto [10:51:37]Method is POST - this is cgi request [10:51:37]url: /json_proto [10:51:37]query_string will be loaded in cgi processing [10:51:37]execute_cgi json_proto POST (null) [10:51:37]execute_cgi path=json_proto method=POST [10:51:37]POST find Content-Length [10:51:37]Host: 172.17.56.67:8080 [10:51:37]Content-Length: 677 [10:51:37]Content-Type: application/json [10:51:37] [10:51:37]POST finish read [10:51:37]Found Content-Length = 677 [10:51:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216057", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [10:51:37]execute_script... [10:51: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 : (1)216057", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [10:51:37]POST & json_proto [10:51:37]process_json_proto [10:51:37]json parsed OK: [10:51:37]protocol is kg_v1.0 [10:51:37]action value=close_receipt [10:51:37]process_action close_receipt [10:51:37]cmd_close_receipt [10:51:37]MH_GetDate [10:51:37]Write to MH i2c: F0 00 00 4C 2B 66 [10:51:37]Write i2c OK [10:51:37]MH_I2C_Read... [10:51:37]Read from MH i2c: F0 [10:51:37]MH_I2C_Read... [10:51:37]Read from MH i2c: F0 09 00 [10:51:37]MH_I2C_Read... [10:51:37]Read from MH i2c: F0 09 00 4C 2B 00 C1 31 B6 65 26 5D 9E 65 02 [10:51:37]GetLastDocTimeStamp 1706437973 [10:51:37]current date 1706439105 [10:51:37]FM_GetShiftState [10:51:37]SAM_PROTO_GetShiftState [10:51:37]wFMCommunicate request_size=4 [10:51:37]MH_SAM_APDU [10:51:37]CAPDU: 80 13 01 00 [10:51:37]Write to MH i2c: E2 08 00 4D 2B 80 13 01 00 00 00 00 00 F5 [10:51:37]Write i2c OK [10:51:37]MH_I2C_Read... [10:51:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:37]Read from MH i2c: E2 [10:51:37]MH_I2C_Read... [10:51:37]Read from MH i2c: E2 0E 00 [10:51:37]MH_I2C_Read... [10:51:37]Read from MH i2c: E2 0E 00 4D 2B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 7B [10:51:37]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:51:37]wFMCommunicate OK [10:51:37]SAM_PROTO_GetShiftState done [10:51:37]FM_GetShiftState done [10:51:37]opened in 1706400199 [10:51:37]opened+sec_in_day 1706486599 [10:51:37]quantity*price = 30029 [10:51:37]sum+1 = 30030 [10:51:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 25 28.01.2024 10:51 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48960 ФПД: 238988727232165 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T105145&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48960&fm=238988727232165&tin=02508201610067®Number=0000000000092723&sum=30000 [10:51:38]StoreToDocumentArchive [10:51:38]shift 244 fd 48960 [10:51:38]save to /storage/0244/doc_00048960 [10:51:38]save last doc name /storage/0244/doc_00048960 to /storage/kkm_last_doc_name [10:51:38]save OK [10:51:38]Clear old archive folders... [10:51:38]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:51:38]tlvbuf is 01232140 [10:51:38]SAM_PROTO_ClearQueue [10:51:38]wFMCommunicate request_size=4 [10:51:38]MH_SAM_APDU [10:51:38]CAPDU: 80 09 00 00 [10:51:38]Write to MH i2c: E2 08 00 5A 2B 80 09 00 00 00 00 00 00 F7 [10:51:38]Write i2c OK [10:51:38]MH_I2C_Read... [10:51:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:51:38]Read from MH i2c: E2 [10:51:38]MH_I2C_Read... [10:51:38]Read from MH i2c: E2 03 00 [10:51:38]MH_I2C_Read... [10:51:38]Read from MH i2c: E2 03 00 5A 2B 00 90 00 F9 [10:51:38]RAPDU: 90 00 [10:51:38]wFMCommunicate OK [10:51:38]SAM_PROTO_ClearQueue done [10:51:38]KKMCreateOFDPacket [10:51:38]OFDProtocolAddRootSTLVToBuf [10:51:38]FM_MakeSignedData [10:51:38]FM_MakeSignedData [10:51:38]SAM_PROTO_SignData [10:51:38]wFMCommunicate request_size=4 [10:51:38]MH_SAM_APDU [10:51:38]CAPDU: 80 0D 01 02 [10:51:38]Write to MH i2c: E2 08 00 5B 2B 80 0D 01 02 00 00 00 00 FF [10:51:38]Write i2c OK [10:51:38]MH_I2C_Read... [10:51:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:51:38]Read from MH i2c: E2 [10:51:38]MH_I2C_Read... [10:51:38]Read from MH i2c: E2 03 00 [10:51:38]MH_I2C_Read... [10:51:38]Read from MH i2c: E2 03 00 5B 2B 00 90 00 FA [10:51:38]RAPDU: 90 00 [10:51:38]wFMCommunicate OK [10:51:38]wFMCommunicate request_size=255 [10:51:38]MH_SAM_APDU [10:51:38]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 19 00 00 00 F4 03 04 00 C1 31 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 40 BF 00 00 35 04 06 00 D9 [10:51:38]Write to MH i2c: E2 02 01 5C 2B 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 19 00 00 00 F4 03 04 00 C1 31 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 40 BF 00 00 35 04 06 00 D9 00 00 B7 [10:51:38]Write i2c OK [10:51:38]MH_I2C_Read... [10:51:39]OFD Sender: No OFD packet to send [10:51:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:39]Read from MH i2c: E2 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: E2 03 00 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: E2 03 00 5C 2B 00 90 00 FB [10:51:39]RAPDU: 90 00 [10:51:39]wFMCommunicate OK [10:51:39]wFMCommunicate request_size=10 [10:51:39]MH_SAM_APDU [10:51:39]CAPDU: 80 0D 02 02 05 5B E6 31 26 A5 [10:51:39]Write to MH i2c: E2 0D 00 5D 2B 80 0D 02 02 05 00 5B E6 31 26 A5 00 00 49 [10:51:39]Write i2c OK [10:51:39]MH_I2C_Read... [10:51:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:39]Read from MH i2c: E2 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: E2 03 00 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: E2 03 00 5D 2B 00 90 00 FC [10:51:39]RAPDU: 90 00 [10:51:39]wFMCommunicate OK [10:51:39]wFMCommunicate request_size=4 [10:51:39]MH_SAM_APDU [10:51:39]CAPDU: 80 0D 03 02 [10:51:39]Write to MH i2c: E2 08 00 5E 2B 80 0D 03 02 00 00 00 00 04 [10:51:39]Write i2c OK [10:51:39]MH_I2C_Read... [10:51:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:51:39]Read from MH i2c: E2 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: E2 0B 00 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: E2 0B 00 5E 2B 00 78 1E AA 8D 99 7B EB 8A 90 00 5B [10:51:39]RAPDU: 78 1E AA 8D 99 7B EB 8A 90 00 [10:51:39]wFMCommunicate OK [10:51:39]SAM_PROTO_SignData done [10:51:39]FM_MakeSignedData done [10:51:39]CreateOFDProtocolMessage [10:51:39]wFMCommunicate request_size=4 [10:51:39]MH_SAM_APDU [10:51:39]CAPDU: 80 11 00 00 [10:51:39]Write to MH i2c: E2 08 00 5F 2B 80 11 00 00 00 00 00 00 04 [10:51:39]Write i2c OK [10:51:39]MH_I2C_Read... [10:51:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:39]Read from MH i2c: E2 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: E2 17 00 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: E2 17 00 5F 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 51 [10:51:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:51:39]wFMCommunicate OK [10:51:39]CreateOFDProtocolMessage done [10:51:39]OFDSenderStorePacket 48960 [10:51:39]StoreOFDPacket docnum=48960 [10:51:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 D6 2A 07 01 3D BC 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 19 00 00 00 F4 03 04 00 C1 31 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 40 BF 00 00 35 04 06 00 D9 5B E6 31 26 A5 78 1E AA 8D 99 7B EB 8A [10:51:39]CheckFolder [10:51:39]dirname=/storage/ofd_packets [10:51:39]CheckFolder done [10:51:39]ProducePacketName [10:51:39]name=ofd_packets/00048960 [10:51:39]NVStorageSaveData ofd_packets/00048960 [10:51:39]File name is /storage/ofd_packets/00048960 [10:51:39]Write 301 bytes [10:51:39]NVStorageSaveData done [10:51:39]OFDSenderStorePacket done [10:51:39]KKMCreateOFDPacket done [10:51:39]NVStorageSaveData kkm_last_timestamp [10:51:39]File name is /storage/kkm_last_timestamp [10:51:39]Write 4 bytes [10:51:39]NVStorageSaveData done [10:51:39]ExternCall_PrintAddStr [10:51:39]wPrintStart [10:51:39]Write to MH i2c: 01 00 00 60 2B 8B [10:51:39]Write i2c OK [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: 01 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: 01 07 00 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: 01 07 00 60 2B 00 00 00 00 00 FF 0F A0 [10:51:39]RasterBufferAndPrint [10:51:39]line Счет N : (1)216057 [10:51:39]line ИÐÐ: 02508201610067 [10:51:39]line Контрольно-КаÑÑовый Чек [10:51:39]line ПРОДÐЖР[10:51:39]line ТРК (МРК, ГÐК) : 12 [10:51:39]line Товар: 2710124130 [10:51:39]line Ðи-92-К-5 [10:51:39]line 4.980 * 60.30 [10:51:39]line = 300.29 [10:51:39]line ÐДС 12% ÐСП 1% [10:51:39]line > о реализуемом товаре [10:51:39]line ОКРУГЛЕÐИЕ: -0.29 [10:51:39]line ИТОГО: 300.00 [10:51:39]line ВнеÑено: 300.00 [10:51:39]line СДÐЧÐ: 0.00 [10:51:39]line ÐСП 1% : 2.66 [10:51:39]line ÐДС 12% : 31.89 [10:51:39]line Ðаличными: 300.00 [10:51:39]line Безнал.: 0.00 [10:51:39]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [10:51:39]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [10:51:39]line СÐО: Общий режим [10:51:39]line Чек 25 28.01.2024 10:51 [10:51:39]line Смена: 244 ФФД: 1.0 [10:51:39]line ЗÐМ: 0300000040 [10:51:39]line РÐМ: 0000000000092723 [10:51:39]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:51:39]line ФМ: 0000000000875060 [10:51:39]line ФД: 48960 [10:51:39]line ФПД: 238988727232165 [10:51:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T105145&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48960&fm=238988727232165&tin=02508201610067®Number=0000000000092723&sum=30000 [10:51:39]OFD Sender: Processing packet 48960 [packets to send 12, broken 11] [10:51:39]ProducePacketName [10:51:39]name=ofd_packets/00048960 [10:51:39]OFD Sender: To server: ‡•öpG, [10:51:39]CommunicateWithHost lk.salyk.kg:30040 [10:51:39]ConnectInit lk.salyk.kg [10:51:39]written 0, free lines is 4095 [10:51:39]Connected sock=10 [10:51: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 30 36 30 0F 01 00 00 D6 2A 07 01 3D BC 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 19 00 00 00 F4 03 04 00 C1 31 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 40 BF 00 00 35 04 06 00 D9 5B E6 31 26 A5 78 1E AA 8D 99 7B EB 8A [10:51:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 63 2B 47 00 FC C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 40 BF 00 00 F4 03 04 00 BD DD B5 65 B6 04 01 00 00 72 4D 5F 6E 74 34 91 39 [10:51:39]CommunicateWithHost err = 0 [10:51:39]CheckOFDResponse [10:51:39]1017 (14) - 77093643461234 [10:51:39]1041 (16) - 0000000000875060 [10:51:39]1040 (4) - 48960 [10:51:39]1012 (4) - 28.01.2024 04:53 [10:51:39]1206 (1) - 0 [10:51:39]OFD Sender: Remove packet 48960 [10:51:39]ProducePacketName [10:51:39]name=ofd_packets/00048960 [10:51:39]NVStorageDeleteData [10:51:39]Write to MH i2c: 01 00 00 8B 2B B6 [10:51:39]Write i2c OK [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: 01 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: 01 07 00 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: 01 07 00 8B 2B 00 00 00 00 00 F1 0C BA [10:51:39]RasterBufferAndPrint [10:51:39]line [10:51:39]line [10:51:39]line [10:51:39]line [10:51:39]line [10:51:39]written 0, free lines is 3320 [10:51:39]MH_Cut [10:51:39]Write to MH i2c: D1 01 00 92 2B 01 8F [10:51:39]Write i2c OK [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: D1 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: D1 01 00 [10:51:39]MH_I2C_Read... [10:51:39]Read from MH i2c: D1 01 00 92 2B 00 8E [10:51:39]Write to MH i2c: 01 00 00 93 2B BE [10:51:39]Write i2c OK [10:51:39]MH_I2C_Read... [10:51:40]OFD Sender: No OFD packet to send [10:51:40]*** Cut start [10:51:40]*** Partial cut [10:51:40]*** CUTSNS_PIN = 1 [10:51:40]*** CUTSNS_PIN = 0 [10:51:40]*** Brake cut motor [10:51:41]Read from MH i2c: 01 [10:51:41]MH_I2C_Read... [10:51:41]*** Stop cut motor [10:51:41]*** Cut end [10:51:41]Read from MH i2c: 01 07 00 [10:51:41]MH_I2C_Read... [10:51:41]Read from MH i2c: 01 07 00 93 2B 00 00 00 00 00 FF 0F D3 [10:51:41]process_action close_receipt done [10:51:41]requested_data is exist [10:51:41]produce_requested_data [10:51:41]requested_item fm.sn is exist - process it [10:51:41]wFMCommunicate request_size=4 [10:51:41]MH_SAM_APDU [10:51:41]CAPDU: 80 11 00 00 [10:51:41]Write to MH i2c: E2 08 00 94 2B 80 11 00 00 00 00 00 00 39 [10:51:41]Write i2c OK [10:51:41]MH_I2C_Read... [10:51:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:41]Read from MH i2c: E2 [10:51:41]MH_I2C_Read... [10:51:41]Read from MH i2c: E2 17 00 [10:51:41]MH_I2C_Read... [10:51:41]Read from MH i2c: E2 17 00 94 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 86 [10:51:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:51:41]wFMCommunicate OK [10:51:41]requested_item fd.num is exist - process it [10:51:41]SAM_PROTO_GetFieldsCounters [10:51:41]wFMCommunicate request_size=4 [10:51:41]MH_SAM_APDU [10:51:41]CAPDU: 80 13 00 00 [10:51:41]Write to MH i2c: E2 08 00 95 2B 80 13 00 00 00 00 00 00 3C [10:51:41]Write i2c OK [10:51:41]MH_I2C_Read... [10:51:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:51:41]Read from MH i2c: E2 [10:51:41]MH_I2C_Read... [10:51:41]Read from MH i2c: E2 62 00 [10:51:41]MH_I2C_Read... [10:51:41]Read from MH i2c: E2 62 00 95 2B 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 40 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 93 [10:51: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 40 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:51:41]wFMCommunicate OK [10:51:41]SAM_PROTO_GetFieldsCounters done [10:51:41]requested_item shift.num is exist - process it [10:51:41]requested_item shift.opened is exist - process it [10:51:41]req_shift_opened [10:51:41]FM_GetShiftState [10:51:41]SAM_PROTO_GetShiftState [10:51:41]wFMCommunicate request_size=4 [10:51:41]MH_SAM_APDU [10:51:41]CAPDU: 80 13 01 00 [10:51:41]Write to MH i2c: E2 08 00 96 2B 80 13 01 00 00 00 00 00 3E [10:51:41]Write i2c OK [10:51:41]MH_I2C_Read... [10:51:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:41]Read from MH i2c: E2 [10:51:41]MH_I2C_Read... [10:51:41]Read from MH i2c: E2 0E 00 [10:51:41]MH_I2C_Read... [10:51:41]Read from MH i2c: E2 0E 00 96 2B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C4 [10:51:41]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:51:41]wFMCommunicate OK [10:51:41]SAM_PROTO_GetShiftState done [10:51:41]FM_GetShiftState done [10:51:41]req_shift_opened done [10:51:41]requested_item shift.open_date is exist - process it [10:51:41]req_shift_open_date [10:51:41]req_shift_open_date done [10:51:41]produce_requested_data done [10:51:41]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48960,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [10:51:41]process_action_free close_receipt [10:51:41]json_value_free [10:51:41]json_value_free done [10:51:41]process_json_proto returns [10:51:41]Send response to host [10:51:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48960,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [10:51:41]free response buf [10:51:41]execute_script done [10:51:41]execute_script returns [10:51:41]free content buf [10:51:41]Sock 7.Close socket [10:51:41]Sock 7.Thread stoped [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:55]OFD Sender: No OFD packet to send [10:52:00]OFD Sender: No OFD packet to send [10:52:05]OFD Sender: No OFD packet to send [10:52:10]OFD Sender: No OFD packet to send [10:52:15]OFD Sender: No OFD packet to send [10:52:20]OFD Sender: No OFD packet to send [10:52:25]OFD Sender: No OFD packet to send [10:52:30]OFD Sender: No OFD packet to send [10:52:35]OFD Sender: No OFD packet to send [10:52:40]OFD Sender: No OFD packet to send [10:52:45]OFD Sender: No OFD packet to send [10:52:50]OFD Sender: No OFD packet to send [10:52:55]OFD Sender: No OFD packet to send [10:53:00]OFD Sender: No OFD packet to send [10:53:05]OFD Sender: No OFD packet to send [10:53:10]OFD Sender: No OFD packet to send [10:53:15]OFD Sender: No OFD packet to send [10:53:20]OFD Sender: No OFD packet to send [10:53:25]OFD Sender: No OFD packet to send [10:53:30]OFD Sender: No OFD packet to send [10:53:35]OFD Sender: No OFD packet to send [10:53:40]OFD Sender: No OFD packet to send [10:53:45]OFD Sender: No OFD packet to send [10:53:50]OFD Sender: No OFD packet to send [10:53:55]OFD Sender: No OFD packet to send [10:54:00]OFD Sender: No OFD packet to send [10:54:05]OFD Sender: No OFD packet to send [10:54:10]OFD Sender: No OFD packet to send [10:54:15]OFD Sender: No OFD packet to send [10:54:20]OFD Sender: No OFD packet to send [10:54:25]OFD Sender: No OFD packet to send [10:54:30]OFD Sender: No OFD packet to send [10:54:35]OFD Sender: No OFD packet to send [10:54:40]OFD Sender: No OFD packet to send [10:54:45]OFD Sender: No OFD packet to send [10:54:50]OFD Sender: No OFD packet to send [10:54:55]OFD Sender: No OFD packet to send [10:55:00]OFD Sender: No OFD packet to send [10:55:05]OFD Sender: No OFD packet to send [10:55:10]OFD Sender: No OFD packet to send [10:55:15]OFD Sender: No OFD packet to send [10:55:20]OFD Sender: No OFD packet to send [10:55:25]OFD Sender: No OFD packet to send [10:55:30]OFD Sender: No OFD packet to send [10:55:35]OFD Sender: No OFD packet to send [10:55:40]OFD Sender: No OFD packet to send [10:55:45]OFD Sender: No OFD packet to send [10:55:50]OFD Sender: No OFD packet to send [10:55:55]OFD Sender: No OFD packet to send [10:56:00]OFD Sender: No OFD packet to send [10:56:05]OFD Sender: No OFD packet to send [10:56:10]OFD Sender: No OFD packet to send [10:56:15]OFD Sender: No OFD packet to send [10:56:20]OFD Sender: No OFD packet to send [10:56:25]OFD Sender: No OFD packet to send [10:56:30]OFD Sender: No OFD packet to send [10:56:35]OFD Sender: No OFD packet to send [10:56:40]OFD Sender: No OFD packet to send [10:56:45]OFD Sender: No OFD packet to send [10:56:50]OFD Sender: No OFD packet to send [10:56:55]OFD Sender: No OFD packet to send [10:57:00]OFD Sender: No OFD packet to send [10:57:05]OFD Sender: No OFD packet to send [10:57:10]OFD Sender: No OFD packet to send [10:57:15]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:21]accept exits with 9 [10:58:21]New connection [10:58:21]New thread 3066670436 created [10:58:21]Thread 3066813796 joined [10:58:21]Waiting for new connection... [10:58:21] Sock 9.Parse request [10:58:21]Sock 9.Check first char [10:58:21]Sock 9.First char is OK [10:58:21]request: POST /json_proto HTTP/1.0 [10:58:21]Method: POST [10:58:21]URL: /json_proto [10:58:21]Method is POST - this is cgi request [10:58:21]url: /json_proto [10:58:21]query_string will be loaded in cgi processing [10:58:21]execute_cgi json_proto POST (null) [10:58:21]execute_cgi path=json_proto method=POST [10:58:21]POST find Content-Length [10:58:21]Host: 172.17.56.67:8080 [10:58:21]Content-Length: 677 [10:58:21]Content-Type: application/json [10:58:21] [10:58:21]POST finish read [10:58:21]Found Content-Length = 677 [10:58:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216058", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [10:58:21]execute_script... [10:58:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216058", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [10:58:21]POST & json_proto [10:58:21]process_json_proto [10:58:21]json parsed OK: [10:58:21]protocol is kg_v1.0 [10:58:21]action value=close_receipt [10:58:21]process_action close_receipt [10:58:21]cmd_close_receipt [10:58:21]MH_GetDate [10:58:21]Write to MH i2c: F0 00 00 97 2B B1 [10:58:21]Write i2c OK [10:58:21]MH_I2C_Read... [10:58:21]Read from MH i2c: F0 [10:58:21]MH_I2C_Read... [10:58:21]Read from MH i2c: F0 09 00 [10:58:21]MH_I2C_Read... [10:58:21]Read from MH i2c: F0 09 00 97 2B 00 55 33 B6 65 26 5D 9E 65 E3 [10:58:21]GetLastDocTimeStamp 1706439105 [10:58:21]current date 1706439509 [10:58:21]FM_GetShiftState [10:58:21]SAM_PROTO_GetShiftState [10:58:21]wFMCommunicate request_size=4 [10:58:21]MH_SAM_APDU [10:58:21]CAPDU: 80 13 01 00 [10:58:21]Write to MH i2c: E2 08 00 98 2B 80 13 01 00 00 00 00 00 40 [10:58:21]Write i2c OK [10:58:21]MH_I2C_Read... [10:58:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:58:21]Read from MH i2c: E2 [10:58:21]MH_I2C_Read... [10:58:21]Read from MH i2c: E2 0E 00 [10:58:21]MH_I2C_Read... [10:58:21]Read from MH i2c: E2 0E 00 98 2B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C6 [10:58:21]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:58:21]wFMCommunicate OK [10:58:21]SAM_PROTO_GetShiftState done [10:58:21]FM_GetShiftState done [10:58:21]opened in 1706400199 [10:58:21]opened+sec_in_day 1706486599 [10:58:21]quantity*price = 50049 [10:58:21]sum+1 = 50050 [10:58:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 26 28.01.2024 10:58 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48961 ФПД: 280232934047605 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T105829&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48961&fm=280232934047605&tin=02508201610067®Number=0000000000092723&sum=50000 [10:58:22]StoreToDocumentArchive [10:58:22]shift 244 fd 48961 [10:58:22]save to /storage/0244/doc_00048961 [10:58:22]save last doc name /storage/0244/doc_00048961 to /storage/kkm_last_doc_name [10:58:22]save OK [10:58:22]Clear old archive folders... [10:58:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:58:22]tlvbuf is 01384880 [10:58:22]SAM_PROTO_ClearQueue [10:58:22]wFMCommunicate request_size=4 [10:58:22]MH_SAM_APDU [10:58:22]CAPDU: 80 09 00 00 [10:58:22]Write to MH i2c: E2 08 00 A5 2B 80 09 00 00 00 00 00 00 42 [10:58:22]Write i2c OK [10:58:22]MH_I2C_Read... [10:58:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:58:22]Read from MH i2c: E2 [10:58:22]MH_I2C_Read... [10:58:22]Read from MH i2c: E2 03 00 [10:58:22]MH_I2C_Read... [10:58:22]Read from MH i2c: E2 03 00 A5 2B 00 90 00 44 [10:58:22]RAPDU: 90 00 [10:58:22]wFMCommunicate OK [10:58:22]SAM_PROTO_ClearQueue done [10:58:22]KKMCreateOFDPacket [10:58:22]OFDProtocolAddRootSTLVToBuf [10:58:22]FM_MakeSignedData [10:58:22]FM_MakeSignedData [10:58:22]SAM_PROTO_SignData [10:58:22]wFMCommunicate request_size=4 [10:58:22]MH_SAM_APDU [10:58:22]CAPDU: 80 0D 01 02 [10:58:22]Write to MH i2c: E2 08 00 A6 2B 80 0D 01 02 00 00 00 00 4A [10:58:22]Write i2c OK [10:58:22]MH_I2C_Read... [10:58:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:58:22]Read from MH i2c: E2 [10:58:22]MH_I2C_Read... [10:58:22]Read from MH i2c: E2 03 00 [10:58:22]MH_I2C_Read... [10:58:22]Read from MH i2c: E2 03 00 A6 2B 00 90 00 45 [10:58:22]RAPDU: 90 00 [10:58:22]wFMCommunicate OK [10:58:22]wFMCommunicate request_size=255 [10:58:22]MH_SAM_APDU [10:58:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1A 00 00 00 F4 03 04 00 55 33 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 41 BF 00 00 35 04 06 00 FE [10:58:22]Write to MH i2c: E2 02 01 A7 2B 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1A 00 00 00 F4 03 04 00 55 33 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 41 BF 00 00 35 04 06 00 FE 00 00 29 [10:58:22]Write i2c OK [10:58:22]MH_I2C_Read... [10:58:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:58:23]Read from MH i2c: E2 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: E2 03 00 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: E2 03 00 A7 2B 00 90 00 46 [10:58:23]RAPDU: 90 00 [10:58:23]wFMCommunicate OK [10:58:23]wFMCommunicate request_size=10 [10:58:23]MH_SAM_APDU [10:58:23]CAPDU: 80 0D 02 02 05 DE D0 7C FF 75 [10:58:23]Write to MH i2c: E2 0D 00 A8 2B 80 0D 02 02 05 00 DE D0 7C FF 75 00 00 F5 [10:58:23]Write i2c OK [10:58:23]MH_I2C_Read... [10:58:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:58:23]Read from MH i2c: E2 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: E2 03 00 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: E2 03 00 A8 2B 00 90 00 47 [10:58:23]RAPDU: 90 00 [10:58:23]wFMCommunicate OK [10:58:23]wFMCommunicate request_size=4 [10:58:23]MH_SAM_APDU [10:58:23]CAPDU: 80 0D 03 02 [10:58:23]Write to MH i2c: E2 08 00 A9 2B 80 0D 03 02 00 00 00 00 4F [10:58:23]Write i2c OK [10:58:23]MH_I2C_Read... [10:58:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:58:23]Read from MH i2c: E2 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: E2 0B 00 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: E2 0B 00 A9 2B 00 56 78 A7 8F C7 69 35 D3 90 00 8C [10:58:23]RAPDU: 56 78 A7 8F C7 69 35 D3 90 00 [10:58:23]wFMCommunicate OK [10:58:23]SAM_PROTO_SignData done [10:58:23]FM_MakeSignedData done [10:58:23]CreateOFDProtocolMessage [10:58:23]wFMCommunicate request_size=4 [10:58:23]MH_SAM_APDU [10:58:23]CAPDU: 80 11 00 00 [10:58:23]Write to MH i2c: E2 08 00 AA 2B 80 11 00 00 00 00 00 00 4F [10:58:23]Write i2c OK [10:58:23]MH_I2C_Read... [10:58:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:58:23]Read from MH i2c: E2 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: E2 17 00 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: E2 17 00 AA 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 9C [10:58:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:58:23]wFMCommunicate OK [10:58:23]CreateOFDProtocolMessage done [10:58:23]OFDSenderStorePacket 48961 [10:58:23]StoreOFDPacket docnum=48961 [10:58:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 69 63 07 01 64 95 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1A 00 00 00 F4 03 04 00 55 33 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 41 BF 00 00 35 04 06 00 FE DE D0 7C FF 75 56 78 A7 8F C7 69 35 D3 [10:58:23]CheckFolder [10:58:23]dirname=/storage/ofd_packets [10:58:23]CheckFolder done [10:58:23]ProducePacketName [10:58:23]name=ofd_packets/00048961 [10:58:23]NVStorageSaveData ofd_packets/00048961 [10:58:23]File name is /storage/ofd_packets/00048961 [10:58:23]Write 301 bytes [10:58:23]NVStorageSaveData done [10:58:23]OFDSenderStorePacket done [10:58:23]KKMCreateOFDPacket done [10:58:23]NVStorageSaveData kkm_last_timestamp [10:58:23]File name is /storage/kkm_last_timestamp [10:58:23]Write 4 bytes [10:58:23]NVStorageSaveData done [10:58:23]ExternCall_PrintAddStr [10:58:23]wPrintStart [10:58:23]Write to MH i2c: 01 00 00 AB 2B D6 [10:58:23]Write i2c OK [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: 01 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: 01 07 00 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: 01 07 00 AB 2B 00 00 00 00 00 FF 0F EB [10:58:23]RasterBufferAndPrint [10:58:23]line Счет N : (1)216058 [10:58:23]line ИÐÐ: 02508201610067 [10:58:23]line Контрольно-КаÑÑовый Чек [10:58:23]line ПРОДÐЖР[10:58:23]line ТРК (МРК, ГÐК) : 12 [10:58:23]line Товар: 2710124130 [10:58:23]line Ðи-92-К-5 [10:58:23]line 8.300 * 60.30 [10:58:23]line = 500.49 [10:58:23]line ÐДС 12% ÐСП 1% [10:58:23]line > о реализуемом товаре [10:58:23]line ОКРУГЛЕÐИЕ: -0.49 [10:58:23]line ИТОГО: 500.00 [10:58:23]line ВнеÑено: 500.00 [10:58:23]line СДÐЧÐ: 0.00 [10:58:23]line ÐСП 1% : 4.43 [10:58:23]line ÐДС 12% : 53.15 [10:58:23]line Ðаличными: 500.00 [10:58:23]line Безнал.: 0.00 [10:58:23]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [10:58:23]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [10:58:23]line СÐО: Общий режим [10:58:23]line Чек 26 28.01.2024 10:58 [10:58:23]line Смена: 244 ФФД: 1.0 [10:58:23]line ЗÐМ: 0300000040 [10:58:23]line РÐМ: 0000000000092723 [10:58:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:58:23]line ФМ: 0000000000875060 [10:58:23]line ФД: 48961 [10:58:23]line ФПД: 280232934047605 [10:58:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T105829&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48961&fm=280232934047605&tin=02508201610067®Number=0000000000092723&sum=50000 [10:58:23]OFD Sender: Processing packet 48961 [packets to send 12, broken 11] [10:58:23]ProducePacketName [10:58:23]name=ofd_packets/00048961 [10:58:23]OFD Sender: To server: ‡•öpG, [10:58:23]CommunicateWithHost lk.salyk.kg:30040 [10:58:23]ConnectInit lk.salyk.kg [10:58:23]written 0, free lines is 4095 [10:58:23]Connected sock=10 [10:58: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 30 36 30 0F 01 00 00 69 63 07 01 64 95 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1A 00 00 00 F4 03 04 00 55 33 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 41 BF 00 00 35 04 06 00 FE DE D0 7C FF 75 56 78 A7 8F C7 69 35 D3 [10:58:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 75 EA 47 00 C5 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 30 36 30 10 04 04 00 41 BF 00 00 F4 03 04 00 51 DF B5 65 B6 04 01 00 00 15 54 13 C1 E2 C1 71 8F [10:58:23]CommunicateWithHost err = 0 [10:58:23]CheckOFDResponse [10:58:23]1017 (14) - 77093643461234 [10:58:23]1041 (16) - 0000000000875060 [10:58:23]1040 (4) - 48961 [10:58:23]1012 (4) - 28.01.2024 05:00 [10:58:23]1206 (1) - 0 [10:58:23]OFD Sender: Remove packet 48961 [10:58:23]ProducePacketName [10:58:23]name=ofd_packets/00048961 [10:58:23]NVStorageDeleteData [10:58:23]Write to MH i2c: 01 00 00 D6 2B 01 [10:58:23]Write i2c OK [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: 01 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: 01 07 00 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: 01 07 00 D6 2B 00 00 00 00 00 EC 0C 00 [10:58:23]RasterBufferAndPrint [10:58:23]line [10:58:23]line [10:58:23]line [10:58:23]line [10:58:23]line [10:58:23]written 0, free lines is 3315 [10:58:23]MH_Cut [10:58:23]Write to MH i2c: D1 01 00 DD 2B 01 DA [10:58:23]Write i2c OK [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: D1 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: D1 01 00 [10:58:23]MH_I2C_Read... [10:58:23]Read from MH i2c: D1 01 00 DD 2B 00 D9 [10:58:23]Write to MH i2c: 01 00 00 DE 2B 09 [10:58:23]Write i2c OK [10:58:23]MH_I2C_Read... [10:58:24]OFD Sender: No OFD packet to send [10:58:24]*** Cut start [10:58:24]*** Partial cut [10:58:24]*** CUTSNS_PIN = 1 [10:58:24]*** CUTSNS_PIN = 0 [10:58:24]*** Brake cut motor [10:58:25]Read from MH i2c: 01 [10:58:25]MH_I2C_Read... [10:58:25]*** Stop cut motor [10:58:25]*** Cut end [10:58:25]Read from MH i2c: 01 07 00 [10:58:25]MH_I2C_Read... [10:58:25]Read from MH i2c: 01 07 00 DE 2B 00 00 00 00 00 FF 0F 1E [10:58:25]process_action close_receipt done [10:58:25]requested_data is exist [10:58:25]produce_requested_data [10:58:25]requested_item fm.sn is exist - process it [10:58:25]wFMCommunicate request_size=4 [10:58:25]MH_SAM_APDU [10:58:25]CAPDU: 80 11 00 00 [10:58:25]Write to MH i2c: E2 08 00 DF 2B 80 11 00 00 00 00 00 00 84 [10:58:25]Write i2c OK [10:58:25]MH_I2C_Read... [10:58:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:58:25]Read from MH i2c: E2 [10:58:25]MH_I2C_Read... [10:58:25]Read from MH i2c: E2 17 00 [10:58:25]MH_I2C_Read... [10:58:25]Read from MH i2c: E2 17 00 DF 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D1 [10:58:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [10:58:25]wFMCommunicate OK [10:58:25]requested_item fd.num is exist - process it [10:58:25]SAM_PROTO_GetFieldsCounters [10:58:25]wFMCommunicate request_size=4 [10:58:25]MH_SAM_APDU [10:58:25]CAPDU: 80 13 00 00 [10:58:25]Write to MH i2c: E2 08 00 E0 2B 80 13 00 00 00 00 00 00 87 [10:58:25]Write i2c OK [10:58:25]MH_I2C_Read... [10:58:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:58:25]Read from MH i2c: E2 [10:58:25]MH_I2C_Read... [10:58:25]Read from MH i2c: E2 62 00 [10:58:25]MH_I2C_Read... [10:58:25]Read from MH i2c: E2 62 00 E0 2B 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 41 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [10:58: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 41 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:58:25]wFMCommunicate OK [10:58:25]SAM_PROTO_GetFieldsCounters done [10:58:25]requested_item shift.num is exist - process it [10:58:25]requested_item shift.opened is exist - process it [10:58:25]req_shift_opened [10:58:25]FM_GetShiftState [10:58:25]SAM_PROTO_GetShiftState [10:58:25]wFMCommunicate request_size=4 [10:58:25]MH_SAM_APDU [10:58:25]CAPDU: 80 13 01 00 [10:58:25]Write to MH i2c: E2 08 00 E1 2B 80 13 01 00 00 00 00 00 89 [10:58:25]Write i2c OK [10:58:25]MH_I2C_Read... [10:58:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:58:25]Read from MH i2c: E2 [10:58:25]MH_I2C_Read... [10:58:25]Read from MH i2c: E2 0E 00 [10:58:25]MH_I2C_Read... [10:58:25]Read from MH i2c: E2 0E 00 E1 2B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 0F [10:58:25]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [10:58:25]wFMCommunicate OK [10:58:25]SAM_PROTO_GetShiftState done [10:58:25]FM_GetShiftState done [10:58:25]req_shift_opened done [10:58:25]requested_item shift.open_date is exist - process it [10:58:25]req_shift_open_date [10:58:25]req_shift_open_date done [10:58:25]produce_requested_data done [10:58:25]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48961,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [10:58:25]process_action_free close_receipt [10:58:25]json_value_free [10:58:25]json_value_free done [10:58:25]process_json_proto returns [10:58:25]Send response to host [10:58:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48961,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [10:58:25]free response buf [10:58:25]execute_script done [10:58:25]execute_script returns [10:58:25]free content buf [10:58:25]Sock 9.Close socket [10:58:25]Sock 9.Thread stoped [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:15]accept exits with 7 [11:00:15]New connection [11:00:15]New thread 3066813796 created [11:00:15]Thread 3066670436 joined [11:00:15]Waiting for new connection... [11:00:15] Sock 7.Parse request [11:00:15]Sock 7.Check first char [11:00:15]Sock 7.First char is OK [11:00:15]request: POST /json_proto HTTP/1.0 [11:00:15]Method: POST [11:00:15]URL: /json_proto [11:00:15]Method is POST - this is cgi request [11:00:15]url: /json_proto [11:00:15]query_string will be loaded in cgi processing [11:00:15]execute_cgi json_proto POST (null) [11:00:15]execute_cgi path=json_proto method=POST [11:00:15]POST find Content-Length [11:00:15]Host: 172.17.56.67:8080 [11:00:15]Content-Length: 677 [11:00:15]Content-Type: application/json [11:00:15] [11:00:15]POST finish read [11:00:15]Found Content-Length = 677 [11:00:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216059", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [11:00:15]execute_script... [11:00:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216059", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [11:00:15]POST & json_proto [11:00:15]process_json_proto [11:00:15]json parsed OK: [11:00:15]protocol is kg_v1.0 [11:00:15]action value=close_receipt [11:00:15]process_action close_receipt [11:00:15]cmd_close_receipt [11:00:15]MH_GetDate [11:00:15]Write to MH i2c: F0 00 00 E2 2B FC [11:00:15]Write i2c OK [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: F0 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: F0 09 00 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: F0 09 00 E2 2B 00 C7 33 B6 65 26 5D 9E 65 A0 [11:00:15]GetLastDocTimeStamp 1706439509 [11:00:15]current date 1706439623 [11:00:15]FM_GetShiftState [11:00:15]SAM_PROTO_GetShiftState [11:00:15]wFMCommunicate request_size=4 [11:00:15]MH_SAM_APDU [11:00:15]CAPDU: 80 13 01 00 [11:00:15]Write to MH i2c: E2 08 00 E3 2B 80 13 01 00 00 00 00 00 8B [11:00:15]Write i2c OK [11:00:15]MH_I2C_Read... [11:00:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:00:15]Read from MH i2c: E2 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 0E 00 [11:00:15]MH_I2C_Read... [11:00:15]Read from MH i2c: E2 0E 00 E3 2B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 11 [11:00:15]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:00:15]wFMCommunicate OK [11:00:15]SAM_PROTO_GetShiftState done [11:00:15]FM_GetShiftState done [11:00:15]opened in 1706400199 [11:00:15]opened+sec_in_day 1706486599 [11:00:15]quantity*price = 50049 [11:00:15]sum+1 = 50050 [11:00:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 27 28.01.2024 11:00 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48962 ФПД: 236001450728215 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T110023&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48962&fm=236001450728215&tin=02508201610067®Number=0000000000092723&sum=50000 [11:00:16]StoreToDocumentArchive [11:00:16]shift 244 fd 48962 [11:00:16]save to /storage/0244/doc_00048962 [11:00:16]save last doc name /storage/0244/doc_00048962 to /storage/kkm_last_doc_name [11:00:16]save OK [11:00:16]Clear old archive folders... [11:00:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:00:16]tlvbuf is 011EA3B0 [11:00:16]SAM_PROTO_ClearQueue [11:00:16]wFMCommunicate request_size=4 [11:00:16]MH_SAM_APDU [11:00:16]CAPDU: 80 09 00 00 [11:00:16]Write to MH i2c: E2 08 00 F0 2B 80 09 00 00 00 00 00 00 8D [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:00:16]Read from MH i2c: E2 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 03 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 03 00 F0 2B 00 90 00 8F [11:00:16]RAPDU: 90 00 [11:00:16]wFMCommunicate OK [11:00:16]SAM_PROTO_ClearQueue done [11:00:16]KKMCreateOFDPacket [11:00:16]OFDProtocolAddRootSTLVToBuf [11:00:16]FM_MakeSignedData [11:00:16]FM_MakeSignedData [11:00:16]SAM_PROTO_SignData [11:00:16]wFMCommunicate request_size=4 [11:00:16]MH_SAM_APDU [11:00:16]CAPDU: 80 0D 01 02 [11:00:16]Write to MH i2c: E2 08 00 F1 2B 80 0D 01 02 00 00 00 00 95 [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:00:16]Read from MH i2c: E2 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 03 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 03 00 F1 2B 00 90 00 90 [11:00:16]RAPDU: 90 00 [11:00:16]wFMCommunicate OK [11:00:16]wFMCommunicate request_size=255 [11:00:16]MH_SAM_APDU [11:00:16]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1B 00 00 00 F4 03 04 00 C7 33 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 42 BF 00 00 35 04 06 00 D6 [11:00:16]Write to MH i2c: E2 02 01 F2 2B 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1B 00 00 00 F4 03 04 00 C7 33 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 42 BF 00 00 35 04 06 00 D6 00 00 C0 [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:00:16]Read from MH i2c: E2 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 03 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 03 00 F2 2B 00 90 00 91 [11:00:16]RAPDU: 90 00 [11:00:16]wFMCommunicate OK [11:00:16]wFMCommunicate request_size=10 [11:00:16]MH_SAM_APDU [11:00:16]CAPDU: 80 0D 02 02 05 A4 5E A3 1B 17 [11:00:16]Write to MH i2c: E2 0D 00 F3 2B 80 0D 02 02 05 00 A4 5E A3 1B 17 00 00 79 [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:00:16]Read from MH i2c: E2 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 03 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 03 00 F3 2B 00 90 00 92 [11:00:16]RAPDU: 90 00 [11:00:16]wFMCommunicate OK [11:00:16]wFMCommunicate request_size=4 [11:00:16]MH_SAM_APDU [11:00:16]CAPDU: 80 0D 03 02 [11:00:16]Write to MH i2c: E2 08 00 F4 2B 80 0D 03 02 00 00 00 00 9A [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:00:16]Read from MH i2c: E2 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 0B 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 0B 00 F4 2B 00 34 06 0E EF 4F 80 A4 1D 90 00 62 [11:00:16]RAPDU: 34 06 0E EF 4F 80 A4 1D 90 00 [11:00:16]wFMCommunicate OK [11:00:16]SAM_PROTO_SignData done [11:00:16]FM_MakeSignedData done [11:00:16]CreateOFDProtocolMessage [11:00:16]wFMCommunicate request_size=4 [11:00:16]MH_SAM_APDU [11:00:16]CAPDU: 80 11 00 00 [11:00:16]Write to MH i2c: E2 08 00 F5 2B 80 11 00 00 00 00 00 00 9A [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:00:16]Read from MH i2c: E2 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 17 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: E2 17 00 F5 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 E7 [11:00:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:00:16]wFMCommunicate OK [11:00:16]CreateOFDProtocolMessage done [11:00:16]OFDSenderStorePacket 48962 [11:00:16]StoreOFDPacket docnum=48962 [11:00:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 05 05 07 01 47 C9 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1B 00 00 00 F4 03 04 00 C7 33 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 42 BF 00 00 35 04 06 00 D6 A4 5E A3 1B 17 34 06 0E EF 4F 80 A4 1D [11:00:16]CheckFolder [11:00:16]dirname=/storage/ofd_packets [11:00:16]CheckFolder done [11:00:16]ProducePacketName [11:00:16]name=ofd_packets/00048962 [11:00:16]NVStorageSaveData ofd_packets/00048962 [11:00:16]File name is /storage/ofd_packets/00048962 [11:00:16]Write 301 bytes [11:00:16]NVStorageSaveData done [11:00:16]OFDSenderStorePacket done [11:00:16]KKMCreateOFDPacket done [11:00:16]NVStorageSaveData kkm_last_timestamp [11:00:16]File name is /storage/kkm_last_timestamp [11:00:16]Write 4 bytes [11:00:16]NVStorageSaveData done [11:00:16]ExternCall_PrintAddStr [11:00:16]wPrintStart [11:00:16]Write to MH i2c: 01 00 00 F6 2B 21 [11:00:16]Write i2c OK [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: 01 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: 01 07 00 [11:00:16]MH_I2C_Read... [11:00:16]Read from MH i2c: 01 07 00 F6 2B 00 00 00 00 00 FF 0F 36 [11:00:16]RasterBufferAndPrint [11:00:16]line Счет N : (1)216059 [11:00:16]line ИÐÐ: 02508201610067 [11:00:16]line Контрольно-КаÑÑовый Чек [11:00:16]line ПРОДÐЖР[11:00:16]line ТРК (МРК, ГÐК) : 12 [11:00:16]line Товар: 2710124130 [11:00:16]line Ðи-92-К-5 [11:00:16]line 8.300 * 60.30 [11:00:16]line = 500.49 [11:00:16]line ÐДС 12% ÐСП 1% [11:00:16]line > о реализуемом товаре [11:00:16]line ОКРУГЛЕÐИЕ: -0.49 [11:00:16]line ИТОГО: 500.00 [11:00:16]line ВнеÑено: 500.00 [11:00:16]line СДÐЧÐ: 0.00 [11:00:16]line ÐСП 1% : 4.43 [11:00:16]line ÐДС 12% : 53.15 [11:00:16]line Ðаличными: 500.00 [11:00:16]line Безнал.: 0.00 [11:00:16]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:00:16]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:00:16]line СÐО: Общий режим [11:00:16]line Чек 27 28.01.2024 11:00 [11:00:16]line Смена: 244 ФФД: 1.0 [11:00:16]line ЗÐМ: 0300000040 [11:00:16]line РÐМ: 0000000000092723 [11:00:16]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:00:16]line ФМ: 0000000000875060 [11:00:16]line ФД: 48962 [11:00:16]line ФПД: 236001450728215 [11:00:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T110023&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48962&fm=236001450728215&tin=02508201610067®Number=0000000000092723&sum=50000 [11:00:17]OFD Sender: Processing packet 48962 [packets to send 12, broken 11] [11:00:17]ProducePacketName [11:00:17]name=ofd_packets/00048962 [11:00:17]OFD Sender: To server: ‡•öpG, [11:00:17]CommunicateWithHost lk.salyk.kg:30040 [11:00:17]ConnectInit lk.salyk.kg [11:00:17]written 0, free lines is 4095 [11:00:17]Connected sock=10 [11:00: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 30 36 30 0F 01 00 00 05 05 07 01 47 C9 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1B 00 00 00 F4 03 04 00 C7 33 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 42 BF 00 00 35 04 06 00 D6 A4 5E A3 1B 17 34 06 0E EF 4F 80 A4 1D [11:00:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 D7 ED 47 00 39 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 42 BF 00 00 F4 03 04 00 C2 DF B5 65 B6 04 01 00 00 14 CD 2F F3 25 1C 6F 25 [11:00:17]CommunicateWithHost err = 0 [11:00:17]CheckOFDResponse [11:00:17]1017 (14) - 77093643461234 [11:00:17]1041 (16) - 0000000000875060 [11:00:17]1040 (4) - 48962 [11:00:17]1012 (4) - 28.01.2024 05:01 [11:00:17]1206 (1) - 0 [11:00:17]OFD Sender: Remove packet 48962 [11:00:17]ProducePacketName [11:00:17]name=ofd_packets/00048962 [11:00:17]NVStorageDeleteData [11:00:17]Write to MH i2c: 01 00 00 21 2C 4D [11:00:17]Write i2c OK [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: 01 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: 01 07 00 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: 01 07 00 21 2C 00 00 00 00 00 FC 0C 5C [11:00:17]RasterBufferAndPrint [11:00:17]line [11:00:17]line [11:00:17]line [11:00:17]line [11:00:17]line [11:00:17]written 0, free lines is 3334 [11:00:17]MH_Cut [11:00:17]Write to MH i2c: D1 01 00 28 2C 01 26 [11:00:17]Write i2c OK [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: D1 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: D1 01 00 [11:00:17]MH_I2C_Read... [11:00:17]Read from MH i2c: D1 01 00 28 2C 00 25 [11:00:17]Write to MH i2c: 01 00 00 29 2C 55 [11:00:17]Write i2c OK [11:00:17]MH_I2C_Read... [11:00:17]OFD Sender: No OFD packet to send [11:00:18]*** Cut start [11:00:18]*** Partial cut [11:00:18]*** CUTSNS_PIN = 1 [11:00:18]*** CUTSNS_PIN = 0 [11:00:18]*** Brake cut motor [11:00:18]Read from MH i2c: 01 [11:00:18]MH_I2C_Read... [11:00:18]*** Stop cut motor [11:00:18]*** Cut end [11:00:18]Read from MH i2c: 01 07 00 [11:00:18]MH_I2C_Read... [11:00:18]Read from MH i2c: 01 07 00 29 2C 00 00 00 00 00 FF 0F 6A [11:00:18]process_action close_receipt done [11:00:18]requested_data is exist [11:00:18]produce_requested_data [11:00:18]requested_item fm.sn is exist - process it [11:00:18]wFMCommunicate request_size=4 [11:00:18]MH_SAM_APDU [11:00:18]CAPDU: 80 11 00 00 [11:00:18]Write to MH i2c: E2 08 00 2A 2C 80 11 00 00 00 00 00 00 D0 [11:00:18]Write i2c OK [11:00:18]MH_I2C_Read... [11:00:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:00:18]Read from MH i2c: E2 [11:00:18]MH_I2C_Read... [11:00:18]Read from MH i2c: E2 17 00 [11:00:18]MH_I2C_Read... [11:00:18]Read from MH i2c: E2 17 00 2A 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 1D [11:00:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:00:18]wFMCommunicate OK [11:00:18]requested_item fd.num is exist - process it [11:00:18]SAM_PROTO_GetFieldsCounters [11:00:18]wFMCommunicate request_size=4 [11:00:18]MH_SAM_APDU [11:00:18]CAPDU: 80 13 00 00 [11:00:18]Write to MH i2c: E2 08 00 2B 2C 80 13 00 00 00 00 00 00 D3 [11:00:18]Write i2c OK [11:00:18]MH_I2C_Read... [11:00:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:00:18]Read from MH i2c: E2 [11:00:18]MH_I2C_Read... [11:00:18]Read from MH i2c: E2 62 00 [11:00:18]MH_I2C_Read... [11:00:18]Read from MH i2c: E2 62 00 2B 2C 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 42 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [11:00: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 42 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:00:19]wFMCommunicate OK [11:00:19]SAM_PROTO_GetFieldsCounters done [11:00:19]requested_item shift.num is exist - process it [11:00:19]requested_item shift.opened is exist - process it [11:00:19]req_shift_opened [11:00:19]FM_GetShiftState [11:00:19]SAM_PROTO_GetShiftState [11:00:19]wFMCommunicate request_size=4 [11:00:19]MH_SAM_APDU [11:00:19]CAPDU: 80 13 01 00 [11:00:19]Write to MH i2c: E2 08 00 2C 2C 80 13 01 00 00 00 00 00 D5 [11:00:19]Write i2c OK [11:00:19]MH_I2C_Read... [11:00:19]Read from MH i2c: *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:00:19]E2 [11:00:19]MH_I2C_Read... [11:00:19]Read from MH i2c: E2 0E 00 [11:00:19]MH_I2C_Read... [11:00:19]Read from MH i2c: E2 0E 00 2C 2C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 5B [11:00:19]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:00:19]wFMCommunicate OK [11:00:19]SAM_PROTO_GetShiftState done [11:00:19]FM_GetShiftState done [11:00:19]req_shift_opened done [11:00:19]requested_item shift.open_date is exist - process it [11:00:19]req_shift_open_date [11:00:19]req_shift_open_date done [11:00:19]produce_requested_data done [11:00:19]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48962,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:00:19]process_action_free close_receipt [11:00:19]json_value_free [11:00:19]json_value_free done [11:00:19]process_json_proto returns [11:00:19]Send response to host [11:00:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48962,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:00:19]free response buf [11:00:19]execute_script done [11:00:19]execute_script returns [11:00:19]free content buf [11:00:19]Sock 7.Close socket [11:00:19]Sock 7.Thread stoped [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:18]OFD Sender: No OFD packet to send [11:03:23]OFD Sender: No OFD packet to send [11:03:28]OFD Sender: No OFD packet to send [11:03:33]OFD Sender: No OFD packet to send [11:03:38]OFD Sender: No OFD packet to send [11:03:43]OFD Sender: No OFD packet to send [11:03:48]OFD Sender: No OFD packet to send [11:03:53]OFD Sender: No OFD packet to send [11:03:55]accept exits with 9 [11:03:55]New connection [11:03:55]New thread 3066670436 created [11:03:55]Thread 3066813796 joined [11:03:55]Waiting for new connection... [11:03:55] Sock 9.Parse request [11:03:55]Sock 9.Check first char [11:03:55]Sock 9.First char is OK [11:03:55]request: POST /json_proto HTTP/1.0 [11:03:55]Method: POST [11:03:55]URL: /json_proto [11:03:55]Method is POST - this is cgi request [11:03:55]url: /json_proto [11:03:55]query_string will be loaded in cgi processing [11:03:55]execute_cgi json_proto POST (null) [11:03:55]execute_cgi path=json_proto method=POST [11:03:55]POST find Content-Length [11:03:55]Host: 172.17.56.67:8080 [11:03:55]Content-Length: 677 [11:03:55]Content-Type: application/json [11:03:55] [11:03:55]POST finish read [11:03:55]Found Content-Length = 677 [11:03:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216060", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [11:03:55]execute_script... [11:03: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)216060", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [11:03:55]POST & json_proto [11:03:55]process_json_proto [11:03:55]json parsed OK: [11:03:55]protocol is kg_v1.0 [11:03:55]action value=close_receipt [11:03:55]process_action close_receipt [11:03:55]cmd_close_receipt [11:03:55]MH_GetDate [11:03:55]Write to MH i2c: F0 00 00 2D 2C 48 [11:03:55]Write i2c OK [11:03:55]MH_I2C_Read... [11:03:55]Read from MH i2c: F0 [11:03:55]MH_I2C_Read... [11:03:55]Read from MH i2c: F0 09 00 [11:03:55]MH_I2C_Read... [11:03:55]Read from MH i2c: F0 09 00 2D 2C 00 A3 34 B6 65 26 5D 9E 65 C9 [11:03:55]GetLastDocTimeStamp 1706439623 [11:03:55]current date 1706439843 [11:03:55]FM_GetShiftState [11:03:55]SAM_PROTO_GetShiftState [11:03:55]wFMCommunicate request_size=4 [11:03:55]MH_SAM_APDU [11:03:55]CAPDU: 80 13 01 00 [11:03:55]Write to MH i2c: E2 08 00 2E 2C 80 13 01 00 00 00 00 00 D7 [11:03:55]Write i2c OK [11:03:55]MH_I2C_Read... [11:03:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:03:55]Read from MH i2c: E2 [11:03:55]MH_I2C_Read... [11:03:55]Read from MH i2c: E2 0E 00 [11:03:55]MH_I2C_Read... [11:03:55]Read from MH i2c: E2 0E 00 2E 2C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 5D [11:03:55]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:03:55]wFMCommunicate OK [11:03:55]SAM_PROTO_GetShiftState done [11:03:55]FM_GetShiftState done [11:03:55]opened in 1706400199 [11:03:55]opened+sec_in_day 1706486599 [11:03:55]quantity*price = 50049 [11:03:55]sum+1 = 50050 [11:03:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 28 28.01.2024 11:04 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48963 ФПД: 177579117714385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T110403&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48963&fm=177579117714385&tin=02508201610067®Number=0000000000092723&sum=50000 [11:03:56]StoreToDocumentArchive [11:03:56]shift 244 fd 48963 [11:03:56]save to /storage/0244/doc_00048963 [11:03:56]save last doc name /storage/0244/doc_00048963 to /storage/kkm_last_doc_name [11:03:56]save OK [11:03:56]Clear old archive folders... [11:03:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:03:56]tlvbuf is 011EA150 [11:03:56]SAM_PROTO_ClearQueue [11:03:56]wFMCommunicate request_size=4 [11:03:56]MH_SAM_APDU [11:03:56]CAPDU: 80 09 00 00 [11:03:56]Write to MH i2c: E2 08 00 3B 2C 80 09 00 00 00 00 00 00 D9 [11:03:56]Write i2c OK [11:03:56]MH_I2C_Read... [11:03:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:03:56]Read from MH i2c: E2 [11:03:56]MH_I2C_Read... [11:03:56]Read from MH i2c: E2 03 00 [11:03:56]MH_I2C_Read... [11:03:56]Read from MH i2c: E2 03 00 3B 2C 00 90 00 DB [11:03:56]RAPDU: 90 00 [11:03:56]wFMCommunicate OK [11:03:56]SAM_PROTO_ClearQueue done [11:03:56]KKMCreateOFDPacket [11:03:56]OFDProtocolAddRootSTLVToBuf [11:03:56]FM_MakeSignedData [11:03:56]FM_MakeSignedData [11:03:56]SAM_PROTO_SignData [11:03:56]wFMCommunicate request_size=4 [11:03:56]MH_SAM_APDU [11:03:56]CAPDU: 80 0D 01 02 [11:03:56]Write to MH i2c: E2 08 00 3C 2C 80 0D 01 02 00 00 00 00 E1 [11:03:56]Write i2c OK [11:03:56]MH_I2C_Read... [11:03:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:03:57]Read from MH i2c: E2 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 03 00 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 03 00 3C 2C 00 90 00 DC [11:03:57]RAPDU: 90 00 [11:03:57]wFMCommunicate OK [11:03:57]wFMCommunicate request_size=255 [11:03:57]MH_SAM_APDU [11:03:57]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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1C 00 00 00 F4 03 04 00 A3 34 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 43 BF 00 00 35 04 06 00 A1 [11:03:57]Write to MH i2c: E2 02 01 3D 2C 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1C 00 00 00 F4 03 04 00 A3 34 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 43 BF 00 00 35 04 06 00 A1 00 00 B6 [11:03:57]Write i2c OK [11:03:57]MH_I2C_Read... [11:03:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:03:57]Read from MH i2c: E2 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 03 00 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 03 00 3D 2C 00 90 00 DD [11:03:57]RAPDU: 90 00 [11:03:57]wFMCommunicate OK [11:03:57]wFMCommunicate request_size=10 [11:03:57]MH_SAM_APDU [11:03:57]CAPDU: 80 0D 02 02 05 81 DC 3B 1B D1 [11:03:57]Write to MH i2c: E2 0D 00 3E 2C 80 0D 02 02 05 00 81 DC 3B 1B D1 00 00 72 [11:03:57]Write i2c OK [11:03:57]MH_I2C_Read... [11:03:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:03:57]Read from MH i2c: E2 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 03 00 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 03 00 3E 2C 00 90 00 DE [11:03:57]RAPDU: 90 00 [11:03:57]wFMCommunicate OK [11:03:57]wFMCommunicate request_size=4 [11:03:57]MH_SAM_APDU [11:03:57]CAPDU: 80 0D 03 02 [11:03:57]Write to MH i2c: E2 08 00 3F 2C 80 0D 03 02 00 00 00 00 E6 [11:03:57]Write i2c OK [11:03:57]MH_I2C_Read... [11:03:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:03:57]Read from MH i2c: E2 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 0B 00 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 0B 00 3F 2C 00 4E 06 1E F6 6B 9A 48 44 90 00 E0 [11:03:57]RAPDU: 4E 06 1E F6 6B 9A 48 44 90 00 [11:03:57]wFMCommunicate OK [11:03:57]SAM_PROTO_SignData done [11:03:57]FM_MakeSignedData done [11:03:57]CreateOFDProtocolMessage [11:03:57]wFMCommunicate request_size=4 [11:03:57]MH_SAM_APDU [11:03:57]CAPDU: 80 11 00 00 [11:03:57]Write to MH i2c: E2 08 00 40 2C 80 11 00 00 00 00 00 00 E6 [11:03:57]Write i2c OK [11:03:57]MH_I2C_Read... [11:03:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:03:57]Read from MH i2c: E2 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 17 00 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: E2 17 00 40 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 33 [11:03:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:03:57]wFMCommunicate OK [11:03:57]CreateOFDProtocolMessage done [11:03:57]OFDSenderStorePacket 48963 [11:03:57]StoreOFDPacket docnum=48963 [11:03:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F6 C5 07 01 9A 34 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1C 00 00 00 F4 03 04 00 A3 34 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 43 BF 00 00 35 04 06 00 A1 81 DC 3B 1B D1 4E 06 1E F6 6B 9A 48 44 [11:03:57]CheckFolder [11:03:57]dirname=/storage/ofd_packets [11:03:57]CheckFolder done [11:03:57]ProducePacketName [11:03:57]name=ofd_packets/00048963 [11:03:57]NVStorageSaveData ofd_packets/00048963 [11:03:57]File name is /storage/ofd_packets/00048963 [11:03:57]Write 301 bytes [11:03:57]NVStorageSaveData done [11:03:57]OFDSenderStorePacket done [11:03:57]KKMCreateOFDPacket done [11:03:57]NVStorageSaveData kkm_last_timestamp [11:03:57]File name is /storage/kkm_last_timestamp [11:03:57]Write 4 bytes [11:03:57]NVStorageSaveData done [11:03:57]ExternCall_PrintAddStr [11:03:57]wPrintStart [11:03:57]Write to MH i2c: 01 00 00 41 2C 6D [11:03:57]Write i2c OK [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: 01 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: 01 07 00 [11:03:57]MH_I2C_Read... [11:03:57]Read from MH i2c: 01 07 00 41 2C 00 00 00 00 00 FF 0F 82 [11:03:57]RasterBufferAndPrint [11:03:57]line Счет N : (1)216060 [11:03:57]line ИÐÐ: 02508201610067 [11:03:57]line Контрольно-КаÑÑовый Чек [11:03:57]line ПРОДÐЖР[11:03:57]line ТРК (МРК, ГÐК) : 22 [11:03:57]line Товар: 2710124130 [11:03:57]line Ðи-92-К-5 [11:03:57]line 8.300 * 60.30 [11:03:57]line = 500.49 [11:03:57]line ÐДС 12% ÐСП 1% [11:03:57]line > о реализуемом товаре [11:03:57]line ОКРУГЛЕÐИЕ: -0.49 [11:03:57]line ИТОГО: 500.00 [11:03:57]line ВнеÑено: 500.00 [11:03:57]line СДÐЧÐ: 0.00 [11:03:57]line ÐСП 1% : 4.43 [11:03:57]line ÐДС 12% : 53.15 [11:03:57]line Ðаличными: 500.00 [11:03:57]line Безнал.: 0.00 [11:03:57]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:03:57]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:03:57]line СÐО: Общий режим [11:03:57]line Чек 28 28.01.2024 11:04 [11:03:57]line Смена: 244 ФФД: 1.0 [11:03:57]line ЗÐМ: 0300000040 [11:03:57]line РÐМ: 0000000000092723 [11:03:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:03:57]line ФМ: 0000000000875060 [11:03:57]line ФД: 48963 [11:03:57]line ФПД: 177579117714385 [11:03:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T110403&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48963&fm=177579117714385&tin=02508201610067®Number=0000000000092723&sum=50000 [11:03:57]OFD Sender: Processing packet 48963 [packets to send 12, broken 11] [11:03:57]ProducePacketName [11:03:57]name=ofd_packets/00048963 [11:03:57]OFD Sender: To server: ‡•öpG, [11:03:57]CommunicateWithHost lk.salyk.kg:30040 [11:03:57]ConnectInit lk.salyk.kg [11:03:57]written 0, free lines is 4095 [11:03:57]Connected sock=10 [11:03: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 30 36 30 0F 01 00 00 F6 C5 07 01 9A 34 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1C 00 00 00 F4 03 04 00 A3 34 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 43 BF 00 00 35 04 06 00 A1 81 DC 3B 1B D1 4E 06 1E F6 6B 9A 48 44 [11:03:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 85 1A 47 00 59 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 43 BF 00 00 F4 03 04 00 9F E0 B5 65 B6 04 01 00 00 34 BE 81 04 CE A1 B2 82 [11:03:58]CommunicateWithHost err = 0 [11:03:58]CheckOFDResponse [11:03:58]1017 (14) - 77093643461234 [11:03:58]1041 (16) - 0000000000875060 [11:03:58]1040 (4) - 48963 [11:03:58]1012 (4) - 28.01.2024 05:05 [11:03:58]1206 (1) - 0 [11:03:58]OFD Sender: Remove packet 48963 [11:03:58]ProducePacketName [11:03:58]name=ofd_packets/00048963 [11:03:58]NVStorageDeleteData [11:03:58]Write to MH i2c: 01 00 00 6C 2C 98 [11:03:58]Write i2c OK [11:03:58]MH_I2C_Read... [11:03:58]Read from MH i2c: 01 [11:03:58]MH_I2C_Read... [11:03:58]Read from MH i2c: 01 07 00 [11:03:58]MH_I2C_Read... [11:03:58]Read from MH i2c: 01 07 00 6C 2C 00 00 00 00 00 EB 0C 96 [11:03:58]RasterBufferAndPrint [11:03:58]line [11:03:58]line [11:03:58]line [11:03:58]line [11:03:58]line [11:03:58]written 0, free lines is 3313 [11:03:58]MH_Cut [11:03:58]Write to MH i2c: D1 01 00 73 2C 01 71 [11:03:58]Write i2c OK [11:03:58]MH_I2C_Read... [11:03:58]Read from MH i2c: D1 [11:03:58]MH_I2C_Read... [11:03:58]Read from MH i2c: D1 01 00 [11:03:58]MH_I2C_Read... [11:03:58]Read from MH i2c: D1 01 00 73 2C 00 70 [11:03:58]Write to MH i2c: 01 00 00 74 2C A0 [11:03:58]Write i2c OK [11:03:58]MH_I2C_Read... [11:03:58]OFD Sender: No OFD packet to send [11:03:58]*** Cut start [11:03:58]*** Partial cut [11:03:58]*** CUTSNS_PIN = 1 [11:03:58]*** CUTSNS_PIN = 0 [11:03:59]*** Brake cut motor [11:03:59]Read from MH i2c: 01 [11:03:59]MH_I2C_Read... [11:03:59]*** Stop cut motor [11:03:59]*** Cut end [11:03:59]Read from MH i2c: 01 07 00 [11:03:59]MH_I2C_Read... [11:03:59]Read from MH i2c: 01 07 00 74 2C 00 00 00 00 00 FF 0F B5 [11:03:59]process_action close_receipt done [11:03:59]requested_data is exist [11:03:59]produce_requested_data [11:03:59]requested_item fm.sn is exist - process it [11:03:59]wFMCommunicate request_size=4 [11:03:59]MH_SAM_APDU [11:03:59]CAPDU: 80 11 00 00 [11:03:59]Write to MH i2c: E2 08 00 75 2C 80 11 00 00 00 00 00 00 1B [11:03:59]Write i2c OK [11:03:59]MH_I2C_Read... [11:03:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:03:59]Read from MH i2c: E2 [11:03:59]MH_I2C_Read... [11:03:59]Read from MH i2c: E2 17 00 [11:03:59]MH_I2C_Read... [11:03:59]Read from MH i2c: E2 17 00 75 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 68 [11:03:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:03:59]wFMCommunicate OK [11:03:59]requested_item fd.num is exist - process it [11:03:59]SAM_PROTO_GetFieldsCounters [11:03:59]wFMCommunicate request_size=4 [11:03:59]MH_SAM_APDU [11:03:59]CAPDU: 80 13 00 00 [11:03:59]Write to MH i2c: E2 08 00 76 2C 80 13 00 00 00 00 00 00 1E [11:03:59]Write i2c OK [11:03:59]MH_I2C_Read... [11:03:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:03:59]Read from MH i2c: E2 [11:03:59]MH_I2C_Read... [11:03:59]Read from MH i2c: E2 62 00 [11:03:59]MH_I2C_Read... [11:03:59]Read from MH i2c: E2 62 00 76 2C 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 43 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 81 [11:03: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 43 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:03:59]wFMCommunicate OK [11:03:59]SAM_PROTO_GetFieldsCounters done [11:03:59]requested_item shift.num is exist - process it [11:03:59]requested_item shift.opened is exist - process it [11:03:59]req_shift_opened [11:03:59]FM_GetShiftState [11:03:59]SAM_PROTO_GetShiftState [11:03:59]wFMCommunicate request_size=4 [11:03:59]MH_SAM_APDU [11:03:59]CAPDU: 80 13 01 00 [11:03:59]Write to MH i2c: E2 08 00 77 2C 80 13 01 00 00 00 00 00 20 [11:03:59]Write i2c OK [11:03:59]MH_I2C_Read... [11:03:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:03:59]Read from MH i2c: E2 [11:03:59]MH_I2C_Read... [11:03:59]Read from MH i2c: E2 0E 00 [11:03:59]MH_I2C_Read... [11:03:59]Read from MH i2c: E2 0E 00 77 2C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A6 [11:03:59]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:03:59]wFMCommunicate OK [11:03:59]SAM_PROTO_GetShiftState done [11:03:59]FM_GetShiftState done [11:03:59]req_shift_opened done [11:03:59]requested_item shift.open_date is exist - process it [11:03:59]req_shift_open_date [11:03:59]req_shift_open_date done [11:03:59]produce_requested_data done [11:03:59]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48963,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:03:59]process_action_free close_receipt [11:03:59]json_value_free [11:03:59]json_value_free done [11:03:59]process_json_proto returns [11:03:59]Send response to host [11:03:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48963,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:03:59]free response buf [11:03:59]execute_script done [11:03:59]execute_script returns [11:03:59]free content buf [11:03:59]Sock 9.Close socket [11:03:59]Sock 9.Thread stoped [11:04:03]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:08]accept exits with 7 [11:11:08]New connection [11:11:08]New thread 3066813796 created [11:11:08]Thread 3066670436 joined [11:11:08]Waiting for new connection... [11:11:08] Sock 7.Parse request [11:11:08]Sock 7.Check first char [11:11:08]Sock 7.First char is OK [11:11:08]request: POST /json_proto HTTP/1.0 [11:11:08]Method: POST [11:11:08]URL: /json_proto [11:11:08]Method is POST - this is cgi request [11:11:08]url: /json_proto [11:11:08]query_string will be loaded in cgi processing [11:11:08]execute_cgi json_proto POST (null) [11:11:08]execute_cgi path=json_proto method=POST [11:11:08]POST find Content-Length [11:11:08]Host: 172.17.56.67:8080 [11:11:08]Content-Length: 677 [11:11:08]Content-Type: application/json [11:11:08] [11:11:08]POST finish read [11:11:08]Found Content-Length = 677 [11:11:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216061", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [11:11:08]execute_script... [11:11:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216061", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [11:11:08]POST & json_proto [11:11:08]process_json_proto [11:11:08]json parsed OK: [11:11:08]protocol is kg_v1.0 [11:11:08]action value=close_receipt [11:11:08]process_action close_receipt [11:11:08]cmd_close_receipt [11:11:08]MH_GetDate [11:11:08]Write to MH i2c: F0 00 00 78 2C 93 [11:11:08]Write i2c OK [11:11:08]MH_I2C_Read... [11:11:08]Read from MH i2c: F0 [11:11:08]MH_I2C_Read... [11:11:08]Read from MH i2c: F0 09 00 [11:11:08]MH_I2C_Read... [11:11:08]Read from MH i2c: F0 09 00 78 2C 00 55 36 B6 65 26 5D 9E 65 C8 [11:11:08]GetLastDocTimeStamp 1706439843 [11:11:08]current date 1706440277 [11:11:08]FM_GetShiftState [11:11:08]SAM_PROTO_GetShiftState [11:11:08]wFMCommunicate request_size=4 [11:11:08]MH_SAM_APDU [11:11:08]CAPDU: 80 13 01 00 [11:11:08]Write to MH i2c: E2 08 00 79 2C 80 13 01 00 00 00 00 00 22 [11:11:08]Write i2c OK [11:11:08]MH_I2C_Read... [11:11:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:11:08]Read from MH i2c: E2 [11:11:08]MH_I2C_Read... [11:11:08]Read from MH i2c: E2 0E 00 [11:11:08]MH_I2C_Read... [11:11:08]Read from MH i2c: E2 0E 00 79 2C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A8 [11:11:08]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:11:08]wFMCommunicate OK [11:11:08]SAM_PROTO_GetShiftState done [11:11:08]FM_GetShiftState done [11:11:08]opened in 1706400199 [11:11:08]opened+sec_in_day 1706486599 [11:11:08]quantity*price = 50049 [11:11:08]sum+1 = 50050 [11:11:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 29 28.01.2024 11:11 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48964 ФПД: 179020235528271 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T111117&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48964&fm=179020235528271&tin=02508201610067®Number=0000000000092723&sum=50000 [11:11:10]StoreToDocumentArchive [11:11:10]shift 244 fd 48964 [11:11:10]save to /storage/0244/doc_00048964 [11:11:10]save last doc name /storage/0244/doc_00048964 to /storage/kkm_last_doc_name [11:11:10]save OK [11:11:10]Clear old archive folders... [11:11:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:11:10]tlvbuf is 011AD300 [11:11:10]SAM_PROTO_ClearQueue [11:11:10]wFMCommunicate request_size=4 [11:11:10]MH_SAM_APDU [11:11:10]CAPDU: 80 09 00 00 [11:11:10]Write to MH i2c: E2 08 00 86 2C 80 09 00 00 00 00 00 00 24 [11:11:10]Write i2c OK [11:11:10]MH_I2C_Read... [11:11:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:11:10]Read from MH i2c: E2 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 03 00 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 03 00 86 2C 00 90 00 26 [11:11:10]RAPDU: 90 00 [11:11:10]wFMCommunicate OK [11:11:10]SAM_PROTO_ClearQueue done [11:11:10]KKMCreateOFDPacket [11:11:10]OFDProtocolAddRootSTLVToBuf [11:11:10]FM_MakeSignedData [11:11:10]FM_MakeSignedData [11:11:10]SAM_PROTO_SignData [11:11:10]wFMCommunicate request_size=4 [11:11:10]MH_SAM_APDU [11:11:10]CAPDU: 80 0D 01 02 [11:11:10]Write to MH i2c: E2 08 00 87 2C 80 0D 01 02 00 00 00 00 2C [11:11:10]Write i2c OK [11:11:10]MH_I2C_Read... [11:11:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:11:10]Read from MH i2c: E2 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 03 00 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 03 00 87 2C 00 90 00 27 [11:11:10]RAPDU: 90 00 [11:11:10]wFMCommunicate OK [11:11:10]wFMCommunicate request_size=255 [11:11:10]MH_SAM_APDU [11:11:10]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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1D 00 00 00 F4 03 04 00 55 36 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 44 BF 00 00 35 04 06 00 A2 [11:11:10]Write to MH i2c: E2 02 01 88 2C 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1D 00 00 00 F4 03 04 00 55 36 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 44 BF 00 00 35 04 06 00 A2 00 00 B8 [11:11:10]Write i2c OK [11:11:10]MH_I2C_Read... [11:11:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:11:10]Read from MH i2c: E2 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 03 00 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 03 00 88 2C 00 90 00 28 [11:11:10]RAPDU: 90 00 [11:11:10]wFMCommunicate OK [11:11:10]wFMCommunicate request_size=10 [11:11:10]MH_SAM_APDU [11:11:10]CAPDU: 80 0D 02 02 05 D1 65 8B D8 4F [11:11:10]Write to MH i2c: E2 0D 00 89 2C 80 0D 02 02 05 00 D1 65 8B D8 4F 00 00 21 [11:11:10]Write i2c OK [11:11:10]MH_I2C_Read... [11:11:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:11:10]Read from MH i2c: E2 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 03 00 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 03 00 89 2C 00 90 00 29 [11:11:10]RAPDU: 90 00 [11:11:10]wFMCommunicate OK [11:11:10]wFMCommunicate request_size=4 [11:11:10]MH_SAM_APDU [11:11:10]CAPDU: 80 0D 03 02 [11:11:10]Write to MH i2c: E2 08 00 8A 2C 80 0D 03 02 00 00 00 00 31 [11:11:10]Write i2c OK [11:11:10]MH_I2C_Read... [11:11:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:11:10]Read from MH i2c: E2 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 0B 00 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 0B 00 8A 2C 00 CE DF C7 0E B2 1E BC FD 90 00 3D [11:11:10]RAPDU: CE DF C7 0E B2 1E BC FD 90 00 [11:11:10]wFMCommunicate OK [11:11:10]SAM_PROTO_SignData done [11:11:10]FM_MakeSignedData done [11:11:10]CreateOFDProtocolMessage [11:11:10]wFMCommunicate request_size=4 [11:11:10]MH_SAM_APDU [11:11:10]CAPDU: 80 11 00 00 [11:11:10]Write to MH i2c: E2 08 00 8B 2C 80 11 00 00 00 00 00 00 31 [11:11:10]Write i2c OK [11:11:10]MH_I2C_Read... [11:11:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:11:10]Read from MH i2c: E2 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 17 00 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: E2 17 00 8B 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 7E [11:11:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:11:10]wFMCommunicate OK [11:11:10]CreateOFDProtocolMessage done [11:11:10]OFDSenderStorePacket 48964 [11:11:10]StoreOFDPacket docnum=48964 [11:11:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F1 3D 07 01 EE 55 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1D 00 00 00 F4 03 04 00 55 36 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 44 BF 00 00 35 04 06 00 A2 D1 65 8B D8 4F CE DF C7 0E B2 1E BC FD [11:11:10]CheckFolder [11:11:10]dirname=/storage/ofd_packets [11:11:10]CheckFolder done [11:11:10]ProducePacketName [11:11:10]name=ofd_packets/00048964 [11:11:10]NVStorageSaveData ofd_packets/00048964 [11:11:10]File name is /storage/ofd_packets/00048964 [11:11:10]Write 301 bytes [11:11:10]NVStorageSaveData done [11:11:10]OFDSenderStorePacket done [11:11:10]KKMCreateOFDPacket done [11:11:10]NVStorageSaveData kkm_last_timestamp [11:11:10]File name is /storage/kkm_last_timestamp [11:11:10]Write 4 bytes [11:11:10]NVStorageSaveData done [11:11:10]ExternCall_PrintAddStr [11:11:10]wPrintStart [11:11:10]Write to MH i2c: 01 00 00 8C 2C B8 [11:11:10]Write i2c OK [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: 01 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: 01 07 00 [11:11:10]MH_I2C_Read... [11:11:10]Read from MH i2c: 01 07 00 8C 2C 00 00 00 00 00 FF 0F CD [11:11:10]RasterBufferAndPrint [11:11:10]line Счет N : (1)216061 [11:11:10]line ИÐÐ: 02508201610067 [11:11:10]line Контрольно-КаÑÑовый Чек [11:11:10]line ПРОДÐЖР[11:11:10]line ТРК (МРК, ГÐК) : 22 [11:11:10]line Товар: 2710124130 [11:11:10]line Ðи-92-К-5 [11:11:10]line 8.300 * 60.30 [11:11:10]line = 500.49 [11:11:10]line ÐДС 12% ÐСП 1% [11:11:10]line > о реализуемом товаре [11:11:10]line ОКРУГЛЕÐИЕ: -0.49 [11:11:10]line ИТОГО: 500.00 [11:11:10]line ВнеÑено: 500.00 [11:11:10]line СДÐЧÐ: 0.00 [11:11:10]line ÐСП 1% : 4.43 [11:11:10]line ÐДС 12% : 53.15 [11:11:10]line Ðаличными: 500.00 [11:11:10]line Безнал.: 0.00 [11:11:10]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:11:10]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:11:10]line СÐО: Общий режим [11:11:10]line Чек 29 28.01.2024 11:11 [11:11:10]line Смена: 244 ФФД: 1.0 [11:11:10]line ЗÐМ: 0300000040 [11:11:10]line РÐМ: 0000000000092723 [11:11:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:11:10]line ФМ: 0000000000875060 [11:11:10]line ФД: 48964 [11:11:10]line ФПД: 179020235528271 [11:11:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T111117&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48964&fm=179020235528271&tin=02508201610067®Number=0000000000092723&sum=50000 [11:11:10]OFD Sender: Processing packet 48964 [packets to send 12, broken 11] [11:11:10]ProducePacketName [11:11:10]name=ofd_packets/00048964 [11:11:10]OFD Sender: To server: ‡•öpG, [11:11:10]CommunicateWithHost lk.salyk.kg:30040 [11:11:10]ConnectInit lk.salyk.kg [11:11:10]written 0, free lines is 4095 [11:11:10]Connected sock=10 [11:11: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 30 36 30 0F 01 00 00 F1 3D 07 01 EE 55 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 1D 00 00 00 F4 03 04 00 55 36 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 44 BF 00 00 35 04 06 00 A2 D1 65 8B D8 4F CE DF C7 0E B2 1E BC FD [11:11:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 FF 1D 47 00 71 DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 44 BF 00 00 F4 03 04 00 50 E2 B5 65 B6 04 01 00 00 EA 40 B7 47 77 B2 56 40 [11:11:11]CommunicateWithHost err = 0 [11:11:11]CheckOFDResponse [11:11:11]1017 (14) - 77093643461234 [11:11:11]1041 (16) - 0000000000875060 [11:11:11]1040 (4) - 48964 [11:11:11]1012 (4) - 28.01.2024 05:12 [11:11:11]1206 (1) - 0 [11:11:11]OFD Sender: Remove packet 48964 [11:11:11]ProducePacketName [11:11:11]name=ofd_packets/00048964 [11:11:11]NVStorageDeleteData [11:11:11]Write to MH i2c: 01 00 00 B7 2C E3 [11:11:11]Write i2c OK [11:11:11]MH_I2C_Read... [11:11:11]Read from MH i2c: 01 [11:11:11]MH_I2C_Read... [11:11:11]Read from MH i2c: 01 07 00 [11:11:11]MH_I2C_Read... [11:11:11]Read from MH i2c: 01 07 00 B7 2C 00 00 00 00 00 EC 0C E2 [11:11:11]RasterBufferAndPrint [11:11:11]line [11:11:11]line [11:11:11]line [11:11:11]line [11:11:11]line [11:11:11]written 0, free lines is 3314 [11:11:11]MH_Cut [11:11:11]Write to MH i2c: D1 01 00 BE 2C 01 BC [11:11:11]Write i2c OK [11:11:11]MH_I2C_Read... [11:11:11]Read from MH i2c: D1 [11:11:11]MH_I2C_Read... [11:11:11]Read from MH i2c: D1 01 00 [11:11:11]MH_I2C_Read... [11:11:11]Read from MH i2c: D1 01 00 BE 2C 00 BB [11:11:11]Write to MH i2c: 01 00 00 BF 2C EB [11:11:11]Write i2c OK [11:11:11]MH_I2C_Read... [11:11:11]OFD Sender: No OFD packet to send [11:11:12]*** Cut start [11:11:12]*** Partial cut [11:11:12]*** CUTSNS_PIN = 1 [11:11:12]*** CUTSNS_PIN = 0 [11:11:12]*** Brake cut motor [11:11:12]Read from MH i2c: 01 [11:11:12]MH_I2C_Read... [11:11:12]*** Stop cut motor [11:11:12]*** Cut end [11:11:12]Read from MH i2c: 01 07 00 [11:11:12]MH_I2C_Read... [11:11:12]Read from MH i2c: 01 07 00 BF 2C 00 00 00 00 00 FF 0F 00 [11:11:12]process_action close_receipt done [11:11:12]requested_data is exist [11:11:12]produce_requested_data [11:11:12]requested_item fm.sn is exist - process it [11:11:12]wFMCommunicate request_size=4 [11:11:12]MH_SAM_APDU [11:11:12]CAPDU: 80 11 00 00 [11:11:12]Write to MH i2c: E2 08 00 C0 2C 80 11 00 00 00 00 00 00 66 [11:11:12]Write i2c OK [11:11:12]MH_I2C_Read... [11:11:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:11:12]Read from MH i2c: E2 [11:11:12]MH_I2C_Read... [11:11:12]Read from MH i2c: E2 17 00 [11:11:12]MH_I2C_Read... [11:11:12]Read from MH i2c: E2 17 00 C0 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 B3 [11:11:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:11:12]wFMCommunicate OK [11:11:12]requested_item fd.num is exist - process it [11:11:12]SAM_PROTO_GetFieldsCounters [11:11:12]wFMCommunicate request_size=4 [11:11:12]MH_SAM_APDU [11:11:12]CAPDU: 80 13 00 00 [11:11:12]Write to MH i2c: E2 08 00 C1 2C 80 13 00 00 00 00 00 00 69 [11:11:12]Write i2c OK [11:11:12]MH_I2C_Read... [11:11:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:11:12]Read from MH i2c: E2 [11:11:12]MH_I2C_Read... [11:11:12]Read from MH i2c: E2 62 00 [11:11:12]MH_I2C_Read... [11:11:12]Read from MH i2c: E2 62 00 C1 2C 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 44 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [11:11:12]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 44 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:11:12]wFMCommunicate OK [11:11:12]SAM_PROTO_GetFieldsCounters done [11:11:12]requested_item shift.num is exist - process it [11:11:12]requested_item shift.opened is exist - process it [11:11:12]req_shift_opened [11:11:12]FM_GetShiftState [11:11:12]SAM_PROTO_GetShiftState [11:11:12]wFMCommunicate request_size=4 [11:11:12]MH_SAM_APDU [11:11:12]CAPDU: 80 13 01 00 [11:11:12]Write to MH i2c: E2 08 00 C2 2C 80 13 01 00 00 00 00 00 6B [11:11:12]Write i2c OK [11:11:12]MH_I2C_Read... [11:11:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:11:12]Read from MH i2c: E2 [11:11:12]MH_I2C_Read... [11:11:12]Read from MH i2c: E2 0E 00 [11:11:12]MH_I2C_Read... [11:11:12]Read from MH i2c: E2 0E 00 C2 2C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F1 [11:11:12]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:11:12]wFMCommunicate OK [11:11:12]SAM_PROTO_GetShiftState done [11:11:12]FM_GetShiftState done [11:11:12]req_shift_opened done [11:11:12]requested_item shift.open_date is exist - process it [11:11:12]req_shift_open_date [11:11:12]req_shift_open_date done [11:11:12]produce_requested_data done [11:11:12]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48964,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:11:12]process_action_free close_receipt [11:11:12]json_value_free [11:11:12]json_value_free done [11:11:12]process_json_proto returns [11:11:12]Send response to host [11:11:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48964,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:11:12]free response buf [11:11:12]execute_script done [11:11:12]execute_script returns [11:11:12]free content buf [11:11:12]Sock 7.Close socket [11:11:12]Sock 7.Thread stoped [11:11:16]OFD Sender: No OFD packet to send [11:11:21]OFD Sender: No OFD packet to send [11:11:26]OFD Sender: No OFD packet to send [11:11:31]OFD Sender: No OFD packet to send [11:11:36]OFD Sender: No OFD packet to send [11:11:41]OFD Sender: No OFD packet to send [11:11:46]OFD Sender: No OFD packet to send [11:11:51]OFD Sender: No OFD packet to send [11:11:56]OFD Sender: No OFD packet to send [11:12:01]OFD Sender: No OFD packet to send [11:12:06]OFD Sender: No OFD packet to send [11:12:11]OFD Sender: No OFD packet to send [11:12:16]OFD Sender: No OFD packet to send [11:12:21]OFD Sender: No OFD packet to send [11:12:26]OFD Sender: No OFD packet to send [11:12:31]OFD Sender: No OFD packet to send [11:12:36]OFD Sender: No OFD packet to send [11:12:41]OFD Sender: No OFD packet to send [11:12:46]OFD Sender: No OFD packet to send [11:12:51]OFD Sender: No OFD packet to send [11:12:56]OFD Sender: No OFD packet to send [11:13:01]OFD Sender: No OFD packet to send [11:13:06]OFD Sender: No OFD packet to send [11:13:11]OFD Sender: No OFD packet to send [11:13:16]OFD Sender: No OFD packet to send [11:13:21]OFD Sender: No OFD packet to send [11:13:26]OFD Sender: No OFD packet to send [11:13:31]OFD Sender: No OFD packet to send [11:13:36]OFD Sender: No OFD packet to send [11:13:41]OFD Sender: No OFD packet to send [11:13:46]OFD Sender: No OFD packet to send [11:13:51]OFD Sender: No OFD packet to send [11:13:56]OFD Sender: No OFD packet to send [11:14:01]OFD Sender: No OFD packet to send [11:14:06]OFD Sender: No OFD packet to send [11:14:11]OFD Sender: No OFD packet to send [11:14:16]OFD Sender: No OFD packet to send [11:14:21]OFD Sender: No OFD packet to send [11:14:26]OFD Sender: No OFD packet to send [11:14:31]OFD Sender: No OFD packet to send [11:14:36]OFD Sender: No OFD packet to send [11:14:41]OFD Sender: No OFD packet to send [11:14:46]OFD Sender: No OFD packet to send [11:14:51]OFD Sender: No OFD packet to send [11:14:56]OFD Sender: No OFD packet to send [11:15:01]OFD Sender: No OFD packet to send [11:15:06]OFD Sender: No OFD packet to send [11:15:11]OFD Sender: No OFD packet to send [11:15:16]OFD Sender: No OFD packet to send [11:15:21]OFD Sender: No OFD packet to send [11:15:26]OFD Sender: No OFD packet to send [11:15:31]OFD Sender: No OFD packet to send [11:15:36]OFD Sender: No OFD packet to send [11:15:41]OFD Sender: No OFD packet to send [11:15:46]OFD Sender: No OFD packet to send [11:15:51]OFD Sender: No OFD packet to send [11:15:56]OFD Sender: No OFD packet to send [11:16:01]OFD Sender: No OFD packet to send [11:16:06]OFD Sender: No OFD packet to send [11:16:11]OFD Sender: No OFD packet to send [11:16:16]OFD Sender: No OFD packet to send [11:16:21]OFD Sender: No OFD packet to send [11:16:26]OFD Sender: No OFD packet to send [11:16:31]OFD Sender: No OFD packet to send [11:16:36]OFD Sender: No OFD packet to send [11:16:41]OFD Sender: No OFD packet to send [11:16:46]OFD Sender: No OFD packet to send [11:16:51]OFD Sender: No OFD packet to send [11:16:56]OFD Sender: No OFD packet to send [11:17:01]OFD Sender: No OFD packet to send [11:17:06]OFD Sender: No OFD packet to send [11:17:11]OFD Sender: No OFD packet to send [11:17:16]OFD Sender: No OFD packet to send [11:17:21]OFD Sender: No OFD packet to send [11:17:26]OFD Sender: No OFD packet to send [11:17:31]OFD Sender: No OFD packet to send [11:17:36]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:57]OFD Sender: No OFD packet to send [11:18:02]OFD Sender: No OFD packet to send [11:18:07]OFD Sender: No OFD packet to send [11:18:07]accept exits with 9 [11:18:07]New connection [11:18:07]New thread 3066670436 created [11:18:07]Thread 3066813796 joined [11:18:07]Waiting for new connection... [11:18:07] Sock 9.Parse request [11:18:07]Sock 9.Check first char [11:18:07]Sock 9.First char is OK [11:18:07]request: POST /json_proto HTTP/1.0 [11:18:07]Method: POST [11:18:07]URL: /json_proto [11:18:07]Method is POST - this is cgi request [11:18:07]url: /json_proto [11:18:07]query_string will be loaded in cgi processing [11:18:07]execute_cgi json_proto POST (null) [11:18:07]execute_cgi path=json_proto method=POST [11:18:07]POST find Content-Length [11:18:07]Host: 172.17.56.67:8080 [11:18:07]Content-Length: 677 [11:18:07]Content-Type: application/json [11:18:07] [11:18:07]POST finish read [11:18:07]Found Content-Length = 677 [11:18:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216062", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 7.300, "sum" : 440.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 440.00, "total" : 440.00, "payments": [ { "type": 0, "sum" : 440.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:18:07]execute_script... [11:18: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 : (1)216062", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 7.300, "sum" : 440.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 440.00, "total" : 440.00, "payments": [ { "type": 0, "sum" : 440.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:18:07]POST & json_proto [11:18:07]process_json_proto [11:18:07]json parsed OK: [11:18:07]protocol is kg_v1.0 [11:18:07]action value=close_receipt [11:18:07]process_action close_receipt [11:18:07]cmd_close_receipt [11:18:07]MH_GetDate [11:18:07]Write to MH i2c: F0 00 00 C3 2C DE [11:18:07]Write i2c OK [11:18:07]MH_I2C_Read... [11:18:07]Read from MH i2c: F0 [11:18:07]MH_I2C_Read... [11:18:07]Read from MH i2c: F0 09 00 [11:18:07]MH_I2C_Read... [11:18:07]Read from MH i2c: F0 09 00 C3 2C 00 F7 37 B6 65 26 5D 9E 65 B6 [11:18:07]GetLastDocTimeStamp 1706440277 [11:18:07]current date 1706440695 [11:18:07]FM_GetShiftState [11:18:07]SAM_PROTO_GetShiftState [11:18:07]wFMCommunicate request_size=4 [11:18:07]MH_SAM_APDU [11:18:07]CAPDU: 80 13 01 00 [11:18:07]Write to MH i2c: E2 08 00 C4 2C 80 13 01 00 00 00 00 00 6D [11:18:07]Write i2c OK [11:18:07]MH_I2C_Read... [11:18:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:18:07]Read from MH i2c: E2 [11:18:07]MH_I2C_Read... [11:18:07]Read from MH i2c: E2 0E 00 [11:18:07]MH_I2C_Read... [11:18:07]Read from MH i2c: E2 0E 00 C4 2C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F3 [11:18:07]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:18:07]wFMCommunicate OK [11:18:07]SAM_PROTO_GetShiftState done [11:18:07]FM_GetShiftState done [11:18:07]opened in 1706400199 [11:18:07]opened+sec_in_day 1706486599 [11:18:07]quantity*price = 44019 [11:18:07]sum+1 = 44020 [11:18:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.19 ИТОГО: 440.00 ВнеÑено: 440.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.89 ÐДС 12% : 46.75 Ðаличными: 440.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 30 28.01.2024 11:18 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48965 ФПД: 225877419334053 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T111815&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48965&fm=225877419334053&tin=02508201610067®Number=0000000000092723&sum=44000 [11:18:08]StoreToDocumentArchive [11:18:08]shift 244 fd 48965 [11:18:08]save to /storage/0244/doc_00048965 [11:18:08]save last doc name /storage/0244/doc_00048965 to /storage/kkm_last_doc_name [11:18:08]save OK [11:18:08]Clear old archive folders... [11:18:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:18:08]tlvbuf is B6F33680 [11:18:08]SAM_PROTO_ClearQueue [11:18:08]wFMCommunicate request_size=4 [11:18:08]MH_SAM_APDU [11:18:08]CAPDU: 80 09 00 00 [11:18:08]Write to MH i2c: E2 08 00 D1 2C 80 09 00 00 00 00 00 00 6F [11:18:08]Write i2c OK [11:18:08]MH_I2C_Read... [11:18:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:18:08]Read from MH i2c: E2 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 03 00 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 03 00 D1 2C 00 90 00 71 [11:18:08]RAPDU: 90 00 [11:18:08]wFMCommunicate OK [11:18:08]SAM_PROTO_ClearQueue done [11:18:08]KKMCreateOFDPacket [11:18:08]OFDProtocolAddRootSTLVToBuf [11:18:08]FM_MakeSignedData [11:18:08]FM_MakeSignedData [11:18:08]SAM_PROTO_SignData [11:18:08]wFMCommunicate request_size=4 [11:18:08]MH_SAM_APDU [11:18:08]CAPDU: 80 0D 01 02 [11:18:08]Write to MH i2c: E2 08 00 D2 2C 80 0D 01 02 00 00 00 00 77 [11:18:08]Write i2c OK [11:18:08]MH_I2C_Read... [11:18:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:18:08]Read from MH i2c: E2 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 03 00 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 03 00 D2 2C 00 90 00 72 [11:18:08]RAPDU: 90 00 [11:18:08]wFMCommunicate OK [11:18:08]wFMCommunicate request_size=255 [11:18:08]MH_SAM_APDU [11:18:08]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 84 1C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 F3 AB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F7 37 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 45 BF 00 00 35 04 06 00 CD [11:18:08]Write to MH i2c: E2 02 01 D3 2C 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 84 1C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 F3 AB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F7 37 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 45 BF 00 00 35 04 06 00 CD 00 00 79 [11:18:08]Write i2c OK [11:18:08]MH_I2C_Read... [11:18:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:08]Read from MH i2c: E2 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 03 00 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 03 00 D3 2C 00 90 00 73 [11:18:08]RAPDU: 90 00 [11:18:08]wFMCommunicate OK [11:18:08]wFMCommunicate request_size=10 [11:18:08]MH_SAM_APDU [11:18:08]CAPDU: 80 0D 02 02 05 6F 2F 57 99 A5 [11:18:08]Write to MH i2c: E2 0D 00 D4 2C 80 0D 02 02 05 00 6F 2F 57 99 A5 00 00 B7 [11:18:08]Write i2c OK [11:18:08]MH_I2C_Read... [11:18:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:08]Read from MH i2c: E2 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 03 00 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 03 00 D4 2C 00 90 00 74 [11:18:08]RAPDU: 90 00 [11:18:08]wFMCommunicate OK [11:18:08]wFMCommunicate request_size=4 [11:18:08]MH_SAM_APDU [11:18:08]CAPDU: 80 0D 03 02 [11:18:08]Write to MH i2c: E2 08 00 D5 2C 80 0D 03 02 00 00 00 00 7C [11:18:08]Write i2c OK [11:18:08]MH_I2C_Read... [11:18:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:18:08]Read from MH i2c: E2 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 0B 00 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 0B 00 D5 2C 00 06 3C E0 9D CE 03 DE 5A 90 00 45 [11:18:08]RAPDU: 06 3C E0 9D CE 03 DE 5A 90 00 [11:18:08]wFMCommunicate OK [11:18:08]SAM_PROTO_SignData done [11:18:08]FM_MakeSignedData done [11:18:08]CreateOFDProtocolMessage [11:18:08]wFMCommunicate request_size=4 [11:18:08]MH_SAM_APDU [11:18:08]CAPDU: 80 11 00 00 [11:18:08]Write to MH i2c: E2 08 00 D6 2C 80 11 00 00 00 00 00 00 7C [11:18:08]Write i2c OK [11:18:08]MH_I2C_Read... [11:18:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:18:08]Read from MH i2c: E2 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 17 00 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: E2 17 00 D6 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 C9 [11:18:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:18:08]wFMCommunicate OK [11:18:08]CreateOFDProtocolMessage done [11:18:08]OFDSenderStorePacket 48965 [11:18:08]StoreOFDPacket docnum=48965 [11:18:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 30 00 07 01 27 BD 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 84 1C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 F3 AB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F7 37 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 45 BF 00 00 35 04 06 00 CD 6F 2F 57 99 A5 06 3C E0 9D CE 03 DE 5A [11:18:08]CheckFolder [11:18:08]dirname=/storage/ofd_packets [11:18:08]CheckFolder done [11:18:08]ProducePacketName [11:18:08]name=ofd_packets/00048965 [11:18:08]NVStorageSaveData ofd_packets/00048965 [11:18:08]File name is /storage/ofd_packets/00048965 [11:18:08]Write 301 bytes [11:18:08]NVStorageSaveData done [11:18:08]OFDSenderStorePacket done [11:18:08]KKMCreateOFDPacket done [11:18:08]NVStorageSaveData kkm_last_timestamp [11:18:08]File name is /storage/kkm_last_timestamp [11:18:08]Write 4 bytes [11:18:08]NVStorageSaveData done [11:18:08]ExternCall_PrintAddStr [11:18:08]wPrintStart [11:18:08]Write to MH i2c: 01 00 00 D7 2C 03 [11:18:08]Write i2c OK [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: 01 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: 01 07 00 [11:18:08]MH_I2C_Read... [11:18:08]Read from MH i2c: 01 07 00 D7 2C 00 00 00 00 00 FF 0F 18 [11:18:08]RasterBufferAndPrint [11:18:08]line Счет N : (1)216062 [11:18:08]line ИÐÐ: 02508201610067 [11:18:08]line Контрольно-КаÑÑовый Чек [11:18:08]line ПРОДÐЖР[11:18:08]line ТРК (МРК, ГÐК) : 12 [11:18:08]line Товар: 2710124130 [11:18:08]line Ðи-92-К-5 [11:18:08]line 7.300 * 60.30 [11:18:08]line = 440.19 [11:18:08]line ÐДС 12% ÐСП 1% [11:18:08]line > о реализуемом товаре [11:18:08]line ОКРУГЛЕÐИЕ: -0.19 [11:18:08]line ИТОГО: 440.00 [11:18:08]line ВнеÑено: 440.00 [11:18:08]line СДÐЧÐ: 0.00 [11:18:08]line ÐСП 1% : 3.89 [11:18:08]line ÐДС 12% : 46.75 [11:18:08]line Ðаличными: 440.00 [11:18:08]line Безнал.: 0.00 [11:18:08]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:18:08]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:18:08]line СÐО: Общий режим [11:18:08]line Чек 30 28.01.2024 11:18 [11:18:08]line Смена: 244 ФФД: 1.0 [11:18:08]line ЗÐМ: 0300000040 [11:18:08]line РÐМ: 0000000000092723 [11:18:08]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:18:08]line ФМ: 0000000000875060 [11:18:08]line ФД: 48965 [11:18:08]line ФПД: 225877419334053 [11:18:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T111815&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48965&fm=225877419334053&tin=02508201610067®Number=0000000000092723&sum=44000 [11:18:09]OFD Sender: Processing packet 48965 [packets to send 12, broken 11] [11:18:09]ProducePacketName [11:18:09]name=ofd_packets/00048965 [11:18:09]OFD Sender: To server: ‡•öpG, [11:18:09]CommunicateWithHost lk.salyk.kg:30040 [11:18:09]ConnectInit lk.salyk.kg [11:18:09]written 0, free lines is 4095 [11:18:09]Connected sock=10 [11:18: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 30 36 30 0F 01 00 00 30 00 07 01 27 BD 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 84 1C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 F3 AB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 12 00 00 00 00 07 04 06 00 E0 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F7 37 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 45 BF 00 00 35 04 06 00 CD 6F 2F 57 99 A5 06 3C E0 9D CE 03 DE 5A [11:18:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 87 30 47 00 25 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 45 BF 00 00 F4 03 04 00 F3 E3 B5 65 B6 04 01 00 00 89 2D 10 9F 40 5A E5 F2 [11:18:09]CommunicateWithHost err = 0 [11:18:09]CheckOFDResponse [11:18:09]1017 (14) - 77093643461234 [11:18:09]1041 (16) - 0000000000875060 [11:18:09]1040 (4) - 48965 [11:18:09]1012 (4) - 28.01.2024 05:19 [11:18:09]1206 (1) - 0 [11:18:09]OFD Sender: Remove packet 48965 [11:18:09]ProducePacketName [11:18:09]name=ofd_packets/00048965 [11:18:09]NVStorageDeleteData [11:18:09]Write to MH i2c: 01 00 00 02 2D 2F [11:18:09]Write i2c OK [11:18:09]MH_I2C_Read... [11:18:09]Read from MH i2c: 01 [11:18:09]MH_I2C_Read... [11:18:09]Read from MH i2c: 01 07 00 [11:18:09]MH_I2C_Read... [11:18:09]Read from MH i2c: 01 07 00 02 2D 00 00 00 00 00 EC 0C 2E [11:18:09]RasterBufferAndPrint [11:18:09]line [11:18:09]line [11:18:09]line [11:18:09]line [11:18:09]line [11:18:09]written 0, free lines is 3314 [11:18:09]MH_Cut [11:18:09]Write to MH i2c: D1 01 00 09 2D 01 08 [11:18:09]Write i2c OK [11:18:09]MH_I2C_Read... [11:18:09]Read from MH i2c: D1 [11:18:09]MH_I2C_Read... [11:18:09]Read from MH i2c: D1 01 00 [11:18:09]MH_I2C_Read... [11:18:09]Read from MH i2c: D1 01 00 09 2D 00 07 [11:18:09]Write to MH i2c: 01 00 00 0A 2D 37 [11:18:09]Write i2c OK [11:18:09]MH_I2C_Read... [11:18:09]OFD Sender: No OFD packet to send [11:18:10]*** Cut start [11:18:10]*** Partial cut [11:18:10]*** CUTSNS_PIN = 1 [11:18:10]*** CUTSNS_PIN = 0 [11:18:10]*** Brake cut motor [11:18:10]Read from MH i2c: 01 [11:18:10]MH_I2C_Read... [11:18:10]*** Stop cut motor [11:18:10]*** Cut end [11:18:10]Read from MH i2c: 01 07 00 [11:18:10]MH_I2C_Read... [11:18:10]Read from MH i2c: 01 07 00 0A 2D 00 00 00 00 00 FF 0F 4C [11:18:10]process_action close_receipt done [11:18:10]requested_data is exist [11:18:10]produce_requested_data [11:18:10]requested_item fm.sn is exist - process it [11:18:10]wFMCommunicate request_size=4 [11:18:10]MH_SAM_APDU [11:18:10]CAPDU: 80 11 00 00 [11:18:10]Write to MH i2c: E2 08 00 0B 2D 80 11 00 00 00 00 00 00 B2 [11:18:10]Write i2c OK [11:18:10]MH_I2C_Read... [11:18:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:18:10]Read from MH i2c: E2 [11:18:10]MH_I2C_Read... [11:18:10]Read from MH i2c: E2 17 00 [11:18:10]MH_I2C_Read... [11:18:10]Read from MH i2c: E2 17 00 0B 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 FF [11:18:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:18:10]wFMCommunicate OK [11:18:10]requested_item fd.num is exist - process it [11:18:10]SAM_PROTO_GetFieldsCounters [11:18:10]wFMCommunicate request_size=4 [11:18:10]MH_SAM_APDU [11:18:10]CAPDU: 80 13 00 00 [11:18:10]Write to MH i2c: E2 08 00 0C 2D 80 13 00 00 00 00 00 00 B5 [11:18:10]Write i2c OK [11:18:10]MH_I2C_Read... [11:18:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:18:11]Read from MH i2c: E2 [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: E2 62 00 [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: E2 62 00 0C 2D 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 45 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [11:18: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 45 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:18:11]wFMCommunicate OK [11:18:11]SAM_PROTO_GetFieldsCounters done [11:18:11]requested_item shift.num is exist - process it [11:18:11]requested_item shift.opened is exist - process it [11:18:11]req_shift_opened [11:18:11]FM_GetShiftState [11:18:11]SAM_PROTO_GetShiftState [11:18:11]wFMCommunicate request_size=4 [11:18:11]MH_SAM_APDU [11:18:11]CAPDU: 80 13 01 00 [11:18:11]Write to MH i2c: E2 08 00 0D 2D 80 13 01 00 00 00 00 00 B7 [11:18:11]Write i2c OK [11:18:11]MH_I2C_Read... [11:18:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:18:11]Read from MH i2c: E2 [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: E2 0E 00 [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: E2 0E 00 0D 2D 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3D [11:18:11]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:18:11]wFMCommunicate OK [11:18:11]SAM_PROTO_GetShiftState done [11:18:11]FM_GetShiftState done [11:18:11]req_shift_opened done [11:18:11]requested_item shift.open_date is exist - process it [11:18:11]req_shift_open_date [11:18:11]req_shift_open_date done [11:18:11]produce_requested_data done [11:18:11]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48965,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:18:11]process_action_free close_receipt [11:18:11]json_value_free [11:18:11]json_value_free done [11:18:11]process_json_proto returns [11:18:11]Send response to host [11:18:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48965,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:18:11]free response buf [11:18:11]execute_script done [11:18:11]execute_script returns [11:18:11]free content buf [11:18:11]Sock 9.Close socket [11:18:11]Sock 9.Thread stoped [11:18:11]accept exits with 7 [11:18:11]New connection [11:18:11]New thread 3066813796 created [11:18:11]Thread 3066670436 joined [11:18:11]Waiting for new connection... [11:18:11] Sock 7.Parse request [11:18:11]Sock 7.Check first char [11:18:11]Sock 7.First char is OK [11:18:11]request: POST /json_proto HTTP/1.0 [11:18:11]Method: POST [11:18:11]URL: /json_proto [11:18:11]Method is POST - this is cgi request [11:18:11]url: /json_proto [11:18:11]query_string will be loaded in cgi processing [11:18:11]execute_cgi json_proto POST (null) [11:18:11]execute_cgi path=json_proto method=POST [11:18:11]POST find Content-Length [11:18:11]Host: 172.17.56.67:8080 [11:18:11]Content-Length: 677 [11:18:11]Content-Type: application/json [11:18:11] [11:18:11]POST finish read [11:18:11]Found Content-Length = 677 [11:18:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216063", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.140, "sum" : 370.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 370.00, "total" : 370.00, "payments": [ { "type": 0, "sum" : 370.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:18:11]execute_script... [11:18: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)216063", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.140, "sum" : 370.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 370.00, "total" : 370.00, "payments": [ { "type": 0, "sum" : 370.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:18:11]POST & json_proto [11:18:11]process_json_proto [11:18:11]json parsed OK: [11:18:11]protocol is kg_v1.0 [11:18:11]action value=close_receipt [11:18:11]process_action close_receipt [11:18:11]cmd_close_receipt [11:18:11]MH_GetDate [11:18:11]Write to MH i2c: F0 00 00 0E 2D 2A [11:18:11]Write i2c OK [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: F0 [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: F0 09 00 [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: F0 09 00 0E 2D 00 FB 37 B6 65 26 5D 9E 65 06 [11:18:11]GetLastDocTimeStamp 1706440695 [11:18:11]current date 1706440699 [11:18:11]FM_GetShiftState [11:18:11]SAM_PROTO_GetShiftState [11:18:11]wFMCommunicate request_size=4 [11:18:11]MH_SAM_APDU [11:18:11]CAPDU: 80 13 01 00 [11:18:11]Write to MH i2c: E2 08 00 0F 2D 80 13 01 00 00 00 00 00 B9 [11:18:11]Write i2c OK [11:18:11]MH_I2C_Read... [11:18:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:18:11]Read from MH i2c: E2 [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: E2 0E 00 [11:18:11]MH_I2C_Read... [11:18:11]Read from MH i2c: E2 0E 00 0F 2D 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3F [11:18:11]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:18:11]wFMCommunicate OK [11:18:11]SAM_PROTO_GetShiftState done [11:18:11]FM_GetShiftState done [11:18:11]opened in 1706400199 [11:18:11]opened+sec_in_day 1706486599 [11:18:11]quantity*price = 37024 [11:18:11]sum+1 = 37025 [11:18:11]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.24 ИТОГО: 370.00 ВнеÑено: 370.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.28 ÐДС 12% : 39.32 Ðаличными: 370.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 31 28.01.2024 11:18 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48966 ФПД: 197674812495392 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T111819&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48966&fm=197674812495392&tin=02508201610067®Number=0000000000092723&sum=37000 [11:18:12]StoreToDocumentArchive [11:18:12]shift 244 fd 48966 [11:18:12]save to /storage/0244/doc_00048966 [11:18:12]save last doc name /storage/0244/doc_00048966 to /storage/kkm_last_doc_name [11:18:12]save OK [11:18:12]Clear old archive folders... [11:18:12]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:18:12]tlvbuf is 0124C4E0 [11:18:12]SAM_PROTO_ClearQueue [11:18:12]wFMCommunicate request_size=4 [11:18:12]MH_SAM_APDU [11:18:12]CAPDU: 80 09 00 00 [11:18:12]Write to MH i2c: E2 08 00 1C 2D 80 09 00 00 00 00 00 00 BB [11:18:12]Write i2c OK [11:18:12]MH_I2C_Read... [11:18:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:18:12]Read from MH i2c: E2 [11:18:12]MH_I2C_Read... [11:18:12]Read from MH i2c: E2 03 00 [11:18:12]MH_I2C_Read... [11:18:12]Read from MH i2c: E2 03 00 1C 2D 00 90 00 BD [11:18:12]RAPDU: 90 00 [11:18:12]wFMCommunicate OK [11:18:12]SAM_PROTO_ClearQueue done [11:18:12]KKMCreateOFDPacket [11:18:12]OFDProtocolAddRootSTLVToBuf [11:18:12]FM_MakeSignedData [11:18:12]FM_MakeSignedData [11:18:12]SAM_PROTO_SignData [11:18:12]wFMCommunicate request_size=4 [11:18:12]MH_SAM_APDU [11:18:12]CAPDU: 80 0D 01 02 [11:18:12]Write to MH i2c: E2 08 00 1D 2D 80 0D 01 02 00 00 00 00 C3 [11:18:12]Write i2c OK [11:18:12]MH_I2C_Read... [11:18:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:18:12]Read from MH i2c: E2 [11:18:12]MH_I2C_Read... [11:18:12]Read from MH i2c: E2 03 00 [11:18:12]MH_I2C_Read... [11:18:12]Read from MH i2c: E2 03 00 1D 2D 00 90 00 BE [11:18:12]RAPDU: 90 00 [11:18:12]wFMCommunicate OK [11:18:12]wFMCommunicate request_size=255 [11:18:12]MH_SAM_APDU [11:18: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 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 FC 17 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 A0 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 0F 00 00 00 00 07 04 06 00 88 90 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 FB 37 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 46 BF 00 00 35 04 06 00 B3 [11:18:12]Write to MH i2c: E2 02 01 1E 2D 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 FC 17 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 A0 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 0F 00 00 00 00 07 04 06 00 88 90 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 FB 37 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 46 BF 00 00 35 04 06 00 B3 00 00 A9 [11:18:12]Write i2c OK [11:18:12]MH_I2C_Read... [11:18:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:13]Read from MH i2c: E2 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: E2 03 00 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: E2 03 00 1E 2D 00 90 00 BF [11:18:13]RAPDU: 90 00 [11:18:13]wFMCommunicate OK [11:18:13]wFMCommunicate request_size=10 [11:18:13]MH_SAM_APDU [11:18:13]CAPDU: 80 0D 02 02 05 C8 C0 FA D6 20 [11:18:13]Write to MH i2c: E2 0D 00 1F 2D 80 0D 02 02 05 00 C8 C0 FA D6 20 00 00 48 [11:18:13]Write i2c OK [11:18:13]MH_I2C_Read... [11:18:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:18:13]Read from MH i2c: E2 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: E2 03 00 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: E2 03 00 1F 2D 00 90 00 C0 [11:18:13]RAPDU: 90 00 [11:18:13]wFMCommunicate OK [11:18:13]wFMCommunicate request_size=4 [11:18:13]MH_SAM_APDU [11:18:13]CAPDU: 80 0D 03 02 [11:18:13]Write to MH i2c: E2 08 00 20 2D 80 0D 03 02 00 00 00 00 C8 [11:18:13]Write i2c OK [11:18:13]MH_I2C_Read... [11:18:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:18:13]Read from MH i2c: E2 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: E2 0B 00 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: E2 0B 00 20 2D 00 2A 77 B4 DA 88 AC F3 42 90 00 61 [11:18:13]RAPDU: 2A 77 B4 DA 88 AC F3 42 90 00 [11:18:13]wFMCommunicate OK [11:18:13]SAM_PROTO_SignData done [11:18:13]FM_MakeSignedData done [11:18:13]CreateOFDProtocolMessage [11:18:13]wFMCommunicate request_size=4 [11:18:13]MH_SAM_APDU [11:18:13]CAPDU: 80 11 00 00 [11:18:13]Write to MH i2c: E2 08 00 21 2D 80 11 00 00 00 00 00 00 C8 [11:18:13]Write i2c OK [11:18:13]MH_I2C_Read... [11:18:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:18:13]Read from MH i2c: E2 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: E2 17 00 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: E2 17 00 21 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 15 [11:18:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:18:13]wFMCommunicate OK [11:18:13]CreateOFDProtocolMessage done [11:18:13]OFDSenderStorePacket 48966 [11:18:13]StoreOFDPacket docnum=48966 [11:18:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 BB 9C 07 01 CF E0 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 FC 17 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 A0 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 0F 00 00 00 00 07 04 06 00 88 90 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 FB 37 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 46 BF 00 00 35 04 06 00 B3 C8 C0 FA D6 20 2A 77 B4 DA 88 AC F3 42 [11:18:13]CheckFolder [11:18:13]dirname=/storage/ofd_packets [11:18:13]CheckFolder done [11:18:13]ProducePacketName [11:18:13]name=ofd_packets/00048966 [11:18:13]NVStorageSaveData ofd_packets/00048966 [11:18:13]File name is /storage/ofd_packets/00048966 [11:18:13]Write 301 bytes [11:18:13]NVStorageSaveData done [11:18:13]OFDSenderStorePacket done [11:18:13]KKMCreateOFDPacket done [11:18:13]NVStorageSaveData kkm_last_timestamp [11:18:13]File name is /storage/kkm_last_timestamp [11:18:13]Write 4 bytes [11:18:13]NVStorageSaveData done [11:18:13]ExternCall_PrintAddStr [11:18:13]wPrintStart [11:18:13]Write to MH i2c: 01 00 00 22 2D 4F [11:18:13]Write i2c OK [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: 01 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: 01 07 00 [11:18:13]MH_I2C_Read... [11:18:13]Read from MH i2c: 01 07 00 22 2D 00 00 00 00 00 FF 0F 64 [11:18:13]RasterBufferAndPrint [11:18:13]line Счет N : (1)216063 [11:18:13]line ИÐÐ: 02508201610067 [11:18:13]line Контрольно-КаÑÑовый Чек [11:18:13]line ПРОДÐЖР[11:18:13]line ТРК (МРК, ГÐК) : 22 [11:18:13]line Товар: 2710124130 [11:18:13]line Ðи-92-К-5 [11:18:14]line 6.140 * 60.30 [11:18:14]line = 370.24 [11:18:14]line ÐДС 12% ÐСП 1% [11:18:14]line > о реализуемом товаре [11:18:14]line ОКРУГЛЕÐИЕ: -0.24 [11:18:14]line ИТОГО: 370.00 [11:18:14]line ВнеÑено: 370.00 [11:18:14]line СДÐЧÐ: 0.00 [11:18:14]line ÐСП 1% : 3.28 [11:18:14]line ÐДС 12% : 39.32 [11:18:14]line Ðаличными: 370.00 [11:18:14]line Безнал.: 0.00 [11:18:14]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:18:14]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:18:14]line СÐО: Общий режим [11:18:14]line Чек 31 28.01.2024 11:18 [11:18:14]line Смена: 244 ФФД: 1.0 [11:18:14]line ЗÐМ: 0300000040 [11:18:14]line РÐМ: 0000000000092723 [11:18:14]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:18:14]line ФМ: 0000000000875060 [11:18:14]line ФД: 48966 [11:18:14]line ФПД: 197674812495392 [11:18:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T111819&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48966&fm=197674812495392&tin=02508201610067®Number=0000000000092723&sum=37000 [11:18:14]OFD Sender: Processing packet 48966 [packets to send 12, broken 11] [11:18:14]ProducePacketName [11:18:14]name=ofd_packets/00048966 [11:18:14]OFD Sender: To server: ‡•öpG, [11:18:14]CommunicateWithHost lk.salyk.kg:30040 [11:18:14]ConnectInit lk.salyk.kg [11:18:14]written 0, free lines is 4095 [11:18:14]Connected sock=10 [11:18: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 30 36 30 0F 01 00 00 BB 9C 07 01 CF E0 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 FC 17 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 A0 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 0F 00 00 00 00 07 04 06 00 88 90 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 FB 37 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 46 BF 00 00 35 04 06 00 B3 C8 C0 FA D6 20 2A 77 B4 DA 88 AC F3 42 [11:18:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 F3 24 47 00 8B 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 46 BF 00 00 F4 03 04 00 F7 E3 B5 65 B6 04 01 00 00 5F AD D5 17 80 49 12 D0 [11:18:14]CommunicateWithHost err = 0 [11:18:14]CheckOFDResponse [11:18:14]1017 (14) - 77093643461234 [11:18:14]1041 (16) - 0000000000875060 [11:18:14]1040 (4) - 48966 [11:18:14]1012 (4) - 28.01.2024 05:19 [11:18:14]1206 (1) - 0 [11:18:14]OFD Sender: Remove packet 48966 [11:18:14]ProducePacketName [11:18:14]name=ofd_packets/00048966 [11:18:14]NVStorageDeleteData [11:18:14]Write to MH i2c: 01 00 00 4D 2D 7A [11:18:14]Write i2c OK [11:18:14]MH_I2C_Read... [11:18:14]Read from MH i2c: 01 [11:18:14]MH_I2C_Read... [11:18:14]Read from MH i2c: 01 07 00 [11:18:14]MH_I2C_Read... [11:18:14]Read from MH i2c: 01 07 00 4D 2D 00 00 00 00 00 F4 0C 81 [11:18:14]RasterBufferAndPrint [11:18:14]line [11:18:14]line [11:18:14]line [11:18:14]line [11:18:14]line [11:18:14]written 0, free lines is 3331 [11:18:14]MH_Cut [11:18:14]Write to MH i2c: D1 01 00 54 2D 01 53 [11:18:14]Write i2c OK [11:18:14]MH_I2C_Read... [11:18:14]Read from MH i2c: D1 [11:18:14]MH_I2C_Read... [11:18:14]Read from MH i2c: D1 01 00 [11:18:14]MH_I2C_Read... [11:18:14]Read from MH i2c: D1 01 00 54 2D 00 52 [11:18:14]Write to MH i2c: 01 00 00 55 2D 82 [11:18:14]Write i2c OK [11:18:14]MH_I2C_Read... [11:18:14]OFD Sender: No OFD packet to send [11:18:15]*** Cut start [11:18:15]*** Partial cut [11:18:15]*** CUTSNS_PIN = 1 [11:18:15]*** CUTSNS_PIN = 0 [11:18:15]*** Brake cut motor [11:18:15]Read from MH i2c: 01 [11:18:15]MH_I2C_Read... [11:18:15]*** Stop cut motor [11:18:15]*** Cut end [11:18:15]Read from MH i2c: 01 07 00 [11:18:15]MH_I2C_Read... [11:18:15]Read from MH i2c: 01 07 00 55 2D 00 00 00 00 00 FF 0F 97 [11:18:15]process_action close_receipt done [11:18:15]requested_data is exist [11:18:15]produce_requested_data [11:18:15]requested_item fm.sn is exist - process it [11:18:15]wFMCommunicate request_size=4 [11:18:15]MH_SAM_APDU [11:18:15]CAPDU: 80 11 00 00 [11:18:15]Write to MH i2c: E2 08 00 56 2D 80 11 00 00 00 00 00 00 FD [11:18:15]Write i2c OK [11:18:15]MH_I2C_Read... [11:18:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:18:15]Read from MH i2c: E2 [11:18:15]MH_I2C_Read... [11:18:15]Read from MH i2c: E2 17 00 [11:18:15]MH_I2C_Read... [11:18:15]Read from MH i2c: E2 17 00 56 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 4A [11:18:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:18:15]wFMCommunicate OK [11:18:15]requested_item fd.num is exist - process it [11:18:15]SAM_PROTO_GetFieldsCounters [11:18:15]wFMCommunicate request_size=4 [11:18:15]MH_SAM_APDU [11:18:15]CAPDU: 80 13 00 00 [11:18:15]Write to MH i2c: E2 08 00 57 2D 80 13 00 00 00 00 00 00 00 [11:18:15]Write i2c OK [11:18:15]MH_I2C_Read... [11:18:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:18:15]Read from MH i2c: E2 [11:18:15]MH_I2C_Read... [11:18:15]Read from MH i2c: E2 62 00 [11:18:15]MH_I2C_Read... [11:18:15]Read from MH i2c: E2 62 00 57 2D 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 46 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 6F [11:18: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 46 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:18:15]wFMCommunicate OK [11:18:15]SAM_PROTO_GetFieldsCounters done [11:18:15]requested_item shift.num is exist - process it [11:18:15]requested_item shift.opened is exist - process it [11:18:15]req_shift_opened [11:18:15]FM_GetShiftState [11:18:15]SAM_PROTO_GetShiftState [11:18:15]wFMCommunicate request_size=4 [11:18:15]MH_SAM_APDU [11:18:15]CAPDU: 80 13 01 00 [11:18:15]Write to MH i2c: E2 08 00 58 2D 80 13 01 00 00 00 00 00 02 [11:18:15]Write i2c OK [11:18:15]MH_I2C_Read... [11:18:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:18:16]Read from MH i2c: E2 [11:18:16]MH_I2C_Read... [11:18:16]Read from MH i2c: E2 0E 00 [11:18:16]MH_I2C_Read... [11:18:16]Read from MH i2c: E2 0E 00 58 2D 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 88 [11:18:16]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:18:16]wFMCommunicate OK [11:18:16]SAM_PROTO_GetShiftState done [11:18:16]FM_GetShiftState done [11:18:16]req_shift_opened done [11:18:16]requested_item shift.open_date is exist - process it [11:18:16]req_shift_open_date [11:18:16]req_shift_open_date done [11:18:16]produce_requested_data done [11:18:16]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48966,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:18:16]process_action_free close_receipt [11:18:16]json_value_free [11:18:16]json_value_free done [11:18:16]process_json_proto returns [11:18:16]Send response to host [11:18:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48966,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:18:16]free response buf [11:18:16]execute_script done [11:18:16]execute_script returns [11:18:16]free content buf [11:18:16]Sock 7.Close socket [11:18:16]Sock 7.Thread stoped [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]OFD Sender: No OFD packet to send [11:20:24]OFD Sender: No OFD packet to send [11:20:29]OFD Sender: No OFD packet to send [11:20:34]OFD Sender: No OFD packet to send [11:20:39]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:29]OFD Sender: No OFD packet to send [11:21:34]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:55]OFD Sender: No OFD packet to send [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:05]accept exits with 9 [11:23:05]New connection [11:23:05]New thread 3066670436 created [11:23:05]Thread 3066813796 joined [11:23:05]Waiting for new connection... [11:23:05] Sock 9.Parse request [11:23:05]Sock 9.Check first char [11:23:05]Sock 9.First char is OK [11:23:05]request: POST /json_proto HTTP/1.0 [11:23:05]Method: POST [11:23:05]URL: /json_proto [11:23:05]Method is POST - this is cgi request [11:23:05]url: /json_proto [11:23:05]query_string will be loaded in cgi processing [11:23:05]execute_cgi json_proto POST (null) [11:23:05]execute_cgi path=json_proto method=POST [11:23:05]POST find Content-Length [11:23:05]Host: 172.17.56.67:8080 [11:23:05]Content-Length: 682 [11:23:05]Content-Type: application/json [11:23:05] [11:23:05]POST finish read [11:23:05]Found Content-Length = 682 [11:23:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216064", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [11:23:05]execute_script... [11:23:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216064", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [11:23:05]POST & json_proto [11:23:05]process_json_proto [11:23:05]json parsed OK: [11:23:05]protocol is kg_v1.0 [11:23:05]action value=close_receipt [11:23:05]process_action close_receipt [11:23:05]cmd_close_receipt [11:23:05]MH_GetDate [11:23:05]Write to MH i2c: F0 00 00 59 2D 75 [11:23:05]Write i2c OK [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: F0 [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: F0 09 00 [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: F0 09 00 59 2D 00 21 39 B6 65 26 5D 9E 65 79 [11:23:05]GetLastDocTimeStamp 1706440699 [11:23:05]current date 1706440993 [11:23:05]FM_GetShiftState [11:23:05]SAM_PROTO_GetShiftState [11:23:05]wFMCommunicate request_size=4 [11:23:05]MH_SAM_APDU [11:23:05]CAPDU: 80 13 01 00 [11:23:05]Write to MH i2c: E2 08 00 5A 2D 80 13 01 00 00 00 00 00 04 [11:23:05]Write i2c OK [11:23:05]MH_I2C_Read... [11:23:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:23:05]Read from MH i2c: E2 [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: E2 0E 00 [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: E2 0E 00 5A 2D 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 8A [11:23:05]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:23:05]wFMCommunicate OK [11:23:05]SAM_PROTO_GetShiftState done [11:23:05]FM_GetShiftState done [11:23:05]opened in 1706400199 [11:23:05]opened+sec_in_day 1706486599 [11:23:05]quantity*price = 100037 [11:23:05]sum+1 = 100039 [11:23:05]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.23 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 32 28.01.2024 11:23 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48967 ФПД: 156610330466867 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112313&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48967&fm=156610330466867&tin=02508201610067®Number=0000000000092723&sum=100000 [11:23:06]StoreToDocumentArchive [11:23:06]shift 244 fd 48967 [11:23:06]save to /storage/0244/doc_00048967 [11:23:06]save last doc name /storage/0244/doc_00048967 to /storage/kkm_last_doc_name [11:23:06]save OK [11:23:06]Clear old archive folders... [11:23:06]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:23:06]tlvbuf is 01244B30 [11:23:06]SAM_PROTO_ClearQueue [11:23:06]wFMCommunicate request_size=4 [11:23:06]MH_SAM_APDU [11:23:06]CAPDU: 80 09 00 00 [11:23:06]Write to MH i2c: E2 08 00 67 2D 80 09 00 00 00 00 00 00 06 [11:23:06]Write i2c OK [11:23:06]MH_I2C_Read... [11:23:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:23:06]Read from MH i2c: E2 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 03 00 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 03 00 67 2D 00 90 00 08 [11:23:06]RAPDU: 90 00 [11:23:06]wFMCommunicate OK [11:23:06]SAM_PROTO_ClearQueue done [11:23:06]KKMCreateOFDPacket [11:23:06]OFDProtocolAddRootSTLVToBuf [11:23:06]FM_MakeSignedData [11:23:06]FM_MakeSignedData [11:23:06]SAM_PROTO_SignData [11:23:06]wFMCommunicate request_size=4 [11:23:06]MH_SAM_APDU [11:23:06]CAPDU: 80 0D 01 02 [11:23:06]Write to MH i2c: E2 08 00 68 2D 80 0D 01 02 00 00 00 00 0E [11:23:06]Write i2c OK [11:23:06]MH_I2C_Read... [11:23:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:23:06]Read from MH i2c: E2 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 03 00 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 03 00 68 2D 00 90 00 09 [11:23:06]RAPDU: 90 00 [11:23:06]wFMCommunicate OK [11:23:06]wFMCommunicate request_size=255 [11:23:06]MH_SAM_APDU [11:23:06]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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 20 00 00 00 F4 03 04 00 21 39 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 47 BF 00 00 35 04 06 00 8E [11:23:06]Write to MH i2c: E2 02 01 69 2D 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 20 00 00 00 F4 03 04 00 21 39 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 47 BF 00 00 35 04 06 00 8E 00 00 9B [11:23:06]Write i2c OK [11:23:06]MH_I2C_Read... [11:23:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:23:07]Read from MH i2c: E2 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: E2 03 00 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: E2 03 00 69 2D 00 90 00 0A [11:23:07]RAPDU: 90 00 [11:23:07]wFMCommunicate OK [11:23:07]wFMCommunicate request_size=10 [11:23:07]MH_SAM_APDU [11:23:07]CAPDU: 80 0D 02 02 05 6F AF 1D 9A 33 [11:23:07]Write to MH i2c: E2 0D 00 6A 2D 80 0D 02 02 05 00 6F AF 1D 9A 33 00 00 23 [11:23:07]Write i2c OK [11:23:07]MH_I2C_Read... [11:23:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:23:07]Read from MH i2c: E2 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: E2 03 00 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: E2 03 00 6A 2D 00 90 00 0B [11:23:07]RAPDU: 90 00 [11:23:07]wFMCommunicate OK [11:23:07]wFMCommunicate request_size=4 [11:23:07]MH_SAM_APDU [11:23:07]CAPDU: 80 0D 03 02 [11:23:07]Write to MH i2c: E2 08 00 6B 2D 80 0D 03 02 00 00 00 00 13 [11:23:07]Write i2c OK [11:23:07]MH_I2C_Read... [11:23:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:23:07]Read from MH i2c: E2 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: E2 0B 00 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: E2 0B 00 6B 2D 00 0C 42 3F 96 66 AE 26 8C 90 00 FD [11:23:07]RAPDU: 0C 42 3F 96 66 AE 26 8C 90 00 [11:23:07]wFMCommunicate OK [11:23:07]SAM_PROTO_SignData done [11:23:07]FM_MakeSignedData done [11:23:07]CreateOFDProtocolMessage [11:23:07]wFMCommunicate request_size=4 [11:23:07]MH_SAM_APDU [11:23:07]CAPDU: 80 11 00 00 [11:23:07]Write to MH i2c: E2 08 00 6C 2D 80 11 00 00 00 00 00 00 13 [11:23:07]Write i2c OK [11:23:07]MH_I2C_Read... [11:23:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:23:07]Read from MH i2c: E2 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: E2 17 00 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: E2 17 00 6C 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 60 [11:23:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:23:07]wFMCommunicate OK [11:23:07]CreateOFDProtocolMessage done [11:23:07]OFDSenderStorePacket 48967 [11:23:07]StoreOFDPacket docnum=48967 [11:23:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 1D F5 07 01 F2 0F 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 20 00 00 00 F4 03 04 00 21 39 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 47 BF 00 00 35 04 06 00 8E 6F AF 1D 9A 33 0C 42 3F 96 66 AE 26 8C [11:23:07]CheckFolder [11:23:07]dirname=/storage/ofd_packets [11:23:07]CheckFolder done [11:23:07]ProducePacketName [11:23:07]name=ofd_packets/00048967 [11:23:07]NVStorageSaveData ofd_packets/00048967 [11:23:07]File name is /storage/ofd_packets/00048967 [11:23:07]Write 301 bytes [11:23:07]NVStorageSaveData done [11:23:07]OFDSenderStorePacket done [11:23:07]KKMCreateOFDPacket done [11:23:07]NVStorageSaveData kkm_last_timestamp [11:23:07]File name is /storage/kkm_last_timestamp [11:23:07]Write 4 bytes [11:23:07]NVStorageSaveData done [11:23:07]ExternCall_PrintAddStr [11:23:07]wPrintStart [11:23:07]Write to MH i2c: 01 00 00 6D 2D 9A [11:23:07]Write i2c OK [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: 01 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: 01 07 00 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: 01 07 00 6D 2D 00 00 00 00 00 FF 0F AF [11:23:07]RasterBufferAndPrint [11:23:07]line Счет N : (1)216064 [11:23:07]line ИÐÐ: 02508201610067 [11:23:07]line Контрольно-КаÑÑовый Чек [11:23:07]line ПРОДÐЖР[11:23:07]line ТРК (МРК, ГÐК) : 22 [11:23:07]line Товар: 2710124130 [11:23:07]line Ðи-92-К-5 [11:23:07]line 16.590 * 60.30 [11:23:07]line = 1000.38 [11:23:07]line ÐДС 12% ÐСП 1% [11:23:07]line > о реализуемом товаре [11:23:07]line ОКРУГЛЕÐИЕ: -0.38 [11:23:07]line ИТОГО: 1000.00 [11:23:07]line ВнеÑено: 1000.00 [11:23:07]line СДÐЧÐ: 0.00 [11:23:07]line ÐСП 1% : 8.85 [11:23:07]line ÐДС 12% : 106.23 [11:23:07]line Ðаличными: 1000.00 [11:23:07]line Безнал.: 0.00 [11:23:07]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:23:07]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:23:07]line СÐО: Общий режим [11:23:07]line Чек 32 28.01.2024 11:23 [11:23:07]line Смена: 244 ФФД: 1.0 [11:23:07]line ЗÐМ: 0300000040 [11:23:07]line РÐМ: 0000000000092723 [11:23:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:23:07]line ФМ: 0000000000875060 [11:23:07]line ФД: 48967 [11:23:07]line ФПД: 156610330466867 [11:23:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112313&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48967&fm=156610330466867&tin=02508201610067®Number=0000000000092723&sum=100000 [11:23:07]OFD Sender: Processing packet 48967 [packets to send 12, broken 11] [11:23:07]ProducePacketName [11:23:07]name=ofd_packets/00048967 [11:23:07]OFD Sender: To server: ‡•öpG, [11:23:07]CommunicateWithHost lk.salyk.kg:30040 [11:23:07]ConnectInit lk.salyk.kg [11:23:07]written 0, free lines is 4095 [11:23:07]Connected sock=10 [11:23:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 1D F5 07 01 F2 0F 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 20 00 00 00 F4 03 04 00 21 39 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 47 BF 00 00 35 04 06 00 8E 6F AF 1D 9A 33 0C 42 3F 96 66 AE 26 8C [11:23:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 3C 41 47 00 22 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 47 BF 00 00 F4 03 04 00 1D E5 B5 65 B6 04 01 00 00 C1 45 4A 2E EA EB DB F8 [11:23:07]CommunicateWithHost err = 0 [11:23:07]CheckOFDResponse [11:23:07]1017 (14) - 77093643461234 [11:23:07]1041 (16) - 0000000000875060 [11:23:07]1040 (4) - 48967 [11:23:07]1012 (4) - 28.01.2024 05:24 [11:23:07]1206 (1) - 0 [11:23:07]OFD Sender: Remove packet 48967 [11:23:07]ProducePacketName [11:23:07]name=ofd_packets/00048967 [11:23:07]NVStorageDeleteData [11:23:08]Write to MH i2c: 01 00 00 98 2D C5 [11:23:08]Write i2c OK [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: 01 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: 01 07 00 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: 01 07 00 98 2D 00 00 00 00 00 EF 0C C7 [11:23:08]RasterBufferAndPrint [11:23:08]line [11:23:08]line [11:23:08]line [11:23:08]line [11:23:08]line [11:23:08]written 0, free lines is 3317 [11:23:08]MH_Cut [11:23:08]Write to MH i2c: D1 01 00 9F 2D 01 9E [11:23:08]Write i2c OK [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: D1 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: D1 01 00 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: D1 01 00 9F 2D 00 9D [11:23:08]Write to MH i2c: 01 00 00 A0 2D CD [11:23:08]Write i2c OK [11:23:08]MH_I2C_Read... [11:23:08]OFD Sender: No OFD packet to send [11:23:08]*** Cut start [11:23:08]*** Partial cut [11:23:08]*** CUTSNS_PIN = 1 [11:23:08]*** CUTSNS_PIN = 0 [11:23:08]*** Brake cut motor [11:23:09]Read from MH i2c: 01 [11:23:09]MH_I2C_Read... [11:23:09]*** Stop cut motor [11:23:09]*** Cut end [11:23:09]Read from MH i2c: 01 07 00 [11:23:09]MH_I2C_Read... [11:23:09]Read from MH i2c: 01 07 00 A0 2D 00 00 00 00 00 FF 0F E2 [11:23:09]process_action close_receipt done [11:23:09]requested_data is exist [11:23:09]produce_requested_data [11:23:09]requested_item fm.sn is exist - process it [11:23:09]wFMCommunicate request_size=4 [11:23:09]MH_SAM_APDU [11:23:09]CAPDU: 80 11 00 00 [11:23:09]Write to MH i2c: E2 08 00 A1 2D 80 11 00 00 00 00 00 00 48 [11:23:09]Write i2c OK [11:23:09]MH_I2C_Read... [11:23:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:23:09]Read from MH i2c: E2 [11:23:09]MH_I2C_Read... [11:23:09]Read from MH i2c: E2 17 00 [11:23:09]MH_I2C_Read... [11:23:09]Read from MH i2c: E2 17 00 A1 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 95 [11:23:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:23:09]wFMCommunicate OK [11:23:09]requested_item fd.num is exist - process it [11:23:09]SAM_PROTO_GetFieldsCounters [11:23:09]wFMCommunicate request_size=4 [11:23:09]MH_SAM_APDU [11:23:09]CAPDU: 80 13 00 00 [11:23:09]Write to MH i2c: E2 08 00 A2 2D 80 13 00 00 00 00 00 00 4B [11:23:09]Write i2c OK [11:23:09]MH_I2C_Read... [11:23:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:23:09]Read from MH i2c: E2 [11:23:09]MH_I2C_Read... [11:23:09]Read from MH i2c: E2 62 00 [11:23:09]MH_I2C_Read... [11:23:09]Read from MH i2c: E2 62 00 A2 2D 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 47 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 BE [11:23: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 47 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:23:09]wFMCommunicate OK [11:23:09]SAM_PROTO_GetFieldsCounters done [11:23:09]requested_item shift.num is exist - process it [11:23:09]requested_item shift.opened is exist - process it [11:23:09]req_shift_opened [11:23:09]FM_GetShiftState [11:23:09]SAM_PROTO_GetShiftState [11:23:09]wFMCommunicate request_size=4 [11:23:09]MH_SAM_APDU [11:23:09]CAPDU: 80 13 01 00 [11:23:09]Write to MH i2c: E2 08 00 A3 2D 80 13 01 00 00 00 00 00 4D [11:23:09]Write i2c OK [11:23:09]MH_I2C_Read... [11:23:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:23:09]Read from MH i2c: E2 [11:23:09]MH_I2C_Read... [11:23:09]Read from MH i2c: E2 0E 00 [11:23:09]MH_I2C_Read... [11:23:09]Read from MH i2c: E2 0E 00 A3 2D 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D3 [11:23:09]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:23:09]wFMCommunicate OK [11:23:09]SAM_PROTO_GetShiftState done [11:23:09]FM_GetShiftState done [11:23:09]req_shift_opened done [11:23:09]requested_item shift.open_date is exist - process it [11:23:09]req_shift_open_date [11:23:09]req_shift_open_date done [11:23:09]produce_requested_data done [11:23:09]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48967,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:23:09]process_action_free close_receipt [11:23:09]json_value_free [11:23:09]json_value_free done [11:23:09]process_json_proto returns [11:23:09]Send response to host [11:23:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48967,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:23:09]free response buf [11:23:09]execute_script done [11:23:09]execute_script returns [11:23:09]free content buf [11:23:09]Sock 9.Close socket [11:23:09]Sock 9.Thread stoped [11:23:13]OFD Sender: No OFD packet to send [11:23:18]OFD Sender: No OFD packet to send [11:23:23]OFD Sender: No OFD packet to send [11:23:28]OFD Sender: No OFD packet to send [11:23:33]OFD Sender: No OFD packet to send [11:23:38]OFD Sender: No OFD packet to send [11:23:43]OFD Sender: No OFD packet to send [11:23:48]OFD Sender: No OFD packet to send [11:23:53]OFD Sender: No OFD packet to send [11:23:58]OFD Sender: No OFD packet to send [11:24:03]OFD Sender: No OFD packet to send [11:24:08]OFD Sender: No OFD packet to send [11:24:13]OFD Sender: No OFD packet to send [11:24:18]OFD Sender: No OFD packet to send [11:24:23]OFD Sender: No OFD packet to send [11:24:28]OFD Sender: No OFD packet to send [11:24:33]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:08]OFD Sender: No OFD packet to send [11:25:13]OFD Sender: No OFD packet to send [11:25:18]OFD Sender: No OFD packet to send [11:25:23]OFD Sender: No OFD packet to send [11:25:28]OFD Sender: No OFD packet to send [11:25:33]OFD Sender: No OFD packet to send [11:25:38]OFD Sender: No OFD packet to send [11:25:43]OFD Sender: No OFD packet to send [11:25:48]OFD Sender: No OFD packet to send [11:25:53]OFD Sender: No OFD packet to send [11:25:58]OFD Sender: No OFD packet to send [11:26:00]accept exits with 7 [11:26:00]New connection [11:26:00]New thread 3066813796 created [11:26:00]Thread 3066670436 joined [11:26:00]Waiting for new connection... [11:26:00] Sock 7.Parse request [11:26:00]Sock 7.Check first char [11:26:00]Sock 7.First char is OK [11:26:00]request: POST /json_proto HTTP/1.0 [11:26:00]Method: POST [11:26:00]URL: /json_proto [11:26:00]Method is POST - this is cgi request [11:26:00]url: /json_proto [11:26:00]query_string will be loaded in cgi processing [11:26:00]execute_cgi json_proto POST (null) [11:26:00]execute_cgi path=json_proto method=POST [11:26:00]POST find Content-Length [11:26:00]Host: 172.17.56.67:8080 [11:26:00]Content-Length: 677 [11:26:00]Content-Type: application/json [11:26:00] [11:26:00]POST finish read [11:26:00]Found Content-Length = 677 [11:26:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216065", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [11:26:00]execute_script... [11:26: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)216065", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [11:26:00]POST & json_proto [11:26:00]process_json_proto [11:26:00]json parsed OK: [11:26:00]protocol is kg_v1.0 [11:26:00]action value=close_receipt [11:26:00]process_action close_receipt [11:26:00]cmd_close_receipt [11:26:00]MH_GetDate [11:26:00]Write to MH i2c: F0 00 00 A4 2D C0 [11:26:00]Write i2c OK [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: F0 [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: F0 09 00 [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: F0 09 00 A4 2D 00 D0 39 B6 65 26 5D 9E 65 73 [11:26:00]GetLastDocTimeStamp 1706440993 [11:26:00]current date 1706441168 [11:26:00]FM_GetShiftState [11:26:00]SAM_PROTO_GetShiftState [11:26:00]wFMCommunicate request_size=4 [11:26:00]MH_SAM_APDU [11:26:00]CAPDU: 80 13 01 00 [11:26:00]Write to MH i2c: E2 08 00 A5 2D 80 13 01 00 00 00 00 00 4F [11:26:00]Write i2c OK [11:26:00]MH_I2C_Read... [11:26:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:26:00]Read from MH i2c: E2 [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: E2 0E 00 [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: E2 0E 00 A5 2D 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D5 [11:26:00]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:26:00]wFMCommunicate OK [11:26:00]SAM_PROTO_GetShiftState done [11:26:00]FM_GetShiftState done [11:26:00]opened in 1706400199 [11:26:00]opened+sec_in_day 1706486599 [11:26:00]quantity*price = 20019 [11:26:00]sum+1 = 20021 [11:26:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 33 28.01.2024 11:26 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48968 ФПД: 170388582425002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112608&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48968&fm=170388582425002&tin=02508201610067®Number=0000000000092723&sum=20000 [11:26:01]StoreToDocumentArchive [11:26:01]shift 244 fd 48968 [11:26:01]save to /storage/0244/doc_00048968 [11:26:01]save last doc name /storage/0244/doc_00048968 to /storage/kkm_last_doc_name [11:26:01]save OK [11:26:01]Clear old archive folders... [11:26:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:26:01]tlvbuf is 011DB130 [11:26:01]SAM_PROTO_ClearQueue [11:26:01]wFMCommunicate request_size=4 [11:26:01]MH_SAM_APDU [11:26:01]CAPDU: 80 09 00 00 [11:26:01]Write to MH i2c: E2 08 00 B2 2D 80 09 00 00 00 00 00 00 51 [11:26:01]Write i2c OK [11:26:01]MH_I2C_Read... [11:26:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:26:01]Read from MH i2c: E2 [11:26:01]MH_I2C_Read... [11:26:01]Read from MH i2c: E2 03 00 [11:26:01]MH_I2C_Read... [11:26:01]Read from MH i2c: E2 03 00 B2 2D 00 90 00 53 [11:26:01]RAPDU: 90 00 [11:26:01]wFMCommunicate OK [11:26:01]SAM_PROTO_ClearQueue done [11:26:01]KKMCreateOFDPacket [11:26:01]OFDProtocolAddRootSTLVToBuf [11:26:01]FM_MakeSignedData [11:26:01]FM_MakeSignedData [11:26:01]SAM_PROTO_SignData [11:26:01]wFMCommunicate request_size=4 [11:26:01]MH_SAM_APDU [11:26:01]CAPDU: 80 0D 01 02 [11:26:01]Write to MH i2c: E2 08 00 B3 2D 80 0D 01 02 00 00 00 00 59 [11:26:01]Write i2c OK [11:26:01]MH_I2C_Read... [11:26:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:26:01]Read from MH i2c: E2 [11:26:01]MH_I2C_Read... [11:26:01]Read from MH i2c: E2 03 00 [11:26:01]MH_I2C_Read... [11:26:01]Read from MH i2c: E2 03 00 B3 2D 00 90 00 54 [11:26:01]RAPDU: 90 00 [11:26:01]wFMCommunicate OK [11:26:01]wFMCommunicate request_size=255 [11:26:01]MH_SAM_APDU [11:26:01]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 21 00 00 00 F4 03 04 00 D0 39 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 48 BF 00 00 35 04 06 00 9A [11:26:01]Write to MH i2c: E2 02 01 B4 2D 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 21 00 00 00 F4 03 04 00 D0 39 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 48 BF 00 00 35 04 06 00 9A 00 00 43 [11:26:01]Write i2c OK [11:26:01]MH_I2C_Read... [11:26:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:26:02]Read from MH i2c: E2 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: E2 03 00 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: E2 03 00 B4 2D 00 90 00 55 [11:26:02]RAPDU: 90 00 [11:26:02]wFMCommunicate OK [11:26:02]wFMCommunicate request_size=10 [11:26:02]MH_SAM_APDU [11:26:02]CAPDU: 80 0D 02 02 05 F7 AE ED E1 AA [11:26:02]Write to MH i2c: E2 0D 00 B5 2D 80 0D 02 02 05 00 F7 AE ED E1 AA 00 00 83 [11:26:02]Write i2c OK [11:26:02]MH_I2C_Read... [11:26:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:26:02]Read from MH i2c: E2 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: E2 03 00 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: E2 03 00 B5 2D 00 90 00 56 [11:26:02]RAPDU: 90 00 [11:26:02]wFMCommunicate OK [11:26:02]wFMCommunicate request_size=4 [11:26:02]MH_SAM_APDU [11:26:02]CAPDU: 80 0D 03 02 [11:26:02]Write to MH i2c: E2 08 00 B6 2D 80 0D 03 02 00 00 00 00 5E [11:26:02]Write i2c OK [11:26:02]MH_I2C_Read... [11:26:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:26:02]Read from MH i2c: E2 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: E2 0B 00 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: E2 0B 00 B6 2D 00 03 B1 EE 84 F2 DD 7F 3A 90 00 0D [11:26:02]RAPDU: 03 B1 EE 84 F2 DD 7F 3A 90 00 [11:26:02]wFMCommunicate OK [11:26:02]SAM_PROTO_SignData done [11:26:02]FM_MakeSignedData done [11:26:02]CreateOFDProtocolMessage [11:26:02]wFMCommunicate request_size=4 [11:26:02]MH_SAM_APDU [11:26:02]CAPDU: 80 11 00 00 [11:26:02]Write to MH i2c: E2 08 00 B7 2D 80 11 00 00 00 00 00 00 5E [11:26:02]Write i2c OK [11:26:02]MH_I2C_Read... [11:26:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:26:02]Read from MH i2c: E2 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: E2 17 00 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: E2 17 00 B7 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 AB [11:26:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:26:02]wFMCommunicate OK [11:26:02]CreateOFDProtocolMessage done [11:26:02]OFDSenderStorePacket 48968 [11:26:02]StoreOFDPacket docnum=48968 [11:26:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 42 3C 07 01 5B F4 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 21 00 00 00 F4 03 04 00 D0 39 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 48 BF 00 00 35 04 06 00 9A F7 AE ED E1 AA 03 B1 EE 84 F2 DD 7F 3A [11:26:02]CheckFolder [11:26:02]dirname=/storage/ofd_packets [11:26:02]CheckFolder done [11:26:02]ProducePacketName [11:26:02]name=ofd_packets/00048968 [11:26:02]NVStorageSaveData ofd_packets/00048968 [11:26:02]File name is /storage/ofd_packets/00048968 [11:26:02]Write 301 bytes [11:26:02]NVStorageSaveData done [11:26:02]OFDSenderStorePacket done [11:26:02]KKMCreateOFDPacket done [11:26:02]NVStorageSaveData kkm_last_timestamp [11:26:02]File name is /storage/kkm_last_timestamp [11:26:02]Write 4 bytes [11:26:02]NVStorageSaveData done [11:26:02]ExternCall_PrintAddStr [11:26:02]wPrintStart [11:26:02]Write to MH i2c: 01 00 00 B8 2D E5 [11:26:02]Write i2c OK [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: 01 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: 01 07 00 [11:26:02]MH_I2C_Read... [11:26:02]Read from MH i2c: 01 07 00 B8 2D 00 00 00 00 00 FF 0F FA [11:26:02]RasterBufferAndPrint [11:26:02]line Счет N : (1)216065 [11:26:02]line ИÐÐ: 02508201610067 [11:26:02]line Контрольно-КаÑÑовый Чек [11:26:02]line ПРОДÐЖР[11:26:02]line ТРК (МРК, ГÐК) : 12 [11:26:02]line Товар: 2710124130 [11:26:02]line Ðи-92-К-5 [11:26:02]line 3.320 * 60.30 [11:26:02]line = 200.20 [11:26:02]line ÐДС 12% ÐСП 1% [11:26:02]line > о реализуемом товаре [11:26:02]line ОКРУГЛЕÐИЕ: -0.20 [11:26:02]line ИТОГО: 200.00 [11:26:02]line ВнеÑено: 200.00 [11:26:02]line СДÐЧÐ: 0.00 [11:26:02]line ÐСП 1% : 1.77 [11:26:02]line ÐДС 12% : 21.26 [11:26:02]line Ðаличными: 200.00 [11:26:02]line Безнал.: 0.00 [11:26:02]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:26:02]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:26:02]line СÐО: Общий режим [11:26:02]line Чек 33 28.01.2024 11:26 [11:26:02]line Смена: 244 ФФД: 1.0 [11:26:02]line ЗÐМ: 0300000040 [11:26:02]line РÐМ: 0000000000092723 [11:26:02]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:26:02]line ФМ: 0000000000875060 [11:26:02]line ФД: 48968 [11:26:02]line ФПД: 170388582425002 [11:26:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112608&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48968&fm=170388582425002&tin=02508201610067®Number=0000000000092723&sum=20000 [11:26:02]OFD Sender: Processing packet 48968 [packets to send 12, broken 11] [11:26:02]ProducePacketName [11:26:02]name=ofd_packets/00048968 [11:26:02]OFD Sender: To server: ‡•öpG, [11:26:02]CommunicateWithHost lk.salyk.kg:30040 [11:26:02]ConnectInit lk.salyk.kg [11:26:02]written 0, free lines is 4095 [11:26:03]Write to MH i2c: 01 00 00 E3 2D 10 [11:26:03]Write i2c OK [11:26:03]MH_I2C_Read... [11:26:03]Read from MH i2c: 01 [11:26:03]MH_I2C_Read... [11:26:03]Read from MH i2c: 01 07 00 [11:26:03]MH_I2C_Read... [11:26:03]Read from MH i2c: 01 07 00 E3 2D 00 00 00 00 00 EE 0C 11 [11:26:03]RasterBufferAndPrint [11:26:03]line [11:26:03]line [11:26:03]line [11:26:03]line [11:26:03]line [11:26:03]written 0, free lines is 3317 [11:26:03]MH_Cut [11:26:03]Write to MH i2c: D1 01 00 EA 2D 01 E9 [11:26:03]Write i2c OK [11:26:03]MH_I2C_Read... [11:26:03]Read from MH i2c: D1 [11:26:03]MH_I2C_Read... [11:26:03]Read from MH i2c: D1 01 00 [11:26:03]MH_I2C_Read... [11:26:03]Read from MH i2c: D1 01 00 EA 2D 00 E8 [11:26:03]Write to MH i2c: 01 00 00 EB 2D 18 [11:26:03]Write i2c OK [11:26:03]MH_I2C_Read... [11:26:03]*** Cut start [11:26:03]*** Partial cut [11:26:03]*** CUTSNS_PIN = 1 [11:26:03]*** CUTSNS_PIN = 0 [11:26:04]*** Brake cut motor [11:26:04]Read from MH i2c: 01 [11:26:04]MH_I2C_Read... [11:26:04]*** Stop cut motor [11:26:04]*** Cut end [11:26:04]Read from MH i2c: 01 07 00 [11:26:04]MH_I2C_Read... [11:26:04]Read from MH i2c: 01 07 00 EB 2D 00 00 00 00 00 FF 0F 2D [11:26:04]process_action close_receipt done [11:26:04]requested_data is exist [11:26:04]produce_requested_data [11:26:04]requested_item fm.sn is exist - process it [11:26:04]wFMCommunicate request_size=4 [11:26:04]MH_SAM_APDU [11:26:04]CAPDU: 80 11 00 00 [11:26:04]Write to MH i2c: E2 08 00 EC 2D 80 11 00 00 00 00 00 00 93 [11:26:04]Write i2c OK [11:26:04]MH_I2C_Read... [11:26:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:26:04]Read from MH i2c: E2 [11:26:04]MH_I2C_Read... [11:26:04]Read from MH i2c: E2 17 00 [11:26:04]MH_I2C_Read... [11:26:04]Read from MH i2c: E2 17 00 EC 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 E0 [11:26:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:26:04]wFMCommunicate OK [11:26:04]requested_item fd.num is exist - process it [11:26:04]SAM_PROTO_GetFieldsCounters [11:26:04]wFMCommunicate request_size=4 [11:26:04]MH_SAM_APDU [11:26:04]CAPDU: 80 13 00 00 [11:26:04]Write to MH i2c: E2 08 00 ED 2D 80 13 00 00 00 00 00 00 96 [11:26:04]Write i2c OK [11:26:04]MH_I2C_Read... [11:26:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:26:04]Read from MH i2c: E2 [11:26:04]MH_I2C_Read... [11:26:04]Read from MH i2c: E2 62 00 [11:26:04]MH_I2C_Read... [11:26:04]Read from MH i2c: E2 62 00 ED 2D 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 48 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [11:26: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 48 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:26:04]wFMCommunicate OK [11:26:04]SAM_PROTO_GetFieldsCounters done [11:26:04]requested_item shift.num is exist - process it [11:26:04]requested_item shift.opened is exist - process it [11:26:04]req_shift_opened [11:26:04]FM_GetShiftState [11:26:04]SAM_PROTO_GetShiftState [11:26:04]wFMCommunicate request_size=4 [11:26:04]MH_SAM_APDU [11:26:04]CAPDU: 80 13 01 00 [11:26:04]Write to MH i2c: E2 08 00 EE 2D 80 13 01 00 00 00 00 00 98 [11:26:04]Write i2c OK [11:26:04]MH_I2C_Read... [11:26:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:26:04]Read from MH i2c: E2 [11:26:04]MH_I2C_Read... [11:26:04]Read from MH i2c: E2 0E 00 [11:26:04]MH_I2C_Read... [11:26:04]Read from MH i2c: E2 0E 00 EE 2D 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 1E [11:26:04]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:26:04]wFMCommunicate OK [11:26:04]SAM_PROTO_GetShiftState done [11:26:04]FM_GetShiftState done [11:26:04]req_shift_opened done [11:26:04]requested_item shift.open_date is exist - process it [11:26:04]req_shift_open_date [11:26:04]req_shift_open_date done [11:26:04]produce_requested_data done [11:26:04]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48968,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:26:04]process_action_free close_receipt [11:26:04]json_value_free [11:26:04]json_value_free done [11:26:04]process_json_proto returns [11:26:04]Send response to host [11:26:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48968,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:26:04]free response buf [11:26:04]execute_script done [11:26:04]execute_script returns [11:26:04]free content buf [11:26:04]Sock 7.Close socket [11:26:04]Sock 7.Thread stoped [11:27:05]accept exits with 9 [11:27:05]New connection [11:27:05]New thread 3066670436 created [11:27:05]Thread 3066813796 joined [11:27:05]Waiting for new connection... [11:27:05] Sock 9.Parse request [11:27:05]Sock 9.Check first char [11:27:05]Sock 9.First char is OK [11:27:05]request: POST /json_proto HTTP/1.0 [11:27:05]Method: POST [11:27:05]URL: /json_proto [11:27:05]Method is POST - this is cgi request [11:27:05]url: /json_proto [11:27:05]query_string will be loaded in cgi processing [11:27:05]execute_cgi json_proto POST (null) [11:27:05]execute_cgi path=json_proto method=POST [11:27:05]POST find Content-Length [11:27:05]Host: 172.17.56.67:8080 [11:27:05]Content-Length: 677 [11:27:05]Content-Type: application/json [11:27:05] [11:27:05]POST finish read [11:27:05]Found Content-Length = 677 [11:27:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216066", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.150, "sum" : 250.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 250.00, "total" : 250.00, "payments": [ { "type": 0, "sum" : 250.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:05]execute_script... [11:27:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216066", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.150, "sum" : 250.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 250.00, "total" : 250.00, "payments": [ { "type": 0, "sum" : 250.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:05]POST & json_proto [11:27:05]process_json_proto [11:27:05]json parsed OK: [11:27:05]protocol is kg_v1.0 [11:27:05]action value=close_receipt [11:27:05]process_action close_receipt [11:27:05]cmd_close_receipt [11:27:05]MH_GetDate [11:27:05]Write to MH i2c: F0 00 00 EF 2D 0B [11:27:05]Write i2c OK [11:27:05]MH_I2C_Read... [11:27:05]Read from MH i2c: F0 [11:27:05]MH_I2C_Read... [11:27:05]Read from MH i2c: F0 09 00 [11:27:05]MH_I2C_Read... [11:27:05]Read from MH i2c: F0 09 00 EF 2D 00 11 3A B6 65 26 5D 9E 65 00 [11:27:05]GetLastDocTimeStamp 1706441168 [11:27:05]current date 1706441233 [11:27:05]FM_GetShiftState [11:27:05]SAM_PROTO_GetShiftState [11:27:05]wFMCommunicate request_size=4 [11:27:05]MH_SAM_APDU [11:27:05]CAPDU: 80 13 01 00 [11:27:05]Write to MH i2c: E2 08 00 F0 2D 80 13 01 00 00 00 00 00 9A [11:27:05]Write i2c OK [11:27:05]MH_I2C_Read... [11:27:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:05]Read from MH i2c: E2 [11:27:05]MH_I2C_Read... [11:27:05]Read from MH i2c: E2 0E 00 [11:27:05]MH_I2C_Read... [11:27:05]Read from MH i2c: E2 0E 00 F0 2D 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 20 [11:27:05]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:27:05]wFMCommunicate OK [11:27:05]SAM_PROTO_GetShiftState done [11:27:05]FM_GetShiftState done [11:27:05]opened in 1706400199 [11:27:05]opened+sec_in_day 1706486599 [11:27:05]quantity*price = 25024 [11:27:05]sum+1 = 25026 [11:27:05]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.25 ИТОГО: 250.00 ВнеÑено: 250.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.21 ÐДС 12% : 26.57 Ðаличными: 250.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 34 28.01.2024 11:27 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48969 ФПД: 8634587645923 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112713&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48969&fm=8634587645923&tin=02508201610067®Number=0000000000092723&sum=25000 [11:27:06]StoreToDocumentArchive [11:27:06]shift 244 fd 48969 [11:27:06]save to /storage/0244/doc_00048969 [11:27:06]save last doc name /storage/0244/doc_00048969 to /storage/kkm_last_doc_name [11:27:06]save OK [11:27:06]Clear old archive folders... [11:27:06]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:27:06]tlvbuf is 01244410 [11:27:06]SAM_PROTO_ClearQueue [11:27:06]wFMCommunicate request_size=4 [11:27:06]MH_SAM_APDU [11:27:06]CAPDU: 80 09 00 00 [11:27:06]Write to MH i2c: E2 08 00 FD 2D 80 09 00 00 00 00 00 00 9C [11:27:06]Write i2c OK [11:27:06]MH_I2C_Read... [11:27:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:27:06]Read from MH i2c: E2 [11:27:06]MH_I2C_Read... [11:27:06]Read from MH i2c: E2 03 00 [11:27:06]MH_I2C_Read... [11:27:06]Read from MH i2c: E2 03 00 FD 2D 00 90 00 9E [11:27:06]RAPDU: 90 00 [11:27:06]wFMCommunicate OK [11:27:06]SAM_PROTO_ClearQueue done [11:27:06]KKMCreateOFDPacket [11:27:06]OFDProtocolAddRootSTLVToBuf [11:27:06]FM_MakeSignedData [11:27:06]FM_MakeSignedData [11:27:06]SAM_PROTO_SignData [11:27:06]wFMCommunicate request_size=4 [11:27:06]MH_SAM_APDU [11:27:06]CAPDU: 80 0D 01 02 [11:27:06]Write to MH i2c: E2 08 00 FE 2D 80 0D 01 02 00 00 00 00 A4 [11:27:06]Write i2c OK [11:27:06]MH_I2C_Read... [11:27:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:27:06]Read from MH i2c: E2 [11:27:06]MH_I2C_Read... [11:27:06]Read from MH i2c: E2 03 00 [11:27:06]MH_I2C_Read... [11:27:06]Read from MH i2c: E2 03 00 FE 2D 00 90 00 9F [11:27:06]RAPDU: 90 00 [11:27:06]wFMCommunicate OK [11:27:06]wFMCommunicate request_size=255 [11:27:06]MH_SAM_APDU [11:27:06]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 36 10 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C1 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 11 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 49 BF 00 00 35 04 06 00 07 [11:27:06]Write to MH i2c: E2 02 01 FF 2D 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 36 10 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C1 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 11 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 49 BF 00 00 35 04 06 00 07 00 00 98 [11:27:06]Write i2c OK [11:27:06]MH_I2C_Read... [11:27:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:07]Read from MH i2c: E2 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: E2 03 00 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: E2 03 00 FF 2D 00 90 00 A0 [11:27:07]RAPDU: 90 00 [11:27:07]wFMCommunicate OK [11:27:07]wFMCommunicate request_size=10 [11:27:07]MH_SAM_APDU [11:27:07]CAPDU: 80 0D 02 02 05 DA 65 87 87 E3 [11:27:07]Write to MH i2c: E2 0D 00 00 2E 80 0D 02 02 05 00 DA 65 87 87 E3 00 00 E2 [11:27:07]Write i2c OK [11:27:07]MH_I2C_Read... [11:27:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:07]Read from MH i2c: E2 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: E2 03 00 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: E2 03 00 00 2E 00 90 00 A2 [11:27:07]RAPDU: 90 00 [11:27:07]wFMCommunicate OK [11:27:07]wFMCommunicate request_size=4 [11:27:07]MH_SAM_APDU [11:27:07]CAPDU: 80 0D 03 02 [11:27:07]Write to MH i2c: E2 08 00 01 2E 80 0D 03 02 00 00 00 00 AA [11:27:07]Write i2c OK [11:27:07]MH_I2C_Read... [11:27:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:27:07]Read from MH i2c: E2 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: E2 0B 00 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: E2 0B 00 01 2E 00 60 3B 11 99 53 18 90 DB 90 00 C6 [11:27:07]RAPDU: 60 3B 11 99 53 18 90 DB 90 00 [11:27:07]wFMCommunicate OK [11:27:07]SAM_PROTO_SignData done [11:27:07]FM_MakeSignedData done [11:27:07]CreateOFDProtocolMessage [11:27:07]wFMCommunicate request_size=4 [11:27:07]MH_SAM_APDU [11:27:07]CAPDU: 80 11 00 00 [11:27:07]Write to MH i2c: E2 08 00 02 2E 80 11 00 00 00 00 00 00 AA [11:27:07]Write i2c OK [11:27:07]MH_I2C_Read... [11:27:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:07]Read from MH i2c: E2 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: E2 17 00 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: E2 17 00 02 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 F7 [11:27:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:27:07]wFMCommunicate OK [11:27:07]CreateOFDProtocolMessage done [11:27:07]OFDSenderStorePacket 48969 [11:27:07]StoreOFDPacket docnum=48969 [11:27:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 AF 28 07 01 45 8B 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 36 10 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C1 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 11 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 49 BF 00 00 35 04 06 00 07 DA 65 87 87 E3 60 3B 11 99 53 18 90 DB [11:27:07]CheckFolder [11:27:07]dirname=/storage/ofd_packets [11:27:07]CheckFolder done [11:27:07]ProducePacketName [11:27:07]name=ofd_packets/00048969 [11:27:07]NVStorageSaveData ofd_packets/00048969 [11:27:07]File name is /storage/ofd_packets/00048969 [11:27:07]Write 301 bytes [11:27:07]NVStorageSaveData done [11:27:07]OFDSenderStorePacket done [11:27:07]KKMCreateOFDPacket done [11:27:07]NVStorageSaveData kkm_last_timestamp [11:27:07]File name is /storage/kkm_last_timestamp [11:27:07]Write 4 bytes [11:27:07]NVStorageSaveData done [11:27:07]ExternCall_PrintAddStr [11:27:07]wPrintStart [11:27:07]Write to MH i2c: 01 00 00 03 2E 31 [11:27:07]Write i2c OK [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: 01 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: 01 07 00 [11:27:07]MH_I2C_Read... [11:27:07]Read from MH i2c: 01 07 00 03 2E 00 00 00 00 00 FF 0F 46 [11:27:07]RasterBufferAndPrint [11:27:07]line Счет N : (1)216066 [11:27:07]line ИÐÐ: 02508201610067 [11:27:07]line Контрольно-КаÑÑовый Чек [11:27:07]line ПРОДÐЖР[11:27:07]line ТРК (МРК, ГÐК) : 22 [11:27:07]line Товар: 2710124130 [11:27:07]line Ðи-92-К-5 [11:27:07]line 4.150 * 60.30 [11:27:07]line = 250.25 [11:27:07]line ÐДС 12% ÐСП 1% [11:27:07]line > о реализуемом товаре [11:27:07]line ОКРУГЛЕÐИЕ: -0.25 [11:27:07]line ИТОГО: 250.00 [11:27:07]line ВнеÑено: 250.00 [11:27:07]line СДÐЧÐ: 0.00 [11:27:07]line ÐСП 1% : 2.21 [11:27:07]line ÐДС 12% : 26.57 [11:27:07]line Ðаличными: 250.00 [11:27:07]line Безнал.: 0.00 [11:27:07]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:27:07]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:27:07]line СÐО: Общий режим [11:27:07]line Чек 34 28.01.2024 11:27 [11:27:07]line Смена: 244 ФФД: 1.0 [11:27:07]line ЗÐМ: 0300000040 [11:27:07]line РÐМ: 0000000000092723 [11:27:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:27:07]line ФМ: 0000000000875060 [11:27:07]line ФД: 48969 [11:27:07]line ФПД: 8634587645923 [11:27:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112713&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48969&fm=8634587645923&tin=02508201610067®Number=0000000000092723&sum=25000 [11:27:07]written 0, free lines is 4095 [11:27:08]Write to MH i2c: 01 00 00 2E 2E 5C [11:27:08]Write i2c OK [11:27:08]MH_I2C_Read... [11:27:08]Read from MH i2c: 01 [11:27:08]MH_I2C_Read... [11:27:08]Read from MH i2c: 01 07 00 [11:27:08]MH_I2C_Read... [11:27:08]Read from MH i2c: 01 07 00 2E 2E 00 00 00 00 00 F3 0C 62 [11:27:08]RasterBufferAndPrint [11:27:08]line [11:27:08]line [11:27:08]line [11:27:08]line [11:27:08]line [11:27:08]written 0, free lines is 3321 [11:27:08]MH_Cut [11:27:08]Write to MH i2c: D1 01 00 35 2E 01 35 [11:27:08]Write i2c OK [11:27:08]MH_I2C_Read... [11:27:08]Read from MH i2c: D1 [11:27:08]MH_I2C_Read... [11:27:08]Read from MH i2c: D1 01 00 [11:27:08]MH_I2C_Read... [11:27:08]Read from MH i2c: D1 01 00 35 2E 00 34 [11:27:08]Write to MH i2c: 01 00 00 36 2E 64 [11:27:08]Write i2c OK [11:27:08]MH_I2C_Read... [11:27:08]*** Cut start [11:27:08]*** Partial cut [11:27:08]*** CUTSNS_PIN = 1 [11:27:08]*** CUTSNS_PIN = 0 [11:27:08]*** Brake cut motor [11:27:09]Read from MH i2c: 01 [11:27:09]MH_I2C_Read... [11:27:09]*** Stop cut motor [11:27:09]*** Cut end [11:27:09]Read from MH i2c: 01 07 00 [11:27:09]MH_I2C_Read... [11:27:09]Read from MH i2c: 01 07 00 36 2E 00 00 00 00 00 FF 0F 79 [11:27:09]process_action close_receipt done [11:27:09]requested_data is exist [11:27:09]produce_requested_data [11:27:09]requested_item fm.sn is exist - process it [11:27:09]wFMCommunicate request_size=4 [11:27:09]MH_SAM_APDU [11:27:09]CAPDU: 80 11 00 00 [11:27:09]Write to MH i2c: E2 08 00 37 2E 80 11 00 00 00 00 00 00 DF [11:27:09]Write i2c OK [11:27:09]MH_I2C_Read... [11:27:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:09]Read from MH i2c: E2 [11:27:09]MH_I2C_Read... [11:27:09]Read from MH i2c: E2 17 00 [11:27:09]MH_I2C_Read... [11:27:09]Read from MH i2c: E2 17 00 37 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 2C [11:27:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:27:09]wFMCommunicate OK [11:27:09]requested_item fd.num is exist - process it [11:27:09]SAM_PROTO_GetFieldsCounters [11:27:09]wFMCommunicate request_size=4 [11:27:09]MH_SAM_APDU [11:27:09]CAPDU: 80 13 00 00 [11:27:09]Write to MH i2c: E2 08 00 38 2E 80 13 00 00 00 00 00 00 E2 [11:27:09]Write i2c OK [11:27:09]MH_I2C_Read... [11:27:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:27:09]Read from MH i2c: E2 [11:27:09]MH_I2C_Read... [11:27:09]Read from MH i2c: E2 62 00 [11:27:09]MH_I2C_Read... [11:27:09]Read from MH i2c: E2 62 00 38 2E 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 49 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 5D [11:27: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 49 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:27:09]wFMCommunicate OK [11:27:09]SAM_PROTO_GetFieldsCounters done [11:27:09]requested_item shift.num is exist - process it [11:27:09]requested_item shift.opened is exist - process it [11:27:09]req_shift_opened [11:27:09]FM_GetShiftState [11:27:09]SAM_PROTO_GetShiftState [11:27:09]wFMCommunicate request_size=4 [11:27:09]MH_SAM_APDU [11:27:09]CAPDU: 80 13 01 00 [11:27:09]Write to MH i2c: E2 08 00 39 2E 80 13 01 00 00 00 00 00 E4 [11:27:09]Write i2c OK [11:27:09]MH_I2C_Read... [11:27:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:09]Read from MH i2c: E2 [11:27:09]MH_I2C_Read... [11:27:09]Read from MH i2c: E2 0E 00 [11:27:09]MH_I2C_Read... [11:27:09]Read from MH i2c: E2 0E 00 39 2E 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 6A [11:27:09]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:27:09]wFMCommunicate OK [11:27:09]SAM_PROTO_GetShiftState done [11:27:09]FM_GetShiftState done [11:27:09]req_shift_opened done [11:27:09]requested_item shift.open_date is exist - process it [11:27:09]req_shift_open_date [11:27:09]req_shift_open_date done [11:27:09]produce_requested_data done [11:27:09]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48969,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:27:09]process_action_free close_receipt [11:27:09]json_value_free [11:27:09]json_value_free done [11:27:09]process_json_proto returns [11:27:09]Send response to host [11:27:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48969,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:27:09]free response buf [11:27:09]execute_script done [11:27:09]execute_script returns [11:27:09]free content buf [11:27:09]Sock 9.Close socket [11:27:09]Sock 9.Thread stoped [11:27:31]accept exits with 7 [11:27:31]New connection [11:27:31]New thread 3066813796 created [11:27:31]Thread 3066670436 joined [11:27:31]Waiting for new connection... [11:27:31] Sock 7.Parse request [11:27:31]Sock 7.Check first char [11:27:31]Sock 7.First char is OK [11:27:31]request: POST /json_proto HTTP/1.0 [11:27:31]Method: POST [11:27:31]URL: /json_proto [11:27:31]Method is POST - this is cgi request [11:27:31]url: /json_proto [11:27:31]query_string will be loaded in cgi processing [11:27:31]execute_cgi json_proto POST (null) [11:27:31]execute_cgi path=json_proto method=POST [11:27:31]POST find Content-Length [11:27:31]Host: 172.17.56.67:8080 [11:27:31]Content-Length: 677 [11:27:31]Content-Type: application/json [11:27:31] [11:27:31]POST finish read [11:27:31]Found Content-Length = 677 [11:27:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216067", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.010, "sum" : 362.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 362.00, "payments": [ { "type": 0, "sum" : 362.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:31]execute_script... [11:27: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)216067", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.010, "sum" : 362.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 362.00, "payments": [ { "type": 0, "sum" : 362.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:31]POST & json_proto [11:27:31]process_json_proto [11:27:31]json parsed OK: [11:27:31]protocol is kg_v1.0 [11:27:31]action value=close_receipt [11:27:31]process_action close_receipt [11:27:31]cmd_close_receipt [11:27:31]MH_GetDate [11:27:31]Write to MH i2c: F0 00 00 3A 2E 57 [11:27:31]Write i2c OK [11:27:31]MH_I2C_Read... [11:27:31]Read from MH i2c: F0 [11:27:31]MH_I2C_Read... [11:27:31]Read from MH i2c: F0 09 00 [11:27:31]MH_I2C_Read... [11:27:31]Read from MH i2c: F0 09 00 3A 2E 00 2B 3A B6 65 26 5D 9E 65 66 [11:27:31]GetLastDocTimeStamp 1706441233 [11:27:31]current date 1706441259 [11:27:31]FM_GetShiftState [11:27:31]SAM_PROTO_GetShiftState [11:27:31]wFMCommunicate request_size=4 [11:27:31]MH_SAM_APDU [11:27:31]CAPDU: 80 13 01 00 [11:27:31]Write to MH i2c: E2 08 00 3B 2E 80 13 01 00 00 00 00 00 E6 [11:27:31]Write i2c OK [11:27:31]MH_I2C_Read... [11:27:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:31]Read from MH i2c: E2 [11:27:31]MH_I2C_Read... [11:27:31]Read from MH i2c: E2 0E 00 [11:27:31]MH_I2C_Read... [11:27:31]Read from MH i2c: E2 0E 00 3B 2E 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 6C [11:27:31]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:27:31]wFMCommunicate OK [11:27:31]SAM_PROTO_GetShiftState done [11:27:31]FM_GetShiftState done [11:27:31]opened in 1706400199 [11:27:31]opened+sec_in_day 1706486599 [11:27:31]quantity*price = 36240 [11:27:31]sum+1 = 36241 [11:27:31]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.40 ИТОГО: 362.00 ВнеÑено: 400.00 СДÐЧÐ: 38.00 ÐСП 1% : 3.21 ÐДС 12% : 38.48 Ðаличными: 362.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 35 28.01.2024 11:27 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48970 ФПД: 244020237320352 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112739&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48970&fm=244020237320352&tin=02508201610067®Number=0000000000092723&sum=36200 [11:27:32]StoreToDocumentArchive [11:27:32]shift 244 fd 48970 [11:27:32]save to /storage/0244/doc_00048970 [11:27:32]save last doc name /storage/0244/doc_00048970 to /storage/kkm_last_doc_name [11:27:32]save OK [11:27:32]Clear old archive folders... [11:27:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:27:32]tlvbuf is 011DB0D0 [11:27:32]SAM_PROTO_ClearQueue [11:27:32]wFMCommunicate request_size=4 [11:27:32]MH_SAM_APDU [11:27:32]CAPDU: 80 09 00 00 [11:27:32]Write to MH i2c: E2 08 00 48 2E 80 09 00 00 00 00 00 00 E8 [11:27:32]Write i2c OK [11:27:32]MH_I2C_Read... [11:27:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:27:32]Read from MH i2c: E2 [11:27:32]MH_I2C_Read... [11:27:32]Read from MH i2c: E2 03 00 [11:27:32]MH_I2C_Read... [11:27:32]Read from MH i2c: E2 03 00 48 2E 00 90 00 EA [11:27:32]RAPDU: 90 00 [11:27:32]wFMCommunicate OK [11:27:32]SAM_PROTO_ClearQueue done [11:27:32]KKMCreateOFDPacket [11:27:32]OFDProtocolAddRootSTLVToBuf [11:27:32]FM_MakeSignedData [11:27:32]FM_MakeSignedData [11:27:32]SAM_PROTO_SignData [11:27:32]wFMCommunicate request_size=4 [11:27:32]MH_SAM_APDU [11:27:32]CAPDU: 80 0D 01 02 [11:27:32]Write to MH i2c: E2 08 00 49 2E 80 0D 01 02 00 00 00 00 F0 [11:27:32]Write i2c OK [11:27:32]MH_I2C_Read... [11:27:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:27:32]Read from MH i2c: E2 [11:27:32]MH_I2C_Read... [11:27:32]Read from MH i2c: E2 03 00 [11:27:32]MH_I2C_Read... [11:27:32]Read from MH i2c: E2 03 00 49 2E 00 90 00 EB [11:27:32]RAPDU: 90 00 [11:27:32]wFMCommunicate OK [11:27:32]wFMCommunicate request_size=255 [11:27:32]MH_SAM_APDU [11:27:32]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 7A 17 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 90 8D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0F 00 00 00 00 07 04 06 00 68 8D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 2B 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4A BF 00 00 35 04 06 00 DD [11:27:32]Write to MH i2c: E2 02 01 4A 2E 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 7A 17 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 90 8D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0F 00 00 00 00 07 04 06 00 68 8D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 2B 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4A BF 00 00 35 04 06 00 DD 00 00 05 [11:27:32]Write i2c OK [11:27:32]MH_I2C_Read... [11:27:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:32]Read from MH i2c: E2 [11:27:32]MH_I2C_Read... [11:27:32]Read from MH i2c: E2 03 00 [11:27:32]MH_I2C_Read... [11:27:32]Read from MH i2c: E2 03 00 4A 2E 00 90 00 EC [11:27:32]RAPDU: 90 00 [11:27:32]wFMCommunicate OK [11:27:32]wFMCommunicate request_size=10 [11:27:32]MH_SAM_APDU [11:27:32]CAPDU: 80 0D 02 02 05 EF 63 90 40 A0 [11:27:32]Write to MH i2c: E2 0D 00 4B 2E 80 0D 02 02 05 00 EF 63 90 40 A0 00 00 BF [11:27:32]Write i2c OK [11:27:32]MH_I2C_Read... [11:27:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:32]Read from MH i2c: E2 [11:27:32]MH_I2C_Read... [11:27:32]Read from MH i2c: E2 03 00 [11:27:32]MH_I2C_Read... [11:27:32]Read from MH i2c: E2 03 00 4B 2E 00 90 00 ED [11:27:32]RAPDU: 90 00 [11:27:32]wFMCommunicate OK [11:27:32]wFMCommunicate request_size=4 [11:27:32]MH_SAM_APDU [11:27:32]CAPDU: 80 0D 03 02 [11:27:32]Write to MH i2c: E2 08 00 4C 2E 80 0D 03 02 00 00 00 00 F5 [11:27:32]Write i2c OK [11:27:32]MH_I2C_Read... [11:27:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:27:33]Read from MH i2c: E2 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: E2 0B 00 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: E2 0B 00 4C 2E 00 E8 5B A1 79 74 50 EF E5 90 00 EB [11:27:33]RAPDU: E8 5B A1 79 74 50 EF E5 90 00 [11:27:33]wFMCommunicate OK [11:27:33]SAM_PROTO_SignData done [11:27:33]FM_MakeSignedData done [11:27:33]CreateOFDProtocolMessage [11:27:33]wFMCommunicate request_size=4 [11:27:33]MH_SAM_APDU [11:27:33]CAPDU: 80 11 00 00 [11:27:33]Write to MH i2c: E2 08 00 4D 2E 80 11 00 00 00 00 00 00 F5 [11:27:33]Write i2c OK [11:27:33]MH_I2C_Read... [11:27:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:33]Read from MH i2c: E2 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: E2 17 00 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: E2 17 00 4D 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 42 [11:27:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:27:33]wFMCommunicate OK [11:27:33]CreateOFDProtocolMessage done [11:27:33]OFDSenderStorePacket 48970 [11:27:33]StoreOFDPacket docnum=48970 [11:27:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 20 86 07 01 F8 80 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 7A 17 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 90 8D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0F 00 00 00 00 07 04 06 00 68 8D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 2B 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4A BF 00 00 35 04 06 00 DD EF 63 90 40 A0 E8 5B A1 79 74 50 EF E5 [11:27:33]CheckFolder [11:27:33]dirname=/storage/ofd_packets [11:27:33]CheckFolder done [11:27:33]ProducePacketName [11:27:33]name=ofd_packets/00048970 [11:27:33]NVStorageSaveData ofd_packets/00048970 [11:27:33]File name is /storage/ofd_packets/00048970 [11:27:33]Write 301 bytes [11:27:33]NVStorageSaveData done [11:27:33]OFDSenderStorePacket done [11:27:33]KKMCreateOFDPacket done [11:27:33]NVStorageSaveData kkm_last_timestamp [11:27:33]File name is /storage/kkm_last_timestamp [11:27:33]Write 4 bytes [11:27:33]NVStorageSaveData done [11:27:33]ExternCall_PrintAddStr [11:27:33]wPrintStart [11:27:33]Write to MH i2c: 01 00 00 4E 2E 7C [11:27:33]Write i2c OK [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: 01 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: 01 07 00 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: 01 07 00 4E 2E 00 00 00 00 00 FF 0F 91 [11:27:33]RasterBufferAndPrint [11:27:33]line Счет N : (1)216067 [11:27:33]line ИÐÐ: 02508201610067 [11:27:33]line Контрольно-КаÑÑовый Чек [11:27:33]line ПРОДÐЖР[11:27:33]line ТРК (МРК, ГÐК) : 12 [11:27:33]line Товар: 2710124130 [11:27:33]line Ðи-92-К-5 [11:27:33]line 6.010 * 60.30 [11:27:33]line = 362.40 [11:27:33]line ÐДС 12% ÐСП 1% [11:27:33]line > о реализуемом товаре [11:27:33]line ОКРУГЛЕÐИЕ: -0.40 [11:27:33]line ИТОГО: 362.00 [11:27:33]line ВнеÑено: 400.00 [11:27:33]line СДÐЧÐ: 38.00 [11:27:33]line ÐСП 1% : 3.21 [11:27:33]line ÐДС 12% : 38.48 [11:27:33]line Ðаличными: 362.00 [11:27:33]line Безнал.: 0.00 [11:27:33]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:27:33]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:27:33]line СÐО: Общий режим [11:27:33]line Чек 35 28.01.2024 11:27 [11:27:33]line Смена: 244 ФФД: 1.0 [11:27:33]line ЗÐМ: 0300000040 [11:27:33]line РÐМ: 0000000000092723 [11:27:33]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:27:33]line ФМ: 0000000000875060 [11:27:33]line ФД: 48970 [11:27:33]line ФПД: 244020237320352 [11:27:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112739&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48970&fm=244020237320352&tin=02508201610067®Number=0000000000092723&sum=36200 [11:27:33]written 0, free lines is 4095 [11:27:33]Write to MH i2c: 01 00 00 79 2E A7 [11:27:33]Write i2c OK [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: 01 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: 01 07 00 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: 01 07 00 79 2E 00 00 00 00 00 EB 0C A5 [11:27:33]RasterBufferAndPrint [11:27:33]line [11:27:33]line [11:27:33]line [11:27:33]line [11:27:33]line [11:27:33]written 0, free lines is 3313 [11:27:33]MH_Cut [11:27:33]Write to MH i2c: D1 01 00 80 2E 01 80 [11:27:33]Write i2c OK [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: D1 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: D1 01 00 [11:27:33]MH_I2C_Read... [11:27:33]Read from MH i2c: D1 01 00 80 2E 00 7F [11:27:33]Write to MH i2c: 01 00 00 81 2E AF [11:27:33]Write i2c OK [11:27:33]MH_I2C_Read... [11:27:34]*** Cut start [11:27:34]*** Partial cut [11:27:34]*** CUTSNS_PIN = 1 [11:27:34]*** CUTSNS_PIN = 0 [11:27:34]*** Brake cut motor [11:27:35]Read from MH i2c: 01 [11:27:35]MH_I2C_Read... [11:27:35]*** Stop cut motor [11:27:35]*** Cut end [11:27:35]Read from MH i2c: 01 07 00 [11:27:35]MH_I2C_Read... [11:27:35]Read from MH i2c: 01 07 00 81 2E 00 00 00 00 00 FF 0F C4 [11:27:35]process_action close_receipt done [11:27:35]requested_data is exist [11:27:35]produce_requested_data [11:27:35]requested_item fm.sn is exist - process it [11:27:35]wFMCommunicate request_size=4 [11:27:35]MH_SAM_APDU [11:27:35]CAPDU: 80 11 00 00 [11:27:35]Write to MH i2c: E2 08 00 82 2E 80 11 00 00 00 00 00 00 2A [11:27:35]Write i2c OK [11:27:35]MH_I2C_Read... [11:27:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:35]Read from MH i2c: E2 [11:27:35]MH_I2C_Read... [11:27:35]Read from MH i2c: E2 17 00 [11:27:35]MH_I2C_Read... [11:27:35]Read from MH i2c: E2 17 00 82 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 77 [11:27:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:27:35]wFMCommunicate OK [11:27:35]requested_item fd.num is exist - process it [11:27:35]SAM_PROTO_GetFieldsCounters [11:27:35]wFMCommunicate request_size=4 [11:27:35]MH_SAM_APDU [11:27:35]CAPDU: 80 13 00 00 [11:27:35]Write to MH i2c: E2 08 00 83 2E 80 13 00 00 00 00 00 00 2D [11:27:35]Write i2c OK [11:27:35]MH_I2C_Read... [11:27:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:27:35]Read from MH i2c: E2 [11:27:35]MH_I2C_Read... [11:27:35]Read from MH i2c: E2 62 00 [11:27:35]MH_I2C_Read... [11:27:35]Read from MH i2c: E2 62 00 83 2E 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [11:27: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:27:35]wFMCommunicate OK [11:27:35]SAM_PROTO_GetFieldsCounters done [11:27:35]requested_item shift.num is exist - process it [11:27:35]requested_item shift.opened is exist - process it [11:27:35]req_shift_opened [11:27:35]FM_GetShiftState [11:27:35]SAM_PROTO_GetShiftState [11:27:35]wFMCommunicate request_size=4 [11:27:35]MH_SAM_APDU [11:27:35]CAPDU: 80 13 01 00 [11:27:35]Write to MH i2c: E2 08 00 84 2E 80 13 01 00 00 00 00 00 2F [11:27:35]Write i2c OK [11:27:35]MH_I2C_Read... [11:27:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:35]Read from MH i2c: E2 [11:27:35]MH_I2C_Read... [11:27:35]Read from MH i2c: E2 0E 00 [11:27:35]MH_I2C_Read... [11:27:35]Read from MH i2c: E2 0E 00 84 2E 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 B5 [11:27:35]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:27:35]wFMCommunicate OK [11:27:35]SAM_PROTO_GetShiftState done [11:27:35]FM_GetShiftState done [11:27:35]req_shift_opened done [11:27:35]requested_item shift.open_date is exist - process it [11:27:35]req_shift_open_date [11:27:35]req_shift_open_date done [11:27:35]produce_requested_data done [11:27:35]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48970,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:27:35]process_action_free close_receipt [11:27:35]json_value_free [11:27:35]json_value_free done [11:27:35]process_json_proto returns [11:27:35]Send response to host [11:27:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48970,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:27:35]free response buf [11:27:35]execute_script done [11:27:35]execute_script returns [11:27:35]free content buf [11:27:35]Sock 7.Close socket [11:27:35]Sock 7.Thread stoped [11:27:56]accept exits with 9 [11:27:56]New connection [11:27:56]New thread 3066670436 created [11:27:56]Thread 3066813796 joined [11:27:56]Waiting for new connection... [11:27:56] Sock 9.Parse request [11:27:56]Sock 9.Check first char [11:27:56]Sock 9.First char is OK [11:27:56]request: POST /json_proto HTTP/1.0 [11:27:56]Method: POST [11:27:56]URL: /json_proto [11:27:56]Method is POST - this is cgi request [11:27:56]url: /json_proto [11:27:56]query_string will be loaded in cgi processing [11:27:56]execute_cgi json_proto POST (null) [11:27:56]execute_cgi path=json_proto method=POST [11:27:56]POST find Content-Length [11:27:56]Host: 172.17.56.67:8080 [11:27:56]Content-Length: 675 [11:27:56]Content-Type: application/json [11:27:56] [11:27:56]POST finish read [11:27:56]Found Content-Length = 675 [11:27:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216068", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 10.730, "sum" : 750.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 750.00, "total" : 750.00, "payments": [ { "type": 0, "sum" : 750.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:56]execute_script... [11:27: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 : (1)216068", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 10.730, "sum" : 750.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 750.00, "total" : 750.00, "payments": [ { "type": 0, "sum" : 750.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:56]POST & json_proto [11:27:56]process_json_proto [11:27:56]json parsed OK: [11:27:56]protocol is kg_v1.0 [11:27:56]action value=close_receipt [11:27:56]process_action close_receipt [11:27:56]cmd_close_receipt [11:27:56]MH_GetDate [11:27:56]Write to MH i2c: F0 00 00 85 2E A2 [11:27:56]Write i2c OK [11:27:56]MH_I2C_Read... [11:27:56]Read from MH i2c: F0 [11:27:56]MH_I2C_Read... [11:27:56]Read from MH i2c: F0 09 00 [11:27:56]MH_I2C_Read... [11:27:56]Read from MH i2c: F0 09 00 85 2E 00 44 3A B6 65 26 5D 9E 65 CA [11:27:56]GetLastDocTimeStamp 1706441259 [11:27:56]current date 1706441284 [11:27:56]FM_GetShiftState [11:27:56]SAM_PROTO_GetShiftState [11:27:56]wFMCommunicate request_size=4 [11:27:56]MH_SAM_APDU [11:27:56]CAPDU: 80 13 01 00 [11:27:56]Write to MH i2c: E2 08 00 86 2E 80 13 01 00 00 00 00 00 31 [11:27:56]Write i2c OK [11:27:56]MH_I2C_Read... [11:27:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:56]Read from MH i2c: E2 [11:27:56]MH_I2C_Read... [11:27:56]Read from MH i2c: E2 0E 00 [11:27:56]MH_I2C_Read... [11:27:56]Read from MH i2c: E2 0E 00 86 2E 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 B7 [11:27:56]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:27:56]wFMCommunicate OK [11:27:56]SAM_PROTO_GetShiftState done [11:27:56]FM_GetShiftState done [11:27:56]opened in 1706400199 [11:27:56]opened+sec_in_day 1706486599 [11:27:56]quantity*price = 75002 [11:27:56]sum+1 = 75004 [11:27:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.03 ИТОГО: 750.00 ВнеÑено: 750.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.64 ÐДС 12% : 79.65 Ðаличными: 750.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 36 28.01.2024 11:28 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48971 ФПД: 73486021075860 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112804&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48971&fm=73486021075860&tin=02508201610067®Number=0000000000092723&sum=75000 [11:27:57]StoreToDocumentArchive [11:27:57]shift 244 fd 48971 [11:27:57]save to /storage/0244/doc_00048971 [11:27:57]save last doc name /storage/0244/doc_00048971 to /storage/kkm_last_doc_name [11:27:57]save OK [11:27:57]Clear old archive folders... [11:27:57]ProcessDocumentItem done err = 0, tmpTLVsize=248 [11:27:57]tlvbuf is 011DAF70 [11:27:57]SAM_PROTO_ClearQueue [11:27:57]wFMCommunicate request_size=4 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 09 00 00 [11:27:57]Write to MH i2c: E2 08 00 93 2E 80 09 00 00 00 00 00 00 33 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 93 2E 00 90 00 35 [11:27:57]RAPDU: 90 00 [11:27:57]wFMCommunicate OK [11:27:57]SAM_PROTO_ClearQueue done [11:27:57]KKMCreateOFDPacket [11:27:57]OFDProtocolAddRootSTLVToBuf [11:27:57]FM_MakeSignedData [11:27:57]FM_MakeSignedData [11:27:57]SAM_PROTO_SignData [11:27:57]wFMCommunicate request_size=4 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 0D 01 02 [11:27:57]Write to MH i2c: E2 08 00 94 2E 80 0D 01 02 00 00 00 00 3B [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 94 2E 00 90 00 36 [11:27:57]RAPDU: 90 00 [11:27:57]wFMCommunicate OK [11:27:57]wFMCommunicate request_size=255 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 29 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 FB 24 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 1F 00 00 00 00 07 04 06 00 F8 24 01 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 44 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4B BF 00 00 35 04 06 00 42 D5 CC 2E [11:27:57]Write to MH i2c: E2 02 01 95 2E 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 29 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 FB 24 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 1F 00 00 00 00 07 04 06 00 F8 24 01 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 44 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4B BF 00 00 35 04 06 00 42 D5 CC 2E 00 00 08 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 95 2E 00 90 00 37 [11:27:57]RAPDU: 90 00 [11:27:57]wFMCommunicate OK [11:27:57]wFMCommunicate request_size=7 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 0D 02 02 02 A3 94 [11:27:57]Write to MH i2c: E2 0A 00 96 2E 80 0D 02 02 02 00 A3 94 00 00 79 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 96 2E 00 90 00 38 [11:27:57]RAPDU: 90 00 [11:27:57]wFMCommunicate OK [11:27:57]wFMCommunicate request_size=4 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 0D 03 02 [11:27:57]Write to MH i2c: E2 08 00 97 2E 80 0D 03 02 00 00 00 00 40 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 0B 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 0B 00 97 2E 00 E5 7E 42 31 09 9A 40 CE 90 00 C8 [11:27:57]RAPDU: E5 7E 42 31 09 9A 40 CE 90 00 [11:27:57]wFMCommunicate OK [11:27:57]SAM_PROTO_SignData done [11:27:57]FM_MakeSignedData done [11:27:57]CreateOFDProtocolMessage [11:27:57]wFMCommunicate request_size=4 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 11 00 00 [11:27:57]Write to MH i2c: E2 08 00 98 2E 80 11 00 00 00 00 00 00 40 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 17 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 17 00 98 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 8D [11:27:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:27:57]wFMCommunicate OK [11:27:57]CreateOFDProtocolMessage done [11:27:57]OFDSenderStorePacket 48971 [11:27:57]StoreOFDPacket docnum=48971 [11:27:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 9D B9 04 01 B3 A6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 29 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 FB 24 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 1F 00 00 00 00 07 04 06 00 F8 24 01 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 44 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4B BF 00 00 35 04 06 00 42 D5 CC 2E A3 94 E5 7E 42 31 09 9A 40 CE [11:27:57]CheckFolder [11:27:57]dirname=/storage/ofd_packets [11:27:57]CheckFolder done [11:27:57]ProducePacketName [11:27:57]name=ofd_packets/00048971 [11:27:57]NVStorageSaveData ofd_packets/00048971 [11:27:57]File name is /storage/ofd_packets/00048971 [11:27:57]Write 298 bytes [11:27:57]NVStorageSaveData done [11:27:57]OFDSenderStorePacket done [11:27:57]KKMCreateOFDPacket done [11:27:57]NVStorageSaveData kkm_last_timestamp [11:27:57]File name is /storage/kkm_last_timestamp [11:27:57]Write 4 bytes [11:27:57]NVStorageSaveData done [11:27:57]ExternCall_PrintAddStr [11:27:57]wPrintStart [11:27:57]Write to MH i2c: 01 00 00 99 2E C7 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: 01 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: 01 07 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: 01 07 00 99 2E 00 00 00 00 00 FF 0F DC [11:27:57]RasterBufferAndPrint [11:27:57]line Счет N : (1)216068 [11:27:57]line ИÐÐ: 02508201610067 [11:27:57]line Контрольно-КаÑÑовый Чек [11:27:57]line ПРОДÐЖР[11:27:57]line ТРК (МРК, ГÐК) : 21 [11:27:57]line Товар: 2710194210 [11:27:57]line ДТ-К-5 [11:27:57]line 10.730 * 69.90 [11:27:57]line = 750.03 [11:27:57]line ÐДС 12% ÐСП 1% [11:27:57]line > о реализуемом товаре [11:27:57]line ОКРУГЛЕÐИЕ: -0.03 [11:27:57]line ИТОГО: 750.00 [11:27:57]line ВнеÑено: 750.00 [11:27:57]line СДÐЧÐ: 0.00 [11:27:57]line ÐСП 1% : 6.64 [11:27:57]line ÐДС 12% : 79.65 [11:27:57]line Ðаличными: 750.00 [11:27:57]line Безнал.: 0.00 [11:27:57]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:27:57]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:27:57]line СÐО: Общий режим [11:27:57]line Чек 36 28.01.2024 11:28 [11:27:57]line Смена: 244 ФФД: 1.0 [11:27:57]line ЗÐМ: 0300000040 [11:27:57]line РÐМ: 0000000000092723 [11:27:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:27:57]line ФМ: 0000000000875060 [11:27:57]line ФД: 48971 [11:27:57]line ФПД: 73486021075860 [11:27:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T112804&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48971&fm=73486021075860&tin=02508201610067®Number=0000000000092723&sum=75000 [11:27:58]written 0, free lines is 4095 [11:27:58]Write to MH i2c: 01 00 00 C4 2E F2 [11:27:58]Write i2c OK [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: 01 [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: 01 07 00 [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: 01 07 00 C4 2E 00 00 00 00 00 E1 0C E6 [11:27:58]RasterBufferAndPrint [11:27:58]line [11:27:58]line [11:27:58]line [11:27:58]line [11:27:58]line [11:27:58]written 0, free lines is 3303 [11:27:58]MH_Cut [11:27:58]Write to MH i2c: D1 01 00 CB 2E 01 CB [11:27:58]Write i2c OK [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: D1 [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: D1 01 00 [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: D1 01 00 CB 2E 00 CA [11:27:58]Write to MH i2c: 01 00 00 CC 2E FA [11:27:58]Write i2c OK [11:27:58]MH_I2C_Read... [11:27:59]*** Cut start [11:27:59]*** Partial cut [11:27:59]*** CUTSNS_PIN = 1 [11:27:59]*** CUTSNS_PIN = 0 [11:27:59]*** Brake cut motor [11:27:59]Read from MH i2c: 01 [11:27:59]MH_I2C_Read... [11:27:59]*** Stop cut motor [11:27:59]*** Cut end [11:27:59]Read from MH i2c: 01 07 00 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: 01 07 00 CC 2E 00 00 00 00 00 FF 0F 0F [11:27:59]process_action close_receipt done [11:27:59]requested_data is exist [11:27:59]produce_requested_data [11:27:59]requested_item fm.sn is exist - process it [11:27:59]wFMCommunicate request_size=4 [11:27:59]MH_SAM_APDU [11:27:59]CAPDU: 80 11 00 00 [11:27:59]Write to MH i2c: E2 08 00 CD 2E 80 11 00 00 00 00 00 00 75 [11:27:59]Write i2c OK [11:27:59]MH_I2C_Read... [11:27:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:59]Read from MH i2c: E2 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: E2 17 00 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: E2 17 00 CD 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 C2 [11:27:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:27:59]wFMCommunicate OK [11:27:59]requested_item fd.num is exist - process it [11:27:59]SAM_PROTO_GetFieldsCounters [11:27:59]wFMCommunicate request_size=4 [11:27:59]MH_SAM_APDU [11:27:59]CAPDU: 80 13 00 00 [11:27:59]Write to MH i2c: E2 08 00 CE 2E 80 13 00 00 00 00 00 00 78 [11:27:59]Write i2c OK [11:27:59]MH_I2C_Read... [11:28:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:28:00]Read from MH i2c: E2 [11:28:00]MH_I2C_Read... [11:28:00]Read from MH i2c: E2 62 00 [11:28:00]MH_I2C_Read... [11:28:00]Read from MH i2c: E2 62 00 CE 2E 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 FB [11:28: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:28:00]wFMCommunicate OK [11:28:00]SAM_PROTO_GetFieldsCounters done [11:28:00]requested_item shift.num is exist - process it [11:28:00]requested_item shift.opened is exist - process it [11:28:00]req_shift_opened [11:28:00]FM_GetShiftState [11:28:00]SAM_PROTO_GetShiftState [11:28:00]wFMCommunicate request_size=4 [11:28:00]MH_SAM_APDU [11:28:00]CAPDU: 80 13 01 00 [11:28:00]Write to MH i2c: E2 08 00 CF 2E 80 13 01 00 00 00 00 00 7A [11:28:00]Write i2c OK [11:28:00]MH_I2C_Read... [11:28:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:28:00]Read from MH i2c: E2 [11:28:00]MH_I2C_Read... [11:28:00]Read from MH i2c: E2 0E 00 [11:28:00]MH_I2C_Read... [11:28:00]Read from MH i2c: E2 0E 00 CF 2E 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 00 [11:28:00]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:28:00]wFMCommunicate OK [11:28:00]SAM_PROTO_GetShiftState done [11:28:00]FM_GetShiftState done [11:28:00]req_shift_opened done [11:28:00]requested_item shift.open_date is exist - process it [11:28:00]req_shift_open_date [11:28:00]req_shift_open_date done [11:28:00]produce_requested_data done [11:28:00]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48971,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:28:00]process_action_free close_receipt [11:28:00]json_value_free [11:28:00]json_value_free done [11:28:00]process_json_proto returns [11:28:00]Send response to host [11:28:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48971,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:28:00]free response buf [11:28:00]execute_script done [11:28:00]execute_script returns [11:28:00]free content buf [11:28:00]Sock 9.Close socket [11:28:00]Sock 9.Thread stoped [11:28:16]ConnectInit Can't connect to host [11:28:16]CommunicateWithHost connect error [11:28:16]CommunicateWithHost err = -1 [11:28:16]OFD Sender: Server communicate error [11:28:16]OFD Sender: Processing packet 48968 [packets to send 15, broken 11] [11:28:16]ProducePacketName [11:28:16]name=ofd_packets/00048968 [11:28:16]OFD Sender: To server: ‡•öpG, [11:28:16]CommunicateWithHost lk.salyk.kg:30040 [11:28:16]ConnectInit lk.salyk.kg [11:28:16]Connected sock=9 [11:28: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 30 36 30 0F 01 00 00 42 3C 07 01 5B F4 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 21 00 00 00 F4 03 04 00 D0 39 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 48 BF 00 00 35 04 06 00 9A F7 AE ED E1 AA 03 B1 EE 84 F2 DD 7F 3A [11:28:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 F9 DD 47 00 EC 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 48 BF 00 00 F4 03 04 00 52 E6 B5 65 B6 04 01 00 00 18 7D E2 02 3A 4A 8F 84 [11:28:16]CommunicateWithHost err = 0 [11:28:16]CheckOFDResponse [11:28:16]1017 (14) - 77093643461234 [11:28:16]1041 (16) - 0000000000875060 [11:28:16]1040 (4) - 48968 [11:28:16]1012 (4) - 28.01.2024 05:29 [11:28:16]1206 (1) - 0 [11:28:16]OFD Sender: Remove packet 48968 [11:28:16]ProducePacketName [11:28:16]name=ofd_packets/00048968 [11:28:16]NVStorageDeleteData [11:28:17]OFD Sender: Processing packet 48969 [packets to send 14, broken 11] [11:28:17]ProducePacketName [11:28:17]name=ofd_packets/00048969 [11:28:17]OFD Sender: To server: ‡•öpG, [11:28:17]CommunicateWithHost lk.salyk.kg:30040 [11:28:17]ConnectInit lk.salyk.kg [11:28:17]Connected sock=9 [11:28: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 30 36 30 0F 01 00 00 AF 28 07 01 45 8B 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 36 10 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C1 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 11 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 49 BF 00 00 35 04 06 00 07 DA 65 87 87 E3 60 3B 11 99 53 18 90 DB [11:28:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 32 26 47 00 51 E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 49 BF 00 00 F4 03 04 00 52 E6 B5 65 B6 04 01 00 00 F4 4E 59 EC 23 A6 CC 10 [11:28:17]CommunicateWithHost err = 0 [11:28:17]CheckOFDResponse [11:28:17]1017 (14) - 77093643461234 [11:28:17]1041 (16) - 0000000000875060 [11:28:17]1040 (4) - 48969 [11:28:17]1012 (4) - 28.01.2024 05:29 [11:28:17]1206 (1) - 0 [11:28:17]OFD Sender: Remove packet 48969 [11:28:17]ProducePacketName [11:28:17]name=ofd_packets/00048969 [11:28:17]NVStorageDeleteData [11:28:17]OFD Sender: Processing packet 48970 [packets to send 13, broken 11] [11:28:17]ProducePacketName [11:28:17]name=ofd_packets/00048970 [11:28:17]OFD Sender: To server: ‡•öpG, [11:28:17]CommunicateWithHost lk.salyk.kg:30040 [11:28:17]ConnectInit lk.salyk.kg [11:28:17]Connected sock=9 [11:28: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 30 36 30 0F 01 00 00 20 86 07 01 F8 80 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 7A 17 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 90 8D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 8D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0F 00 00 00 00 07 04 06 00 68 8D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 2B 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4A BF 00 00 35 04 06 00 DD EF 63 90 40 A0 E8 5B A1 79 74 50 EF E5 [11:28:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 A9 BE 47 00 65 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 4A BF 00 00 F4 03 04 00 53 E6 B5 65 B6 04 01 00 00 F2 D3 92 3D D7 25 12 25 [11:28:18]CommunicateWithHost err = 0 [11:28:18]CheckOFDResponse [11:28:18]1017 (14) - 77093643461234 [11:28:18]1041 (16) - 0000000000875060 [11:28:18]1040 (4) - 48970 [11:28:18]1012 (4) - 28.01.2024 05:29 [11:28:18]1206 (1) - 0 [11:28:18]OFD Sender: Remove packet 48970 [11:28:18]ProducePacketName [11:28:18]name=ofd_packets/00048970 [11:28:18]NVStorageDeleteData [11:28:18]OFD Sender: Processing packet 48971 [packets to send 12, broken 11] [11:28:18]ProducePacketName [11:28:18]name=ofd_packets/00048971 [11:28:18]OFD Sender: To server: ‡•öpG, [11:28:18]CommunicateWithHost lk.salyk.kg:30040 [11:28:18]ConnectInit lk.salyk.kg [11:28:18]Connected sock=9 [11:28:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 9D B9 04 01 B3 A6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 29 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 FB 24 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 1F 00 00 00 00 07 04 06 00 F8 24 01 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 44 3A B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4B BF 00 00 35 04 06 00 42 D5 CC 2E A3 94 E5 7E 42 31 09 9A 40 CE [11:28:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 CA 93 47 00 7C 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 4B BF 00 00 F4 03 04 00 54 E6 B5 65 B6 04 01 00 00 C4 61 32 4E 85 19 CC 61 [11:28:18]CommunicateWithHost err = 0 [11:28:18]CheckOFDResponse [11:28:18]1017 (14) - 77093643461234 [11:28:18]1041 (16) - 0000000000875060 [11:28:18]1040 (4) - 48971 [11:28:18]1012 (4) - 28.01.2024 05:29 [11:28:18]1206 (1) - 0 [11:28:18]OFD Sender: Remove packet 48971 [11:28:18]ProducePacketName [11:28:18]name=ofd_packets/00048971 [11:28:18]NVStorageDeleteData [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:19]OFD Sender: No OFD packet to send [11:34:24]OFD Sender: No OFD packet to send [11:34:29]OFD Sender: No OFD packet to send [11:34:34]OFD Sender: No OFD packet to send [11:34:39]OFD Sender: No OFD packet to send [11:34:44]OFD Sender: No OFD packet to send [11:34:49]OFD Sender: No OFD packet to send [11:34:54]OFD Sender: No OFD packet to send [11:34:59]OFD Sender: No OFD packet to send [11:35:04]OFD Sender: No OFD packet to send [11:35:09]OFD Sender: No OFD packet to send [11:35:14]OFD Sender: No OFD packet to send [11:35:19]OFD Sender: No OFD packet to send [11:35:24]OFD Sender: No OFD packet to send [11:35:29]OFD Sender: No OFD packet to send [11:35:34]OFD Sender: No OFD packet to send [11:35:39]OFD Sender: No OFD packet to send [11:35:44]OFD Sender: No OFD packet to send [11:35:49]OFD Sender: No OFD packet to send [11:35:54]OFD Sender: No OFD packet to send [11:35:59]OFD Sender: No OFD packet to send [11:36:04]OFD Sender: No OFD packet to send [11:36:09]OFD Sender: No OFD packet to send [11:36:14]OFD Sender: No OFD packet to send [11:36:19]OFD Sender: No OFD packet to send [11:36:24]OFD Sender: No OFD packet to send [11:36:29]OFD Sender: No OFD packet to send [11:36:34]OFD Sender: No OFD packet to send [11:36:39]OFD Sender: No OFD packet to send [11:36:44]OFD Sender: No OFD packet to send [11:36:49]OFD Sender: No OFD packet to send [11:36:54]OFD Sender: No OFD packet to send [11:36:59]OFD Sender: No OFD packet to send [11:37:04]OFD Sender: No OFD packet to send [11:37:09]OFD Sender: No OFD packet to send [11:37:14]OFD Sender: No OFD packet to send [11:37:19]OFD Sender: No OFD packet to send [11:37:24]OFD Sender: No OFD packet to send [11:37:29]OFD Sender: No OFD packet to send [11:37:34]OFD Sender: No OFD packet to send [11:37:39]OFD Sender: No OFD packet to send [11:37:44]OFD Sender: No OFD packet to send [11:37:49]OFD Sender: No OFD packet to send [11:37:54]OFD Sender: No OFD packet to send [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]OFD Sender: No OFD packet to send [11:38:24]OFD Sender: No OFD packet to send [11:38:29]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:20]OFD Sender: No OFD packet to send [11:41:25]OFD Sender: No OFD packet to send [11:41:30]OFD Sender: No OFD packet to send [11:41:35]OFD Sender: No OFD packet to send [11:41:40]OFD Sender: No OFD packet to send [11:41:45]OFD Sender: No OFD packet to send [11:41:50]OFD Sender: No OFD packet to send [11:41:55]OFD Sender: No OFD packet to send [11:42:00]OFD Sender: No OFD packet to send [11:42:05]OFD Sender: No OFD packet to send [11:42:10]OFD Sender: No OFD packet to send [11:42:15]OFD Sender: No OFD packet to send [11:42:20]OFD Sender: No OFD packet to send [11:42:25]OFD Sender: No OFD packet to send [11:42:30]OFD Sender: No OFD packet to send [11:42:35]OFD Sender: No OFD packet to send [11:42:40]OFD Sender: No OFD packet to send [11:42:45]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:37]accept exits with 7 [11:43:37]New connection [11:43:37]New thread 3066813796 created [11:43:37]Thread 3066670436 joined [11:43:37]Waiting for new connection... [11:43:37] Sock 7.Parse request [11:43:37]Sock 7.Check first char [11:43:37]Sock 7.First char is OK [11:43:37]request: POST /json_proto HTTP/1.0 [11:43:37]Method: POST [11:43:37]URL: /json_proto [11:43:37]Method is POST - this is cgi request [11:43:37]url: /json_proto [11:43:37]query_string will be loaded in cgi processing [11:43:37]execute_cgi json_proto POST (null) [11:43:37]execute_cgi path=json_proto method=POST [11:43:37]POST find Content-Length [11:43:37]Host: 172.17.56.67:8080 [11:43:37]Content-Length: 679 [11:43:37]Content-Type: application/json [11:43:37] [11:43:37]POST finish read [11:43:37]Found Content-Length = 679 [11:43:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216069", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 14.310, "sum" : 1000.27, "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" ] } } [11:43:37]execute_script... [11:43: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 : (1)216069", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 14.310, "sum" : 1000.27, "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" ] } } [11:43:37]POST & json_proto [11:43:37]process_json_proto [11:43:37]json parsed OK: [11:43:37]protocol is kg_v1.0 [11:43:37]action value=close_receipt [11:43:37]process_action close_receipt [11:43:37]cmd_close_receipt [11:43:37]MH_GetDate [11:43:37]Write to MH i2c: F0 00 00 D0 2E ED [11:43:37]Write i2c OK [11:43:37]MH_I2C_Read... [11:43:37]Read from MH i2c: F0 [11:43:37]MH_I2C_Read... [11:43:37]Read from MH i2c: F0 09 00 [11:43:37]MH_I2C_Read... [11:43:37]Read from MH i2c: F0 09 00 D0 2E 00 F1 3D B6 65 26 5D 9E 65 C5 [11:43:37]GetLastDocTimeStamp 1706441284 [11:43:37]current date 1706442225 [11:43:37]FM_GetShiftState [11:43:37]SAM_PROTO_GetShiftState [11:43:37]wFMCommunicate request_size=4 [11:43:37]MH_SAM_APDU [11:43:37]CAPDU: 80 13 01 00 [11:43:37]Write to MH i2c: E2 08 00 D1 2E 80 13 01 00 00 00 00 00 7C [11:43:37]Write i2c OK [11:43:37]MH_I2C_Read... [11:43:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:37]Read from MH i2c: E2 [11:43:37]MH_I2C_Read... [11:43:37]Read from MH i2c: E2 0E 00 [11:43:37]MH_I2C_Read... [11:43:37]Read from MH i2c: E2 0E 00 D1 2E 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 02 [11:43:37]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:43:37]wFMCommunicate OK [11:43:37]SAM_PROTO_GetShiftState done [11:43:37]FM_GetShiftState done [11:43:37]opened in 1706400199 [11:43:37]opened+sec_in_day 1706486599 [11:43:37]quantity*price = 100026 [11:43:37]sum+1 = 100028 [11:43:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.27 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.22 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 37 28.01.2024 11:43 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48972 ФПД: 139297585510877 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T114345&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48972&fm=139297585510877&tin=02508201610067®Number=0000000000092723&sum=100000 [11:43:38]StoreToDocumentArchive [11:43:38]shift 244 fd 48972 [11:43:38]save to /storage/0244/doc_00048972 [11:43:38]save last doc name /storage/0244/doc_00048972 to /storage/kkm_last_doc_name [11:43:38]save OK [11:43:38]Clear old archive folders... [11:43:38]ProcessDocumentItem done err = 0, tmpTLVsize=248 [11:43:38]tlvbuf is 01232550 [11:43:38]SAM_PROTO_ClearQueue [11:43:38]wFMCommunicate request_size=4 [11:43:38]MH_SAM_APDU [11:43:38]CAPDU: 80 09 00 00 [11:43:38]Write to MH i2c: E2 08 00 DE 2E 80 09 00 00 00 00 00 00 7E [11:43:38]Write i2c OK [11:43:38]MH_I2C_Read... [11:43:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:43:38]Read from MH i2c: E2 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 03 00 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 03 00 DE 2E 00 90 00 80 [11:43:38]RAPDU: 90 00 [11:43:38]wFMCommunicate OK [11:43:38]SAM_PROTO_ClearQueue done [11:43:38]KKMCreateOFDPacket [11:43:38]OFDProtocolAddRootSTLVToBuf [11:43:38]FM_MakeSignedData [11:43:38]FM_MakeSignedData [11:43:38]SAM_PROTO_SignData [11:43:38]wFMCommunicate request_size=4 [11:43:38]MH_SAM_APDU [11:43:38]CAPDU: 80 0D 01 02 [11:43:38]Write to MH i2c: E2 08 00 DF 2E 80 0D 01 02 00 00 00 00 86 [11:43:38]Write i2c OK [11:43:38]MH_I2C_Read... [11:43:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:43:38]Read from MH i2c: E2 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 03 00 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 03 00 DF 2E 00 90 00 81 [11:43:38]RAPDU: 90 00 [11:43:38]wFMCommunicate OK [11:43:38]wFMCommunicate request_size=255 [11:43:38]MH_SAM_APDU [11:43:38]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 37 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 BB 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 7E 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 25 00 00 00 F4 03 04 00 F1 3D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4C BF 00 00 35 04 06 00 7E B0 BF 1A [11:43:38]Write to MH i2c: E2 02 01 E0 2E 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 37 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 BB 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 7E 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 25 00 00 00 F4 03 04 00 F1 3D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4C BF 00 00 35 04 06 00 7E B0 BF 1A 00 00 84 [11:43:38]Write i2c OK [11:43:38]MH_I2C_Read... [11:43:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:38]Read from MH i2c: E2 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 03 00 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 03 00 E0 2E 00 90 00 82 [11:43:38]RAPDU: 90 00 [11:43:38]wFMCommunicate OK [11:43:38]wFMCommunicate request_size=7 [11:43:38]MH_SAM_APDU [11:43:38]CAPDU: 80 0D 02 02 02 39 DD [11:43:38]Write to MH i2c: E2 0A 00 E1 2E 80 0D 02 02 02 00 39 DD 00 00 A3 [11:43:38]Write i2c OK [11:43:38]MH_I2C_Read... [11:43:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:38]Read from MH i2c: E2 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 03 00 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 03 00 E1 2E 00 90 00 83 [11:43:38]RAPDU: 90 00 [11:43:38]wFMCommunicate OK [11:43:38]wFMCommunicate request_size=4 [11:43:38]MH_SAM_APDU [11:43:38]CAPDU: 80 0D 03 02 [11:43:38]Write to MH i2c: E2 08 00 E2 2E 80 0D 03 02 00 00 00 00 8B [11:43:38]Write i2c OK [11:43:38]MH_I2C_Read... [11:43:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:43:38]Read from MH i2c: E2 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 0B 00 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 0B 00 E2 2E 00 91 C9 19 BD AF B6 D1 49 90 00 3B [11:43:38]RAPDU: 91 C9 19 BD AF B6 D1 49 90 00 [11:43:38]wFMCommunicate OK [11:43:38]SAM_PROTO_SignData done [11:43:38]FM_MakeSignedData done [11:43:38]CreateOFDProtocolMessage [11:43:38]wFMCommunicate request_size=4 [11:43:38]MH_SAM_APDU [11:43:38]CAPDU: 80 11 00 00 [11:43:38]Write to MH i2c: E2 08 00 E3 2E 80 11 00 00 00 00 00 00 8B [11:43:38]Write i2c OK [11:43:38]MH_I2C_Read... [11:43:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:38]Read from MH i2c: E2 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 17 00 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: E2 17 00 E3 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D8 [11:43:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:43:38]wFMCommunicate OK [11:43:38]CreateOFDProtocolMessage done [11:43:38]OFDSenderStorePacket 48972 [11:43:38]StoreOFDPacket docnum=48972 [11:43:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 20 9D 04 01 3C 3B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 37 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 BB 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 7E 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 25 00 00 00 F4 03 04 00 F1 3D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4C BF 00 00 35 04 06 00 7E B0 BF 1A 39 DD 91 C9 19 BD AF B6 D1 49 [11:43:38]CheckFolder [11:43:38]dirname=/storage/ofd_packets [11:43:38]CheckFolder done [11:43:38]ProducePacketName [11:43:38]name=ofd_packets/00048972 [11:43:38]NVStorageSaveData ofd_packets/00048972 [11:43:38]File name is /storage/ofd_packets/00048972 [11:43:38]Write 298 bytes [11:43:38]NVStorageSaveData done [11:43:38]OFDSenderStorePacket done [11:43:38]KKMCreateOFDPacket done [11:43:38]NVStorageSaveData kkm_last_timestamp [11:43:38]File name is /storage/kkm_last_timestamp [11:43:38]Write 4 bytes [11:43:38]NVStorageSaveData done [11:43:38]ExternCall_PrintAddStr [11:43:38]wPrintStart [11:43:38]Write to MH i2c: 01 00 00 E4 2E 12 [11:43:38]Write i2c OK [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: 01 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: 01 07 00 [11:43:38]MH_I2C_Read... [11:43:38]Read from MH i2c: 01 07 00 E4 2E 00 00 00 00 00 FF 0F 27 [11:43:38]RasterBufferAndPrint [11:43:38]line Счет N : (1)216069 [11:43:38]line ИÐÐ: 02508201610067 [11:43:38]line Контрольно-КаÑÑовый Чек [11:43:38]line ПРОДÐЖР[11:43:38]line ТРК (МРК, ГÐК) : 11 [11:43:38]line Товар: 2710194210 [11:43:38]line ДТ-К-5 [11:43:38]line 14.310 * 69.90 [11:43:38]line = 1000.27 [11:43:38]line ÐДС 12% ÐСП 1% [11:43:38]line > о реализуемом товаре [11:43:38]line ОКРУГЛЕÐИЕ: -0.27 [11:43:38]line ИТОГО: 1000.00 [11:43:38]line ВнеÑено: 1000.00 [11:43:38]line СДÐЧÐ: 0.00 [11:43:38]line ÐСП 1% : 8.85 [11:43:38]line ÐДС 12% : 106.22 [11:43:38]line Ðаличными: 1000.00 [11:43:38]line Безнал.: 0.00 [11:43:38]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:43:38]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:43:38]line СÐО: Общий режим [11:43:38]line Чек 37 28.01.2024 11:43 [11:43:38]line Смена: 244 ФФД: 1.0 [11:43:38]line ЗÐМ: 0300000040 [11:43:38]line РÐМ: 0000000000092723 [11:43:38]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:43:38]line ФМ: 0000000000875060 [11:43:38]line ФД: 48972 [11:43:38]line ФПД: 139297585510877 [11:43:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T114345&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48972&fm=139297585510877&tin=02508201610067®Number=0000000000092723&sum=100000 [11:43:39]OFD Sender: Processing packet 48972 [packets to send 12, broken 11] [11:43:39]ProducePacketName [11:43:39]name=ofd_packets/00048972 [11:43:39]OFD Sender: To server: ‡•öpG, [11:43:39]CommunicateWithHost lk.salyk.kg:30040 [11:43:39]ConnectInit lk.salyk.kg [11:43:39]written 0, free lines is 4095 [11:43:39]Connected sock=10 [11:43: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 30 36 30 0C 01 00 00 20 9D 04 01 3C 3B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 37 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 BB 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 7E 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 25 00 00 00 F4 03 04 00 F1 3D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4C BF 00 00 35 04 06 00 7E B0 BF 1A 39 DD 91 C9 19 BD AF B6 D1 49 [11:43:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 FA 47 47 00 BF 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 4C BF 00 00 F4 03 04 00 ED E9 B5 65 B6 04 01 00 00 A7 CB BA 5E A7 17 1D E1 [11:43:39]CommunicateWithHost err = 0 [11:43:39]CheckOFDResponse [11:43:39]1017 (14) - 77093643461234 [11:43:39]1041 (16) - 0000000000875060 [11:43:39]1040 (4) - 48972 [11:43:39]1012 (4) - 28.01.2024 05:45 [11:43:39]1206 (1) - 0 [11:43:39]OFD Sender: Remove packet 48972 [11:43:39]ProducePacketName [11:43:39]name=ofd_packets/00048972 [11:43:39]NVStorageDeleteData [11:43:39]Write to MH i2c: 01 00 00 0F 2F 3E [11:43:39]Write i2c OK [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: 01 [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: 01 07 00 [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: 01 07 00 0F 2F 00 00 00 00 00 E4 0C 35 [11:43:39]RasterBufferAndPrint [11:43:39]line [11:43:39]line [11:43:39]line [11:43:39]line [11:43:39]line [11:43:39]written 0, free lines is 3306 [11:43:39]MH_Cut [11:43:39]Write to MH i2c: D1 01 00 16 2F 01 17 [11:43:39]Write i2c OK [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: D1 [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: D1 01 00 [11:43:39]MH_I2C_Read... [11:43:39]Read from MH i2c: D1 01 00 16 2F 00 16 [11:43:39]Write to MH i2c: 01 00 00 17 2F 46 [11:43:39]Write i2c OK [11:43:39]MH_I2C_Read... [11:43:40]OFD Sender: No OFD packet to send [11:43:40]*** Cut start [11:43:40]*** Partial cut [11:43:40]*** CUTSNS_PIN = 1 [11:43:40]*** CUTSNS_PIN = 0 [11:43:40]*** Brake cut motor [11:43:40]Read from MH i2c: 01 [11:43:40]MH_I2C_Read... [11:43:40]*** Stop cut motor [11:43:40]*** Cut end [11:43:40]Read from MH i2c: 01 07 00 [11:43:40]MH_I2C_Read... [11:43:40]Read from MH i2c: 01 07 00 17 2F 00 00 00 00 00 FF 0F 5B [11:43:40]process_action close_receipt done [11:43:40]requested_data is exist [11:43:40]produce_requested_data [11:43:40]requested_item fm.sn is exist - process it [11:43:40]wFMCommunicate request_size=4 [11:43:40]MH_SAM_APDU [11:43:40]CAPDU: 80 11 00 00 [11:43:40]Write to MH i2c: E2 08 00 18 2F 80 11 00 00 00 00 00 00 C1 [11:43:40]Write i2c OK [11:43:40]MH_I2C_Read... [11:43:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:41]Read from MH i2c: E2 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: E2 17 00 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: E2 17 00 18 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 0E [11:43:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:43:41]wFMCommunicate OK [11:43:41]requested_item fd.num is exist - process it [11:43:41]SAM_PROTO_GetFieldsCounters [11:43:41]wFMCommunicate request_size=4 [11:43:41]MH_SAM_APDU [11:43:41]CAPDU: 80 13 00 00 [11:43:41]Write to MH i2c: E2 08 00 19 2F 80 13 00 00 00 00 00 00 C4 [11:43:41]Write i2c OK [11:43:41]MH_I2C_Read... [11:43:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:43:41]Read from MH i2c: E2 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: E2 62 00 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: E2 62 00 19 2F 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 4B [11:43: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:43:41]wFMCommunicate OK [11:43:41]SAM_PROTO_GetFieldsCounters done [11:43:41]requested_item shift.num is exist - process it [11:43:41]requested_item shift.opened is exist - process it [11:43:41]req_shift_opened [11:43:41]FM_GetShiftState [11:43:41]SAM_PROTO_GetShiftState [11:43:41]wFMCommunicate request_size=4 [11:43:41]MH_SAM_APDU [11:43:41]CAPDU: 80 13 01 00 [11:43:41]Write to MH i2c: E2 08 00 1A 2F 80 13 01 00 00 00 00 00 C6 [11:43:41]Write i2c OK [11:43:41]MH_I2C_Read... [11:43:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:41]Read from MH i2c: E2 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: E2 0E 00 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: E2 0E 00 1A 2F 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 4C [11:43:41]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:43:41]wFMCommunicate OK [11:43:41]SAM_PROTO_GetShiftState done [11:43:41]FM_GetShiftState done [11:43:41]req_shift_opened done [11:43:41]requested_item shift.open_date is exist - process it [11:43:41]req_shift_open_date [11:43:41]req_shift_open_date done [11:43:41]produce_requested_data done [11:43:41]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48972,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:43:41]process_action_free close_receipt [11:43:41]json_value_free [11:43:41]json_value_free done [11:43:41]process_json_proto returns [11:43:41]Send response to host [11:43:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48972,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:43:41]free response buf [11:43:41]execute_script done [11:43:41]execute_script returns [11:43:41]free content buf [11:43:41]Sock 7.Close socket [11:43:41]Sock 7.Thread stoped [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:45]OFD Sender: No OFD packet to send [11:44:50]OFD Sender: No OFD packet to send [11:44:55]OFD Sender: No OFD packet to send [11:45:00]OFD Sender: No OFD packet to send [11:45:05]OFD Sender: No OFD packet to send [11:45:08]accept exits with 9 [11:45:08]New connection [11:45:08]New thread 3066670436 created [11:45:08]Thread 3066813796 joined [11:45:08]Waiting for new connection... [11:45:08] Sock 9.Parse request [11:45:08]Sock 9.Check first char [11:45:08]Sock 9.First char is OK [11:45:08]request: POST /json_proto HTTP/1.0 [11:45:08]Method: POST [11:45:08]URL: /json_proto [11:45:08]Method is POST - this is cgi request [11:45:08]url: /json_proto [11:45:08]query_string will be loaded in cgi processing [11:45:08]execute_cgi json_proto POST (null) [11:45:08]execute_cgi path=json_proto method=POST [11:45:08]POST find Content-Length [11:45:08]Host: 172.17.56.67:8080 [11:45:08]Content-Length: 677 [11:45:08]Content-Type: application/json [11:45:08] [11:45:08]POST finish read [11:45:08]Found Content-Length = 677 [11:45:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216071", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 9.960, "sum" : 600.59, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:45:08]execute_script... [11:45:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216071", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 9.960, "sum" : 600.59, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:45:08]POST & json_proto [11:45:08]process_json_proto [11:45:08]json parsed OK: [11:45:08]protocol is kg_v1.0 [11:45:08]action value=close_receipt [11:45:08]process_action close_receipt [11:45:08]cmd_close_receipt [11:45:08]MH_GetDate [11:45:08]Write to MH i2c: F0 00 00 1B 2F 39 [11:45:08]Write i2c OK [11:45:08]MH_I2C_Read... [11:45:08]Read from MH i2c: F0 [11:45:08]MH_I2C_Read... [11:45:08]Read from MH i2c: F0 09 00 [11:45:08]MH_I2C_Read... [11:45:08]Read from MH i2c: F0 09 00 1B 2F 00 4C 3E B6 65 26 5D 9E 65 6D [11:45:08]GetLastDocTimeStamp 1706442225 [11:45:08]current date 1706442316 [11:45:08]FM_GetShiftState [11:45:08]SAM_PROTO_GetShiftState [11:45:08]wFMCommunicate request_size=4 [11:45:08]MH_SAM_APDU [11:45:08]CAPDU: 80 13 01 00 [11:45:08]Write to MH i2c: E2 08 00 1C 2F 80 13 01 00 00 00 00 00 C8 [11:45:08]Write i2c OK [11:45:08]MH_I2C_Read... [11:45:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:45:08]Read from MH i2c: E2 [11:45:08]MH_I2C_Read... [11:45:08]Read from MH i2c: E2 0E 00 [11:45:08]MH_I2C_Read... [11:45:08]Read from MH i2c: E2 0E 00 1C 2F 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 4E [11:45:08]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:45:08]wFMCommunicate OK [11:45:08]SAM_PROTO_GetShiftState done [11:45:08]FM_GetShiftState done [11:45:08]opened in 1706400199 [11:45:08]opened+sec_in_day 1706486599 [11:45:08]quantity*price = 60058 [11:45:08]sum+1 = 60060 [11:45:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.59 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.78 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 38 28.01.2024 11:45 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48973 ФПД: 82675947890741 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T114516&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48973&fm=82675947890741&tin=02508201610067®Number=0000000000092723&sum=60000 [11:45:09]StoreToDocumentArchive [11:45:09]shift 244 fd 48973 [11:45:09]save to /storage/0244/doc_00048973 [11:45:09]save last doc name /storage/0244/doc_00048973 to /storage/kkm_last_doc_name [11:45:09]save OK [11:45:09]Clear old archive folders... [11:45:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:45:09]tlvbuf is 011EC360 [11:45:09]SAM_PROTO_ClearQueue [11:45:09]wFMCommunicate request_size=4 [11:45:09]MH_SAM_APDU [11:45:09]CAPDU: 80 09 00 00 [11:45:09]Write to MH i2c: E2 08 00 29 2F 80 09 00 00 00 00 00 00 CA [11:45:09]Write i2c OK [11:45:09]MH_I2C_Read... [11:45:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:45:09]Read from MH i2c: E2 [11:45:09]MH_I2C_Read... [11:45:09]Read from MH i2c: E2 03 00 [11:45:09]MH_I2C_Read... [11:45:09]Read from MH i2c: E2 03 00 29 2F 00 90 00 CC [11:45:09]RAPDU: 90 00 [11:45:09]wFMCommunicate OK [11:45:09]SAM_PROTO_ClearQueue done [11:45:09]KKMCreateOFDPacket [11:45:09]OFDProtocolAddRootSTLVToBuf [11:45:09]FM_MakeSignedData [11:45:09]FM_MakeSignedData [11:45:09]SAM_PROTO_SignData [11:45:09]wFMCommunicate request_size=4 [11:45:09]MH_SAM_APDU [11:45:09]CAPDU: 80 0D 01 02 [11:45:09]Write to MH i2c: E2 08 00 2A 2F 80 0D 01 02 00 00 00 00 D2 [11:45:09]Write i2c OK [11:45:09]MH_I2C_Read... [11:45:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:45:09]Read from MH i2c: E2 [11:45:09]MH_I2C_Read... [11:45:09]Read from MH i2c: E2 03 00 [11:45:09]MH_I2C_Read... [11:45:09]Read from MH i2c: E2 03 00 2A 2F 00 90 00 CD [11:45:09]RAPDU: 90 00 [11:45:09]wFMCommunicate OK [11:45:09]wFMCommunicate request_size=255 [11:45:09]MH_SAM_APDU [11:45:09]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 E8 26 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 9B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 4C 3E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4D BF 00 00 35 04 06 00 4B [11:45:09]Write to MH i2c: E2 02 01 2B 2F 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 E8 26 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 9B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 4C 3E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4D BF 00 00 35 04 06 00 4B 00 00 CD [11:45:09]Write i2c OK [11:45:09]MH_I2C_Read... [11:45:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:45:09]Read from MH i2c: E2 [11:45:09]MH_I2C_Read... [11:45:09]Read from MH i2c: E2 03 00 [11:45:09]MH_I2C_Read... [11:45:09]Read from MH i2c: E2 03 00 2B 2F 00 90 00 CE [11:45:09]RAPDU: 90 00 [11:45:09]wFMCommunicate OK [11:45:09]wFMCommunicate request_size=10 [11:45:09]MH_SAM_APDU [11:45:09]CAPDU: 80 0D 02 02 05 31 7E 81 68 35 [11:45:09]Write to MH i2c: E2 0D 00 2C 2F 80 0D 02 02 05 00 31 7E 81 68 35 00 00 AC [11:45:09]Write i2c OK [11:45:09]MH_I2C_Read... [11:45:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:45:09]Read from MH i2c: E2 [11:45:09]MH_I2C_Read... [11:45:09]Read from MH i2c: E2 03 00 [11:45:09]MH_I2C_Read... [11:45:09]Read from MH i2c: E2 03 00 2C 2F 00 90 00 CF [11:45:09]RAPDU: 90 00 [11:45:09]wFMCommunicate OK [11:45:09]wFMCommunicate request_size=4 [11:45:09]MH_SAM_APDU [11:45:09]CAPDU: 80 0D 03 02 [11:45:09]Write to MH i2c: E2 08 00 2D 2F 80 0D 03 02 00 00 00 00 D7 [11:45:09]Write i2c OK [11:45:09]MH_I2C_Read... [11:45:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:45:10]Read from MH i2c: E2 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: E2 0B 00 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: E2 0B 00 2D 2F 00 E6 CE DD 54 A7 97 B7 F9 90 00 AB [11:45:10]RAPDU: E6 CE DD 54 A7 97 B7 F9 90 00 [11:45:10]wFMCommunicate OK [11:45:10]SAM_PROTO_SignData done [11:45:10]FM_MakeSignedData done [11:45:10]CreateOFDProtocolMessage [11:45:10]wFMCommunicate request_size=4 [11:45:10]MH_SAM_APDU [11:45:10]CAPDU: 80 11 00 00 [11:45:10]Write to MH i2c: E2 08 00 2E 2F 80 11 00 00 00 00 00 00 D7 [11:45:10]Write i2c OK [11:45:10]MH_I2C_Read... [11:45:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:45:10]Read from MH i2c: E2 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: E2 17 00 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: E2 17 00 2E 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 24 [11:45:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:45:10]wFMCommunicate OK [11:45:10]CreateOFDProtocolMessage done [11:45:10]OFDSenderStorePacket 48973 [11:45:10]StoreOFDPacket docnum=48973 [11:45:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 5D 80 07 01 9B B0 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 E8 26 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 9B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 4C 3E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4D BF 00 00 35 04 06 00 4B 31 7E 81 68 35 E6 CE DD 54 A7 97 B7 F9 [11:45:10]CheckFolder [11:45:10]dirname=/storage/ofd_packets [11:45:10]CheckFolder done [11:45:10]ProducePacketName [11:45:10]name=ofd_packets/00048973 [11:45:10]NVStorageSaveData ofd_packets/00048973 [11:45:10]File name is /storage/ofd_packets/00048973 [11:45:10]Write 301 bytes [11:45:10]NVStorageSaveData done [11:45:10]OFDSenderStorePacket done [11:45:10]KKMCreateOFDPacket done [11:45:10]NVStorageSaveData kkm_last_timestamp [11:45:10]File name is /storage/kkm_last_timestamp [11:45:10]Write 4 bytes [11:45:10]NVStorageSaveData done [11:45:10]ExternCall_PrintAddStr [11:45:10]wPrintStart [11:45:10]Write to MH i2c: 01 00 00 2F 2F 5E [11:45:10]Write i2c OK [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: 01 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: 01 07 00 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: 01 07 00 2F 2F 00 00 00 00 00 FF 0F 73 [11:45:10]RasterBufferAndPrint [11:45:10]line Счет N : (1)216071 [11:45:10]line ИÐÐ: 02508201610067 [11:45:10]line Контрольно-КаÑÑовый Чек [11:45:10]line ПРОДÐЖР[11:45:10]line ТРК (МРК, ГÐК) : 22 [11:45:10]line Товар: 2710124130 [11:45:10]line Ðи-92-К-5 [11:45:10]line 9.960 * 60.30 [11:45:10]line = 600.59 [11:45:10]line ÐДС 12% ÐСП 1% [11:45:10]line > о реализуемом товаре [11:45:10]line ОКРУГЛЕÐИЕ: -0.59 [11:45:10]line ИТОГО: 600.00 [11:45:10]line ВнеÑено: 600.00 [11:45:10]line СДÐЧÐ: 0.00 [11:45:10]line ÐСП 1% : 5.31 [11:45:10]line ÐДС 12% : 63.78 [11:45:10]line Ðаличными: 600.00 [11:45:10]line Безнал.: 0.00 [11:45:10]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:45:10]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:45:10]line СÐО: Общий режим [11:45:10]line Чек 38 28.01.2024 11:45 [11:45:10]line Смена: 244 ФФД: 1.0 [11:45:10]line ЗÐМ: 0300000040 [11:45:10]line РÐМ: 0000000000092723 [11:45:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:45:10]line ФМ: 0000000000875060 [11:45:10]line ФД: 48973 [11:45:10]line ФПД: 82675947890741 [11:45:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T114516&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48973&fm=82675947890741&tin=02508201610067®Number=0000000000092723&sum=60000 [11:45:10]OFD Sender: Processing packet 48973 [packets to send 12, broken 11] [11:45:10]ProducePacketName [11:45:10]name=ofd_packets/00048973 [11:45:10]OFD Sender: To server: ‡•öpG, [11:45:10]CommunicateWithHost lk.salyk.kg:30040 [11:45:10]ConnectInit lk.salyk.kg [11:45:10]written 0, free lines is 4095 [11:45:10]Connected sock=10 [11:45: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 30 36 30 0F 01 00 00 5D 80 07 01 9B B0 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 E8 26 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 9B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 4C 3E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4D BF 00 00 35 04 06 00 4B 31 7E 81 68 35 E6 CE DD 54 A7 97 B7 F9 [11:45:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 58 6B 47 00 ED BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4D BF 00 00 F4 03 04 00 48 EA B5 65 B6 04 01 00 00 0C 5F 01 F7 9F E3 30 9B [11:45:10]CommunicateWithHost err = 0 [11:45:10]CheckOFDResponse [11:45:10]1017 (14) - 77093643461234 [11:45:10]1041 (16) - 0000000000875060 [11:45:10]1040 (4) - 48973 [11:45:10]1012 (4) - 28.01.2024 05:46 [11:45:10]1206 (1) - 0 [11:45:10]OFD Sender: Remove packet 48973 [11:45:10]ProducePacketName [11:45:10]name=ofd_packets/00048973 [11:45:10]NVStorageDeleteData [11:45:10]Write to MH i2c: 01 00 00 5A 2F 89 [11:45:10]Write i2c OK [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: 01 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: 01 07 00 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: 01 07 00 5A 2F 00 00 00 00 00 EF 0C 8B [11:45:10]RasterBufferAndPrint [11:45:10]line [11:45:10]line [11:45:10]line [11:45:10]line [11:45:10]line [11:45:10]written 0, free lines is 3317 [11:45:10]MH_Cut [11:45:10]Write to MH i2c: D1 01 00 61 2F 01 62 [11:45:10]Write i2c OK [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: D1 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: D1 01 00 [11:45:10]MH_I2C_Read... [11:45:10]Read from MH i2c: D1 01 00 61 2F 00 61 [11:45:10]Write to MH i2c: 01 00 00 62 2F 91 [11:45:10]Write i2c OK [11:45:10]MH_I2C_Read... [11:45:11]OFD Sender: No OFD packet to send [11:45:11]*** Cut start [11:45:11]*** Partial cut [11:45:11]*** CUTSNS_PIN = 1 [11:45:11]*** CUTSNS_PIN = 0 [11:45:11]*** Brake cut motor [11:45:12]Read from MH i2c: 01 [11:45:12]MH_I2C_Read... [11:45:12]*** Stop cut motor [11:45:12]*** Cut end [11:45:12]Read from MH i2c: 01 07 00 [11:45:12]MH_I2C_Read... [11:45:12]Read from MH i2c: 01 07 00 62 2F 00 00 00 00 00 FF 0F A6 [11:45:12]process_action close_receipt done [11:45:12]requested_data is exist [11:45:12]produce_requested_data [11:45:12]requested_item fm.sn is exist - process it [11:45:12]wFMCommunicate request_size=4 [11:45:12]MH_SAM_APDU [11:45:12]CAPDU: 80 11 00 00 [11:45:12]Write to MH i2c: E2 08 00 63 2F 80 11 00 00 00 00 00 00 0C [11:45:12]Write i2c OK [11:45:12]MH_I2C_Read... [11:45:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:45:12]Read from MH i2c: E2 [11:45:12]MH_I2C_Read... [11:45:12]Read from MH i2c: E2 17 00 [11:45:12]MH_I2C_Read... [11:45:12]Read from MH i2c: E2 17 00 63 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 59 [11:45:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:45:12]wFMCommunicate OK [11:45:12]requested_item fd.num is exist - process it [11:45:12]SAM_PROTO_GetFieldsCounters [11:45:12]wFMCommunicate request_size=4 [11:45:12]MH_SAM_APDU [11:45:12]CAPDU: 80 13 00 00 [11:45:12]Write to MH i2c: E2 08 00 64 2F 80 13 00 00 00 00 00 00 0F [11:45:12]Write i2c OK [11:45:12]MH_I2C_Read... [11:45:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:45:12]Read from MH i2c: E2 [11:45:12]MH_I2C_Read... [11:45:12]Read from MH i2c: E2 62 00 [11:45:12]MH_I2C_Read... [11:45:12]Read from MH i2c: E2 62 00 64 2F 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [11:45:12]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:45:12]wFMCommunicate OK [11:45:12]SAM_PROTO_GetFieldsCounters done [11:45:12]requested_item shift.num is exist - process it [11:45:12]requested_item shift.opened is exist - process it [11:45:12]req_shift_opened [11:45:12]FM_GetShiftState [11:45:12]SAM_PROTO_GetShiftState [11:45:12]wFMCommunicate request_size=4 [11:45:12]MH_SAM_APDU [11:45:12]CAPDU: 80 13 01 00 [11:45:12]Write to MH i2c: E2 08 00 65 2F 80 13 01 00 00 00 00 00 11 [11:45:12]Write i2c OK [11:45:12]MH_I2C_Read... [11:45:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:45:12]Read from MH i2c: E2 [11:45:12]MH_I2C_Read... [11:45:12]Read from MH i2c: E2 0E 00 [11:45:12]MH_I2C_Read... [11:45:12]Read from MH i2c: E2 0E 00 65 2F 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 97 [11:45:12]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:45:12]wFMCommunicate OK [11:45:12]SAM_PROTO_GetShiftState done [11:45:12]FM_GetShiftState done [11:45:12]req_shift_opened done [11:45:12]requested_item shift.open_date is exist - process it [11:45:12]req_shift_open_date [11:45:12]req_shift_open_date done [11:45:12]produce_requested_data done [11:45:12]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48973,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:45:12]process_action_free close_receipt [11:45:12]json_value_free [11:45:12]json_value_free done [11:45:12]process_json_proto returns [11:45:12]Send response to host [11:45:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48973,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:45:12]free response buf [11:45:12]execute_script done [11:45:12]execute_script returns [11:45:12]free content buf [11:45:12]Sock 9.Close socket [11:45:12]Sock 9.Thread stoped [11:45:16]OFD Sender: No OFD packet to send [11:45:21]OFD Sender: No OFD packet to send [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:51:59]accept exits with 7 [11:51:59]New connection [11:51:59]New thread 3066813796 created [11:51:59]Thread 3066670436 joined [11:51:59]Waiting for new connection... [11:51:59] Sock 7.Parse request [11:51:59]Sock 7.Check first char [11:51:59]Sock 7.First char is OK [11:51:59]request: POST /json_proto HTTP/1.0 [11:51:59]Method: POST [11:51:59]URL: /json_proto [11:51:59]Method is POST - this is cgi request [11:51:59]url: /json_proto [11:51:59]query_string will be loaded in cgi processing [11:51:59]execute_cgi json_proto POST (null) [11:51:59]execute_cgi path=json_proto method=POST [11:51:59]POST find Content-Length [11:51:59]Host: 172.17.56.67:8080 [11:51:59]Content-Length: 677 [11:51:59]Content-Type: application/json [11:51:59] [11:51:59]POST finish read [11:51:59]Found Content-Length = 677 [11:51:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216072", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [11:51:59]execute_script... [11:51: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 : (1)216072", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [11:51:59]POST & json_proto [11:51:59]process_json_proto [11:51:59]json parsed OK: [11:51:59]protocol is kg_v1.0 [11:51:59]action value=close_receipt [11:51:59]process_action close_receipt [11:51:59]cmd_close_receipt [11:51:59]MH_GetDate [11:51:59]Write to MH i2c: F0 00 00 66 2F 84 [11:51:59]Write i2c OK [11:51:59]MH_I2C_Read... [11:51:59]Read from MH i2c: F0 [11:51:59]MH_I2C_Read... [11:51:59]Read from MH i2c: F0 09 00 [11:51:59]MH_I2C_Read... [11:51:59]Read from MH i2c: F0 09 00 66 2F 00 E7 3F B6 65 26 5D 9E 65 54 [11:51:59]GetLastDocTimeStamp 1706442316 [11:51:59]current date 1706442727 [11:51:59]FM_GetShiftState [11:51:59]SAM_PROTO_GetShiftState [11:51:59]wFMCommunicate request_size=4 [11:51:59]MH_SAM_APDU [11:51:59]CAPDU: 80 13 01 00 [11:51:59]Write to MH i2c: E2 08 00 67 2F 80 13 01 00 00 00 00 00 13 [11:51:59]Write i2c OK [11:51:59]MH_I2C_Read... [11:51:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:59]Read from MH i2c: E2 [11:51:59]MH_I2C_Read... [11:51:59]Read from MH i2c: E2 0E 00 [11:51:59]MH_I2C_Read... [11:51:59]Read from MH i2c: E2 0E 00 67 2F 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 99 [11:51:59]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:51:59]wFMCommunicate OK [11:51:59]SAM_PROTO_GetShiftState done [11:51:59]FM_GetShiftState done [11:51:59]opened in 1706400199 [11:51:59]opened+sec_in_day 1706486599 [11:51:59]quantity*price = 20019 [11:51:59]sum+1 = 20021 [11:51:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 39 28.01.2024 11:52 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48974 ФПД: 51040467711752 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T115207&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48974&fm=51040467711752&tin=02508201610067®Number=0000000000092723&sum=20000 [11:52:00]StoreToDocumentArchive [11:52:00]shift 244 fd 48974 [11:52:00]save to /storage/0244/doc_00048974 [11:52:00]save last doc name /storage/0244/doc_00048974 to /storage/kkm_last_doc_name [11:52:00]save OK [11:52:00]Clear old archive folders... [11:52:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:52:00]tlvbuf is 011FAA00 [11:52:00]SAM_PROTO_ClearQueue [11:52:00]wFMCommunicate request_size=4 [11:52:00]MH_SAM_APDU [11:52:00]CAPDU: 80 09 00 00 [11:52:00]Write to MH i2c: E2 08 00 74 2F 80 09 00 00 00 00 00 00 15 [11:52:00]Write i2c OK [11:52:00]MH_I2C_Read... [11:52:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:52:00]Read from MH i2c: E2 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 03 00 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 03 00 74 2F 00 90 00 17 [11:52:00]RAPDU: 90 00 [11:52:00]wFMCommunicate OK [11:52:00]SAM_PROTO_ClearQueue done [11:52:00]KKMCreateOFDPacket [11:52:00]OFDProtocolAddRootSTLVToBuf [11:52:00]FM_MakeSignedData [11:52:00]FM_MakeSignedData [11:52:00]SAM_PROTO_SignData [11:52:00]wFMCommunicate request_size=4 [11:52:00]MH_SAM_APDU [11:52:00]CAPDU: 80 0D 01 02 [11:52:00]Write to MH i2c: E2 08 00 75 2F 80 0D 01 02 00 00 00 00 1D [11:52:00]Write i2c OK [11:52:00]MH_I2C_Read... [11:52:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:52:00]Read from MH i2c: E2 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 03 00 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 03 00 75 2F 00 90 00 18 [11:52:00]RAPDU: 90 00 [11:52:00]wFMCommunicate OK [11:52:00]wFMCommunicate request_size=255 [11:52:00]MH_SAM_APDU [11:52:00]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 27 00 00 00 F4 03 04 00 E7 3F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4E BF 00 00 35 04 06 00 2E [11:52:00]Write to MH i2c: E2 02 01 76 2F 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 27 00 00 00 F4 03 04 00 E7 3F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4E BF 00 00 35 04 06 00 2E 00 00 C4 [11:52:00]Write i2c OK [11:52:00]MH_I2C_Read... [11:52:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:52:00]Read from MH i2c: E2 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 03 00 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 03 00 76 2F 00 90 00 19 [11:52:00]RAPDU: 90 00 [11:52:00]wFMCommunicate OK [11:52:00]wFMCommunicate request_size=10 [11:52:00]MH_SAM_APDU [11:52:00]CAPDU: 80 0D 02 02 05 6B C8 F2 77 08 [11:52:00]Write to MH i2c: E2 0D 00 77 2F 80 0D 02 02 05 00 6B C8 F2 77 08 00 00 CE [11:52:00]Write i2c OK [11:52:00]MH_I2C_Read... [11:52:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:52:00]Read from MH i2c: E2 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 03 00 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 03 00 77 2F 00 90 00 1A [11:52:00]RAPDU: 90 00 [11:52:00]wFMCommunicate OK [11:52:00]wFMCommunicate request_size=4 [11:52:00]MH_SAM_APDU [11:52:00]CAPDU: 80 0D 03 02 [11:52:00]Write to MH i2c: E2 08 00 78 2F 80 0D 03 02 00 00 00 00 22 [11:52:00]Write i2c OK [11:52:00]MH_I2C_Read... [11:52:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:52:00]Read from MH i2c: E2 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 0B 00 [11:52:00]MH_I2C_Read... [11:52:00]Read from MH i2c: E2 0B 00 78 2F 00 8E 8A AB 6C 2E AA 54 92 90 00 10 [11:52:00]RAPDU: 8E 8A AB 6C 2E AA 54 92 90 00 [11:52:00]wFMCommunicate OK [11:52:00]SAM_PROTO_SignData done [11:52:00]FM_MakeSignedData done [11:52:00]CreateOFDProtocolMessage [11:52:00]wFMCommunicate request_size=4 [11:52:00]MH_SAM_APDU [11:52:00]CAPDU: 80 11 00 00 [11:52:00]Write to MH i2c: E2 08 00 79 2F 80 11 00 00 00 00 00 00 22 [11:52:00]Write i2c OK [11:52:00]MH_I2C_Read... [11:52:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:52:01]Read from MH i2c: E2 [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: E2 17 00 [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: E2 17 00 79 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 6F [11:52:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:52:01]wFMCommunicate OK [11:52:01]CreateOFDProtocolMessage done [11:52:01]OFDSenderStorePacket 48974 [11:52:01]StoreOFDPacket docnum=48974 [11:52:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 DC 57 07 01 FE 11 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 27 00 00 00 F4 03 04 00 E7 3F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4E BF 00 00 35 04 06 00 2E 6B C8 F2 77 08 8E 8A AB 6C 2E AA 54 92 [11:52:01]CheckFolder [11:52:01]dirname=/storage/ofd_packets [11:52:01]CheckFolder done [11:52:01]ProducePacketName [11:52:01]name=ofd_packets/00048974 [11:52:01]NVStorageSaveData ofd_packets/00048974 [11:52:01]File name is /storage/ofd_packets/00048974 [11:52:01]Write 301 bytes [11:52:01]NVStorageSaveData done [11:52:01]OFDSenderStorePacket done [11:52:01]KKMCreateOFDPacket done [11:52:01]NVStorageSaveData kkm_last_timestamp [11:52:01]File name is /storage/kkm_last_timestamp [11:52:01]Write 4 bytes [11:52:01]NVStorageSaveData done [11:52:01]ExternCall_PrintAddStr [11:52:01]wPrintStart [11:52:01]Write to MH i2c: 01 00 00 7A 2F A9 [11:52:01]Write i2c OK [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: 01 [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: 01 07 00 [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: 01 07 00 7A 2F 00 00 00 00 00 FF 0F BE [11:52:01]RasterBufferAndPrint [11:52:01]line Счет N : (1)216072 [11:52:01]line ИÐÐ: 02508201610067 [11:52:01]line Контрольно-КаÑÑовый Чек [11:52:01]line ПРОДÐЖР[11:52:01]line ТРК (МРК, ГÐК) : 22 [11:52:01]line Товар: 2710124130 [11:52:01]line Ðи-92-К-5 [11:52:01]line 3.320 * 60.30 [11:52:01]line = 200.20 [11:52:01]line ÐДС 12% ÐСП 1% [11:52:01]line > о реализуемом товаре [11:52:01]line ОКРУГЛЕÐИЕ: -0.20 [11:52:01]line ИТОГО: 200.00 [11:52:01]line ВнеÑено: 200.00 [11:52:01]line СДÐЧÐ: 0.00 [11:52:01]line ÐСП 1% : 1.77 [11:52:01]line ÐДС 12% : 21.26 [11:52:01]line Ðаличными: 200.00 [11:52:01]line Безнал.: 0.00 [11:52:01]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:52:01]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:52:01]line СÐО: Общий режим [11:52:01]line Чек 39 28.01.2024 11:52 [11:52:01]line Смена: 244 ФФД: 1.0 [11:52:01]line ЗÐМ: 0300000040 [11:52:01]line РÐМ: 0000000000092723 [11:52:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:52:01]line ФМ: 0000000000875060 [11:52:01]line ФД: 48974 [11:52:01]line ФПД: 51040467711752 [11:52:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T115207&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48974&fm=51040467711752&tin=02508201610067®Number=0000000000092723&sum=20000 [11:52:01]OFD Sender: Processing packet 48974 [packets to send 12, broken 11] [11:52:01]ProducePacketName [11:52:01]name=ofd_packets/00048974 [11:52:01]OFD Sender: To server: ‡•öpG, [11:52:01]CommunicateWithHost lk.salyk.kg:30040 [11:52:01]ConnectInit lk.salyk.kg [11:52:01]written 0, free lines is 4095 [11:52:01]Connected sock=10 [11:52:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 DC 57 07 01 FE 11 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 27 00 00 00 F4 03 04 00 E7 3F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4E BF 00 00 35 04 06 00 2E 6B C8 F2 77 08 8E 8A AB 6C 2E AA 54 92 [11:52:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 32 29 47 00 BE 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 4E BF 00 00 F4 03 04 00 E3 EB B5 65 B6 04 01 00 00 6B 6F 03 33 86 0B BF 77 [11:52:01]CommunicateWithHost err = 0 [11:52:01]CheckOFDResponse [11:52:01]1017 (14) - 77093643461234 [11:52:01]1041 (16) - 0000000000875060 [11:52:01]1040 (4) - 48974 [11:52:01]1012 (4) - 28.01.2024 05:53 [11:52:01]1206 (1) - 0 [11:52:01]OFD Sender: Remove packet 48974 [11:52:01]ProducePacketName [11:52:01]name=ofd_packets/00048974 [11:52:01]NVStorageDeleteData [11:52:01]Write to MH i2c: 01 00 00 A5 2F D4 [11:52:01]Write i2c OK [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: 01 [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: 01 07 00 [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: 01 07 00 A5 2F 00 00 00 00 00 F0 0C D7 [11:52:01]RasterBufferAndPrint [11:52:01]line [11:52:01]line [11:52:01]line [11:52:01]line [11:52:01]line [11:52:01]written 0, free lines is 3318 [11:52:01]MH_Cut [11:52:01]Write to MH i2c: D1 01 00 AC 2F 01 AD [11:52:01]Write i2c OK [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: D1 [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: D1 01 00 [11:52:01]MH_I2C_Read... [11:52:01]Read from MH i2c: D1 01 00 AC 2F 00 AC [11:52:01]Write to MH i2c: 01 00 00 AD 2F DC [11:52:01]Write i2c OK [11:52:01]MH_I2C_Read... [11:52:02]OFD Sender: No OFD packet to send [11:52:02]*** Cut start [11:52:02]*** Partial cut [11:52:02]*** CUTSNS_PIN = 1 [11:52:02]*** CUTSNS_PIN = 0 [11:52:02]*** Brake cut motor [11:52:03]Read from MH i2c: 01 [11:52:03]MH_I2C_Read... [11:52:03]*** Stop cut motor [11:52:03]*** Cut end [11:52:03]Read from MH i2c: 01 07 00 [11:52:03]MH_I2C_Read... [11:52:03]Read from MH i2c: 01 07 00 AD 2F 00 00 00 00 00 FF 0F F1 [11:52:03]process_action close_receipt done [11:52:03]requested_data is exist [11:52:03]produce_requested_data [11:52:03]requested_item fm.sn is exist - process it [11:52:03]wFMCommunicate request_size=4 [11:52:03]MH_SAM_APDU [11:52:03]CAPDU: 80 11 00 00 [11:52:03]Write to MH i2c: E2 08 00 AE 2F 80 11 00 00 00 00 00 00 57 [11:52:03]Write i2c OK [11:52:03]MH_I2C_Read... [11:52:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:52:03]Read from MH i2c: E2 [11:52:03]MH_I2C_Read... [11:52:03]Read from MH i2c: E2 17 00 [11:52:03]MH_I2C_Read... [11:52:03]Read from MH i2c: E2 17 00 AE 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 A4 [11:52:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:52:03]wFMCommunicate OK [11:52:03]requested_item fd.num is exist - process it [11:52:03]SAM_PROTO_GetFieldsCounters [11:52:03]wFMCommunicate request_size=4 [11:52:03]MH_SAM_APDU [11:52:03]CAPDU: 80 13 00 00 [11:52:03]Write to MH i2c: E2 08 00 AF 2F 80 13 00 00 00 00 00 00 5A [11:52:03]Write i2c OK [11:52:03]MH_I2C_Read... [11:52:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:52:03]Read from MH i2c: E2 [11:52:03]MH_I2C_Read... [11:52:03]Read from MH i2c: E2 62 00 [11:52:03]MH_I2C_Read... [11:52:03]Read from MH i2c: E2 62 00 AF 2F 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [11:52: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:52:03]wFMCommunicate OK [11:52:03]SAM_PROTO_GetFieldsCounters done [11:52:03]requested_item shift.num is exist - process it [11:52:03]requested_item shift.opened is exist - process it [11:52:03]req_shift_opened [11:52:03]FM_GetShiftState [11:52:03]SAM_PROTO_GetShiftState [11:52:03]wFMCommunicate request_size=4 [11:52:03]MH_SAM_APDU [11:52:03]CAPDU: 80 13 01 00 [11:52:03]Write to MH i2c: E2 08 00 B0 2F 80 13 01 00 00 00 00 00 5C [11:52:03]Write i2c OK [11:52:03]MH_I2C_Read... [11:52:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:52:03]Read from MH i2c: E2 [11:52:03]MH_I2C_Read... [11:52:03]Read from MH i2c: E2 0E 00 [11:52:03]MH_I2C_Read... [11:52:03]Read from MH i2c: E2 0E 00 B0 2F 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 E2 [11:52:03]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:52:03]wFMCommunicate OK [11:52:03]SAM_PROTO_GetShiftState done [11:52:03]FM_GetShiftState done [11:52:03]req_shift_opened done [11:52:03]requested_item shift.open_date is exist - process it [11:52:03]req_shift_open_date [11:52:03]req_shift_open_date done [11:52:03]produce_requested_data done [11:52:03]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48974,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:52:03]process_action_free close_receipt [11:52:03]json_value_free [11:52:03]json_value_free done [11:52:03]process_json_proto returns [11:52:03]Send response to host [11:52:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48974,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:52:03]free response buf [11:52:03]execute_script done [11:52:03]execute_script returns [11:52:03]free content buf [11:52:03]Sock 7.Close socket [11:52:03]Sock 7.Thread stoped [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:22]OFD Sender: No OFD packet to send [11:52:27]OFD Sender: No OFD packet to send [11:52:32]OFD Sender: No OFD packet to send [11:52:37]OFD Sender: No OFD packet to send [11:52:42]OFD Sender: No OFD packet to send [11:52:47]OFD Sender: No OFD packet to send [11:52:52]OFD Sender: No OFD packet to send [11:52:57]OFD Sender: No OFD packet to send [11:53:01]accept exits with 9 [11:53:01]New connection [11:53:01]New thread 3066670436 created [11:53:01]Thread 3066813796 joined [11:53:01]Waiting for new connection... [11:53:01] Sock 9.Parse request [11:53:01]Sock 9.Check first char [11:53:01]Sock 9.First char is OK [11:53:01]request: POST /json_proto HTTP/1.0 [11:53:01]Method: POST [11:53:01]URL: /json_proto [11:53:01]Method is POST - this is cgi request [11:53:01]url: /json_proto [11:53:01]query_string will be loaded in cgi processing [11:53:01]execute_cgi json_proto POST (null) [11:53:01]execute_cgi path=json_proto method=POST [11:53:01]POST find Content-Length [11:53:01]Host: 172.17.56.67:8080 [11:53:01]Content-Length: 682 [11:53:01]Content-Type: application/json [11:53:01] [11:53:01]POST finish read [11:53:01]Found Content-Length = 682 [11:53:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216073", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 20.240, "sum" : 1220.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1220.00, "total" : 1220.00, "payments": [ { "type": 0, "sum" : 1220.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:01]execute_script... [11:53:01]execute_script path=json_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)216073", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 20.240, "sum" : 1220.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1220.00, "total" : 1220.00, "payments": [ { "type": 0, "sum" : 1220.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:01]POST & json_proto [11:53:01]process_json_proto [11:53:01]json parsed OK: [11:53:01]protocol is kg_v1.0 [11:53:01]action value=close_receipt [11:53:01]process_action close_receipt [11:53:01]cmd_close_receipt [11:53:01]MH_GetDate [11:53:01]Write to MH i2c: F0 00 00 B1 2F CF [11:53:01]Write i2c OK [11:53:01]MH_I2C_Read... [11:53:01]Read from MH i2c: F0 [11:53:01]MH_I2C_Read... [11:53:01]Read from MH i2c: F0 09 00 [11:53:01]MH_I2C_Read... [11:53:01]Read from MH i2c: F0 09 00 B1 2F 00 25 40 B6 65 26 5D 9E 65 DE [11:53:01]GetLastDocTimeStamp 1706442727 [11:53:01]current date 1706442789 [11:53:01]FM_GetShiftState [11:53:01]SAM_PROTO_GetShiftState [11:53:01]wFMCommunicate request_size=4 [11:53:01]MH_SAM_APDU [11:53:01]CAPDU: 80 13 01 00 [11:53:01]Write to MH i2c: E2 08 00 B2 2F 80 13 01 00 00 00 00 00 5E [11:53:01]Write i2c OK [11:53:01]MH_I2C_Read... [11:53:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:01]Read from MH i2c: E2 [11:53:01]MH_I2C_Read... [11:53:01]Read from MH i2c: E2 0E 00 [11:53:01]MH_I2C_Read... [11:53:01]Read from MH i2c: E2 0E 00 B2 2F 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 E4 [11:53:01]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:53:01]wFMCommunicate OK [11:53:01]SAM_PROTO_GetShiftState done [11:53:01]FM_GetShiftState done [11:53:01]opened in 1706400199 [11:53:01]opened+sec_in_day 1706486599 [11:53:01]quantity*price = 122047 [11:53:01]sum+1 = 122048 [11:53:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.47 ИТОГО: 1220.00 ВнеÑено: 1220.00 СДÐЧÐ: 0.00 ÐСП 1% : 10.80 ÐДС 12% : 129.61 Ðаличными: 1220.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 40 28.01.2024 11:53 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48975 ФПД: 211995328510357 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T115309&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48975&fm=211995328510357&tin=02508201610067®Number=0000000000092723&sum=122000 [11:53:02]StoreToDocumentArchive [11:53:02]shift 244 fd 48975 [11:53:02]save to /storage/0244/doc_00048975 [11:53:02]save last doc name /storage/0244/doc_00048975 to /storage/kkm_last_doc_name [11:53:02]save OK [11:53:02]Clear old archive folders... [11:53:02]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:53:02]tlvbuf is B6EB83A0 [11:53:02]SAM_PROTO_ClearQueue [11:53:02]wFMCommunicate request_size=4 [11:53:02]MH_SAM_APDU [11:53:02]CAPDU: 80 09 00 00 [11:53:02]Write to MH i2c: E2 08 00 BF 2F 80 09 00 00 00 00 00 00 60 [11:53:02]Write i2c OK [11:53:02]MH_I2C_Read... [11:53:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:53:02]Read from MH i2c: E2 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 03 00 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 03 00 BF 2F 00 90 00 62 [11:53:02]RAPDU: 90 00 [11:53:02]wFMCommunicate OK [11:53:02]SAM_PROTO_ClearQueue done [11:53:02]KKMCreateOFDPacket [11:53:02]OFDProtocolAddRootSTLVToBuf [11:53:02]FM_MakeSignedData [11:53:02]FM_MakeSignedData [11:53:02]SAM_PROTO_SignData [11:53:02]wFMCommunicate request_size=4 [11:53:02]MH_SAM_APDU [11:53:02]CAPDU: 80 0D 01 02 [11:53:02]Write to MH i2c: E2 08 00 C0 2F 80 0D 01 02 00 00 00 00 68 [11:53:02]Write i2c OK [11:53:02]MH_I2C_Read... [11:53:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:53:02]Read from MH i2c: E2 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 03 00 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 03 00 C0 2F 00 90 00 63 [11:53:02]RAPDU: 90 00 [11:53:02]wFMCommunicate OK [11:53:02]wFMCommunicate request_size=255 [11:53:02]MH_SAM_APDU [11:53:02]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 10 4F 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 BF DC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 DC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 32 00 00 00 00 07 04 06 00 90 DC 01 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 25 40 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4F BF 00 00 35 04 06 00 C0 [11:53:02]Write to MH i2c: E2 02 01 C1 2F 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 10 4F 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 BF DC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 DC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 32 00 00 00 00 07 04 06 00 90 DC 01 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 25 40 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4F BF 00 00 35 04 06 00 C0 00 00 5D [11:53:02]Write i2c OK [11:53:02]MH_I2C_Read... [11:53:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:53:02]Read from MH i2c: E2 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 03 00 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 03 00 C1 2F 00 90 00 64 [11:53:02]RAPDU: 90 00 [11:53:02]wFMCommunicate OK [11:53:02]wFMCommunicate request_size=10 [11:53:02]MH_SAM_APDU [11:53:02]CAPDU: 80 0D 02 02 05 CF 02 3F F9 95 [11:53:02]Write to MH i2c: E2 0D 00 C2 2F 80 0D 02 02 05 00 CF 02 3F F9 95 00 00 13 [11:53:02]Write i2c OK [11:53:02]MH_I2C_Read... [11:53:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:53:02]Read from MH i2c: E2 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 03 00 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 03 00 C2 2F 00 90 00 65 [11:53:02]RAPDU: 90 00 [11:53:02]wFMCommunicate OK [11:53:02]wFMCommunicate request_size=4 [11:53:02]MH_SAM_APDU [11:53:02]CAPDU: 80 0D 03 02 [11:53:02]Write to MH i2c: E2 08 00 C3 2F 80 0D 03 02 00 00 00 00 6D [11:53:02]Write i2c OK [11:53:02]MH_I2C_Read... [11:53:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:53:02]Read from MH i2c: E2 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 0B 00 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 0B 00 C3 2F 00 E1 2A E1 F4 2E 1D 48 46 90 00 27 [11:53:02]RAPDU: E1 2A E1 F4 2E 1D 48 46 90 00 [11:53:02]wFMCommunicate OK [11:53:02]SAM_PROTO_SignData done [11:53:02]FM_MakeSignedData done [11:53:02]CreateOFDProtocolMessage [11:53:02]wFMCommunicate request_size=4 [11:53:02]MH_SAM_APDU [11:53:02]CAPDU: 80 11 00 00 [11:53:02]Write to MH i2c: E2 08 00 C4 2F 80 11 00 00 00 00 00 00 6D [11:53:02]Write i2c OK [11:53:02]MH_I2C_Read... [11:53:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:53:02]Read from MH i2c: E2 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 17 00 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: E2 17 00 C4 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 BA [11:53:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:53:02]wFMCommunicate OK [11:53:02]CreateOFDProtocolMessage done [11:53:02]OFDSenderStorePacket 48975 [11:53:02]StoreOFDPacket docnum=48975 [11:53:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 AA E4 07 01 A0 3A 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 10 4F 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 BF DC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 DC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 32 00 00 00 00 07 04 06 00 90 DC 01 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 25 40 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4F BF 00 00 35 04 06 00 C0 CF 02 3F F9 95 E1 2A E1 F4 2E 1D 48 46 [11:53:02]CheckFolder [11:53:02]dirname=/storage/ofd_packets [11:53:02]CheckFolder done [11:53:02]ProducePacketName [11:53:02]name=ofd_packets/00048975 [11:53:02]NVStorageSaveData ofd_packets/00048975 [11:53:02]File name is /storage/ofd_packets/00048975 [11:53:02]Write 301 bytes [11:53:02]NVStorageSaveData done [11:53:02]OFDSenderStorePacket done [11:53:02]KKMCreateOFDPacket done [11:53:02]NVStorageSaveData kkm_last_timestamp [11:53:02]File name is /storage/kkm_last_timestamp [11:53:02]Write 4 bytes [11:53:02]NVStorageSaveData done [11:53:02]ExternCall_PrintAddStr [11:53:02]wPrintStart [11:53:02]Write to MH i2c: 01 00 00 C5 2F F4 [11:53:02]Write i2c OK [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: 01 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: 01 07 00 [11:53:02]MH_I2C_Read... [11:53:02]Read from MH i2c: 01 07 00 C5 2F 00 00 00 00 00 FF 0F 09 [11:53:02]RasterBufferAndPrint [11:53:02]line Счет N : (1)216073 [11:53:02]line ИÐÐ: 02508201610067 [11:53:02]line Контрольно-КаÑÑовый Чек [11:53:02]line ПРОДÐЖР[11:53:02]line ТРК (МРК, ГÐК) : 12 [11:53:02]line Товар: 2710124130 [11:53:02]line Ðи-92-К-5 [11:53:02]line 20.240 * 60.30 [11:53:02]line = 1220.47 [11:53:02]line ÐДС 12% ÐСП 1% [11:53:02]line > о реализуемом товаре [11:53:02]line ОКРУГЛЕÐИЕ: -0.47 [11:53:02]line ИТОГО: 1220.00 [11:53:02]line ВнеÑено: 1220.00 [11:53:02]line СДÐЧÐ: 0.00 [11:53:02]line ÐСП 1% : 10.80 [11:53:02]line ÐДС 12% : 129.61 [11:53:02]line Ðаличными: 1220.00 [11:53:02]line Безнал.: 0.00 [11:53:02]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:53:02]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:53:02]line СÐО: Общий режим [11:53:02]line Чек 40 28.01.2024 11:53 [11:53:02]line Смена: 244 ФФД: 1.0 [11:53:02]line ЗÐМ: 0300000040 [11:53:02]line РÐМ: 0000000000092723 [11:53:02]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:53:02]line ФМ: 0000000000875060 [11:53:02]line ФД: 48975 [11:53:02]line ФПД: 211995328510357 [11:53:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T115309&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48975&fm=211995328510357&tin=02508201610067®Number=0000000000092723&sum=122000 [11:53:03]OFD Sender: Processing packet 48975 [packets to send 12, broken 11] [11:53:03]ProducePacketName [11:53:03]name=ofd_packets/00048975 [11:53:03]OFD Sender: To server: ‡•öpG, [11:53:03]CommunicateWithHost lk.salyk.kg:30040 [11:53:03]ConnectInit lk.salyk.kg [11:53:03]written 0, free lines is 4095 [11:53:03]Connected sock=10 [11:53:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 AA E4 07 01 A0 3A 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 10 4F 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 BF DC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 DC 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 32 00 00 00 00 07 04 06 00 90 DC 01 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 25 40 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4F BF 00 00 35 04 06 00 C0 CF 02 3F F9 95 E1 2A E1 F4 2E 1D 48 46 [11:53:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 5F A6 47 00 78 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 4F BF 00 00 F4 03 04 00 21 EC B5 65 B6 04 01 00 00 0C F3 94 A6 5E D3 C7 01 [11:53:03]CommunicateWithHost err = 0 [11:53:03]CheckOFDResponse [11:53:03]1017 (14) - 77093643461234 [11:53:03]1041 (16) - 0000000000875060 [11:53:03]1040 (4) - 48975 [11:53:03]1012 (4) - 28.01.2024 05:54 [11:53:03]1206 (1) - 0 [11:53:03]OFD Sender: Remove packet 48975 [11:53:03]ProducePacketName [11:53:03]name=ofd_packets/00048975 [11:53:03]NVStorageDeleteData [11:53:03]Write to MH i2c: 01 00 00 F0 2F 1F [11:53:03]Write i2c OK [11:53:03]MH_I2C_Read... [11:53:03]Read from MH i2c: 01 [11:53:03]MH_I2C_Read... [11:53:03]Read from MH i2c: 01 07 00 [11:53:03]MH_I2C_Read... [11:53:03]Read from MH i2c: 01 07 00 F0 2F 00 00 00 00 00 EC 0C 1E [11:53:03]RasterBufferAndPrint [11:53:03]line [11:53:03]line [11:53:03]line [11:53:03]line [11:53:03]line [11:53:03]written 0, free lines is 3314 [11:53:03]MH_Cut [11:53:03]Write to MH i2c: D1 01 00 F7 2F 01 F8 [11:53:03]Write i2c OK [11:53:03]MH_I2C_Read... [11:53:03]Read from MH i2c: D1 [11:53:03]MH_I2C_Read... [11:53:03]Read from MH i2c: D1 01 00 [11:53:03]MH_I2C_Read... [11:53:03]Read from MH i2c: D1 01 00 F7 2F 00 F7 [11:53:03]Write to MH i2c: 01 00 00 F8 2F 27 [11:53:03]Write i2c OK [11:53:03]MH_I2C_Read... [11:53:04]OFD Sender: No OFD packet to send [11:53:04]*** Cut start [11:53:04]*** Partial cut [11:53:04]*** CUTSNS_PIN = 1 [11:53:04]*** CUTSNS_PIN = 0 [11:53:04]*** Brake cut motor [11:53:04]Read from MH i2c: 01 [11:53:04]MH_I2C_Read... [11:53:04]*** Stop cut motor [11:53:04]*** Cut end [11:53:04]Read from MH i2c: 01 07 00 [11:53:04]MH_I2C_Read... [11:53:04]Read from MH i2c: 01 07 00 F8 2F 00 00 00 00 00 FF 0F 3C [11:53:04]process_action close_receipt done [11:53:04]requested_data is exist [11:53:04]produce_requested_data [11:53:04]requested_item fm.sn is exist - process it [11:53:04]wFMCommunicate request_size=4 [11:53:04]MH_SAM_APDU [11:53:04]CAPDU: 80 11 00 00 [11:53:04]Write to MH i2c: E2 08 00 F9 2F 80 11 00 00 00 00 00 00 A2 [11:53:04]Write i2c OK [11:53:04]MH_I2C_Read... [11:53:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:53:05]Read from MH i2c: E2 [11:53:05]MH_I2C_Read... [11:53:05]Read from MH i2c: E2 17 00 [11:53:05]MH_I2C_Read... [11:53:05]Read from MH i2c: E2 17 00 F9 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 EF [11:53:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:53:05]wFMCommunicate OK [11:53:05]requested_item fd.num is exist - process it [11:53:05]SAM_PROTO_GetFieldsCounters [11:53:05]wFMCommunicate request_size=4 [11:53:05]MH_SAM_APDU [11:53:05]CAPDU: 80 13 00 00 [11:53:05]Write to MH i2c: E2 08 00 FA 2F 80 13 00 00 00 00 00 00 A5 [11:53:05]Write i2c OK [11:53:05]MH_I2C_Read... [11:53:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:53:05]Read from MH i2c: E2 [11:53:05]MH_I2C_Read... [11:53:05]Read from MH i2c: E2 62 00 [11:53:05]MH_I2C_Read... [11:53:05]Read from MH i2c: E2 62 00 FA 2F 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [11:53: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 4F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:53:05]wFMCommunicate OK [11:53:05]SAM_PROTO_GetFieldsCounters done [11:53:05]requested_item shift.num is exist - process it [11:53:05]requested_item shift.opened is exist - process it [11:53:05]req_shift_opened [11:53:05]FM_GetShiftState [11:53:05]SAM_PROTO_GetShiftState [11:53:05]wFMCommunicate request_size=4 [11:53:05]MH_SAM_APDU [11:53:05]CAPDU: 80 13 01 00 [11:53:05]Write to MH i2c: E2 08 00 FB 2F 80 13 01 00 00 00 00 00 A7 [11:53:05]Write i2c OK [11:53:05]MH_I2C_Read... [11:53:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:05]Read from MH i2c: E2 [11:53:05]MH_I2C_Read... [11:53:05]Read from MH i2c: E2 0E 00 [11:53:05]MH_I2C_Read... [11:53:05]Read from MH i2c: E2 0E 00 FB 2F 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 2D [11:53:05]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:53:05]wFMCommunicate OK [11:53:05]SAM_PROTO_GetShiftState done [11:53:05]FM_GetShiftState done [11:53:05]req_shift_opened done [11:53:05]requested_item shift.open_date is exist - process it [11:53:05]req_shift_open_date [11:53:05]req_shift_open_date done [11:53:05]produce_requested_data done [11:53:05]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48975,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:53:05]process_action_free close_receipt [11:53:05]json_value_free [11:53:05]json_value_free done [11:53:05]process_json_proto returns [11:53:05]Send response to host [11:53:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48975,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:53:05]free response buf [11:53:05]execute_script done [11:53:05]execute_script returns [11:53:05]free content buf [11:53:05]Sock 9.Close socket [11:53:05]Sock 9.Thread stoped [11:53:09]OFD Sender: No OFD packet to send [11:53:14]OFD Sender: No OFD packet to send [11:53:19]OFD Sender: No OFD packet to send [11:53:24]OFD Sender: No OFD packet to send [11:53:29]OFD Sender: No OFD packet to send [11:53:34]OFD Sender: No OFD packet to send [11:53:39]OFD Sender: No OFD packet to send [11:53:44]OFD Sender: No OFD packet to send [11:53:49]OFD Sender: No OFD packet to send [11:53:54]OFD Sender: No OFD packet to send [11:53:59]OFD Sender: No OFD packet to send [11:54:04]OFD Sender: No OFD packet to send [11:54:09]OFD Sender: No OFD packet to send [11:54:14]OFD Sender: No OFD packet to send [11:54:19]OFD Sender: No OFD packet to send [11:54:24]OFD Sender: No OFD packet to send [11:54:29]OFD Sender: No OFD packet to send [11:54:34]OFD Sender: No OFD packet to send [11:54:39]OFD Sender: No OFD packet to send [11:54:44]OFD Sender: No OFD packet to send [11:54:49]OFD Sender: No OFD packet to send [11:54:54]OFD Sender: No OFD packet to send [11:54:59]OFD Sender: No OFD packet to send [11:55:04]OFD Sender: No OFD packet to send [11:55:09]OFD Sender: No OFD packet to send [11:55:14]OFD Sender: No OFD packet to send [11:55:19]OFD Sender: No OFD packet to send [11:55:24]OFD Sender: No OFD packet to send [11:55:29]OFD Sender: No OFD packet to send [11:55:34]OFD Sender: No OFD packet to send [11:55:39]OFD Sender: No OFD packet to send [11:55:44]OFD Sender: No OFD packet to send [11:55:49]OFD Sender: No OFD packet to send [11:55:54]OFD Sender: No OFD packet to send [11:55:59]OFD Sender: No OFD packet to send [11:56:04]OFD Sender: No OFD packet to send [11:56:09]OFD Sender: No OFD packet to send [11:56:14]OFD Sender: No OFD packet to send [11:56:19]OFD Sender: No OFD packet to send [11:56:24]OFD Sender: No OFD packet to send [11:56:29]OFD Sender: No OFD packet to send [11:56:34]OFD Sender: No OFD packet to send [11:56:39]OFD Sender: No OFD packet to send [11:56:44]OFD Sender: No OFD packet to send [11:56:49]OFD Sender: No OFD packet to send [11:56:54]OFD Sender: No OFD packet to send [11:56:59]OFD Sender: No OFD packet to send [11:57:04]OFD Sender: No OFD packet to send [11:57:09]OFD Sender: No OFD packet to send [11:57:14]OFD Sender: No OFD packet to send [11:57:19]OFD Sender: No OFD packet to send [11:57:24]OFD Sender: No OFD packet to send [11:57:29]OFD Sender: No OFD packet to send [11:57:34]OFD Sender: No OFD packet to send [11:57:39]OFD Sender: No OFD packet to send [11:57:44]OFD Sender: No OFD packet to send [11:57:49]OFD Sender: No OFD packet to send [11:57:52]accept exits with 7 [11:57:52]New connection [11:57:52]New thread 3066813796 created [11:57:52]Thread 3066670436 joined [11:57:52]Waiting for new connection... [11:57:52] Sock 7.Parse request [11:57:52]Sock 7.Check first char [11:57:52]Sock 7.First char is OK [11:57:52]request: POST /json_proto HTTP/1.0 [11:57:52]Method: POST [11:57:52]URL: /json_proto [11:57:52]Method is POST - this is cgi request [11:57:52]url: /json_proto [11:57:52]query_string will be loaded in cgi processing [11:57:52]execute_cgi json_proto POST (null) [11:57:52]execute_cgi path=json_proto method=POST [11:57:52]POST find Content-Length [11:57:52]Host: 172.17.56.67:8080 [11:57:52]Content-Length: 682 [11:57:52]Content-Type: application/json [11:57:52] [11:57:52]POST finish read [11:57:52]Found Content-Length = 682 [11:57:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216074", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [11:57:52]execute_script... [11:57: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)216074", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [11:57:52]POST & json_proto [11:57:52]process_json_proto [11:57:52]json parsed OK: [11:57:52]protocol is kg_v1.0 [11:57:52]action value=close_receipt [11:57:52]process_action close_receipt [11:57:52]cmd_close_receipt [11:57:52]MH_GetDate [11:57:52]Write to MH i2c: F0 00 00 FC 2F 1A [11:57:52]Write i2c OK [11:57:52]MH_I2C_Read... [11:57:52]Read from MH i2c: F0 [11:57:52]MH_I2C_Read... [11:57:52]Read from MH i2c: F0 09 00 [11:57:52]MH_I2C_Read... [11:57:52]Read from MH i2c: F0 09 00 FC 2F 00 49 41 B6 65 26 5D 9E 65 4E [11:57:52]GetLastDocTimeStamp 1706442789 [11:57:52]current date 1706443081 [11:57:52]FM_GetShiftState [11:57:52]SAM_PROTO_GetShiftState [11:57:52]wFMCommunicate request_size=4 [11:57:52]MH_SAM_APDU [11:57:52]CAPDU: 80 13 01 00 [11:57:52]Write to MH i2c: E2 08 00 FD 2F 80 13 01 00 00 00 00 00 A9 [11:57:52]Write i2c OK [11:57:52]MH_I2C_Read... [11:57:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:52]Read from MH i2c: E2 [11:57:52]MH_I2C_Read... [11:57:52]Read from MH i2c: E2 0E 00 [11:57:52]MH_I2C_Read... [11:57:52]Read from MH i2c: E2 0E 00 FD 2F 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 2F [11:57:52]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:57:52]wFMCommunicate OK [11:57:52]SAM_PROTO_GetShiftState done [11:57:52]FM_GetShiftState done [11:57:52]opened in 1706400199 [11:57:52]opened+sec_in_day 1706486599 [11:57:52]quantity*price = 100037 [11:57:52]sum+1 = 100039 [11:57:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.23 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 41 28.01.2024 11:58 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48976 ФПД: 189969473865754 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T115801&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48976&fm=189969473865754&tin=02508201610067®Number=0000000000092723&sum=100000 [11:57:54]StoreToDocumentArchive [11:57:54]shift 244 fd 48976 [11:57:54]save to /storage/0244/doc_00048976 [11:57:54]save last doc name /storage/0244/doc_00048976 to /storage/kkm_last_doc_name [11:57:54]save OK [11:57:54]Clear old archive folders... [11:57:54]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:57:54]tlvbuf is 01384930 [11:57:54]SAM_PROTO_ClearQueue [11:57:54]wFMCommunicate request_size=4 [11:57:54]MH_SAM_APDU [11:57:54]CAPDU: 80 09 00 00 [11:57:54]Write to MH i2c: E2 08 00 0A 30 80 09 00 00 00 00 00 00 AC [11:57:54]Write i2c OK [11:57:54]MH_I2C_Read... [11:57:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:57:54]Read from MH i2c: E2 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 03 00 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 03 00 0A 30 00 90 00 AE [11:57:54]RAPDU: 90 00 [11:57:54]wFMCommunicate OK [11:57:54]SAM_PROTO_ClearQueue done [11:57:54]KKMCreateOFDPacket [11:57:54]OFDProtocolAddRootSTLVToBuf [11:57:54]FM_MakeSignedData [11:57:54]FM_MakeSignedData [11:57:54]SAM_PROTO_SignData [11:57:54]wFMCommunicate request_size=4 [11:57:54]MH_SAM_APDU [11:57:54]CAPDU: 80 0D 01 02 [11:57:54]Write to MH i2c: E2 08 00 0B 30 80 0D 01 02 00 00 00 00 B4 [11:57:54]Write i2c OK [11:57:54]MH_I2C_Read... [11:57:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:57:54]Read from MH i2c: E2 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 03 00 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 03 00 0B 30 00 90 00 AF [11:57:54]RAPDU: 90 00 [11:57:54]wFMCommunicate OK [11:57:54]wFMCommunicate request_size=255 [11:57:54]MH_SAM_APDU [11:57:54]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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 29 00 00 00 F4 03 04 00 49 41 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 50 BF 00 00 35 04 06 00 AC [11:57:54]Write to MH i2c: E2 02 01 0C 30 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 29 00 00 00 F4 03 04 00 49 41 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 50 BF 00 00 35 04 06 00 AC 00 00 A1 [11:57:54]Write i2c OK [11:57:54]MH_I2C_Read... [11:57:54]OFD Sender: No OFD packet to send [11:57:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:54]Read from MH i2c: E2 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 03 00 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 03 00 0C 30 00 90 00 B0 [11:57:54]RAPDU: 90 00 [11:57:54]wFMCommunicate OK [11:57:54]wFMCommunicate request_size=10 [11:57:54]MH_SAM_APDU [11:57:54]CAPDU: 80 0D 02 02 05 C6 B7 02 08 1A [11:57:54]Write to MH i2c: E2 0D 00 0D 30 80 0D 02 02 05 00 C6 B7 02 08 1A 00 00 62 [11:57:54]Write i2c OK [11:57:54]MH_I2C_Read... [11:57:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:54]Read from MH i2c: E2 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 03 00 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 03 00 0D 30 00 90 00 B1 [11:57:54]RAPDU: 90 00 [11:57:54]wFMCommunicate OK [11:57:54]wFMCommunicate request_size=4 [11:57:54]MH_SAM_APDU [11:57:54]CAPDU: 80 0D 03 02 [11:57:54]Write to MH i2c: E2 08 00 0E 30 80 0D 03 02 00 00 00 00 B9 [11:57:54]Write i2c OK [11:57:54]MH_I2C_Read... [11:57:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:57:54]Read from MH i2c: E2 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 0B 00 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 0B 00 0E 30 00 09 A2 1E 8F D0 59 87 1C 90 00 DE [11:57:54]RAPDU: 09 A2 1E 8F D0 59 87 1C 90 00 [11:57:54]wFMCommunicate OK [11:57:54]SAM_PROTO_SignData done [11:57:54]FM_MakeSignedData done [11:57:54]CreateOFDProtocolMessage [11:57:54]wFMCommunicate request_size=4 [11:57:54]MH_SAM_APDU [11:57:54]CAPDU: 80 11 00 00 [11:57:54]Write to MH i2c: E2 08 00 0F 30 80 11 00 00 00 00 00 00 B9 [11:57:54]Write i2c OK [11:57:54]MH_I2C_Read... [11:57:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:54]Read from MH i2c: E2 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 17 00 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: E2 17 00 0F 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 06 [11:57:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:57:54]wFMCommunicate OK [11:57:54]CreateOFDProtocolMessage done [11:57:54]OFDSenderStorePacket 48976 [11:57:54]StoreOFDPacket docnum=48976 [11:57:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 7C 34 07 01 53 09 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 29 00 00 00 F4 03 04 00 49 41 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 50 BF 00 00 35 04 06 00 AC C6 B7 02 08 1A 09 A2 1E 8F D0 59 87 1C [11:57:54]CheckFolder [11:57:54]dirname=/storage/ofd_packets [11:57:54]CheckFolder done [11:57:54]ProducePacketName [11:57:54]name=ofd_packets/00048976 [11:57:54]NVStorageSaveData ofd_packets/00048976 [11:57:54]File name is /storage/ofd_packets/00048976 [11:57:54]Write 301 bytes [11:57:54]NVStorageSaveData done [11:57:54]OFDSenderStorePacket done [11:57:54]KKMCreateOFDPacket done [11:57:54]NVStorageSaveData kkm_last_timestamp [11:57:54]File name is /storage/kkm_last_timestamp [11:57:54]Write 4 bytes [11:57:54]NVStorageSaveData done [11:57:54]ExternCall_PrintAddStr [11:57:54]wPrintStart [11:57:54]Write to MH i2c: 01 00 00 10 30 40 [11:57:54]Write i2c OK [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: 01 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: 01 07 00 [11:57:54]MH_I2C_Read... [11:57:54]Read from MH i2c: 01 07 00 10 30 00 00 00 00 00 FF 0F 55 [11:57:54]RasterBufferAndPrint [11:57:54]line Счет N : (1)216074 [11:57:54]line ИÐÐ: 02508201610067 [11:57:54]line Контрольно-КаÑÑовый Чек [11:57:54]line ПРОДÐЖР[11:57:54]line ТРК (МРК, ГÐК) : 12 [11:57:54]line Товар: 2710124130 [11:57:54]line Ðи-92-К-5 [11:57:54]line 16.590 * 60.30 [11:57:54]line = 1000.38 [11:57:54]line ÐДС 12% ÐСП 1% [11:57:54]line > о реализуемом товаре [11:57:54]line ОКРУГЛЕÐИЕ: -0.38 [11:57:54]line ИТОГО: 1000.00 [11:57:54]line ВнеÑено: 1000.00 [11:57:54]line СДÐЧÐ: 0.00 [11:57:54]line ÐСП 1% : 8.85 [11:57:54]line ÐДС 12% : 106.23 [11:57:54]line Ðаличными: 1000.00 [11:57:54]line Безнал.: 0.00 [11:57:54]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [11:57:54]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [11:57:54]line СÐО: Общий режим [11:57:54]line Чек 41 28.01.2024 11:58 [11:57:54]line Смена: 244 ФФД: 1.0 [11:57:54]line ЗÐМ: 0300000040 [11:57:54]line РÐМ: 0000000000092723 [11:57:54]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:57:54]line ФМ: 0000000000875060 [11:57:54]line ФД: 48976 [11:57:54]line ФПД: 189969473865754 [11:57:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T115801&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48976&fm=189969473865754&tin=02508201610067®Number=0000000000092723&sum=100000 [11:57:54]OFD Sender: Processing packet 48976 [packets to send 12, broken 11] [11:57:54]ProducePacketName [11:57:54]name=ofd_packets/00048976 [11:57:54]OFD Sender: To server: ‡•öpG, [11:57:54]CommunicateWithHost lk.salyk.kg:30040 [11:57:54]ConnectInit lk.salyk.kg [11:57:54]written 0, free lines is 4095 [11:57:55]Connected sock=10 [11:57: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 30 36 30 0F 01 00 00 7C 34 07 01 53 09 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 29 00 00 00 F4 03 04 00 49 41 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 50 BF 00 00 35 04 06 00 AC C6 B7 02 08 1A 09 A2 1E 8F D0 59 87 1C [11:57:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 19 70 47 00 7B 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 50 BF 00 00 F4 03 04 00 44 ED B5 65 B6 04 01 00 00 5F 21 06 3B EB 15 34 B3 [11:57:55]CommunicateWithHost err = 0 [11:57:55]CheckOFDResponse [11:57:55]1017 (14) - 77093643461234 [11:57:55]1041 (16) - 0000000000875060 [11:57:55]1040 (4) - 48976 [11:57:55]1012 (4) - 28.01.2024 05:59 [11:57:55]1206 (1) - 0 [11:57:55]OFD Sender: Remove packet 48976 [11:57:55]ProducePacketName [11:57:55]name=ofd_packets/00048976 [11:57:55]NVStorageDeleteData [11:57:55]Write to MH i2c: 01 00 00 3B 30 6B [11:57:55]Write i2c OK [11:57:55]MH_I2C_Read... [11:57:55]Read from MH i2c: 01 [11:57:55]MH_I2C_Read... [11:57:55]Read from MH i2c: 01 07 00 [11:57:55]MH_I2C_Read... [11:57:55]Read from MH i2c: 01 07 00 3B 30 00 00 00 00 00 EB 0C 69 [11:57:55]RasterBufferAndPrint [11:57:55]line [11:57:55]line [11:57:55]line [11:57:55]line [11:57:55]line [11:57:55]written 0, free lines is 3313 [11:57:55]MH_Cut [11:57:55]Write to MH i2c: D1 01 00 42 30 01 44 [11:57:55]Write i2c OK [11:57:55]MH_I2C_Read... [11:57:55]Read from MH i2c: D1 [11:57:55]MH_I2C_Read... [11:57:55]Read from MH i2c: D1 01 00 [11:57:55]MH_I2C_Read... [11:57:55]Read from MH i2c: D1 01 00 42 30 00 43 [11:57:55]Write to MH i2c: 01 00 00 43 30 73 [11:57:55]Write i2c OK [11:57:55]MH_I2C_Read... [11:57:55]OFD Sender: No OFD packet to send [11:57:56]*** Cut start [11:57:56]*** Partial cut [11:57:56]*** CUTSNS_PIN = 1 [11:57:56]*** CUTSNS_PIN = 0 [11:57:56]*** Brake cut motor [11:57:56]Read from MH i2c: 01 [11:57:56]MH_I2C_Read... [11:57:56]*** Stop cut motor [11:57:56]*** Cut end [11:57:56]Read from MH i2c: 01 07 00 [11:57:56]MH_I2C_Read... [11:57:56]Read from MH i2c: 01 07 00 43 30 00 00 00 00 00 FF 0F 88 [11:57:56]process_action close_receipt done [11:57:56]requested_data is exist [11:57:56]produce_requested_data [11:57:56]requested_item fm.sn is exist - process it [11:57:56]wFMCommunicate request_size=4 [11:57:56]MH_SAM_APDU [11:57:56]CAPDU: 80 11 00 00 [11:57:56]Write to MH i2c: E2 08 00 44 30 80 11 00 00 00 00 00 00 EE [11:57:56]Write i2c OK [11:57:56]MH_I2C_Read... [11:57:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:56]Read from MH i2c: E2 [11:57:56]MH_I2C_Read... [11:57:56]Read from MH i2c: E2 17 00 [11:57:56]MH_I2C_Read... [11:57:56]Read from MH i2c: E2 17 00 44 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 3B [11:57:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [11:57:56]wFMCommunicate OK [11:57:56]requested_item fd.num is exist - process it [11:57:56]SAM_PROTO_GetFieldsCounters [11:57:56]wFMCommunicate request_size=4 [11:57:56]MH_SAM_APDU [11:57:56]CAPDU: 80 13 00 00 [11:57:56]Write to MH i2c: E2 08 00 45 30 80 13 00 00 00 00 00 00 F1 [11:57:56]Write i2c OK [11:57:56]MH_I2C_Read... [11:57:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:57:56]Read from MH i2c: E2 [11:57:56]MH_I2C_Read... [11:57:56]Read from MH i2c: E2 62 00 [11:57:56]MH_I2C_Read... [11:57:56]Read from MH i2c: E2 62 00 45 30 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 50 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [11:57: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 50 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:57:56]wFMCommunicate OK [11:57:56]SAM_PROTO_GetFieldsCounters done [11:57:56]requested_item shift.num is exist - process it [11:57:56]requested_item shift.opened is exist - process it [11:57:56]req_shift_opened [11:57:56]FM_GetShiftState [11:57:56]SAM_PROTO_GetShiftState [11:57:56]wFMCommunicate request_size=4 [11:57:56]MH_SAM_APDU [11:57:56]CAPDU: 80 13 01 00 [11:57:56]Write to MH i2c: E2 08 00 46 30 80 13 01 00 00 00 00 00 F3 [11:57:56]Write i2c OK [11:57:56]MH_I2C_Read... [11:57:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:56]Read from MH i2c: E2 [11:57:56]MH_I2C_Read... [11:57:56]Read from MH i2c: E2 0E 00 [11:57:56]MH_I2C_Read... [11:57:56]Read from MH i2c: E2 0E 00 46 30 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 79 [11:57:56]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [11:57:56]wFMCommunicate OK [11:57:56]SAM_PROTO_GetShiftState done [11:57:56]FM_GetShiftState done [11:57:56]req_shift_opened done [11:57:56]requested_item shift.open_date is exist - process it [11:57:56]req_shift_open_date [11:57:56]req_shift_open_date done [11:57:56]produce_requested_data done [11:57:56]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48976,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [11:57:56]process_action_free close_receipt [11:57:56]json_value_free [11:57:56]json_value_free done [11:57:56]process_json_proto returns [11:57:56]Send response to host [11:57:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48976,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [11:57:56]free response buf [11:57:56]execute_script done [11:57:56]execute_script returns [11:57:56]free content buf [11:57:56]Sock 7.Close socket [11:57:56]Sock 7.Thread stoped [11:58:00]OFD Sender: No OFD packet to send [11:58:05]OFD Sender: No OFD packet to send [11:58:10]OFD Sender: No OFD packet to send [11:58:15]OFD Sender: No OFD packet to send [11:58:20]OFD Sender: No OFD packet to send [11:58:25]OFD Sender: No OFD packet to send [11:58:30]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:26]accept exits with 9 [12:00:26]New connection [12:00:26]New thread 3066670436 created [12:00:26]Thread 3066813796 joined [12:00:26]Waiting for new connection... [12:00:26] Sock 9.Parse request [12:00:26]Sock 9.Check first char [12:00:26]Sock 9.First char is OK [12:00:26]request: POST /json_proto HTTP/1.0 [12:00:26]Method: POST [12:00:26]URL: /json_proto [12:00:26]Method is POST - this is cgi request [12:00:26]url: /json_proto [12:00:26]query_string will be loaded in cgi processing [12:00:26]execute_cgi json_proto POST (null) [12:00:26]execute_cgi path=json_proto method=POST [12:00:26]POST find Content-Length [12:00:26]Host: 172.17.56.67:8080 [12:00:26]Content-Length: 677 [12:00:26]Content-Type: application/json [12:00:26] [12:00:26]POST finish read [12:00:26]Found Content-Length = 677 [12:00:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216075", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [12:00:26]execute_script... [12:00: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 : (1)216075", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [12:00:26]POST & json_proto [12:00:26]process_json_proto [12:00:26]json parsed OK: [12:00:26]protocol is kg_v1.0 [12:00:26]action value=close_receipt [12:00:26]process_action close_receipt [12:00:26]cmd_close_receipt [12:00:26]MH_GetDate [12:00:26]Write to MH i2c: F0 00 00 47 30 66 [12:00:26]Write i2c OK [12:00:26]MH_I2C_Read... [12:00:26]Read from MH i2c: F0 [12:00:26]MH_I2C_Read... [12:00:26]Read from MH i2c: F0 09 00 [12:00:26]MH_I2C_Read... [12:00:26]Read from MH i2c: F0 09 00 47 30 00 E2 41 B6 65 26 5D 9E 65 33 [12:00:26]GetLastDocTimeStamp 1706443081 [12:00:26]current date 1706443234 [12:00:26]FM_GetShiftState [12:00:26]SAM_PROTO_GetShiftState [12:00:26]wFMCommunicate request_size=4 [12:00:26]MH_SAM_APDU [12:00:26]CAPDU: 80 13 01 00 [12:00:26]Write to MH i2c: E2 08 00 48 30 80 13 01 00 00 00 00 00 F5 [12:00:26]Write i2c OK [12:00:26]MH_I2C_Read... [12:00:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:00:26]Read from MH i2c: E2 [12:00:26]MH_I2C_Read... [12:00:26]Read from MH i2c: E2 0E 00 [12:00:26]MH_I2C_Read... [12:00:26]Read from MH i2c: E2 0E 00 48 30 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 7B [12:00:26]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:00:26]wFMCommunicate OK [12:00:26]SAM_PROTO_GetShiftState done [12:00:26]FM_GetShiftState done [12:00:26]opened in 1706400199 [12:00:26]opened+sec_in_day 1706486599 [12:00:26]quantity*price = 30029 [12:00:26]sum+1 = 30030 [12:00:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 42 28.01.2024 12:00 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48977 ФПД: 234012998898434 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T120035&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48977&fm=234012998898434&tin=02508201610067®Number=0000000000092723&sum=30000 [12:00:27]StoreToDocumentArchive [12:00:27]shift 244 fd 48977 [12:00:27]save to /storage/0244/doc_00048977 [12:00:27]save last doc name /storage/0244/doc_00048977 to /storage/kkm_last_doc_name [12:00:27]save OK [12:00:27]Clear old archive folders... [12:00:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:00:27]tlvbuf is 0121E0C0 [12:00:27]SAM_PROTO_ClearQueue [12:00:27]wFMCommunicate request_size=4 [12:00:27]MH_SAM_APDU [12:00:27]CAPDU: 80 09 00 00 [12:00:27]Write to MH i2c: E2 08 00 55 30 80 09 00 00 00 00 00 00 F7 [12:00:27]Write i2c OK [12:00:27]MH_I2C_Read... [12:00:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:00:27]Read from MH i2c: E2 [12:00:27]MH_I2C_Read... [12:00:27]Read from MH i2c: E2 03 00 [12:00:27]MH_I2C_Read... [12:00:27]Read from MH i2c: E2 03 00 55 30 00 90 00 F9 [12:00:27]RAPDU: 90 00 [12:00:27]wFMCommunicate OK [12:00:27]SAM_PROTO_ClearQueue done [12:00:27]KKMCreateOFDPacket [12:00:27]OFDProtocolAddRootSTLVToBuf [12:00:27]FM_MakeSignedData [12:00:27]FM_MakeSignedData [12:00:27]SAM_PROTO_SignData [12:00:27]wFMCommunicate request_size=4 [12:00:27]MH_SAM_APDU [12:00:27]CAPDU: 80 0D 01 02 [12:00:27]Write to MH i2c: E2 08 00 56 30 80 0D 01 02 00 00 00 00 FF [12:00:27]Write i2c OK [12:00:27]MH_I2C_Read... [12:00:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:00:27]Read from MH i2c: E2 [12:00:27]MH_I2C_Read... [12:00:27]Read from MH i2c: E2 03 00 [12:00:27]MH_I2C_Read... [12:00:27]Read from MH i2c: E2 03 00 56 30 00 90 00 FA [12:00:27]RAPDU: 90 00 [12:00:27]wFMCommunicate OK [12:00:27]wFMCommunicate request_size=255 [12:00:27]MH_SAM_APDU [12:00:27]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 2A 00 00 00 F4 03 04 00 E3 41 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 51 BF 00 00 35 04 06 00 D4 [12:00:27]Write to MH i2c: E2 02 01 57 30 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 2A 00 00 00 F4 03 04 00 E3 41 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 51 BF 00 00 35 04 06 00 D4 00 00 06 [12:00:27]Write i2c OK [12:00:27]MH_I2C_Read... [12:00:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:00:28]Read from MH i2c: E2 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: E2 03 00 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: E2 03 00 57 30 00 90 00 FB [12:00:28]RAPDU: 90 00 [12:00:28]wFMCommunicate OK [12:00:28]wFMCommunicate request_size=10 [12:00:28]MH_SAM_APDU [12:00:28]CAPDU: 80 0D 02 02 05 D5 65 AC 13 02 [12:00:28]Write to MH i2c: E2 0D 00 58 30 80 0D 02 02 05 00 D5 65 AC 13 02 00 00 07 [12:00:28]Write i2c OK [12:00:28]MH_I2C_Read... [12:00:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:00:28]Read from MH i2c: E2 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: E2 03 00 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: E2 03 00 58 30 00 90 00 FC [12:00:28]RAPDU: 90 00 [12:00:28]wFMCommunicate OK [12:00:28]wFMCommunicate request_size=4 [12:00:28]MH_SAM_APDU [12:00:28]CAPDU: 80 0D 03 02 [12:00:28]Write to MH i2c: E2 08 00 59 30 80 0D 03 02 00 00 00 00 04 [12:00:28]Write i2c OK [12:00:28]MH_I2C_Read... [12:00:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:00:28]Read from MH i2c: E2 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: E2 0B 00 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: E2 0B 00 59 30 00 3A 6E 94 65 99 F0 3C 6C 90 00 D7 [12:00:28]RAPDU: 3A 6E 94 65 99 F0 3C 6C 90 00 [12:00:28]wFMCommunicate OK [12:00:28]SAM_PROTO_SignData done [12:00:28]FM_MakeSignedData done [12:00:28]CreateOFDProtocolMessage [12:00:28]wFMCommunicate request_size=4 [12:00:28]MH_SAM_APDU [12:00:28]CAPDU: 80 11 00 00 [12:00:28]Write to MH i2c: E2 08 00 5A 30 80 11 00 00 00 00 00 00 04 [12:00:28]Write i2c OK [12:00:28]MH_I2C_Read... [12:00:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:00:28]Read from MH i2c: E2 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: E2 17 00 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: E2 17 00 5A 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 51 [12:00:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:00:28]wFMCommunicate OK [12:00:28]CreateOFDProtocolMessage done [12:00:28]OFDSenderStorePacket 48977 [12:00:28]StoreOFDPacket docnum=48977 [12:00:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F6 A0 07 01 F7 15 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 2A 00 00 00 F4 03 04 00 E3 41 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 51 BF 00 00 35 04 06 00 D4 D5 65 AC 13 02 3A 6E 94 65 99 F0 3C 6C [12:00:28]CheckFolder [12:00:28]dirname=/storage/ofd_packets [12:00:28]CheckFolder done [12:00:28]ProducePacketName [12:00:28]name=ofd_packets/00048977 [12:00:28]NVStorageSaveData ofd_packets/00048977 [12:00:28]File name is /storage/ofd_packets/00048977 [12:00:28]Write 301 bytes [12:00:28]NVStorageSaveData done [12:00:28]OFDSenderStorePacket done [12:00:28]KKMCreateOFDPacket done [12:00:28]NVStorageSaveData kkm_last_timestamp [12:00:28]File name is /storage/kkm_last_timestamp [12:00:28]Write 4 bytes [12:00:28]NVStorageSaveData done [12:00:28]ExternCall_PrintAddStr [12:00:28]wPrintStart [12:00:28]Write to MH i2c: 01 00 00 5B 30 8B [12:00:28]Write i2c OK [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: 01 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: 01 07 00 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: 01 07 00 5B 30 00 00 00 00 00 FF 0F A0 [12:00:28]RasterBufferAndPrint [12:00:28]line Счет N : (1)216075 [12:00:28]line ИÐÐ: 02508201610067 [12:00:28]line Контрольно-КаÑÑовый Чек [12:00:28]line ПРОДÐЖР[12:00:28]line ТРК (МРК, ГÐК) : 22 [12:00:28]line Товар: 2710124130 [12:00:28]line Ðи-92-К-5 [12:00:28]line 4.980 * 60.30 [12:00:28]line = 300.29 [12:00:28]line ÐДС 12% ÐСП 1% [12:00:28]line > о реализуемом товаре [12:00:28]line ОКРУГЛЕÐИЕ: -0.29 [12:00:28]line ИТОГО: 300.00 [12:00:28]line ВнеÑено: 300.00 [12:00:28]line СДÐЧÐ: 0.00 [12:00:28]line ÐСП 1% : 2.66 [12:00:28]line ÐДС 12% : 31.89 [12:00:28]line Ðаличными: 300.00 [12:00:28]line Безнал.: 0.00 [12:00:28]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:00:28]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:00:28]line СÐО: Общий режим [12:00:28]line Чек 42 28.01.2024 12:00 [12:00:28]line Смена: 244 ФФД: 1.0 [12:00:28]line ЗÐМ: 0300000040 [12:00:28]line РÐМ: 0000000000092723 [12:00:28]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:00:28]line ФМ: 0000000000875060 [12:00:28]line ФД: 48977 [12:00:28]line ФПД: 234012998898434 [12:00:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T120035&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48977&fm=234012998898434&tin=02508201610067®Number=0000000000092723&sum=30000 [12:00:28]written 0, free lines is 4095 [12:00:28]OFD Sender: Processing packet 48977 [packets to send 12, broken 11] [12:00:28]ProducePacketName [12:00:28]name=ofd_packets/00048977 [12:00:28]OFD Sender: To server: ‡•öpG, [12:00:28]CommunicateWithHost lk.salyk.kg:30040 [12:00:28]ConnectInit lk.salyk.kg [12:00:28]Connected sock=11 [12:00: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 30 36 30 0F 01 00 00 F6 A0 07 01 F7 15 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 2A 00 00 00 F4 03 04 00 E3 41 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 51 BF 00 00 35 04 06 00 D4 D5 65 AC 13 02 3A 6E 94 65 99 F0 3C 6C [12:00:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 B9 BF 47 00 C1 89 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 51 BF 00 00 F4 03 04 00 DE ED B5 65 B6 04 01 00 00 10 29 22 C8 0D 51 B3 E6 [12:00:28]CommunicateWithHost err = 0 [12:00:28]CheckOFDResponse [12:00:28]1017 (14) - 77093643461234 [12:00:28]1041 (16) - 0000000000875060 [12:00:28]1040 (4) - 48977 [12:00:28]1012 (4) - 28.01.2024 06:02 [12:00:28]1206 (1) - 0 [12:00:28]OFD Sender: Remove packet 48977 [12:00:28]ProducePacketName [12:00:28]name=ofd_packets/00048977 [12:00:28]NVStorageDeleteData [12:00:28]Write to MH i2c: 01 00 00 86 30 B6 [12:00:28]Write i2c OK [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: 01 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: 01 07 00 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: 01 07 00 86 30 00 00 00 00 00 F9 0C C2 [12:00:28]RasterBufferAndPrint [12:00:28]line [12:00:28]line [12:00:28]line [12:00:28]line [12:00:28]line [12:00:28]written 0, free lines is 3329 [12:00:28]MH_Cut [12:00:28]Write to MH i2c: D1 01 00 8D 30 01 8F [12:00:28]Write i2c OK [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: D1 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: D1 01 00 [12:00:28]MH_I2C_Read... [12:00:28]Read from MH i2c: D1 01 00 8D 30 00 8E [12:00:28]Write to MH i2c: 01 00 00 8E 30 BE [12:00:28]Write i2c OK [12:00:28]MH_I2C_Read... [12:00:29]OFD Sender: No OFD packet to send [12:00:29]*** Cut start [12:00:29]*** Partial cut [12:00:29]*** CUTSNS_PIN = 1 [12:00:29]*** CUTSNS_PIN = 0 [12:00:29]*** Brake cut motor [12:00:30]Read from MH i2c: 01 [12:00:30]MH_I2C_Read... [12:00:30]*** Stop cut motor [12:00:30]*** Cut end [12:00:30]Read from MH i2c: 01 07 00 [12:00:30]MH_I2C_Read... [12:00:30]Read from MH i2c: 01 07 00 8E 30 00 00 00 00 00 FF 0F D3 [12:00:30]process_action close_receipt done [12:00:30]requested_data is exist [12:00:30]produce_requested_data [12:00:30]requested_item fm.sn is exist - process it [12:00:30]wFMCommunicate request_size=4 [12:00:30]MH_SAM_APDU [12:00:30]CAPDU: 80 11 00 00 [12:00:30]Write to MH i2c: E2 08 00 8F 30 80 11 00 00 00 00 00 00 39 [12:00:30]Write i2c OK [12:00:30]MH_I2C_Read... [12:00:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:00:30]Read from MH i2c: E2 [12:00:30]MH_I2C_Read... [12:00:30]Read from MH i2c: E2 17 00 [12:00:30]MH_I2C_Read... [12:00:30]Read from MH i2c: E2 17 00 8F 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 86 [12:00:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:00:30]wFMCommunicate OK [12:00:30]requested_item fd.num is exist - process it [12:00:30]SAM_PROTO_GetFieldsCounters [12:00:30]wFMCommunicate request_size=4 [12:00:30]MH_SAM_APDU [12:00:30]CAPDU: 80 13 00 00 [12:00:30]Write to MH i2c: E2 08 00 90 30 80 13 00 00 00 00 00 00 3C [12:00:30]Write i2c OK [12:00:30]MH_I2C_Read... [12:00:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:00:30]Read from MH i2c: E2 [12:00:30]MH_I2C_Read... [12:00:30]Read from MH i2c: E2 62 00 [12:00:30]MH_I2C_Read... [12:00:30]Read from MH i2c: E2 62 00 90 30 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 51 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 D7 [12:00: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 51 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:00:30]wFMCommunicate OK [12:00:30]SAM_PROTO_GetFieldsCounters done [12:00:30]requested_item shift.num is exist - process it [12:00:30]requested_item shift.opened is exist - process it [12:00:30]req_shift_opened [12:00:30]FM_GetShiftState [12:00:30]SAM_PROTO_GetShiftState [12:00:30]wFMCommunicate request_size=4 [12:00:30]MH_SAM_APDU [12:00:30]CAPDU: 80 13 01 00 [12:00:30]Write to MH i2c: E2 08 00 91 30 80 13 01 00 00 00 00 00 3E [12:00:30]Write i2c OK [12:00:30]MH_I2C_Read... [12:00:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:00:30]Read from MH i2c: E2 [12:00:30]MH_I2C_Read... [12:00:30]Read from MH i2c: E2 0E 00 [12:00:30]MH_I2C_Read... [12:00:30]Read from MH i2c: E2 0E 00 91 30 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C4 [12:00:30]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:00:30]wFMCommunicate OK [12:00:30]SAM_PROTO_GetShiftState done [12:00:30]FM_GetShiftState done [12:00:30]req_shift_opened done [12:00:30]requested_item shift.open_date is exist - process it [12:00:30]req_shift_open_date [12:00:30]req_shift_open_date done [12:00:30]produce_requested_data done [12:00:30]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48977,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:00:30]process_action_free close_receipt [12:00:30]json_value_free [12:00:30]json_value_free done [12:00:30]process_json_proto returns [12:00:30]Send response to host [12:00:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48977,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:00:30]free response buf [12:00:30]execute_script done [12:00:30]execute_script returns [12:00:30]free content buf [12:00:30]Sock 9.Close socket [12:00:30]Sock 9.Thread stoped [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:19]OFD Sender: No OFD packet to send [12:01:24]OFD Sender: No OFD packet to send [12:01:29]OFD Sender: No OFD packet to send [12:01:34]OFD Sender: No OFD packet to send [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:59]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:39]OFD Sender: No OFD packet to send [12:05:44]OFD Sender: No OFD packet to send [12:05:49]OFD Sender: No OFD packet to send [12:05:54]OFD Sender: No OFD packet to send [12:05:59]OFD Sender: No OFD packet to send [12:06:04]OFD Sender: No OFD packet to send [12:06:09]OFD Sender: No OFD packet to send [12:06:14]OFD Sender: No OFD packet to send [12:06:19]OFD Sender: No OFD packet to send [12:06:24]OFD Sender: No OFD packet to send [12:06:29]OFD Sender: No OFD packet to send [12:06:34]OFD Sender: No OFD packet to send [12:06:39]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:29]OFD Sender: No OFD packet to send [12:07:34]OFD Sender: No OFD packet to send [12:07:39]OFD Sender: No OFD packet to send [12:07:44]OFD Sender: No OFD packet to send [12:07:49]OFD Sender: No OFD packet to send [12:07:54]OFD Sender: No OFD packet to send [12:07:59]OFD Sender: No OFD packet to send [12:08:04]OFD Sender: No OFD packet to send [12:08:09]OFD Sender: No OFD packet to send [12:08:14]OFD Sender: No OFD packet to send [12:08:19]OFD Sender: No OFD packet to send [12:08:24]OFD Sender: No OFD packet to send [12:08:29]OFD Sender: No OFD packet to send [12:08:34]OFD Sender: No OFD packet to send [12:08:39]OFD Sender: No OFD packet to send [12:08:44]OFD Sender: No OFD packet to send [12:08:49]OFD Sender: No OFD packet to send [12:08:54]OFD Sender: No OFD packet to send [12:08:59]OFD Sender: No OFD packet to send [12:09:04]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]accept exits with 7 [12:09:44]New connection [12:09:44]New thread 3066813796 created [12:09:44]Thread 3066670436 joined [12:09:44]Waiting for new connection... [12:09:44] Sock 7.Parse request [12:09:44]Sock 7.Check first char [12:09:44]Sock 7.First char is OK [12:09:44]request: POST /json_proto HTTP/1.0 [12:09:44]Method: POST [12:09:44]URL: /json_proto [12:09:44]Method is POST - this is cgi request [12:09:44]url: /json_proto [12:09:44]query_string will be loaded in cgi processing [12:09:44]execute_cgi json_proto POST (null) [12:09:44]execute_cgi path=json_proto method=POST [12:09:44]POST find Content-Length [12:09:44]Host: 172.17.56.67:8080 [12:09:44]Content-Length: 677 [12:09:44]Content-Type: application/json [12:09:44] [12:09:44]POST finish read [12:09:44]Found Content-Length = 677 [12:09:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216076", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [12:09:44]execute_script... [12:09:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216076", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [12:09:44]POST & json_proto [12:09:44]process_json_proto [12:09:44]json parsed OK: [12:09:44]protocol is kg_v1.0 [12:09:44]action value=close_receipt [12:09:44]process_action close_receipt [12:09:44]cmd_close_receipt [12:09:44]MH_GetDate [12:09:44]Write to MH i2c: F0 00 00 92 30 B1 [12:09:44]Write i2c OK [12:09:44]MH_I2C_Read... [12:09:44]Read from MH i2c: F0 [12:09:44]MH_I2C_Read... [12:09:44]Read from MH i2c: F0 09 00 [12:09:44]MH_I2C_Read... [12:09:44]Read from MH i2c: F0 09 00 92 30 00 10 44 B6 65 26 5D 9E 65 AF [12:09:44]GetLastDocTimeStamp 1706443235 [12:09:44]current date 1706443792 [12:09:44]FM_GetShiftState [12:09:44]SAM_PROTO_GetShiftState [12:09:44]wFMCommunicate request_size=4 [12:09:44]MH_SAM_APDU [12:09:44]CAPDU: 80 13 01 00 [12:09:44]Write to MH i2c: E2 08 00 93 30 80 13 01 00 00 00 00 00 40 [12:09:44]Write i2c OK [12:09:44]MH_I2C_Read... [12:09:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:44]Read from MH i2c: E2 [12:09:44]MH_I2C_Read... [12:09:44]Read from MH i2c: E2 0E 00 [12:09:44]MH_I2C_Read... [12:09:44]Read from MH i2c: E2 0E 00 93 30 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C6 [12:09:44]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:09:44]wFMCommunicate OK [12:09:44]SAM_PROTO_GetShiftState done [12:09:44]FM_GetShiftState done [12:09:44]opened in 1706400199 [12:09:44]opened+sec_in_day 1706486599 [12:09:44]quantity*price = 20019 [12:09:44]sum+1 = 20021 [12:09:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 43 28.01.2024 12:09 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48978 ФПД: 128073461671962 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T120952&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48978&fm=128073461671962&tin=02508201610067®Number=0000000000092723&sum=20000 [12:09:45]StoreToDocumentArchive [12:09:45]shift 244 fd 48978 [12:09:45]save to /storage/0244/doc_00048978 [12:09:45]save last doc name /storage/0244/doc_00048978 to /storage/kkm_last_doc_name [12:09:45]save OK [12:09:45]Clear old archive folders... [12:09:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:09:45]tlvbuf is 011FAC70 [12:09:45]SAM_PROTO_ClearQueue [12:09:45]wFMCommunicate request_size=4 [12:09:45]MH_SAM_APDU [12:09:45]CAPDU: 80 09 00 00 [12:09:45]Write to MH i2c: E2 08 00 A0 30 80 09 00 00 00 00 00 00 42 [12:09:45]Write i2c OK [12:09:45]MH_I2C_Read... [12:09:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:09:45]Read from MH i2c: E2 [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: E2 03 00 [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: E2 03 00 A0 30 00 90 00 44 [12:09:45]RAPDU: 90 00 [12:09:45]wFMCommunicate OK [12:09:45]SAM_PROTO_ClearQueue done [12:09:45]KKMCreateOFDPacket [12:09:45]OFDProtocolAddRootSTLVToBuf [12:09:45]FM_MakeSignedData [12:09:45]FM_MakeSignedData [12:09:45]SAM_PROTO_SignData [12:09:45]wFMCommunicate request_size=4 [12:09:45]MH_SAM_APDU [12:09:45]CAPDU: 80 0D 01 02 [12:09:45]Write to MH i2c: E2 08 00 A1 30 80 0D 01 02 00 00 00 00 4A [12:09:45]Write i2c OK [12:09:45]MH_I2C_Read... [12:09:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:09:45]Read from MH i2c: E2 [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: E2 03 00 [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: E2 03 00 A1 30 00 90 00 45 [12:09:45]RAPDU: 90 00 [12:09:45]wFMCommunicate OK [12:09:45]wFMCommunicate request_size=255 [12:09:45]MH_SAM_APDU [12:09:45]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 2B 00 00 00 F4 03 04 00 10 44 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 52 BF 00 00 35 04 06 00 74 [12:09:45]Write to MH i2c: E2 02 01 A2 30 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 2B 00 00 00 F4 03 04 00 10 44 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 52 BF 00 00 35 04 06 00 74 00 00 6D [12:09:45]Write i2c OK [12:09:45]MH_I2C_Read... [12:09:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:46]Read from MH i2c: E2 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: E2 03 00 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: E2 03 00 A2 30 00 90 00 46 [12:09:46]RAPDU: 90 00 [12:09:46]wFMCommunicate OK [12:09:46]wFMCommunicate request_size=10 [12:09:46]MH_SAM_APDU [12:09:46]CAPDU: 80 0D 02 02 05 7B 6D 30 28 1A [12:09:46]Write to MH i2c: E2 0D 00 A3 30 80 0D 02 02 05 00 7B 6D 30 28 1A 00 00 B1 [12:09:46]Write i2c OK [12:09:46]MH_I2C_Read... [12:09:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:46]Read from MH i2c: E2 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: E2 03 00 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: E2 03 00 A3 30 00 90 00 47 [12:09:46]RAPDU: 90 00 [12:09:46]wFMCommunicate OK [12:09:46]wFMCommunicate request_size=4 [12:09:46]MH_SAM_APDU [12:09:46]CAPDU: 80 0D 03 02 [12:09:46]Write to MH i2c: E2 08 00 A4 30 80 0D 03 02 00 00 00 00 4F [12:09:46]Write i2c OK [12:09:46]MH_I2C_Read... [12:09:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:09:46]Read from MH i2c: E2 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: E2 0B 00 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: E2 0B 00 A4 30 00 CC 11 0A B3 3D F2 A6 BA 90 00 79 [12:09:46]RAPDU: CC 11 0A B3 3D F2 A6 BA 90 00 [12:09:46]wFMCommunicate OK [12:09:46]SAM_PROTO_SignData done [12:09:46]FM_MakeSignedData done [12:09:46]CreateOFDProtocolMessage [12:09:46]wFMCommunicate request_size=4 [12:09:46]MH_SAM_APDU [12:09:46]CAPDU: 80 11 00 00 [12:09:46]Write to MH i2c: E2 08 00 A5 30 80 11 00 00 00 00 00 00 4F [12:09:46]Write i2c OK [12:09:46]MH_I2C_Read... [12:09:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:46]Read from MH i2c: E2 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: E2 17 00 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: E2 17 00 A5 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 9C [12:09:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:09:46]wFMCommunicate OK [12:09:46]CreateOFDProtocolMessage done [12:09:46]OFDSenderStorePacket 48978 [12:09:46]StoreOFDPacket docnum=48978 [12:09:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 29 38 07 01 6C CD 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 2B 00 00 00 F4 03 04 00 10 44 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 52 BF 00 00 35 04 06 00 74 7B 6D 30 28 1A CC 11 0A B3 3D F2 A6 BA [12:09:46]CheckFolder [12:09:46]dirname=/storage/ofd_packets [12:09:46]CheckFolder done [12:09:46]ProducePacketName [12:09:46]name=ofd_packets/00048978 [12:09:46]NVStorageSaveData ofd_packets/00048978 [12:09:46]File name is /storage/ofd_packets/00048978 [12:09:46]Write 301 bytes [12:09:46]NVStorageSaveData done [12:09:46]OFDSenderStorePacket done [12:09:46]KKMCreateOFDPacket done [12:09:46]NVStorageSaveData kkm_last_timestamp [12:09:46]File name is /storage/kkm_last_timestamp [12:09:46]Write 4 bytes [12:09:46]NVStorageSaveData done [12:09:46]ExternCall_PrintAddStr [12:09:46]wPrintStart [12:09:46]Write to MH i2c: 01 00 00 A6 30 D6 [12:09:46]Write i2c OK [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: 01 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: 01 07 00 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: 01 07 00 A6 30 00 00 00 00 00 FF 0F EB [12:09:46]RasterBufferAndPrint [12:09:46]line Счет N : (1)216076 [12:09:46]line ИÐÐ: 02508201610067 [12:09:46]line Контрольно-КаÑÑовый Чек [12:09:46]line ПРОДÐЖР[12:09:46]line ТРК (МРК, ГÐК) : 22 [12:09:46]line Товар: 2710124130 [12:09:46]line Ðи-92-К-5 [12:09:46]line 3.320 * 60.30 [12:09:46]line = 200.20 [12:09:46]line ÐДС 12% ÐСП 1% [12:09:46]line > о реализуемом товаре [12:09:46]line ОКРУГЛЕÐИЕ: -0.20 [12:09:46]line ИТОГО: 200.00 [12:09:46]line ВнеÑено: 200.00 [12:09:46]line СДÐЧÐ: 0.00 [12:09:46]line ÐСП 1% : 1.77 [12:09:46]line ÐДС 12% : 21.26 [12:09:46]line Ðаличными: 200.00 [12:09:46]line Безнал.: 0.00 [12:09:46]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:09:46]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:09:46]line СÐО: Общий режим [12:09:46]line Чек 43 28.01.2024 12:09 [12:09:46]line Смена: 244 ФФД: 1.0 [12:09:46]line ЗÐМ: 0300000040 [12:09:46]line РÐМ: 0000000000092723 [12:09:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:09:46]line ФМ: 0000000000875060 [12:09:46]line ФД: 48978 [12:09:46]line ФПД: 128073461671962 [12:09:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T120952&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48978&fm=128073461671962&tin=02508201610067®Number=0000000000092723&sum=20000 [12:09:46]OFD Sender: Processing packet 48978 [packets to send 12, broken 11] [12:09:46]ProducePacketName [12:09:46]name=ofd_packets/00048978 [12:09:46]OFD Sender: To server: ‡•öpG, [12:09:46]CommunicateWithHost lk.salyk.kg:30040 [12:09:46]ConnectInit lk.salyk.kg [12:09:46]written 0, free lines is 4095 [12:09:46]Connected sock=10 [12:09: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 30 36 30 0F 01 00 00 29 38 07 01 6C CD 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 2B 00 00 00 F4 03 04 00 10 44 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 52 BF 00 00 35 04 06 00 74 7B 6D 30 28 1A CC 11 0A B3 3D F2 A6 BA [12:09:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 94 3D 47 00 78 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 52 BF 00 00 F4 03 04 00 0C F0 B5 65 B6 04 01 00 00 9B 26 12 2E 0C A9 58 FF [12:09:46]CommunicateWithHost err = 0 [12:09:46]CheckOFDResponse [12:09:46]1017 (14) - 77093643461234 [12:09:46]1041 (16) - 0000000000875060 [12:09:46]1040 (4) - 48978 [12:09:46]1012 (4) - 28.01.2024 06:11 [12:09:46]1206 (1) - 0 [12:09:46]OFD Sender: Remove packet 48978 [12:09:46]ProducePacketName [12:09:46]name=ofd_packets/00048978 [12:09:46]NVStorageDeleteData [12:09:46]Write to MH i2c: 01 00 00 D1 30 01 [12:09:46]Write i2c OK [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: 01 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: 01 07 00 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: 01 07 00 D1 30 00 00 00 00 00 EF 0C 03 [12:09:46]RasterBufferAndPrint [12:09:46]line [12:09:46]line [12:09:46]line [12:09:46]line [12:09:46]line [12:09:46]written 0, free lines is 3317 [12:09:46]MH_Cut [12:09:46]Write to MH i2c: D1 01 00 D8 30 01 DA [12:09:46]Write i2c OK [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: D1 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: D1 01 00 [12:09:46]MH_I2C_Read... [12:09:46]Read from MH i2c: D1 01 00 D8 30 00 D9 [12:09:46]Write to MH i2c: 01 00 00 D9 30 09 [12:09:46]Write i2c OK [12:09:46]MH_I2C_Read... [12:09:47]OFD Sender: No OFD packet to send [12:09:47]*** Cut start [12:09:47]*** Partial cut [12:09:47]*** CUTSNS_PIN = 1 [12:09:47]*** CUTSNS_PIN = 0 [12:09:47]*** Brake cut motor [12:09:48]Read from MH i2c: 01 [12:09:48]MH_I2C_Read... [12:09:48]*** Stop cut motor [12:09:48]*** Cut end [12:09:48]Read from MH i2c: 01 07 00 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: 01 07 00 D9 30 00 00 00 00 00 FF 0F 1E [12:09:48]process_action close_receipt done [12:09:48]requested_data is exist [12:09:48]produce_requested_data [12:09:48]requested_item fm.sn is exist - process it [12:09:48]wFMCommunicate request_size=4 [12:09:48]MH_SAM_APDU [12:09:48]CAPDU: 80 11 00 00 [12:09:48]Write to MH i2c: E2 08 00 DA 30 80 11 00 00 00 00 00 00 84 [12:09:48]Write i2c OK [12:09:48]MH_I2C_Read... [12:09:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:48]Read from MH i2c: E2 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: E2 17 00 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: E2 17 00 DA 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D1 [12:09:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:09:48]wFMCommunicate OK [12:09:48]requested_item fd.num is exist - process it [12:09:48]SAM_PROTO_GetFieldsCounters [12:09:48]wFMCommunicate request_size=4 [12:09:48]MH_SAM_APDU [12:09:48]CAPDU: 80 13 00 00 [12:09:48]Write to MH i2c: E2 08 00 DB 30 80 13 00 00 00 00 00 00 87 [12:09:48]Write i2c OK [12:09:48]MH_I2C_Read... [12:09:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:09:48]Read from MH i2c: E2 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: E2 62 00 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: E2 62 00 DB 30 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 52 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 26 [12:09: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 52 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:09:48]wFMCommunicate OK [12:09:48]SAM_PROTO_GetFieldsCounters done [12:09:48]requested_item shift.num is exist - process it [12:09:48]requested_item shift.opened is exist - process it [12:09:48]req_shift_opened [12:09:48]FM_GetShiftState [12:09:48]SAM_PROTO_GetShiftState [12:09:48]wFMCommunicate request_size=4 [12:09:48]MH_SAM_APDU [12:09:48]CAPDU: 80 13 01 00 [12:09:48]Write to MH i2c: E2 08 00 DC 30 80 13 01 00 00 00 00 00 89 [12:09:48]Write i2c OK [12:09:48]MH_I2C_Read... [12:09:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:48]Read from MH i2c: E2 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: E2 0E 00 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: E2 0E 00 DC 30 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 0F [12:09:48]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:09:48]wFMCommunicate OK [12:09:48]SAM_PROTO_GetShiftState done [12:09:48]FM_GetShiftState done [12:09:48]req_shift_opened done [12:09:48]requested_item shift.open_date is exist - process it [12:09:48]req_shift_open_date [12:09:48]req_shift_open_date done [12:09:48]produce_requested_data done [12:09:48]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48978,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:09:48]process_action_free close_receipt [12:09:48]json_value_free [12:09:48]json_value_free done [12:09:48]process_json_proto returns [12:09:48]Send response to host [12:09:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48978,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:09:48]free response buf [12:09:48]execute_script done [12:09:48]execute_script returns [12:09:48]free content buf [12:09:48]Sock 7.Close socket [12:09:48]Sock 7.Thread stoped [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:47]OFD Sender: No OFD packet to send [12:10:52]OFD Sender: No OFD packet to send [12:10:57]OFD Sender: No OFD packet to send [12:11:02]OFD Sender: No OFD packet to send [12:11:07]OFD Sender: No OFD packet to send [12:11:12]OFD Sender: No OFD packet to send [12:11:17]OFD Sender: No OFD packet to send [12:11:22]OFD Sender: No OFD packet to send [12:11:27]OFD Sender: No OFD packet to send [12:11:32]OFD Sender: No OFD packet to send [12:11:37]OFD Sender: No OFD packet to send [12:11:42]OFD Sender: No OFD packet to send [12:11:47]OFD Sender: No OFD packet to send [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:32]OFD Sender: No OFD packet to send [12:12:37]OFD Sender: No OFD packet to send [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:17]OFD Sender: No OFD packet to send [12:13:22]OFD Sender: No OFD packet to send [12:13:27]OFD Sender: No OFD packet to send [12:13:32]OFD Sender: No OFD packet to send [12:13:37]OFD Sender: No OFD packet to send [12:13:42]OFD Sender: No OFD packet to send [12:13:47]OFD Sender: No OFD packet to send [12:13:52]OFD Sender: No OFD packet to send [12:13:57]OFD Sender: No OFD packet to send [12:14:02]OFD Sender: No OFD packet to send [12:14:07]OFD Sender: No OFD packet to send [12:14:12]OFD Sender: No OFD packet to send [12:14:17]OFD Sender: No OFD packet to send [12:14:22]OFD Sender: No OFD packet to send [12:14:27]OFD Sender: No OFD packet to send [12:14:32]OFD Sender: No OFD packet to send [12:14:37]OFD Sender: No OFD packet to send [12:14:42]OFD Sender: No OFD packet to send [12:14:47]OFD Sender: No OFD packet to send [12:14:52]OFD Sender: No OFD packet to send [12:14:57]OFD Sender: No OFD packet to send [12:15:02]OFD Sender: No OFD packet to send [12:15:07]OFD Sender: No OFD packet to send [12:15:12]OFD Sender: No OFD packet to send [12:15:17]OFD Sender: No OFD packet to send [12:15:22]OFD Sender: No OFD packet to send [12:15:27]OFD Sender: No OFD packet to send [12:15:32]OFD Sender: No OFD packet to send [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16:27]accept exits with 9 [12:16:27]New connection [12:16:27]New thread 3066670436 created [12:16:27]Thread 3066813796 joined [12:16:27]Waiting for new connection... [12:16:27] Sock 9.Parse request [12:16:27]Sock 9.Check first char [12:16:27]Sock 9.First char is OK [12:16:27]request: POST /json_proto HTTP/1.0 [12:16:27]Method: POST [12:16:27]URL: /json_proto [12:16:27]Method is POST - this is cgi request [12:16:27]url: /json_proto [12:16:27]query_string will be loaded in cgi processing [12:16:27]execute_cgi json_proto POST (null) [12:16:27]execute_cgi path=json_proto method=POST [12:16:27]POST find Content-Length [12:16:27]Host: 172.17.56.67:8080 [12:16:27]Content-Length: 805 [12:16:27]Content-Type: application/json [12:16:27] [12:16:27]POST finish read [12:16:27]Found Content-Length = 805 [12:16:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216077", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 5.750, "sum" : 346.73, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 346.73 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:16:27]execute_script... [12:16:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216077", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 5.750, "sum" : 346.73, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 346.73 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:16:27]POST & json_proto [12:16:27]process_json_proto [12:16:27]json parsed OK: [12:16:27]protocol is kg_v1.0 [12:16:27]action value=close_receipt [12:16:27]process_action close_receipt [12:16:27]cmd_close_receipt [12:16:27]MH_GetDate [12:16:27]Write to MH i2c: F0 00 00 DD 30 FC [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: F0 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: F0 09 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: F0 09 00 DD 30 00 A4 45 B6 65 26 5D 9E 65 8F [12:16:27]GetLastDocTimeStamp 1706443792 [12:16:27]current date 1706444196 [12:16:27]FM_GetShiftState [12:16:27]SAM_PROTO_GetShiftState [12:16:27]wFMCommunicate request_size=4 [12:16:27]MH_SAM_APDU [12:16:27]CAPDU: 80 13 01 00 [12:16:27]Write to MH i2c: E2 08 00 DE 30 80 13 01 00 00 00 00 00 8B [12:16:27]Write i2c OK [12:16:27]MH_I2C_Read... [12:16:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:16:27]Read from MH i2c: E2 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 0E 00 [12:16:27]MH_I2C_Read... [12:16:27]Read from MH i2c: E2 0E 00 DE 30 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 11 [12:16:27]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:16:27]wFMCommunicate OK [12:16:27]SAM_PROTO_GetShiftState done [12:16:27]FM_GetShiftState done [12:16:27]opened in 1706400199 [12:16:27]opened+sec_in_day 1706486599 [12:16:27]quantity*price = 34672 [12:16:27]sum+1 = 34674 [12:16:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 346.73 ÐСП 1% : 3.07 ÐДС 12% : 36.82 Ðаличными: 0.00 Безнал.: 346.73 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 44 28.01.2024 12:16 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: О! деньги ФМ: 0000000000875060 ФД: 48979 ФПД: 236587837717031 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T121636&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48979&fm=236587837717031&tin=02508201610067®Number=0000000000092723&sum=34673 [12:16:28]StoreToDocumentArchive [12:16:28]shift 244 fd 48979 [12:16:28]save to /storage/0244/doc_00048979 [12:16:28]save last doc name /storage/0244/doc_00048979 to /storage/kkm_last_doc_name [12:16:28]save OK [12:16:28]Clear old archive folders... [12:16:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:16:28]tlvbuf is 011D8220 [12:16:28]SAM_PROTO_ClearQueue [12:16:28]wFMCommunicate request_size=4 [12:16:28]MH_SAM_APDU [12:16:28]CAPDU: 80 09 00 00 [12:16:28]Write to MH i2c: E2 08 00 EB 30 80 09 00 00 00 00 00 00 8D [12:16:28]Write i2c OK [12:16:28]MH_I2C_Read... [12:16:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:16:28]Read from MH i2c: E2 [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: E2 03 00 [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: E2 03 00 EB 30 00 90 00 8F [12:16:28]RAPDU: 90 00 [12:16:28]wFMCommunicate OK [12:16:28]SAM_PROTO_ClearQueue done [12:16:28]KKMCreateOFDPacket [12:16:28]OFDProtocolAddRootSTLVToBuf [12:16:28]FM_MakeSignedData [12:16:28]FM_MakeSignedData [12:16:28]SAM_PROTO_SignData [12:16:28]wFMCommunicate request_size=4 [12:16:28]MH_SAM_APDU [12:16:28]CAPDU: 80 0D 01 02 [12:16:28]Write to MH i2c: E2 08 00 EC 30 80 0D 01 02 00 00 00 00 95 [12:16:28]Write i2c OK [12:16:28]MH_I2C_Read... [12:16:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:16:28]Read from MH i2c: E2 [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: E2 03 00 [12:16:28]MH_I2C_Read... [12:16:28]Read from MH i2c: E2 03 00 EC 30 00 90 00 90 [12:16:28]RAPDU: 90 00 [12:16:28]wFMCommunicate OK [12:16:28]wFMCommunicate request_size=255 [12:16:28]MH_SAM_APDU [12:16:28]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 76 16 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 71 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 71 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 71 87 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 A4 45 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 53 BF 00 00 35 04 06 00 D7 [12:16:28]Write to MH i2c: E2 02 01 ED 30 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 76 16 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 71 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 71 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 71 87 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 A4 45 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 53 BF 00 00 35 04 06 00 D7 00 00 61 [12:16:28]Write i2c OK [12:16:28]MH_I2C_Read... [12:16:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:16:29]Read from MH i2c: E2 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: E2 03 00 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: E2 03 00 ED 30 00 90 00 91 [12:16:29]RAPDU: 90 00 [12:16:29]wFMCommunicate OK [12:16:29]wFMCommunicate request_size=10 [12:16:29]MH_SAM_APDU [12:16:29]CAPDU: 80 0D 02 02 05 2C E6 06 7A 27 [12:16:29]Write to MH i2c: E2 0D 00 EE 30 80 0D 02 02 05 00 2C E6 06 7A 27 00 00 5B [12:16:29]Write i2c OK [12:16:29]MH_I2C_Read... [12:16:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:16:29]Read from MH i2c: E2 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: E2 03 00 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: E2 03 00 EE 30 00 90 00 92 [12:16:29]RAPDU: 90 00 [12:16:29]wFMCommunicate OK [12:16:29]wFMCommunicate request_size=4 [12:16:29]MH_SAM_APDU [12:16:29]CAPDU: 80 0D 03 02 [12:16:29]Write to MH i2c: E2 08 00 EF 30 80 0D 03 02 00 00 00 00 9A [12:16:29]Write i2c OK [12:16:29]MH_I2C_Read... [12:16:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:16:29]Read from MH i2c: E2 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: E2 0B 00 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: E2 0B 00 EF 30 00 7F 24 EF CA 77 CF DD 50 90 00 6A [12:16:29]RAPDU: 7F 24 EF CA 77 CF DD 50 90 00 [12:16:29]wFMCommunicate OK [12:16:29]SAM_PROTO_SignData done [12:16:29]FM_MakeSignedData done [12:16:29]CreateOFDProtocolMessage [12:16:29]wFMCommunicate request_size=4 [12:16:29]MH_SAM_APDU [12:16:29]CAPDU: 80 11 00 00 [12:16:29]Write to MH i2c: E2 08 00 F0 30 80 11 00 00 00 00 00 00 9A [12:16:29]Write i2c OK [12:16:29]MH_I2C_Read... [12:16:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:16:29]Read from MH i2c: E2 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: E2 17 00 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: E2 17 00 F0 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 E7 [12:16:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:16:29]wFMCommunicate OK [12:16:29]CreateOFDProtocolMessage done [12:16:29]OFDSenderStorePacket 48979 [12:16:29]StoreOFDPacket docnum=48979 [12:16:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 1B 00 07 01 E8 89 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 76 16 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 71 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 71 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 71 87 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 A4 45 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 53 BF 00 00 35 04 06 00 D7 2C E6 06 7A 27 7F 24 EF CA 77 CF DD 50 [12:16:29]CheckFolder [12:16:29]dirname=/storage/ofd_packets [12:16:29]CheckFolder done [12:16:29]ProducePacketName [12:16:29]name=ofd_packets/00048979 [12:16:29]NVStorageSaveData ofd_packets/00048979 [12:16:29]File name is /storage/ofd_packets/00048979 [12:16:29]Write 301 bytes [12:16:29]NVStorageSaveData done [12:16:29]OFDSenderStorePacket done [12:16:29]KKMCreateOFDPacket done [12:16:29]NVStorageSaveData kkm_last_timestamp [12:16:29]File name is /storage/kkm_last_timestamp [12:16:29]OFD Sender: Processing packet 48979 [packets to send 12, broken 11] [12:16:29]ProducePacketName [12:16:29]name=ofd_packets/00048979 [12:16:29]OFD Sender: To server: ‡•öpG, [12:16:29]CommunicateWithHost lk.salyk.kg:30040 [12:16:29]ConnectInit lk.salyk.kg [12:16:29]Write 4 bytes [12:16:29]NVStorageSaveData done [12:16:29]ExternCall_PrintAddStr [12:16:29]wPrintStart [12:16:29]Write to MH i2c: 01 00 00 F1 30 21 [12:16:29]Write i2c OK [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: 01 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: 01 07 00 [12:16:29]MH_I2C_Read... [12:16:29]Read from MH i2c: 01 07 00 F1 30 00 00 00 00 00 FF 0F 36 [12:16:29]RasterBufferAndPrint [12:16:29]line Счет N : (1)216077 [12:16:29]line ИÐÐ: 02508201610067 [12:16:29]line Контрольно-КаÑÑовый Чек [12:16:29]line ПРОДÐЖР[12:16:29]line ТРК (МРК, ГÐК) : 12 [12:16:29]line Товар: 2710124130 [12:16:29]line Ðи-92-К-5 [12:16:29]line 5.750 * 60.30 [12:16:29]line = 346.73 [12:16:29]line ÐДС 12% ÐСП 1% [12:16:29]line > о реализуемом товаре [12:16:29]line ИТОГО: 346.73 [12:16:29]line ÐСП 1% : 3.07 [12:16:29]line ÐДС 12% : 36.82 [12:16:29]line Ðаличными: 0.00 [12:16:29]line Безнал.: 346.73 [12:16:29]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:16:29]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:16:29]line СÐО: Общий режим [12:16:29]line Чек 44 28.01.2024 12:16 [12:16:29]line Смена: 244 ФФД: 1.0 [12:16:29]line ЗÐМ: 0300000040 [12:16:29]line РÐМ: 0000000000092723 [12:16:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:16:29]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: О! деньги [12:16:29]line ФМ: 0000000000875060 [12:16:29]line ФД: 48979 [12:16:29]line ФПД: 236587837717031 [12:16:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T121636&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48979&fm=236587837717031&tin=02508201610067®Number=0000000000092723&sum=34673 [12:16:29]written 0, free lines is 4095 [12:16:30]Write to MH i2c: 01 00 00 1B 31 4C [12:16:30]Write i2c OK [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: 01 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: 01 07 00 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: 01 07 00 1B 31 00 00 00 00 00 F8 0C 57 [12:16:30]RasterBufferAndPrint [12:16:30]line [12:16:30]line [12:16:30]line [12:16:30]line [12:16:30]line [12:16:30]written 0, free lines is 3328 [12:16:30]MH_Cut [12:16:30]Write to MH i2c: D1 01 00 22 31 01 25 [12:16:30]Write i2c OK [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: D1 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: D1 01 00 [12:16:30]MH_I2C_Read... [12:16:30]Read from MH i2c: D1 01 00 22 31 00 24 [12:16:30]Write to MH i2c: 01 00 00 23 31 54 [12:16:30]Write i2c OK [12:16:30]MH_I2C_Read... [12:16:30]*** Cut start [12:16:30]*** Partial cut [12:16:30]*** CUTSNS_PIN = 1 [12:16:30]*** CUTSNS_PIN = 0 [12:16:31]*** Brake cut motor [12:16:31]Read from MH i2c: 01 [12:16:31]MH_I2C_Read... [12:16:31]*** Stop cut motor [12:16:31]*** Cut end [12:16:31]Read from MH i2c: 01 07 00 [12:16:31]MH_I2C_Read... [12:16:31]Read from MH i2c: 01 07 00 23 31 00 00 00 00 00 FF 0F 69 [12:16:31]process_action close_receipt done [12:16:31]requested_data is exist [12:16:31]produce_requested_data [12:16:31]requested_item fm.sn is exist - process it [12:16:31]wFMCommunicate request_size=4 [12:16:31]MH_SAM_APDU [12:16:31]CAPDU: 80 11 00 00 [12:16:31]Write to MH i2c: E2 08 00 24 31 80 11 00 00 00 00 00 00 CF [12:16:31]Write i2c OK [12:16:31]MH_I2C_Read... [12:16:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:16:31]Read from MH i2c: E2 [12:16:31]MH_I2C_Read... [12:16:31]Read from MH i2c: E2 17 00 [12:16:31]MH_I2C_Read... [12:16:31]Read from MH i2c: E2 17 00 24 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 1C [12:16:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:16:31]wFMCommunicate OK [12:16:31]requested_item fd.num is exist - process it [12:16:31]SAM_PROTO_GetFieldsCounters [12:16:31]wFMCommunicate request_size=4 [12:16:31]MH_SAM_APDU [12:16:31]CAPDU: 80 13 00 00 [12:16:31]Write to MH i2c: E2 08 00 25 31 80 13 00 00 00 00 00 00 D2 [12:16:31]Write i2c OK [12:16:31]MH_I2C_Read... [12:16:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:16:31]Read from MH i2c: E2 [12:16:31]MH_I2C_Read... [12:16:31]Read from MH i2c: E2 62 00 [12:16:31]MH_I2C_Read... [12:16:31]Read from MH i2c: E2 62 00 25 31 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 53 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [12:16:31]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 53 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:16:31]wFMCommunicate OK [12:16:31]SAM_PROTO_GetFieldsCounters done [12:16:31]requested_item shift.num is exist - process it [12:16:31]requested_item shift.opened is exist - process it [12:16:31]req_shift_opened [12:16:31]FM_GetShiftState [12:16:31]SAM_PROTO_GetShiftState [12:16:31]wFMCommunicate request_size=4 [12:16:31]MH_SAM_APDU [12:16:31]CAPDU: 80 13 01 00 [12:16:31]Write to MH i2c: E2 08 00 26 31 80 13 01 00 00 00 00 00 D4 [12:16:31]Write i2c OK [12:16:31]MH_I2C_Read... [12:16:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:16:31]Read from MH i2c: E2 [12:16:31]MH_I2C_Read... [12:16:31]Read from MH i2c: E2 0E 00 [12:16:31]MH_I2C_Read... [12:16:31]Read from MH i2c: E2 0E 00 26 31 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 5A [12:16:31]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:16:31]wFMCommunicate OK [12:16:31]SAM_PROTO_GetShiftState done [12:16:31]FM_GetShiftState done [12:16:31]req_shift_opened done [12:16:31]requested_item shift.open_date is exist - process it [12:16:31]req_shift_open_date [12:16:31]req_shift_open_date done [12:16:31]produce_requested_data done [12:16:31]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48979,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:16:31]process_action_free close_receipt [12:16:31]json_value_free [12:16:31]json_value_free done [12:16:31]process_json_proto returns [12:16:31]Send response to host [12:16:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48979,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:16:31]free response buf [12:16:31]execute_script done [12:16:31]execute_script returns [12:16:31]free content buf [12:16:31]Sock 9.Close socket [12:16:31]Sock 9.Thread stoped [12:18:42]ConnectInit Can't connect to host [12:18:42]CommunicateWithHost connect error [12:18:42]CommunicateWithHost err = -1 [12:18:42]OFD Sender: Server communicate error [12:18:47]OFD Sender: Processing packet 48979 [packets to send 12, broken 11] [12:18:47]ProducePacketName [12:18:47]name=ofd_packets/00048979 [12:18:47]OFD Sender: To server: ‡•öpG, [12:18:47]CommunicateWithHost lk.salyk.kg:30040 [12:18:47]ConnectInit lk.salyk.kg [12:18:47]Connected sock=9 [12:18: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 30 36 30 0F 01 00 00 1B 00 07 01 E8 89 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 76 16 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 71 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 71 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 71 87 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 A4 45 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 53 BF 00 00 35 04 06 00 D7 2C E6 06 7A 27 7F 24 EF CA 77 CF DD 50 [12:18:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 C0 35 47 00 63 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 30 36 30 10 04 04 00 53 BF 00 00 F4 03 04 00 29 F2 B5 65 B6 04 01 00 00 75 3C 6E 1D 46 9E DF A7 [12:18:47]CommunicateWithHost err = 0 [12:18:47]CheckOFDResponse [12:18:47]1017 (14) - 77093643461234 [12:18:47]1041 (16) - 0000000000875060 [12:18:47]1040 (4) - 48979 [12:18:47]1012 (4) - 28.01.2024 06:20 [12:18:47]1206 (1) - 0 [12:18:47]OFD Sender: Remove packet 48979 [12:18:47]ProducePacketName [12:18:47]name=ofd_packets/00048979 [12:18:47]NVStorageDeleteData [12:18:47]OFD Sender: No OFD packet to send [12:18:52]OFD Sender: No OFD packet to send [12:18:57]OFD Sender: No OFD packet to send [12:19:02]OFD Sender: No OFD packet to send [12:19:07]OFD Sender: No OFD packet to send [12:19:12]OFD Sender: No OFD packet to send [12:19:17]OFD Sender: No OFD packet to send [12:19:22]OFD Sender: No OFD packet to send [12:19:24]accept exits with 7 [12:19:24]New connection [12:19:24]New thread 3066813796 created [12:19:24]Thread 3066670436 joined [12:19:24]Waiting for new connection... [12:19:24] Sock 7.Parse request [12:19:24]Sock 7.Check first char [12:19:24]Sock 7.First char is OK [12:19:24]request: POST /json_proto HTTP/1.0 [12:19:24]Method: POST [12:19:24]URL: /json_proto [12:19:24]Method is POST - this is cgi request [12:19:24]url: /json_proto [12:19:24]query_string will be loaded in cgi processing [12:19:24]execute_cgi json_proto POST (null) [12:19:24]execute_cgi path=json_proto method=POST [12:19:24]POST find Content-Length [12:19:24]Host: 172.17.56.67:8080 [12:19:24]Content-Length: 677 [12:19:24]Content-Type: application/json [12:19:24] [12:19:24]POST finish read [12:19:24]Found Content-Length = 677 [12:19:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216078", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [12:19:24]execute_script... [12:19:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216078", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [12:19:24]POST & json_proto [12:19:24]process_json_proto [12:19:24]json parsed OK: [12:19:24]protocol is kg_v1.0 [12:19:24]action value=close_receipt [12:19:24]process_action close_receipt [12:19:24]cmd_close_receipt [12:19:24]MH_GetDate [12:19:24]Write to MH i2c: F0 00 00 27 31 47 [12:19:24]Write i2c OK [12:19:24]MH_I2C_Read... [12:19:24]Read from MH i2c: F0 [12:19:24]MH_I2C_Read... [12:19:24]Read from MH i2c: F0 09 00 [12:19:24]MH_I2C_Read... [12:19:24]Read from MH i2c: F0 09 00 27 31 00 54 46 B6 65 26 5D 9E 65 8B [12:19:24]GetLastDocTimeStamp 1706444196 [12:19:24]current date 1706444372 [12:19:24]FM_GetShiftState [12:19:24]SAM_PROTO_GetShiftState [12:19:24]wFMCommunicate request_size=4 [12:19:24]MH_SAM_APDU [12:19:24]CAPDU: 80 13 01 00 [12:19:24]Write to MH i2c: E2 08 00 28 31 80 13 01 00 00 00 00 00 D6 [12:19:24]Write i2c OK [12:19:24]MH_I2C_Read... [12:19:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:24]Read from MH i2c: E2 [12:19:24]MH_I2C_Read... [12:19:24]Read from MH i2c: E2 0E 00 [12:19:24]MH_I2C_Read... [12:19:24]Read from MH i2c: E2 0E 00 28 31 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 5C [12:19:24]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:19:24]wFMCommunicate OK [12:19:24]SAM_PROTO_GetShiftState done [12:19:24]FM_GetShiftState done [12:19:24]opened in 1706400199 [12:19:24]opened+sec_in_day 1706486599 [12:19:24]quantity*price = 50049 [12:19:24]sum+1 = 50050 [12:19:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 45 28.01.2024 12:19 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48980 ФПД: 225695725779489 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T121932&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48980&fm=225695725779489&tin=02508201610067®Number=0000000000092723&sum=50000 [12:19:25]StoreToDocumentArchive [12:19:25]shift 244 fd 48980 [12:19:25]save to /storage/0244/doc_00048980 [12:19:25]save last doc name /storage/0244/doc_00048980 to /storage/kkm_last_doc_name [12:19:25]save OK [12:19:25]Clear old archive folders... [12:19:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:19:25]tlvbuf is 011FAD50 [12:19:25]SAM_PROTO_ClearQueue [12:19:25]wFMCommunicate request_size=4 [12:19:25]MH_SAM_APDU [12:19:25]CAPDU: 80 09 00 00 [12:19:25]Write to MH i2c: E2 08 00 35 31 80 09 00 00 00 00 00 00 D8 [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:19:25]Read from MH i2c: E2 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 03 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 03 00 35 31 00 90 00 DA [12:19:25]RAPDU: 90 00 [12:19:25]wFMCommunicate OK [12:19:25]SAM_PROTO_ClearQueue done [12:19:25]KKMCreateOFDPacket [12:19:25]OFDProtocolAddRootSTLVToBuf [12:19:25]FM_MakeSignedData [12:19:25]FM_MakeSignedData [12:19:25]SAM_PROTO_SignData [12:19:25]wFMCommunicate request_size=4 [12:19:25]MH_SAM_APDU [12:19:25]CAPDU: 80 0D 01 02 [12:19:25]Write to MH i2c: E2 08 00 36 31 80 0D 01 02 00 00 00 00 E0 [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:19:25]Read from MH i2c: E2 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 03 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 03 00 36 31 00 90 00 DB [12:19:25]RAPDU: 90 00 [12:19:25]wFMCommunicate OK [12:19:25]wFMCommunicate request_size=255 [12:19:25]MH_SAM_APDU [12:19:25]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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 2D 00 00 00 F4 03 04 00 54 46 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 54 BF 00 00 35 04 06 00 CD [12:19:25]Write to MH i2c: E2 02 01 37 31 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 2D 00 00 00 F4 03 04 00 54 46 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 54 BF 00 00 35 04 06 00 CD 00 00 C6 [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:25]Read from MH i2c: E2 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 03 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 03 00 37 31 00 90 00 DC [12:19:25]RAPDU: 90 00 [12:19:25]wFMCommunicate OK [12:19:25]wFMCommunicate request_size=10 [12:19:25]MH_SAM_APDU [12:19:25]CAPDU: 80 0D 02 02 05 44 E1 8F FA 21 [12:19:25]Write to MH i2c: E2 0D 00 38 31 80 0D 02 02 05 00 44 E1 8F FA 21 00 00 BC [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:25]Read from MH i2c: E2 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 03 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 03 00 38 31 00 90 00 DD [12:19:25]RAPDU: 90 00 [12:19:25]wFMCommunicate OK [12:19:25]wFMCommunicate request_size=4 [12:19:25]MH_SAM_APDU [12:19:25]CAPDU: 80 0D 03 02 [12:19:25]Write to MH i2c: E2 08 00 39 31 80 0D 03 02 00 00 00 00 E5 [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:19:25]Read from MH i2c: E2 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 0B 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 0B 00 39 31 00 DB 44 7A 15 DE 8E ED CE 90 00 BB [12:19:25]RAPDU: DB 44 7A 15 DE 8E ED CE 90 00 [12:19:25]wFMCommunicate OK [12:19:25]SAM_PROTO_SignData done [12:19:25]FM_MakeSignedData done [12:19:25]CreateOFDProtocolMessage [12:19:25]wFMCommunicate request_size=4 [12:19:25]MH_SAM_APDU [12:19:25]CAPDU: 80 11 00 00 [12:19:25]Write to MH i2c: E2 08 00 3A 31 80 11 00 00 00 00 00 00 E5 [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:25]Read from MH i2c: E2 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 17 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 17 00 3A 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 32 [12:19:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:19:25]wFMCommunicate OK [12:19:25]CreateOFDProtocolMessage done [12:19:25]OFDSenderStorePacket 48980 [12:19:25]StoreOFDPacket docnum=48980 [12:19:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 50 2D 07 01 71 5F 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 2D 00 00 00 F4 03 04 00 54 46 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 54 BF 00 00 35 04 06 00 CD 44 E1 8F FA 21 DB 44 7A 15 DE 8E ED CE [12:19:25]CheckFolder [12:19:25]dirname=/storage/ofd_packets [12:19:25]CheckFolder done [12:19:25]ProducePacketName [12:19:25]name=ofd_packets/00048980 [12:19:25]NVStorageSaveData ofd_packets/00048980 [12:19:25]File name is /storage/ofd_packets/00048980 [12:19:25]Write 301 bytes [12:19:25]NVStorageSaveData done [12:19:25]OFDSenderStorePacket done [12:19:25]KKMCreateOFDPacket done [12:19:25]NVStorageSaveData kkm_last_timestamp [12:19:25]File name is /storage/kkm_last_timestamp [12:19:25]Write 4 bytes [12:19:25]NVStorageSaveData done [12:19:25]ExternCall_PrintAddStr [12:19:25]wPrintStart [12:19:25]Write to MH i2c: 01 00 00 3B 31 6C [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: 01 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: 01 07 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: 01 07 00 3B 31 00 00 00 00 00 FF 0F 81 [12:19:25]RasterBufferAndPrint [12:19:25]line Счет N : (1)216078 [12:19:25]line ИÐÐ: 02508201610067 [12:19:25]line Контрольно-КаÑÑовый Чек [12:19:25]line ПРОДÐЖР[12:19:25]line ТРК (МРК, ГÐК) : 22 [12:19:25]line Товар: 2710124130 [12:19:25]line Ðи-92-К-5 [12:19:25]line 8.300 * 60.30 [12:19:25]line = 500.49 [12:19:25]line ÐДС 12% ÐСП 1% [12:19:25]line > о реализуемом товаре [12:19:25]line ОКРУГЛЕÐИЕ: -0.49 [12:19:25]line ИТОГО: 500.00 [12:19:25]line ВнеÑено: 500.00 [12:19:25]line СДÐЧÐ: 0.00 [12:19:25]line ÐСП 1% : 4.43 [12:19:25]line ÐДС 12% : 53.15 [12:19:25]line Ðаличными: 500.00 [12:19:25]line Безнал.: 0.00 [12:19:25]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:19:25]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:19:25]line СÐО: Общий режим [12:19:25]line Чек 45 28.01.2024 12:19 [12:19:25]line Смена: 244 ФФД: 1.0 [12:19:25]line ЗÐМ: 0300000040 [12:19:25]line РÐМ: 0000000000092723 [12:19:25]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:19:25]line ФМ: 0000000000875060 [12:19:25]line ФД: 48980 [12:19:25]line ФПД: 225695725779489 [12:19:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T121932&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48980&fm=225695725779489&tin=02508201610067®Number=0000000000092723&sum=50000 [12:19:26]OFD Sender: Processing packet 48980 [packets to send 12, broken 11] [12:19:26]ProducePacketName [12:19:26]name=ofd_packets/00048980 [12:19:26]OFD Sender: To server: ‡•öpG, [12:19:26]CommunicateWithHost lk.salyk.kg:30040 [12:19:26]ConnectInit lk.salyk.kg [12:19:26]written 0, free lines is 4095 [12:19:26]Connected sock=10 [12:19: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 30 36 30 0F 01 00 00 50 2D 07 01 71 5F 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 2D 00 00 00 F4 03 04 00 54 46 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 54 BF 00 00 35 04 06 00 CD 44 E1 8F FA 21 DB 44 7A 15 DE 8E ED CE [12:19:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 A2 75 47 00 AA 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 30 36 30 10 04 04 00 54 BF 00 00 F4 03 04 00 50 F2 B5 65 B6 04 01 00 00 67 59 C2 FD D7 1B 02 4A [12:19:26]CommunicateWithHost err = 0 [12:19:26]CheckOFDResponse [12:19:26]1017 (14) - 77093643461234 [12:19:26]1041 (16) - 0000000000875060 [12:19:26]1040 (4) - 48980 [12:19:26]1012 (4) - 28.01.2024 06:21 [12:19:26]1206 (1) - 0 [12:19:26]OFD Sender: Remove packet 48980 [12:19:26]ProducePacketName [12:19:26]name=ofd_packets/00048980 [12:19:26]NVStorageDeleteData [12:19:26]Write to MH i2c: 01 00 00 66 31 97 [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: 01 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: 01 07 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: 01 07 00 66 31 00 00 00 00 00 F6 0C A0 [12:19:26]RasterBufferAndPrint [12:19:26]line [12:19:26]line [12:19:26]line [12:19:26]line [12:19:26]line [12:19:26]written 0, free lines is 3324 [12:19:26]MH_Cut [12:19:26]Write to MH i2c: D1 01 00 6D 31 01 70 [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: D1 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: D1 01 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: D1 01 00 6D 31 00 6F [12:19:26]Write to MH i2c: 01 00 00 6E 31 9F [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]OFD Sender: No OFD packet to send [12:19:27]*** Cut start [12:19:27]*** Partial cut [12:19:27]*** CUTSNS_PIN = 1 [12:19:27]*** CUTSNS_PIN = 0 [12:19:27]*** Brake cut motor [12:19:27]Read from MH i2c: 01 [12:19:27]MH_I2C_Read... [12:19:27]*** Stop cut motor [12:19:27]*** Cut end [12:19:27]Read from MH i2c: 01 07 00 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: 01 07 00 6E 31 00 00 00 00 00 FF 0F B4 [12:19:27]process_action close_receipt done [12:19:27]requested_data is exist [12:19:27]produce_requested_data [12:19:27]requested_item fm.sn is exist - process it [12:19:27]wFMCommunicate request_size=4 [12:19:27]MH_SAM_APDU [12:19:27]CAPDU: 80 11 00 00 [12:19:27]Write to MH i2c: E2 08 00 6F 31 80 11 00 00 00 00 00 00 1A [12:19:27]Write i2c OK [12:19:27]MH_I2C_Read... [12:19:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:27]Read from MH i2c: E2 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: E2 17 00 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: E2 17 00 6F 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 67 [12:19:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:19:27]wFMCommunicate OK [12:19:27]requested_item fd.num is exist - process it [12:19:27]SAM_PROTO_GetFieldsCounters [12:19:27]wFMCommunicate request_size=4 [12:19:27]MH_SAM_APDU [12:19:27]CAPDU: 80 13 00 00 [12:19:27]Write to MH i2c: E2 08 00 70 31 80 13 00 00 00 00 00 00 1D [12:19:27]Write i2c OK [12:19:27]MH_I2C_Read... [12:19:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:19:27]Read from MH i2c: E2 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: E2 62 00 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: E2 62 00 70 31 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 54 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 C4 [12:19: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 54 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:19:27]wFMCommunicate OK [12:19:27]SAM_PROTO_GetFieldsCounters done [12:19:27]requested_item shift.num is exist - process it [12:19:27]requested_item shift.opened is exist - process it [12:19:27]req_shift_opened [12:19:27]FM_GetShiftState [12:19:27]SAM_PROTO_GetShiftState [12:19:27]wFMCommunicate request_size=4 [12:19:27]MH_SAM_APDU [12:19:27]CAPDU: 80 13 01 00 [12:19:27]Write to MH i2c: E2 08 00 71 31 80 13 01 00 00 00 00 00 1F [12:19:27]Write i2c OK [12:19:27]MH_I2C_Read... [12:19:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:28]Read from MH i2c: E2 [12:19:28]MH_I2C_Read... [12:19:28]Read from MH i2c: E2 0E 00 [12:19:28]MH_I2C_Read... [12:19:28]Read from MH i2c: E2 0E 00 71 31 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A5 [12:19:28]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:19:28]wFMCommunicate OK [12:19:28]SAM_PROTO_GetShiftState done [12:19:28]FM_GetShiftState done [12:19:28]req_shift_opened done [12:19:28]requested_item shift.open_date is exist - process it [12:19:28]req_shift_open_date [12:19:28]req_shift_open_date done [12:19:28]produce_requested_data done [12:19:28]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48980,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:19:28]process_action_free close_receipt [12:19:28]json_value_free [12:19:28]json_value_free done [12:19:28]process_json_proto returns [12:19:28]Send response to host [12:19:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48980,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:19:28]free response buf [12:19:28]execute_script done [12:19:28]execute_script returns [12:19:28]free content buf [12:19:28]Sock 7.Close socket [12:19:28]Sock 7.Thread stoped [12:19:31]OFD Sender: No OFD packet to send [12:19:36]OFD Sender: No OFD packet to send [12:19:41]OFD Sender: No OFD packet to send [12:19:46]OFD Sender: No OFD packet to send [12:19:51]OFD Sender: No OFD packet to send [12:19:56]OFD Sender: No OFD packet to send [12:20:01]OFD Sender: No OFD packet to send [12:20:06]OFD Sender: No OFD packet to send [12:20:11]OFD Sender: No OFD packet to send [12:20:16]OFD Sender: No OFD packet to send [12:20:21]OFD Sender: No OFD packet to send [12:20:26]OFD Sender: No OFD packet to send [12:20:31]OFD Sender: No OFD packet to send [12:20:34]accept exits with 9 [12:20:34]New connection [12:20:34]New thread 3066670436 created [12:20:34]Thread 3066813796 joined [12:20:34]Waiting for new connection... [12:20:34] Sock 9.Parse request [12:20:34]Sock 9.Check first char [12:20:34]Sock 9.First char is OK [12:20:34]request: POST /json_proto HTTP/1.0 [12:20:34]Method: POST [12:20:34]URL: /json_proto [12:20:34]Method is POST - this is cgi request [12:20:34]url: /json_proto [12:20:34]query_string will be loaded in cgi processing [12:20:34]execute_cgi json_proto POST (null) [12:20:34]execute_cgi path=json_proto method=POST [12:20:34]POST find Content-Length [12:20:34]Host: 172.17.56.67:8080 [12:20:34]Content-Length: 677 [12:20:34]Content-Type: application/json [12:20:34] [12:20:34]POST finish read [12:20:34]Found Content-Length = 677 [12:20:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216079", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [12:20:34]execute_script... [12:20:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216079", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [12:20:34]POST & json_proto [12:20:34]process_json_proto [12:20:34]json parsed OK: [12:20:34]protocol is kg_v1.0 [12:20:34]action value=close_receipt [12:20:34]process_action close_receipt [12:20:34]cmd_close_receipt [12:20:34]MH_GetDate [12:20:34]Write to MH i2c: F0 00 00 72 31 92 [12:20:34]Write i2c OK [12:20:34]MH_I2C_Read... [12:20:34]Read from MH i2c: F0 [12:20:34]MH_I2C_Read... [12:20:34]Read from MH i2c: F0 09 00 [12:20:34]MH_I2C_Read... [12:20:34]Read from MH i2c: F0 09 00 72 31 00 9A 46 B6 65 26 5D 9E 65 1C [12:20:34]GetLastDocTimeStamp 1706444372 [12:20:34]current date 1706444442 [12:20:34]FM_GetShiftState [12:20:34]SAM_PROTO_GetShiftState [12:20:34]wFMCommunicate request_size=4 [12:20:34]MH_SAM_APDU [12:20:34]CAPDU: 80 13 01 00 [12:20:34]Write to MH i2c: E2 08 00 73 31 80 13 01 00 00 00 00 00 21 [12:20:34]Write i2c OK [12:20:34]MH_I2C_Read... [12:20:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:20:34]Read from MH i2c: E2 [12:20:34]MH_I2C_Read... [12:20:34]Read from MH i2c: E2 0E 00 [12:20:34]MH_I2C_Read... [12:20:34]Read from MH i2c: E2 0E 00 73 31 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A7 [12:20:34]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:20:34]wFMCommunicate OK [12:20:34]SAM_PROTO_GetShiftState done [12:20:34]FM_GetShiftState done [12:20:34]opened in 1706400199 [12:20:34]opened+sec_in_day 1706486599 [12:20:34]quantity*price = 30029 [12:20:34]sum+1 = 30030 [12:20:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 46 28.01.2024 12:20 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48981 ФПД: 217729414441389 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T122042&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48981&fm=217729414441389&tin=02508201610067®Number=0000000000092723&sum=30000 [12:20:35]StoreToDocumentArchive [12:20:35]shift 244 fd 48981 [12:20:35]save to /storage/0244/doc_00048981 [12:20:35]save last doc name /storage/0244/doc_00048981 to /storage/kkm_last_doc_name [12:20:35]save OK [12:20:35]Clear old archive folders... [12:20:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:20:35]tlvbuf is 011C3B70 [12:20:35]SAM_PROTO_ClearQueue [12:20:35]wFMCommunicate request_size=4 [12:20:35]MH_SAM_APDU [12:20:35]CAPDU: 80 09 00 00 [12:20:35]Write to MH i2c: E2 08 00 80 31 80 09 00 00 00 00 00 00 23 [12:20:35]Write i2c OK [12:20:35]MH_I2C_Read... [12:20:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:20:35]Read from MH i2c: E2 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 03 00 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 03 00 80 31 00 90 00 25 [12:20:35]RAPDU: 90 00 [12:20:35]wFMCommunicate OK [12:20:35]SAM_PROTO_ClearQueue done [12:20:35]KKMCreateOFDPacket [12:20:35]OFDProtocolAddRootSTLVToBuf [12:20:35]FM_MakeSignedData [12:20:35]FM_MakeSignedData [12:20:35]SAM_PROTO_SignData [12:20:35]wFMCommunicate request_size=4 [12:20:35]MH_SAM_APDU [12:20:35]CAPDU: 80 0D 01 02 [12:20:35]Write to MH i2c: E2 08 00 81 31 80 0D 01 02 00 00 00 00 2B [12:20:35]Write i2c OK [12:20:35]MH_I2C_Read... [12:20:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:20:35]Read from MH i2c: E2 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 03 00 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 03 00 81 31 00 90 00 26 [12:20:35]RAPDU: 90 00 [12:20:35]wFMCommunicate OK [12:20:35]wFMCommunicate request_size=255 [12:20:35]MH_SAM_APDU [12:20:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 2E 00 00 00 F4 03 04 00 9A 46 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 55 BF 00 00 35 04 06 00 C6 [12:20:35]Write to MH i2c: E2 02 01 82 31 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 2E 00 00 00 F4 03 04 00 9A 46 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 55 BF 00 00 35 04 06 00 C6 00 00 E8 [12:20:35]Write i2c OK [12:20:35]MH_I2C_Read... [12:20:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:20:35]Read from MH i2c: E2 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 03 00 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 03 00 82 31 00 90 00 27 [12:20:35]RAPDU: 90 00 [12:20:35]wFMCommunicate OK [12:20:35]wFMCommunicate request_size=10 [12:20:35]MH_SAM_APDU [12:20:35]CAPDU: 80 0D 02 02 05 06 14 67 A9 AD [12:20:35]Write to MH i2c: E2 0D 00 83 31 80 0D 02 02 05 00 06 14 67 A9 AD 00 00 0F [12:20:35]Write i2c OK [12:20:35]MH_I2C_Read... [12:20:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:20:35]Read from MH i2c: E2 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 03 00 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 03 00 83 31 00 90 00 28 [12:20:35]RAPDU: 90 00 [12:20:35]wFMCommunicate OK [12:20:35]wFMCommunicate request_size=4 [12:20:35]MH_SAM_APDU [12:20:35]CAPDU: 80 0D 03 02 [12:20:35]Write to MH i2c: E2 08 00 84 31 80 0D 03 02 00 00 00 00 30 [12:20:35]Write i2c OK [12:20:35]MH_I2C_Read... [12:20:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:20:35]Read from MH i2c: E2 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 0B 00 [12:20:35]MH_I2C_Read... [12:20:35]Read from MH i2c: E2 0B 00 84 31 00 69 41 EE 9C 2B D7 2D 55 90 00 E9 [12:20:35]RAPDU: 69 41 EE 9C 2B D7 2D 55 90 00 [12:20:35]wFMCommunicate OK [12:20:35]SAM_PROTO_SignData done [12:20:35]FM_MakeSignedData done [12:20:35]CreateOFDProtocolMessage [12:20:35]wFMCommunicate request_size=4 [12:20:35]MH_SAM_APDU [12:20:35]CAPDU: 80 11 00 00 [12:20:35]Write to MH i2c: E2 08 00 85 31 80 11 00 00 00 00 00 00 30 [12:20:35]Write i2c OK [12:20:35]MH_I2C_Read... [12:20:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:20:36]Read from MH i2c: E2 [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: E2 17 00 [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: E2 17 00 85 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 7D [12:20:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:20:36]wFMCommunicate OK [12:20:36]CreateOFDProtocolMessage done [12:20:36]OFDSenderStorePacket 48981 [12:20:36]StoreOFDPacket docnum=48981 [12:20:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 89 58 07 01 DF B7 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 2E 00 00 00 F4 03 04 00 9A 46 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 55 BF 00 00 35 04 06 00 C6 06 14 67 A9 AD 69 41 EE 9C 2B D7 2D 55 [12:20:36]CheckFolder [12:20:36]dirname=/storage/ofd_packets [12:20:36]CheckFolder done [12:20:36]ProducePacketName [12:20:36]name=ofd_packets/00048981 [12:20:36]NVStorageSaveData ofd_packets/00048981 [12:20:36]File name is /storage/ofd_packets/00048981 [12:20:36]Write 301 bytes [12:20:36]NVStorageSaveData done [12:20:36]OFDSenderStorePacket done [12:20:36]KKMCreateOFDPacket done [12:20:36]NVStorageSaveData kkm_last_timestamp [12:20:36]File name is /storage/kkm_last_timestamp [12:20:36]Write 4 bytes [12:20:36]NVStorageSaveData done [12:20:36]ExternCall_PrintAddStr [12:20:36]wPrintStart [12:20:36]Write to MH i2c: 01 00 00 86 31 B7 [12:20:36]Write i2c OK [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: 01 [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: 01 07 00 [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: 01 07 00 86 31 00 00 00 00 00 FF 0F CC [12:20:36]RasterBufferAndPrint [12:20:36]line Счет N : (1)216079 [12:20:36]line ИÐÐ: 02508201610067 [12:20:36]line Контрольно-КаÑÑовый Чек [12:20:36]line ПРОДÐЖР[12:20:36]line ТРК (МРК, ГÐК) : 12 [12:20:36]line Товар: 2710124130 [12:20:36]line Ðи-92-К-5 [12:20:36]line 4.980 * 60.30 [12:20:36]line = 300.29 [12:20:36]line ÐДС 12% ÐСП 1% [12:20:36]line > о реализуемом товаре [12:20:36]line ОКРУГЛЕÐИЕ: -0.29 [12:20:36]line ИТОГО: 300.00 [12:20:36]line ВнеÑено: 300.00 [12:20:36]line СДÐЧÐ: 0.00 [12:20:36]line ÐСП 1% : 2.66 [12:20:36]line ÐДС 12% : 31.89 [12:20:36]line Ðаличными: 300.00 [12:20:36]line Безнал.: 0.00 [12:20:36]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:20:36]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:20:36]line СÐО: Общий режим [12:20:36]line Чек 46 28.01.2024 12:20 [12:20:36]line Смена: 244 ФФД: 1.0 [12:20:36]line ЗÐМ: 0300000040 [12:20:36]line РÐМ: 0000000000092723 [12:20:36]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:20:36]line ФМ: 0000000000875060 [12:20:36]line ФД: 48981 [12:20:36]line ФПД: 217729414441389 [12:20:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T122042&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48981&fm=217729414441389&tin=02508201610067®Number=0000000000092723&sum=30000 [12:20:36]OFD Sender: Processing packet 48981 [packets to send 12, broken 11] [12:20:36]ProducePacketName [12:20:36]name=ofd_packets/00048981 [12:20:36]OFD Sender: To server: ‡•öpG, [12:20:36]CommunicateWithHost lk.salyk.kg:30040 [12:20:36]ConnectInit lk.salyk.kg [12:20:36]written 0, free lines is 4095 [12:20:36]Connected sock=10 [12:20:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 89 58 07 01 DF B7 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 2E 00 00 00 F4 03 04 00 9A 46 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 55 BF 00 00 35 04 06 00 C6 06 14 67 A9 AD 69 41 EE 9C 2B D7 2D 55 [12:20:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 5A B4 47 00 34 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 30 36 30 10 04 04 00 55 BF 00 00 F4 03 04 00 96 F2 B5 65 B6 04 01 00 00 BC 54 A9 B6 36 E1 03 D8 [12:20:36]CommunicateWithHost err = 0 [12:20:36]CheckOFDResponse [12:20:36]1017 (14) - 77093643461234 [12:20:36]1041 (16) - 0000000000875060 [12:20:36]1040 (4) - 48981 [12:20:36]1012 (4) - 28.01.2024 06:22 [12:20:36]1206 (1) - 0 [12:20:36]OFD Sender: Remove packet 48981 [12:20:36]ProducePacketName [12:20:36]name=ofd_packets/00048981 [12:20:36]NVStorageDeleteData [12:20:36]Write to MH i2c: 01 00 00 B1 31 E2 [12:20:36]Write i2c OK [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: 01 [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: 01 07 00 [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: 01 07 00 B1 31 00 00 00 00 00 F3 0C E8 [12:20:36]RasterBufferAndPrint [12:20:36]line [12:20:36]line [12:20:36]line [12:20:36]line [12:20:36]line [12:20:36]written 0, free lines is 3321 [12:20:36]MH_Cut [12:20:36]Write to MH i2c: D1 01 00 B8 31 01 BB [12:20:36]Write i2c OK [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: D1 [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: D1 01 00 [12:20:36]MH_I2C_Read... [12:20:36]Read from MH i2c: D1 01 00 B8 31 00 BA [12:20:36]Write to MH i2c: 01 00 00 B9 31 EA [12:20:36]Write i2c OK [12:20:36]MH_I2C_Read... [12:20:37]OFD Sender: No OFD packet to send [12:20:37]*** Cut start [12:20:37]*** Partial cut [12:20:37]*** CUTSNS_PIN = 1 [12:20:37]*** CUTSNS_PIN = 0 [12:20:37]*** Brake cut motor [12:20:38]Read from MH i2c: 01 [12:20:38]MH_I2C_Read... [12:20:38]*** Stop cut motor [12:20:38]*** Cut end [12:20:38]Read from MH i2c: 01 07 00 [12:20:38]MH_I2C_Read... [12:20:38]Read from MH i2c: 01 07 00 B9 31 00 00 00 00 00 FF 0F FF [12:20:38]process_action close_receipt done [12:20:38]requested_data is exist [12:20:38]produce_requested_data [12:20:38]requested_item fm.sn is exist - process it [12:20:38]wFMCommunicate request_size=4 [12:20:38]MH_SAM_APDU [12:20:38]CAPDU: 80 11 00 00 [12:20:38]Write to MH i2c: E2 08 00 BA 31 80 11 00 00 00 00 00 00 65 [12:20:38]Write i2c OK [12:20:38]MH_I2C_Read... [12:20:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:20:38]Read from MH i2c: E2 [12:20:38]MH_I2C_Read... [12:20:38]Read from MH i2c: E2 17 00 [12:20:38]MH_I2C_Read... [12:20:38]Read from MH i2c: E2 17 00 BA 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 B2 [12:20:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:20:38]wFMCommunicate OK [12:20:38]requested_item fd.num is exist - process it [12:20:38]SAM_PROTO_GetFieldsCounters [12:20:38]wFMCommunicate request_size=4 [12:20:38]MH_SAM_APDU [12:20:38]CAPDU: 80 13 00 00 [12:20:38]Write to MH i2c: E2 08 00 BB 31 80 13 00 00 00 00 00 00 68 [12:20:38]Write i2c OK [12:20:38]MH_I2C_Read... [12:20:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:20:38]Read from MH i2c: E2 [12:20:38]MH_I2C_Read... [12:20:38]Read from MH i2c: E2 62 00 [12:20:38]MH_I2C_Read... [12:20:38]Read from MH i2c: E2 62 00 BB 31 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 55 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 13 [12:20:38]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 55 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:20:38]wFMCommunicate OK [12:20:38]SAM_PROTO_GetFieldsCounters done [12:20:38]requested_item shift.num is exist - process it [12:20:38]requested_item shift.opened is exist - process it [12:20:38]req_shift_opened [12:20:38]FM_GetShiftState [12:20:38]SAM_PROTO_GetShiftState [12:20:38]wFMCommunicate request_size=4 [12:20:38]MH_SAM_APDU [12:20:38]CAPDU: 80 13 01 00 [12:20:38]Write to MH i2c: E2 08 00 BC 31 80 13 01 00 00 00 00 00 6A [12:20:38]Write i2c OK [12:20:38]MH_I2C_Read... [12:20:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:20:38]Read from MH i2c: E2 [12:20:38]MH_I2C_Read... [12:20:38]Read from MH i2c: E2 0E 00 [12:20:38]MH_I2C_Read... [12:20:38]Read from MH i2c: E2 0E 00 BC 31 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F0 [12:20:38]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:20:38]wFMCommunicate OK [12:20:38]SAM_PROTO_GetShiftState done [12:20:38]FM_GetShiftState done [12:20:38]req_shift_opened done [12:20:38]requested_item shift.open_date is exist - process it [12:20:38]req_shift_open_date [12:20:38]req_shift_open_date done [12:20:38]produce_requested_data done [12:20:38]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48981,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:20:38]process_action_free close_receipt [12:20:38]json_value_free [12:20:38]json_value_free done [12:20:38]process_json_proto returns [12:20:38]Send response to host [12:20:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48981,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:20:38]free response buf [12:20:38]execute_script done [12:20:38]execute_script returns [12:20:38]free content buf [12:20:38]Sock 9.Close socket [12:20:38]Sock 9.Thread stoped [12:20:42]OFD Sender: No OFD packet to send [12:20:47]OFD Sender: No OFD packet to send [12:20:52]OFD Sender: No OFD packet to send [12:20:57]OFD Sender: No OFD packet to send [12:21:02]OFD Sender: No OFD packet to send [12:21:07]OFD Sender: No OFD packet to send [12:21:12]OFD Sender: No OFD packet to send [12:21:17]OFD Sender: No OFD packet to send [12:21:22]OFD Sender: No OFD packet to send [12:21:27]OFD Sender: No OFD packet to send [12:21:32]OFD Sender: No OFD packet to send [12:21:37]OFD Sender: No OFD packet to send [12:21:42]OFD Sender: No OFD packet to send [12:21:47]OFD Sender: No OFD packet to send [12:21:52]OFD Sender: No OFD packet to send [12:21:57]OFD Sender: No OFD packet to send [12:22:02]OFD Sender: No OFD packet to send [12:22:07]OFD Sender: No OFD packet to send [12:22:12]OFD Sender: No OFD packet to send [12:22:17]OFD Sender: No OFD packet to send [12:22:22]OFD Sender: No OFD packet to send [12:22:27]OFD Sender: No OFD packet to send [12:22:32]OFD Sender: No OFD packet to send [12:22:37]OFD Sender: No OFD packet to send [12:22:42]OFD Sender: No OFD packet to send [12:22:47]OFD Sender: No OFD packet to send [12:22:52]OFD Sender: No OFD packet to send [12:22:57]OFD Sender: No OFD packet to send [12:23:02]OFD Sender: No OFD packet to send [12:23:07]OFD Sender: No OFD packet to send [12:23:12]OFD Sender: No OFD packet to send [12:23:17]OFD Sender: No OFD packet to send [12:23:22]OFD Sender: No OFD packet to send [12:23:27]OFD Sender: No OFD packet to send [12:23:32]OFD Sender: No OFD packet to send [12:23:37]OFD Sender: No OFD packet to send [12:23:42]OFD Sender: No OFD packet to send [12:23:47]OFD Sender: No OFD packet to send [12:23:52]OFD Sender: No OFD packet to send [12:23:57]OFD Sender: No OFD packet to send [12:24:02]OFD Sender: No OFD packet to send [12:24:07]OFD Sender: No OFD packet to send [12:24:12]OFD Sender: No OFD packet to send [12:24:17]OFD Sender: No OFD packet to send [12:24:22]OFD Sender: No OFD packet to send [12:24:27]OFD Sender: No OFD packet to send [12:24:32]OFD Sender: No OFD packet to send [12:24:37]OFD Sender: No OFD packet to send [12:24:42]OFD Sender: No OFD packet to send [12:24:47]OFD Sender: No OFD packet to send [12:24:52]OFD Sender: No OFD packet to send [12:24:57]OFD Sender: No OFD packet to send [12:25:02]OFD Sender: No OFD packet to send [12:25:07]OFD Sender: No OFD packet to send [12:25:12]OFD Sender: No OFD packet to send [12:25:17]OFD Sender: No OFD packet to send [12:25:22]OFD Sender: No OFD packet to send [12:25:27]OFD Sender: No OFD packet to send [12:25:32]OFD Sender: No OFD packet to send [12:25:37]OFD Sender: No OFD packet to send [12:25:42]OFD Sender: No OFD packet to send [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26:02]OFD Sender: No OFD packet to send [12:26:07]OFD Sender: No OFD packet to send [12:26:12]OFD Sender: No OFD packet to send [12:26:17]OFD Sender: No OFD packet to send [12:26:22]OFD Sender: No OFD packet to send [12:26:27]OFD Sender: No OFD packet to send [12:26:32]OFD Sender: No OFD packet to send [12:26:37]OFD Sender: No OFD packet to send [12:26:42]OFD Sender: No OFD packet to send [12:26:47]OFD Sender: No OFD packet to send [12:26:52]OFD Sender: No OFD packet to send [12:26:57]OFD Sender: No OFD packet to send [12:27:02]OFD Sender: No OFD packet to send [12:27:07]OFD Sender: No OFD packet to send [12:27:12]OFD Sender: No OFD packet to send [12:27:17]OFD Sender: No OFD packet to send [12:27:22]OFD Sender: No OFD packet to send [12:27:27]OFD Sender: No OFD packet to send [12:27:32]OFD Sender: No OFD packet to send [12:27:37]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:57]OFD Sender: No OFD packet to send [12:29:02]OFD Sender: No OFD packet to send [12:29:07]OFD Sender: No OFD packet to send [12:29:12]OFD Sender: No OFD packet to send [12:29:17]OFD Sender: No OFD packet to send [12:29:22]OFD Sender: No OFD packet to send [12:29:27]OFD Sender: No OFD packet to send [12:29:32]OFD Sender: No OFD packet to send [12:29:37]OFD Sender: No OFD packet to send [12:29:42]OFD Sender: No OFD packet to send [12:29:47]OFD Sender: No OFD packet to send [12:29:52]OFD Sender: No OFD packet to send [12:29:57]OFD Sender: No OFD packet to send [12:30:02]OFD Sender: No OFD packet to send [12:30:07]OFD Sender: No OFD packet to send [12:30:12]OFD Sender: No OFD packet to send [12:30:17]OFD Sender: No OFD packet to send [12:30:22]OFD Sender: No OFD packet to send [12:30:27]OFD Sender: No OFD packet to send [12:30:29]accept exits with 7 [12:30:29]New connection [12:30:29]New thread 3066813796 created [12:30:29]Thread 3066670436 joined [12:30:29]Waiting for new connection... [12:30:29] Sock 7.Parse request [12:30:29]Sock 7.Check first char [12:30:29]Sock 7.First char is OK [12:30:29]request: POST /json_proto HTTP/1.0 [12:30:29]Method: POST [12:30:29]URL: /json_proto [12:30:29]Method is POST - this is cgi request [12:30:29]url: /json_proto [12:30:29]query_string will be loaded in cgi processing [12:30:29]execute_cgi json_proto POST (null) [12:30:29]execute_cgi path=json_proto method=POST [12:30:29]POST find Content-Length [12:30:29]Host: 172.17.56.67:8080 [12:30:29]Content-Length: 677 [12:30:29]Content-Type: application/json [12:30:29] [12:30:29]POST finish read [12:30:29]Found Content-Length = 677 [12:30:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216080", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [12:30:29]execute_script... [12:30: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 : (1)216080", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [12:30:29]POST & json_proto [12:30:29]process_json_proto [12:30:29]json parsed OK: [12:30:29]protocol is kg_v1.0 [12:30:29]action value=close_receipt [12:30:29]process_action close_receipt [12:30:29]cmd_close_receipt [12:30:29]MH_GetDate [12:30:29]Write to MH i2c: F0 00 00 BD 31 DD [12:30:29]Write i2c OK [12:30:29]MH_I2C_Read... [12:30:29]Read from MH i2c: F0 [12:30:29]MH_I2C_Read... [12:30:29]Read from MH i2c: F0 09 00 [12:30:29]MH_I2C_Read... [12:30:29]Read from MH i2c: F0 09 00 BD 31 00 ED 48 B6 65 26 5D 9E 65 BC [12:30:29]GetLastDocTimeStamp 1706444442 [12:30:29]current date 1706445037 [12:30:29]FM_GetShiftState [12:30:29]SAM_PROTO_GetShiftState [12:30:29]wFMCommunicate request_size=4 [12:30:29]MH_SAM_APDU [12:30:29]CAPDU: 80 13 01 00 [12:30:29]Write to MH i2c: E2 08 00 BE 31 80 13 01 00 00 00 00 00 6C [12:30:29]Write i2c OK [12:30:29]MH_I2C_Read... [12:30:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:29]Read from MH i2c: E2 [12:30:29]MH_I2C_Read... [12:30:29]Read from MH i2c: E2 0E 00 [12:30:29]MH_I2C_Read... [12:30:29]Read from MH i2c: E2 0E 00 BE 31 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F2 [12:30:29]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:30:29]wFMCommunicate OK [12:30:29]SAM_PROTO_GetShiftState done [12:30:29]FM_GetShiftState done [12:30:29]opened in 1706400199 [12:30:29]opened+sec_in_day 1706486599 [12:30:29]quantity*price = 20019 [12:30:29]sum+1 = 20021 [12:30:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 47 28.01.2024 12:30 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48982 ФПД: 63819923162949 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T123037&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48982&fm=63819923162949&tin=02508201610067®Number=0000000000092723&sum=20000 [12:30:30]StoreToDocumentArchive [12:30:30]shift 244 fd 48982 [12:30:30]save to /storage/0244/doc_00048982 [12:30:30]save last doc name /storage/0244/doc_00048982 to /storage/kkm_last_doc_name [12:30:30]save OK [12:30:30]Clear old archive folders... [12:30:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:30:30]tlvbuf is 011C3540 [12:30:30]SAM_PROTO_ClearQueue [12:30:30]wFMCommunicate request_size=4 [12:30:30]MH_SAM_APDU [12:30:30]CAPDU: 80 09 00 00 [12:30:30]Write to MH i2c: E2 08 00 CB 31 80 09 00 00 00 00 00 00 6E [12:30:30]Write i2c OK [12:30:30]MH_I2C_Read... [12:30:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:30:30]Read from MH i2c: E2 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 03 00 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 03 00 CB 31 00 90 00 70 [12:30:30]RAPDU: 90 00 [12:30:30]wFMCommunicate OK [12:30:30]SAM_PROTO_ClearQueue done [12:30:30]KKMCreateOFDPacket [12:30:30]OFDProtocolAddRootSTLVToBuf [12:30:30]FM_MakeSignedData [12:30:30]FM_MakeSignedData [12:30:30]SAM_PROTO_SignData [12:30:30]wFMCommunicate request_size=4 [12:30:30]MH_SAM_APDU [12:30:30]CAPDU: 80 0D 01 02 [12:30:30]Write to MH i2c: E2 08 00 CC 31 80 0D 01 02 00 00 00 00 76 [12:30:30]Write i2c OK [12:30:30]MH_I2C_Read... [12:30:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:30:30]Read from MH i2c: E2 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 03 00 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 03 00 CC 31 00 90 00 71 [12:30:30]RAPDU: 90 00 [12:30:30]wFMCommunicate OK [12:30:30]wFMCommunicate request_size=255 [12:30:30]MH_SAM_APDU [12:30:30]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 2F 00 00 00 F4 03 04 00 ED 48 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 56 BF 00 00 35 04 06 00 3A [12:30:30]Write to MH i2c: E2 02 01 CD 31 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 2F 00 00 00 F4 03 04 00 ED 48 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 56 BF 00 00 35 04 06 00 3A 00 00 48 [12:30:30]Write i2c OK [12:30:30]MH_I2C_Read... [12:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:30]Read from MH i2c: E2 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 03 00 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 03 00 CD 31 00 90 00 72 [12:30:30]RAPDU: 90 00 [12:30:30]wFMCommunicate OK [12:30:30]wFMCommunicate request_size=10 [12:30:30]MH_SAM_APDU [12:30:30]CAPDU: 80 0D 02 02 05 0B 3B D9 87 45 [12:30:30]Write to MH i2c: E2 0D 00 CE 31 80 0D 02 02 05 00 0B 3B D9 87 45 00 00 6E [12:30:30]Write i2c OK [12:30:30]MH_I2C_Read... [12:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:30]Read from MH i2c: E2 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 03 00 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 03 00 CE 31 00 90 00 73 [12:30:30]RAPDU: 90 00 [12:30:30]wFMCommunicate OK [12:30:30]wFMCommunicate request_size=4 [12:30:30]MH_SAM_APDU [12:30:30]CAPDU: 80 0D 03 02 [12:30:30]Write to MH i2c: E2 08 00 CF 31 80 0D 03 02 00 00 00 00 7B [12:30:30]Write i2c OK [12:30:30]MH_I2C_Read... [12:30:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:30:30]Read from MH i2c: E2 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 0B 00 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 0B 00 CF 31 00 5F FB AB 66 E3 DE 5E CC 90 00 D2 [12:30:30]RAPDU: 5F FB AB 66 E3 DE 5E CC 90 00 [12:30:30]wFMCommunicate OK [12:30:30]SAM_PROTO_SignData done [12:30:30]FM_MakeSignedData done [12:30:30]CreateOFDProtocolMessage [12:30:30]wFMCommunicate request_size=4 [12:30:30]MH_SAM_APDU [12:30:30]CAPDU: 80 11 00 00 [12:30:30]Write to MH i2c: E2 08 00 D0 31 80 11 00 00 00 00 00 00 7B [12:30:30]Write i2c OK [12:30:30]MH_I2C_Read... [12:30:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:30:30]Read from MH i2c: E2 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 17 00 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: E2 17 00 D0 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 C8 [12:30:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:30:30]wFMCommunicate OK [12:30:30]CreateOFDProtocolMessage done [12:30:30]OFDSenderStorePacket 48982 [12:30:30]StoreOFDPacket docnum=48982 [12:30:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 FD 8F 07 01 AA 0A 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 2F 00 00 00 F4 03 04 00 ED 48 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 56 BF 00 00 35 04 06 00 3A 0B 3B D9 87 45 5F FB AB 66 E3 DE 5E CC [12:30:30]CheckFolder [12:30:30]dirname=/storage/ofd_packets [12:30:30]CheckFolder done [12:30:30]ProducePacketName [12:30:30]name=ofd_packets/00048982 [12:30:30]NVStorageSaveData ofd_packets/00048982 [12:30:30]File name is /storage/ofd_packets/00048982 [12:30:30]Write 301 bytes [12:30:30]NVStorageSaveData done [12:30:30]OFDSenderStorePacket done [12:30:30]KKMCreateOFDPacket done [12:30:30]NVStorageSaveData kkm_last_timestamp [12:30:30]File name is /storage/kkm_last_timestamp [12:30:30]Write 4 bytes [12:30:30]NVStorageSaveData done [12:30:30]ExternCall_PrintAddStr [12:30:30]wPrintStart [12:30:30]Write to MH i2c: 01 00 00 D1 31 02 [12:30:30]Write i2c OK [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: 01 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: 01 07 00 [12:30:30]MH_I2C_Read... [12:30:30]Read from MH i2c: 01 07 00 D1 31 00 00 00 00 00 FF 0F 17 [12:30:30]RasterBufferAndPrint [12:30:30]line Счет N : (1)216080 [12:30:30]line ИÐÐ: 02508201610067 [12:30:30]line Контрольно-КаÑÑовый Чек [12:30:30]line ПРОДÐЖР[12:30:30]line ТРК (МРК, ГÐК) : 12 [12:30:30]line Товар: 2710124130 [12:30:30]line Ðи-92-К-5 [12:30:30]line 3.320 * 60.30 [12:30:30]line = 200.20 [12:30:30]line ÐДС 12% ÐСП 1% [12:30:30]line > о реализуемом товаре [12:30:30]line ОКРУГЛЕÐИЕ: -0.20 [12:30:30]line ИТОГО: 200.00 [12:30:30]line ВнеÑено: 200.00 [12:30:30]line СДÐЧÐ: 0.00 [12:30:30]line ÐСП 1% : 1.77 [12:30:30]line ÐДС 12% : 21.26 [12:30:30]line Ðаличными: 200.00 [12:30:30]line Безнал.: 0.00 [12:30:30]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:30:30]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:30:30]line СÐО: Общий режим [12:30:30]line Чек 47 28.01.2024 12:30 [12:30:30]line Смена: 244 ФФД: 1.0 [12:30:30]line ЗÐМ: 0300000040 [12:30:30]line РÐМ: 0000000000092723 [12:30:30]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:30:30]line ФМ: 0000000000875060 [12:30:30]line ФД: 48982 [12:30:30]line ФПД: 63819923162949 [12:30:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T123037&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48982&fm=63819923162949&tin=02508201610067®Number=0000000000092723&sum=20000 [12:30:31]OFD Sender: Processing packet 48982 [packets to send 12, broken 11] [12:30:31]ProducePacketName [12:30:31]name=ofd_packets/00048982 [12:30:31]OFD Sender: To server: ‡•öpG, [12:30:31]CommunicateWithHost lk.salyk.kg:30040 [12:30:31]ConnectInit lk.salyk.kg [12:30:31]written 0, free lines is 4095 [12:30:31]Connected sock=9 [12:30: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 30 36 30 0F 01 00 00 FD 8F 07 01 AA 0A 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 2F 00 00 00 F4 03 04 00 ED 48 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 56 BF 00 00 35 04 06 00 3A 0B 3B D9 87 45 5F FB AB 66 E3 DE 5E CC [12:30:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 F9 33 47 00 CD 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 56 BF 00 00 F4 03 04 00 E9 F4 B5 65 B6 04 01 00 00 5A 54 F2 9C 90 32 4D EA [12:30:31]CommunicateWithHost err = 0 [12:30:31]CheckOFDResponse [12:30:31]1017 (14) - 77093643461234 [12:30:31]1041 (16) - 0000000000875060 [12:30:31]1040 (4) - 48982 [12:30:31]1012 (4) - 28.01.2024 06:32 [12:30:31]1206 (1) - 0 [12:30:31]OFD Sender: Remove packet 48982 [12:30:31]ProducePacketName [12:30:31]name=ofd_packets/00048982 [12:30:31]NVStorageDeleteData [12:30:31]Write to MH i2c: 01 00 00 FC 31 2D [12:30:31]Write i2c OK [12:30:31]MH_I2C_Read... [12:30:31]Read from MH i2c: 01 [12:30:31]MH_I2C_Read... [12:30:31]Read from MH i2c: 01 07 00 [12:30:31]MH_I2C_Read... [12:30:31]Read from MH i2c: 01 07 00 FC 31 00 00 00 00 00 EE 0C 2E [12:30:31]RasterBufferAndPrint [12:30:31]line [12:30:31]line [12:30:31]line [12:30:31]line [12:30:31]line [12:30:31]written 0, free lines is 3316 [12:30:31]MH_Cut [12:30:31]Write to MH i2c: D1 01 00 03 32 01 07 [12:30:31]Write i2c OK [12:30:31]MH_I2C_Read... [12:30:31]Read from MH i2c: D1 [12:30:31]MH_I2C_Read... [12:30:31]Read from MH i2c: D1 01 00 [12:30:31]MH_I2C_Read... [12:30:31]Read from MH i2c: D1 01 00 03 32 00 06 [12:30:31]Write to MH i2c: 01 00 00 04 32 36 [12:30:31]Write i2c OK [12:30:31]MH_I2C_Read... [12:30:32]OFD Sender: No OFD packet to send [12:30:32]*** Cut start [12:30:32]*** Partial cut [12:30:32]*** CUTSNS_PIN = 1 [12:30:32]*** CUTSNS_PIN = 0 [12:30:32]*** Brake cut motor [12:30:32]Read from MH i2c: 01 [12:30:32]MH_I2C_Read... [12:30:32]*** Stop cut motor [12:30:32]*** Cut end [12:30:32]Read from MH i2c: 01 07 00 [12:30:32]MH_I2C_Read... [12:30:32]Read from MH i2c: 01 07 00 04 32 00 00 00 00 00 FF 0F 4B [12:30:32]process_action close_receipt done [12:30:32]requested_data is exist [12:30:32]produce_requested_data [12:30:32]requested_item fm.sn is exist - process it [12:30:32]wFMCommunicate request_size=4 [12:30:32]MH_SAM_APDU [12:30:32]CAPDU: 80 11 00 00 [12:30:32]Write to MH i2c: E2 08 00 05 32 80 11 00 00 00 00 00 00 B1 [12:30:32]Write i2c OK [12:30:32]MH_I2C_Read... [12:30:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:30:33]Read from MH i2c: E2 [12:30:33]MH_I2C_Read... [12:30:33]Read from MH i2c: E2 17 00 [12:30:33]MH_I2C_Read... [12:30:33]Read from MH i2c: E2 17 00 05 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 FE [12:30:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:30:33]wFMCommunicate OK [12:30:33]requested_item fd.num is exist - process it [12:30:33]SAM_PROTO_GetFieldsCounters [12:30:33]wFMCommunicate request_size=4 [12:30:33]MH_SAM_APDU [12:30:33]CAPDU: 80 13 00 00 [12:30:33]Write to MH i2c: E2 08 00 06 32 80 13 00 00 00 00 00 00 B4 [12:30:33]Write i2c OK [12:30:33]MH_I2C_Read... [12:30:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:30:33]Read from MH i2c: E2 [12:30:33]MH_I2C_Read... [12:30:33]Read from MH i2c: E2 62 00 [12:30:33]MH_I2C_Read... [12:30:33]Read from MH i2c: E2 62 00 06 32 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 56 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [12:30: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 56 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:30:33]wFMCommunicate OK [12:30:33]SAM_PROTO_GetFieldsCounters done [12:30:33]requested_item shift.num is exist - process it [12:30:33]requested_item shift.opened is exist - process it [12:30:33]req_shift_opened [12:30:33]FM_GetShiftState [12:30:33]SAM_PROTO_GetShiftState [12:30:33]wFMCommunicate request_size=4 [12:30:33]MH_SAM_APDU [12:30:33]CAPDU: 80 13 01 00 [12:30:33]Write to MH i2c: E2 08 00 07 32 80 13 01 00 00 00 00 00 B6 [12:30:33]Write i2c OK [12:30:33]MH_I2C_Read... [12:30:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:33]Read from MH i2c: E2 [12:30:33]MH_I2C_Read... [12:30:33]Read from MH i2c: E2 0E 00 [12:30:33]MH_I2C_Read... [12:30:33]Read from MH i2c: E2 0E 00 07 32 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3C [12:30:33]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:30:33]wFMCommunicate OK [12:30:33]SAM_PROTO_GetShiftState done [12:30:33]FM_GetShiftState done [12:30:33]req_shift_opened done [12:30:33]requested_item shift.open_date is exist - process it [12:30:33]req_shift_open_date [12:30:33]req_shift_open_date done [12:30:33]produce_requested_data done [12:30:33]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48982,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:30:33]process_action_free close_receipt [12:30:33]json_value_free [12:30:33]json_value_free done [12:30:33]process_json_proto returns [12:30:33]Send response to host [12:30:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48982,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:30:33]free response buf [12:30:33]execute_script done [12:30:33]execute_script returns [12:30:33]free content buf [12:30:33]Sock 7.Close socket [12:30:33]Sock 7.Thread stoped [12:30:37]OFD Sender: No OFD packet to send [12:30:42]OFD Sender: No OFD packet to send [12:30:47]OFD Sender: No OFD packet to send [12:30:52]OFD Sender: No OFD packet to send [12:30:57]OFD Sender: No OFD packet to send [12:30:59]accept exits with 10 [12:30:59]New connection [12:30:59]New thread 3066670436 created [12:30:59]Thread 3066813796 joined [12:30:59]Waiting for new connection... [12:30:59] Sock 10.Parse request [12:30:59]Sock 10.Check first char [12:30:59]Sock 10.First char is OK [12:30:59]request: POST /json_proto HTTP/1.0 [12:30:59]Method: POST [12:30:59]URL: /json_proto [12:30:59]Method is POST - this is cgi request [12:30:59]url: /json_proto [12:30:59]query_string will be loaded in cgi processing [12:30:59]execute_cgi json_proto POST (null) [12:30:59]execute_cgi path=json_proto method=POST [12:30:59]POST find Content-Length [12:30:59]Host: 172.17.56.67:8080 [12:30:59]Content-Length: 678 [12:30:59]Content-Type: application/json [12:30:59] [12:30:59]POST finish read [12:30:59]Found Content-Length = 678 [12:30:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216081", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 11.610, "sum" : 700.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:30:59]execute_script... [12:30: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 : (1)216081", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 11.610, "sum" : 700.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:30:59]POST & json_proto [12:30:59]process_json_proto [12:30:59]json parsed OK: [12:30:59]protocol is kg_v1.0 [12:30:59]action value=close_receipt [12:30:59]process_action close_receipt [12:30:59]cmd_close_receipt [12:30:59]MH_GetDate [12:30:59]Write to MH i2c: F0 00 00 08 32 29 [12:30:59]Write i2c OK [12:30:59]MH_I2C_Read... [12:30:59]Read from MH i2c: F0 [12:30:59]MH_I2C_Read... [12:30:59]Read from MH i2c: F0 09 00 [12:30:59]MH_I2C_Read... [12:30:59]Read from MH i2c: F0 09 00 08 32 00 0B 49 B6 65 26 5D 9E 65 27 [12:30:59]GetLastDocTimeStamp 1706445037 [12:30:59]current date 1706445067 [12:30:59]FM_GetShiftState [12:30:59]SAM_PROTO_GetShiftState [12:30:59]wFMCommunicate request_size=4 [12:30:59]MH_SAM_APDU [12:30:59]CAPDU: 80 13 01 00 [12:30:59]Write to MH i2c: E2 08 00 09 32 80 13 01 00 00 00 00 00 B8 [12:30:59]Write i2c OK [12:30:59]MH_I2C_Read... [12:30:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:59]Read from MH i2c: E2 [12:30:59]MH_I2C_Read... [12:30:59]Read from MH i2c: E2 0E 00 [12:30:59]MH_I2C_Read... [12:30:59]Read from MH i2c: E2 0E 00 09 32 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3E [12:30:59]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:30:59]wFMCommunicate OK [12:30:59]SAM_PROTO_GetShiftState done [12:30:59]FM_GetShiftState done [12:30:59]opened in 1706400199 [12:30:59]opened+sec_in_day 1706486599 [12:30:59]quantity*price = 70008 [12:30:59]sum+1 = 70009 [12:30:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.08 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.19 ÐДС 12% : 74.34 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 48 28.01.2024 12:31 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48983 ФПД: 181553582909580 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T123107&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48983&fm=181553582909580&tin=02508201610067®Number=0000000000092723&sum=70000 [12:31:00]StoreToDocumentArchive [12:31:00]shift 244 fd 48983 [12:31:00]save to /storage/0244/doc_00048983 [12:31:00]save last doc name /storage/0244/doc_00048983 to /storage/kkm_last_doc_name [12:31:00]save OK [12:31:00]Clear old archive folders... [12:31:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:31:00]tlvbuf is 012324B0 [12:31:00]SAM_PROTO_ClearQueue [12:31:00]wFMCommunicate request_size=4 [12:31:00]MH_SAM_APDU [12:31:00]CAPDU: 80 09 00 00 [12:31:00]Write to MH i2c: E2 08 00 16 32 80 09 00 00 00 00 00 00 BA [12:31:00]Write i2c OK [12:31:00]MH_I2C_Read... [12:31:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:31:00]Read from MH i2c: E2 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 03 00 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 03 00 16 32 00 90 00 BC [12:31:00]RAPDU: 90 00 [12:31:00]wFMCommunicate OK [12:31:00]SAM_PROTO_ClearQueue done [12:31:00]KKMCreateOFDPacket [12:31:00]OFDProtocolAddRootSTLVToBuf [12:31:00]FM_MakeSignedData [12:31:00]FM_MakeSignedData [12:31:00]SAM_PROTO_SignData [12:31:00]wFMCommunicate request_size=4 [12:31:00]MH_SAM_APDU [12:31:00]CAPDU: 80 0D 01 02 [12:31:00]Write to MH i2c: E2 08 00 17 32 80 0D 01 02 00 00 00 00 C2 [12:31:00]Write i2c OK [12:31:00]MH_I2C_Read... [12:31:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:31:00]Read from MH i2c: E2 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 03 00 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 03 00 17 32 00 90 00 BD [12:31:00]RAPDU: 90 00 [12:31:00]wFMCommunicate OK [12:31:00]wFMCommunicate request_size=255 [12:31:00]MH_SAM_APDU [12:31:00]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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 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 0B 49 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 57 BF 00 00 35 04 06 00 A5 [12:31:00]Write to MH i2c: E2 02 01 18 32 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 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 0B 49 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 57 BF 00 00 35 04 06 00 A5 00 00 60 [12:31:00]Write i2c OK [12:31:00]MH_I2C_Read... [12:31:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:00]Read from MH i2c: E2 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 03 00 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 03 00 18 32 00 90 00 BE [12:31:00]RAPDU: 90 00 [12:31:00]wFMCommunicate OK [12:31:00]wFMCommunicate request_size=10 [12:31:00]MH_SAM_APDU [12:31:00]CAPDU: 80 0D 02 02 05 1F 3C D1 28 8C [12:31:00]Write to MH i2c: E2 0D 00 19 32 80 0D 02 02 05 00 1F 3C D1 28 8C 00 00 AF [12:31:00]Write i2c OK [12:31:00]MH_I2C_Read... [12:31:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:00]Read from MH i2c: E2 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 03 00 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 03 00 19 32 00 90 00 BF [12:31:00]RAPDU: 90 00 [12:31:00]wFMCommunicate OK [12:31:00]wFMCommunicate request_size=4 [12:31:00]MH_SAM_APDU [12:31:00]CAPDU: 80 0D 03 02 [12:31:00]Write to MH i2c: E2 08 00 1A 32 80 0D 03 02 00 00 00 00 C7 [12:31:00]Write i2c OK [12:31:00]MH_I2C_Read... [12:31:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:31:00]Read from MH i2c: E2 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 0B 00 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 0B 00 1A 32 00 F3 27 CF 16 5D 06 0E 71 90 00 A9 [12:31:00]RAPDU: F3 27 CF 16 5D 06 0E 71 90 00 [12:31:00]wFMCommunicate OK [12:31:00]SAM_PROTO_SignData done [12:31:00]FM_MakeSignedData done [12:31:00]CreateOFDProtocolMessage [12:31:00]wFMCommunicate request_size=4 [12:31:00]MH_SAM_APDU [12:31:00]CAPDU: 80 11 00 00 [12:31:00]Write to MH i2c: E2 08 00 1B 32 80 11 00 00 00 00 00 00 C7 [12:31:00]Write i2c OK [12:31:00]MH_I2C_Read... [12:31:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:00]Read from MH i2c: E2 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 17 00 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: E2 17 00 1B 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 14 [12:31:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:31:00]wFMCommunicate OK [12:31:00]CreateOFDProtocolMessage done [12:31:00]OFDSenderStorePacket 48983 [12:31:00]StoreOFDPacket docnum=48983 [12:31:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 EF F7 07 01 3E A5 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 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 0B 49 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 57 BF 00 00 35 04 06 00 A5 1F 3C D1 28 8C F3 27 CF 16 5D 06 0E 71 [12:31:00]CheckFolder [12:31:00]dirname=/storage/ofd_packets [12:31:00]CheckFolder done [12:31:00]ProducePacketName [12:31:00]name=ofd_packets/00048983 [12:31:00]NVStorageSaveData ofd_packets/00048983 [12:31:00]File name is /storage/ofd_packets/00048983 [12:31:00]Write 301 bytes [12:31:00]NVStorageSaveData done [12:31:00]OFDSenderStorePacket done [12:31:00]KKMCreateOFDPacket done [12:31:00]NVStorageSaveData kkm_last_timestamp [12:31:00]File name is /storage/kkm_last_timestamp [12:31:00]Write 4 bytes [12:31:00]NVStorageSaveData done [12:31:00]ExternCall_PrintAddStr [12:31:00]wPrintStart [12:31:00]Write to MH i2c: 01 00 00 1C 32 4E [12:31:00]Write i2c OK [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: 01 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: 01 07 00 [12:31:00]MH_I2C_Read... [12:31:00]Read from MH i2c: 01 07 00 1C 32 00 00 00 00 00 FF 0F 63 [12:31:00]RasterBufferAndPrint [12:31:00]line Счет N : (1)216081 [12:31:00]line ИÐÐ: 02508201610067 [12:31:00]line Контрольно-КаÑÑовый Чек [12:31:00]line ПРОДÐЖР[12:31:00]line ТРК (МРК, ГÐК) : 22 [12:31:00]line Товар: 2710124130 [12:31:00]line Ðи-92-К-5 [12:31:00]line 11.610 * 60.30 [12:31:00]line = 700.08 [12:31:00]line ÐДС 12% ÐСП 1% [12:31:00]line > о реализуемом товаре [12:31:00]line ОКРУГЛЕÐИЕ: -0.08 [12:31:00]line ИТОГО: 700.00 [12:31:00]line ВнеÑено: 700.00 [12:31:00]line СДÐЧÐ: 0.00 [12:31:00]line ÐСП 1% : 6.19 [12:31:00]line ÐДС 12% : 74.34 [12:31:00]line Ðаличными: 700.00 [12:31:00]line Безнал.: 0.00 [12:31:00]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:31:00]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:31:00]line СÐО: Общий режим [12:31:00]line Чек 48 28.01.2024 12:31 [12:31:00]line Смена: 244 ФФД: 1.0 [12:31:01]line ЗÐМ: 0300000040 [12:31:01]line РÐМ: 0000000000092723 [12:31:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:31:01]line ФМ: 0000000000875060 [12:31:01]line ФД: 48983 [12:31:01]line ФПД: 181553582909580 [12:31:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T123107&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48983&fm=181553582909580&tin=02508201610067®Number=0000000000092723&sum=70000 [12:31:01]OFD Sender: Processing packet 48983 [packets to send 12, broken 11] [12:31:01]ProducePacketName [12:31:01]name=ofd_packets/00048983 [12:31:01]OFD Sender: To server: ‡•öpG, [12:31:01]CommunicateWithHost lk.salyk.kg:30040 [12:31:01]ConnectInit lk.salyk.kg [12:31:01]written 0, free lines is 4095 [12:31:01]Connected sock=9 [12:31:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 EF F7 07 01 3E A5 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 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 0B 49 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 57 BF 00 00 35 04 06 00 A5 1F 3C D1 28 8C F3 27 CF 16 5D 06 0E 71 [12:31:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 74 DB 47 00 FC 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 57 BF 00 00 F4 03 04 00 07 F5 B5 65 B6 04 01 00 00 60 4C 7A A1 5F 5D D4 FB [12:31:01]CommunicateWithHost err = 0 [12:31:01]CheckOFDResponse [12:31:01]1017 (14) - 77093643461234 [12:31:01]1041 (16) - 0000000000875060 [12:31:01]1040 (4) - 48983 [12:31:01]1012 (4) - 28.01.2024 06:32 [12:31:01]1206 (1) - 0 [12:31:01]OFD Sender: Remove packet 48983 [12:31:01]ProducePacketName [12:31:01]name=ofd_packets/00048983 [12:31:01]NVStorageDeleteData [12:31:01]Write to MH i2c: 01 00 00 47 32 79 [12:31:01]Write i2c OK [12:31:01]MH_I2C_Read... [12:31:01]Read from MH i2c: 01 [12:31:01]MH_I2C_Read... [12:31:01]Read from MH i2c: 01 07 00 [12:31:01]MH_I2C_Read... [12:31:01]Read from MH i2c: 01 07 00 47 32 00 00 00 00 00 EC 0C 78 [12:31:01]RasterBufferAndPrint [12:31:01]line [12:31:01]line [12:31:01]line [12:31:01]line [12:31:01]line [12:31:01]written 0, free lines is 3314 [12:31:01]MH_Cut [12:31:01]Write to MH i2c: D1 01 00 4E 32 01 52 [12:31:01]Write i2c OK [12:31:01]MH_I2C_Read... [12:31:01]Read from MH i2c: D1 [12:31:01]MH_I2C_Read... [12:31:01]Read from MH i2c: D1 01 00 [12:31:01]MH_I2C_Read... [12:31:01]Read from MH i2c: D1 01 00 4E 32 00 51 [12:31:01]Write to MH i2c: 01 00 00 4F 32 81 [12:31:01]Write i2c OK [12:31:01]MH_I2C_Read... [12:31:02]OFD Sender: No OFD packet to send [12:31:02]*** Cut start [12:31:02]*** Partial cut [12:31:02]*** CUTSNS_PIN = 1 [12:31:02]*** CUTSNS_PIN = 0 [12:31:02]*** Brake cut motor [12:31:02]Read from MH i2c: 01 [12:31:02]MH_I2C_Read... [12:31:02]*** Stop cut motor [12:31:02]*** Cut end [12:31:02]Read from MH i2c: 01 07 00 [12:31:02]MH_I2C_Read... [12:31:02]Read from MH i2c: 01 07 00 4F 32 00 00 00 00 00 FF 0F 96 [12:31:02]process_action close_receipt done [12:31:02]requested_data is exist [12:31:02]produce_requested_data [12:31:02]requested_item fm.sn is exist - process it [12:31:02]wFMCommunicate request_size=4 [12:31:02]MH_SAM_APDU [12:31:02]CAPDU: 80 11 00 00 [12:31:02]Write to MH i2c: E2 08 00 50 32 80 11 00 00 00 00 00 00 FC [12:31:02]Write i2c OK [12:31:02]MH_I2C_Read... [12:31:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:03]Read from MH i2c: E2 [12:31:03]MH_I2C_Read... [12:31:03]Read from MH i2c: E2 17 00 [12:31:03]MH_I2C_Read... [12:31:03]Read from MH i2c: E2 17 00 50 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 49 [12:31:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:31:03]wFMCommunicate OK [12:31:03]requested_item fd.num is exist - process it [12:31:03]SAM_PROTO_GetFieldsCounters [12:31:03]wFMCommunicate request_size=4 [12:31:03]MH_SAM_APDU [12:31:03]CAPDU: 80 13 00 00 [12:31:03]Write to MH i2c: E2 08 00 51 32 80 13 00 00 00 00 00 00 FF [12:31:03]Write i2c OK [12:31:03]MH_I2C_Read... [12:31:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:31:03]Read from MH i2c: E2 [12:31:03]MH_I2C_Read... [12:31:03]Read from MH i2c: E2 62 00 [12:31:03]MH_I2C_Read... [12:31:03]Read from MH i2c: E2 62 00 51 32 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 57 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 B2 [12:31: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 57 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:31:03]wFMCommunicate OK [12:31:03]SAM_PROTO_GetFieldsCounters done [12:31:03]requested_item shift.num is exist - process it [12:31:03]requested_item shift.opened is exist - process it [12:31:03]req_shift_opened [12:31:03]FM_GetShiftState [12:31:03]SAM_PROTO_GetShiftState [12:31:03]wFMCommunicate request_size=4 [12:31:03]MH_SAM_APDU [12:31:03]CAPDU: 80 13 01 00 [12:31:03]Write to MH i2c: E2 08 00 52 32 80 13 01 00 00 00 00 00 01 [12:31:03]Write i2c OK [12:31:03]MH_I2C_Read... [12:31:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:03]Read from MH i2c: E2 [12:31:03]MH_I2C_Read... [12:31:03]Read from MH i2c: E2 0E 00 [12:31:03]MH_I2C_Read... [12:31:03]Read from MH i2c: E2 0E 00 52 32 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 87 [12:31:03]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:31:03]wFMCommunicate OK [12:31:03]SAM_PROTO_GetShiftState done [12:31:03]FM_GetShiftState done [12:31:03]req_shift_opened done [12:31:03]requested_item shift.open_date is exist - process it [12:31:03]req_shift_open_date [12:31:03]req_shift_open_date done [12:31:03]produce_requested_data done [12:31:03]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48983,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:31:03]process_action_free close_receipt [12:31:03]json_value_free [12:31:03]json_value_free done [12:31:03]process_json_proto returns [12:31:03]Send response to host [12:31:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48983,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:31:03]free response buf [12:31:03]execute_script done [12:31:03]execute_script returns [12:31:03]free content buf [12:31:03]Sock 10.Close socket [12:31:03]Sock 10.Thread stoped [12:31:07]OFD Sender: No OFD packet to send [12:31:12]OFD Sender: No OFD packet to send [12:31:17]OFD Sender: No OFD packet to send [12:31:22]OFD Sender: No OFD packet to send [12:31:27]OFD Sender: No OFD packet to send [12:31:32]OFD Sender: No OFD packet to send [12:31:37]OFD Sender: No OFD packet to send [12:31:42]OFD Sender: No OFD packet to send [12:31:47]OFD Sender: No OFD packet to send [12:31:52]OFD Sender: No OFD packet to send [12:31:57]OFD Sender: No OFD packet to send [12:32:02]OFD Sender: No OFD packet to send [12:32:07]OFD Sender: No OFD packet to send [12:32:12]OFD Sender: No OFD packet to send [12:32:17]OFD Sender: No OFD packet to send [12:32:22]OFD Sender: No OFD packet to send [12:32:27]OFD Sender: No OFD packet to send [12:32:32]OFD Sender: No OFD packet to send [12:32:37]OFD Sender: No OFD packet to send [12:32:42]OFD Sender: No OFD packet to send [12:32:47]OFD Sender: No OFD packet to send [12:32:52]OFD Sender: No OFD packet to send [12:32:57]OFD Sender: No OFD packet to send [12:33:02]OFD Sender: No OFD packet to send [12:33:07]OFD Sender: No OFD packet to send [12:33:12]OFD Sender: No OFD packet to send [12:33:17]OFD Sender: No OFD packet to send [12:33:22]OFD Sender: No OFD packet to send [12:33:27]OFD Sender: No OFD packet to send [12:33:32]OFD Sender: No OFD packet to send [12:33:37]OFD Sender: No OFD packet to send [12:33:42]OFD Sender: No OFD packet to send [12:33:47]OFD Sender: No OFD packet to send [12:33:52]OFD Sender: No OFD packet to send [12:33:57]OFD Sender: No OFD packet to send [12:34:02]OFD Sender: No OFD packet to send [12:34:07]OFD Sender: No OFD packet to send [12:34:12]OFD Sender: No OFD packet to send [12:34:17]OFD Sender: No OFD packet to send [12:34:22]OFD Sender: No OFD packet to send [12:34:27]OFD Sender: No OFD packet to send [12:34:32]OFD Sender: No OFD packet to send [12:34:37]OFD Sender: No OFD packet to send [12:34:42]OFD Sender: No OFD packet to send [12:34:47]OFD Sender: No OFD packet to send [12:34:52]OFD Sender: No OFD packet to send [12:34:57]OFD Sender: No OFD packet to send [12:35:02]OFD Sender: No OFD packet to send [12:35:07]OFD Sender: No OFD packet to send [12:35:12]OFD Sender: No OFD packet to send [12:35:17]OFD Sender: No OFD packet to send [12:35:22]OFD Sender: No OFD packet to send [12:35:27]OFD Sender: No OFD packet to send [12:35:32]OFD Sender: No OFD packet to send [12:35:37]OFD Sender: No OFD packet to send [12:35:42]OFD Sender: No OFD packet to send [12:35:47]OFD Sender: No OFD packet to send [12:35:52]OFD Sender: No OFD packet to send [12:35:57]OFD Sender: No OFD packet to send [12:36:02]OFD Sender: No OFD packet to send [12:36:07]OFD Sender: No OFD packet to send [12:36:12]OFD Sender: No OFD packet to send [12:36:17]OFD Sender: No OFD packet to send [12:36:22]OFD Sender: No OFD packet to send [12:36:27]OFD Sender: No OFD packet to send [12:36:32]OFD Sender: No OFD packet to send [12:36:37]OFD Sender: No OFD packet to send [12:36:42]OFD Sender: No OFD packet to send [12:36:47]OFD Sender: No OFD packet to send [12:36:52]OFD Sender: No OFD packet to send [12:36:57]OFD Sender: No OFD packet to send [12:37:02]OFD Sender: No OFD packet to send [12:37:07]OFD Sender: No OFD packet to send [12:37:12]OFD Sender: No OFD packet to send [12:37:17]OFD Sender: No OFD packet to send [12:37:22]OFD Sender: No OFD packet to send [12:37:27]OFD Sender: No OFD packet to send [12:37:32]OFD Sender: No OFD packet to send [12:37:37]OFD Sender: No OFD packet to send [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:52]OFD Sender: No OFD packet to send [12:39:57]OFD Sender: No OFD packet to send [12:40:02]OFD Sender: No OFD packet to send [12:40:07]OFD Sender: No OFD packet to send [12:40:12]OFD Sender: No OFD packet to send [12:40:17]OFD Sender: No OFD packet to send [12:40:22]OFD Sender: No OFD packet to send [12:40:27]OFD Sender: No OFD packet to send [12:40:32]OFD Sender: No OFD packet to send [12:40:37]OFD Sender: No OFD packet to send [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:02]OFD Sender: No OFD packet to send [12:41:07]OFD Sender: No OFD packet to send [12:41:12]OFD Sender: No OFD packet to send [12:41:17]OFD Sender: No OFD packet to send [12:41:19]accept exits with 7 [12:41:19]New connection [12:41:19]New thread 3066813796 created [12:41:19]Thread 3066670436 joined [12:41:19]Waiting for new connection... [12:41:19] Sock 7.Parse request [12:41:19]Sock 7.Check first char [12:41:19]Sock 7.First char is OK [12:41:19]request: POST /json_proto HTTP/1.0 [12:41:19]Method: POST [12:41:19]URL: /json_proto [12:41:19]Method is POST - this is cgi request [12:41:19]url: /json_proto [12:41:19]query_string will be loaded in cgi processing [12:41:19]execute_cgi json_proto POST (null) [12:41:19]execute_cgi path=json_proto method=POST [12:41:19]POST find Content-Length [12:41:19]Host: 172.17.56.67:8080 [12:41:19]Content-Length: 677 [12:41:19]Content-Type: application/json [12:41:19] [12:41:19]POST finish read [12:41:19]Found Content-Length = 677 [12:41:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216082", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [12:41:19]execute_script... [12:41: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 : (1)216082", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [12:41:19]POST & json_proto [12:41:19]process_json_proto [12:41:19]json parsed OK: [12:41:19]protocol is kg_v1.0 [12:41:19]action value=close_receipt [12:41:19]process_action close_receipt [12:41:19]cmd_close_receipt [12:41:19]MH_GetDate [12:41:19]Write to MH i2c: F0 00 00 53 32 74 [12:41:19]Write i2c OK [12:41:19]MH_I2C_Read... [12:41:19]Read from MH i2c: F0 [12:41:19]MH_I2C_Read... [12:41:19]Read from MH i2c: F0 09 00 [12:41:19]MH_I2C_Read... [12:41:19]Read from MH i2c: F0 09 00 53 32 00 78 4B B6 65 26 5D 9E 65 E1 [12:41:19]GetLastDocTimeStamp 1706445067 [12:41:19]current date 1706445688 [12:41:19]FM_GetShiftState [12:41:19]SAM_PROTO_GetShiftState [12:41:19]wFMCommunicate request_size=4 [12:41:19]MH_SAM_APDU [12:41:19]CAPDU: 80 13 01 00 [12:41:19]Write to MH i2c: E2 08 00 54 32 80 13 01 00 00 00 00 00 03 [12:41:19]Write i2c OK [12:41:19]MH_I2C_Read... [12:41:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:41:19]Read from MH i2c: E2 [12:41:19]MH_I2C_Read... [12:41:19]Read from MH i2c: E2 0E 00 [12:41:19]MH_I2C_Read... [12:41:19]Read from MH i2c: E2 0E 00 54 32 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 89 [12:41:19]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:41:19]wFMCommunicate OK [12:41:19]SAM_PROTO_GetShiftState done [12:41:19]FM_GetShiftState done [12:41:19]opened in 1706400199 [12:41:19]opened+sec_in_day 1706486599 [12:41:19]quantity*price = 30029 [12:41:19]sum+1 = 30030 [12:41:19]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 49 28.01.2024 12:41 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48984 ФПД: 125595462198977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T124128&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48984&fm=125595462198977&tin=02508201610067®Number=0000000000092723&sum=30000 [12:41:21]StoreToDocumentArchive [12:41:21]shift 244 fd 48984 [12:41:21]save to /storage/0244/doc_00048984 [12:41:21]save last doc name /storage/0244/doc_00048984 to /storage/kkm_last_doc_name [12:41:21]save OK [12:41:21]Clear old archive folders... [12:41:21]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:41:21]tlvbuf is 0121DD60 [12:41:21]SAM_PROTO_ClearQueue [12:41:21]wFMCommunicate request_size=4 [12:41:21]MH_SAM_APDU [12:41:21]CAPDU: 80 09 00 00 [12:41:21]Write to MH i2c: E2 08 00 61 32 80 09 00 00 00 00 00 00 05 [12:41:21]Write i2c OK [12:41:21]MH_I2C_Read... [12:41:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:41:21]Read from MH i2c: E2 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 03 00 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 03 00 61 32 00 90 00 07 [12:41:21]RAPDU: 90 00 [12:41:21]wFMCommunicate OK [12:41:21]SAM_PROTO_ClearQueue done [12:41:21]KKMCreateOFDPacket [12:41:21]OFDProtocolAddRootSTLVToBuf [12:41:21]FM_MakeSignedData [12:41:21]FM_MakeSignedData [12:41:21]SAM_PROTO_SignData [12:41:21]wFMCommunicate request_size=4 [12:41:21]MH_SAM_APDU [12:41:21]CAPDU: 80 0D 01 02 [12:41:21]Write to MH i2c: E2 08 00 62 32 80 0D 01 02 00 00 00 00 0D [12:41:21]Write i2c OK [12:41:21]MH_I2C_Read... [12:41:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:41:21]Read from MH i2c: E2 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 03 00 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 03 00 62 32 00 90 00 08 [12:41:21]RAPDU: 90 00 [12:41:21]wFMCommunicate OK [12:41:21]wFMCommunicate request_size=255 [12:41:21]MH_SAM_APDU [12:41:21]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 31 00 00 00 F4 03 04 00 78 4B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 58 BF 00 00 35 04 06 00 72 [12:41:21]Write to MH i2c: E2 02 01 63 32 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 31 00 00 00 F4 03 04 00 78 4B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 58 BF 00 00 35 04 06 00 72 00 00 5F [12:41:21]Write i2c OK [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 [12:41:21]MH_I2C_Read... [12:41:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:41:21]Read from MH i2c: E2 03 00 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 03 00 63 32 00 90 00 09 [12:41:21]RAPDU: 90 00 [12:41:21]wFMCommunicate OK [12:41:21]wFMCommunicate request_size=10 [12:41:21]MH_SAM_APDU [12:41:21]CAPDU: 80 0D 02 02 05 3A 78 E8 E6 C1 [12:41:21]Write to MH i2c: E2 0D 00 64 32 80 0D 02 02 05 00 3A 78 E8 E6 C1 00 00 5B [12:41:21]Write i2c OK [12:41:21]MH_I2C_Read... [12:41:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:41:21]Read from MH i2c: E2 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 03 00 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 03 00 64 32 00 90 00 0A [12:41:21]RAPDU: 90 00 [12:41:21]wFMCommunicate OK [12:41:21]wFMCommunicate request_size=4 [12:41:21]MH_SAM_APDU [12:41:21]CAPDU: 80 0D 03 02 [12:41:21]Write to MH i2c: E2 08 00 65 32 80 0D 03 02 00 00 00 00 12 [12:41:21]Write i2c OK [12:41:21]MH_I2C_Read... [12:41:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:41:21]Read from MH i2c: E2 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 0B 00 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 0B 00 65 32 00 DF 51 3F 5D CC 0E C2 9E 90 00 19 [12:41:21]RAPDU: DF 51 3F 5D CC 0E C2 9E 90 00 [12:41:21]wFMCommunicate OK [12:41:21]SAM_PROTO_SignData done [12:41:21]FM_MakeSignedData done [12:41:21]CreateOFDProtocolMessage [12:41:21]wFMCommunicate request_size=4 [12:41:21]MH_SAM_APDU [12:41:21]CAPDU: 80 11 00 00 [12:41:21]Write to MH i2c: E2 08 00 66 32 80 11 00 00 00 00 00 00 12 [12:41:21]Write i2c OK [12:41:21]MH_I2C_Read... [12:41:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:41:21]Read from MH i2c: E2 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 17 00 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: E2 17 00 66 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 5F [12:41:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:41:21]wFMCommunicate OK [12:41:21]CreateOFDProtocolMessage done [12:41:21]OFDSenderStorePacket 48984 [12:41:21]StoreOFDPacket docnum=48984 [12:41:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 07 8F 07 01 BF 4F 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 31 00 00 00 F4 03 04 00 78 4B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 58 BF 00 00 35 04 06 00 72 3A 78 E8 E6 C1 DF 51 3F 5D CC 0E C2 9E [12:41:21]CheckFolder [12:41:21]dirname=/storage/ofd_packets [12:41:21]CheckFolder done [12:41:21]ProducePacketName [12:41:21]name=ofd_packets/00048984 [12:41:21]NVStorageSaveData ofd_packets/00048984 [12:41:21]File name is /storage/ofd_packets/00048984 [12:41:21]Write 301 bytes [12:41:21]NVStorageSaveData done [12:41:21]OFDSenderStorePacket done [12:41:21]KKMCreateOFDPacket done [12:41:21]NVStorageSaveData kkm_last_timestamp [12:41:21]File name is /storage/kkm_last_timestamp [12:41:21]Write 4 bytes [12:41:21]NVStorageSaveData done [12:41:21]ExternCall_PrintAddStr [12:41:21]wPrintStart [12:41:21]Write to MH i2c: 01 00 00 67 32 99 [12:41:21]Write i2c OK [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: 01 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: 01 07 00 [12:41:21]MH_I2C_Read... [12:41:21]Read from MH i2c: 01 07 00 67 32 00 00 00 00 00 FF 0F AE [12:41:21]RasterBufferAndPrint [12:41:21]line Счет N : (1)216082 [12:41:21]line ИÐÐ: 02508201610067 [12:41:21]line Контрольно-КаÑÑовый Чек [12:41:21]line ПРОДÐЖР[12:41:21]line ТРК (МРК, ГÐК) : 12 [12:41:21]line Товар: 2710124130 [12:41:21]line Ðи-92-К-5 [12:41:21]line 4.980 * 60.30 [12:41:21]line = 300.29 [12:41:21]line ÐДС 12% ÐСП 1% [12:41:21]line > о реализуемом товаре [12:41:21]line ОКРУГЛЕÐИЕ: -0.29 [12:41:21]line ИТОГО: 300.00 [12:41:21]line ВнеÑено: 300.00 [12:41:21]line СДÐЧÐ: 0.00 [12:41:21]line ÐСП 1% : 2.66 [12:41:21]line ÐДС 12% : 31.89 [12:41:21]line Ðаличными: 300.00 [12:41:21]line Безнал.: 0.00 [12:41:21]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:41:21]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:41:21]line СÐО: Общий режим [12:41:21]line Чек 49 28.01.2024 12:41 [12:41:21]line Смена: 244 ФФД: 1.0 [12:41:21]line ЗÐМ: 0300000040 [12:41:21]line РÐМ: 0000000000092723 [12:41:21]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:41:21]line ФМ: 0000000000875060 [12:41:21]line ФД: 48984 [12:41:21]line ФПД: 125595462198977 [12:41:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T124128&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48984&fm=125595462198977&tin=02508201610067®Number=0000000000092723&sum=30000 [12:41:21]OFD Sender: Processing packet 48984 [packets to send 12, broken 11] [12:41:21]ProducePacketName [12:41:21]name=ofd_packets/00048984 [12:41:21]OFD Sender: To server: ‡•öpG, [12:41:21]CommunicateWithHost lk.salyk.kg:30040 [12:41:21]ConnectInit lk.salyk.kg [12:41:21]written 0, free lines is 4095 [12:41:22]Connected sock=10 [12:41: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 30 36 30 0F 01 00 00 07 8F 07 01 BF 4F 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 31 00 00 00 F4 03 04 00 78 4B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 58 BF 00 00 35 04 06 00 72 3A 78 E8 E6 C1 DF 51 3F 5D CC 0E C2 9E [12:41:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 AC 11 47 00 0E B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 58 BF 00 00 F4 03 04 00 73 F7 B5 65 B6 04 01 00 00 B6 70 38 02 C2 82 F2 D0 [12:41:22]CommunicateWithHost err = 0 [12:41:22]CheckOFDResponse [12:41:22]1017 (14) - 77093643461234 [12:41:22]1041 (16) - 0000000000875060 [12:41:22]1040 (4) - 48984 [12:41:22]1012 (4) - 28.01.2024 06:42 [12:41:22]1206 (1) - 0 [12:41:22]OFD Sender: Remove packet 48984 [12:41:22]ProducePacketName [12:41:22]name=ofd_packets/00048984 [12:41:22]NVStorageDeleteData [12:41:22]Write to MH i2c: 01 00 00 92 32 C4 [12:41:22]Write i2c OK [12:41:22]MH_I2C_Read... [12:41:22]Read from MH i2c: 01 [12:41:22]MH_I2C_Read... [12:41:22]Read from MH i2c: 01 07 00 [12:41:22]MH_I2C_Read... [12:41:22]Read from MH i2c: 01 07 00 92 32 00 00 00 00 00 F9 0C D0 [12:41:22]RasterBufferAndPrint [12:41:22]line [12:41:22]line [12:41:22]line [12:41:22]line [12:41:22]line [12:41:22]written 0, free lines is 3327 [12:41:22]MH_Cut [12:41:22]Write to MH i2c: D1 01 00 99 32 01 9D [12:41:22]Write i2c OK [12:41:22]MH_I2C_Read... [12:41:22]Read from MH i2c: D1 [12:41:22]MH_I2C_Read... [12:41:22]Read from MH i2c: D1 01 00 [12:41:22]MH_I2C_Read... [12:41:22]Read from MH i2c: D1 01 00 99 32 00 9C [12:41:22]Write to MH i2c: 01 00 00 9A 32 CC [12:41:22]Write i2c OK [12:41:22]MH_I2C_Read... [12:41:22]OFD Sender: No OFD packet to send [12:41:23]*** Cut start [12:41:23]*** Partial cut [12:41:23]*** CUTSNS_PIN = 1 [12:41:23]*** CUTSNS_PIN = 0 [12:41:23]*** Brake cut motor [12:41:23]Read from MH i2c: 01 [12:41:23]MH_I2C_Read... [12:41:23]*** Stop cut motor [12:41:23]*** Cut end [12:41:23]Read from MH i2c: 01 07 00 [12:41:23]MH_I2C_Read... [12:41:23]Read from MH i2c: 01 07 00 9A 32 00 00 00 00 00 FF 0F E1 [12:41:23]process_action close_receipt done [12:41:23]requested_data is exist [12:41:23]produce_requested_data [12:41:23]requested_item fm.sn is exist - process it [12:41:23]wFMCommunicate request_size=4 [12:41:23]MH_SAM_APDU [12:41:23]CAPDU: 80 11 00 00 [12:41:23]Write to MH i2c: E2 08 00 9B 32 80 11 00 00 00 00 00 00 47 [12:41:23]Write i2c OK [12:41:23]MH_I2C_Read... [12:41:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:41:23]Read from MH i2c: E2 [12:41:23]MH_I2C_Read... [12:41:23]Read from MH i2c: E2 17 00 [12:41:23]MH_I2C_Read... [12:41:23]Read from MH i2c: E2 17 00 9B 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 94 [12:41:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:41:23]wFMCommunicate OK [12:41:23]requested_item fd.num is exist - process it [12:41:23]SAM_PROTO_GetFieldsCounters [12:41:23]wFMCommunicate request_size=4 [12:41:23]MH_SAM_APDU [12:41:23]CAPDU: 80 13 00 00 [12:41:23]Write to MH i2c: E2 08 00 9C 32 80 13 00 00 00 00 00 00 4A [12:41:23]Write i2c OK [12:41:23]MH_I2C_Read... [12:41:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:41:23]Read from MH i2c: E2 [12:41:23]MH_I2C_Read... [12:41:23]Read from MH i2c: E2 62 00 [12:41:23]MH_I2C_Read... [12:41:23]Read from MH i2c: E2 62 00 9C 32 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 58 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 01 [12:41: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 58 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:41:23]wFMCommunicate OK [12:41:23]SAM_PROTO_GetFieldsCounters done [12:41:23]requested_item shift.num is exist - process it [12:41:23]requested_item shift.opened is exist - process it [12:41:23]req_shift_opened [12:41:23]FM_GetShiftState [12:41:23]SAM_PROTO_GetShiftState [12:41:23]wFMCommunicate request_size=4 [12:41:23]MH_SAM_APDU [12:41:23]CAPDU: 80 13 01 00 [12:41:23]Write to MH i2c: E2 08 00 9D 32 80 13 01 00 00 00 00 00 4C [12:41:23]Write i2c OK [12:41:23]MH_I2C_Read... [12:41:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:41:23]Read from MH i2c: E2 [12:41:23]MH_I2C_Read... [12:41:23]Read from MH i2c: E2 0E 00 [12:41:23]MH_I2C_Read... [12:41:23]Read from MH i2c: E2 0E 00 9D 32 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D2 [12:41:23]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:41:23]wFMCommunicate OK [12:41:23]SAM_PROTO_GetShiftState done [12:41:23]FM_GetShiftState done [12:41:23]req_shift_opened done [12:41:23]requested_item shift.open_date is exist - process it [12:41:23]req_shift_open_date [12:41:23]req_shift_open_date done [12:41:23]produce_requested_data done [12:41:23]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48984,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:41:23]process_action_free close_receipt [12:41:23]json_value_free [12:41:23]json_value_free done [12:41:23]process_json_proto returns [12:41:23]Send response to host [12:41:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48984,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:41:23]free response buf [12:41:23]execute_script done [12:41:23]execute_script returns [12:41:23]free content buf [12:41:23]Sock 7.Close socket [12:41:23]Sock 7.Thread stoped [12:41:27]OFD Sender: No OFD packet to send [12:41:32]OFD Sender: No OFD packet to send [12:41:37]OFD Sender: No OFD packet to send [12:41:42]OFD Sender: No OFD packet to send [12:41:47]OFD Sender: No OFD packet to send [12:41:52]OFD Sender: No OFD packet to send [12:41:57]OFD Sender: No OFD packet to send [12:42:02]OFD Sender: No OFD packet to send [12:42:07]OFD Sender: No OFD packet to send [12:42:12]OFD Sender: No OFD packet to send [12:42:17]OFD Sender: No OFD packet to send [12:42:22]OFD Sender: No OFD packet to send [12:42:27]OFD Sender: No OFD packet to send [12:42:32]OFD Sender: No OFD packet to send [12:42:37]OFD Sender: No OFD packet to send [12:42:42]OFD Sender: No OFD packet to send [12:42:47]OFD Sender: No OFD packet to send [12:42:52]OFD Sender: No OFD packet to send [12:42:57]OFD Sender: No OFD packet to send [12:43:02]OFD Sender: No OFD packet to send [12:43:07]OFD Sender: No OFD packet to send [12:43:12]OFD Sender: No OFD packet to send [12:43:17]OFD Sender: No OFD packet to send [12:43:22]OFD Sender: No OFD packet to send [12:43:27]OFD Sender: No OFD packet to send [12:43:32]OFD Sender: No OFD packet to send [12:43:37]OFD Sender: No OFD packet to send [12:43:42]OFD Sender: No OFD packet to send [12:43:47]OFD Sender: No OFD packet to send [12:43:52]OFD Sender: No OFD packet to send [12:43:57]OFD Sender: No OFD packet to send [12:44:02]OFD Sender: No OFD packet to send [12:44:07]OFD Sender: No OFD packet to send [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:32]OFD Sender: No OFD packet to send [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:50]accept exits with 9 [12:44:50]New connection [12:44:50]New thread 3066670436 created [12:44:50]Thread 3066813796 joined [12:44:50]Waiting for new connection... [12:44:50] Sock 9.Parse request [12:44:50]Sock 9.Check first char [12:44:50]Sock 9.First char is OK [12:44:50]request: POST /json_proto HTTP/1.0 [12:44:50]Method: POST [12:44:50]URL: /json_proto [12:44:50]Method is POST - this is cgi request [12:44:50]url: /json_proto [12:44:50]query_string will be loaded in cgi processing [12:44:50]execute_cgi json_proto POST (null) [12:44:50]execute_cgi path=json_proto method=POST [12:44:50]POST find Content-Length [12:44:50]Host: 172.17.56.67:8080 [12:44:50]Content-Length: 677 [12:44:50]Content-Type: application/json [12:44:50] [12:44:50]POST finish read [12:44:50]Found Content-Length = 677 [12:44:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216083", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.400, "sum" : 205.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 205.00, "total" : 205.00, "payments": [ { "type": 0, "sum" : 205.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:50]execute_script... [12:44: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 : (1)216083", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.400, "sum" : 205.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 205.00, "total" : 205.00, "payments": [ { "type": 0, "sum" : 205.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:50]POST & json_proto [12:44:50]process_json_proto [12:44:50]json parsed OK: [12:44:50]protocol is kg_v1.0 [12:44:50]action value=close_receipt [12:44:50]process_action close_receipt [12:44:50]cmd_close_receipt [12:44:50]MH_GetDate [12:44:50]Write to MH i2c: F0 00 00 9E 32 BF [12:44:50]Write i2c OK [12:44:50]MH_I2C_Read... [12:44:50]Read from MH i2c: F0 [12:44:50]MH_I2C_Read... [12:44:50]Read from MH i2c: F0 09 00 [12:44:50]MH_I2C_Read... [12:44:50]Read from MH i2c: F0 09 00 9E 32 00 4A 4C B6 65 26 5D 9E 65 FF [12:44:50]GetLastDocTimeStamp 1706445688 [12:44:50]current date 1706445898 [12:44:50]FM_GetShiftState [12:44:50]SAM_PROTO_GetShiftState [12:44:50]wFMCommunicate request_size=4 [12:44:50]MH_SAM_APDU [12:44:50]CAPDU: 80 13 01 00 [12:44:50]Write to MH i2c: E2 08 00 9F 32 80 13 01 00 00 00 00 00 4E [12:44:50]Write i2c OK [12:44:50]MH_I2C_Read... [12:44:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:50]Read from MH i2c: E2 [12:44:50]MH_I2C_Read... [12:44:50]Read from MH i2c: E2 0E 00 [12:44:50]MH_I2C_Read... [12:44:50]Read from MH i2c: E2 0E 00 9F 32 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D4 [12:44:50]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:44:50]wFMCommunicate OK [12:44:50]SAM_PROTO_GetShiftState done [12:44:50]FM_GetShiftState done [12:44:50]opened in 1706400199 [12:44:50]opened+sec_in_day 1706486599 [12:44:50]quantity*price = 20502 [12:44:50]sum+1 = 20503 [12:44:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.02 ИТОГО: 205.00 ВнеÑено: 205.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.81 ÐДС 12% : 21.77 Ðаличными: 205.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 50 28.01.2024 12:44 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48985 ФПД: 77530350438710 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T124458&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48985&fm=77530350438710&tin=02508201610067®Number=0000000000092723&sum=20500 [12:44:51]StoreToDocumentArchive [12:44:51]shift 244 fd 48985 [12:44:51]save to /storage/0244/doc_00048985 [12:44:51]save last doc name /storage/0244/doc_00048985 to /storage/kkm_last_doc_name [12:44:51]save OK [12:44:51]Clear old archive folders... [12:44:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:44:51]tlvbuf is 011DB240 [12:44:51]SAM_PROTO_ClearQueue [12:44:51]wFMCommunicate request_size=4 [12:44:51]MH_SAM_APDU [12:44:51]CAPDU: 80 09 00 00 [12:44:51]Write to MH i2c: E2 08 00 AC 32 80 09 00 00 00 00 00 00 50 [12:44:51]Write i2c OK [12:44:51]MH_I2C_Read... [12:44:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:44:51]Read from MH i2c: E2 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 03 00 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 03 00 AC 32 00 90 00 52 [12:44:51]RAPDU: 90 00 [12:44:51]wFMCommunicate OK [12:44:51]SAM_PROTO_ClearQueue done [12:44:51]KKMCreateOFDPacket [12:44:51]OFDProtocolAddRootSTLVToBuf [12:44:51]FM_MakeSignedData [12:44:51]FM_MakeSignedData [12:44:51]SAM_PROTO_SignData [12:44:51]wFMCommunicate request_size=4 [12:44:51]MH_SAM_APDU [12:44:51]CAPDU: 80 0D 01 02 [12:44:51]Write to MH i2c: E2 08 00 AD 32 80 0D 01 02 00 00 00 00 58 [12:44:51]Write i2c OK [12:44:51]MH_I2C_Read... [12:44:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:44:51]Read from MH i2c: E2 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 03 00 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 03 00 AD 32 00 90 00 53 [12:44:51]RAPDU: 90 00 [12:44:51]wFMCommunicate OK [12:44:51]wFMCommunicate request_size=255 [12:44:51]MH_SAM_APDU [12:44:51]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 48 0D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 16 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 4A 4C B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 59 BF 00 00 35 04 06 00 46 [12:44:51]Write to MH i2c: E2 02 01 AE 32 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 48 0D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 16 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 4A 4C B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 59 BF 00 00 35 04 06 00 46 00 00 F5 [12:44:51]Write i2c OK [12:44:51]MH_I2C_Read... [12:44:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:51]Read from MH i2c: E2 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 03 00 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 03 00 AE 32 00 90 00 54 [12:44:51]RAPDU: 90 00 [12:44:51]wFMCommunicate OK [12:44:51]wFMCommunicate request_size=10 [12:44:51]MH_SAM_APDU [12:44:51]CAPDU: 80 0D 02 02 05 83 70 FF 49 36 [12:44:51]Write to MH i2c: E2 0D 00 AF 32 80 0D 02 02 05 00 83 70 FF 49 36 00 00 D6 [12:44:51]Write i2c OK [12:44:51]MH_I2C_Read... [12:44:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:51]Read from MH i2c: E2 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 03 00 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 03 00 AF 32 00 90 00 55 [12:44:51]RAPDU: 90 00 [12:44:51]wFMCommunicate OK [12:44:51]wFMCommunicate request_size=4 [12:44:51]MH_SAM_APDU [12:44:51]CAPDU: 80 0D 03 02 [12:44:51]Write to MH i2c: E2 08 00 B0 32 80 0D 03 02 00 00 00 00 5D [12:44:51]Write i2c OK [12:44:51]MH_I2C_Read... [12:44:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:44:51]Read from MH i2c: E2 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 0B 00 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 0B 00 B0 32 00 89 D5 0E 19 A4 AA 34 D6 90 00 3B [12:44:51]RAPDU: 89 D5 0E 19 A4 AA 34 D6 90 00 [12:44:51]wFMCommunicate OK [12:44:51]SAM_PROTO_SignData done [12:44:51]FM_MakeSignedData done [12:44:51]CreateOFDProtocolMessage [12:44:51]wFMCommunicate request_size=4 [12:44:51]MH_SAM_APDU [12:44:51]CAPDU: 80 11 00 00 [12:44:51]Write to MH i2c: E2 08 00 B1 32 80 11 00 00 00 00 00 00 5D [12:44:51]Write i2c OK [12:44:51]MH_I2C_Read... [12:44:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:51]Read from MH i2c: E2 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 17 00 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: E2 17 00 B1 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 AA [12:44:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:44:51]wFMCommunicate OK [12:44:51]CreateOFDProtocolMessage done [12:44:51]OFDSenderStorePacket 48985 [12:44:51]StoreOFDPacket docnum=48985 [12:44:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 B5 AD 07 01 05 EE 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 48 0D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 16 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 4A 4C B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 59 BF 00 00 35 04 06 00 46 83 70 FF 49 36 89 D5 0E 19 A4 AA 34 D6 [12:44:51]CheckFolder [12:44:51]dirname=/storage/ofd_packets [12:44:51]CheckFolder done [12:44:51]ProducePacketName [12:44:51]name=ofd_packets/00048985 [12:44:51]NVStorageSaveData ofd_packets/00048985 [12:44:51]File name is /storage/ofd_packets/00048985 [12:44:51]Write 301 bytes [12:44:51]NVStorageSaveData done [12:44:51]OFDSenderStorePacket done [12:44:51]KKMCreateOFDPacket done [12:44:51]NVStorageSaveData kkm_last_timestamp [12:44:51]File name is /storage/kkm_last_timestamp [12:44:51]Write 4 bytes [12:44:51]NVStorageSaveData done [12:44:51]ExternCall_PrintAddStr [12:44:51]wPrintStart [12:44:51]Write to MH i2c: 01 00 00 B2 32 E4 [12:44:52]Write i2c OK [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: 01 [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: 01 07 00 [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: 01 07 00 B2 32 00 00 00 00 00 FF 0F F9 [12:44:52]RasterBufferAndPrint [12:44:52]line Счет N : (1)216083 [12:44:52]line ИÐÐ: 02508201610067 [12:44:52]line Контрольно-КаÑÑовый Чек [12:44:52]line ПРОДÐЖР[12:44:52]line ТРК (МРК, ГÐК) : 22 [12:44:52]line Товар: 2710124130 [12:44:52]line Ðи-92-К-5 [12:44:52]line 3.400 * 60.30 [12:44:52]line = 205.02 [12:44:52]line ÐДС 12% ÐСП 1% [12:44:52]line > о реализуемом товаре [12:44:52]line ОКРУГЛЕÐИЕ: -0.02 [12:44:52]line ИТОГО: 205.00 [12:44:52]line ВнеÑено: 205.00 [12:44:52]line СДÐЧÐ: 0.00 [12:44:52]line ÐСП 1% : 1.81 [12:44:52]line ÐДС 12% : 21.77 [12:44:52]line Ðаличными: 205.00 [12:44:52]line Безнал.: 0.00 [12:44:52]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:44:52]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:44:52]line СÐО: Общий режим [12:44:52]line Чек 50 28.01.2024 12:44 [12:44:52]line Смена: 244 ФФД: 1.0 [12:44:52]line ЗÐМ: 0300000040 [12:44:52]line РÐМ: 0000000000092723 [12:44:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:44:52]line ФМ: 0000000000875060 [12:44:52]line ФД: 48985 [12:44:52]line ФПД: 77530350438710 [12:44:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T124458&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48985&fm=77530350438710&tin=02508201610067®Number=0000000000092723&sum=20500 [12:44:52]OFD Sender: Processing packet 48985 [packets to send 12, broken 11] [12:44:52]ProducePacketName [12:44:52]name=ofd_packets/00048985 [12:44:52]OFD Sender: To server: ‡•öpG, [12:44:52]CommunicateWithHost lk.salyk.kg:30040 [12:44:52]ConnectInit lk.salyk.kg [12:44:52]written 0, free lines is 4095 [12:44:52]Connected sock=10 [12:44:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 B5 AD 07 01 05 EE 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 48 0D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 16 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 4A 4C B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 59 BF 00 00 35 04 06 00 46 83 70 FF 49 36 89 D5 0E 19 A4 AA 34 D6 [12:44:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 47 95 47 00 09 BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 59 BF 00 00 F4 03 04 00 46 F8 B5 65 B6 04 01 00 00 D4 A1 16 71 BB E7 B6 8A [12:44:52]CommunicateWithHost err = 0 [12:44:52]CheckOFDResponse [12:44:52]1017 (14) - 77093643461234 [12:44:52]1041 (16) - 0000000000875060 [12:44:52]1040 (4) - 48985 [12:44:52]1012 (4) - 28.01.2024 06:46 [12:44:52]1206 (1) - 0 [12:44:52]OFD Sender: Remove packet 48985 [12:44:52]ProducePacketName [12:44:52]name=ofd_packets/00048985 [12:44:52]NVStorageDeleteData [12:44:52]Write to MH i2c: 01 00 00 DD 32 0F [12:44:52]Write i2c OK [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: 01 [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: 01 07 00 [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: 01 07 00 DD 32 00 00 00 00 00 F7 0C 19 [12:44:52]RasterBufferAndPrint [12:44:52]line [12:44:52]line [12:44:52]line [12:44:52]line [12:44:52]line [12:44:52]written 0, free lines is 3325 [12:44:52]MH_Cut [12:44:52]Write to MH i2c: D1 01 00 E4 32 01 E8 [12:44:52]Write i2c OK [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: D1 [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: D1 01 00 [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: D1 01 00 E4 32 00 E7 [12:44:52]Write to MH i2c: 01 00 00 E5 32 17 [12:44:52]Write i2c OK [12:44:52]MH_I2C_Read... [12:44:53]OFD Sender: No OFD packet to send [12:44:53]*** Cut start [12:44:53]*** Partial cut [12:44:53]*** CUTSNS_PIN = 1 [12:44:53]*** CUTSNS_PIN = 0 [12:44:53]*** Brake cut motor [12:44:54]Read from MH i2c: 01 [12:44:54]MH_I2C_Read... [12:44:54]*** Stop cut motor [12:44:54]*** Cut end [12:44:54]Read from MH i2c: 01 07 00 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: 01 07 00 E5 32 00 00 00 00 00 FF 0F 2C [12:44:54]process_action close_receipt done [12:44:54]requested_data is exist [12:44:54]produce_requested_data [12:44:54]requested_item fm.sn is exist - process it [12:44:54]wFMCommunicate request_size=4 [12:44:54]MH_SAM_APDU [12:44:54]CAPDU: 80 11 00 00 [12:44:54]Write to MH i2c: E2 08 00 E6 32 80 11 00 00 00 00 00 00 92 [12:44:54]Write i2c OK [12:44:54]MH_I2C_Read... [12:44:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:54]Read from MH i2c: E2 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: E2 17 00 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: E2 17 00 E6 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 DF [12:44:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:44:54]wFMCommunicate OK [12:44:54]requested_item fd.num is exist - process it [12:44:54]SAM_PROTO_GetFieldsCounters [12:44:54]wFMCommunicate request_size=4 [12:44:54]MH_SAM_APDU [12:44:54]CAPDU: 80 13 00 00 [12:44:54]Write to MH i2c: E2 08 00 E7 32 80 13 00 00 00 00 00 00 95 [12:44:54]Write i2c OK [12:44:54]MH_I2C_Read... [12:44:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:44:54]Read from MH i2c: E2 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: E2 62 00 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: E2 62 00 E7 32 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 59 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [12:44: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 59 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:44:54]wFMCommunicate OK [12:44:54]SAM_PROTO_GetFieldsCounters done [12:44:54]requested_item shift.num is exist - process it [12:44:54]requested_item shift.opened is exist - process it [12:44:54]req_shift_opened [12:44:54]FM_GetShiftState [12:44:54]SAM_PROTO_GetShiftState [12:44:54]wFMCommunicate request_size=4 [12:44:54]MH_SAM_APDU [12:44:54]CAPDU: 80 13 01 00 [12:44:54]Write to MH i2c: E2 08 00 E8 32 80 13 01 00 00 00 00 00 97 [12:44:54]Write i2c OK [12:44:54]MH_I2C_Read... [12:44:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:54]Read from MH i2c: E2 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: E2 0E 00 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: E2 0E 00 E8 32 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 1D [12:44:54]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:44:54]wFMCommunicate OK [12:44:54]SAM_PROTO_GetShiftState done [12:44:54]FM_GetShiftState done [12:44:54]req_shift_opened done [12:44:54]requested_item shift.open_date is exist - process it [12:44:54]req_shift_open_date [12:44:54]req_shift_open_date done [12:44:54]produce_requested_data done [12:44:54]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48985,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:44:54]process_action_free close_receipt [12:44:54]json_value_free [12:44:54]json_value_free done [12:44:54]process_json_proto returns [12:44:54]Send response to host [12:44:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48985,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:44:54]free response buf [12:44:54]execute_script done [12:44:54]execute_script returns [12:44:54]free content buf [12:44:54]Sock 9.Close socket [12:44:54]Sock 9.Thread stoped [12:44:58]OFD Sender: No OFD packet to send [12:45:03]OFD Sender: No OFD packet to send [12:45:08]OFD Sender: No OFD packet to send [12:45:13]OFD Sender: No OFD packet to send [12:45:18]OFD Sender: No OFD packet to send [12:45:23]OFD Sender: No OFD packet to send [12:45:28]OFD Sender: No OFD packet to send [12:45:33]OFD Sender: No OFD packet to send [12:45:38]OFD Sender: No OFD packet to send [12:45:43]OFD Sender: No OFD packet to send [12:45:48]OFD Sender: No OFD packet to send [12:45:53]OFD Sender: No OFD packet to send [12:45:58]OFD Sender: No OFD packet to send [12:46:03]OFD Sender: No OFD packet to send [12:46:08]OFD Sender: No OFD packet to send [12:46:13]OFD Sender: No OFD packet to send [12:46:18]OFD Sender: No OFD packet to send [12:46:23]OFD Sender: No OFD packet to send [12:46:28]OFD Sender: No OFD packet to send [12:46:33]OFD Sender: No OFD packet to send [12:46:38]OFD Sender: No OFD packet to send [12:46:43]OFD Sender: No OFD packet to send [12:46:48]OFD Sender: No OFD packet to send [12:46:53]OFD Sender: No OFD packet to send [12:46:58]OFD Sender: No OFD packet to send [12:47:03]OFD Sender: No OFD packet to send [12:47:08]OFD Sender: No OFD packet to send [12:47:13]OFD Sender: No OFD packet to send [12:47:18]OFD Sender: No OFD packet to send [12:47:23]OFD Sender: No OFD packet to send [12:47:28]OFD Sender: No OFD packet to send [12:47:33]OFD Sender: No OFD packet to send [12:47:38]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:50]accept exits with 7 [12:51:50]New connection [12:51:50]New thread 3066813796 created [12:51:50]Thread 3066670436 joined [12:51:50]Waiting for new connection... [12:51:50] Sock 7.Parse request [12:51:50]Sock 7.Check first char [12:51:50]Sock 7.First char is OK [12:51:50]request: POST /json_proto HTTP/1.0 [12:51:50]Method: POST [12:51:50]URL: /json_proto [12:51:50]Method is POST - this is cgi request [12:51:50]url: /json_proto [12:51:50]query_string will be loaded in cgi processing [12:51:50]execute_cgi json_proto POST (null) [12:51:50]execute_cgi path=json_proto method=POST [12:51:50]POST find Content-Length [12:51:50]Host: 172.17.56.67:8080 [12:51:50]Content-Length: 677 [12:51:50]Content-Type: application/json [12:51:50] [12:51:50]POST finish read [12:51:50]Found Content-Length = 677 [12:51:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216084", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [12:51:50]execute_script... [12: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 : (1)216084", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [12:51:50]POST & json_proto [12:51:50]process_json_proto [12:51:50]json parsed OK: [12:51:50]protocol is kg_v1.0 [12:51:50]action value=close_receipt [12:51:50]process_action close_receipt [12:51:50]cmd_close_receipt [12:51:50]MH_GetDate [12:51:50]Write to MH i2c: F0 00 00 E9 32 0A [12:51:50]Write i2c OK [12:51:50]MH_I2C_Read... [12:51:50]Read from MH i2c: F0 [12:51:50]MH_I2C_Read... [12:51:50]Read from MH i2c: F0 09 00 [12:51:50]MH_I2C_Read... [12:51:50]Read from MH i2c: F0 09 00 E9 32 00 EF 4D B6 65 26 5D 9E 65 F0 [12:51:50]GetLastDocTimeStamp 1706445898 [12:51:50]current date 1706446319 [12:51:50]FM_GetShiftState [12:51:50]SAM_PROTO_GetShiftState [12:51:50]wFMCommunicate request_size=4 [12:51:50]MH_SAM_APDU [12:51:50]CAPDU: 80 13 01 00 [12:51:50]Write to MH i2c: E2 08 00 EA 32 80 13 01 00 00 00 00 00 99 [12:51:50]Write i2c OK [12:51:50]MH_I2C_Read... [12:51:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:51:50]Read from MH i2c: E2 [12:51:50]MH_I2C_Read... [12:51:50]Read from MH i2c: E2 0E 00 [12:51:50]MH_I2C_Read... [12:51:50]Read from MH i2c: E2 0E 00 EA 32 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 1F [12:51:50]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:51:50]wFMCommunicate OK [12:51:50]SAM_PROTO_GetShiftState done [12:51:50]FM_GetShiftState done [12:51:50]opened in 1706400199 [12:51:50]opened+sec_in_day 1706486599 [12:51:50]quantity*price = 20019 [12:51:50]sum+1 = 20021 [12:51:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 51 28.01.2024 12:51 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48986 ФПД: 56961727685503 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T125159&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48986&fm=56961727685503&tin=02508201610067®Number=0000000000092723&sum=20000 [12:51:51]StoreToDocumentArchive [12:51:51]shift 244 fd 48986 [12:51:51]save to /storage/0244/doc_00048986 [12:51:51]save last doc name /storage/0244/doc_00048986 to /storage/kkm_last_doc_name [12:51:51]save OK [12:51:51]Clear old archive folders... [12:51:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:51:51]tlvbuf is 01199DE0 [12:51:51]SAM_PROTO_ClearQueue [12:51:51]wFMCommunicate request_size=4 [12:51:51]MH_SAM_APDU [12:51:51]CAPDU: 80 09 00 00 [12:51:51]Write to MH i2c: E2 08 00 F7 32 80 09 00 00 00 00 00 00 9B [12:51:51]Write i2c OK [12:51:51]MH_I2C_Read... [12:51:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:51:51]Read from MH i2c: E2 [12:51:51]MH_I2C_Read... [12:51:51]Read from MH i2c: E2 03 00 [12:51:51]MH_I2C_Read... [12:51:51]Read from MH i2c: E2 03 00 F7 32 00 90 00 9D [12:51:51]RAPDU: 90 00 [12:51:51]wFMCommunicate OK [12:51:51]SAM_PROTO_ClearQueue done [12:51:51]KKMCreateOFDPacket [12:51:51]OFDProtocolAddRootSTLVToBuf [12:51:51]FM_MakeSignedData [12:51:51]FM_MakeSignedData [12:51:51]SAM_PROTO_SignData [12:51:51]wFMCommunicate request_size=4 [12:51:51]MH_SAM_APDU [12:51:51]CAPDU: 80 0D 01 02 [12:51:51]Write to MH i2c: E2 08 00 F8 32 80 0D 01 02 00 00 00 00 A3 [12:51:51]Write i2c OK [12:51:51]MH_I2C_Read... [12:51:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:51:51]Read from MH i2c: E2 [12:51:51]MH_I2C_Read... [12:51:51]Read from MH i2c: E2 03 00 [12:51:51]MH_I2C_Read... [12:51:51]Read from MH i2c: E2 03 00 F8 32 00 90 00 9E [12:51:51]RAPDU: 90 00 [12:51:51]wFMCommunicate OK [12:51:51]wFMCommunicate request_size=255 [12:51:51]MH_SAM_APDU [12:51:51]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 33 00 00 00 F4 03 04 00 EF 4D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5A BF 00 00 35 04 06 00 33 [12:51:51]Write to MH i2c: E2 02 01 F9 32 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 33 00 00 00 F4 03 04 00 EF 4D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5A BF 00 00 35 04 06 00 33 00 00 7D [12:51:51]Write i2c OK [12:51:51]MH_I2C_Read... [12:51:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:51:52]Read from MH i2c: E2 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: E2 03 00 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: E2 03 00 F9 32 00 90 00 9F [12:51:52]RAPDU: 90 00 [12:51:52]wFMCommunicate OK [12:51:52]wFMCommunicate request_size=10 [12:51:52]MH_SAM_APDU [12:51:52]CAPDU: 80 0D 02 02 05 CE 6F 8B 63 7F [12:51:52]Write to MH i2c: E2 0D 00 FA 32 80 0D 02 02 05 00 CE 6F 8B 63 7F 00 00 5A [12:51:52]Write i2c OK [12:51:52]MH_I2C_Read... [12:51:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:51:52]Read from MH i2c: E2 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: E2 03 00 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: E2 03 00 FA 32 00 90 00 A0 [12:51:52]RAPDU: 90 00 [12:51:52]wFMCommunicate OK [12:51:52]wFMCommunicate request_size=4 [12:51:52]MH_SAM_APDU [12:51:52]CAPDU: 80 0D 03 02 [12:51:52]Write to MH i2c: E2 08 00 FB 32 80 0D 03 02 00 00 00 00 A8 [12:51:52]Write i2c OK [12:51:52]MH_I2C_Read... [12:51:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:51:52]Read from MH i2c: E2 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: E2 0B 00 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: E2 0B 00 FB 32 00 7D 86 77 E0 E9 FC E1 35 90 00 FE [12:51:52]RAPDU: 7D 86 77 E0 E9 FC E1 35 90 00 [12:51:52]wFMCommunicate OK [12:51:52]SAM_PROTO_SignData done [12:51:52]FM_MakeSignedData done [12:51:52]CreateOFDProtocolMessage [12:51:52]wFMCommunicate request_size=4 [12:51:52]MH_SAM_APDU [12:51:52]CAPDU: 80 11 00 00 [12:51:52]Write to MH i2c: E2 08 00 FC 32 80 11 00 00 00 00 00 00 A8 [12:51:52]Write i2c OK [12:51:52]MH_I2C_Read... [12:51:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:51:52]Read from MH i2c: E2 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: E2 17 00 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: E2 17 00 FC 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 F5 [12:51:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:51:52]wFMCommunicate OK [12:51:52]CreateOFDProtocolMessage done [12:51:52]OFDSenderStorePacket 48986 [12:51:52]StoreOFDPacket docnum=48986 [12:51:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 58 5D 07 01 A0 34 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 33 00 00 00 F4 03 04 00 EF 4D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5A BF 00 00 35 04 06 00 33 CE 6F 8B 63 7F 7D 86 77 E0 E9 FC E1 35 [12:51:52]CheckFolder [12:51:52]dirname=/storage/ofd_packets [12:51:52]CheckFolder done [12:51:52]ProducePacketName [12:51:52]name=ofd_packets/00048986 [12:51:52]NVStorageSaveData ofd_packets/00048986 [12:51:52]File name is /storage/ofd_packets/00048986 [12:51:52]Write 301 bytes [12:51:52]NVStorageSaveData done [12:51:52]OFDSenderStorePacket done [12:51:52]KKMCreateOFDPacket done [12:51:52]NVStorageSaveData kkm_last_timestamp [12:51:52]File name is /storage/kkm_last_timestamp [12:51:52]Write 4 bytes [12:51:52]NVStorageSaveData done [12:51:52]ExternCall_PrintAddStr [12:51:52]wPrintStart [12:51:52]Write to MH i2c: 01 00 00 FD 32 2F [12:51:52]Write i2c OK [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: 01 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: 01 07 00 [12:51:52]MH_I2C_Read... [12:51:52]Read from MH i2c: 01 07 00 FD 32 00 00 00 00 00 FF 0F 44 [12:51:52]RasterBufferAndPrint [12:51:52]line Счет N : (1)216084 [12:51:52]line ИÐÐ: 02508201610067 [12:51:52]line Контрольно-КаÑÑовый Чек [12:51:52]line ПРОДÐЖР[12:51:52]line ТРК (МРК, ГÐК) : 22 [12:51:52]line Товар: 2710124130 [12:51:52]line Ðи-92-К-5 [12:51:52]line 3.320 * 60.30 [12:51:52]line = 200.20 [12:51:52]line ÐДС 12% ÐСП 1% [12:51:52]line > о реализуемом товаре [12:51:52]line ОКРУГЛЕÐИЕ: -0.20 [12:51:52]line ИТОГО: 200.00 [12:51:52]line ВнеÑено: 200.00 [12:51:52]line СДÐЧÐ: 0.00 [12:51:52]line ÐСП 1% : 1.77 [12:51:52]line ÐДС 12% : 21.26 [12:51:52]line Ðаличными: 200.00 [12:51:52]line Безнал.: 0.00 [12:51:52]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:51:52]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:51:52]line СÐО: Общий режим [12:51:52]line Чек 51 28.01.2024 12:51 [12:51:52]line Смена: 244 ФФД: 1.0 [12:51:52]line ЗÐМ: 0300000040 [12:51:52]line РÐМ: 0000000000092723 [12:51:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:51:52]line ФМ: 0000000000875060 [12:51:52]line ФД: 48986 [12:51:52]line ФПД: 56961727685503 [12:51:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T125159&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48986&fm=56961727685503&tin=02508201610067®Number=0000000000092723&sum=20000 [12:51:52]OFD Sender: Processing packet 48986 [packets to send 12, broken 11] [12:51:52]ProducePacketName [12:51:52]name=ofd_packets/00048986 [12:51:52]OFD Sender: To server: ‡•öpG, [12:51:52]CommunicateWithHost lk.salyk.kg:30040 [12:51:52]ConnectInit lk.salyk.kg [12:51:52]written 0, free lines is 4095 [12:51:52]Connected sock=9 [12:51:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 58 5D 07 01 A0 34 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 33 00 00 00 F4 03 04 00 EF 4D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5A BF 00 00 35 04 06 00 33 CE 6F 8B 63 7F 7D 86 77 E0 E9 FC E1 35 [12:51:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 F5 36 47 00 06 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 5A BF 00 00 F4 03 04 00 EA F9 B5 65 B6 04 01 00 00 77 58 13 7D 1A 4A AA D9 [12:51:53]CommunicateWithHost err = 0 [12:51:53]CheckOFDResponse [12:51:53]1017 (14) - 77093643461234 [12:51:53]1041 (16) - 0000000000875060 [12:51:53]1040 (4) - 48986 [12:51:53]1012 (4) - 28.01.2024 06:53 [12:51:53]1206 (1) - 0 [12:51:53]OFD Sender: Remove packet 48986 [12:51:53]ProducePacketName [12:51:53]name=ofd_packets/00048986 [12:51:53]NVStorageDeleteData [12:51:53]Write to MH i2c: 01 00 00 28 33 5B [12:51:53]Write i2c OK [12:51:53]MH_I2C_Read... [12:51:53]Read from MH i2c: 01 [12:51:53]MH_I2C_Read... [12:51:53]Read from MH i2c: 01 07 00 [12:51:53]MH_I2C_Read... [12:51:53]Read from MH i2c: 01 07 00 28 33 00 00 00 00 00 03 0D 72 [12:51:53]RasterBufferAndPrint [12:51:53]line [12:51:53]line [12:51:53]line [12:51:53]line [12:51:53]line [12:51:53]written 0, free lines is 3340 [12:51:53]MH_Cut [12:51:53]Write to MH i2c: D1 01 00 2F 33 01 34 [12:51:53]Write i2c OK [12:51:53]MH_I2C_Read... [12:51:53]Read from MH i2c: D1 [12:51:53]MH_I2C_Read... [12:51:53]Read from MH i2c: D1 01 00 [12:51:53]MH_I2C_Read... [12:51:53]Read from MH i2c: D1 01 00 2F 33 00 33 [12:51:53]Write to MH i2c: 01 00 00 30 33 63 [12:51:53]Write i2c OK [12:51:53]MH_I2C_Read... [12:51:53]OFD Sender: No OFD packet to send [12:51:53]*** Cut start [12:51:53]*** Partial cut [12:51:53]*** CUTSNS_PIN = 1 [12:51:53]*** CUTSNS_PIN = 0 [12:51:54]*** Brake cut motor [12:51:54]Read from MH i2c: 01 [12:51:54]MH_I2C_Read... [12:51:54]*** Stop cut motor [12:51:54]*** Cut end [12:51:54]Read from MH i2c: 01 07 00 [12:51:54]MH_I2C_Read... [12:51:54]Read from MH i2c: 01 07 00 30 33 00 00 00 00 00 FF 0F 78 [12:51:54]process_action close_receipt done [12:51:54]requested_data is exist [12:51:54]produce_requested_data [12:51:54]requested_item fm.sn is exist - process it [12:51:54]wFMCommunicate request_size=4 [12:51:54]MH_SAM_APDU [12:51:54]CAPDU: 80 11 00 00 [12:51:54]Write to MH i2c: E2 08 00 31 33 80 11 00 00 00 00 00 00 DE [12:51:54]Write i2c OK [12:51:54]MH_I2C_Read... [12:51:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:51:54]Read from MH i2c: E2 [12:51:54]MH_I2C_Read... [12:51:54]Read from MH i2c: E2 17 00 [12:51:54]MH_I2C_Read... [12:51:54]Read from MH i2c: E2 17 00 31 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 2B [12:51:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:51:54]wFMCommunicate OK [12:51:54]requested_item fd.num is exist - process it [12:51:54]SAM_PROTO_GetFieldsCounters [12:51:54]wFMCommunicate request_size=4 [12:51:54]MH_SAM_APDU [12:51:54]CAPDU: 80 13 00 00 [12:51:54]Write to MH i2c: E2 08 00 32 33 80 13 00 00 00 00 00 00 E1 [12:51:54]Write i2c OK [12:51:54]MH_I2C_Read... [12:51:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:51:54]Read from MH i2c: E2 [12:51:54]MH_I2C_Read... [12:51:54]Read from MH i2c: E2 62 00 [12:51:54]MH_I2C_Read... [12:51:54]Read from MH i2c: E2 62 00 32 33 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 A0 [12:51: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:51:54]wFMCommunicate OK [12:51:54]SAM_PROTO_GetFieldsCounters done [12:51:54]requested_item shift.num is exist - process it [12:51:54]requested_item shift.opened is exist - process it [12:51:54]req_shift_opened [12:51:54]FM_GetShiftState [12:51:54]SAM_PROTO_GetShiftState [12:51:54]wFMCommunicate request_size=4 [12:51:54]MH_SAM_APDU [12:51:54]CAPDU: 80 13 01 00 [12:51:54]Write to MH i2c: E2 08 00 33 33 80 13 01 00 00 00 00 00 E3 [12:51:54]Write i2c OK [12:51:54]MH_I2C_Read... [12:51:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:51:54]Read from MH i2c: E2 [12:51:54]MH_I2C_Read... [12:51:54]Read from MH i2c: E2 0E 00 [12:51:54]MH_I2C_Read... [12:51:54]Read from MH i2c: E2 0E 00 33 33 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 69 [12:51:54]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:51:54]wFMCommunicate OK [12:51:54]SAM_PROTO_GetShiftState done [12:51:54]FM_GetShiftState done [12:51:54]req_shift_opened done [12:51:54]requested_item shift.open_date is exist - process it [12:51:54]req_shift_open_date [12:51:54]req_shift_open_date done [12:51:54]produce_requested_data done [12:51:54]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48986,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:51:54]process_action_free close_receipt [12:51:54]json_value_free [12:51:54]json_value_free done [12:51:54]process_json_proto returns [12:51:54]Send response to host [12:51:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48986,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:51:54]free response buf [12:51:54]execute_script done [12:51:54]execute_script returns [12:51:54]free content buf [12:51:54]Sock 7.Close socket [12:51:54]Sock 7.Thread stoped [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:13]accept exits with 10 [12:56:13]New connection [12:56:13]New thread 3066670436 created [12:56:13]Thread 3066813796 joined [12:56:13]Waiting for new connection... [12:56:13] Sock 10.Parse request [12:56:13]Sock 10.Check first char [12:56:13]Sock 10.First char is OK [12:56:13]request: POST /json_proto HTTP/1.0 [12:56:13]Method: POST [12:56:13]URL: /json_proto [12:56:13]Method is POST - this is cgi request [12:56:13]url: /json_proto [12:56:13]query_string will be loaded in cgi processing [12:56:13]execute_cgi json_proto POST (null) [12:56:13]execute_cgi path=json_proto method=POST [12:56:13]POST find Content-Length [12:56:13]Host: 172.17.56.67:8080 [12:56:13]Content-Length: 677 [12:56:13]Content-Type: application/json [12:56:13] [12:56:13]POST finish read [12:56:13]Found Content-Length = 677 [12:56:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216085", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [12:56:13]execute_script... [12:56:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216085", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [12:56:13]POST & json_proto [12:56:13]process_json_proto [12:56:13]json parsed OK: [12:56:13]protocol is kg_v1.0 [12:56:13]action value=close_receipt [12:56:13]process_action close_receipt [12:56:13]cmd_close_receipt [12:56:13]MH_GetDate [12:56:13]Write to MH i2c: F0 00 00 34 33 56 [12:56:13]Write i2c OK [12:56:13]MH_I2C_Read... [12:56:13]Read from MH i2c: F0 [12:56:13]MH_I2C_Read... [12:56:13]Read from MH i2c: F0 09 00 [12:56:13]MH_I2C_Read... [12:56:13]Read from MH i2c: F0 09 00 34 33 00 F6 4E B6 65 26 5D 9E 65 44 [12:56:13]GetLastDocTimeStamp 1706446319 [12:56:13]current date 1706446582 [12:56:13]FM_GetShiftState [12:56:13]SAM_PROTO_GetShiftState [12:56:13]wFMCommunicate request_size=4 [12:56:13]MH_SAM_APDU [12:56:13]CAPDU: 80 13 01 00 [12:56:13]Write to MH i2c: E2 08 00 35 33 80 13 01 00 00 00 00 00 E5 [12:56:14]Write i2c OK [12:56:14]MH_I2C_Read... [12:56:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:14]Read from MH i2c: E2 [12:56:14]MH_I2C_Read... [12:56:14]Read from MH i2c: E2 0E 00 [12:56:14]MH_I2C_Read... [12:56:14]Read from MH i2c: E2 0E 00 35 33 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 6B [12:56:14]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:56:14]wFMCommunicate OK [12:56:14]SAM_PROTO_GetShiftState done [12:56:14]FM_GetShiftState done [12:56:14]opened in 1706400199 [12:56:14]opened+sec_in_day 1706486599 [12:56:14]quantity*price = 30029 [12:56:14]sum+1 = 30030 [12:56:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 52 28.01.2024 12:56 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48987 ФПД: 137362955519938 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T125622&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48987&fm=137362955519938&tin=02508201610067®Number=0000000000092723&sum=30000 [12:56:15]StoreToDocumentArchive [12:56:15]shift 244 fd 48987 [12:56:15]save to /storage/0244/doc_00048987 [12:56:15]save last doc name /storage/0244/doc_00048987 to /storage/kkm_last_doc_name [12:56:15]save OK [12:56:15]Clear old archive folders... [12:56:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:56:15]tlvbuf is 011DA860 [12:56:15]SAM_PROTO_ClearQueue [12:56:15]wFMCommunicate request_size=4 [12:56:15]MH_SAM_APDU [12:56:15]CAPDU: 80 09 00 00 [12:56:15]Write to MH i2c: E2 08 00 42 33 80 09 00 00 00 00 00 00 E7 [12:56:15]Write i2c OK [12:56:15]MH_I2C_Read... [12:56:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:56:15]Read from MH i2c: E2 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 03 00 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 03 00 42 33 00 90 00 E9 [12:56:15]RAPDU: 90 00 [12:56:15]wFMCommunicate OK [12:56:15]SAM_PROTO_ClearQueue done [12:56:15]KKMCreateOFDPacket [12:56:15]OFDProtocolAddRootSTLVToBuf [12:56:15]FM_MakeSignedData [12:56:15]FM_MakeSignedData [12:56:15]SAM_PROTO_SignData [12:56:15]wFMCommunicate request_size=4 [12:56:15]MH_SAM_APDU [12:56:15]CAPDU: 80 0D 01 02 [12:56:15]Write to MH i2c: E2 08 00 43 33 80 0D 01 02 00 00 00 00 EF [12:56:15]Write i2c OK [12:56:15]MH_I2C_Read... [12:56:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:56:15]Read from MH i2c: E2 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 03 00 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 03 00 43 33 00 90 00 EA [12:56:15]RAPDU: 90 00 [12:56:15]wFMCommunicate OK [12:56:15]wFMCommunicate request_size=255 [12:56:15]MH_SAM_APDU [12:56:15]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 34 00 00 00 F4 03 04 00 F6 4E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5B BF 00 00 35 04 06 00 7C [12:56:15]Write to MH i2c: E2 02 01 44 33 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 34 00 00 00 F4 03 04 00 F6 4E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5B BF 00 00 35 04 06 00 7C 00 00 D2 [12:56:15]Write i2c OK [12:56:15]MH_I2C_Read... [12:56:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:15]Read from MH i2c: E2 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 03 00 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 03 00 44 33 00 90 00 EB [12:56:15]RAPDU: 90 00 [12:56:15]wFMCommunicate OK [12:56:15]wFMCommunicate request_size=10 [12:56:15]MH_SAM_APDU [12:56:15]CAPDU: 80 0D 02 02 05 EE 4E 2B 47 C2 [12:56:15]Write to MH i2c: E2 0D 00 45 33 80 0D 02 02 05 00 EE 4E 2B 47 C2 00 00 6C [12:56:15]Write i2c OK [12:56:15]MH_I2C_Read... [12:56:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:15]Read from MH i2c: E2 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 03 00 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 03 00 45 33 00 90 00 EC [12:56:15]RAPDU: 90 00 [12:56:15]wFMCommunicate OK [12:56:15]wFMCommunicate request_size=4 [12:56:15]MH_SAM_APDU [12:56:15]CAPDU: 80 0D 03 02 [12:56:15]Write to MH i2c: E2 08 00 46 33 80 0D 03 02 00 00 00 00 F4 [12:56:15]Write i2c OK [12:56:15]MH_I2C_Read... [12:56:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:56:15]Read from MH i2c: E2 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 0B 00 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 0B 00 46 33 00 33 52 FF FB 7A 89 87 04 90 00 02 [12:56:15]RAPDU: 33 52 FF FB 7A 89 87 04 90 00 [12:56:15]wFMCommunicate OK [12:56:15]SAM_PROTO_SignData done [12:56:15]FM_MakeSignedData done [12:56:15]CreateOFDProtocolMessage [12:56:15]wFMCommunicate request_size=4 [12:56:15]MH_SAM_APDU [12:56:15]CAPDU: 80 11 00 00 [12:56:15]Write to MH i2c: E2 08 00 47 33 80 11 00 00 00 00 00 00 F4 [12:56:15]Write i2c OK [12:56:15]MH_I2C_Read... [12:56:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:15]Read from MH i2c: E2 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 17 00 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: E2 17 00 47 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 41 [12:56:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:56:15]wFMCommunicate OK [12:56:15]CreateOFDProtocolMessage done [12:56:15]OFDSenderStorePacket 48987 [12:56:15]StoreOFDPacket docnum=48987 [12:56:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 4D 1D 07 01 75 59 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 34 00 00 00 F4 03 04 00 F6 4E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5B BF 00 00 35 04 06 00 7C EE 4E 2B 47 C2 33 52 FF FB 7A 89 87 04 [12:56:15]CheckFolder [12:56:15]dirname=/storage/ofd_packets [12:56:15]CheckFolder done [12:56:15]ProducePacketName [12:56:15]name=ofd_packets/00048987 [12:56:15]NVStorageSaveData ofd_packets/00048987 [12:56:15]File name is /storage/ofd_packets/00048987 [12:56:15]Write 301 bytes [12:56:15]NVStorageSaveData done [12:56:15]OFDSenderStorePacket done [12:56:15]KKMCreateOFDPacket done [12:56:15]NVStorageSaveData kkm_last_timestamp [12:56:15]File name is /storage/kkm_last_timestamp [12:56:15]Write 4 bytes [12:56:15]NVStorageSaveData done [12:56:15]ExternCall_PrintAddStr [12:56:15]wPrintStart [12:56:15]Write to MH i2c: 01 00 00 48 33 7B [12:56:15]Write i2c OK [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: 01 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: 01 07 00 [12:56:15]MH_I2C_Read... [12:56:15]Read from MH i2c: 01 07 00 48 33 00 00 00 00 00 FF 0F 90 [12:56:15]RasterBufferAndPrint [12:56:15]line Счет N : (1)216085 [12:56:15]line ИÐÐ: 02508201610067 [12:56:15]line Контрольно-КаÑÑовый Чек [12:56:15]line ПРОДÐЖР[12:56:15]line ТРК (МРК, ГÐК) : 12 [12:56:15]line Товар: 2710124130 [12:56:15]line Ðи-92-К-5 [12:56:15]line 4.980 * 60.30 [12:56:15]line = 300.29 [12:56:15]line ÐДС 12% ÐСП 1% [12:56:15]line > о реализуемом товаре [12:56:15]line ОКРУГЛЕÐИЕ: -0.29 [12:56:15]line ИТОГО: 300.00 [12:56:15]line ВнеÑено: 300.00 [12:56:15]line СДÐЧÐ: 0.00 [12:56:15]line ÐСП 1% : 2.66 [12:56:15]line ÐДС 12% : 31.89 [12:56:15]line Ðаличными: 300.00 [12:56:15]line Безнал.: 0.00 [12:56:15]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:56:15]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:56:15]line СÐО: Общий режим [12:56:15]line Чек 52 28.01.2024 12:56 [12:56:15]line Смена: 244 ФФД: 1.0 [12:56:15]line ЗÐМ: 0300000040 [12:56:15]line РÐМ: 0000000000092723 [12:56:15]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:56:15]line ФМ: 0000000000875060 [12:56:15]line ФД: 48987 [12:56:15]line ФПД: 137362955519938 [12:56:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T125622&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48987&fm=137362955519938&tin=02508201610067®Number=0000000000092723&sum=30000 [12:56:16]OFD Sender: Processing packet 48987 [packets to send 12, broken 11] [12:56:16]ProducePacketName [12:56:16]name=ofd_packets/00048987 [12:56:16]OFD Sender: To server: ‡•öpG, [12:56:16]CommunicateWithHost lk.salyk.kg:30040 [12:56:16]ConnectInit lk.salyk.kg [12:56:16]written 0, free lines is 4095 [12:56:16]Connected sock=9 [12:56: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 30 36 30 0F 01 00 00 4D 1D 07 01 75 59 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 34 00 00 00 F4 03 04 00 F6 4E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5B BF 00 00 35 04 06 00 7C EE 4E 2B 47 C2 33 52 FF FB 7A 89 87 04 [12:56:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 AB FB 47 00 68 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 30 36 30 10 04 04 00 5B BF 00 00 F4 03 04 00 F2 FA B5 65 B6 04 01 00 00 76 52 D7 16 9D 50 A3 9B [12:56:16]CommunicateWithHost err = 0 [12:56:16]CheckOFDResponse [12:56:16]1017 (14) - 77093643461234 [12:56:16]1041 (16) - 0000000000875060 [12:56:16]1040 (4) - 48987 [12:56:16]1012 (4) - 28.01.2024 06:57 [12:56:16]1206 (1) - 0 [12:56:16]OFD Sender: Remove packet 48987 [12:56:16]ProducePacketName [12:56:16]name=ofd_packets/00048987 [12:56:16]NVStorageDeleteData [12:56:16]Write to MH i2c: 01 00 00 73 33 A6 [12:56:16]Write i2c OK [12:56:16]MH_I2C_Read... [12:56:16]Read from MH i2c: 01 [12:56:16]MH_I2C_Read... [12:56:16]Read from MH i2c: 01 07 00 [12:56:16]MH_I2C_Read... [12:56:16]Read from MH i2c: 01 07 00 73 33 00 00 00 00 00 0C 0D C6 [12:56:16]RasterBufferAndPrint [12:56:16]line [12:56:16]line [12:56:16]line [12:56:16]line [12:56:16]line [12:56:16]written 0, free lines is 3346 [12:56:16]MH_Cut [12:56:16]Write to MH i2c: D1 01 00 7A 33 01 7F [12:56:16]Write i2c OK [12:56:16]MH_I2C_Read... [12:56:16]Read from MH i2c: D1 [12:56:16]MH_I2C_Read... [12:56:16]Read from MH i2c: D1 01 00 [12:56:16]MH_I2C_Read... [12:56:16]Read from MH i2c: D1 01 00 7A 33 00 7E [12:56:16]Write to MH i2c: 01 00 00 7B 33 AE [12:56:16]Write i2c OK [12:56:16]MH_I2C_Read... [12:56:16]OFD Sender: No OFD packet to send [12:56:17]*** Cut start [12:56:17]*** Partial cut [12:56:17]*** CUTSNS_PIN = 1 [12:56:17]*** CUTSNS_PIN = 0 [12:56:17]*** Brake cut motor [12:56:17]Read from MH i2c: 01 [12:56:17]MH_I2C_Read... [12:56:17]*** Stop cut motor [12:56:17]*** Cut end [12:56:17]Read from MH i2c: 01 07 00 [12:56:17]MH_I2C_Read... [12:56:17]Read from MH i2c: 01 07 00 7B 33 00 00 00 00 00 FF 0F C3 [12:56:17]process_action close_receipt done [12:56:17]requested_data is exist [12:56:17]produce_requested_data [12:56:17]requested_item fm.sn is exist - process it [12:56:17]wFMCommunicate request_size=4 [12:56:17]MH_SAM_APDU [12:56:17]CAPDU: 80 11 00 00 [12:56:17]Write to MH i2c: E2 08 00 7C 33 80 11 00 00 00 00 00 00 29 [12:56:17]Write i2c OK [12:56:17]MH_I2C_Read... [12:56:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:17]Read from MH i2c: E2 [12:56:17]MH_I2C_Read... [12:56:17]Read from MH i2c: E2 17 00 [12:56:17]MH_I2C_Read... [12:56:17]Read from MH i2c: E2 17 00 7C 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 76 [12:56:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:56:17]wFMCommunicate OK [12:56:17]requested_item fd.num is exist - process it [12:56:17]SAM_PROTO_GetFieldsCounters [12:56:17]wFMCommunicate request_size=4 [12:56:17]MH_SAM_APDU [12:56:17]CAPDU: 80 13 00 00 [12:56:17]Write to MH i2c: E2 08 00 7D 33 80 13 00 00 00 00 00 00 2C [12:56:17]Write i2c OK [12:56:17]MH_I2C_Read... [12:56:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:56:17]Read from MH i2c: E2 [12:56:17]MH_I2C_Read... [12:56:17]Read from MH i2c: E2 62 00 [12:56:17]MH_I2C_Read... [12:56:17]Read from MH i2c: E2 62 00 7D 33 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 EF [12:56: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:56:17]wFMCommunicate OK [12:56:17]SAM_PROTO_GetFieldsCounters done [12:56:17]requested_item shift.num is exist - process it [12:56:17]requested_item shift.opened is exist - process it [12:56:17]req_shift_opened [12:56:17]FM_GetShiftState [12:56:17]SAM_PROTO_GetShiftState [12:56:17]wFMCommunicate request_size=4 [12:56:17]MH_SAM_APDU [12:56:17]CAPDU: 80 13 01 00 [12:56:17]Write to MH i2c: E2 08 00 7E 33 80 13 01 00 00 00 00 00 2E [12:56:17]Write i2c OK [12:56:17]MH_I2C_Read... [12:56:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:18]Read from MH i2c: E2 [12:56:18]MH_I2C_Read... [12:56:18]Read from MH i2c: E2 0E 00 [12:56:18]MH_I2C_Read... [12:56:18]Read from MH i2c: E2 0E 00 7E 33 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 B4 [12:56:18]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:56:18]wFMCommunicate OK [12:56:18]SAM_PROTO_GetShiftState done [12:56:18]FM_GetShiftState done [12:56:18]req_shift_opened done [12:56:18]requested_item shift.open_date is exist - process it [12:56:18]req_shift_open_date [12:56:18]req_shift_open_date done [12:56:18]produce_requested_data done [12:56:18]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48987,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:56:18]process_action_free close_receipt [12:56:18]json_value_free [12:56:18]json_value_free done [12:56:18]process_json_proto returns [12:56:18]Send response to host [12:56:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48987,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:56:18]free response buf [12:56:18]execute_script done [12:56:18]execute_script returns [12:56:18]free content buf [12:56:18]Sock 10.Close socket [12:56:18]Sock 10.Thread stoped [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: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]accept exits with 7 [12:59:11]New connection [12:59:11]New thread 3066813796 created [12:59:11]Thread 3066670436 joined [12:59:11]Waiting for new connection... [12:59:11] Sock 7.Parse request [12:59:11]Sock 7.Check first char [12:59:11]Sock 7.First char is OK [12:59:11]request: POST /json_proto HTTP/1.0 [12:59:11]Method: POST [12:59:11]URL: /json_proto [12:59:11]Method is POST - this is cgi request [12:59:11]url: /json_proto [12:59:11]query_string will be loaded in cgi processing [12:59:11]execute_cgi json_proto POST (null) [12:59:11]execute_cgi path=json_proto method=POST [12:59:11]POST find Content-Length [12:59:11]Host: 172.17.56.67:8080 [12:59:11]Content-Length: 677 [12:59:11]Content-Type: application/json [12:59:11] [12:59:11]POST finish read [12:59:11]Found Content-Length = 677 [12:59:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216086", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [12:59:11]execute_script... [12:59:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216086", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [12:59:11]POST & json_proto [12:59:11]process_json_proto [12:59:11]json parsed OK: [12:59:11]protocol is kg_v1.0 [12:59:11]action value=close_receipt [12:59:11]process_action close_receipt [12:59:11]cmd_close_receipt [12:59:11]MH_GetDate [12:59:11]Write to MH i2c: F0 00 00 7F 33 A1 [12:59:11]Write i2c OK [12:59:11]MH_I2C_Read... [12:59:11]Read from MH i2c: F0 [12:59:11]MH_I2C_Read... [12:59:11]Read from MH i2c: F0 09 00 [12:59:11]MH_I2C_Read... [12:59:11]Read from MH i2c: F0 09 00 7F 33 00 A7 4F B6 65 26 5D 9E 65 41 [12:59:11]GetLastDocTimeStamp 1706446582 [12:59:11]current date 1706446759 [12:59:11]FM_GetShiftState [12:59:11]SAM_PROTO_GetShiftState [12:59:11]wFMCommunicate request_size=4 [12:59:11]MH_SAM_APDU [12:59:11]CAPDU: 80 13 01 00 [12:59:11]Write to MH i2c: E2 08 00 80 33 80 13 01 00 00 00 00 00 30 [12:59:11]Write i2c OK [12:59:11]MH_I2C_Read... [12:59:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:11]Read from MH i2c: E2 [12:59:11]MH_I2C_Read... [12:59:11]Read from MH i2c: E2 0E 00 [12:59:11]MH_I2C_Read... [12:59:11]Read from MH i2c: E2 0E 00 80 33 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 B6 [12:59:11]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:59:11]wFMCommunicate OK [12:59:11]SAM_PROTO_GetShiftState done [12:59:11]FM_GetShiftState done [12:59:11]opened in 1706400199 [12:59:11]opened+sec_in_day 1706486599 [12:59:11]quantity*price = 50049 [12:59:11]sum+1 = 50050 [12:59:11]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 53 28.01.2024 12:59 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48988 ФПД: 15920187200215 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T125919&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48988&fm=15920187200215&tin=02508201610067®Number=0000000000092723&sum=50000 [12:59:12]StoreToDocumentArchive [12:59:12]shift 244 fd 48988 [12:59:12]save to /storage/0244/doc_00048988 [12:59:12]save last doc name /storage/0244/doc_00048988 to /storage/kkm_last_doc_name [12:59:12]save OK [12:59:12]Clear old archive folders... [12:59:12]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:59:12]tlvbuf is 013846A0 [12:59:12]SAM_PROTO_ClearQueue [12:59:12]wFMCommunicate request_size=4 [12:59:12]MH_SAM_APDU [12:59:12]CAPDU: 80 09 00 00 [12:59:12]Write to MH i2c: E2 08 00 8D 33 80 09 00 00 00 00 00 00 32 [12:59:12]Write i2c OK [12:59:12]MH_I2C_Read... [12:59:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:59:12]Read from MH i2c: E2 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 03 00 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 03 00 8D 33 00 90 00 34 [12:59:12]RAPDU: 90 00 [12:59:12]wFMCommunicate OK [12:59:12]SAM_PROTO_ClearQueue done [12:59:12]KKMCreateOFDPacket [12:59:12]OFDProtocolAddRootSTLVToBuf [12:59:12]FM_MakeSignedData [12:59:12]FM_MakeSignedData [12:59:12]SAM_PROTO_SignData [12:59:12]wFMCommunicate request_size=4 [12:59:12]MH_SAM_APDU [12:59:12]CAPDU: 80 0D 01 02 [12:59:12]Write to MH i2c: E2 08 00 8E 33 80 0D 01 02 00 00 00 00 3A [12:59:12]Write i2c OK [12:59:12]MH_I2C_Read... [12:59:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:59:12]Read from MH i2c: E2 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 03 00 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 03 00 8E 33 00 90 00 35 [12:59:12]RAPDU: 90 00 [12:59:12]wFMCommunicate OK [12:59:12]wFMCommunicate request_size=255 [12:59:12]MH_SAM_APDU [12:59: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 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 35 00 00 00 F4 03 04 00 A7 4F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5C BF 00 00 35 04 06 00 0E [12:59:12]Write to MH i2c: E2 02 01 8F 33 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 35 00 00 00 F4 03 04 00 A7 4F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5C BF 00 00 35 04 06 00 0E 00 00 CD [12:59:12]Write i2c OK [12:59:12]MH_I2C_Read... [12:59:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:59:12]Read from MH i2c: E2 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 03 00 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 03 00 8F 33 00 90 00 36 [12:59:12]RAPDU: 90 00 [12:59:12]wFMCommunicate OK [12:59:12]wFMCommunicate request_size=10 [12:59:12]MH_SAM_APDU [12:59:12]CAPDU: 80 0D 02 02 05 7A B5 1A 52 D7 [12:59:12]Write to MH i2c: E2 0D 00 90 33 80 0D 02 02 05 00 7A B5 1A 52 D7 00 00 B9 [12:59:12]Write i2c OK [12:59:12]MH_I2C_Read... [12:59:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:59:12]Read from MH i2c: E2 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 03 00 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 03 00 90 33 00 90 00 37 [12:59:12]RAPDU: 90 00 [12:59:12]wFMCommunicate OK [12:59:12]wFMCommunicate request_size=4 [12:59:12]MH_SAM_APDU [12:59:12]CAPDU: 80 0D 03 02 [12:59:12]Write to MH i2c: E2 08 00 91 33 80 0D 03 02 00 00 00 00 3F [12:59:12]Write i2c OK [12:59:12]MH_I2C_Read... [12:59:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:59:12]Read from MH i2c: E2 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 0B 00 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 0B 00 91 33 00 48 EA A8 55 E4 4E CB 93 90 00 FF [12:59:12]RAPDU: 48 EA A8 55 E4 4E CB 93 90 00 [12:59:12]wFMCommunicate OK [12:59:12]SAM_PROTO_SignData done [12:59:12]FM_MakeSignedData done [12:59:12]CreateOFDProtocolMessage [12:59:12]wFMCommunicate request_size=4 [12:59:12]MH_SAM_APDU [12:59:12]CAPDU: 80 11 00 00 [12:59:12]Write to MH i2c: E2 08 00 92 33 80 11 00 00 00 00 00 00 3F [12:59:12]Write i2c OK [12:59:12]MH_I2C_Read... [12:59:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:59:12]Read from MH i2c: E2 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 17 00 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: E2 17 00 92 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 8C [12:59:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:59:12]wFMCommunicate OK [12:59:12]CreateOFDProtocolMessage done [12:59:12]OFDSenderStorePacket 48988 [12:59:12]StoreOFDPacket docnum=48988 [12:59:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 0D 01 07 01 25 B6 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 35 00 00 00 F4 03 04 00 A7 4F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5C BF 00 00 35 04 06 00 0E 7A B5 1A 52 D7 48 EA A8 55 E4 4E CB 93 [12:59:12]CheckFolder [12:59:12]dirname=/storage/ofd_packets [12:59:12]CheckFolder done [12:59:12]ProducePacketName [12:59:12]name=ofd_packets/00048988 [12:59:12]NVStorageSaveData ofd_packets/00048988 [12:59:12]File name is /storage/ofd_packets/00048988 [12:59:12]Write 301 bytes [12:59:12]NVStorageSaveData done [12:59:12]OFDSenderStorePacket done [12:59:12]KKMCreateOFDPacket done [12:59:12]NVStorageSaveData kkm_last_timestamp [12:59:12]File name is /storage/kkm_last_timestamp [12:59:12]Write 4 bytes [12:59:12]NVStorageSaveData done [12:59:12]ExternCall_PrintAddStr [12:59:12]wPrintStart [12:59:12]Write to MH i2c: 01 00 00 93 33 C6 [12:59:12]Write i2c OK [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: 01 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: 01 07 00 [12:59:12]MH_I2C_Read... [12:59:12]Read from MH i2c: 01 07 00 93 33 00 00 00 00 00 FF 0F DB [12:59:12]RasterBufferAndPrint [12:59:12]line Счет N : (1)216086 [12:59:12]line ИÐÐ: 02508201610067 [12:59:12]line Контрольно-КаÑÑовый Чек [12:59:12]line ПРОДÐЖР[12:59:12]line ТРК (МРК, ГÐК) : 22 [12:59:12]line Товар: 2710124130 [12:59:12]line Ðи-92-К-5 [12:59:12]line 8.300 * 60.30 [12:59:12]line = 500.49 [12:59:12]line ÐДС 12% ÐСП 1% [12:59:12]line > о реализуемом товаре [12:59:12]line ОКРУГЛЕÐИЕ: -0.49 [12:59:12]line ИТОГО: 500.00 [12:59:12]line ВнеÑено: 500.00 [12:59:12]line СДÐЧÐ: 0.00 [12:59:12]line ÐСП 1% : 4.43 [12:59:12]line ÐДС 12% : 53.15 [12:59:12]line Ðаличными: 500.00 [12:59:12]line Безнал.: 0.00 [12:59:12]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [12:59:12]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [12:59:12]line СÐО: Общий режим [12:59:12]line Чек 53 28.01.2024 12:59 [12:59:12]line Смена: 244 ФФД: 1.0 [12:59:13]line ЗÐМ: 0300000040 [12:59:13]line РÐМ: 0000000000092723 [12:59:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:59:13]line ФМ: 0000000000875060 [12:59:13]line ФД: 48988 [12:59:13]line ФПД: 15920187200215 [12:59:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T125919&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48988&fm=15920187200215&tin=02508201610067®Number=0000000000092723&sum=50000 [12:59:13]OFD Sender: Processing packet 48988 [packets to send 12, broken 11] [12:59:13]ProducePacketName [12:59:13]name=ofd_packets/00048988 [12:59:13]OFD Sender: To server: ‡•öpG, [12:59:13]CommunicateWithHost lk.salyk.kg:30040 [12:59:13]ConnectInit lk.salyk.kg [12:59:13]written 0, free lines is 4095 [12:59:13]Connected sock=10 [12:59: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 30 36 30 0F 01 00 00 0D 01 07 01 25 B6 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 35 00 00 00 F4 03 04 00 A7 4F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5C BF 00 00 35 04 06 00 0E 7A B5 1A 52 D7 48 EA A8 55 E4 4E CB 93 [12:59:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 5F 18 47 00 CE C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5C BF 00 00 F4 03 04 00 A3 FB B5 65 B6 04 01 00 00 B2 53 1F 65 A5 95 B7 1A [12:59:13]CommunicateWithHost err = 0 [12:59:13]CheckOFDResponse [12:59:13]1017 (14) - 77093643461234 [12:59:13]1041 (16) - 0000000000875060 [12:59:13]1040 (4) - 48988 [12:59:13]1012 (4) - 28.01.2024 07:00 [12:59:13]1206 (1) - 0 [12:59:13]OFD Sender: Remove packet 48988 [12:59:13]ProducePacketName [12:59:13]name=ofd_packets/00048988 [12:59:13]NVStorageDeleteData [12:59:13]Write to MH i2c: 01 00 00 BE 33 F1 [12:59:13]Write i2c OK [12:59:13]MH_I2C_Read... [12:59:13]Read from MH i2c: 01 [12:59:13]MH_I2C_Read... [12:59:13]Read from MH i2c: 01 07 00 [12:59:13]MH_I2C_Read... [12:59:13]Read from MH i2c: 01 07 00 BE 33 00 00 00 00 00 F3 0C F7 [12:59:13]RasterBufferAndPrint [12:59:13]line [12:59:13]line [12:59:13]line [12:59:13]line [12:59:13]line [12:59:13]written 0, free lines is 3321 [12:59:13]MH_Cut [12:59:13]Write to MH i2c: D1 01 00 C5 33 01 CA [12:59:13]Write i2c OK [12:59:13]MH_I2C_Read... [12:59:13]Read from MH i2c: D1 [12:59:13]MH_I2C_Read... [12:59:13]Read from MH i2c: D1 01 00 [12:59:13]MH_I2C_Read... [12:59:13]Read from MH i2c: D1 01 00 C5 33 00 C9 [12:59:13]Write to MH i2c: 01 00 00 C6 33 F9 [12:59:13]Write i2c OK [12:59:13]MH_I2C_Read... [12:59:13]OFD Sender: No OFD packet to send [12:59:14]*** Cut start [12:59:14]*** Partial cut [12:59:14]*** CUTSNS_PIN = 1 [12:59:14]*** CUTSNS_PIN = 0 [12:59:14]*** Brake cut motor [12:59:14]Read from MH i2c: 01 [12:59:14]MH_I2C_Read... [12:59:14]*** Stop cut motor [12:59:14]*** Cut end [12:59:14]Read from MH i2c: 01 07 00 [12:59:14]MH_I2C_Read... [12:59:14]Read from MH i2c: 01 07 00 C6 33 00 00 00 00 00 FF 0F 0E [12:59:14]process_action close_receipt done [12:59:14]requested_data is exist [12:59:14]produce_requested_data [12:59:14]requested_item fm.sn is exist - process it [12:59:14]wFMCommunicate request_size=4 [12:59:14]MH_SAM_APDU [12:59:14]CAPDU: 80 11 00 00 [12:59:14]Write to MH i2c: E2 08 00 C7 33 80 11 00 00 00 00 00 00 74 [12:59:14]Write i2c OK [12:59:14]MH_I2C_Read... [12:59:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:59:14]Read from MH i2c: E2 [12:59:14]MH_I2C_Read... [12:59:14]Read from MH i2c: E2 17 00 [12:59:14]MH_I2C_Read... [12:59:14]Read from MH i2c: E2 17 00 C7 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 C1 [12:59:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [12:59:14]wFMCommunicate OK [12:59:14]requested_item fd.num is exist - process it [12:59:14]SAM_PROTO_GetFieldsCounters [12:59:14]wFMCommunicate request_size=4 [12:59:14]MH_SAM_APDU [12:59:14]CAPDU: 80 13 00 00 [12:59:14]Write to MH i2c: E2 08 00 C8 33 80 13 00 00 00 00 00 00 77 [12:59:14]Write i2c OK [12:59:14]MH_I2C_Read... [12:59:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:59:14]Read from MH i2c: E2 [12:59:14]MH_I2C_Read... [12:59:14]Read from MH i2c: E2 62 00 [12:59:14]MH_I2C_Read... [12:59:14]Read from MH i2c: E2 62 00 C8 33 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [12:59:14]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:59:14]wFMCommunicate OK [12:59:14]SAM_PROTO_GetFieldsCounters done [12:59:14]requested_item shift.num is exist - process it [12:59:14]requested_item shift.opened is exist - process it [12:59:14]req_shift_opened [12:59:14]FM_GetShiftState [12:59:14]SAM_PROTO_GetShiftState [12:59:14]wFMCommunicate request_size=4 [12:59:14]MH_SAM_APDU [12:59:14]CAPDU: 80 13 01 00 [12:59:14]Write to MH i2c: E2 08 00 C9 33 80 13 01 00 00 00 00 00 79 [12:59:14]Write i2c OK [12:59:14]MH_I2C_Read... [12:59:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:14]Read from MH i2c: E2 [12:59:14]MH_I2C_Read... [12:59:14]Read from MH i2c: E2 0E 00 [12:59:14]MH_I2C_Read... [12:59:14]Read from MH i2c: E2 0E 00 C9 33 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 FF [12:59:14]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [12:59:14]wFMCommunicate OK [12:59:14]SAM_PROTO_GetShiftState done [12:59:14]FM_GetShiftState done [12:59:14]req_shift_opened done [12:59:14]requested_item shift.open_date is exist - process it [12:59:14]req_shift_open_date [12:59:14]req_shift_open_date done [12:59:14]produce_requested_data done [12:59:14]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48988,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [12:59:14]process_action_free close_receipt [12:59:14]json_value_free [12:59:14]json_value_free done [12:59:14]process_json_proto returns [12:59:14]Send response to host [12:59:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48988,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [12:59:14]free response buf [12:59:14]execute_script done [12:59:14]execute_script returns [12:59:14]free content buf [12:59:14]Sock 7.Close socket [12:59:14]Sock 7.Thread stoped [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:39]OFD Sender: No OFD packet to send [13:03:44]OFD Sender: No OFD packet to send [13:03:49]OFD Sender: No OFD packet to send [13:03:54]OFD Sender: No OFD packet to send [13:03:59]OFD Sender: No OFD packet to send [13:04:04]OFD Sender: No OFD packet to send [13:04:09]OFD Sender: No OFD packet to send [13:04:14]OFD Sender: No OFD packet to send [13:04:19]OFD Sender: No OFD packet to send [13:04:24]OFD Sender: No OFD packet to send [13:04:29]OFD Sender: No OFD packet to send [13:04:34]OFD Sender: No OFD packet to send [13:04:39]OFD Sender: No OFD packet to send [13:04:44]OFD Sender: No OFD packet to send [13:04:49]OFD Sender: No OFD packet to send [13:04:54]OFD Sender: No OFD packet to send [13:04:59]OFD Sender: No OFD packet to send [13:05:04]OFD Sender: No OFD packet to send [13:05:09]OFD Sender: No OFD packet to send [13:05:14]OFD Sender: No OFD packet to send [13:05:19]OFD Sender: No OFD packet to send [13:05:24]OFD Sender: No OFD packet to send [13:05:29]OFD Sender: No OFD packet to send [13:05:34]OFD Sender: No OFD packet to send [13:05:39]OFD Sender: No OFD packet to send [13:05:44]OFD Sender: No OFD packet to send [13:05:49]OFD Sender: No OFD packet to send [13:05:54]OFD Sender: No OFD packet to send [13:05:59]OFD Sender: No OFD packet to send [13:06:04]OFD Sender: No OFD packet to send [13:06:09]OFD Sender: No OFD packet to send [13:06:14]OFD Sender: No OFD packet to send [13:06:19]OFD Sender: No OFD packet to send [13:06:24]OFD Sender: No OFD packet to send [13:06:29]OFD Sender: No OFD packet to send [13:06:34]OFD Sender: No OFD packet to send [13:06:39]OFD Sender: No OFD packet to send [13:06:44]OFD Sender: No OFD packet to send [13:06:49]OFD Sender: No OFD packet to send [13:06:54]OFD Sender: No OFD packet to send [13:06:59]OFD Sender: No OFD packet to send [13:07:04]OFD Sender: No OFD packet to send [13:07:09]OFD Sender: No OFD packet to send [13:07:14]OFD Sender: No OFD packet to send [13:07:19]OFD Sender: No OFD packet to send [13:07:24]OFD Sender: No OFD packet to send [13:07:29]OFD Sender: No OFD packet to send [13:07:34]OFD Sender: No OFD packet to send [13:07:39]OFD Sender: No OFD packet to send [13:07:44]OFD Sender: No OFD packet to send [13:07:49]OFD Sender: No OFD packet to send [13:07:54]OFD Sender: No OFD packet to send [13:07:59]OFD Sender: No OFD packet to send [13:08:04]OFD Sender: No OFD packet to send [13:08:09]OFD Sender: No OFD packet to send [13:08:14]OFD Sender: No OFD packet to send [13:08:19]OFD Sender: No OFD packet to send [13:08:24]OFD Sender: No OFD packet to send [13:08:29]OFD Sender: No OFD packet to send [13:08:34]OFD Sender: No OFD packet to send [13:08:39]OFD Sender: No OFD packet to send [13:08:44]OFD Sender: No OFD packet to send [13:08:49]OFD Sender: No OFD packet to send [13:08:54]OFD Sender: No OFD packet to send [13:08:58]accept exits with 9 [13:08:58]New connection [13:08:58]New thread 3066670436 created [13:08:58]Thread 3066813796 joined [13:08:58]Waiting for new connection... [13:08:58] Sock 9.Parse request [13:08:58]Sock 9.Check first char [13:08:58]Sock 9.First char is OK [13:08:58]request: POST /json_proto HTTP/1.0 [13:08:58]Method: POST [13:08:58]URL: /json_proto [13:08:58]Method is POST - this is cgi request [13:08:58]url: /json_proto [13:08:58]query_string will be loaded in cgi processing [13:08:58]execute_cgi json_proto POST (null) [13:08:58]execute_cgi path=json_proto method=POST [13:08:58]POST find Content-Length [13:08:58]Host: 172.17.56.67:8080 [13:08:58]Content-Length: 679 [13:08:58]Content-Type: application/json [13:08:58] [13:08:58]POST finish read [13:08:58]Found Content-Length = 679 [13:08:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216087", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 30.050, "sum" : 2100.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2100.00, "total" : 2100.00, "payments": [ { "type": 0, "sum" : 2100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:08:58]execute_script... [13:08:58]execute_script path=json_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)216087", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 30.050, "sum" : 2100.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2100.00, "total" : 2100.00, "payments": [ { "type": 0, "sum" : 2100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:08:58]POST & json_proto [13:08:58]process_json_proto [13:08:58]json parsed OK: [13:08:58]protocol is kg_v1.0 [13:08:58]action value=close_receipt [13:08:58]process_action close_receipt [13:08:58]cmd_close_receipt [13:08:58]MH_GetDate [13:08:58]Write to MH i2c: F0 00 00 CA 33 EC [13:08:58]Write i2c OK [13:08:58]MH_I2C_Read... [13:08:58]Read from MH i2c: F0 [13:08:58]MH_I2C_Read... [13:08:58]Read from MH i2c: F0 09 00 [13:08:58]MH_I2C_Read... [13:08:58]Read from MH i2c: F0 09 00 CA 33 00 F2 51 B6 65 26 5D 9E 65 D9 [13:08:58]GetLastDocTimeStamp 1706446759 [13:08:58]current date 1706447346 [13:08:58]FM_GetShiftState [13:08:58]SAM_PROTO_GetShiftState [13:08:58]wFMCommunicate request_size=4 [13:08:58]MH_SAM_APDU [13:08:58]CAPDU: 80 13 01 00 [13:08:58]Write to MH i2c: E2 08 00 CB 33 80 13 01 00 00 00 00 00 7B [13:08:58]Write i2c OK [13:08:58]MH_I2C_Read... [13:08:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:08:58]Read from MH i2c: E2 [13:08:58]MH_I2C_Read... [13:08:58]Read from MH i2c: E2 0E 00 [13:08:58]MH_I2C_Read... [13:08:58]Read from MH i2c: E2 0E 00 CB 33 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 01 [13:08:58]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:08:58]wFMCommunicate OK [13:08:58]SAM_PROTO_GetShiftState done [13:08:58]FM_GetShiftState done [13:08:58]opened in 1706400199 [13:08:58]opened+sec_in_day 1706486599 [13:08:58]quantity*price = 210049 [13:08:58]sum+1 = 210051 [13:08:58]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.50 ИТОГО: 2100.00 ВнеÑено: 2100.00 СДÐЧÐ: 0.00 ÐСП 1% : 18.59 ÐДС 12% : 223.06 Ðаличными: 2100.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 54 28.01.2024 13:09 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48989 ФПД: 3128999141240 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T130906&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48989&fm=3128999141240&tin=02508201610067®Number=0000000000092723&sum=210000 [13:08:59]StoreToDocumentArchive [13:08:59]shift 244 fd 48989 [13:08:59]save to /storage/0244/doc_00048989 [13:08:59]save last doc name /storage/0244/doc_00048989 to /storage/kkm_last_doc_name [13:08:59]save OK [13:08:59]Clear old archive folders... [13:08:59]ProcessDocumentItem done err = 0, tmpTLVsize=248 [13:08:59]tlvbuf is 0119A990 [13:08:59]SAM_PROTO_ClearQueue [13:08:59]wFMCommunicate request_size=4 [13:08:59]MH_SAM_APDU [13:08:59]CAPDU: 80 09 00 00 [13:08:59]Write to MH i2c: E2 08 00 D8 33 80 09 00 00 00 00 00 00 7D [13:08:59]Write i2c OK [13:08:59]MH_I2C_Read... [13:08:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:08:59]Read from MH i2c: E2 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 03 00 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 03 00 D8 33 00 90 00 7F [13:08:59]RAPDU: 90 00 [13:08:59]wFMCommunicate OK [13:08:59]SAM_PROTO_ClearQueue done [13:08:59]KKMCreateOFDPacket [13:08:59]OFDProtocolAddRootSTLVToBuf [13:08:59]FM_MakeSignedData [13:08:59]FM_MakeSignedData [13:08:59]SAM_PROTO_SignData [13:08:59]wFMCommunicate request_size=4 [13:08:59]MH_SAM_APDU [13:08:59]CAPDU: 80 0D 01 02 [13:08:59]Write to MH i2c: E2 08 00 D9 33 80 0D 01 02 00 00 00 00 85 [13:08:59]Write i2c OK [13:08:59]MH_I2C_Read... [13:08:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:08:59]Read from MH i2c: E2 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 03 00 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 03 00 D9 33 00 90 00 80 [13:08:59]RAPDU: 90 00 [13:08:59]wFMCommunicate OK [13:08:59]wFMCommunicate request_size=255 [13:08:59]MH_SAM_APDU [13:08:59]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 62 75 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 82 34 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 34 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 57 00 00 00 00 07 04 06 00 50 34 03 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 F2 51 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5D BF 00 00 35 04 06 00 02 D8 86 E1 [13:08:59]Write to MH i2c: E2 02 01 DA 33 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 62 75 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 82 34 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 34 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 57 00 00 00 00 07 04 06 00 50 34 03 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 F2 51 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5D BF 00 00 35 04 06 00 02 D8 86 E1 00 00 89 [13:08:59]Write i2c OK [13:08:59]MH_I2C_Read... [13:08:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:59]Read from MH i2c: E2 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 03 00 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 03 00 DA 33 00 90 00 81 [13:08:59]RAPDU: 90 00 [13:08:59]wFMCommunicate OK [13:08:59]wFMCommunicate request_size=7 [13:08:59]MH_SAM_APDU [13:08:59]CAPDU: 80 0D 02 02 02 DF 78 [13:08:59]Write to MH i2c: E2 0A 00 DB 33 80 0D 02 02 02 00 DF 78 00 00 E3 [13:08:59]Write i2c OK [13:08:59]MH_I2C_Read... [13:08:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:08:59]Read from MH i2c: E2 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 03 00 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 03 00 DB 33 00 90 00 82 [13:08:59]RAPDU: 90 00 [13:08:59]wFMCommunicate OK [13:08:59]wFMCommunicate request_size=4 [13:08:59]MH_SAM_APDU [13:08:59]CAPDU: 80 0D 03 02 [13:08:59]Write to MH i2c: E2 08 00 DC 33 80 0D 03 02 00 00 00 00 8A [13:08:59]Write i2c OK [13:08:59]MH_I2C_Read... [13:08:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:08:59]Read from MH i2c: E2 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 0B 00 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 0B 00 DC 33 00 56 96 B1 B2 89 CB 45 35 90 00 A8 [13:08:59]RAPDU: 56 96 B1 B2 89 CB 45 35 90 00 [13:08:59]wFMCommunicate OK [13:08:59]SAM_PROTO_SignData done [13:08:59]FM_MakeSignedData done [13:08:59]CreateOFDProtocolMessage [13:08:59]wFMCommunicate request_size=4 [13:08:59]MH_SAM_APDU [13:08:59]CAPDU: 80 11 00 00 [13:08:59]Write to MH i2c: E2 08 00 DD 33 80 11 00 00 00 00 00 00 8A [13:08:59]Write i2c OK [13:08:59]MH_I2C_Read... [13:08:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:08:59]Read from MH i2c: E2 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 17 00 [13:08:59]MH_I2C_Read... [13:08:59]Read from MH i2c: E2 17 00 DD 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D7 [13:08:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:08:59]wFMCommunicate OK [13:08:59]CreateOFDProtocolMessage done [13:08:59]OFDSenderStorePacket 48989 [13:08:59]StoreOFDPacket docnum=48989 [13:08:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 47 90 04 01 60 04 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 62 75 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 82 34 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 34 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 57 00 00 00 00 07 04 06 00 50 34 03 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 F2 51 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5D BF 00 00 35 04 06 00 02 D8 86 E1 DF 78 56 96 B1 B2 89 CB 45 35 [13:08:59]CheckFolder [13:08:59]dirname=/storage/ofd_packets [13:08:59]CheckFolder done [13:08:59]ProducePacketName [13:08:59]name=ofd_packets/00048989 [13:08:59]NVStorageSaveData ofd_packets/00048989 [13:08:59]File name is /storage/ofd_packets/00048989 [13:08:59]Write 298 bytes [13:08:59]NVStorageSaveData done [13:08:59]OFDSenderStorePacket done [13:08:59]KKMCreateOFDPacket done [13:08:59]NVStorageSaveData kkm_last_timestamp [13:08:59]File name is /storage/kkm_last_timestamp [13:09:00]Write 4 bytes [13:09:00]NVStorageSaveData done [13:09:00]ExternCall_PrintAddStr [13:09:00]wPrintStart [13:09:00]Write to MH i2c: 01 00 00 DE 33 11 [13:09:00]Write i2c OK [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: 01 [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: 01 07 00 [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: 01 07 00 DE 33 00 00 00 00 00 FF 0F 26 [13:09:00]RasterBufferAndPrint [13:09:00]line Счет N : (1)216087 [13:09:00]line ИÐÐ: 02508201610067 [13:09:00]line Контрольно-КаÑÑовый Чек [13:09:00]line ПРОДÐЖР[13:09:00]line ТРК (МРК, ГÐК) : 21 [13:09:00]line Товар: 2710194210 [13:09:00]line ДТ-К-5 [13:09:00]line 30.050 * 69.90 [13:09:00]line = 2100.50 [13:09:00]line ÐДС 12% ÐСП 1% [13:09:00]line > о реализуемом товаре [13:09:00]line ОКРУГЛЕÐИЕ: -0.50 [13:09:00]line ИТОГО: 2100.00 [13:09:00]line ВнеÑено: 2100.00 [13:09:00]line СДÐЧÐ: 0.00 [13:09:00]line ÐСП 1% : 18.59 [13:09:00]line ÐДС 12% : 223.06 [13:09:00]line Ðаличными: 2100.00 [13:09:00]line Безнал.: 0.00 [13:09:00]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [13:09:00]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [13:09:00]line СÐО: Общий режим [13:09:00]line Чек 54 28.01.2024 13:09 [13:09:00]line Смена: 244 ФФД: 1.0 [13:09:00]line ЗÐМ: 0300000040 [13:09:00]line РÐМ: 0000000000092723 [13:09:00]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:09:00]line ФМ: 0000000000875060 [13:09:00]line ФД: 48989 [13:09:00]line ФПД: 3128999141240 [13:09:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T130906&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48989&fm=3128999141240&tin=02508201610067®Number=0000000000092723&sum=210000 [13:09:00]OFD Sender: Processing packet 48989 [packets to send 12, broken 11] [13:09:00]ProducePacketName [13:09:00]name=ofd_packets/00048989 [13:09:00]OFD Sender: To server: ‡•öpG, [13:09:00]CommunicateWithHost lk.salyk.kg:30040 [13:09:00]ConnectInit lk.salyk.kg [13:09:00]written 0, free lines is 4095 [13:09:00]Connected sock=10 [13:09:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 47 90 04 01 60 04 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 62 75 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 82 34 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 34 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 57 00 00 00 00 07 04 06 00 50 34 03 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 F2 51 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5D BF 00 00 35 04 06 00 02 D8 86 E1 DF 78 56 96 B1 B2 89 CB 45 35 [13:09:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 34 92 47 00 1A 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 30 36 30 10 04 04 00 5D BF 00 00 F4 03 04 00 EE FD B5 65 B6 04 01 00 00 2E 33 07 23 2B AC AB 8D [13:09:00]CommunicateWithHost err = 0 [13:09:00]CheckOFDResponse [13:09:00]1017 (14) - 77093643461234 [13:09:00]1041 (16) - 0000000000875060 [13:09:00]1040 (4) - 48989 [13:09:00]1012 (4) - 28.01.2024 07:10 [13:09:00]1206 (1) - 0 [13:09:00]OFD Sender: Remove packet 48989 [13:09:00]ProducePacketName [13:09:00]name=ofd_packets/00048989 [13:09:00]NVStorageDeleteData [13:09:00]Write to MH i2c: 01 00 00 09 34 3D [13:09:00]Write i2c OK [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: 01 [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: 01 07 00 [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: 01 07 00 09 34 00 00 00 00 00 EF 0C 3F [13:09:00]RasterBufferAndPrint [13:09:00]line [13:09:00]line [13:09:00]line [13:09:00]line [13:09:00]line [13:09:00]written 0, free lines is 3317 [13:09:00]MH_Cut [13:09:00]Write to MH i2c: D1 01 00 10 34 01 16 [13:09:00]Write i2c OK [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: D1 [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: D1 01 00 [13:09:00]MH_I2C_Read... [13:09:00]Read from MH i2c: D1 01 00 10 34 00 15 [13:09:00]Write to MH i2c: 01 00 00 11 34 45 [13:09:00]Write i2c OK [13:09:00]MH_I2C_Read... [13:09:01]OFD Sender: No OFD packet to send [13:09:01]*** Cut start [13:09:01]*** Partial cut [13:09:01]*** CUTSNS_PIN = 1 [13:09:01]*** CUTSNS_PIN = 0 [13:09:01]*** Brake cut motor [13:09:02]Read from MH i2c: 01 [13:09:02]MH_I2C_Read... [13:09:02]*** Stop cut motor [13:09:02]Read from MH i2c: 01 07 00 [13:09:02]MH_I2C_Read... [13:09:02]*** Cut end [13:09:02]Read from MH i2c: 01 07 00 11 34 00 00 00 00 00 FF 0F 5A [13:09:02]process_action close_receipt done [13:09:02]requested_data is exist [13:09:02]produce_requested_data [13:09:02]requested_item fm.sn is exist - process it [13:09:02]wFMCommunicate request_size=4 [13:09:02]MH_SAM_APDU [13:09:02]CAPDU: 80 11 00 00 [13:09:02]Write to MH i2c: E2 08 00 12 34 80 11 00 00 00 00 00 00 C0 [13:09:02]Write i2c OK [13:09:02]MH_I2C_Read... [13:09:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:02]Read from MH i2c: E2 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: E2 17 00 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: E2 17 00 12 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 0D [13:09:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:09:02]wFMCommunicate OK [13:09:02]requested_item fd.num is exist - process it [13:09:02]SAM_PROTO_GetFieldsCounters [13:09:02]wFMCommunicate request_size=4 [13:09:02]MH_SAM_APDU [13:09:02]CAPDU: 80 13 00 00 [13:09:02]Write to MH i2c: E2 08 00 13 34 80 13 00 00 00 00 00 00 C3 [13:09:02]Write i2c OK [13:09:02]MH_I2C_Read... [13:09:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:09:02]Read from MH i2c: E2 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: E2 62 00 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: E2 62 00 13 34 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [13:09: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:09:02]wFMCommunicate OK [13:09:02]SAM_PROTO_GetFieldsCounters done [13:09:02]requested_item shift.num is exist - process it [13:09:02]requested_item shift.opened is exist - process it [13:09:02]req_shift_opened [13:09:02]FM_GetShiftState [13:09:02]SAM_PROTO_GetShiftState [13:09:02]wFMCommunicate request_size=4 [13:09:02]MH_SAM_APDU [13:09:02]CAPDU: 80 13 01 00 [13:09:02]Write to MH i2c: E2 08 00 14 34 80 13 01 00 00 00 00 00 C5 [13:09:02]Write i2c OK [13:09:02]MH_I2C_Read... [13:09:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:02]Read from MH i2c: E2 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: E2 0E 00 [13:09:02]MH_I2C_Read... [13:09:02]Read from MH i2c: E2 0E 00 14 34 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 4B [13:09:02]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:09:02]wFMCommunicate OK [13:09:02]SAM_PROTO_GetShiftState done [13:09:02]FM_GetShiftState done [13:09:02]req_shift_opened done [13:09:02]requested_item shift.open_date is exist - process it [13:09:02]req_shift_open_date [13:09:02]req_shift_open_date done [13:09:02]produce_requested_data done [13:09:02]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48989,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [13:09:02]process_action_free close_receipt [13:09:02]json_value_free [13:09:02]json_value_free done [13:09:02]process_json_proto returns [13:09:02]Send response to host [13:09:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48989,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [13:09:02]free response buf [13:09:02]execute_script done [13:09:02]execute_script returns [13:09:02]free content buf [13:09:02]Sock 9.Close socket [13:09:02]Sock 9.Thread stoped [13:09:06]OFD Sender: No OFD packet to send [13:09:11]OFD Sender: No OFD packet to send [13:09:16]OFD Sender: No OFD packet to send [13:09:21]OFD Sender: No OFD packet to send [13:09:26]OFD Sender: No OFD packet to send [13:09:26]accept exits with 7 [13:09:26]New connection [13:09:26]New thread 3066813796 created [13:09:26]Thread 3066670436 joined [13:09:26]Waiting for new connection... [13:09:26] Sock 7.Parse request [13:09:26]Sock 7.Check first char [13:09:26]Sock 7.First char is OK [13:09:26]request: POST /json_proto HTTP/1.0 [13:09:26]Method: POST [13:09:26]URL: /json_proto [13:09:26]Method is POST - this is cgi request [13:09:26]url: /json_proto [13:09:26]query_string will be loaded in cgi processing [13:09:26]execute_cgi json_proto POST (null) [13:09:26]execute_cgi path=json_proto method=POST [13:09:26]POST find Content-Length [13:09:26]Host: 172.17.56.67:8080 [13:09:26]Content-Length: 674 [13:09:26]Content-Type: application/json [13:09:26] [13:09:26]POST finish read [13:09:26]Found Content-Length = 674 [13:09:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216088", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 5.010, "sum" : 350.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:26]execute_script... [13:09: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 : (1)216088", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 5.010, "sum" : 350.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:26]POST & json_proto [13:09:26]process_json_proto [13:09:26]json parsed OK: [13:09:26]protocol is kg_v1.0 [13:09:26]action value=close_receipt [13:09:26]process_action close_receipt [13:09:26]cmd_close_receipt [13:09:26]MH_GetDate [13:09:26]Write to MH i2c: F0 00 00 15 34 38 [13:09:26]Write i2c OK [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: F0 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: F0 09 00 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: F0 09 00 15 34 00 0F 52 B6 65 26 5D 9E 65 43 [13:09:26]GetLastDocTimeStamp 1706447346 [13:09:26]current date 1706447375 [13:09:26]FM_GetShiftState [13:09:26]SAM_PROTO_GetShiftState [13:09:26]wFMCommunicate request_size=4 [13:09:26]MH_SAM_APDU [13:09:26]CAPDU: 80 13 01 00 [13:09:26]Write to MH i2c: E2 08 00 16 34 80 13 01 00 00 00 00 00 C7 [13:09:26]Write i2c OK [13:09:26]MH_I2C_Read... [13:09:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:26]Read from MH i2c: E2 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 0E 00 [13:09:26]MH_I2C_Read... [13:09:26]Read from MH i2c: E2 0E 00 16 34 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 4D [13:09:26]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:09:26]wFMCommunicate OK [13:09:26]SAM_PROTO_GetShiftState done [13:09:26]FM_GetShiftState done [13:09:26]opened in 1706400199 [13:09:26]opened+sec_in_day 1706486599 [13:09:26]quantity*price = 35019 [13:09:26]sum+1 = 35021 [13:09:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 350.00 ВнеÑено: 350.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.10 ÐДС 12% : 37.19 Ðаличными: 350.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 55 28.01.2024 13:09 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48990 ФПД: 85893441101906 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T130935&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48990&fm=85893441101906&tin=02508201610067®Number=0000000000092723&sum=35000 [13:09:28]StoreToDocumentArchive [13:09:28]shift 244 fd 48990 [13:09:28]save to /storage/0244/doc_00048990 [13:09:28]save last doc name /storage/0244/doc_00048990 to /storage/kkm_last_doc_name [13:09:28]save OK [13:09:28]Clear old archive folders... [13:09:28]ProcessDocumentItem done err = 0, tmpTLVsize=248 [13:09:28]tlvbuf is B6F36230 [13:09:28]SAM_PROTO_ClearQueue [13:09:28]wFMCommunicate request_size=4 [13:09:28]MH_SAM_APDU [13:09:28]CAPDU: 80 09 00 00 [13:09:28]Write to MH i2c: E2 08 00 23 34 80 09 00 00 00 00 00 00 C9 [13:09:28]Write i2c OK [13:09:28]MH_I2C_Read... [13:09:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:09:28]Read from MH i2c: E2 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 03 00 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 03 00 23 34 00 90 00 CB [13:09:28]RAPDU: 90 00 [13:09:28]wFMCommunicate OK [13:09:28]SAM_PROTO_ClearQueue done [13:09:28]KKMCreateOFDPacket [13:09:28]OFDProtocolAddRootSTLVToBuf [13:09:28]FM_MakeSignedData [13:09:28]FM_MakeSignedData [13:09:28]SAM_PROTO_SignData [13:09:28]wFMCommunicate request_size=4 [13:09:28]MH_SAM_APDU [13:09:28]CAPDU: 80 0D 01 02 [13:09:28]Write to MH i2c: E2 08 00 24 34 80 0D 01 02 00 00 00 00 D1 [13:09:28]Write i2c OK [13:09:28]MH_I2C_Read... [13:09:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:09:28]Read from MH i2c: E2 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 03 00 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 03 00 24 34 00 90 00 CC [13:09:28]RAPDU: 90 00 [13:09:28]wFMCommunicate OK [13:09:28]wFMCommunicate request_size=255 [13:09:28]MH_SAM_APDU [13:09:28]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 92 13 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 CC 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 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 0F 52 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5E BF 00 00 35 04 06 00 4E 1E A0 0B [13:09:28]Write to MH i2c: E2 02 01 25 34 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 92 13 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 CC 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 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 0F 52 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5E BF 00 00 35 04 06 00 4E 1E A0 0B 00 00 AF [13:09:28]Write i2c OK [13:09:28]MH_I2C_Read... [13:09:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:28]Read from MH i2c: E2 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 03 00 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 03 00 25 34 00 90 00 CD [13:09:28]RAPDU: 90 00 [13:09:28]wFMCommunicate OK [13:09:28]wFMCommunicate request_size=7 [13:09:28]MH_SAM_APDU [13:09:28]CAPDU: 80 0D 02 02 02 A0 52 [13:09:28]Write to MH i2c: E2 0A 00 26 34 80 0D 02 02 02 00 A0 52 00 00 CA [13:09:28]Write i2c OK [13:09:28]MH_I2C_Read... [13:09:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:28]Read from MH i2c: E2 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 03 00 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 03 00 26 34 00 90 00 CE [13:09:28]RAPDU: 90 00 [13:09:28]wFMCommunicate OK [13:09:28]wFMCommunicate request_size=4 [13:09:28]MH_SAM_APDU [13:09:28]CAPDU: 80 0D 03 02 [13:09:28]Write to MH i2c: E2 08 00 27 34 80 0D 03 02 00 00 00 00 D6 [13:09:28]Write i2c OK [13:09:28]MH_I2C_Read... [13:09:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:09:28]Read from MH i2c: E2 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 0B 00 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 0B 00 27 34 00 8F BA 55 BC 4E 04 59 02 90 00 DE [13:09:28]RAPDU: 8F BA 55 BC 4E 04 59 02 90 00 [13:09:28]wFMCommunicate OK [13:09:28]SAM_PROTO_SignData done [13:09:28]FM_MakeSignedData done [13:09:28]CreateOFDProtocolMessage [13:09:28]wFMCommunicate request_size=4 [13:09:28]MH_SAM_APDU [13:09:28]CAPDU: 80 11 00 00 [13:09:28]Write to MH i2c: E2 08 00 28 34 80 11 00 00 00 00 00 00 D6 [13:09:28]Write i2c OK [13:09:28]MH_I2C_Read... [13:09:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:28]Read from MH i2c: E2 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 17 00 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: E2 17 00 28 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 23 [13:09:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:09:28]wFMCommunicate OK [13:09:28]CreateOFDProtocolMessage done [13:09:28]OFDSenderStorePacket 48990 [13:09:28]StoreOFDPacket docnum=48990 [13:09:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 81 EE 04 01 15 51 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 92 13 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 CC 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 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 0F 52 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5E BF 00 00 35 04 06 00 4E 1E A0 0B A0 52 8F BA 55 BC 4E 04 59 02 [13:09:28]CheckFolder [13:09:28]dirname=/storage/ofd_packets [13:09:28]CheckFolder done [13:09:28]ProducePacketName [13:09:28]name=ofd_packets/00048990 [13:09:28]NVStorageSaveData ofd_packets/00048990 [13:09:28]File name is /storage/ofd_packets/00048990 [13:09:28]Write 298 bytes [13:09:28]NVStorageSaveData done [13:09:28]OFDSenderStorePacket done [13:09:28]KKMCreateOFDPacket done [13:09:28]NVStorageSaveData kkm_last_timestamp [13:09:28]File name is /storage/kkm_last_timestamp [13:09:28]Write 4 bytes [13:09:28]NVStorageSaveData done [13:09:28]ExternCall_PrintAddStr [13:09:28]wPrintStart [13:09:28]Write to MH i2c: 01 00 00 29 34 5D [13:09:28]Write i2c OK [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: 01 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: 01 07 00 [13:09:28]MH_I2C_Read... [13:09:28]Read from MH i2c: 01 07 00 29 34 00 00 00 00 00 FF 0F 72 [13:09:28]RasterBufferAndPrint [13:09:28]line Счет N : (1)216088 [13:09:28]line ИÐÐ: 02508201610067 [13:09:28]line Контрольно-КаÑÑовый Чек [13:09:28]line ПРОДÐЖР[13:09:28]line ТРК (МРК, ГÐК) : 11 [13:09:28]line Товар: 2710194210 [13:09:28]line ДТ-К-5 [13:09:28]line 5.010 * 69.90 [13:09:28]line = 350.20 [13:09:28]line ÐДС 12% ÐСП 1% [13:09:28]line > о реализуемом товаре [13:09:28]line ОКРУГЛЕÐИЕ: -0.20 [13:09:28]line ИТОГО: 350.00 [13:09:28]line ВнеÑено: 350.00 [13:09:28]line СДÐЧÐ: 0.00 [13:09:28]line ÐСП 1% : 3.10 [13:09:28]line ÐДС 12% : 37.19 [13:09:28]line Ðаличными: 350.00 [13:09:28]line Безнал.: 0.00 [13:09:28]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [13:09:28]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [13:09:28]line СÐО: Общий режим [13:09:28]line Чек 55 28.01.2024 13:09 [13:09:28]line Смена: 244 ФФД: 1.0 [13:09:28]line ЗÐМ: 0300000040 [13:09:28]line РÐМ: 0000000000092723 [13:09:28]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:09:28]line ФМ: 0000000000875060 [13:09:28]line ФД: 48990 [13:09:28]line ФПД: 85893441101906 [13:09:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T130935&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48990&fm=85893441101906&tin=02508201610067®Number=0000000000092723&sum=35000 [13:09:28]OFD Sender: Processing packet 48990 [packets to send 12, broken 11] [13:09:28]ProducePacketName [13:09:28]name=ofd_packets/00048990 [13:09:28]OFD Sender: To server: ‡•öpG, [13:09:28]CommunicateWithHost lk.salyk.kg:30040 [13:09:28]ConnectInit lk.salyk.kg [13:09:28]written 0, free lines is 4095 [13:09:28]Connected sock=10 [13:09: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 30 36 30 0C 01 00 00 81 EE 04 01 15 51 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 92 13 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 CC 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 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 0F 52 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5E BF 00 00 35 04 06 00 4E 1E A0 0B A0 52 8F BA 55 BC 4E 04 59 02 [13:09:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 93 C0 47 00 C7 CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5E BF 00 00 F4 03 04 00 0A FE B5 65 B6 04 01 00 00 FB EB 83 06 0D 02 46 98 [13:09:29]CommunicateWithHost err = 0 [13:09:29]CheckOFDResponse [13:09:29]1017 (14) - 77093643461234 [13:09:29]1041 (16) - 0000000000875060 [13:09:29]1040 (4) - 48990 [13:09:29]1012 (4) - 28.01.2024 07:11 [13:09:29]1206 (1) - 0 [13:09:29]OFD Sender: Remove packet 48990 [13:09:29]ProducePacketName [13:09:29]name=ofd_packets/00048990 [13:09:29]NVStorageDeleteData [13:09:29]Write to MH i2c: 01 00 00 54 34 88 [13:09:29]Write i2c OK [13:09:29]MH_I2C_Read... [13:09:29]Read from MH i2c: 01 [13:09:29]MH_I2C_Read... [13:09:29]Read from MH i2c: 01 07 00 [13:09:29]MH_I2C_Read... [13:09:29]Read from MH i2c: 01 07 00 54 34 00 00 00 00 00 F3 0C 8E [13:09:29]RasterBufferAndPrint [13:09:29]line [13:09:29]line [13:09:29]line [13:09:29]line [13:09:29]line [13:09:29]written 0, free lines is 3321 [13:09:29]MH_Cut [13:09:29]Write to MH i2c: D1 01 00 5B 34 01 61 [13:09:29]Write i2c OK [13:09:29]MH_I2C_Read... [13:09:29]Read from MH i2c: D1 [13:09:29]MH_I2C_Read... [13:09:29]Read from MH i2c: D1 01 00 [13:09:29]MH_I2C_Read... [13:09:29]Read from MH i2c: D1 01 00 5B 34 00 60 [13:09:29]Write to MH i2c: 01 00 00 5C 34 90 [13:09:29]Write i2c OK [13:09:29]MH_I2C_Read... [13:09:29]OFD Sender: No OFD packet to send [13:09:30]*** Cut start [13:09:30]*** Partial cut [13:09:30]*** CUTSNS_PIN = 1 [13:09:30]*** CUTSNS_PIN = 0 [13:09:30]*** Brake cut motor [13:09:30]Read from MH i2c: 01 [13:09:30]MH_I2C_Read... [13:09:30]*** Stop cut motor [13:09:30]*** Cut end [13:09:30]Read from MH i2c: 01 07 00 [13:09:30]MH_I2C_Read... [13:09:30]Read from MH i2c: 01 07 00 5C 34 00 00 00 00 00 FF 0F A5 [13:09:30]process_action close_receipt done [13:09:30]requested_data is exist [13:09:30]produce_requested_data [13:09:30]requested_item fm.sn is exist - process it [13:09:30]wFMCommunicate request_size=4 [13:09:30]MH_SAM_APDU [13:09:30]CAPDU: 80 11 00 00 [13:09:30]Write to MH i2c: E2 08 00 5D 34 80 11 00 00 00 00 00 00 0B [13:09:30]Write i2c OK [13:09:30]MH_I2C_Read... [13:09:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:30]Read from MH i2c: E2 [13:09:30]MH_I2C_Read... [13:09:30]Read from MH i2c: E2 17 00 [13:09:30]MH_I2C_Read... [13:09:30]Read from MH i2c: E2 17 00 5D 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 58 [13:09:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:09:30]wFMCommunicate OK [13:09:30]requested_item fd.num is exist - process it [13:09:30]SAM_PROTO_GetFieldsCounters [13:09:30]wFMCommunicate request_size=4 [13:09:30]MH_SAM_APDU [13:09:30]CAPDU: 80 13 00 00 [13:09:30]Write to MH i2c: E2 08 00 5E 34 80 13 00 00 00 00 00 00 0E [13:09:30]Write i2c OK [13:09:30]MH_I2C_Read... [13:09:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:09:30]Read from MH i2c: E2 [13:09:30]MH_I2C_Read... [13:09:30]Read from MH i2c: E2 62 00 [13:09:30]MH_I2C_Read... [13:09:30]Read from MH i2c: E2 62 00 5E 34 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [13:09: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:09:30]wFMCommunicate OK [13:09:30]SAM_PROTO_GetFieldsCounters done [13:09:30]requested_item shift.num is exist - process it [13:09:30]requested_item shift.opened is exist - process it [13:09:30]req_shift_opened [13:09:30]FM_GetShiftState [13:09:30]SAM_PROTO_GetShiftState [13:09:30]wFMCommunicate request_size=4 [13:09:30]MH_SAM_APDU [13:09:30]CAPDU: 80 13 01 00 [13:09:30]Write to MH i2c: E2 08 00 5F 34 80 13 01 00 00 00 00 00 10 [13:09:30]Write i2c OK [13:09:30]MH_I2C_Read... [13:09:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:30]Read from MH i2c: E2 [13:09:30]MH_I2C_Read... [13:09:30]Read from MH i2c: E2 0E 00 [13:09:30]MH_I2C_Read... [13:09:30]Read from MH i2c: E2 0E 00 5F 34 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 96 [13:09:30]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:09:30]wFMCommunicate OK [13:09:30]SAM_PROTO_GetShiftState done [13:09:30]FM_GetShiftState done [13:09:30]req_shift_opened done [13:09:30]requested_item shift.open_date is exist - process it [13:09:30]req_shift_open_date [13:09:30]req_shift_open_date done [13:09:30]produce_requested_data done [13:09:30]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48990,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [13:09:30]process_action_free close_receipt [13:09:30]json_value_free [13:09:30]json_value_free done [13:09:30]process_json_proto returns [13:09:30]Send response to host [13:09:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48990,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [13:09:30]free response buf [13:09:30]execute_script done [13:09:30]execute_script returns [13:09:30]free content buf [13:09:30]Sock 7.Close socket [13:09:30]Sock 7.Thread stoped [13:09:34]OFD Sender: No OFD packet to send [13:09:39]OFD Sender: No OFD packet to send [13:09:44]OFD Sender: No OFD packet to send [13:09:49]OFD Sender: No OFD packet to send [13:09:54]OFD Sender: No OFD packet to send [13:09:59]OFD Sender: No OFD packet to send [13:10:04]OFD Sender: No OFD packet to send [13:10:09]OFD Sender: No OFD packet to send [13:10:14]OFD Sender: No OFD packet to send [13:10:19]OFD Sender: No OFD packet to send [13:10:24]OFD Sender: No OFD packet to send [13:10:29]OFD Sender: No OFD packet to send [13:10:34]OFD Sender: No OFD packet to send [13:10:39]OFD Sender: No OFD packet to send [13:10:44]OFD Sender: No OFD packet to send [13:10:49]OFD Sender: No OFD packet to send [13:10:54]OFD Sender: No OFD packet to send [13:10:59]OFD Sender: No OFD packet to send [13:11:04]OFD Sender: No OFD packet to send [13:11:09]OFD Sender: No OFD packet to send [13:11:14]OFD Sender: No OFD packet to send [13:11:19]OFD Sender: No OFD packet to send [13:11:24]OFD Sender: No OFD packet to send [13:11:29]OFD Sender: No OFD packet to send [13:11:34]OFD Sender: No OFD packet to send [13:11:39]OFD Sender: No OFD packet to send [13:11:44]OFD Sender: No OFD packet to send [13:11:49]OFD Sender: No OFD packet to send [13:11:54]OFD Sender: No OFD packet to send [13:11:59]OFD Sender: No OFD packet to send [13:12:04]OFD Sender: No OFD packet to send [13:12:09]OFD Sender: No OFD packet to send [13:12:14]OFD Sender: No OFD packet to send [13:12:19]OFD Sender: No OFD packet to send [13:12:24]OFD Sender: No OFD packet to send [13:12:29]OFD Sender: No OFD packet to send [13:12:34]OFD Sender: No OFD packet to send [13:12:39]OFD Sender: No OFD packet to send [13:12:44]OFD Sender: No OFD packet to send [13:12:49]OFD Sender: No OFD packet to send [13:12:54]OFD Sender: No OFD packet to send [13:12:59]OFD Sender: No OFD packet to send [13:13:04]OFD Sender: No OFD packet to send [13:13:09]OFD Sender: No OFD packet to send [13:13:14]OFD Sender: No OFD packet to send [13:13:19]OFD Sender: No OFD packet to send [13:13:24]OFD Sender: No OFD packet to send [13:13:29]OFD Sender: No OFD packet to send [13:13:34]OFD Sender: No OFD packet to send [13:13:39]OFD Sender: No OFD packet to send [13:13:44]OFD Sender: No OFD packet to send [13:13:49]OFD Sender: No OFD packet to send [13:13:54]OFD Sender: No OFD packet to send [13:13:59]OFD Sender: No OFD packet to send [13:14:04]OFD Sender: No OFD packet to send [13:14:09]OFD Sender: No OFD packet to send [13:14:14]OFD Sender: No OFD packet to send [13:14:19]OFD Sender: No OFD packet to send [13:14:24]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:24]OFD Sender: No OFD packet to send [13:15:29]OFD Sender: No OFD packet to send [13:15:34]OFD Sender: No OFD packet to send [13:15:39]OFD Sender: No OFD packet to send [13:15:44]accept exits with 9 [13:15:44]New connection [13:15:44]New thread 3066670436 created [13:15:44]Thread 3066813796 joined [13:15:44]Waiting for new connection... [13:15:44] Sock 9.Parse request [13:15:44]Sock 9.Check first char [13:15:44]Sock 9.First char is OK [13:15:44]request: POST /json_proto HTTP/1.0 [13:15:44]Method: POST [13:15:44]URL: /json_proto [13:15:44]Method is POST - this is cgi request [13:15:44]url: /json_proto [13:15:44]query_string will be loaded in cgi processing [13:15:44]execute_cgi json_proto POST (null) [13:15:44]execute_cgi path=json_proto method=POST [13:15:44]POST find Content-Length [13:15:44]Host: 172.17.56.67:8080 [13:15:44]Content-Length: 679 [13:15:44]Content-Type: application/json [13:15:44] [13:15:44]POST finish read [13:15:44]Found Content-Length = 679 [13:15:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216089", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 14.310, "sum" : 1000.27, "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" ] } } [13:15:44]execute_script... [13:15:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216089", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 69.90, "quantity" : 14.310, "sum" : 1000.27, "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" ] } } [13:15:44]POST & json_proto [13:15:44]process_json_proto [13:15:44]json parsed OK: [13:15:44]protocol is kg_v1.0 [13:15:44]action value=close_receipt [13:15:44]process_action close_receipt [13:15:44]cmd_close_receipt [13:15:44]MH_GetDate [13:15:44]Write to MH i2c: F0 00 00 60 34 83 [13:15:44]Write i2c OK [13:15:44]MH_I2C_Read... [13:15:44]Read from MH i2c: F0 [13:15:44]MH_I2C_Read... [13:15:44]Read from MH i2c: F0 09 00 [13:15:44]MH_I2C_Read... [13:15:44]Read from MH i2c: F0 09 00 60 34 00 89 53 B6 65 26 5D 9E 65 09 [13:15:44]GetLastDocTimeStamp 1706447375 [13:15:44]current date 1706447753 [13:15:44]FM_GetShiftState [13:15:44]SAM_PROTO_GetShiftState [13:15:44]wFMCommunicate request_size=4 [13:15:44]MH_SAM_APDU [13:15:44]CAPDU: 80 13 01 00 [13:15:44]Write to MH i2c: E2 08 00 61 34 80 13 01 00 00 00 00 00 12 [13:15:44]Write i2c OK [13:15:44]MH_I2C_Read... [13:15:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:15:44]Read from MH i2c: E2 [13:15:44]MH_I2C_Read... [13:15:44]Read from MH i2c: E2 0E 00 [13:15:44]MH_I2C_Read... [13:15:44]Read from MH i2c: E2 0E 00 61 34 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 98 [13:15:44]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:15:44]wFMCommunicate OK [13:15:44]SAM_PROTO_GetShiftState done [13:15:44]FM_GetShiftState done [13:15:44]opened in 1706400199 [13:15:44]opened+sec_in_day 1706486599 [13:15:44]quantity*price = 100026 [13:15:44]sum+1 = 100028 [13:15:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.27 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.22 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 56 28.01.2024 13:15 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48991 ФПД: 118262210173075 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T131553&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48991&fm=118262210173075&tin=02508201610067®Number=0000000000092723&sum=100000 [13:15:45]StoreToDocumentArchive [13:15:45]shift 244 fd 48991 [13:15:45]save to /storage/0244/doc_00048991 [13:15:45]save last doc name /storage/0244/doc_00048991 to /storage/kkm_last_doc_name [13:15:45]save OK [13:15:45]Clear old archive folders... [13:15:45]ProcessDocumentItem done err = 0, tmpTLVsize=248 [13:15:45]tlvbuf is 01199DE0 [13:15:45]SAM_PROTO_ClearQueue [13:15:45]wFMCommunicate request_size=4 [13:15:45]MH_SAM_APDU [13:15:45]CAPDU: 80 09 00 00 [13:15:45]Write to MH i2c: E2 08 00 6E 34 80 09 00 00 00 00 00 00 14 [13:15:45]Write i2c OK [13:15:45]MH_I2C_Read... [13:15:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:15:45]Read from MH i2c: E2 [13:15:45]MH_I2C_Read... [13:15:45]Read from MH i2c: E2 03 00 [13:15:45]MH_I2C_Read... [13:15:45]Read from MH i2c: E2 03 00 6E 34 00 90 00 16 [13:15:45]RAPDU: 90 00 [13:15:45]wFMCommunicate OK [13:15:45]SAM_PROTO_ClearQueue done [13:15:45]KKMCreateOFDPacket [13:15:45]OFDProtocolAddRootSTLVToBuf [13:15:45]FM_MakeSignedData [13:15:45]FM_MakeSignedData [13:15:45]SAM_PROTO_SignData [13:15:45]wFMCommunicate request_size=4 [13:15:45]MH_SAM_APDU [13:15:45]CAPDU: 80 0D 01 02 [13:15:45]Write to MH i2c: E2 08 00 6F 34 80 0D 01 02 00 00 00 00 1C [13:15:45]Write i2c OK [13:15:45]MH_I2C_Read... [13:15:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:15:45]Read from MH i2c: E2 [13:15:45]MH_I2C_Read... [13:15:45]Read from MH i2c: E2 03 00 [13:15:45]MH_I2C_Read... [13:15:45]Read from MH i2c: E2 03 00 6F 34 00 90 00 17 [13:15:45]RAPDU: 90 00 [13:15:45]wFMCommunicate OK [13:15:45]wFMCommunicate request_size=255 [13:15:45]MH_SAM_APDU [13:15:45]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 37 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 BB 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 7E 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 38 00 00 00 F4 03 04 00 89 53 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5F BF 00 00 35 04 06 00 6B 8F 11 07 [13:15:45]Write to MH i2c: E2 02 01 70 34 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 37 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 BB 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 7E 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 38 00 00 00 F4 03 04 00 89 53 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5F BF 00 00 35 04 06 00 6B 8F 11 07 00 00 F9 [13:15:45]Write i2c OK [13:15:45]MH_I2C_Read... [13:15:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:15:46]Read from MH i2c: E2 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: E2 03 00 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: E2 03 00 70 34 00 90 00 18 [13:15:46]RAPDU: 90 00 [13:15:46]wFMCommunicate OK [13:15:46]wFMCommunicate request_size=7 [13:15:46]MH_SAM_APDU [13:15:46]CAPDU: 80 0D 02 02 02 18 93 [13:15:46]Write to MH i2c: E2 0A 00 71 34 80 0D 02 02 02 00 18 93 00 00 CE [13:15:46]Write i2c OK [13:15:46]MH_I2C_Read... [13:15:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:15:46]Read from MH i2c: E2 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: E2 03 00 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: E2 03 00 71 34 00 90 00 19 [13:15:46]RAPDU: 90 00 [13:15:46]wFMCommunicate OK [13:15:46]wFMCommunicate request_size=4 [13:15:46]MH_SAM_APDU [13:15:46]CAPDU: 80 0D 03 02 [13:15:46]Write to MH i2c: E2 08 00 72 34 80 0D 03 02 00 00 00 00 21 [13:15:46]Write i2c OK [13:15:46]MH_I2C_Read... [13:15:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:15:46]Read from MH i2c: E2 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: E2 0B 00 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: E2 0B 00 72 34 00 47 18 35 10 0E AD F8 6E 90 00 E7 [13:15:46]RAPDU: 47 18 35 10 0E AD F8 6E 90 00 [13:15:46]wFMCommunicate OK [13:15:46]SAM_PROTO_SignData done [13:15:46]FM_MakeSignedData done [13:15:46]CreateOFDProtocolMessage [13:15:46]wFMCommunicate request_size=4 [13:15:46]MH_SAM_APDU [13:15:46]CAPDU: 80 11 00 00 [13:15:46]Write to MH i2c: E2 08 00 73 34 80 11 00 00 00 00 00 00 21 [13:15:46]Write i2c OK [13:15:46]MH_I2C_Read... [13:15:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:15:46]Read from MH i2c: E2 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: E2 17 00 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: E2 17 00 73 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 6E [13:15:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:15:46]wFMCommunicate OK [13:15:46]CreateOFDProtocolMessage done [13:15:46]OFDSenderStorePacket 48991 [13:15:46]StoreOFDPacket docnum=48991 [13:15:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 D6 29 04 01 01 70 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 37 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 BB 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 7E 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 38 00 00 00 F4 03 04 00 89 53 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5F BF 00 00 35 04 06 00 6B 8F 11 07 18 93 47 18 35 10 0E AD F8 6E [13:15:46]CheckFolder [13:15:46]dirname=/storage/ofd_packets [13:15:46]CheckFolder done [13:15:46]ProducePacketName [13:15:46]name=ofd_packets/00048991 [13:15:46]NVStorageSaveData ofd_packets/00048991 [13:15:46]File name is /storage/ofd_packets/00048991 [13:15:46]Write 298 bytes [13:15:46]NVStorageSaveData done [13:15:46]OFDSenderStorePacket done [13:15:46]KKMCreateOFDPacket done [13:15:46]NVStorageSaveData kkm_last_timestamp [13:15:46]File name is /storage/kkm_last_timestamp [13:15:46]Write 4 bytes [13:15:46]NVStorageSaveData done [13:15:46]ExternCall_PrintAddStr [13:15:46]wPrintStart [13:15:46]Write to MH i2c: 01 00 00 74 34 A8 [13:15:46]Write i2c OK [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: 01 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: 01 07 00 [13:15:46]MH_I2C_Read... [13:15:46]Read from MH i2c: 01 07 00 74 34 00 00 00 00 00 FF 0F BD [13:15:46]RasterBufferAndPrint [13:15:46]line Счет N : (1)216089 [13:15:46]line ИÐÐ: 02508201610067 [13:15:46]line Контрольно-КаÑÑовый Чек [13:15:46]line ПРОДÐЖР[13:15:46]line ТРК (МРК, ГÐК) : 21 [13:15:46]line Товар: 2710194210 [13:15:46]line ДТ-К-5 [13:15:46]line 14.310 * 69.90 [13:15:46]line = 1000.27 [13:15:46]line ÐДС 12% ÐСП 1% [13:15:46]line > о реализуемом товаре [13:15:46]line ОКРУГЛЕÐИЕ: -0.27 [13:15:46]line ИТОГО: 1000.00 [13:15:46]line ВнеÑено: 1000.00 [13:15:46]line СДÐЧÐ: 0.00 [13:15:46]line ÐСП 1% : 8.85 [13:15:46]line ÐДС 12% : 106.22 [13:15:46]line Ðаличными: 1000.00 [13:15:46]line Безнал.: 0.00 [13:15:46]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [13:15:46]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [13:15:46]line СÐО: Общий режим [13:15:46]line Чек 56 28.01.2024 13:15 [13:15:46]line Смена: 244 ФФД: 1.0 [13:15:46]line ЗÐМ: 0300000040 [13:15:46]line РÐМ: 0000000000092723 [13:15:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:15:46]line ФМ: 0000000000875060 [13:15:46]line ФД: 48991 [13:15:46]line ФПД: 118262210173075 [13:15:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T131553&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48991&fm=118262210173075&tin=02508201610067®Number=0000000000092723&sum=100000 [13:15:46]OFD Sender: Processing packet 48991 [packets to send 12, broken 11] [13:15:46]ProducePacketName [13:15:46]name=ofd_packets/00048991 [13:15:46]OFD Sender: To server: ‡•öpG, [13:15:46]CommunicateWithHost lk.salyk.kg:30040 [13:15:46]ConnectInit lk.salyk.kg [13:15:46]written 0, free lines is 4095 [13:15:46]Connected sock=7 [13:15: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 30 36 30 0C 01 00 00 D6 29 04 01 01 70 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 37 00 00 00 00 00 37 04 06 00 4E 1B 00 00 00 00 13 04 06 00 BB 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 7E 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 38 00 00 00 F4 03 04 00 89 53 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5F BF 00 00 35 04 06 00 6B 8F 11 07 18 93 47 18 35 10 0E AD F8 6E [13:15:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 DB D7 47 00 52 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 5F BF 00 00 F4 03 04 00 84 FF B5 65 B6 04 01 00 00 E4 A1 C9 10 97 40 A4 DD [13:15:46]CommunicateWithHost err = 0 [13:15:46]CheckOFDResponse [13:15:46]1017 (14) - 77093643461234 [13:15:46]1041 (16) - 0000000000875060 [13:15:46]1040 (4) - 48991 [13:15:46]1012 (4) - 28.01.2024 07:17 [13:15:46]1206 (1) - 0 [13:15:46]OFD Sender: Remove packet 48991 [13:15:46]ProducePacketName [13:15:46]name=ofd_packets/00048991 [13:15:46]NVStorageDeleteData [13:15:47]Write to MH i2c: 01 00 00 9F 34 D3 [13:15:47]Write i2c OK [13:15:47]MH_I2C_Read... [13:15:47]Read from MH i2c: 01 [13:15:47]MH_I2C_Read... [13:15:47]Read from MH i2c: 01 07 00 [13:15:47]MH_I2C_Read... [13:15:47]Read from MH i2c: 01 07 00 9F 34 00 00 00 00 00 EB 0C D1 [13:15:47]RasterBufferAndPrint [13:15:47]line [13:15:47]line [13:15:47]line [13:15:47]line [13:15:47]line [13:15:47]written 0, free lines is 3317 [13:15:47]MH_Cut [13:15:47]Write to MH i2c: D1 01 00 A6 34 01 AC [13:15:47]Write i2c OK [13:15:47]MH_I2C_Read... [13:15:47]Read from MH i2c: D1 [13:15:47]MH_I2C_Read... [13:15:47]Read from MH i2c: D1 01 00 [13:15:47]MH_I2C_Read... [13:15:47]Read from MH i2c: D1 01 00 A6 34 00 AB [13:15:47]Write to MH i2c: 01 00 00 A7 34 DB [13:15:47]Write i2c OK [13:15:47]MH_I2C_Read... [13:15:47]OFD Sender: No OFD packet to send [13:15:47]*** Cut start [13:15:47]*** Partial cut [13:15:47]*** CUTSNS_PIN = 1 [13:15:47]*** CUTSNS_PIN = 0 [13:15:47]*** Brake cut motor [13:15:48]Read from MH i2c: 01 [13:15:48]MH_I2C_Read... [13:15:48]*** Stop cut motor [13:15:48]*** Cut end [13:15:48]Read from MH i2c: 01 07 00 [13:15:48]MH_I2C_Read... [13:15:48]Read from MH i2c: 01 07 00 A7 34 00 00 00 00 00 FF 0F F0 [13:15:48]process_action close_receipt done [13:15:48]requested_data is exist [13:15:48]produce_requested_data [13:15:48]requested_item fm.sn is exist - process it [13:15:48]wFMCommunicate request_size=4 [13:15:48]MH_SAM_APDU [13:15:48]CAPDU: 80 11 00 00 [13:15:48]Write to MH i2c: E2 08 00 A8 34 80 11 00 00 00 00 00 00 56 [13:15:48]Write i2c OK [13:15:48]MH_I2C_Read... [13:15:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:15:48]Read from MH i2c: E2 [13:15:48]MH_I2C_Read... [13:15:48]Read from MH i2c: E2 17 00 [13:15:48]MH_I2C_Read... [13:15:48]Read from MH i2c: E2 17 00 A8 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 A3 [13:15:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:15:48]wFMCommunicate OK [13:15:48]requested_item fd.num is exist - process it [13:15:48]SAM_PROTO_GetFieldsCounters [13:15:48]wFMCommunicate request_size=4 [13:15:48]MH_SAM_APDU [13:15:48]CAPDU: 80 13 00 00 [13:15:48]Write to MH i2c: E2 08 00 A9 34 80 13 00 00 00 00 00 00 59 [13:15:48]Write i2c OK [13:15:48]MH_I2C_Read... [13:15:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:15:48]Read from MH i2c: E2 [13:15:48]MH_I2C_Read... [13:15:48]Read from MH i2c: E2 62 00 [13:15:48]MH_I2C_Read... [13:15:48]Read from MH i2c: E2 62 00 A9 34 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 2C [13:15: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 5F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:15:48]wFMCommunicate OK [13:15:48]SAM_PROTO_GetFieldsCounters done [13:15:48]requested_item shift.num is exist - process it [13:15:48]requested_item shift.opened is exist - process it [13:15:48]req_shift_opened [13:15:48]FM_GetShiftState [13:15:48]SAM_PROTO_GetShiftState [13:15:48]wFMCommunicate request_size=4 [13:15:48]MH_SAM_APDU [13:15:48]CAPDU: 80 13 01 00 [13:15:48]Write to MH i2c: E2 08 00 AA 34 80 13 01 00 00 00 00 00 5B [13:15:48]Write i2c OK [13:15:48]MH_I2C_Read... [13:15:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:15:48]Read from MH i2c: E2 [13:15:48]MH_I2C_Read... [13:15:48]Read from MH i2c: E2 0E 00 [13:15:48]MH_I2C_Read... [13:15:48]Read from MH i2c: E2 0E 00 AA 34 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 E1 [13:15:48]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:15:48]wFMCommunicate OK [13:15:48]SAM_PROTO_GetShiftState done [13:15:48]FM_GetShiftState done [13:15:48]req_shift_opened done [13:15:48]requested_item shift.open_date is exist - process it [13:15:48]req_shift_open_date [13:15:48]req_shift_open_date done [13:15:48]produce_requested_data done [13:15:48]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48991,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [13:15:48]process_action_free close_receipt [13:15:48]json_value_free [13:15:48]json_value_free done [13:15:48]process_json_proto returns [13:15:48]Send response to host [13:15:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48991,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [13:15:48]free response buf [13:15:48]execute_script done [13:15:48]execute_script returns [13:15:48]free content buf [13:15:48]Sock 9.Close socket [13:15:48]Sock 9.Thread stoped [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:23:59]accept exits with 10 [13:23:59]New connection [13:23:59]New thread 3066813796 created [13:23:59]Thread 3066670436 joined [13:23:59]Waiting for new connection... [13:23:59] Sock 10.Parse request [13:23:59]Sock 10.Check first char [13:23:59]Sock 10.First char is OK [13:23:59]request: POST /json_proto HTTP/1.0 [13:23:59]Method: POST [13:23:59]URL: /json_proto [13:23:59]Method is POST - this is cgi request [13:23:59]url: /json_proto [13:23:59]query_string will be loaded in cgi processing [13:23:59]execute_cgi json_proto POST (null) [13:23:59]execute_cgi path=json_proto method=POST [13:23:59]POST find Content-Length [13:23:59]Host: 172.17.56.67:8080 [13:23:59]Content-Length: 677 [13:23:59]Content-Type: application/json [13:23:59] [13:23:59]POST finish read [13:23:59]Found Content-Length = 677 [13:23:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216090", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.650, "sum" : 280.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 280.00, "total" : 280.00, "payments": [ { "type": 0, "sum" : 280.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:59]execute_script... [13:23: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 : (1)216090", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.650, "sum" : 280.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 280.00, "total" : 280.00, "payments": [ { "type": 0, "sum" : 280.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:23:59]POST & json_proto [13:23:59]process_json_proto [13:23:59]json parsed OK: [13:23:59]protocol is kg_v1.0 [13:23:59]action value=close_receipt [13:23:59]process_action close_receipt [13:23:59]cmd_close_receipt [13:23:59]MH_GetDate [13:23:59]Write to MH i2c: F0 00 00 AB 34 CE [13:23:59]Write i2c OK [13:23:59]MH_I2C_Read... [13:23:59]Read from MH i2c: F0 [13:23:59]MH_I2C_Read... [13:23:59]Read from MH i2c: F0 09 00 [13:23:59]MH_I2C_Read... [13:23:59]Read from MH i2c: F0 09 00 AB 34 00 77 55 B6 65 26 5D 9E 65 44 [13:23:59]GetLastDocTimeStamp 1706447753 [13:23:59]current date 1706448247 [13:23:59]FM_GetShiftState [13:23:59]SAM_PROTO_GetShiftState [13:23:59]wFMCommunicate request_size=4 [13:23:59]MH_SAM_APDU [13:23:59]CAPDU: 80 13 01 00 [13:23:59]Write to MH i2c: E2 08 00 AC 34 80 13 01 00 00 00 00 00 5D [13:23:59]Write i2c OK [13:23:59]MH_I2C_Read... [13:23:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:23:59]Read from MH i2c: E2 [13:23:59]MH_I2C_Read... [13:23:59]Read from MH i2c: E2 0E 00 [13:23:59]MH_I2C_Read... [13:23:59]Read from MH i2c: E2 0E 00 AC 34 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 E3 [13:23:59]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:23:59]wFMCommunicate OK [13:23:59]SAM_PROTO_GetShiftState done [13:23:59]FM_GetShiftState done [13:23:59]opened in 1706400199 [13:23:59]opened+sec_in_day 1706486599 [13:23:59]quantity*price = 28039 [13:23:59]sum+1 = 28041 [13:23:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.40 ИТОГО: 280.00 ВнеÑено: 280.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.48 ÐДС 12% : 29.78 Ðаличными: 280.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 57 28.01.2024 13:24 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48992 ФПД: 25499261811063 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T132408&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48992&fm=25499261811063&tin=02508201610067®Number=0000000000092723&sum=28000 [13:24:00]StoreToDocumentArchive [13:24:00]shift 244 fd 48992 [13:24:00]save to /storage/0244/doc_00048992 [13:24:00]save last doc name /storage/0244/doc_00048992 to /storage/kkm_last_doc_name [13:24:00]save OK [13:24:00]Clear old archive folders... [13:24:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:24:00]tlvbuf is 011DD870 [13:24:00]SAM_PROTO_ClearQueue [13:24:00]wFMCommunicate request_size=4 [13:24:00]MH_SAM_APDU [13:24:00]CAPDU: 80 09 00 00 [13:24:00]Write to MH i2c: E2 08 00 B9 34 80 09 00 00 00 00 00 00 5F [13:24:00]Write i2c OK [13:24:00]MH_I2C_Read... [13:24:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:00]Read from MH i2c: E2 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 03 00 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 03 00 B9 34 00 90 00 61 [13:24:00]RAPDU: 90 00 [13:24:00]wFMCommunicate OK [13:24:00]SAM_PROTO_ClearQueue done [13:24:00]KKMCreateOFDPacket [13:24:00]OFDProtocolAddRootSTLVToBuf [13:24:00]FM_MakeSignedData [13:24:00]FM_MakeSignedData [13:24:00]SAM_PROTO_SignData [13:24:00]wFMCommunicate request_size=4 [13:24:00]MH_SAM_APDU [13:24:00]CAPDU: 80 0D 01 02 [13:24:00]Write to MH i2c: E2 08 00 BA 34 80 0D 01 02 00 00 00 00 67 [13:24:00]Write i2c OK [13:24:00]MH_I2C_Read... [13:24:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:00]Read from MH i2c: E2 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 03 00 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 03 00 BA 34 00 90 00 62 [13:24:00]RAPDU: 90 00 [13:24:00]wFMCommunicate OK [13:24:00]wFMCommunicate request_size=255 [13:24:00]MH_SAM_APDU [13:24:00]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 2A 12 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 88 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 0B 00 00 00 00 07 04 06 00 60 6D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 78 55 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 60 BF 00 00 35 04 06 00 17 [13:24:00]Write to MH i2c: E2 02 01 BB 34 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 2A 12 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 88 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 0B 00 00 00 00 07 04 06 00 60 6D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 78 55 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 60 BF 00 00 35 04 06 00 17 00 00 C9 [13:24:00]Write i2c OK [13:24:00]MH_I2C_Read... [13:24:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:00]Read from MH i2c: E2 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 03 00 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 03 00 BB 34 00 90 00 63 [13:24:00]RAPDU: 90 00 [13:24:00]wFMCommunicate OK [13:24:00]wFMCommunicate request_size=10 [13:24:00]MH_SAM_APDU [13:24:00]CAPDU: 80 0D 02 02 05 31 02 71 39 77 [13:24:00]Write to MH i2c: E2 0D 00 BC 34 80 0D 02 02 05 00 31 02 71 39 77 00 00 C8 [13:24:00]Write i2c OK [13:24:00]MH_I2C_Read... [13:24:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:00]Read from MH i2c: E2 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 03 00 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 03 00 BC 34 00 90 00 64 [13:24:00]RAPDU: 90 00 [13:24:00]wFMCommunicate OK [13:24:00]wFMCommunicate request_size=4 [13:24:00]MH_SAM_APDU [13:24:00]CAPDU: 80 0D 03 02 [13:24:00]Write to MH i2c: E2 08 00 BD 34 80 0D 03 02 00 00 00 00 6C [13:24:00]Write i2c OK [13:24:00]MH_I2C_Read... [13:24:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:00]Read from MH i2c: E2 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 0B 00 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 0B 00 BD 34 00 44 3C 94 B1 C1 80 10 49 90 00 CC [13:24:00]RAPDU: 44 3C 94 B1 C1 80 10 49 90 00 [13:24:00]wFMCommunicate OK [13:24:00]SAM_PROTO_SignData done [13:24:00]FM_MakeSignedData done [13:24:00]CreateOFDProtocolMessage [13:24:00]wFMCommunicate request_size=4 [13:24:00]MH_SAM_APDU [13:24:00]CAPDU: 80 11 00 00 [13:24:00]Write to MH i2c: E2 08 00 BE 34 80 11 00 00 00 00 00 00 6C [13:24:00]Write i2c OK [13:24:00]MH_I2C_Read... [13:24:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:00]Read from MH i2c: E2 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 17 00 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: E2 17 00 BE 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 B9 [13:24:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:24:00]wFMCommunicate OK [13:24:00]CreateOFDProtocolMessage done [13:24:00]OFDSenderStorePacket 48992 [13:24:00]StoreOFDPacket docnum=48992 [13:24:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 D7 4D 07 01 74 69 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 2A 12 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 88 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 0B 00 00 00 00 07 04 06 00 60 6D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 78 55 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 60 BF 00 00 35 04 06 00 17 31 02 71 39 77 44 3C 94 B1 C1 80 10 49 [13:24:00]CheckFolder [13:24:00]dirname=/storage/ofd_packets [13:24:00]CheckFolder done [13:24:00]ProducePacketName [13:24:00]name=ofd_packets/00048992 [13:24:00]NVStorageSaveData ofd_packets/00048992 [13:24:00]File name is /storage/ofd_packets/00048992 [13:24:00]Write 301 bytes [13:24:00]NVStorageSaveData done [13:24:00]OFDSenderStorePacket done [13:24:00]KKMCreateOFDPacket done [13:24:00]NVStorageSaveData kkm_last_timestamp [13:24:00]File name is /storage/kkm_last_timestamp [13:24:00]Write 4 bytes [13:24:00]NVStorageSaveData done [13:24:00]ExternCall_PrintAddStr [13:24:00]wPrintStart [13:24:00]Write to MH i2c: 01 00 00 BF 34 F3 [13:24:00]Write i2c OK [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: 01 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: 01 07 00 [13:24:00]MH_I2C_Read... [13:24:00]Read from MH i2c: 01 07 00 BF 34 00 00 00 00 00 FF 0F 08 [13:24:00]RasterBufferAndPrint [13:24:00]line Счет N : (1)216090 [13:24:00]line ИÐÐ: 02508201610067 [13:24:00]line Контрольно-КаÑÑовый Чек [13:24:00]line ПРОДÐЖР[13:24:00]line ТРК (МРК, ГÐК) : 22 [13:24:00]line Товар: 2710124130 [13:24:00]line Ðи-92-К-5 [13:24:00]line 4.650 * 60.30 [13:24:00]line = 280.40 [13:24:00]line ÐДС 12% ÐСП 1% [13:24:00]line > о реализуемом товаре [13:24:00]line ОКРУГЛЕÐИЕ: -0.40 [13:24:00]line ИТОГО: 280.00 [13:24:00]line ВнеÑено: 280.00 [13:24:00]line СДÐЧÐ: 0.00 [13:24:01]line ÐСП 1% : 2.48 [13:24:01]line ÐДС 12% : 29.78 [13:24:01]line Ðаличными: 280.00 [13:24:01]line Безнал.: 0.00 [13:24:01]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [13:24:01]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [13:24:01]line СÐО: Общий режим [13:24:01]line Чек 57 28.01.2024 13:24 [13:24:01]line Смена: 244 ФФД: 1.0 [13:24:01]line ЗÐМ: 0300000040 [13:24:01]line РÐМ: 0000000000092723 [13:24:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:24:01]line ФМ: 0000000000875060 [13:24:01]line ФД: 48992 [13:24:01]line ФПД: 25499261811063 [13:24:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T132408&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48992&fm=25499261811063&tin=02508201610067®Number=0000000000092723&sum=28000 [13:24:01]OFD Sender: Processing packet 48992 [packets to send 12, broken 11] [13:24:01]ProducePacketName [13:24:01]name=ofd_packets/00048992 [13:24:01]OFD Sender: To server: ‡•öpG, [13:24:01]CommunicateWithHost lk.salyk.kg:30040 [13:24:01]ConnectInit lk.salyk.kg [13:24:01]written 0, free lines is 4095 [13:24:01]Connected sock=9 [13:24:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 D7 4D 07 01 74 69 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 2A 12 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 88 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 0B 00 00 00 00 07 04 06 00 60 6D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 78 55 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 60 BF 00 00 35 04 06 00 17 31 02 71 39 77 44 3C 94 B1 C1 80 10 49 [13:24:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 0C CA 47 00 DF 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 30 36 30 10 04 04 00 60 BF 00 00 F4 03 04 00 73 01 B6 65 B6 04 01 00 00 27 AF D7 66 D8 1E E9 42 [13:24:01]CommunicateWithHost err = 0 [13:24:01]CheckOFDResponse [13:24:01]1017 (14) - 77093643461234 [13:24:01]1041 (16) - 0000000000875060 [13:24:01]1040 (4) - 48992 [13:24:01]1012 (4) - 28.01.2024 07:25 [13:24:01]1206 (1) - 0 [13:24:01]OFD Sender: Remove packet 48992 [13:24:01]ProducePacketName [13:24:01]name=ofd_packets/00048992 [13:24:01]NVStorageDeleteData [13:24:01]Write to MH i2c: 01 00 00 EA 34 1E [13:24:01]Write i2c OK [13:24:01]MH_I2C_Read... [13:24:01]Read from MH i2c: 01 [13:24:01]MH_I2C_Read... [13:24:01]Read from MH i2c: 01 07 00 [13:24:01]MH_I2C_Read... [13:24:01]Read from MH i2c: 01 07 00 EA 34 00 00 00 00 00 F3 0C 24 [13:24:01]RasterBufferAndPrint [13:24:01]line [13:24:01]line [13:24:01]line [13:24:01]line [13:24:01]line [13:24:01]written 0, free lines is 3321 [13:24:01]MH_Cut [13:24:01]Write to MH i2c: D1 01 00 F1 34 01 F7 [13:24:01]Write i2c OK [13:24:01]MH_I2C_Read... [13:24:01]Read from MH i2c: D1 [13:24:01]MH_I2C_Read... [13:24:01]Read from MH i2c: D1 01 00 [13:24:01]MH_I2C_Read... [13:24:01]Read from MH i2c: D1 01 00 F1 34 00 F6 [13:24:01]Write to MH i2c: 01 00 00 F2 34 26 [13:24:01]Write i2c OK [13:24:01]MH_I2C_Read... [13:24:02]OFD Sender: No OFD packet to send [13:24:02]*** Cut start [13:24:02]*** Partial cut [13:24:02]*** CUTSNS_PIN = 1 [13:24:02]*** CUTSNS_PIN = 0 [13:24:02]*** Brake cut motor [13:24:03]Read from MH i2c: 01 [13:24:03]MH_I2C_Read... [13:24:03]*** Stop cut motor [13:24:03]*** Cut end [13:24:03]Read from MH i2c: 01 07 00 [13:24:03]MH_I2C_Read... [13:24:03]Read from MH i2c: 01 07 00 F2 34 00 00 00 00 00 FF 0F 3B [13:24:03]process_action close_receipt done [13:24:03]requested_data is exist [13:24:03]produce_requested_data [13:24:03]requested_item fm.sn is exist - process it [13:24:03]wFMCommunicate request_size=4 [13:24:03]MH_SAM_APDU [13:24:03]CAPDU: 80 11 00 00 [13:24:03]Write to MH i2c: E2 08 00 F3 34 80 11 00 00 00 00 00 00 A1 [13:24:03]Write i2c OK [13:24:03]MH_I2C_Read... [13:24:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:03]Read from MH i2c: E2 [13:24:03]MH_I2C_Read... [13:24:03]Read from MH i2c: E2 17 00 [13:24:03]MH_I2C_Read... [13:24:03]Read from MH i2c: E2 17 00 F3 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 EE [13:24:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:24:03]wFMCommunicate OK [13:24:03]requested_item fd.num is exist - process it [13:24:03]SAM_PROTO_GetFieldsCounters [13:24:03]wFMCommunicate request_size=4 [13:24:03]MH_SAM_APDU [13:24:03]CAPDU: 80 13 00 00 [13:24:03]Write to MH i2c: E2 08 00 F4 34 80 13 00 00 00 00 00 00 A4 [13:24:03]Write i2c OK [13:24:03]MH_I2C_Read... [13:24:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:03]Read from MH i2c: E2 [13:24:03]MH_I2C_Read... [13:24:03]Read from MH i2c: E2 62 00 [13:24:03]MH_I2C_Read... [13:24:03]Read from MH i2c: E2 62 00 F4 34 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 60 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 7B [13:24: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 60 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:24:03]wFMCommunicate OK [13:24:03]SAM_PROTO_GetFieldsCounters done [13:24:03]requested_item shift.num is exist - process it [13:24:03]requested_item shift.opened is exist - process it [13:24:03]req_shift_opened [13:24:03]FM_GetShiftState [13:24:03]SAM_PROTO_GetShiftState [13:24:03]wFMCommunicate request_size=4 [13:24:03]MH_SAM_APDU [13:24:03]CAPDU: 80 13 01 00 [13:24:03]Write to MH i2c: E2 08 00 F5 34 80 13 01 00 00 00 00 00 A6 [13:24:03]Write i2c OK [13:24:03]MH_I2C_Read... [13:24:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:03]Read from MH i2c: E2 [13:24:03]MH_I2C_Read... [13:24:03]Read from MH i2c: E2 0E 00 [13:24:03]MH_I2C_Read... [13:24:03]Read from MH i2c: E2 0E 00 F5 34 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 2C [13:24:03]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:24:03]wFMCommunicate OK [13:24:03]SAM_PROTO_GetShiftState done [13:24:03]FM_GetShiftState done [13:24:03]req_shift_opened done [13:24:03]requested_item shift.open_date is exist - process it [13:24:03]req_shift_open_date [13:24:03]req_shift_open_date done [13:24:03]produce_requested_data done [13:24:03]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48992,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [13:24:03]process_action_free close_receipt [13:24:03]json_value_free [13:24:03]json_value_free done [13:24:03]process_json_proto returns [13:24:03]Send response to host [13:24:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48992,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [13:24:03]free response buf [13:24:03]execute_script done [13:24:03]execute_script returns [13:24:03]free content buf [13:24:03]Sock 10.Close socket [13:24:03]Sock 10.Thread stoped [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:17]OFD Sender: No OFD packet to send [13:24:22]OFD Sender: No OFD packet to send [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [13:24:42]OFD Sender: No OFD packet to send [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:12]OFD Sender: No OFD packet to send [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [13:25:32]OFD Sender: No OFD packet to send [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:55]accept exits with 7 [13:25:55]New connection [13:25:55]New thread 3066670436 created [13:25:55]Thread 3066813796 joined [13:25:55]Waiting for new connection... [13:25:55] Sock 7.Parse request [13:25:55]Sock 7.Check first char [13:25:55]Sock 7.First char is OK [13:25:55]request: POST /json_proto HTTP/1.0 [13:25:55]Method: POST [13:25:55]URL: /json_proto [13:25:55]Method is POST - this is cgi request [13:25:55]url: /json_proto [13:25:55]query_string will be loaded in cgi processing [13:25:55]execute_cgi json_proto POST (null) [13:25:55]execute_cgi path=json_proto method=POST [13:25:55]POST find Content-Length [13:25:55]Host: 172.17.56.67:8080 [13:25:55]Content-Length: 682 [13:25:55]Content-Type: application/json [13:25:55] [13:25:55]POST finish read [13:25:55]Found Content-Length = 682 [13:25:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216092", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 24.880, "sum" : 1500.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:25:55]execute_script... [13:25: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)216092", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 24.880, "sum" : 1500.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:25:55]POST & json_proto [13:25:55]process_json_proto [13:25:55]json parsed OK: [13:25:55]protocol is kg_v1.0 [13:25:55]action value=close_receipt [13:25:55]process_action close_receipt [13:25:55]cmd_close_receipt [13:25:55]MH_GetDate [13:25:55]Write to MH i2c: F0 00 00 F6 34 19 [13:25:55]Write i2c OK [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: F0 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: F0 09 00 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: F0 09 00 F6 34 00 EB 55 B6 65 26 5D 9E 65 03 [13:25:55]GetLastDocTimeStamp 1706448248 [13:25:55]current date 1706448363 [13:25:55]FM_GetShiftState [13:25:55]SAM_PROTO_GetShiftState [13:25:55]wFMCommunicate request_size=4 [13:25:55]MH_SAM_APDU [13:25:55]CAPDU: 80 13 01 00 [13:25:55]Write to MH i2c: E2 08 00 F7 34 80 13 01 00 00 00 00 00 A8 [13:25:55]Write i2c OK [13:25:55]MH_I2C_Read... [13:25:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:55]Read from MH i2c: E2 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: E2 0E 00 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: E2 0E 00 F7 34 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 2E [13:25:55]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:25:55]wFMCommunicate OK [13:25:55]SAM_PROTO_GetShiftState done [13:25:55]FM_GetShiftState done [13:25:55]opened in 1706400199 [13:25:55]opened+sec_in_day 1706486599 [13:25:55]quantity*price = 150026 [13:25:55]sum+1 = 150027 [13:25:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.26 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.28 ÐДС 12% : 159.32 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 58 28.01.2024 13:26 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48993 ФПД: 212952251356128 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T132603&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48993&fm=212952251356128&tin=02508201610067®Number=0000000000092723&sum=150000 [13:25:56]StoreToDocumentArchive [13:25:56]shift 244 fd 48993 [13:25:56]save to /storage/0244/doc_00048993 [13:25:56]save last doc name /storage/0244/doc_00048993 to /storage/kkm_last_doc_name [13:25:56]save OK [13:25:56]Clear old archive folders... [13:25:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:25:56]tlvbuf is 01199DE0 [13:25:56]SAM_PROTO_ClearQueue [13:25:56]wFMCommunicate request_size=4 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 09 00 00 [13:25:56]Write to MH i2c: E2 08 00 04 35 80 09 00 00 00 00 00 00 AB [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 04 35 00 90 00 AD [13:25:56]RAPDU: 90 00 [13:25:56]wFMCommunicate OK [13:25:56]SAM_PROTO_ClearQueue done [13:25:56]KKMCreateOFDPacket [13:25:56]OFDProtocolAddRootSTLVToBuf [13:25:56]FM_MakeSignedData [13:25:56]FM_MakeSignedData [13:25:56]SAM_PROTO_SignData [13:25:56]wFMCommunicate request_size=4 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 0D 01 02 [13:25:56]Write to MH i2c: E2 08 00 05 35 80 0D 01 02 00 00 00 00 B3 [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 05 35 00 90 00 AE [13:25:56]RAPDU: 90 00 [13:25:56]wFMCommunicate OK [13:25:56]wFMCommunicate request_size=255 [13:25:56]MH_SAM_APDU [13:25: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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 EB 55 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 61 BF 00 00 35 04 06 00 C1 [13:25:56]Write to MH i2c: E2 02 01 06 35 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 EB 55 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 61 BF 00 00 35 04 06 00 C1 00 00 D0 [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 06 35 00 90 00 AF [13:25:56]RAPDU: 90 00 [13:25:56]wFMCommunicate OK [13:25:56]wFMCommunicate request_size=10 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 0D 02 02 05 AD CF 4B D3 E0 [13:25:56]Write to MH i2c: E2 0D 00 07 35 80 0D 02 02 05 00 AD CF 4B D3 E0 00 00 3A [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 07 35 00 90 00 B0 [13:25:56]RAPDU: 90 00 [13:25:56]wFMCommunicate OK [13:25:56]wFMCommunicate request_size=4 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 0D 03 02 [13:25:56]Write to MH i2c: E2 08 00 08 35 80 0D 03 02 00 00 00 00 B8 [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 0B 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 0B 00 08 35 00 FF 0F F8 C2 31 F2 07 E3 90 00 8E [13:25:56]RAPDU: FF 0F F8 C2 31 F2 07 E3 90 00 [13:25:56]wFMCommunicate OK [13:25:56]SAM_PROTO_SignData done [13:25:56]FM_MakeSignedData done [13:25:56]CreateOFDProtocolMessage [13:25:56]wFMCommunicate request_size=4 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 11 00 00 [13:25:56]Write to MH i2c: E2 08 00 09 35 80 11 00 00 00 00 00 00 B8 [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 17 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 17 00 09 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 05 [13:25:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:25:56]wFMCommunicate OK [13:25:56]CreateOFDProtocolMessage done [13:25:56]OFDSenderStorePacket 48993 [13:25:56]StoreOFDPacket docnum=48993 [13:25:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 16 7A 07 01 52 60 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 EB 55 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 61 BF 00 00 35 04 06 00 C1 AD CF 4B D3 E0 FF 0F F8 C2 31 F2 07 E3 [13:25:56]CheckFolder [13:25:56]dirname=/storage/ofd_packets [13:25:56]CheckFolder done [13:25:56]ProducePacketName [13:25:56]name=ofd_packets/00048993 [13:25:56]NVStorageSaveData ofd_packets/00048993 [13:25:56]File name is /storage/ofd_packets/00048993 [13:25:56]Write 301 bytes [13:25:56]NVStorageSaveData done [13:25:56]OFDSenderStorePacket done [13:25:56]KKMCreateOFDPacket done [13:25:56]NVStorageSaveData kkm_last_timestamp [13:25:56]File name is /storage/kkm_last_timestamp [13:25:56]Write 4 bytes [13:25:56]NVStorageSaveData done [13:25:56]ExternCall_PrintAddStr [13:25:56]wPrintStart [13:25:56]Write to MH i2c: 01 00 00 0A 35 3F [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: 01 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: 01 07 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: 01 07 00 0A 35 00 00 00 00 00 FF 0F 54 [13:25:56]RasterBufferAndPrint [13:25:56]line Счет N : (1)216092 [13:25:56]line ИÐÐ: 02508201610067 [13:25:56]line Контрольно-КаÑÑовый Чек [13:25:56]line ПРОДÐЖР[13:25:56]line ТРК (МРК, ГÐК) : 22 [13:25:56]line Товар: 2710124130 [13:25:56]line Ðи-92-К-5 [13:25:56]line 24.880 * 60.30 [13:25:56]line = 1500.26 [13:25:56]line ÐДС 12% ÐСП 1% [13:25:56]line > о реализуемом товаре [13:25:56]line ОКРУГЛЕÐИЕ: -0.26 [13:25:56]line ИТОГО: 1500.00 [13:25:56]line ВнеÑено: 1500.00 [13:25:56]line СДÐЧÐ: 0.00 [13:25:56]line ÐСП 1% : 13.28 [13:25:56]line ÐДС 12% : 159.32 [13:25:56]line Ðаличными: 1500.00 [13:25:56]line Безнал.: 0.00 [13:25:56]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [13:25:56]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [13:25:56]line СÐО: Общий режим [13:25:56]line Чек 58 28.01.2024 13:26 [13:25:56]line Смена: 244 ФФД: 1.0 [13:25:56]line ЗÐМ: 0300000040 [13:25:56]line РÐМ: 0000000000092723 [13:25:56]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:25:56]line ФМ: 0000000000875060 [13:25:56]line ФД: 48993 [13:25:56]line ФПД: 212952251356128 [13:25:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T132603&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48993&fm=212952251356128&tin=02508201610067®Number=0000000000092723&sum=150000 [13:25:57]OFD Sender: Processing packet 48993 [packets to send 12, broken 11] [13:25:57]ProducePacketName [13:25:57]name=ofd_packets/00048993 [13:25:57]OFD Sender: To server: ‡•öpG, [13:25:57]CommunicateWithHost lk.salyk.kg:30040 [13:25:57]ConnectInit lk.salyk.kg [13:25:57]written 0, free lines is 4095 [13:25:57]Connected sock=10 [13:25: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 30 36 30 0F 01 00 00 16 7A 07 01 52 60 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 30 61 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0A 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 EB 55 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 61 BF 00 00 35 04 06 00 C1 AD CF 4B D3 E0 FF 0F F8 C2 31 F2 07 E3 [13:25:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 62 19 47 00 54 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 61 BF 00 00 F4 03 04 00 E7 01 B6 65 B6 04 01 00 00 9B 2D 88 B6 16 60 92 C5 [13:25:57]CommunicateWithHost err = 0 [13:25:57]CheckOFDResponse [13:25:57]1017 (14) - 77093643461234 [13:25:57]1041 (16) - 0000000000875060 [13:25:57]1040 (4) - 48993 [13:25:57]1012 (4) - 28.01.2024 07:27 [13:25:57]1206 (1) - 0 [13:25:57]OFD Sender: Remove packet 48993 [13:25:57]ProducePacketName [13:25:57]name=ofd_packets/00048993 [13:25:57]NVStorageDeleteData [13:25:57]Write to MH i2c: 01 00 00 35 35 6A [13:25:57]Write i2c OK [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: 01 [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: 01 07 00 [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: 01 07 00 35 35 00 00 00 00 00 03 0D 81 [13:25:57]RasterBufferAndPrint [13:25:57]line [13:25:57]line [13:25:57]line [13:25:57]line [13:25:57]line [13:25:57]written 0, free lines is 3337 [13:25:57]MH_Cut [13:25:57]Write to MH i2c: D1 01 00 3C 35 01 43 [13:25:57]Write i2c OK [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: D1 [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: D1 01 00 [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: D1 01 00 3C 35 00 42 [13:25:57]Write to MH i2c: 01 00 00 3D 35 72 [13:25:57]Write i2c OK [13:25:57]MH_I2C_Read... [13:25:58]OFD Sender: No OFD packet to send [13:25:58]*** Cut start [13:25:58]*** Partial cut [13:25:58]*** CUTSNS_PIN = 1 [13:25:58]*** CUTSNS_PIN = 0 [13:25:58]*** Brake cut motor [13:25:58]Read from MH i2c: 01 [13:25:58]MH_I2C_Read... [13:25:58]*** Stop cut motor [13:25:58]*** Cut end [13:25:58]Read from MH i2c: 01 07 00 [13:25:58]MH_I2C_Read... [13:25:58]Read from MH i2c: 01 07 00 3D 35 00 00 00 00 00 FF 0F 87 [13:25:58]process_action close_receipt done [13:25:58]requested_data is exist [13:25:58]produce_requested_data [13:25:58]requested_item fm.sn is exist - process it [13:25:58]wFMCommunicate request_size=4 [13:25:58]MH_SAM_APDU [13:25:58]CAPDU: 80 11 00 00 [13:25:58]Write to MH i2c: E2 08 00 3E 35 80 11 00 00 00 00 00 00 ED [13:25:58]Write i2c OK [13:25:58]MH_I2C_Read... [13:25:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:59]Read from MH i2c: E2 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 17 00 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 17 00 3E 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 3A [13:25:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:25:59]wFMCommunicate OK [13:25:59]requested_item fd.num is exist - process it [13:25:59]SAM_PROTO_GetFieldsCounters [13:25:59]wFMCommunicate request_size=4 [13:25:59]MH_SAM_APDU [13:25:59]CAPDU: 80 13 00 00 [13:25:59]Write to MH i2c: E2 08 00 3F 35 80 13 00 00 00 00 00 00 F0 [13:25:59]Write i2c OK [13:25:59]MH_I2C_Read... [13:25:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:25:59]Read from MH i2c: E2 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 62 00 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 62 00 3F 35 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 61 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 CB [13:25: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 61 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:25:59]wFMCommunicate OK [13:25:59]SAM_PROTO_GetFieldsCounters done [13:25:59]requested_item shift.num is exist - process it [13:25:59]requested_item shift.opened is exist - process it [13:25:59]req_shift_opened [13:25:59]FM_GetShiftState [13:25:59]SAM_PROTO_GetShiftState [13:25:59]wFMCommunicate request_size=4 [13:25:59]MH_SAM_APDU [13:25:59]CAPDU: 80 13 01 00 [13:25:59]Write to MH i2c: E2 08 00 40 35 80 13 01 00 00 00 00 00 F2 [13:25:59]Write i2c OK [13:25:59]MH_I2C_Read... [13:25:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:59]Read from MH i2c: E2 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 0E 00 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 0E 00 40 35 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 78 [13:25:59]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:25:59]wFMCommunicate OK [13:25:59]SAM_PROTO_GetShiftState done [13:25:59]FM_GetShiftState done [13:25:59]req_shift_opened done [13:25:59]requested_item shift.open_date is exist - process it [13:25:59]req_shift_open_date [13:25:59]req_shift_open_date done [13:25:59]produce_requested_data done [13:25:59]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48993,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [13:25:59]process_action_free close_receipt [13:25:59]json_value_free [13:25:59]json_value_free done [13:25:59]process_json_proto returns [13:25:59]Send response to host [13:25:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48993,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [13:25:59]free response buf [13:25:59]execute_script done [13:25:59]execute_script returns [13:25:59]free content buf [13:25:59]Sock 7.Close socket [13:25:59]Sock 7.Thread stoped [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:35]accept exits with 9 [13:28:35]New connection [13:28:35]New thread 3066813796 created [13:28:35]Thread 3066670436 joined [13:28:35]Waiting for new connection... [13:28:35] Sock 9.Parse request [13:28:35]Sock 9.Check first char [13:28:35]Sock 9.First char is OK [13:28:35]request: POST /json_proto HTTP/1.0 [13:28:35]Method: POST [13:28:35]URL: /json_proto [13:28:35]Method is POST - this is cgi request [13:28:35]url: /json_proto [13:28:35]query_string will be loaded in cgi processing [13:28:35]execute_cgi json_proto POST (null) [13:28:35]execute_cgi path=json_proto method=POST [13:28:35]POST find Content-Length [13:28:35]Host: 172.17.56.67:8080 [13:28:35]Content-Length: 677 [13:28:35]Content-Type: application/json [13:28:35] [13:28:35]POST finish read [13:28:35]Found Content-Length = 677 [13:28:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216093", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 1.660, "sum" : 100.10, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 100.00, "total" : 100.00, "payments": [ { "type": 0, "sum" : 100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:35]execute_script... [13:28:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216093", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 1.660, "sum" : 100.10, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 100.00, "total" : 100.00, "payments": [ { "type": 0, "sum" : 100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:35]POST & json_proto [13:28:35]process_json_proto [13:28:35]json parsed OK: [13:28:35]protocol is kg_v1.0 [13:28:35]action value=close_receipt [13:28:35]process_action close_receipt [13:28:35]cmd_close_receipt [13:28:35]MH_GetDate [13:28:35]Write to MH i2c: F0 00 00 41 35 65 [13:28:35]Write i2c OK [13:28:35]MH_I2C_Read... [13:28:35]Read from MH i2c: F0 [13:28:35]MH_I2C_Read... [13:28:35]Read from MH i2c: F0 09 00 [13:28:35]MH_I2C_Read... [13:28:35]Read from MH i2c: F0 09 00 41 35 00 8C 56 B6 65 26 5D 9E 65 F1 [13:28:35]GetLastDocTimeStamp 1706448363 [13:28:35]current date 1706448524 [13:28:35]FM_GetShiftState [13:28:35]SAM_PROTO_GetShiftState [13:28:35]wFMCommunicate request_size=4 [13:28:35]MH_SAM_APDU [13:28:35]CAPDU: 80 13 01 00 [13:28:35]Write to MH i2c: E2 08 00 42 35 80 13 01 00 00 00 00 00 F4 [13:28:35]Write i2c OK [13:28:35]MH_I2C_Read... [13:28:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:35]Read from MH i2c: E2 [13:28:35]MH_I2C_Read... [13:28:35]Read from MH i2c: E2 0E 00 [13:28:35]MH_I2C_Read... [13:28:35]Read from MH i2c: E2 0E 00 42 35 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 7A [13:28:35]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:28:35]wFMCommunicate OK [13:28:35]SAM_PROTO_GetShiftState done [13:28:35]FM_GetShiftState done [13:28:35]opened in 1706400199 [13:28:35]opened+sec_in_day 1706486599 [13:28:35]quantity*price = 10009 [13:28:35]sum+1 = 10011 [13:28:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.10 ИТОГО: 100.00 ВнеÑено: 100.00 СДÐЧÐ: 0.00 ÐСП 1% : 0.89 ÐДС 12% : 10.63 Ðаличными: 100.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 59 28.01.2024 13:28 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48994 ФПД: 212550033619210 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T132844&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48994&fm=212550033619210&tin=02508201610067®Number=0000000000092723&sum=10000 [13:28:36]StoreToDocumentArchive [13:28:36]shift 244 fd 48994 [13:28:36]save to /storage/0244/doc_00048994 [13:28:36]save last doc name /storage/0244/doc_00048994 to /storage/kkm_last_doc_name [13:28:36]save OK [13:28:36]Clear old archive folders... [13:28:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:28:36]tlvbuf is 012805D0 [13:28:36]SAM_PROTO_ClearQueue [13:28:36]wFMCommunicate request_size=4 [13:28:36]MH_SAM_APDU [13:28:36]CAPDU: 80 09 00 00 [13:28:36]Write to MH i2c: E2 08 00 4F 35 80 09 00 00 00 00 00 00 F6 [13:28:36]Write i2c OK [13:28:36]MH_I2C_Read... [13:28:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:28:36]Read from MH i2c: E2 [13:28:36]MH_I2C_Read... [13:28:36]Read from MH i2c: E2 03 00 [13:28:36]MH_I2C_Read... [13:28:36]Read from MH i2c: E2 03 00 4F 35 00 90 00 F8 [13:28:36]RAPDU: 90 00 [13:28:36]wFMCommunicate OK [13:28:36]SAM_PROTO_ClearQueue done [13:28:36]KKMCreateOFDPacket [13:28:36]OFDProtocolAddRootSTLVToBuf [13:28:36]FM_MakeSignedData [13:28:36]FM_MakeSignedData [13:28:36]SAM_PROTO_SignData [13:28:36]wFMCommunicate request_size=4 [13:28:36]MH_SAM_APDU [13:28:36]CAPDU: 80 0D 01 02 [13:28:36]Write to MH i2c: E2 08 00 50 35 80 0D 01 02 00 00 00 00 FE [13:28:36]Write i2c OK [13:28:36]MH_I2C_Read... [13:28:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:28:36]Read from MH i2c: E2 [13:28:36]MH_I2C_Read... [13:28:36]Read from MH i2c: E2 03 00 [13:28:36]MH_I2C_Read... [13:28:36]Read from MH i2c: E2 03 00 50 35 00 90 00 F9 [13:28:36]RAPDU: 90 00 [13:28:36]wFMCommunicate OK [13:28:36]wFMCommunicate request_size=255 [13:28:36]MH_SAM_APDU [13:28:36]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 7C 06 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 1A 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 8C 56 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 62 BF 00 00 35 04 06 00 C1 [13:28:36]Write to MH i2c: E2 02 01 51 35 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 7C 06 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 1A 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 8C 56 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 62 BF 00 00 35 04 06 00 C1 00 00 68 [13:28:36]Write i2c OK [13:28:36]MH_I2C_Read... [13:28:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:36]Read from MH i2c: E2 [13:28:36]MH_I2C_Read... [13:28:36]Read from MH i2c: E2 03 00 [13:28:36]MH_I2C_Read... [13:28:36]Read from MH i2c: E2 03 00 51 35 00 90 00 FA [13:28:36]RAPDU: 90 00 [13:28:36]wFMCommunicate OK [13:28:36]wFMCommunicate request_size=10 [13:28:36]MH_SAM_APDU [13:28:36]CAPDU: 80 0D 02 02 05 50 29 40 39 0A [13:28:36]Write to MH i2c: E2 0D 00 52 35 80 0D 02 02 05 00 50 29 40 39 0A 00 00 07 [13:28:36]Write i2c OK [13:28:36]MH_I2C_Read... [13:28:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:36]Read from MH i2c: E2 [13:28:36]MH_I2C_Read... [13:28:36]Read from MH i2c: E2 03 00 [13:28:36]MH_I2C_Read... [13:28:36]Read from MH i2c: E2 03 00 52 35 00 90 00 FB [13:28:36]RAPDU: 90 00 [13:28:36]wFMCommunicate OK [13:28:36]wFMCommunicate request_size=4 [13:28:36]MH_SAM_APDU [13:28:36]CAPDU: 80 0D 03 02 [13:28:36]Write to MH i2c: E2 08 00 53 35 80 0D 03 02 00 00 00 00 03 [13:28:36]Write i2c OK [13:28:36]MH_I2C_Read... [13:28:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:28:37]Read from MH i2c: E2 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: E2 0B 00 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: E2 0B 00 53 35 00 B5 1C 08 95 4B 70 6F D0 90 00 6C [13:28:37]RAPDU: B5 1C 08 95 4B 70 6F D0 90 00 [13:28:37]wFMCommunicate OK [13:28:37]SAM_PROTO_SignData done [13:28:37]FM_MakeSignedData done [13:28:37]CreateOFDProtocolMessage [13:28:37]wFMCommunicate request_size=4 [13:28:37]MH_SAM_APDU [13:28:37]CAPDU: 80 11 00 00 [13:28:37]Write to MH i2c: E2 08 00 54 35 80 11 00 00 00 00 00 00 03 [13:28:37]Write i2c OK [13:28:37]MH_I2C_Read... [13:28:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:37]Read from MH i2c: E2 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: E2 17 00 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: E2 17 00 54 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 50 [13:28:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:28:37]wFMCommunicate OK [13:28:37]CreateOFDProtocolMessage done [13:28:37]OFDSenderStorePacket 48994 [13:28:37]StoreOFDPacket docnum=48994 [13:28:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 24 00 07 01 AC 35 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 7C 06 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 1A 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 8C 56 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 62 BF 00 00 35 04 06 00 C1 50 29 40 39 0A B5 1C 08 95 4B 70 6F D0 [13:28:37]CheckFolder [13:28:37]dirname=/storage/ofd_packets [13:28:37]CheckFolder done [13:28:37]ProducePacketName [13:28:37]name=ofd_packets/00048994 [13:28:37]NVStorageSaveData ofd_packets/00048994 [13:28:37]File name is /storage/ofd_packets/00048994 [13:28:37]Write 301 bytes [13:28:37]NVStorageSaveData done [13:28:37]OFDSenderStorePacket done [13:28:37]KKMCreateOFDPacket done [13:28:37]NVStorageSaveData kkm_last_timestamp [13:28:37]File name is /storage/kkm_last_timestamp [13:28:37]Write 4 bytes [13:28:37]NVStorageSaveData done [13:28:37]ExternCall_PrintAddStr [13:28:37]wPrintStart [13:28:37]Write to MH i2c: 01 00 00 55 35 8A [13:28:37]Write i2c OK [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: 01 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: 01 07 00 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: 01 07 00 55 35 00 00 00 00 00 FF 0F 9F [13:28:37]RasterBufferAndPrint [13:28:37]line Счет N : (1)216093 [13:28:37]line ИÐÐ: 02508201610067 [13:28:37]line Контрольно-КаÑÑовый Чек [13:28:37]line ПРОДÐЖР[13:28:37]line ТРК (МРК, ГÐК) : 12 [13:28:37]line Товар: 2710124130 [13:28:37]line Ðи-92-К-5 [13:28:37]line 1.660 * 60.30 [13:28:37]line = 100.10 [13:28:37]line ÐДС 12% ÐСП 1% [13:28:37]line > о реализуемом товаре [13:28:37]line ОКРУГЛЕÐИЕ: -0.10 [13:28:37]line ИТОГО: 100.00 [13:28:37]line ВнеÑено: 100.00 [13:28:37]line СДÐЧÐ: 0.00 [13:28:37]line ÐСП 1% : 0.89 [13:28:37]line ÐДС 12% : 10.63 [13:28:37]line Ðаличными: 100.00 [13:28:37]line Безнал.: 0.00 [13:28:37]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [13:28:37]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [13:28:37]line СÐО: Общий режим [13:28:37]line Чек 59 28.01.2024 13:28 [13:28:37]line Смена: 244 ФФД: 1.0 [13:28:37]line ЗÐМ: 0300000040 [13:28:37]line РÐМ: 0000000000092723 [13:28:37]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:28:37]line ФМ: 0000000000875060 [13:28:37]line ФД: 48994 [13:28:37]line ФПД: 212550033619210 [13:28:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T132844&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48994&fm=212550033619210&tin=02508201610067®Number=0000000000092723&sum=10000 [13:28:37]OFD Sender: Processing packet 48994 [packets to send 12, broken 11] [13:28:37]ProducePacketName [13:28:37]name=ofd_packets/00048994 [13:28:37]OFD Sender: To server: ‡•öpG, [13:28:37]CommunicateWithHost lk.salyk.kg:30040 [13:28:37]ConnectInit lk.salyk.kg [13:28:37]written 0, free lines is 4095 [13:28:37]Connected sock=10 [13:28:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 24 00 07 01 AC 35 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 7C 06 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 1A 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 27 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 8C 56 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 62 BF 00 00 35 04 06 00 C1 50 29 40 39 0A B5 1C 08 95 4B 70 6F D0 [13:28:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 EC 73 47 00 65 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 30 36 30 10 04 04 00 62 BF 00 00 F4 03 04 00 87 02 B6 65 B6 04 01 00 00 7E A5 7C F7 4E 4C 80 35 [13:28:37]CommunicateWithHost err = 0 [13:28:37]CheckOFDResponse [13:28:37]1017 (14) - 77093643461234 [13:28:37]1041 (16) - 0000000000875060 [13:28:37]1040 (4) - 48994 [13:28:37]1012 (4) - 28.01.2024 07:30 [13:28:37]1206 (1) - 0 [13:28:37]OFD Sender: Remove packet 48994 [13:28:37]ProducePacketName [13:28:37]name=ofd_packets/00048994 [13:28:37]NVStorageDeleteData [13:28:37]Write to MH i2c: 01 00 00 80 35 B5 [13:28:37]Write i2c OK [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: 01 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: 01 07 00 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: 01 07 00 80 35 00 00 00 00 00 EF 0C B7 [13:28:37]RasterBufferAndPrint [13:28:37]line [13:28:37]line [13:28:37]line [13:28:37]line [13:28:37]line [13:28:37]written 0, free lines is 3317 [13:28:37]MH_Cut [13:28:37]Write to MH i2c: D1 01 00 87 35 01 8E [13:28:37]Write i2c OK [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: D1 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: D1 01 00 [13:28:37]MH_I2C_Read... [13:28:37]Read from MH i2c: D1 01 00 87 35 00 8D [13:28:37]Write to MH i2c: 01 00 00 88 35 BD [13:28:37]Write i2c OK [13:28:37]MH_I2C_Read... [13:28:38]OFD Sender: No OFD packet to send [13:28:38]*** Cut start [13:28:38]*** Partial cut [13:28:38]*** CUTSNS_PIN = 1 [13:28:38]*** CUTSNS_PIN = 0 [13:28:38]*** Brake cut motor [13:28:39]Read from MH i2c: 01 [13:28:39]MH_I2C_Read... [13:28:39]*** Stop cut motor [13:28:39]*** Cut end [13:28:39]Read from MH i2c: 01 07 00 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: 01 07 00 88 35 00 00 00 00 00 FF 0F D2 [13:28:39]process_action close_receipt done [13:28:39]requested_data is exist [13:28:39]produce_requested_data [13:28:39]requested_item fm.sn is exist - process it [13:28:39]wFMCommunicate request_size=4 [13:28:39]MH_SAM_APDU [13:28:39]CAPDU: 80 11 00 00 [13:28:39]Write to MH i2c: E2 08 00 89 35 80 11 00 00 00 00 00 00 38 [13:28:39]Write i2c OK [13:28:39]MH_I2C_Read... [13:28:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:39]Read from MH i2c: E2 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: E2 17 00 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: E2 17 00 89 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 85 [13:28:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [13:28:39]wFMCommunicate OK [13:28:39]requested_item fd.num is exist - process it [13:28:39]SAM_PROTO_GetFieldsCounters [13:28:39]wFMCommunicate request_size=4 [13:28:39]MH_SAM_APDU [13:28:39]CAPDU: 80 13 00 00 [13:28:39]Write to MH i2c: E2 08 00 8A 35 80 13 00 00 00 00 00 00 3B [13:28:39]Write i2c OK [13:28:39]MH_I2C_Read... [13:28:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:28:39]Read from MH i2c: E2 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: E2 62 00 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: E2 62 00 8A 35 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 62 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 1A [13:28: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 62 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:28:39]wFMCommunicate OK [13:28:39]SAM_PROTO_GetFieldsCounters done [13:28:39]requested_item shift.num is exist - process it [13:28:39]requested_item shift.opened is exist - process it [13:28:39]req_shift_opened [13:28:39]FM_GetShiftState [13:28:39]SAM_PROTO_GetShiftState [13:28:39]wFMCommunicate request_size=4 [13:28:39]MH_SAM_APDU [13:28:39]CAPDU: 80 13 01 00 [13:28:39]Write to MH i2c: E2 08 00 8B 35 80 13 01 00 00 00 00 00 3D [13:28:39]Write i2c OK [13:28:39]MH_I2C_Read... [13:28:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:39]Read from MH i2c: E2 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: E2 0E 00 [13:28:39]MH_I2C_Read... [13:28:39]Read from MH i2c: E2 0E 00 8B 35 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C3 [13:28:39]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [13:28:39]wFMCommunicate OK [13:28:39]SAM_PROTO_GetShiftState done [13:28:39]FM_GetShiftState done [13:28:39]req_shift_opened done [13:28:39]requested_item shift.open_date is exist - process it [13:28:39]req_shift_open_date [13:28:39]req_shift_open_date done [13:28:39]produce_requested_data done [13:28:39]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48994,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [13:28:39]process_action_free close_receipt [13:28:39]json_value_free [13:28:39]json_value_free done [13:28:39]process_json_proto returns [13:28:39]Send response to host [13:28:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48994,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [13:28:39]free response buf [13:28:39]execute_script done [13:28:39]execute_script returns [13:28:39]free content buf [13:28:39]Sock 9.Close socket [13:28:39]Sock 9.Thread stoped [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:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]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]accept exits with 7 [14:02:04]New connection [14:02:04]New thread 3066670436 created [14:02:04]Thread 3066813796 joined [14:02:04]Waiting for new connection... [14:02:04] Sock 7.Parse request [14:02:04]Sock 7.Check first char [14:02:04]Sock 7.First char is OK [14:02:04]request: POST /json_proto HTTP/1.0 [14:02:04]Method: POST [14:02:04]URL: /json_proto [14:02:04]Method is POST - this is cgi request [14:02:04]url: /json_proto [14:02:04]query_string will be loaded in cgi processing [14:02:04]execute_cgi json_proto POST (null) [14:02:04]execute_cgi path=json_proto method=POST [14:02:04]POST find Content-Length [14:02:04]Host: 172.17.56.67:8080 [14:02:04]Content-Length: 677 [14:02:04]Content-Type: application/json [14:02:04] [14:02:04]POST finish read [14:02:04]Found Content-Length = 677 [14:02:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216095", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:02:04]execute_script... [14: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 : (1)216095", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:02:04]POST & json_proto [14:02:04]process_json_proto [14:02:04]json parsed OK: [14:02:04]protocol is kg_v1.0 [14:02:04]action value=close_receipt [14:02:04]process_action close_receipt [14:02:04]cmd_close_receipt [14:02:04]MH_GetDate [14:02:04]Write to MH i2c: F0 00 00 8C 35 B0 [14:02:04]Write i2c OK [14:02:04]MH_I2C_Read... [14:02:04]Read from MH i2c: F0 [14:02:04]MH_I2C_Read... [14:02:04]Read from MH i2c: F0 09 00 [14:02:04]MH_I2C_Read... [14:02:04]Read from MH i2c: F0 09 00 8C 35 00 65 5E B6 65 26 5D 9E 65 1D [14:02:04]GetLastDocTimeStamp 1706448524 [14:02:04]current date 1706450533 [14:02:04]FM_GetShiftState [14:02:04]SAM_PROTO_GetShiftState [14:02:04]wFMCommunicate request_size=4 [14:02:04]MH_SAM_APDU [14:02:04]CAPDU: 80 13 01 00 [14:02:04]Write to MH i2c: E2 08 00 8D 35 80 13 01 00 00 00 00 00 3F [14:02:04]Write i2c OK [14:02:04]MH_I2C_Read... [14:02:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:04]Read from MH i2c: E2 [14:02:04]MH_I2C_Read... [14:02:04]Read from MH i2c: E2 0E 00 [14:02:04]MH_I2C_Read... [14:02:04]Read from MH i2c: E2 0E 00 8D 35 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C5 [14:02:04]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [14:02:04]wFMCommunicate OK [14:02:04]SAM_PROTO_GetShiftState done [14:02:04]FM_GetShiftState done [14:02:04]opened in 1706400199 [14:02:04]opened+sec_in_day 1706486599 [14:02:04]quantity*price = 20019 [14:02:04]sum+1 = 20021 [14:02:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 60 28.01.2024 14:02 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48995 ФПД: 112631402873872 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T140213&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48995&fm=112631402873872&tin=02508201610067®Number=0000000000092723&sum=20000 [14:02:05]StoreToDocumentArchive [14:02:05]shift 244 fd 48995 [14:02:05]save to /storage/0244/doc_00048995 [14:02:05]save last doc name /storage/0244/doc_00048995 to /storage/kkm_last_doc_name [14:02:05]save OK [14:02:05]Clear old archive folders... [14:02:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:02:05]tlvbuf is 011F8810 [14:02:05]SAM_PROTO_ClearQueue [14:02:05]wFMCommunicate request_size=4 [14:02:05]MH_SAM_APDU [14:02:05]CAPDU: 80 09 00 00 [14:02:05]Write to MH i2c: E2 08 00 9A 35 80 09 00 00 00 00 00 00 41 [14:02:05]Write i2c OK [14:02:05]MH_I2C_Read... [14:02:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:02:05]Read from MH i2c: E2 [14:02:05]MH_I2C_Read... [14:02:05]Read from MH i2c: E2 03 00 [14:02:05]MH_I2C_Read... [14:02:05]Read from MH i2c: E2 03 00 9A 35 00 90 00 43 [14:02:05]RAPDU: 90 00 [14:02:05]wFMCommunicate OK [14:02:05]SAM_PROTO_ClearQueue done [14:02:05]KKMCreateOFDPacket [14:02:05]OFDProtocolAddRootSTLVToBuf [14:02:05]FM_MakeSignedData [14:02:05]FM_MakeSignedData [14:02:05]SAM_PROTO_SignData [14:02:05]wFMCommunicate request_size=4 [14:02:05]MH_SAM_APDU [14:02:05]CAPDU: 80 0D 01 02 [14:02:05]Write to MH i2c: E2 08 00 9B 35 80 0D 01 02 00 00 00 00 49 [14:02:05]Write i2c OK [14:02:05]MH_I2C_Read... [14:02:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:02:05]Read from MH i2c: E2 [14:02:05]MH_I2C_Read... [14:02:05]Read from MH i2c: E2 03 00 [14:02:05]MH_I2C_Read... [14:02:05]Read from MH i2c: E2 03 00 9B 35 00 90 00 44 [14:02:05]RAPDU: 90 00 [14:02:05]wFMCommunicate OK [14:02:05]wFMCommunicate request_size=255 [14:02:05]MH_SAM_APDU [14:02:05]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 3C 00 00 00 F4 03 04 00 65 5E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 63 BF 00 00 35 04 06 00 66 [14:02:05]Write to MH i2c: E2 02 01 9C 35 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 3C 00 00 00 F4 03 04 00 65 5E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 63 BF 00 00 35 04 06 00 66 00 00 EF [14:02:05]Write i2c OK [14:02:05]MH_I2C_Read... [14:02:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:02:05]Read from MH i2c: E2 [14:02:05]MH_I2C_Read... [14:02:05]Read from MH i2c: E2 03 00 [14:02:05]MH_I2C_Read... [14:02:05]Read from MH i2c: E2 03 00 9C 35 00 90 00 45 [14:02:05]RAPDU: 90 00 [14:02:05]wFMCommunicate OK [14:02:05]wFMCommunicate request_size=10 [14:02:05]MH_SAM_APDU [14:02:05]CAPDU: 80 0D 02 02 05 70 0A C2 44 10 [14:02:05]Write to MH i2c: E2 0D 00 9D 35 80 0D 02 02 05 00 70 0A C2 44 10 00 00 E6 [14:02:06]Write i2c OK [14:02:06]MH_I2C_Read... [14:02:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:02:06]Read from MH i2c: E2 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: E2 03 00 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: E2 03 00 9D 35 00 90 00 46 [14:02:06]RAPDU: 90 00 [14:02:06]wFMCommunicate OK [14:02:06]wFMCommunicate request_size=4 [14:02:06]MH_SAM_APDU [14:02:06]CAPDU: 80 0D 03 02 [14:02:06]Write to MH i2c: E2 08 00 9E 35 80 0D 03 02 00 00 00 00 4E [14:02:06]Write i2c OK [14:02:06]MH_I2C_Read... [14:02:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:02:06]Read from MH i2c: E2 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: E2 0B 00 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: E2 0B 00 9E 35 00 93 DC 1E D4 EE 14 7B 46 90 00 73 [14:02:06]RAPDU: 93 DC 1E D4 EE 14 7B 46 90 00 [14:02:06]wFMCommunicate OK [14:02:06]SAM_PROTO_SignData done [14:02:06]FM_MakeSignedData done [14:02:06]CreateOFDProtocolMessage [14:02:06]wFMCommunicate request_size=4 [14:02:06]MH_SAM_APDU [14:02:06]CAPDU: 80 11 00 00 [14:02:06]Write to MH i2c: E2 08 00 9F 35 80 11 00 00 00 00 00 00 4E [14:02:06]Write i2c OK [14:02:06]MH_I2C_Read... [14:02:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:06]Read from MH i2c: E2 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: E2 17 00 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: E2 17 00 9F 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 9B [14:02:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [14:02:06]wFMCommunicate OK [14:02:06]CreateOFDProtocolMessage done [14:02:06]OFDSenderStorePacket 48995 [14:02:06]StoreOFDPacket docnum=48995 [14:02:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F9 2D 07 01 F7 ED 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 3C 00 00 00 F4 03 04 00 65 5E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 63 BF 00 00 35 04 06 00 66 70 0A C2 44 10 93 DC 1E D4 EE 14 7B 46 [14:02:06]CheckFolder [14:02:06]dirname=/storage/ofd_packets [14:02:06]CheckFolder done [14:02:06]ProducePacketName [14:02:06]name=ofd_packets/00048995 [14:02:06]NVStorageSaveData ofd_packets/00048995 [14:02:06]File name is /storage/ofd_packets/00048995 [14:02:06]Write 301 bytes [14:02:06]NVStorageSaveData done [14:02:06]OFDSenderStorePacket done [14:02:06]KKMCreateOFDPacket done [14:02:06]NVStorageSaveData kkm_last_timestamp [14:02:06]File name is /storage/kkm_last_timestamp [14:02:06]Write 4 bytes [14:02:06]NVStorageSaveData done [14:02:06]ExternCall_PrintAddStr [14:02:06]wPrintStart [14:02:06]Write to MH i2c: 01 00 00 A0 35 D5 [14:02:06]Write i2c OK [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: 01 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: 01 07 00 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: 01 07 00 A0 35 00 00 00 00 00 FF 0F EA [14:02:06]RasterBufferAndPrint [14:02:06]line Счет N : (1)216095 [14:02:06]line ИÐÐ: 02508201610067 [14:02:06]line Контрольно-КаÑÑовый Чек [14:02:06]line ПРОДÐЖР[14:02:06]line ТРК (МРК, ГÐК) : 22 [14:02:06]line Товар: 2710124130 [14:02:06]line Ðи-92-К-5 [14:02:06]line 3.320 * 60.30 [14:02:06]line = 200.20 [14:02:06]line ÐДС 12% ÐСП 1% [14:02:06]line > о реализуемом товаре [14:02:06]line ОКРУГЛЕÐИЕ: -0.20 [14:02:06]line ИТОГО: 200.00 [14:02:06]line ВнеÑено: 200.00 [14:02:06]line СДÐЧÐ: 0.00 [14:02:06]line ÐСП 1% : 1.77 [14:02:06]line ÐДС 12% : 21.26 [14:02:06]line Ðаличными: 200.00 [14:02:06]line Безнал.: 0.00 [14:02:06]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [14:02:06]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [14:02:06]line СÐО: Общий режим [14:02:06]line Чек 60 28.01.2024 14:02 [14:02:06]line Смена: 244 ФФД: 1.0 [14:02:06]line ЗÐМ: 0300000040 [14:02:06]line РÐМ: 0000000000092723 [14:02:06]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:02:06]line ФМ: 0000000000875060 [14:02:06]line ФД: 48995 [14:02:06]line ФПД: 112631402873872 [14:02:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T140213&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48995&fm=112631402873872&tin=02508201610067®Number=0000000000092723&sum=20000 [14:02:06]written 0, free lines is 4095 [14:02:06]OFD Sender: Processing packet 48995 [packets to send 12, broken 11] [14:02:06]ProducePacketName [14:02:06]name=ofd_packets/00048995 [14:02:06]OFD Sender: To server: ‡•öpG, [14:02:06]CommunicateWithHost lk.salyk.kg:30040 [14:02:06]ConnectInit lk.salyk.kg [14:02:06]Connected sock=10 [14: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 30 36 30 0F 01 00 00 F9 2D 07 01 F7 ED 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 3C 00 00 00 F4 03 04 00 65 5E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 63 BF 00 00 35 04 06 00 66 70 0A C2 44 10 93 DC 1E D4 EE 14 7B 46 [14:02:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 AB EF 47 00 45 39 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 63 BF 00 00 F4 03 04 00 60 0A B6 65 B6 04 01 00 00 4A E3 4A 07 12 90 71 08 [14:02:06]CommunicateWithHost err = 0 [14:02:06]CheckOFDResponse [14:02:06]1017 (14) - 77093643461234 [14:02:06]1041 (16) - 0000000000875060 [14:02:06]1040 (4) - 48995 [14:02:06]1012 (4) - 28.01.2024 08:03 [14:02:06]1206 (1) - 0 [14:02:06]OFD Sender: Remove packet 48995 [14:02:06]ProducePacketName [14:02:06]name=ofd_packets/00048995 [14:02:06]NVStorageDeleteData [14:02:06]Write to MH i2c: 01 00 00 CB 35 00 [14:02:06]Write i2c OK [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: 01 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: 01 07 00 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: 01 07 00 CB 35 00 00 00 00 00 F7 0C 0A [14:02:06]RasterBufferAndPrint [14:02:06]line [14:02:06]line [14:02:06]line [14:02:06]line [14:02:06]line [14:02:06]written 0, free lines is 3325 [14:02:06]MH_Cut [14:02:06]Write to MH i2c: D1 01 00 D2 35 01 D9 [14:02:06]Write i2c OK [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: D1 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: D1 01 00 [14:02:06]MH_I2C_Read... [14:02:06]Read from MH i2c: D1 01 00 D2 35 00 D8 [14:02:06]Write to MH i2c: 01 00 00 D3 35 08 [14:02:06]Write i2c OK [14:02:06]MH_I2C_Read... [14:02:07]OFD Sender: No OFD packet to send [14:02:07]*** Cut start [14:02:07]*** Partial cut [14:02:07]*** CUTSNS_PIN = 1 [14:02:07]*** CUTSNS_PIN = 0 [14:02:07]*** Brake cut motor [14:02:08]Read from MH i2c: 01 [14:02:08]MH_I2C_Read... [14:02:08]*** Stop cut motor [14:02:08]*** Cut end [14:02:08]Read from MH i2c: 01 07 00 [14:02:08]MH_I2C_Read... [14:02:08]Read from MH i2c: 01 07 00 D3 35 00 00 00 00 00 FF 0F 1D [14:02:08]process_action close_receipt done [14:02:08]requested_data is exist [14:02:08]produce_requested_data [14:02:08]requested_item fm.sn is exist - process it [14:02:08]wFMCommunicate request_size=4 [14:02:08]MH_SAM_APDU [14:02:08]CAPDU: 80 11 00 00 [14:02:08]Write to MH i2c: E2 08 00 D4 35 80 11 00 00 00 00 00 00 83 [14:02:08]Write i2c OK [14:02:08]MH_I2C_Read... [14:02:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:08]Read from MH i2c: E2 [14:02:08]MH_I2C_Read... [14:02:08]Read from MH i2c: E2 17 00 [14:02:08]MH_I2C_Read... [14:02:08]Read from MH i2c: E2 17 00 D4 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D0 [14:02:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [14:02:08]wFMCommunicate OK [14:02:08]requested_item fd.num is exist - process it [14:02:08]SAM_PROTO_GetFieldsCounters [14:02:08]wFMCommunicate request_size=4 [14:02:08]MH_SAM_APDU [14:02:08]CAPDU: 80 13 00 00 [14:02:08]Write to MH i2c: E2 08 00 D5 35 80 13 00 00 00 00 00 00 86 [14:02:08]Write i2c OK [14:02:08]MH_I2C_Read... [14:02:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:02:08]Read from MH i2c: E2 [14:02:08]MH_I2C_Read... [14:02:08]Read from MH i2c: E2 62 00 [14:02:08]MH_I2C_Read... [14:02:08]Read from MH i2c: E2 62 00 D5 35 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 63 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 69 [14: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 63 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:02:08]wFMCommunicate OK [14:02:08]SAM_PROTO_GetFieldsCounters done [14:02:08]requested_item shift.num is exist - process it [14:02:08]requested_item shift.opened is exist - process it [14:02:08]req_shift_opened [14:02:08]FM_GetShiftState [14:02:08]SAM_PROTO_GetShiftState [14:02:08]wFMCommunicate request_size=4 [14:02:08]MH_SAM_APDU [14:02:08]CAPDU: 80 13 01 00 [14:02:08]Write to MH i2c: E2 08 00 D6 35 80 13 01 00 00 00 00 00 88 [14:02:08]Write i2c OK [14:02:08]MH_I2C_Read... [14:02:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:08]Read from MH i2c: E2 [14:02:08]MH_I2C_Read... [14:02:08]Read from MH i2c: E2 0E 00 [14:02:08]MH_I2C_Read... [14:02:08]Read from MH i2c: E2 0E 00 D6 35 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 0E [14:02:08]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [14:02:08]wFMCommunicate OK [14:02:08]SAM_PROTO_GetShiftState done [14:02:08]FM_GetShiftState done [14:02:08]req_shift_opened done [14:02:08]requested_item shift.open_date is exist - process it [14:02:08]req_shift_open_date [14:02:08]req_shift_open_date done [14:02:08]produce_requested_data done [14:02:08]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48995,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [14:02:08]process_action_free close_receipt [14:02:08]json_value_free [14:02:08]json_value_free done [14:02:08]process_json_proto returns [14:02:08]Send response to host [14:02:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48995,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [14:02:08]free response buf [14:02:08]execute_script done [14:02:08]execute_script returns [14:02:08]free content buf [14:02:08]Sock 7.Close socket [14:02:08]Sock 7.Thread stoped [14:02:12]OFD Sender: No OFD packet to send [14:02:17]OFD Sender: No OFD packet to send [14:02:22]OFD Sender: No OFD packet to send [14:02:27]OFD Sender: No OFD packet to send [14:02:32]OFD Sender: No OFD packet to send [14:02:37]OFD Sender: No OFD packet to send [14:02:42]OFD Sender: No OFD packet to send [14:02:47]OFD Sender: No OFD packet to send [14:02:52]OFD Sender: No OFD packet to send [14:02:57]OFD Sender: No OFD packet to send [14:03:02]OFD Sender: No OFD packet to send [14:03:07]OFD Sender: No OFD packet to send [14:03:12]OFD Sender: No OFD packet to send [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:32]OFD Sender: No OFD packet to send [14:03:37]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]OFD Sender: No OFD packet to send [14:04:07]OFD Sender: No OFD packet to send [14:04:12]OFD Sender: No OFD packet to send [14:04:17]OFD Sender: No OFD packet to send [14:04:22]OFD Sender: No OFD packet to send [14:04:27]OFD Sender: No OFD packet to send [14:04:32]OFD Sender: No OFD packet to send [14:04:37]OFD Sender: No OFD packet to send [14:04:39]accept exits with 9 [14:04:39]New connection [14:04:39]New thread 3066813796 created [14:04:39]Thread 3066670436 joined [14:04:39]Waiting for new connection... [14:04:39] Sock 9.Parse request [14:04:39]Sock 9.Check first char [14:04:39]Sock 9.First char is OK [14:04:39]request: POST /json_proto HTTP/1.0 [14:04:39]Method: POST [14:04:39]URL: /json_proto [14:04:39]Method is POST - this is cgi request [14:04:39]url: /json_proto [14:04:39]query_string will be loaded in cgi processing [14:04:39]execute_cgi json_proto POST (null) [14:04:39]execute_cgi path=json_proto method=POST [14:04:39]POST find Content-Length [14:04:39]Host: 172.17.56.67:8080 [14:04:39]Content-Length: 677 [14:04:39]Content-Type: application/json [14:04:39] [14:04:39]POST finish read [14:04:39]Found Content-Length = 677 [14:04:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216098", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [14:04:39]execute_script... [14:04:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216098", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [14:04:39]POST & json_proto [14:04:39]process_json_proto [14:04:39]json parsed OK: [14:04:39]protocol is kg_v1.0 [14:04:39]action value=close_receipt [14:04:39]process_action close_receipt [14:04:39]cmd_close_receipt [14:04:39]MH_GetDate [14:04:39]Write to MH i2c: F0 00 00 D7 35 FB [14:04:39]Write i2c OK [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: F0 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: F0 09 00 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: F0 09 00 D7 35 00 00 5F B6 65 26 5D 9E 65 04 [14:04:39]GetLastDocTimeStamp 1706450533 [14:04:39]current date 1706450688 [14:04:39]FM_GetShiftState [14:04:39]SAM_PROTO_GetShiftState [14:04:39]wFMCommunicate request_size=4 [14:04:39]MH_SAM_APDU [14:04:39]CAPDU: 80 13 01 00 [14:04:39]Write to MH i2c: E2 08 00 D8 35 80 13 01 00 00 00 00 00 8A [14:04:39]Write i2c OK [14:04:39]MH_I2C_Read... [14:04:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:39]Read from MH i2c: E2 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: E2 0E 00 [14:04:39]MH_I2C_Read... [14:04:39]Read from MH i2c: E2 0E 00 D8 35 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 10 [14:04:39]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [14:04:39]wFMCommunicate OK [14:04:39]SAM_PROTO_GetShiftState done [14:04:39]FM_GetShiftState done [14:04:39]opened in 1706400199 [14:04:39]opened+sec_in_day 1706486599 [14:04:39]quantity*price = 30029 [14:04:39]sum+1 = 30030 [14:04:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 61 28.01.2024 14:04 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48996 ФПД: 269481725382918 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T140448&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48996&fm=269481725382918&tin=02508201610067®Number=0000000000092723&sum=30000 [14:04:40]StoreToDocumentArchive [14:04:40]shift 244 fd 48996 [14:04:40]save to /storage/0244/doc_00048996 [14:04:40]save last doc name /storage/0244/doc_00048996 to /storage/kkm_last_doc_name [14:04:40]save OK [14:04:40]Clear old archive folders... [14:04:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:04:40]tlvbuf is 0119A1D0 [14:04:40]SAM_PROTO_ClearQueue [14:04:40]wFMCommunicate request_size=4 [14:04:40]MH_SAM_APDU [14:04:40]CAPDU: 80 09 00 00 [14:04:40]Write to MH i2c: E2 08 00 E5 35 80 09 00 00 00 00 00 00 8C [14:04:40]Write i2c OK [14:04:40]MH_I2C_Read... [14:04:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:04:40]Read from MH i2c: E2 [14:04:40]MH_I2C_Read... [14:04:40]Read from MH i2c: E2 03 00 [14:04:40]MH_I2C_Read... [14:04:40]Read from MH i2c: E2 03 00 E5 35 00 90 00 8E [14:04:40]RAPDU: 90 00 [14:04:40]wFMCommunicate OK [14:04:40]SAM_PROTO_ClearQueue done [14:04:40]KKMCreateOFDPacket [14:04:40]OFDProtocolAddRootSTLVToBuf [14:04:40]FM_MakeSignedData [14:04:40]FM_MakeSignedData [14:04:40]SAM_PROTO_SignData [14:04:40]wFMCommunicate request_size=4 [14:04:40]MH_SAM_APDU [14:04:40]CAPDU: 80 0D 01 02 [14:04:40]Write to MH i2c: E2 08 00 E6 35 80 0D 01 02 00 00 00 00 94 [14:04:40]Write i2c OK [14:04:40]MH_I2C_Read... [14:04:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:04:40]Read from MH i2c: E2 [14:04:40]MH_I2C_Read... [14:04:40]Read from MH i2c: E2 03 00 [14:04:40]MH_I2C_Read... [14:04:40]Read from MH i2c: E2 03 00 E6 35 00 90 00 8F [14:04:40]RAPDU: 90 00 [14:04:40]wFMCommunicate OK [14:04:40]wFMCommunicate request_size=255 [14:04:40]MH_SAM_APDU [14:04:40]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 3D 00 00 00 F4 03 04 00 00 5F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 64 BF 00 00 35 04 06 00 F5 [14:04:40]Write to MH i2c: E2 02 01 E7 35 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 3D 00 00 00 F4 03 04 00 00 5F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 64 BF 00 00 35 04 06 00 F5 00 00 1D [14:04:40]Write i2c OK [14:04:40]MH_I2C_Read... [14:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:41]Read from MH i2c: E2 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 03 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 03 00 E7 35 00 90 00 90 [14:04:41]RAPDU: 90 00 [14:04:41]wFMCommunicate OK [14:04:41]wFMCommunicate request_size=10 [14:04:41]MH_SAM_APDU [14:04:41]CAPDU: 80 0D 02 02 05 17 9A 83 D1 06 [14:04:41]Write to MH i2c: E2 0D 00 E8 35 80 0D 02 02 05 00 17 9A 83 D1 06 00 00 AC [14:04:41]Write i2c OK [14:04:41]MH_I2C_Read... [14:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:41]Read from MH i2c: E2 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 03 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 03 00 E8 35 00 90 00 91 [14:04:41]RAPDU: 90 00 [14:04:41]wFMCommunicate OK [14:04:41]wFMCommunicate request_size=4 [14:04:41]MH_SAM_APDU [14:04:41]CAPDU: 80 0D 03 02 [14:04:41]Write to MH i2c: E2 08 00 E9 35 80 0D 03 02 00 00 00 00 99 [14:04:41]Write i2c OK [14:04:41]MH_I2C_Read... [14:04:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:04:41]Read from MH i2c: E2 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 0B 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 0B 00 E9 35 00 E0 73 4F 16 FA F0 A5 00 90 00 E1 [14:04:41]RAPDU: E0 73 4F 16 FA F0 A5 00 90 00 [14:04:41]wFMCommunicate OK [14:04:41]SAM_PROTO_SignData done [14:04:41]FM_MakeSignedData done [14:04:41]CreateOFDProtocolMessage [14:04:41]wFMCommunicate request_size=4 [14:04:41]MH_SAM_APDU [14:04:41]CAPDU: 80 11 00 00 [14:04:41]Write to MH i2c: E2 08 00 EA 35 80 11 00 00 00 00 00 00 99 [14:04:41]Write i2c OK [14:04:41]MH_I2C_Read... [14:04:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:41]Read from MH i2c: E2 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 17 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: E2 17 00 EA 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 E6 [14:04:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [14:04:41]wFMCommunicate OK [14:04:41]CreateOFDProtocolMessage done [14:04:41]OFDSenderStorePacket 48996 [14:04:41]StoreOFDPacket docnum=48996 [14:04:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 CD 1A 07 01 46 AC 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 3D 00 00 00 F4 03 04 00 00 5F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 64 BF 00 00 35 04 06 00 F5 17 9A 83 D1 06 E0 73 4F 16 FA F0 A5 00 [14:04:41]CheckFolder [14:04:41]dirname=/storage/ofd_packets [14:04:41]CheckFolder done [14:04:41]ProducePacketName [14:04:41]name=ofd_packets/00048996 [14:04:41]NVStorageSaveData ofd_packets/00048996 [14:04:41]File name is /storage/ofd_packets/00048996 [14:04:41]Write 301 bytes [14:04:41]NVStorageSaveData done [14:04:41]OFDSenderStorePacket done [14:04:41]KKMCreateOFDPacket done [14:04:41]NVStorageSaveData kkm_last_timestamp [14:04:41]File name is /storage/kkm_last_timestamp [14:04:41]Write 4 bytes [14:04:41]NVStorageSaveData done [14:04:41]ExternCall_PrintAddStr [14:04:41]wPrintStart [14:04:41]Write to MH i2c: 01 00 00 EB 35 20 [14:04:41]Write i2c OK [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: 01 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: 01 07 00 [14:04:41]MH_I2C_Read... [14:04:41]Read from MH i2c: 01 07 00 EB 35 00 00 00 00 00 FF 0F 35 [14:04:41]RasterBufferAndPrint [14:04:41]line Счет N : (1)216098 [14:04:41]line ИÐÐ: 02508201610067 [14:04:41]line Контрольно-КаÑÑовый Чек [14:04:41]line ПРОДÐЖР[14:04:41]line ТРК (МРК, ГÐК) : 22 [14:04:41]line Товар: 2710124130 [14:04:41]line Ðи-92-К-5 [14:04:41]line 4.980 * 60.30 [14:04:41]line = 300.29 [14:04:41]line ÐДС 12% ÐСП 1% [14:04:41]line > о реализуемом товаре [14:04:41]line ОКРУГЛЕÐИЕ: -0.29 [14:04:41]line ИТОГО: 300.00 [14:04:41]line ВнеÑено: 300.00 [14:04:41]line СДÐЧÐ: 0.00 [14:04:41]line ÐСП 1% : 2.66 [14:04:41]line ÐДС 12% : 31.89 [14:04:41]line Ðаличными: 300.00 [14:04:41]line Безнал.: 0.00 [14:04:41]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [14:04:41]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [14:04:41]line СÐО: Общий режим [14:04:41]line Чек 61 28.01.2024 14:04 [14:04:41]line Смена: 244 ФФД: 1.0 [14:04:41]line ЗÐМ: 0300000040 [14:04:41]line РÐМ: 0000000000092723 [14:04:41]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:04:41]line ФМ: 0000000000875060 [14:04:41]line ФД: 48996 [14:04:41]line ФПД: 269481725382918 [14:04:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T140448&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48996&fm=269481725382918&tin=02508201610067®Number=0000000000092723&sum=30000 [14:04:41]OFD Sender: Processing packet 48996 [packets to send 12, broken 11] [14:04:41]ProducePacketName [14:04:41]name=ofd_packets/00048996 [14:04:41]OFD Sender: To server: ‡•öpG, [14:04:41]CommunicateWithHost lk.salyk.kg:30040 [14:04:41]ConnectInit lk.salyk.kg [14:04:41]written 0, free lines is 4095 [14:04:41]Connected sock=11 [14:04: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 30 36 30 0F 01 00 00 CD 1A 07 01 46 AC 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 3D 00 00 00 F4 03 04 00 00 5F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 64 BF 00 00 35 04 06 00 F5 17 9A 83 D1 06 E0 73 4F 16 FA F0 A5 00 [14:04:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 EC EA 47 00 45 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 64 BF 00 00 F4 03 04 00 FB 0A B6 65 B6 04 01 00 00 32 F2 CC 21 B7 B0 BD A0 [14:04:41]CommunicateWithHost err = 0 [14:04:41]CheckOFDResponse [14:04:41]1017 (14) - 77093643461234 [14:04:41]1041 (16) - 0000000000875060 [14:04:41]1040 (4) - 48996 [14:04:41]1012 (4) - 28.01.2024 08:06 [14:04:41]1206 (1) - 0 [14:04:41]OFD Sender: Remove packet 48996 [14:04:41]ProducePacketName [14:04:41]name=ofd_packets/00048996 [14:04:41]NVStorageDeleteData [14:04:42]Write to MH i2c: 01 00 00 16 36 4C [14:04:42]Write i2c OK [14:04:42]MH_I2C_Read... [14:04:42]Read from MH i2c: 01 [14:04:42]MH_I2C_Read... [14:04:42]Read from MH i2c: 01 07 00 [14:04:42]MH_I2C_Read... [14:04:42]Read from MH i2c: 01 07 00 16 36 00 00 00 00 00 03 0D 63 [14:04:42]RasterBufferAndPrint [14:04:42]line [14:04:42]line [14:04:42]line [14:04:42]line [14:04:42]line [14:04:42]written 0, free lines is 3337 [14:04:42]MH_Cut [14:04:42]Write to MH i2c: D1 01 00 1D 36 01 25 [14:04:42]Write i2c OK [14:04:42]MH_I2C_Read... [14:04:42]Read from MH i2c: D1 [14:04:42]MH_I2C_Read... [14:04:42]Read from MH i2c: D1 01 00 [14:04:42]MH_I2C_Read... [14:04:42]Read from MH i2c: D1 01 00 1D 36 00 24 [14:04:42]Write to MH i2c: 01 00 00 1E 36 54 [14:04:42]Write i2c OK [14:04:42]MH_I2C_Read... [14:04:42]OFD Sender: No OFD packet to send [14:04:42]*** Cut start [14:04:42]*** Partial cut [14:04:42]*** CUTSNS_PIN = 1 [14:04:42]*** CUTSNS_PIN = 0 [14:04:43]*** Brake cut motor [14:04:43]Read from MH i2c: 01 [14:04:43]MH_I2C_Read... [14:04:43]*** Stop cut motor [14:04:43]*** Cut end [14:04:43]Read from MH i2c: 01 07 00 [14:04:43]MH_I2C_Read... [14:04:43]Read from MH i2c: 01 07 00 1E 36 00 00 00 00 00 FF 0F 69 [14:04:43]process_action close_receipt done [14:04:43]requested_data is exist [14:04:43]produce_requested_data [14:04:43]requested_item fm.sn is exist - process it [14:04:43]wFMCommunicate request_size=4 [14:04:43]MH_SAM_APDU [14:04:43]CAPDU: 80 11 00 00 [14:04:43]Write to MH i2c: E2 08 00 1F 36 80 11 00 00 00 00 00 00 CF [14:04:43]Write i2c OK [14:04:43]MH_I2C_Read... [14:04:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:43]Read from MH i2c: E2 [14:04:43]MH_I2C_Read... [14:04:43]Read from MH i2c: E2 17 00 [14:04:43]MH_I2C_Read... [14:04:43]Read from MH i2c: E2 17 00 1F 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 1C [14:04:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [14:04:43]wFMCommunicate OK [14:04:43]requested_item fd.num is exist - process it [14:04:43]SAM_PROTO_GetFieldsCounters [14:04:43]wFMCommunicate request_size=4 [14:04:43]MH_SAM_APDU [14:04:43]CAPDU: 80 13 00 00 [14:04:43]Write to MH i2c: E2 08 00 20 36 80 13 00 00 00 00 00 00 D2 [14:04:43]Write i2c OK [14:04:43]MH_I2C_Read... [14:04:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:04:43]Read from MH i2c: E2 [14:04:43]MH_I2C_Read... [14:04:43]Read from MH i2c: E2 62 00 [14:04:43]MH_I2C_Read... [14:04:43]Read from MH i2c: E2 62 00 20 36 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 64 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 B9 [14:04: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 64 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:04:43]wFMCommunicate OK [14:04:43]SAM_PROTO_GetFieldsCounters done [14:04:43]requested_item shift.num is exist - process it [14:04:43]requested_item shift.opened is exist - process it [14:04:43]req_shift_opened [14:04:43]FM_GetShiftState [14:04:43]SAM_PROTO_GetShiftState [14:04:43]wFMCommunicate request_size=4 [14:04:43]MH_SAM_APDU [14:04:43]CAPDU: 80 13 01 00 [14:04:43]Write to MH i2c: E2 08 00 21 36 80 13 01 00 00 00 00 00 D4 [14:04:43]Write i2c OK [14:04:43]MH_I2C_Read... [14:04:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:43]Read from MH i2c: E2 [14:04:43]MH_I2C_Read... [14:04:43]Read from MH i2c: E2 0E 00 [14:04:43]MH_I2C_Read... [14:04:43]Read from MH i2c: E2 0E 00 21 36 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 5A [14:04:43]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [14:04:43]wFMCommunicate OK [14:04:43]SAM_PROTO_GetShiftState done [14:04:43]FM_GetShiftState done [14:04:43]req_shift_opened done [14:04:43]requested_item shift.open_date is exist - process it [14:04:43]req_shift_open_date [14:04:43]req_shift_open_date done [14:04:43]produce_requested_data done [14:04:43]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48996,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [14:04:43]process_action_free close_receipt [14:04:43]json_value_free [14:04:43]json_value_free done [14:04:43]process_json_proto returns [14:04:43]Send response to host [14:04:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48996,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [14:04:43]free response buf [14:04:43]execute_script done [14:04:43]execute_script returns [14:04:43]free content buf [14:04:43]Sock 9.Close socket [14:04:43]Sock 9.Thread stoped [14:04:45]accept exits with 10 [14:04:45]New connection [14:04:45]New thread 3066670436 created [14:04:45]Thread 3066813796 joined [14:04:45]Waiting for new connection... [14:04:45] Sock 10.Parse request [14:04:45]Sock 10.Check first char [14:04:45]Sock 10.First char is OK [14:04:45]request: POST /json_proto HTTP/1.0 [14:04:45]Method: POST [14:04:45]URL: /json_proto [14:04:45]Method is POST - this is cgi request [14:04:45]url: /json_proto [14:04:45]query_string will be loaded in cgi processing [14:04:45]execute_cgi json_proto POST (null) [14:04:45]execute_cgi path=json_proto method=POST [14:04:45]POST find Content-Length [14:04:45]Host: 172.17.56.67:8080 [14:04:45]Content-Length: 682 [14:04:45]Content-Type: application/json [14:04:45] [14:04:45]POST finish read [14:04:45]Found Content-Length = 682 [14:04:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216097", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [14:04:45]execute_script... [14:04: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 : (1)216097", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [14:04:45]POST & json_proto [14:04:45]process_json_proto [14:04:45]json parsed OK: [14:04:45]protocol is kg_v1.0 [14:04:45]action value=close_receipt [14:04:45]process_action close_receipt [14:04:45]cmd_close_receipt [14:04:45]MH_GetDate [14:04:45]Write to MH i2c: F0 00 00 22 36 47 [14:04:45]Write i2c OK [14:04:45]MH_I2C_Read... [14:04:45]Read from MH i2c: F0 [14:04:45]MH_I2C_Read... [14:04:45]Read from MH i2c: F0 09 00 [14:04:45]MH_I2C_Read... [14:04:45]Read from MH i2c: F0 09 00 22 36 00 06 5F B6 65 26 5D 9E 65 56 [14:04:45]GetLastDocTimeStamp 1706450688 [14:04:45]current date 1706450694 [14:04:45]FM_GetShiftState [14:04:45]SAM_PROTO_GetShiftState [14:04:45]wFMCommunicate request_size=4 [14:04:45]MH_SAM_APDU [14:04:45]CAPDU: 80 13 01 00 [14:04:45]Write to MH i2c: E2 08 00 23 36 80 13 01 00 00 00 00 00 D6 [14:04:45]Write i2c OK [14:04:45]MH_I2C_Read... [14:04:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:45]Read from MH i2c: E2 [14:04:45]MH_I2C_Read... [14:04:45]Read from MH i2c: E2 0E 00 [14:04:45]MH_I2C_Read... [14:04:45]Read from MH i2c: E2 0E 00 23 36 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 5C [14:04:45]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [14:04:45]wFMCommunicate OK [14:04:45]SAM_PROTO_GetShiftState done [14:04:45]FM_GetShiftState done [14:04:45]opened in 1706400199 [14:04:45]opened+sec_in_day 1706486599 [14:04:45]quantity*price = 100037 [14:04:45]sum+1 = 100039 [14:04:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.23 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 62 28.01.2024 14:04 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48997 ФПД: 59471093641010 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T140454&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48997&fm=59471093641010&tin=02508201610067®Number=0000000000092723&sum=100000 [14:04:46]StoreToDocumentArchive [14:04:46]shift 244 fd 48997 [14:04:46]save to /storage/0244/doc_00048997 [14:04:46]save last doc name /storage/0244/doc_00048997 to /storage/kkm_last_doc_name [14:04:46]save OK [14:04:46]Clear old archive folders... [14:04:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:04:46]tlvbuf is 0121E350 [14:04:46]SAM_PROTO_ClearQueue [14:04:46]wFMCommunicate request_size=4 [14:04:46]MH_SAM_APDU [14:04:46]CAPDU: 80 09 00 00 [14:04:46]Write to MH i2c: E2 08 00 30 36 80 09 00 00 00 00 00 00 D8 [14:04:46]Write i2c OK [14:04:46]MH_I2C_Read... [14:04:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:04:46]Read from MH i2c: E2 [14:04:46]MH_I2C_Read... [14:04:46]Read from MH i2c: E2 03 00 [14:04:46]MH_I2C_Read... [14:04:46]Read from MH i2c: E2 03 00 30 36 00 90 00 DA [14:04:46]RAPDU: 90 00 [14:04:46]wFMCommunicate OK [14:04:46]SAM_PROTO_ClearQueue done [14:04:46]KKMCreateOFDPacket [14:04:46]OFDProtocolAddRootSTLVToBuf [14:04:46]FM_MakeSignedData [14:04:46]FM_MakeSignedData [14:04:46]SAM_PROTO_SignData [14:04:46]wFMCommunicate request_size=4 [14:04:46]MH_SAM_APDU [14:04:46]CAPDU: 80 0D 01 02 [14:04:46]Write to MH i2c: E2 08 00 31 36 80 0D 01 02 00 00 00 00 E0 [14:04:46]Write i2c OK [14:04:46]MH_I2C_Read... [14:04:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:04:47]Read from MH i2c: E2 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 03 00 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 03 00 31 36 00 90 00 DB [14:04:47]RAPDU: 90 00 [14:04:47]wFMCommunicate OK [14:04:47]wFMCommunicate request_size=255 [14:04:47]MH_SAM_APDU [14:04:47]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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 3E 00 00 00 F4 03 04 00 06 5F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 65 BF 00 00 35 04 06 00 36 [14:04:47]Write to MH i2c: E2 02 01 32 36 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 3E 00 00 00 F4 03 04 00 06 5F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 65 BF 00 00 35 04 06 00 36 00 00 5C [14:04:47]Write i2c OK [14:04:47]MH_I2C_Read... [14:04:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:47]Read from MH i2c: E2 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 03 00 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 03 00 32 36 00 90 00 DC [14:04:47]RAPDU: 90 00 [14:04:47]wFMCommunicate OK [14:04:47]wFMCommunicate request_size=10 [14:04:47]MH_SAM_APDU [14:04:47]CAPDU: 80 0D 02 02 05 16 B1 69 2F 32 [14:04:47]Write to MH i2c: E2 0D 00 33 36 80 0D 02 02 05 00 16 B1 69 2F 32 00 00 7E [14:04:47]Write i2c OK [14:04:47]MH_I2C_Read... [14:04:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:47]Read from MH i2c: E2 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 03 00 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 03 00 33 36 00 90 00 DD [14:04:47]RAPDU: 90 00 [14:04:47]wFMCommunicate OK [14:04:47]wFMCommunicate request_size=4 [14:04:47]MH_SAM_APDU [14:04:47]CAPDU: 80 0D 03 02 [14:04:47]Write to MH i2c: E2 08 00 34 36 80 0D 03 02 00 00 00 00 E5 [14:04:47]Write i2c OK [14:04:47]MH_I2C_Read... [14:04:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:04:47]Read from MH i2c: E2 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 0B 00 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 0B 00 34 36 00 49 BB EA DA 18 74 DF 50 90 00 69 [14:04:47]RAPDU: 49 BB EA DA 18 74 DF 50 90 00 [14:04:47]wFMCommunicate OK [14:04:47]SAM_PROTO_SignData done [14:04:47]FM_MakeSignedData done [14:04:47]CreateOFDProtocolMessage [14:04:47]wFMCommunicate request_size=4 [14:04:47]MH_SAM_APDU [14:04:47]CAPDU: 80 11 00 00 [14:04:47]Write to MH i2c: E2 08 00 35 36 80 11 00 00 00 00 00 00 E5 [14:04:47]OFD Sender: No OFD packet to send [14:04:47]Write i2c OK [14:04:47]MH_I2C_Read... [14:04:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:47]Read from MH i2c: E2 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 17 00 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: E2 17 00 35 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 32 [14:04:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [14:04:47]wFMCommunicate OK [14:04:47]CreateOFDProtocolMessage done [14:04:47]OFDSenderStorePacket 48997 [14:04:47]StoreOFDPacket docnum=48997 [14:04:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 A8 51 07 01 E7 6E 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 3E 00 00 00 F4 03 04 00 06 5F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 65 BF 00 00 35 04 06 00 36 16 B1 69 2F 32 49 BB EA DA 18 74 DF 50 [14:04:47]CheckFolder [14:04:47]dirname=/storage/ofd_packets [14:04:47]CheckFolder done [14:04:47]ProducePacketName [14:04:47]name=ofd_packets/00048997 [14:04:47]NVStorageSaveData ofd_packets/00048997 [14:04:47]File name is /storage/ofd_packets/00048997 [14:04:47]Write 301 bytes [14:04:47]NVStorageSaveData done [14:04:47]OFDSenderStorePacket done [14:04:47]KKMCreateOFDPacket done [14:04:47]NVStorageSaveData kkm_last_timestamp [14:04:47]File name is /storage/kkm_last_timestamp [14:04:47]Write 4 bytes [14:04:47]NVStorageSaveData done [14:04:47]ExternCall_PrintAddStr [14:04:47]wPrintStart [14:04:47]Write to MH i2c: 01 00 00 36 36 6C [14:04:47]Write i2c OK [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: 01 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: 01 07 00 [14:04:47]MH_I2C_Read... [14:04:47]Read from MH i2c: 01 07 00 36 36 00 00 00 00 00 FF 0F 81 [14:04:47]RasterBufferAndPrint [14:04:47]line Счет N : (1)216097 [14:04:47]line ИÐÐ: 02508201610067 [14:04:47]line Контрольно-КаÑÑовый Чек [14:04:47]line ПРОДÐЖР[14:04:47]line ТРК (МРК, ГÐК) : 12 [14:04:47]line Товар: 2710124130 [14:04:47]line Ðи-92-К-5 [14:04:47]line 16.590 * 60.30 [14:04:47]line = 1000.38 [14:04:47]line ÐДС 12% ÐСП 1% [14:04:47]line > о реализуемом товаре [14:04:47]line ОКРУГЛЕÐИЕ: -0.38 [14:04:47]line ИТОГО: 1000.00 [14:04:47]line ВнеÑено: 1000.00 [14:04:47]line СДÐЧÐ: 0.00 [14:04:47]line ÐСП 1% : 8.85 [14:04:47]line ÐДС 12% : 106.23 [14:04:47]line Ðаличными: 1000.00 [14:04:47]line Безнал.: 0.00 [14:04:47]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [14:04:47]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [14:04:47]line СÐО: Общий режим [14:04:47]line Чек 62 28.01.2024 14:04 [14:04:47]line Смена: 244 ФФД: 1.0 [14:04:47]line ЗÐМ: 0300000040 [14:04:47]line РÐМ: 0000000000092723 [14:04:47]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:04:47]line ФМ: 0000000000875060 [14:04:47]line ФД: 48997 [14:04:47]OFD Sender: Processing packet 48997 [packets to send 12, broken 11] [14:04:47]ProducePacketName [14:04:47]name=ofd_packets/00048997 [14:04:47]OFD Sender: To server: ‡•öpG, [14:04:47]CommunicateWithHost lk.salyk.kg:30040 [14:04:47]ConnectInit lk.salyk.kg [14:04:47]line ФПД: 59471093641010 [14:04:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T140454&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48997&fm=59471093641010&tin=02508201610067®Number=0000000000092723&sum=100000 [14:04:47]written 0, free lines is 4095 [14:04:47]Connected sock=11 [14:04: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 30 36 30 0F 01 00 00 A8 51 07 01 E7 6E 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 3E 00 00 00 F4 03 04 00 06 5F B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 65 BF 00 00 35 04 06 00 36 16 B1 69 2F 32 49 BB EA DA 18 74 DF 50 [14:04:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 4D A5 47 00 D9 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 65 BF 00 00 F4 03 04 00 01 0B B6 65 B6 04 01 00 00 70 55 E0 A9 9A EA 7A 57 [14:04:47]CommunicateWithHost err = 0 [14:04:47]CheckOFDResponse [14:04:47]1017 (14) - 77093643461234 [14:04:47]1041 (16) - 0000000000875060 [14:04:47]1040 (4) - 48997 [14:04:47]1012 (4) - 28.01.2024 08:06 [14:04:47]1206 (1) - 0 [14:04:47]OFD Sender: Remove packet 48997 [14:04:47]ProducePacketName [14:04:47]name=ofd_packets/00048997 [14:04:47]NVStorageDeleteData [14:04:48]Write to MH i2c: 01 00 00 61 36 97 [14:04:48]Write i2c OK [14:04:48]MH_I2C_Read... [14:04:48]Read from MH i2c: 01 [14:04:48]MH_I2C_Read... [14:04:48]Read from MH i2c: 01 07 00 [14:04:48]MH_I2C_Read... [14:04:48]Read from MH i2c: 01 07 00 61 36 00 00 00 00 00 0C 0D B7 [14:04:48]RasterBufferAndPrint [14:04:48]line [14:04:48]line [14:04:48]line [14:04:48]line [14:04:48]line [14:04:48]written 0, free lines is 3358 [14:04:48]MH_Cut [14:04:48]Write to MH i2c: D1 01 00 68 36 01 70 [14:04:48]Write i2c OK [14:04:48]MH_I2C_Read... [14:04:48]Read from MH i2c: D1 [14:04:48]MH_I2C_Read... [14:04:48]Read from MH i2c: D1 01 00 [14:04:48]MH_I2C_Read... [14:04:48]Read from MH i2c: D1 01 00 68 36 00 6F [14:04:48]Write to MH i2c: 01 00 00 69 36 9F [14:04:48]Write i2c OK [14:04:48]MH_I2C_Read... [14:04:48]OFD Sender: No OFD packet to send [14:04:48]*** Cut start [14:04:48]*** Partial cut [14:04:48]*** CUTSNS_PIN = 1 [14:04:48]*** CUTSNS_PIN = 0 [14:04:48]*** Brake cut motor [14:04:49]Read from MH i2c: 01 [14:04:49]MH_I2C_Read... [14:04:49]*** Stop cut motor [14:04:49]*** Cut end [14:04:49]Read from MH i2c: 01 07 00 [14:04:49]MH_I2C_Read... [14:04:49]Read from MH i2c: 01 07 00 69 36 00 00 00 00 00 FF 0F B4 [14:04:49]process_action close_receipt done [14:04:49]requested_data is exist [14:04:49]produce_requested_data [14:04:49]requested_item fm.sn is exist - process it [14:04:49]wFMCommunicate request_size=4 [14:04:49]MH_SAM_APDU [14:04:49]CAPDU: 80 11 00 00 [14:04:49]Write to MH i2c: E2 08 00 6A 36 80 11 00 00 00 00 00 00 1A [14:04:49]Write i2c OK [14:04:49]MH_I2C_Read... [14:04:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:49]Read from MH i2c: E2 [14:04:49]MH_I2C_Read... [14:04:49]Read from MH i2c: E2 17 00 [14:04:49]MH_I2C_Read... [14:04:49]Read from MH i2c: E2 17 00 6A 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 67 [14:04:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [14:04:49]wFMCommunicate OK [14:04:49]requested_item fd.num is exist - process it [14:04:49]SAM_PROTO_GetFieldsCounters [14:04:49]wFMCommunicate request_size=4 [14:04:49]MH_SAM_APDU [14:04:49]CAPDU: 80 13 00 00 [14:04:49]Write to MH i2c: E2 08 00 6B 36 80 13 00 00 00 00 00 00 1D [14:04:49]Write i2c OK [14:04:49]MH_I2C_Read... [14:04:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:04:49]Read from MH i2c: E2 [14:04:49]MH_I2C_Read... [14:04:49]Read from MH i2c: E2 62 00 [14:04:49]MH_I2C_Read... [14:04:49]Read from MH i2c: E2 62 00 6B 36 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 65 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [14:04: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 65 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:04:49]wFMCommunicate OK [14:04:49]SAM_PROTO_GetFieldsCounters done [14:04:49]requested_item shift.num is exist - process it [14:04:49]requested_item shift.opened is exist - process it [14:04:49]req_shift_opened [14:04:49]FM_GetShiftState [14:04:49]SAM_PROTO_GetShiftState [14:04:49]wFMCommunicate request_size=4 [14:04:49]MH_SAM_APDU [14:04:49]CAPDU: 80 13 01 00 [14:04:49]Write to MH i2c: E2 08 00 6C 36 80 13 01 00 00 00 00 00 1F [14:04:49]Write i2c OK [14:04:49]MH_I2C_Read... [14:04:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:49]Read from MH i2c: E2 [14:04:49]MH_I2C_Read... [14:04:49]Read from MH i2c: E2 0E 00 [14:04:49]MH_I2C_Read... [14:04:49]Read from MH i2c: E2 0E 00 6C 36 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A5 [14:04:49]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [14:04:49]wFMCommunicate OK [14:04:49]SAM_PROTO_GetShiftState done [14:04:49]FM_GetShiftState done [14:04:49]req_shift_opened done [14:04:49]requested_item shift.open_date is exist - process it [14:04:49]req_shift_open_date [14:04:49]req_shift_open_date done [14:04:49]produce_requested_data done [14:04:49]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48997,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [14:04:49]process_action_free close_receipt [14:04:49]json_value_free [14:04:49]json_value_free done [14:04:49]process_json_proto returns [14:04:49]Send response to host [14:04:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48997,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [14:04:49]free response buf [14:04:49]execute_script done [14:04:49]execute_script returns [14:04:49]free content buf [14:04:49]Sock 10.Close socket [14:04:49]Sock 10.Thread stoped [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:03]OFD Sender: No OFD packet to send [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:03]OFD Sender: No OFD packet to send [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19:59]OFD Sender: No OFD packet to send [14:20:04]OFD Sender: No OFD packet to send [14:20:09]OFD Sender: No OFD packet to send [14:20:14]OFD Sender: No OFD packet to send [14:20:19]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:22]accept exits with 9 [14:27:22]New connection [14:27:22]New thread 3066813796 created [14:27:22]Thread 3066670436 joined [14:27:22]Waiting for new connection... [14:27:22] Sock 9.Parse request [14:27:22]Sock 9.Check first char [14:27:22]Sock 9.First char is OK [14:27:22]request: POST /json_proto HTTP/1.0 [14:27:22]Method: POST [14:27:22]URL: /json_proto [14:27:22]Method is POST - this is cgi request [14:27:22]url: /json_proto [14:27:22]query_string will be loaded in cgi processing [14:27:22]execute_cgi json_proto POST (null) [14:27:22]execute_cgi path=json_proto method=POST [14:27:22]POST find Content-Length [14:27:22]Host: 172.17.56.67:8080 [14:27:22]Content-Length: 677 [14:27:22]Content-Type: application/json [14:27:22] [14:27:22]POST finish read [14:27:22]Found Content-Length = 677 [14:27:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216099", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [14:27:22]execute_script... [14:27: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 : (1)216099", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.980, "sum" : 300.29, "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" ] } } [14:27:22]POST & json_proto [14:27:22]process_json_proto [14:27:22]json parsed OK: [14:27:22]protocol is kg_v1.0 [14:27:22]action value=close_receipt [14:27:22]process_action close_receipt [14:27:22]cmd_close_receipt [14:27:22]MH_GetDate [14:27:22]Write to MH i2c: F0 00 00 6D 36 92 [14:27:22]Write i2c OK [14:27:22]MH_I2C_Read... [14:27:22]Read from MH i2c: F0 [14:27:22]MH_I2C_Read... [14:27:22]Read from MH i2c: F0 09 00 [14:27:22]MH_I2C_Read... [14:27:22]Read from MH i2c: F0 09 00 6D 36 00 53 64 B6 65 26 5D 9E 65 F3 [14:27:22]GetLastDocTimeStamp 1706450694 [14:27:22]current date 1706452051 [14:27:22]FM_GetShiftState [14:27:22]SAM_PROTO_GetShiftState [14:27:22]wFMCommunicate request_size=4 [14:27:22]MH_SAM_APDU [14:27:22]CAPDU: 80 13 01 00 [14:27:22]Write to MH i2c: E2 08 00 6E 36 80 13 01 00 00 00 00 00 21 [14:27:22]Write i2c OK [14:27:22]MH_I2C_Read... [14:27:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:27:22]Read from MH i2c: E2 [14:27:22]MH_I2C_Read... [14:27:22]Read from MH i2c: E2 0E 00 [14:27:22]MH_I2C_Read... [14:27:22]Read from MH i2c: E2 0E 00 6E 36 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A7 [14:27:22]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [14:27:22]wFMCommunicate OK [14:27:22]SAM_PROTO_GetShiftState done [14:27:22]FM_GetShiftState done [14:27:22]opened in 1706400199 [14:27:22]opened+sec_in_day 1706486599 [14:27:22]quantity*price = 30029 [14:27:22]sum+1 = 30030 [14:27:22]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.89 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 63 28.01.2024 14:27 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48998 ФПД: 39257111106713 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T142731&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48998&fm=39257111106713&tin=02508201610067®Number=0000000000092723&sum=30000 [14:27:23]StoreToDocumentArchive [14:27:23]shift 244 fd 48998 [14:27:23]save to /storage/0244/doc_00048998 [14:27:23]save last doc name /storage/0244/doc_00048998 to /storage/kkm_last_doc_name [14:27:23]save OK [14:27:23]Clear old archive folders... [14:27:23]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:27:23]tlvbuf is 011F8620 [14:27:23]SAM_PROTO_ClearQueue [14:27:23]wFMCommunicate request_size=4 [14:27:23]MH_SAM_APDU [14:27:23]CAPDU: 80 09 00 00 [14:27:23]Write to MH i2c: E2 08 00 7B 36 80 09 00 00 00 00 00 00 23 [14:27:23]Write i2c OK [14:27:23]MH_I2C_Read... [14:27:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:27:23]Read from MH i2c: E2 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 03 00 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 03 00 7B 36 00 90 00 25 [14:27:23]RAPDU: 90 00 [14:27:23]wFMCommunicate OK [14:27:23]SAM_PROTO_ClearQueue done [14:27:23]KKMCreateOFDPacket [14:27:23]OFDProtocolAddRootSTLVToBuf [14:27:23]FM_MakeSignedData [14:27:23]FM_MakeSignedData [14:27:23]SAM_PROTO_SignData [14:27:23]wFMCommunicate request_size=4 [14:27:23]MH_SAM_APDU [14:27:23]CAPDU: 80 0D 01 02 [14:27:23]Write to MH i2c: E2 08 00 7C 36 80 0D 01 02 00 00 00 00 2B [14:27:23]Write i2c OK [14:27:23]MH_I2C_Read... [14:27:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:27:23]Read from MH i2c: E2 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 03 00 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 03 00 7C 36 00 90 00 26 [14:27:23]RAPDU: 90 00 [14:27:23]wFMCommunicate OK [14:27:23]wFMCommunicate request_size=255 [14:27:23]MH_SAM_APDU [14:27:23]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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 3F 00 00 00 F4 03 04 00 53 64 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 66 BF 00 00 35 04 06 00 23 [14:27:23]Write to MH i2c: E2 02 01 7D 36 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 3F 00 00 00 F4 03 04 00 53 64 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 66 BF 00 00 35 04 06 00 23 00 00 3E [14:27:23]Write i2c OK [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 [14:27:23]MH_I2C_Read... [14:27:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:27:23]Read from MH i2c: E2 03 00 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 03 00 7D 36 00 90 00 27 [14:27:23]RAPDU: 90 00 [14:27:23]wFMCommunicate OK [14:27:23]wFMCommunicate request_size=10 [14:27:23]MH_SAM_APDU [14:27:23]CAPDU: 80 0D 02 02 05 B4 42 29 94 99 [14:27:23]Write to MH i2c: E2 0D 00 7E 36 80 0D 02 02 05 00 B4 42 29 94 99 00 00 84 [14:27:23]Write i2c OK [14:27:23]MH_I2C_Read... [14:27:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:27:23]Read from MH i2c: E2 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 03 00 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 03 00 7E 36 00 90 00 28 [14:27:23]RAPDU: 90 00 [14:27:23]wFMCommunicate OK [14:27:23]wFMCommunicate request_size=4 [14:27:23]MH_SAM_APDU [14:27:23]CAPDU: 80 0D 03 02 [14:27:23]Write to MH i2c: E2 08 00 7F 36 80 0D 03 02 00 00 00 00 30 [14:27:23]Write i2c OK [14:27:23]MH_I2C_Read... [14:27:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:27:23]Read from MH i2c: E2 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 0B 00 [14:27:23]MH_I2C_Read... [14:27:23]Read from MH i2c: E2 0B 00 7F 36 00 CB E9 5F 39 47 7D 41 EA 90 00 6C [14:27:23]RAPDU: CB E9 5F 39 47 7D 41 EA 90 00 [14:27:23]wFMCommunicate OK [14:27:23]SAM_PROTO_SignData done [14:27:23]FM_MakeSignedData done [14:27:23]CreateOFDProtocolMessage [14:27:23]wFMCommunicate request_size=4 [14:27:23]MH_SAM_APDU [14:27:23]CAPDU: 80 11 00 00 [14:27:23]Write to MH i2c: E2 08 00 80 36 80 11 00 00 00 00 00 00 30 [14:27:23]Write i2c OK [14:27:23]MH_I2C_Read... [14:27:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:27:24]Read from MH i2c: E2 [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: E2 17 00 [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: E2 17 00 80 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 7D [14:27:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [14:27:24]wFMCommunicate OK [14:27:24]CreateOFDProtocolMessage done [14:27:24]OFDSenderStorePacket 48998 [14:27:24]StoreOFDPacket docnum=48998 [14:27:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 DB 7D 07 01 7F 84 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 3F 00 00 00 F4 03 04 00 53 64 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 66 BF 00 00 35 04 06 00 23 B4 42 29 94 99 CB E9 5F 39 47 7D 41 EA [14:27:24]CheckFolder [14:27:24]dirname=/storage/ofd_packets [14:27:24]CheckFolder done [14:27:24]ProducePacketName [14:27:24]name=ofd_packets/00048998 [14:27:24]NVStorageSaveData ofd_packets/00048998 [14:27:24]File name is /storage/ofd_packets/00048998 [14:27:24]Write 301 bytes [14:27:24]NVStorageSaveData done [14:27:24]OFDSenderStorePacket done [14:27:24]KKMCreateOFDPacket done [14:27:24]NVStorageSaveData kkm_last_timestamp [14:27:24]File name is /storage/kkm_last_timestamp [14:27:24]Write 4 bytes [14:27:24]NVStorageSaveData done [14:27:24]ExternCall_PrintAddStr [14:27:24]wPrintStart [14:27:24]Write to MH i2c: 01 00 00 81 36 B7 [14:27:24]Write i2c OK [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: 01 [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: 01 07 00 [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: 01 07 00 81 36 00 00 00 00 00 FF 0F CC [14:27:24]RasterBufferAndPrint [14:27:24]line Счет N : (1)216099 [14:27:24]line ИÐÐ: 02508201610067 [14:27:24]line Контрольно-КаÑÑовый Чек [14:27:24]line ПРОДÐЖР[14:27:24]line ТРК (МРК, ГÐК) : 12 [14:27:24]line Товар: 2710124130 [14:27:24]line Ðи-92-К-5 [14:27:24]line 4.980 * 60.30 [14:27:24]line = 300.29 [14:27:24]line ÐДС 12% ÐСП 1% [14:27:24]line > о реализуемом товаре [14:27:24]line ОКРУГЛЕÐИЕ: -0.29 [14:27:24]line ИТОГО: 300.00 [14:27:24]line ВнеÑено: 300.00 [14:27:24]line СДÐЧÐ: 0.00 [14:27:24]line ÐСП 1% : 2.66 [14:27:24]line ÐДС 12% : 31.89 [14:27:24]line Ðаличными: 300.00 [14:27:24]line Безнал.: 0.00 [14:27:24]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [14:27:24]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [14:27:24]line СÐО: Общий режим [14:27:24]line Чек 63 28.01.2024 14:27 [14:27:24]line Смена: 244 ФФД: 1.0 [14:27:24]line ЗÐМ: 0300000040 [14:27:24]line РÐМ: 0000000000092723 [14:27:24]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:27:24]line ФМ: 0000000000875060 [14:27:24]line ФД: 48998 [14:27:24]line ФПД: 39257111106713 [14:27:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T142731&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48998&fm=39257111106713&tin=02508201610067®Number=0000000000092723&sum=30000 [14:27:24]OFD Sender: Processing packet 48998 [packets to send 12, broken 11] [14:27:24]ProducePacketName [14:27:24]name=ofd_packets/00048998 [14:27:24]OFD Sender: To server: ‡•öpG, [14:27:24]CommunicateWithHost lk.salyk.kg:30040 [14:27:24]ConnectInit lk.salyk.kg [14:27:24]written 0, free lines is 4095 [14:27:24]Connected sock=10 [14:27: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 30 36 30 0F 01 00 00 DB 7D 07 01 7F 84 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 74 13 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4D 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 3F 00 00 00 F4 03 04 00 53 64 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 66 BF 00 00 35 04 06 00 23 B4 42 29 94 99 CB E9 5F 39 47 7D 41 EA [14:27:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 D9 A1 47 00 81 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 66 BF 00 00 F4 03 04 00 4E 10 B6 65 B6 04 01 00 00 B0 F1 38 7E BF 5C CB 1F [14:27:24]CommunicateWithHost err = 0 [14:27:24]CheckOFDResponse [14:27:24]1017 (14) - 77093643461234 [14:27:24]1041 (16) - 0000000000875060 [14:27:24]1040 (4) - 48998 [14:27:24]1012 (4) - 28.01.2024 08:29 [14:27:24]1206 (1) - 0 [14:27:24]OFD Sender: Remove packet 48998 [14:27:24]ProducePacketName [14:27:24]name=ofd_packets/00048998 [14:27:24]NVStorageDeleteData [14:27:24]Write to MH i2c: 01 00 00 AC 36 E2 [14:27:24]Write i2c OK [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: 01 [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: 01 07 00 [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: 01 07 00 AC 36 00 00 00 00 00 F7 0C EC [14:27:24]RasterBufferAndPrint [14:27:24]line [14:27:24]line [14:27:24]line [14:27:24]line [14:27:24]line [14:27:24]written 0, free lines is 3326 [14:27:24]MH_Cut [14:27:24]Write to MH i2c: D1 01 00 B3 36 01 BB [14:27:24]Write i2c OK [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: D1 [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: D1 01 00 [14:27:24]MH_I2C_Read... [14:27:24]Read from MH i2c: D1 01 00 B3 36 00 BA [14:27:24]Write to MH i2c: 01 00 00 B4 36 EA [14:27:24]Write i2c OK [14:27:24]MH_I2C_Read... [14:27:25]OFD Sender: No OFD packet to send [14:27:25]*** Cut start [14:27:25]*** Partial cut [14:27:25]*** CUTSNS_PIN = 1 [14:27:25]*** CUTSNS_PIN = 0 [14:27:25]*** Brake cut motor [14:27:26]Read from MH i2c: 01 [14:27:26]MH_I2C_Read... [14:27:26]Read from MH i2c: 01 07 00 [14:27:26]MH_I2C_Read... [14:27:26]*** Stop cut motor [14:27:26]*** Cut end [14:27:26]Read from MH i2c: 01 07 00 B4 36 00 00 00 00 00 FF 0F FF [14:27:26]process_action close_receipt done [14:27:26]requested_data is exist [14:27:26]produce_requested_data [14:27:26]requested_item fm.sn is exist - process it [14:27:26]wFMCommunicate request_size=4 [14:27:26]MH_SAM_APDU [14:27:26]CAPDU: 80 11 00 00 [14:27:26]Write to MH i2c: E2 08 00 B5 36 80 11 00 00 00 00 00 00 65 [14:27:26]Write i2c OK [14:27:26]MH_I2C_Read... [14:27:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:27:26]Read from MH i2c: E2 [14:27:26]MH_I2C_Read... [14:27:26]Read from MH i2c: E2 17 00 [14:27:26]MH_I2C_Read... [14:27:26]Read from MH i2c: E2 17 00 B5 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 B2 [14:27:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [14:27:26]wFMCommunicate OK [14:27:26]requested_item fd.num is exist - process it [14:27:26]SAM_PROTO_GetFieldsCounters [14:27:26]wFMCommunicate request_size=4 [14:27:26]MH_SAM_APDU [14:27:26]CAPDU: 80 13 00 00 [14:27:26]Write to MH i2c: E2 08 00 B6 36 80 13 00 00 00 00 00 00 68 [14:27:26]Write i2c OK [14:27:26]MH_I2C_Read... [14:27:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:27:26]Read from MH i2c: E2 [14:27:26]MH_I2C_Read... [14:27:26]Read from MH i2c: E2 62 00 [14:27:26]MH_I2C_Read... [14:27:26]Read from MH i2c: E2 62 00 B6 36 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 66 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [14:27: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 66 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:27:26]wFMCommunicate OK [14:27:26]SAM_PROTO_GetFieldsCounters done [14:27:26]requested_item shift.num is exist - process it [14:27:26]requested_item shift.opened is exist - process it [14:27:26]req_shift_opened [14:27:26]FM_GetShiftState [14:27:26]SAM_PROTO_GetShiftState [14:27:26]wFMCommunicate request_size=4 [14:27:26]MH_SAM_APDU [14:27:26]CAPDU: 80 13 01 00 [14:27:26]Write to MH i2c: E2 08 00 B7 36 80 13 01 00 00 00 00 00 6A [14:27:26]Write i2c OK [14:27:26]MH_I2C_Read... [14:27:26]Read from MH i2c: E2 [14:27:26]MH_I2C_Read... [14:27:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:27:26]Read from MH i2c: E2 0E 00 [14:27:26]MH_I2C_Read... [14:27:26]Read from MH i2c: E2 0E 00 B7 36 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F0 [14:27:26]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [14:27:26]wFMCommunicate OK [14:27:26]SAM_PROTO_GetShiftState done [14:27:26]FM_GetShiftState done [14:27:26]req_shift_opened done [14:27:26]requested_item shift.open_date is exist - process it [14:27:26]req_shift_open_date [14:27:26]req_shift_open_date done [14:27:26]produce_requested_data done [14:27:26]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48998,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [14:27:26]process_action_free close_receipt [14:27:26]json_value_free [14:27:26]json_value_free done [14:27:26]process_json_proto returns [14:27:26]Send response to host [14:27:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48998,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [14:27:26]free response buf [14:27:26]execute_script done [14:27:26]execute_script returns [14:27:26]free content buf [14:27:26]Sock 9.Close socket [14:27:26]Sock 9.Thread stoped [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:30]OFD Sender: No OFD packet to send [14:28:35]OFD Sender: No OFD packet to send [14:28:40]OFD Sender: No OFD packet to send [14:28:45]OFD Sender: No OFD packet to send [14:28:50]OFD Sender: No OFD packet to send [14:28:55]OFD Sender: No OFD packet to send [14:29:00]OFD Sender: No OFD packet to send [14:29:05]OFD Sender: No OFD packet to send [14:29:10]OFD Sender: No OFD packet to send [14:29:15]OFD Sender: No OFD packet to send [14:29:20]OFD Sender: No OFD packet to send [14:29:25]OFD Sender: No OFD packet to send [14:29:30]OFD Sender: No OFD packet to send [14:29:35]OFD Sender: No OFD packet to send [14:29:40]OFD Sender: No OFD packet to send [14:29:45]OFD Sender: No OFD packet to send [14:29:50]OFD Sender: No OFD packet to send [14:29:55]OFD Sender: No OFD packet to send [14:30:00]OFD Sender: No OFD packet to send [14:30:05]OFD Sender: No OFD packet to send [14:30:10]OFD Sender: No OFD packet to send [14:30:15]OFD Sender: No OFD packet to send [14:30:20]OFD Sender: No OFD packet to send [14:30:25]OFD Sender: No OFD packet to send [14:30:30]OFD Sender: No OFD packet to send [14:30:35]OFD Sender: No OFD packet to send [14:30:40]OFD Sender: No OFD packet to send [14:30:45]OFD Sender: No OFD packet to send [14:30:50]OFD Sender: No OFD packet to send [14:30:55]OFD Sender: No OFD packet to send [14:31:00]OFD Sender: No OFD packet to send [14:31:05]OFD Sender: No OFD packet to send [14:31:10]OFD Sender: No OFD packet to send [14:31:15]OFD Sender: No OFD packet to send [14:31:20]OFD Sender: No OFD packet to send [14:31:25]OFD Sender: No OFD packet to send [14:31:30]OFD Sender: No OFD packet to send [14:31:35]OFD Sender: No OFD packet to send [14:31:40]OFD Sender: No OFD packet to send [14:31:45]OFD Sender: No OFD packet to send [14:31:50]OFD Sender: No OFD packet to send [14:31:55]OFD Sender: No OFD packet to send [14:32:00]OFD Sender: No OFD packet to send [14:32:05]OFD Sender: No OFD packet to send [14:32:10]OFD Sender: No OFD packet to send [14:32:15]OFD Sender: No OFD packet to send [14:32:20]OFD Sender: No OFD packet to send [14:32:25]OFD Sender: No OFD packet to send [14:32:30]OFD Sender: No OFD packet to send [14:32:35]OFD Sender: No OFD packet to send [14:32:40]OFD Sender: No OFD packet to send [14:32:45]OFD Sender: No OFD packet to send [14:32:50]OFD Sender: No OFD packet to send [14:32:55]OFD Sender: No OFD packet to send [14:33:00]OFD Sender: No OFD packet to send [14:33:05]OFD Sender: No OFD packet to send [14:33:10]OFD Sender: No OFD packet to send [14:33:15]OFD Sender: No OFD packet to send [14:33:20]OFD Sender: No OFD packet to send [14:33:25]OFD Sender: No OFD packet to send [14:33:30]OFD Sender: No OFD packet to send [14:33:35]OFD Sender: No OFD packet to send [14:33:40]OFD Sender: No OFD packet to send [14:33:45]OFD Sender: No OFD packet to send [14:33:50]OFD Sender: No OFD packet to send [14:33:55]OFD Sender: No OFD packet to send [14:34:00]OFD Sender: No OFD packet to send [14:34:05]OFD Sender: No OFD packet to send [14:34:10]OFD Sender: No OFD packet to send [14:34:15]OFD Sender: No OFD packet to send [14:34:20]OFD Sender: No OFD packet to send [14:34:25]OFD Sender: No OFD packet to send [14:34:30]OFD Sender: No OFD packet to send [14:34:35]OFD Sender: No OFD packet to send [14:34:40]OFD Sender: No OFD packet to send [14:34:45]OFD Sender: No OFD packet to send [14:34:50]OFD Sender: No OFD packet to send [14:34:55]OFD Sender: No OFD packet to send [14:35:00]OFD Sender: No OFD packet to send [14:35:05]OFD Sender: No OFD packet to send [14:35:10]OFD Sender: No OFD packet to send [14:35:15]OFD Sender: No OFD packet to send [14:35:20]OFD Sender: No OFD packet to send [14:35:25]OFD Sender: No OFD packet to send [14:35:30]OFD Sender: No OFD packet to send [14:35:35]OFD Sender: No OFD packet to send [14:35:40]OFD Sender: No OFD packet to send [14:35:45]OFD Sender: No OFD packet to send [14:35:50]OFD Sender: No OFD packet to send [14:35:55]OFD Sender: No OFD packet to send [14:36:00]OFD Sender: No OFD packet to send [14:36:05]OFD Sender: No OFD packet to send [14:36:10]OFD Sender: No OFD packet to send [14:36:15]OFD Sender: No OFD packet to send [14:36:20]OFD Sender: No OFD packet to send [14:36:25]OFD Sender: No OFD packet to send [14:36:30]OFD Sender: No OFD packet to send [14:36:35]OFD Sender: No OFD packet to send [14:36:40]OFD Sender: No OFD packet to send [14:36:45]OFD Sender: No OFD packet to send [14:36:50]OFD Sender: No OFD packet to send [14:36:55]OFD Sender: No OFD packet to send [14:37:00]OFD Sender: No OFD packet to send [14:37:05]OFD Sender: No OFD packet to send [14:37:10]OFD Sender: No OFD packet to send [14:37:15]OFD Sender: No OFD packet to send [14:37:20]OFD Sender: No OFD packet to send [14:37:25]OFD Sender: No OFD packet to send [14:37:30]OFD Sender: No OFD packet to send [14:37:35]OFD Sender: No OFD packet to send [14:37:40]OFD Sender: No OFD packet to send [14:37:45]OFD Sender: No OFD packet to send [14:37:50]OFD Sender: No OFD packet to send [14:37:55]OFD Sender: No OFD packet to send [14:38:00]OFD Sender: No OFD packet to send [14:38:05]OFD Sender: No OFD packet to send [14:38:10]OFD Sender: No OFD packet to send [14:38:15]OFD Sender: No OFD packet to send [14:38:20]OFD Sender: No OFD packet to send [14:38:25]OFD Sender: No OFD packet to send [14:38:30]OFD Sender: No OFD packet to send [14:38:35]OFD Sender: No OFD packet to send [14:38:40]OFD Sender: No OFD packet to send [14:38:45]OFD Sender: No OFD packet to send [14:38:50]OFD Sender: No OFD packet to send [14:38:55]OFD Sender: No OFD packet to send [14:39:00]OFD Sender: No OFD packet to send [14:39:05]OFD Sender: No OFD packet to send [14:39:10]OFD Sender: No OFD packet to send [14:39:15]OFD Sender: No OFD packet to send [14:39:20]OFD Sender: No OFD packet to send [14:39:25]OFD Sender: No OFD packet to send [14:39:30]OFD Sender: No OFD packet to send [14:39:35]OFD Sender: No OFD packet to send [14:39:40]OFD Sender: No OFD packet to send [14:39:45]OFD Sender: No OFD packet to send [14:39:50]OFD Sender: No OFD packet to send [14:39:55]OFD Sender: No OFD packet to send [14:40:00]OFD Sender: No OFD packet to send [14:40:05]OFD Sender: No OFD packet to send [14:40:10]OFD Sender: No OFD packet to send [14:40:15]OFD Sender: No OFD packet to send [14:40:20]OFD Sender: No OFD packet to send [14:40:25]OFD Sender: No OFD packet to send [14:40:30]OFD Sender: No OFD packet to send [14:40:35]OFD Sender: No OFD packet to send [14:40:40]OFD Sender: No OFD packet to send [14:40:45]OFD Sender: No OFD packet to send [14:40:50]OFD Sender: No OFD packet to send [14:40:55]OFD Sender: No OFD packet to send [14:41:00]OFD Sender: No OFD packet to send [14:41:05]OFD Sender: No OFD packet to send [14:41:10]OFD Sender: No OFD packet to send [14:41:15]OFD Sender: No OFD packet to send [14:41:20]OFD Sender: No OFD packet to send [14:41:25]OFD Sender: No OFD packet to send [14:41:30]OFD Sender: No OFD packet to send [14:41:35]OFD Sender: No OFD packet to send [14:41:40]OFD Sender: No OFD packet to send [14:41:45]OFD Sender: No OFD packet to send [14:41:50]OFD Sender: No OFD packet to send [14:41:55]OFD Sender: No OFD packet to send [14:42:00]OFD Sender: No OFD packet to send [14:42:05]OFD Sender: No OFD packet to send [14:42:10]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [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:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:31]OFD Sender: No OFD packet to send [14:45:36]OFD Sender: No OFD packet to send [14:45:41]OFD Sender: No OFD packet to send [14:45:46]OFD Sender: No OFD packet to send [14:45:51]OFD Sender: No OFD packet to send [14:45:56]OFD Sender: No OFD packet to send [14:46:01]OFD Sender: No OFD packet to send [14:46:06]OFD Sender: No OFD packet to send [14:46:11]OFD Sender: No OFD packet to send [14:46:16]OFD Sender: No OFD packet to send [14:46:21]OFD Sender: No OFD packet to send [14:46:26]OFD Sender: No OFD packet to send [14:46:31]OFD Sender: No OFD packet to send [14:46:36]OFD Sender: No OFD packet to send [14:46:41]OFD Sender: No OFD packet to send [14:46:46]OFD Sender: No OFD packet to send [14:46:51]OFD Sender: No OFD packet to send [14:46:56]OFD Sender: No OFD packet to send [14:47:01]OFD Sender: No OFD packet to send [14:47:06]OFD Sender: No OFD packet to send [14:47:11]OFD Sender: No OFD packet to send [14:47:16]OFD Sender: No OFD packet to send [14:47:21]OFD Sender: No OFD packet to send [14:47:26]OFD Sender: No OFD packet to send [14:47:31]OFD Sender: No OFD packet to send [14:47:36]OFD Sender: No OFD packet to send [14:47:41]OFD Sender: No OFD packet to send [14:47:46]OFD Sender: No OFD packet to send [14:47:51]OFD Sender: No OFD packet to send [14:47:56]OFD Sender: No OFD packet to send [14:48:01]OFD Sender: No OFD packet to send [14:48:06]OFD Sender: No OFD packet to send [14:48:11]OFD Sender: No OFD packet to send [14:48:16]OFD Sender: No OFD packet to send [14:48:21]OFD Sender: No OFD packet to send [14:48:26]OFD Sender: No OFD packet to send [14:48:31]OFD Sender: No OFD packet to send [14:48:36]OFD Sender: No OFD packet to send [14:48:41]OFD Sender: No OFD packet to send [14:48:46]OFD Sender: No OFD packet to send [14:48:51]OFD Sender: No OFD packet to send [14:48:56]OFD Sender: No OFD packet to send [14:49:01]OFD Sender: No OFD packet to send [14:49:06]OFD Sender: No OFD packet to send [14:49:11]OFD Sender: No OFD packet to send [14:49:16]OFD Sender: No OFD packet to send [14:49:21]OFD Sender: No OFD packet to send [14:49:26]OFD Sender: No OFD packet to send [14:49:31]OFD Sender: No OFD packet to send [14:49:36]OFD Sender: No OFD packet to send [14:49:41]OFD Sender: No OFD packet to send [14:49:46]OFD Sender: No OFD packet to send [14:49:51]OFD Sender: No OFD packet to send [14:49:56]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:21]OFD Sender: No OFD packet to send [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:51]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [14:53:46]OFD Sender: No OFD packet to send [14:53:51]OFD Sender: No OFD packet to send [14:53:56]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:01]OFD Sender: No OFD packet to send [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]OFD Sender: No OFD packet to send [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]OFD Sender: No OFD packet to send [15:03:46]OFD Sender: No OFD packet to send [15:03:51]OFD Sender: No OFD packet to send [15:03:56]OFD Sender: No OFD packet to send [15:04:01]OFD Sender: No OFD packet to send [15:04:06]OFD Sender: No OFD packet to send [15:04:11]OFD Sender: No OFD packet to send [15:04:16]OFD Sender: No OFD packet to send [15:04:21]OFD Sender: No OFD packet to send [15:04:26]OFD Sender: No OFD packet to send [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]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:44]accept exits with 7 [15:06:44]New connection [15:06:44]New thread 3066670436 created [15:06:44]Thread 3066813796 joined [15:06:44]Waiting for new connection... [15:06:44] Sock 7.Parse request [15:06:44]Sock 7.Check first char [15:06:44]Sock 7.First char is OK [15:06:44]request: POST /json_proto HTTP/1.0 [15:06:44]Method: POST [15:06:44]URL: /json_proto [15:06:44]Method is POST - this is cgi request [15:06:44]url: /json_proto [15:06:44]query_string will be loaded in cgi processing [15:06:44]execute_cgi json_proto POST (null) [15:06:44]execute_cgi path=json_proto method=POST [15:06:44]POST find Content-Length [15:06:44]Host: 172.17.56.67:8080 [15:06:44]Content-Length: 677 [15:06:44]Content-Type: application/json [15:06:44] [15:06:44]POST finish read [15:06:44]Found Content-Length = 677 [15:06:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216100", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [15:06:44]execute_script... [15:06:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216100", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [15:06:44]POST & json_proto [15:06:44]process_json_proto [15:06:44]json parsed OK: [15:06:44]protocol is kg_v1.0 [15:06:44]action value=close_receipt [15:06:44]process_action close_receipt [15:06:44]cmd_close_receipt [15:06:44]MH_GetDate [15:06:44]Write to MH i2c: F0 00 00 B8 36 DD [15:06:44]Write i2c OK [15:06:44]MH_I2C_Read... [15:06:44]Read from MH i2c: F0 [15:06:44]MH_I2C_Read... [15:06:44]Read from MH i2c: F0 09 00 [15:06:44]MH_I2C_Read... [15:06:44]Read from MH i2c: F0 09 00 B8 36 00 8D 6D B6 65 26 5D 9E 65 81 [15:06:44]GetLastDocTimeStamp 1706452051 [15:06:44]current date 1706454413 [15:06:44]FM_GetShiftState [15:06:44]SAM_PROTO_GetShiftState [15:06:44]wFMCommunicate request_size=4 [15:06:44]MH_SAM_APDU [15:06:44]CAPDU: 80 13 01 00 [15:06:44]Write to MH i2c: E2 08 00 B9 36 80 13 01 00 00 00 00 00 6C [15:06:44]Write i2c OK [15:06:44]MH_I2C_Read... [15:06:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:44]Read from MH i2c: E2 [15:06:44]MH_I2C_Read... [15:06:44]Read from MH i2c: E2 0E 00 [15:06:44]MH_I2C_Read... [15:06:44]Read from MH i2c: E2 0E 00 B9 36 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F2 [15:06:44]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:06:44]wFMCommunicate OK [15:06:44]SAM_PROTO_GetShiftState done [15:06:44]FM_GetShiftState done [15:06:44]opened in 1706400199 [15:06:44]opened+sec_in_day 1706486599 [15:06:44]quantity*price = 20019 [15:06:44]sum+1 = 20021 [15:06:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 64 28.01.2024 15:06 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 48999 ФПД: 61361224088831 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T150653&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48999&fm=61361224088831&tin=02508201610067®Number=0000000000092723&sum=20000 [15:06:45]StoreToDocumentArchive [15:06:45]shift 244 fd 48999 [15:06:45]save to /storage/0244/doc_00048999 [15:06:45]save last doc name /storage/0244/doc_00048999 to /storage/kkm_last_doc_name [15:06:45]save OK [15:06:45]Clear old archive folders... [15:06:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:06:45]tlvbuf is 011CF4A0 [15:06:45]SAM_PROTO_ClearQueue [15:06:45]wFMCommunicate request_size=4 [15:06:45]MH_SAM_APDU [15:06:45]CAPDU: 80 09 00 00 [15:06:45]Write to MH i2c: E2 08 00 C6 36 80 09 00 00 00 00 00 00 6E [15:06:45]Write i2c OK [15:06:45]MH_I2C_Read... [15:06:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:06:45]Read from MH i2c: E2 [15:06:45]MH_I2C_Read... [15:06:45]Read from MH i2c: E2 03 00 [15:06:45]MH_I2C_Read... [15:06:45]Read from MH i2c: E2 03 00 C6 36 00 90 00 70 [15:06:45]RAPDU: 90 00 [15:06:45]wFMCommunicate OK [15:06:45]SAM_PROTO_ClearQueue done [15:06:45]KKMCreateOFDPacket [15:06:45]OFDProtocolAddRootSTLVToBuf [15:06:45]FM_MakeSignedData [15:06:45]FM_MakeSignedData [15:06:45]SAM_PROTO_SignData [15:06:45]wFMCommunicate request_size=4 [15:06:45]MH_SAM_APDU [15:06:45]CAPDU: 80 0D 01 02 [15:06:45]Write to MH i2c: E2 08 00 C7 36 80 0D 01 02 00 00 00 00 76 [15:06:45]Write i2c OK [15:06:45]MH_I2C_Read... [15:06:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:06:46]Read from MH i2c: E2 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 03 00 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 03 00 C7 36 00 90 00 71 [15:06:46]RAPDU: 90 00 [15:06:46]wFMCommunicate OK [15:06:46]wFMCommunicate request_size=255 [15:06:46]MH_SAM_APDU [15:06:46]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 40 00 00 00 F4 03 04 00 8D 6D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 67 BF 00 00 35 04 06 00 37 [15:06:46]Write to MH i2c: E2 02 01 C8 36 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 40 00 00 00 F4 03 04 00 8D 6D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 67 BF 00 00 35 04 06 00 37 00 00 2C [15:06:46]Write i2c OK [15:06:46]MH_I2C_Read... [15:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:46]Read from MH i2c: E2 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 03 00 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 03 00 C8 36 00 90 00 72 [15:06:46]RAPDU: 90 00 [15:06:46]wFMCommunicate OK [15:06:46]wFMCommunicate request_size=10 [15:06:46]MH_SAM_APDU [15:06:46]CAPDU: 80 0D 02 02 05 CE C5 F6 FC FF [15:06:46]Write to MH i2c: E2 0D 00 C9 36 80 0D 02 02 05 00 CE C5 F6 FC FF 00 00 07 [15:06:46]Write i2c OK [15:06:46]MH_I2C_Read... [15:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:46]Read from MH i2c: E2 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 03 00 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 03 00 C9 36 00 90 00 73 [15:06:46]RAPDU: 90 00 [15:06:46]wFMCommunicate OK [15:06:46]wFMCommunicate request_size=4 [15:06:46]MH_SAM_APDU [15:06:46]CAPDU: 80 0D 03 02 [15:06:46]Write to MH i2c: E2 08 00 CA 36 80 0D 03 02 00 00 00 00 7B [15:06:46]Write i2c OK [15:06:46]MH_I2C_Read... [15:06:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:06:46]Read from MH i2c: E2 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 0B 00 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 0B 00 CA 36 00 85 87 79 A7 0C CC 5A BA 90 00 94 [15:06:46]RAPDU: 85 87 79 A7 0C CC 5A BA 90 00 [15:06:46]wFMCommunicate OK [15:06:46]SAM_PROTO_SignData done [15:06:46]FM_MakeSignedData done [15:06:46]CreateOFDProtocolMessage [15:06:46]wFMCommunicate request_size=4 [15:06:46]MH_SAM_APDU [15:06:46]CAPDU: 80 11 00 00 [15:06:46]Write to MH i2c: E2 08 00 CB 36 80 11 00 00 00 00 00 00 7B [15:06:46]Write i2c OK [15:06:46]MH_I2C_Read... [15:06:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:46]Read from MH i2c: E2 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 17 00 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: E2 17 00 CB 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 C8 [15:06:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:06:46]wFMCommunicate OK [15:06:46]CreateOFDProtocolMessage done [15:06:46]OFDSenderStorePacket 48999 [15:06:46]StoreOFDPacket docnum=48999 [15:06:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 7F 3E 07 01 C0 C9 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 40 00 00 00 F4 03 04 00 8D 6D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 67 BF 00 00 35 04 06 00 37 CE C5 F6 FC FF 85 87 79 A7 0C CC 5A BA [15:06:46]CheckFolder [15:06:46]dirname=/storage/ofd_packets [15:06:46]CheckFolder done [15:06:46]ProducePacketName [15:06:46]name=ofd_packets/00048999 [15:06:46]NVStorageSaveData ofd_packets/00048999 [15:06:46]File name is /storage/ofd_packets/00048999 [15:06:46]Write 301 bytes [15:06:46]NVStorageSaveData done [15:06:46]OFDSenderStorePacket done [15:06:46]KKMCreateOFDPacket done [15:06:46]NVStorageSaveData kkm_last_timestamp [15:06:46]File name is /storage/kkm_last_timestamp [15:06:46]Write 4 bytes [15:06:46]NVStorageSaveData done [15:06:46]ExternCall_PrintAddStr [15:06:46]wPrintStart [15:06:46]Write to MH i2c: 01 00 00 CC 36 02 [15:06:46]Write i2c OK [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: 01 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: 01 07 00 [15:06:46]MH_I2C_Read... [15:06:46]Read from MH i2c: 01 07 00 CC 36 00 00 00 00 00 FF 0F 17 [15:06:46]RasterBufferAndPrint [15:06:46]line Счет N : (1)216100 [15:06:46]line ИÐÐ: 02508201610067 [15:06:46]line Контрольно-КаÑÑовый Чек [15:06:46]line ПРОДÐЖР[15:06:46]line ТРК (МРК, ГÐК) : 12 [15:06:46]line Товар: 2710124130 [15:06:46]line Ðи-92-К-5 [15:06:46]line 3.320 * 60.30 [15:06:46]line = 200.20 [15:06:46]line ÐДС 12% ÐСП 1% [15:06:46]line > о реализуемом товаре [15:06:46]line ОКРУГЛЕÐИЕ: -0.20 [15:06:46]line ИТОГО: 200.00 [15:06:46]line ВнеÑено: 200.00 [15:06:46]line СДÐЧÐ: 0.00 [15:06:46]line ÐСП 1% : 1.77 [15:06:46]line ÐДС 12% : 21.26 [15:06:46]line Ðаличными: 200.00 [15:06:46]line Безнал.: 0.00 [15:06:46]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [15:06:46]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [15:06:46]line СÐО: Общий режим [15:06:46]line Чек 64 28.01.2024 15:06 [15:06:46]line Смена: 244 ФФД: 1.0 [15:06:46]line ЗÐМ: 0300000040 [15:06:46]line РÐМ: 0000000000092723 [15:06:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:06:46]line ФМ: 0000000000875060 [15:06:46]line ФД: 48999 [15:06:46]line ФПД: 61361224088831 [15:06:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T150653&type=1&operation_type=1&fn_number=0000000000875060&fd_number=48999&fm=61361224088831&tin=02508201610067®Number=0000000000092723&sum=20000 [15:06:46]OFD Sender: Processing packet 48999 [packets to send 12, broken 11] [15:06:46]ProducePacketName [15:06:46]name=ofd_packets/00048999 [15:06:46]OFD Sender: To server: ‡•öpG, [15:06:46]CommunicateWithHost lk.salyk.kg:30040 [15:06:46]ConnectInit lk.salyk.kg [15:06:46]written 0, free lines is 4095 [15:06:46]Connected sock=10 [15: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 30 36 30 0F 01 00 00 7F 3E 07 01 C0 C9 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 40 00 00 00 F4 03 04 00 8D 6D B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 67 BF 00 00 35 04 06 00 37 CE C5 F6 FC FF 85 87 79 A7 0C CC 5A BA [15:06:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 1D 81 47 00 3D 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 67 BF 00 00 F4 03 04 00 89 19 B6 65 B6 04 01 00 00 B4 B6 99 2C FF F4 0B 59 [15:06:47]CommunicateWithHost err = 0 [15:06:47]CheckOFDResponse [15:06:47]1017 (14) - 77093643461234 [15:06:47]1041 (16) - 0000000000875060 [15:06:47]1040 (4) - 48999 [15:06:47]1012 (4) - 28.01.2024 09:08 [15:06:47]1206 (1) - 0 [15:06:47]OFD Sender: Remove packet 48999 [15:06:47]ProducePacketName [15:06:47]name=ofd_packets/00048999 [15:06:47]NVStorageDeleteData [15:06:47]Write to MH i2c: 01 00 00 F7 36 2D [15:06:47]Write i2c OK [15:06:47]MH_I2C_Read... [15:06:47]Read from MH i2c: 01 [15:06:47]MH_I2C_Read... [15:06:47]Read from MH i2c: 01 07 00 [15:06:47]MH_I2C_Read... [15:06:47]Read from MH i2c: 01 07 00 F7 36 00 00 00 00 00 EB 0C 2B [15:06:47]RasterBufferAndPrint [15:06:47]line [15:06:47]line [15:06:47]line [15:06:47]line [15:06:47]line [15:06:47]written 0, free lines is 3313 [15:06:47]MH_Cut [15:06:47]Write to MH i2c: D1 01 00 FE 36 01 06 [15:06:47]Write i2c OK [15:06:47]MH_I2C_Read... [15:06:47]Read from MH i2c: D1 [15:06:47]MH_I2C_Read... [15:06:47]Read from MH i2c: D1 01 00 [15:06:47]MH_I2C_Read... [15:06:47]Read from MH i2c: D1 01 00 FE 36 00 05 [15:06:47]Write to MH i2c: 01 00 00 FF 36 35 [15:06:47]Write i2c OK [15:06:47]MH_I2C_Read... [15:06:47]OFD Sender: No OFD packet to send [15:06:47]*** Cut start [15:06:47]*** Partial cut [15:06:47]*** CUTSNS_PIN = 1 [15:06:47]*** CUTSNS_PIN = 0 [15:06:48]*** Brake cut motor [15:06:48]Read from MH i2c: 01 [15:06:48]MH_I2C_Read... [15:06:48]*** Stop cut motor [15:06:48]*** Cut end [15:06:48]Read from MH i2c: 01 07 00 [15:06:48]MH_I2C_Read... [15:06:48]Read from MH i2c: 01 07 00 FF 36 00 00 00 00 00 FF 0F 4A [15:06:48]process_action close_receipt done [15:06:48]requested_data is exist [15:06:48]produce_requested_data [15:06:48]requested_item fm.sn is exist - process it [15:06:48]wFMCommunicate request_size=4 [15:06:48]MH_SAM_APDU [15:06:48]CAPDU: 80 11 00 00 [15:06:48]Write to MH i2c: E2 08 00 00 37 80 11 00 00 00 00 00 00 B1 [15:06:48]Write i2c OK [15:06:48]MH_I2C_Read... [15:06:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:48]Read from MH i2c: E2 [15:06:48]MH_I2C_Read... [15:06:48]Read from MH i2c: E2 17 00 [15:06:48]MH_I2C_Read... [15:06:48]Read from MH i2c: E2 17 00 00 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 FE [15:06:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:06:48]wFMCommunicate OK [15:06:48]requested_item fd.num is exist - process it [15:06:48]SAM_PROTO_GetFieldsCounters [15:06:48]wFMCommunicate request_size=4 [15:06:48]MH_SAM_APDU [15:06:48]CAPDU: 80 13 00 00 [15:06:48]Write to MH i2c: E2 08 00 01 37 80 13 00 00 00 00 00 00 B4 [15:06:48]Write i2c OK [15:06:48]MH_I2C_Read... [15:06:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:06:48]Read from MH i2c: E2 [15:06:48]MH_I2C_Read... [15:06:48]Read from MH i2c: E2 62 00 [15:06:48]MH_I2C_Read... [15:06:48]Read from MH i2c: E2 62 00 01 37 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 67 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 A7 [15:06: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 67 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:06:48]wFMCommunicate OK [15:06:48]SAM_PROTO_GetFieldsCounters done [15:06:48]requested_item shift.num is exist - process it [15:06:48]requested_item shift.opened is exist - process it [15:06:48]req_shift_opened [15:06:48]FM_GetShiftState [15:06:48]SAM_PROTO_GetShiftState [15:06:48]wFMCommunicate request_size=4 [15:06:48]MH_SAM_APDU [15:06:48]CAPDU: 80 13 01 00 [15:06:48]Write to MH i2c: E2 08 00 02 37 80 13 01 00 00 00 00 00 B6 [15:06:48]Write i2c OK [15:06:48]MH_I2C_Read... [15:06:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:48]Read from MH i2c: E2 [15:06:48]MH_I2C_Read... [15:06:48]Read from MH i2c: E2 0E 00 [15:06:48]MH_I2C_Read... [15:06:48]Read from MH i2c: E2 0E 00 02 37 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3C [15:06:48]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:06:48]wFMCommunicate OK [15:06:48]SAM_PROTO_GetShiftState done [15:06:48]FM_GetShiftState done [15:06:48]req_shift_opened done [15:06:48]requested_item shift.open_date is exist - process it [15:06:48]req_shift_open_date [15:06:48]req_shift_open_date done [15:06:48]produce_requested_data done [15:06:48]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":48999,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [15:06:48]process_action_free close_receipt [15:06:48]json_value_free [15:06:48]json_value_free done [15:06:48]process_json_proto returns [15:06:48]Send response to host [15:06:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":48999,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [15:06:48]free response buf [15:06:48]execute_script done [15:06:48]execute_script returns [15:06:48]free content buf [15:06:48]Sock 7.Close socket [15:06:48]Sock 7.Thread stoped [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:29]accept exits with 9 [15:12:29]New connection [15:12:29]New thread 3066813796 created [15:12:29]Thread 3066670436 joined [15:12:29]Waiting for new connection... [15:12:29] Sock 9.Parse request [15:12:29]Sock 9.Check first char [15:12:29]Sock 9.First char is OK [15:12:29]request: POST /json_proto HTTP/1.0 [15:12:29]Method: POST [15:12:29]URL: /json_proto [15:12:29]Method is POST - this is cgi request [15:12:29]url: /json_proto [15:12:29]query_string will be loaded in cgi processing [15:12:29]execute_cgi json_proto POST (null) [15:12:29]execute_cgi path=json_proto method=POST [15:12:29]POST find Content-Length [15:12:29]Host: 172.17.56.67:8080 [15:12:29]Content-Length: 677 [15:12:29]Content-Type: application/json [15:12:29] [15:12:29]POST finish read [15:12:29]Found Content-Length = 677 [15:12:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216101", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.640, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:12:29]execute_script... [15:12: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 : (1)216101", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 6.640, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:12:29]POST & json_proto [15:12:29]process_json_proto [15:12:29]json parsed OK: [15:12:29]protocol is kg_v1.0 [15:12:29]action value=close_receipt [15:12:29]process_action close_receipt [15:12:29]cmd_close_receipt [15:12:29]MH_GetDate [15:12:29]Write to MH i2c: F0 00 00 03 37 29 [15:12:29]Write i2c OK [15:12:29]MH_I2C_Read... [15:12:29]Read from MH i2c: F0 [15:12:29]MH_I2C_Read... [15:12:29]Read from MH i2c: F0 09 00 [15:12:29]MH_I2C_Read... [15:12:29]Read from MH i2c: F0 09 00 03 37 00 E6 6E B6 65 26 5D 9E 65 27 [15:12:29]GetLastDocTimeStamp 1706454413 [15:12:29]current date 1706454758 [15:12:29]FM_GetShiftState [15:12:29]SAM_PROTO_GetShiftState [15:12:29]wFMCommunicate request_size=4 [15:12:29]MH_SAM_APDU [15:12:29]CAPDU: 80 13 01 00 [15:12:29]Write to MH i2c: E2 08 00 04 37 80 13 01 00 00 00 00 00 B8 [15:12:29]Write i2c OK [15:12:29]MH_I2C_Read... [15:12:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:12:29]Read from MH i2c: E2 [15:12:29]MH_I2C_Read... [15:12:29]Read from MH i2c: E2 0E 00 [15:12:29]MH_I2C_Read... [15:12:29]Read from MH i2c: E2 0E 00 04 37 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 3E [15:12:29]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:12:29]wFMCommunicate OK [15:12:29]SAM_PROTO_GetShiftState done [15:12:29]FM_GetShiftState done [15:12:29]opened in 1706400199 [15:12:29]opened+sec_in_day 1706486599 [15:12:29]quantity*price = 40039 [15:12:29]sum+1 = 40040 [15:12:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.39 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.52 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 65 28.01.2024 15:12 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49000 ФПД: 12009867129851 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T151238&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49000&fm=12009867129851&tin=02508201610067®Number=0000000000092723&sum=40000 [15:12:30]StoreToDocumentArchive [15:12:30]shift 244 fd 49000 [15:12:30]save to /storage/0244/doc_00049000 [15:12:30]save last doc name /storage/0244/doc_00049000 to /storage/kkm_last_doc_name [15:12:30]save OK [15:12:30]Clear old archive folders... [15:12:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:12:30]tlvbuf is 012106D0 [15:12:30]SAM_PROTO_ClearQueue [15:12:30]wFMCommunicate request_size=4 [15:12:30]MH_SAM_APDU [15:12:30]CAPDU: 80 09 00 00 [15:12:30]Write to MH i2c: E2 08 00 11 37 80 09 00 00 00 00 00 00 BA [15:12:30]Write i2c OK [15:12:30]MH_I2C_Read... [15:12:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:12:30]Read from MH i2c: E2 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 03 00 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 03 00 11 37 00 90 00 BC [15:12:30]RAPDU: 90 00 [15:12:30]wFMCommunicate OK [15:12:30]SAM_PROTO_ClearQueue done [15:12:30]KKMCreateOFDPacket [15:12:30]OFDProtocolAddRootSTLVToBuf [15:12:30]FM_MakeSignedData [15:12:30]FM_MakeSignedData [15:12:30]SAM_PROTO_SignData [15:12:30]wFMCommunicate request_size=4 [15:12:30]MH_SAM_APDU [15:12:30]CAPDU: 80 0D 01 02 [15:12:30]Write to MH i2c: E2 08 00 12 37 80 0D 01 02 00 00 00 00 C2 [15:12:30]Write i2c OK [15:12:30]MH_I2C_Read... [15:12:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:12:30]Read from MH i2c: E2 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 03 00 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 03 00 12 37 00 90 00 BD [15:12:30]RAPDU: 90 00 [15:12:30]wFMCommunicate OK [15:12:30]wFMCommunicate request_size=255 [15:12:30]MH_SAM_APDU [15:12:30]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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 E6 6E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 68 BF 00 00 35 04 06 00 0A [15:12:30]Write to MH i2c: E2 02 01 13 37 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 E6 6E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 68 BF 00 00 35 04 06 00 0A 00 00 11 [15:12:30]Write i2c OK [15:12:30]MH_I2C_Read... [15:12:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:12:30]Read from MH i2c: E2 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 03 00 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 03 00 13 37 00 90 00 BE [15:12:30]RAPDU: 90 00 [15:12:30]wFMCommunicate OK [15:12:30]wFMCommunicate request_size=10 [15:12:30]MH_SAM_APDU [15:12:30]CAPDU: 80 0D 02 02 05 EC 43 DD 33 FB [15:12:30]Write to MH i2c: E2 0D 00 14 37 80 0D 02 02 05 00 EC 43 DD 33 FB 00 00 09 [15:12:30]Write i2c OK [15:12:30]MH_I2C_Read... [15:12:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:12:30]Read from MH i2c: E2 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 03 00 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 03 00 14 37 00 90 00 BF [15:12:30]RAPDU: 90 00 [15:12:30]wFMCommunicate OK [15:12:30]wFMCommunicate request_size=4 [15:12:30]MH_SAM_APDU [15:12:30]CAPDU: 80 0D 03 02 [15:12:30]Write to MH i2c: E2 08 00 15 37 80 0D 03 02 00 00 00 00 C7 [15:12:30]Write i2c OK [15:12:30]MH_I2C_Read... [15:12:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:12:30]Read from MH i2c: E2 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 0B 00 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 0B 00 15 37 00 EC 22 69 D4 6A 4A 1E 67 90 00 4C [15:12:30]RAPDU: EC 22 69 D4 6A 4A 1E 67 90 00 [15:12:30]wFMCommunicate OK [15:12:30]SAM_PROTO_SignData done [15:12:30]FM_MakeSignedData done [15:12:30]CreateOFDProtocolMessage [15:12:30]wFMCommunicate request_size=4 [15:12:30]MH_SAM_APDU [15:12:30]CAPDU: 80 11 00 00 [15:12:30]Write to MH i2c: E2 08 00 16 37 80 11 00 00 00 00 00 00 C7 [15:12:30]Write i2c OK [15:12:30]MH_I2C_Read... [15:12:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:12:30]Read from MH i2c: E2 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 17 00 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: E2 17 00 16 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 14 [15:12:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:12:30]wFMCommunicate OK [15:12:30]CreateOFDProtocolMessage done [15:12:30]OFDSenderStorePacket 49000 [15:12:30]StoreOFDPacket docnum=49000 [15:12:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 38 BF 07 01 0E 32 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 E6 6E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 68 BF 00 00 35 04 06 00 0A EC 43 DD 33 FB EC 22 69 D4 6A 4A 1E 67 [15:12:30]CheckFolder [15:12:30]dirname=/storage/ofd_packets [15:12:30]CheckFolder done [15:12:30]ProducePacketName [15:12:30]name=ofd_packets/00049000 [15:12:30]NVStorageSaveData ofd_packets/00049000 [15:12:30]File name is /storage/ofd_packets/00049000 [15:12:30]Write 301 bytes [15:12:30]NVStorageSaveData done [15:12:30]OFDSenderStorePacket done [15:12:30]KKMCreateOFDPacket done [15:12:30]NVStorageSaveData kkm_last_timestamp [15:12:30]File name is /storage/kkm_last_timestamp [15:12:30]Write 4 bytes [15:12:30]NVStorageSaveData done [15:12:30]ExternCall_PrintAddStr [15:12:30]wPrintStart [15:12:30]Write to MH i2c: 01 00 00 17 37 4E [15:12:30]Write i2c OK [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: 01 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: 01 07 00 [15:12:30]MH_I2C_Read... [15:12:30]Read from MH i2c: 01 07 00 17 37 00 00 00 00 00 FF 0F 63 [15:12:30]RasterBufferAndPrint [15:12:30]line Счет N : (1)216101 [15:12:30]line ИÐÐ: 02508201610067 [15:12:30]line Контрольно-КаÑÑовый Чек [15:12:30]line ПРОДÐЖР[15:12:30]line ТРК (МРК, ГÐК) : 12 [15:12:30]line Товар: 2710124130 [15:12:30]line Ðи-92-К-5 [15:12:30]line 6.640 * 60.30 [15:12:30]line = 400.39 [15:12:30]line ÐДС 12% ÐСП 1% [15:12:30]line > о реализуемом товаре [15:12:30]line ОКРУГЛЕÐИЕ: -0.39 [15:12:30]line ИТОГО: 400.00 [15:12:30]line ВнеÑено: 400.00 [15:12:30]line СДÐЧÐ: 0.00 [15:12:30]line ÐСП 1% : 3.54 [15:12:30]line ÐДС 12% : 42.52 [15:12:30]line Ðаличными: 400.00 [15:12:30]line Безнал.: 0.00 [15:12:30]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [15:12:30]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [15:12:30]line СÐО: Общий режим [15:12:30]line Чек 65 28.01.2024 15:12 [15:12:30]line Смена: 244 ФФД: 1.0 [15:12:30]line ЗÐМ: 0300000040 [15:12:30]line РÐМ: 0000000000092723 [15:12:30]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:12:30]line ФМ: 0000000000875060 [15:12:30]line ФД: 49000 [15:12:30]line ФПД: 12009867129851 [15:12:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T151238&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49000&fm=12009867129851&tin=02508201610067®Number=0000000000092723&sum=40000 [15:12:31]OFD Sender: Processing packet 49000 [packets to send 12, broken 11] [15:12:31]ProducePacketName [15:12:31]name=ofd_packets/00049000 [15:12:31]OFD Sender: To server: ‡•öpG, [15:12:31]CommunicateWithHost lk.salyk.kg:30040 [15:12:31]ConnectInit lk.salyk.kg [15:12:31]written 0, free lines is 4095 [15:12:31]Connected sock=10 [15:12: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 30 36 30 0F 01 00 00 38 BF 07 01 0E 32 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 F0 19 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 E6 6E B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 68 BF 00 00 35 04 06 00 0A EC 43 DD 33 FB EC 22 69 D4 6A 4A 1E 67 [15:12:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 DB 65 47 00 9A 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 68 BF 00 00 F4 03 04 00 E1 1A B6 65 B6 04 01 00 00 9D 66 A9 B2 BD 65 97 9C [15:12:31]CommunicateWithHost err = 0 [15:12:31]CheckOFDResponse [15:12:31]1017 (14) - 77093643461234 [15:12:31]1041 (16) - 0000000000875060 [15:12:31]1040 (4) - 49000 [15:12:31]1012 (4) - 28.01.2024 09:14 [15:12:31]1206 (1) - 0 [15:12:31]OFD Sender: Remove packet 49000 [15:12:31]ProducePacketName [15:12:31]name=ofd_packets/00049000 [15:12:31]NVStorageDeleteData [15:12:31]Write to MH i2c: 01 00 00 42 37 79 [15:12:31]Write i2c OK [15:12:31]MH_I2C_Read... [15:12:31]Read from MH i2c: 01 [15:12:31]MH_I2C_Read... [15:12:31]Read from MH i2c: 01 07 00 [15:12:31]MH_I2C_Read... [15:12:31]Read from MH i2c: 01 07 00 42 37 00 00 00 00 00 F9 0C 85 [15:12:31]RasterBufferAndPrint [15:12:31]line [15:12:31]line [15:12:31]line [15:12:31]line [15:12:31]line [15:12:31]written 0, free lines is 3329 [15:12:31]MH_Cut [15:12:31]Write to MH i2c: D1 01 00 49 37 01 52 [15:12:31]Write i2c OK [15:12:31]MH_I2C_Read... [15:12:31]Read from MH i2c: D1 [15:12:31]MH_I2C_Read... [15:12:31]Read from MH i2c: D1 01 00 [15:12:31]MH_I2C_Read... [15:12:31]Read from MH i2c: D1 01 00 49 37 00 51 [15:12:31]Write to MH i2c: 01 00 00 4A 37 81 [15:12:31]Write i2c OK [15:12:31]MH_I2C_Read... [15:12:31]OFD Sender: No OFD packet to send [15:12:32]*** Cut start [15:12:32]*** Partial cut [15:12:32]*** CUTSNS_PIN = 1 [15:12:32]*** CUTSNS_PIN = 0 [15:12:32]*** Brake cut motor [15:12:32]Read from MH i2c: 01 [15:12:32]MH_I2C_Read... [15:12:32]*** Stop cut motor [15:12:32]*** Cut end [15:12:32]Read from MH i2c: 01 07 00 [15:12:32]MH_I2C_Read... [15:12:32]Read from MH i2c: 01 07 00 4A 37 00 00 00 00 00 FF 0F 96 [15:12:32]process_action close_receipt done [15:12:32]requested_data is exist [15:12:32]produce_requested_data [15:12:32]requested_item fm.sn is exist - process it [15:12:32]wFMCommunicate request_size=4 [15:12:32]MH_SAM_APDU [15:12:32]CAPDU: 80 11 00 00 [15:12:32]Write to MH i2c: E2 08 00 4B 37 80 11 00 00 00 00 00 00 FC [15:12:32]Write i2c OK [15:12:32]MH_I2C_Read... [15:12:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:12:32]Read from MH i2c: E2 [15:12:32]MH_I2C_Read... [15:12:32]Read from MH i2c: E2 17 00 [15:12:32]MH_I2C_Read... [15:12:32]Read from MH i2c: E2 17 00 4B 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 49 [15:12:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:12:32]wFMCommunicate OK [15:12:32]requested_item fd.num is exist - process it [15:12:32]SAM_PROTO_GetFieldsCounters [15:12:32]wFMCommunicate request_size=4 [15:12:32]MH_SAM_APDU [15:12:32]CAPDU: 80 13 00 00 [15:12:32]Write to MH i2c: E2 08 00 4C 37 80 13 00 00 00 00 00 00 FF [15:12:32]Write i2c OK [15:12:32]MH_I2C_Read... [15:12:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:12:33]Read from MH i2c: E2 [15:12:33]MH_I2C_Read... [15:12:33]Read from MH i2c: E2 62 00 [15:12:33]MH_I2C_Read... [15:12:33]Read from MH i2c: E2 62 00 4C 37 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 68 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 F6 [15:12: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 68 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:12:33]wFMCommunicate OK [15:12:33]SAM_PROTO_GetFieldsCounters done [15:12:33]requested_item shift.num is exist - process it [15:12:33]requested_item shift.opened is exist - process it [15:12:33]req_shift_opened [15:12:33]FM_GetShiftState [15:12:33]SAM_PROTO_GetShiftState [15:12:33]wFMCommunicate request_size=4 [15:12:33]MH_SAM_APDU [15:12:33]CAPDU: 80 13 01 00 [15:12:33]Write to MH i2c: E2 08 00 4D 37 80 13 01 00 00 00 00 00 01 [15:12:33]Write i2c OK [15:12:33]MH_I2C_Read... [15:12:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:12:33]Read from MH i2c: E2 [15:12:33]MH_I2C_Read... [15:12:33]Read from MH i2c: E2 0E 00 [15:12:33]MH_I2C_Read... [15:12:33]Read from MH i2c: E2 0E 00 4D 37 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 87 [15:12:33]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:12:33]wFMCommunicate OK [15:12:33]SAM_PROTO_GetShiftState done [15:12:33]FM_GetShiftState done [15:12:33]req_shift_opened done [15:12:33]requested_item shift.open_date is exist - process it [15:12:33]req_shift_open_date [15:12:33]req_shift_open_date done [15:12:33]produce_requested_data done [15:12:33]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49000,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [15:12:33]process_action_free close_receipt [15:12:33]json_value_free [15:12:33]json_value_free done [15:12:33]process_json_proto returns [15:12:33]Send response to host [15:12:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49000,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [15:12:33]free response buf [15:12:33]execute_script done [15:12:33]execute_script returns [15:12:33]free content buf [15:12:33]Sock 9.Close socket [15:12:33]Sock 9.Thread stoped [15:12:36]OFD Sender: No OFD packet to send [15:12:41]OFD Sender: No OFD packet to send [15:12:46]OFD Sender: No OFD packet to send [15:12:51]OFD Sender: No OFD packet to send [15:12:56]OFD Sender: No OFD packet to send [15:13:01]OFD Sender: No OFD packet to send [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:47]OFD Sender: No OFD packet to send [15:13:52]OFD Sender: No OFD packet to send [15:13:57]OFD Sender: No OFD packet to send [15:14:02]OFD Sender: No OFD packet to send [15:14:07]OFD Sender: No OFD packet to send [15:14:12]OFD Sender: No OFD packet to send [15:14:17]OFD Sender: No OFD packet to send [15:14:22]OFD Sender: No OFD packet to send [15:14:27]OFD Sender: No OFD packet to send [15:14:32]OFD Sender: No OFD packet to send [15:14:37]OFD Sender: No OFD packet to send [15:14:42]OFD Sender: No OFD packet to send [15:14:47]OFD Sender: No OFD packet to send [15:14:52]OFD Sender: No OFD packet to send [15:14:57]OFD Sender: No OFD packet to send [15:15:02]OFD Sender: No OFD packet to send [15:15:07]OFD Sender: No OFD packet to send [15:15:12]OFD Sender: No OFD packet to send [15:15:17]OFD Sender: No OFD packet to send [15:15:22]OFD Sender: No OFD packet to send [15:15:27]OFD Sender: No OFD packet to send [15:15:32]OFD Sender: No OFD packet to send [15:15:37]OFD Sender: No OFD packet to send [15:15:42]OFD Sender: No OFD packet to send [15:15:47]OFD Sender: No OFD packet to send [15:15:52]OFD Sender: No OFD packet to send [15:15:57]OFD Sender: No OFD packet to send [15:16:02]OFD Sender: No OFD packet to send [15:16:07]OFD Sender: No OFD packet to send [15:16:12]OFD Sender: No OFD packet to send [15:16:17]OFD Sender: No OFD packet to send [15:16:22]OFD Sender: No OFD packet to send [15:16:27]OFD Sender: No OFD packet to send [15:16:32]OFD Sender: No OFD packet to send [15:16:37]OFD Sender: No OFD packet to send [15:16:42]OFD Sender: No OFD packet to send [15:16:47]OFD Sender: No OFD packet to send [15:16:52]OFD Sender: No OFD packet to send [15:16:57]OFD Sender: No OFD packet to send [15:17:02]OFD Sender: No OFD packet to send [15:17:07]OFD Sender: No OFD packet to send [15:17:12]OFD Sender: No OFD packet to send [15:17:17]OFD Sender: No OFD packet to send [15:17:22]OFD Sender: No OFD packet to send [15:17:27]OFD Sender: No OFD packet to send [15:17:32]OFD Sender: No OFD packet to send [15:17:37]OFD Sender: No OFD packet to send [15:17:42]OFD Sender: No OFD packet to send [15:17:47]OFD Sender: No OFD packet to send [15:17:52]OFD Sender: No OFD packet to send [15:17:57]OFD Sender: No OFD packet to send [15:18:02]OFD Sender: No OFD packet to send [15:18:07]OFD Sender: No OFD packet to send [15:18:12]OFD Sender: No OFD packet to send [15:18:17]OFD Sender: No OFD packet to send [15:18:22]OFD Sender: No OFD packet to send [15:18:27]OFD Sender: No OFD packet to send [15:18:32]OFD Sender: No OFD packet to send [15:18:37]OFD Sender: No OFD packet to send [15:18:42]OFD Sender: No OFD packet to send [15:18:47]OFD Sender: No OFD packet to send [15:18:49]accept exits with 7 [15:18:49]New connection [15:18:49]New thread 3066670436 created [15:18:49]Thread 3066813796 joined [15:18:49]Waiting for new connection... [15:18:49] Sock 7.Parse request [15:18:49]Sock 7.Check first char [15:18:49]Sock 7.First char is OK [15:18:49]request: POST /json_proto HTTP/1.0 [15:18:49]Method: POST [15:18:49]URL: /json_proto [15:18:49]Method is POST - this is cgi request [15:18:49]url: /json_proto [15:18:49]query_string will be loaded in cgi processing [15:18:49]execute_cgi json_proto POST (null) [15:18:49]execute_cgi path=json_proto method=POST [15:18:49]POST find Content-Length [15:18:49]Host: 172.17.56.67:8080 [15:18:49]Content-Length: 677 [15:18:49]Content-Type: application/json [15:18:49] [15:18:49]POST finish read [15:18:49]Found Content-Length = 677 [15:18:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216102", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [15:18:49]execute_script... [15:18: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)216102", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 3.320, "sum" : 200.20, "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" ] } } [15:18:49]POST & json_proto [15:18:49]process_json_proto [15:18:49]json parsed OK: [15:18:49]protocol is kg_v1.0 [15:18:49]action value=close_receipt [15:18:49]process_action close_receipt [15:18:49]cmd_close_receipt [15:18:49]MH_GetDate [15:18:49]Write to MH i2c: F0 00 00 4E 37 74 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: F0 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: F0 09 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: F0 09 00 4E 37 00 62 70 B6 65 26 5D 9E 65 F0 [15:18:49]GetLastDocTimeStamp 1706454758 [15:18:49]current date 1706455138 [15:18:49]FM_GetShiftState [15:18:49]SAM_PROTO_GetShiftState [15:18:49]wFMCommunicate request_size=4 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 13 01 00 [15:18:49]Write to MH i2c: E2 08 00 4F 37 80 13 01 00 00 00 00 00 03 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 0E 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 0E 00 4F 37 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 89 [15:18:49]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:18:49]wFMCommunicate OK [15:18:49]SAM_PROTO_GetShiftState done [15:18:49]FM_GetShiftState done [15:18:49]opened in 1706400199 [15:18:49]opened+sec_in_day 1706486599 [15:18:49]quantity*price = 20019 [15:18:49]sum+1 = 20021 [15:18:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.26 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 66 28.01.2024 15:18 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49001 ФПД: 266225467130795 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T151858&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49001&fm=266225467130795&tin=02508201610067®Number=0000000000092723&sum=20000 [15:18:50]StoreToDocumentArchive [15:18:50]shift 244 fd 49001 [15:18:50]save to /storage/0244/doc_00049001 [15:18:50]save last doc name /storage/0244/doc_00049001 to /storage/kkm_last_doc_name [15:18:50]save OK [15:18:50]Clear old archive folders... [15:18:50]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:18:50]tlvbuf is 0119A3E0 [15:18:50]SAM_PROTO_ClearQueue [15:18:50]wFMCommunicate request_size=4 [15:18:50]MH_SAM_APDU [15:18:50]CAPDU: 80 09 00 00 [15:18:50]Write to MH i2c: E2 08 00 5C 37 80 09 00 00 00 00 00 00 05 [15:18:50]Write i2c OK [15:18:50]MH_I2C_Read... [15:18:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:18:50]Read from MH i2c: E2 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: E2 03 00 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: E2 03 00 5C 37 00 90 00 07 [15:18:50]RAPDU: 90 00 [15:18:50]wFMCommunicate OK [15:18:50]SAM_PROTO_ClearQueue done [15:18:50]KKMCreateOFDPacket [15:18:50]OFDProtocolAddRootSTLVToBuf [15:18:50]FM_MakeSignedData [15:18:50]FM_MakeSignedData [15:18:50]SAM_PROTO_SignData [15:18:50]wFMCommunicate request_size=4 [15:18:50]MH_SAM_APDU [15:18:50]CAPDU: 80 0D 01 02 [15:18:50]Write to MH i2c: E2 08 00 5D 37 80 0D 01 02 00 00 00 00 0D [15:18:50]Write i2c OK [15:18:50]MH_I2C_Read... [15:18:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:18:50]Read from MH i2c: E2 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: E2 03 00 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: E2 03 00 5D 37 00 90 00 08 [15:18:50]RAPDU: 90 00 [15:18:50]wFMCommunicate OK [15:18:50]wFMCommunicate request_size=255 [15:18:50]MH_SAM_APDU [15:18:50]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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 42 00 00 00 F4 03 04 00 62 70 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 69 BF 00 00 35 04 06 00 F2 [15:18:50]Write to MH i2c: E2 02 01 5E 37 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 42 00 00 00 F4 03 04 00 62 70 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 69 BF 00 00 35 04 06 00 F2 00 00 5A [15:18:50]Write i2c OK [15:18:50]MH_I2C_Read... [15:18:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:51]Read from MH i2c: E2 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 03 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 03 00 5E 37 00 90 00 09 [15:18:51]RAPDU: 90 00 [15:18:51]wFMCommunicate OK [15:18:51]wFMCommunicate request_size=10 [15:18:51]MH_SAM_APDU [15:18:51]CAPDU: 80 0D 02 02 05 21 72 66 03 AB [15:18:51]Write to MH i2c: E2 0D 00 5F 37 80 0D 02 02 05 00 21 72 66 03 AB 00 00 C1 [15:18:51]Write i2c OK [15:18:51]MH_I2C_Read... [15:18:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:51]Read from MH i2c: E2 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 03 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 03 00 5F 37 00 90 00 0A [15:18:51]RAPDU: 90 00 [15:18:51]wFMCommunicate OK [15:18:51]wFMCommunicate request_size=4 [15:18:51]MH_SAM_APDU [15:18:51]CAPDU: 80 0D 03 02 [15:18:51]Write to MH i2c: E2 08 00 60 37 80 0D 03 02 00 00 00 00 12 [15:18:51]Write i2c OK [15:18:51]MH_I2C_Read... [15:18:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:18:51]Read from MH i2c: E2 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 0B 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 0B 00 60 37 00 E8 54 DD BB F3 9F 98 F8 90 00 09 [15:18:51]RAPDU: E8 54 DD BB F3 9F 98 F8 90 00 [15:18:51]wFMCommunicate OK [15:18:51]SAM_PROTO_SignData done [15:18:51]FM_MakeSignedData done [15:18:51]CreateOFDProtocolMessage [15:18:51]wFMCommunicate request_size=4 [15:18:51]MH_SAM_APDU [15:18:51]CAPDU: 80 11 00 00 [15:18:51]Write to MH i2c: E2 08 00 61 37 80 11 00 00 00 00 00 00 12 [15:18:51]Write i2c OK [15:18:51]MH_I2C_Read... [15:18:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:51]Read from MH i2c: E2 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 17 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: E2 17 00 61 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 5F [15:18:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:18:51]wFMCommunicate OK [15:18:51]CreateOFDProtocolMessage done [15:18:51]OFDSenderStorePacket 49001 [15:18:51]StoreOFDPacket docnum=49001 [15:18:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 DA 2C 07 01 78 00 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 42 00 00 00 F4 03 04 00 62 70 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 69 BF 00 00 35 04 06 00 F2 21 72 66 03 AB E8 54 DD BB F3 9F 98 F8 [15:18:51]CheckFolder [15:18:51]dirname=/storage/ofd_packets [15:18:51]CheckFolder done [15:18:51]ProducePacketName [15:18:51]name=ofd_packets/00049001 [15:18:51]NVStorageSaveData ofd_packets/00049001 [15:18:51]File name is /storage/ofd_packets/00049001 [15:18:51]Write 301 bytes [15:18:51]NVStorageSaveData done [15:18:51]OFDSenderStorePacket done [15:18:51]KKMCreateOFDPacket done [15:18:51]NVStorageSaveData kkm_last_timestamp [15:18:51]File name is /storage/kkm_last_timestamp [15:18:51]Write 4 bytes [15:18:51]NVStorageSaveData done [15:18:51]ExternCall_PrintAddStr [15:18:51]wPrintStart [15:18:51]Write to MH i2c: 01 00 00 62 37 99 [15:18:51]Write i2c OK [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: 01 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: 01 07 00 [15:18:51]MH_I2C_Read... [15:18:51]Read from MH i2c: 01 07 00 62 37 00 00 00 00 00 FF 0F AE [15:18:51]RasterBufferAndPrint [15:18:51]line Счет N : (1)216102 [15:18:51]line ИÐÐ: 02508201610067 [15:18:51]line Контрольно-КаÑÑовый Чек [15:18:51]line ПРОДÐЖР[15:18:51]line ТРК (МРК, ГÐК) : 22 [15:18:51]line Товар: 2710124130 [15:18:51]line Ðи-92-К-5 [15:18:51]line 3.320 * 60.30 [15:18:51]line = 200.20 [15:18:51]line ÐДС 12% ÐСП 1% [15:18:51]line > о реализуемом товаре [15:18:51]line ОКРУГЛЕÐИЕ: -0.20 [15:18:51]line ИТОГО: 200.00 [15:18:51]line ВнеÑено: 200.00 [15:18:51]line СДÐЧÐ: 0.00 [15:18:51]line ÐСП 1% : 1.77 [15:18:51]line ÐДС 12% : 21.26 [15:18:51]line Ðаличными: 200.00 [15:18:51]line Безнал.: 0.00 [15:18:51]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [15:18:51]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [15:18:51]line СÐО: Общий режим [15:18:51]line Чек 66 28.01.2024 15:18 [15:18:51]line Смена: 244 ФФД: 1.0 [15:18:51]line ЗÐМ: 0300000040 [15:18:51]line РÐМ: 0000000000092723 [15:18:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:18:51]line ФМ: 0000000000875060 [15:18:51]line ФД: 49001 [15:18:51]line ФПД: 266225467130795 [15:18:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T151858&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49001&fm=266225467130795&tin=02508201610067®Number=0000000000092723&sum=20000 [15:18:51]OFD Sender: Processing packet 49001 [packets to send 12, broken 11] [15:18:51]ProducePacketName [15:18:51]name=ofd_packets/00049001 [15:18:51]OFD Sender: To server: ‡•öpG, [15:18:51]CommunicateWithHost lk.salyk.kg:30040 [15:18:51]ConnectInit lk.salyk.kg [15:18:51]written 0, free lines is 4095 [15:18:51]Connected sock=10 [15:18: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 30 36 30 0F 01 00 00 DA 2C 07 01 78 00 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 F8 0C 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 34 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 42 00 00 00 F4 03 04 00 62 70 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 69 BF 00 00 35 04 06 00 F2 21 72 66 03 AB E8 54 DD BB F3 9F 98 F8 [15:18:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 71 24 47 00 65 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 69 BF 00 00 F4 03 04 00 5D 1C B6 65 B6 04 01 00 00 C2 D0 A5 F6 91 D2 13 03 [15:18:51]CommunicateWithHost err = 0 [15:18:51]CheckOFDResponse [15:18:51]1017 (14) - 77093643461234 [15:18:51]1041 (16) - 0000000000875060 [15:18:51]1040 (4) - 49001 [15:18:51]1012 (4) - 28.01.2024 09:20 [15:18:51]1206 (1) - 0 [15:18:51]OFD Sender: Remove packet 49001 [15:18:51]ProducePacketName [15:18:51]name=ofd_packets/00049001 [15:18:51]NVStorageDeleteData [15:18:52]Write to MH i2c: 01 00 00 8D 37 C4 [15:18:52]Write i2c OK [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: 01 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: 01 07 00 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: 01 07 00 8D 37 00 00 00 00 00 EE 0C C5 [15:18:52]RasterBufferAndPrint [15:18:52]line [15:18:52]line [15:18:52]line [15:18:52]line [15:18:52]line [15:18:52]written 0, free lines is 3316 [15:18:52]MH_Cut [15:18:52]Write to MH i2c: D1 01 00 94 37 01 9D [15:18:52]Write i2c OK [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: D1 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: D1 01 00 [15:18:52]MH_I2C_Read... [15:18:52]Read from MH i2c: D1 01 00 94 37 00 9C [15:18:52]Write to MH i2c: 01 00 00 95 37 CC [15:18:52]Write i2c OK [15:18:52]MH_I2C_Read... [15:18:52]OFD Sender: No OFD packet to send [15:18:52]*** Cut start [15:18:52]*** Partial cut [15:18:52]*** CUTSNS_PIN = 1 [15:18:52]*** CUTSNS_PIN = 0 [15:18:52]*** Brake cut motor [15:18:53]Read from MH i2c: 01 [15:18:53]MH_I2C_Read... [15:18:53]*** Stop cut motor [15:18:53]*** Cut end [15:18:53]Read from MH i2c: 01 07 00 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: 01 07 00 95 37 00 00 00 00 00 FF 0F E1 [15:18:53]process_action close_receipt done [15:18:53]requested_data is exist [15:18:53]produce_requested_data [15:18:53]requested_item fm.sn is exist - process it [15:18:53]wFMCommunicate request_size=4 [15:18:53]MH_SAM_APDU [15:18:53]CAPDU: 80 11 00 00 [15:18:53]Write to MH i2c: E2 08 00 96 37 80 11 00 00 00 00 00 00 47 [15:18:53]Write i2c OK [15:18:53]MH_I2C_Read... [15:18:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:53]Read from MH i2c: E2 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 17 00 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 17 00 96 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 94 [15:18:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:18:53]wFMCommunicate OK [15:18:53]requested_item fd.num is exist - process it [15:18:53]SAM_PROTO_GetFieldsCounters [15:18:53]wFMCommunicate request_size=4 [15:18:53]MH_SAM_APDU [15:18:53]CAPDU: 80 13 00 00 [15:18:53]Write to MH i2c: E2 08 00 97 37 80 13 00 00 00 00 00 00 4A [15:18:53]Write i2c OK [15:18:53]MH_I2C_Read... [15:18:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:18:53]Read from MH i2c: E2 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 62 00 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 62 00 97 37 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 69 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [15:18: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 69 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:18:53]wFMCommunicate OK [15:18:53]SAM_PROTO_GetFieldsCounters done [15:18:53]requested_item shift.num is exist - process it [15:18:53]requested_item shift.opened is exist - process it [15:18:53]req_shift_opened [15:18:53]FM_GetShiftState [15:18:53]SAM_PROTO_GetShiftState [15:18:53]wFMCommunicate request_size=4 [15:18:53]MH_SAM_APDU [15:18:53]CAPDU: 80 13 01 00 [15:18:53]Write to MH i2c: E2 08 00 98 37 80 13 01 00 00 00 00 00 4C [15:18:53]Write i2c OK [15:18:53]MH_I2C_Read... [15:18:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:53]Read from MH i2c: E2 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 0E 00 [15:18:53]MH_I2C_Read... [15:18:53]Read from MH i2c: E2 0E 00 98 37 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D2 [15:18:53]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:18:53]wFMCommunicate OK [15:18:53]SAM_PROTO_GetShiftState done [15:18:53]FM_GetShiftState done [15:18:53]req_shift_opened done [15:18:53]requested_item shift.open_date is exist - process it [15:18:53]req_shift_open_date [15:18:53]req_shift_open_date done [15:18:53]produce_requested_data done [15:18:53]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49001,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [15:18:53]process_action_free close_receipt [15:18:53]json_value_free [15:18:53]json_value_free done [15:18:53]process_json_proto returns [15:18:53]Send response to host [15:18:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49001,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [15:18:53]free response buf [15:18:53]execute_script done [15:18:53]execute_script returns [15:18:53]free content buf [15:18:53]Sock 7.Close socket [15:18:53]Sock 7.Thread stoped [15:18:57]OFD Sender: No OFD packet to send [15:19:02]OFD Sender: No OFD packet to send [15:19:07]OFD Sender: No OFD packet to send [15:19:12]OFD Sender: No OFD packet to send [15:19:17]OFD Sender: No OFD packet to send [15:19:22]OFD Sender: No OFD packet to send [15:19:27]OFD Sender: No OFD packet to send [15:19:32]OFD Sender: No OFD packet to send [15:19:37]OFD Sender: No OFD packet to send [15:19:42]OFD Sender: No OFD packet to send [15:19:47]OFD Sender: No OFD packet to send [15:19:52]OFD Sender: No OFD packet to send [15:19:57]OFD Sender: No OFD packet to send [15:20:02]OFD Sender: No OFD packet to send [15:20:07]OFD Sender: No OFD packet to send [15:20:12]OFD Sender: No OFD packet to send [15:20:17]OFD Sender: No OFD packet to send [15:20:22]OFD Sender: No OFD packet to send [15:20:27]OFD Sender: No OFD packet to send [15:20:32]OFD Sender: No OFD packet to send [15:20:37]OFD Sender: No OFD packet to send [15:20:42]OFD Sender: No OFD packet to send [15:20:47]OFD Sender: No OFD packet to send [15:20:52]OFD Sender: No OFD packet to send [15:20:57]OFD Sender: No OFD packet to send [15:21:02]OFD Sender: No OFD packet to send [15:21:07]OFD Sender: No OFD packet to send [15:21:12]OFD Sender: No OFD packet to send [15:21:17]OFD Sender: No OFD packet to send [15:21:22]OFD Sender: No OFD packet to send [15:21:27]OFD Sender: No OFD packet to send [15:21:32]OFD Sender: No OFD packet to send [15:21:37]OFD Sender: No OFD packet to send [15:21:42]OFD Sender: No OFD packet to send [15:21:47]OFD Sender: No OFD packet to send [15:21:52]OFD Sender: No OFD packet to send [15:21:57]OFD Sender: No OFD packet to send [15:22:02]OFD Sender: No OFD packet to send [15:22:07]OFD Sender: No OFD packet to send [15:22:12]OFD Sender: No OFD packet to send [15:22:17]OFD Sender: No OFD packet to send [15:22:22]OFD Sender: No OFD packet to send [15:22:27]OFD Sender: No OFD packet to send [15:22:32]OFD Sender: No OFD packet to send [15:22:37]OFD Sender: No OFD packet to send [15:22:42]OFD Sender: No OFD packet to send [15:22:47]OFD Sender: No OFD packet to send [15:22:52]OFD Sender: No OFD packet to send [15:22:57]OFD Sender: No OFD packet to send [15:23:02]OFD Sender: No OFD packet to send [15:23:07]OFD Sender: No OFD packet to send [15:23:12]OFD Sender: No OFD packet to send [15:23:17]OFD Sender: No OFD packet to send [15:23:22]OFD Sender: No OFD packet to send [15:23:27]OFD Sender: No OFD packet to send [15:23:32]OFD Sender: No OFD packet to send [15:23:37]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [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:34]accept exits with 9 [15:28:34]New connection [15:28:34]New thread 3066813796 created [15:28:34]Thread 3066670436 joined [15:28:34]Waiting for new connection... [15:28:34] Sock 9.Parse request [15:28:34]Sock 9.Check first char [15:28:34]Sock 9.First char is OK [15:28:34]request: POST /json_proto HTTP/1.0 [15:28:34]Method: POST [15:28:34]URL: /json_proto [15:28:34]Method is POST - this is cgi request [15:28:34]url: /json_proto [15:28:34]query_string will be loaded in cgi processing [15:28:34]execute_cgi json_proto POST (null) [15:28:34]execute_cgi path=json_proto method=POST [15:28:34]POST find Content-Length [15:28:34]Host: 172.17.56.67:8080 [15:28:34]Content-Length: 682 [15:28:34]Content-Type: application/json [15:28:34] [15:28:34]POST finish read [15:28:34]Found Content-Length = 682 [15:28:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216103", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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:28:34]execute_script... [15:28:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216103", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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:28:34]POST & json_proto [15:28:34]process_json_proto [15:28:34]json parsed OK: [15:28:34]protocol is kg_v1.0 [15:28:34]action value=close_receipt [15:28:34]process_action close_receipt [15:28:34]cmd_close_receipt [15:28:34]MH_GetDate [15:28:34]Write to MH i2c: F0 00 00 99 37 BF [15:28:34]Write i2c OK [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: F0 [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: F0 09 00 [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: F0 09 00 99 37 00 AB 72 B6 65 26 5D 9E 65 86 [15:28:34]GetLastDocTimeStamp 1706455138 [15:28:34]current date 1706455723 [15:28:34]FM_GetShiftState [15:28:34]SAM_PROTO_GetShiftState [15:28:34]wFMCommunicate request_size=4 [15:28:34]MH_SAM_APDU [15:28:34]CAPDU: 80 13 01 00 [15:28:34]Write to MH i2c: E2 08 00 9A 37 80 13 01 00 00 00 00 00 4E [15:28:34]Write i2c OK [15:28:34]MH_I2C_Read... [15:28:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:34]Read from MH i2c: E2 [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: E2 0E 00 [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: E2 0E 00 9A 37 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 D4 [15:28:34]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:28:34]wFMCommunicate OK [15:28:34]SAM_PROTO_GetShiftState done [15:28:34]FM_GetShiftState done [15:28:34]opened in 1706400199 [15:28:34]opened+sec_in_day 1706486599 [15:28:34]quantity*price = 100037 [15:28:34]sum+1 = 100039 [15:28:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.23 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 67 28.01.2024 15:28 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49002 ФПД: 137357465595167 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T152843&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49002&fm=137357465595167&tin=02508201610067®Number=0000000000092723&sum=100000 [15:28:35]StoreToDocumentArchive [15:28:35]shift 244 fd 49002 [15:28:35]save to /storage/0244/doc_00049002 [15:28:35]save last doc name /storage/0244/doc_00049002 to /storage/kkm_last_doc_name [15:28:35]save OK [15:28:35]Clear old archive folders... [15:28:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:28:35]tlvbuf is 011DB100 [15:28:35]SAM_PROTO_ClearQueue [15:28:35]wFMCommunicate request_size=4 [15:28:35]MH_SAM_APDU [15:28:35]CAPDU: 80 09 00 00 [15:28:35]Write to MH i2c: E2 08 00 A7 37 80 09 00 00 00 00 00 00 50 [15:28:35]Write i2c OK [15:28:35]MH_I2C_Read... [15:28:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:35]Read from MH i2c: E2 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 03 00 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 03 00 A7 37 00 90 00 52 [15:28:35]RAPDU: 90 00 [15:28:35]wFMCommunicate OK [15:28:35]SAM_PROTO_ClearQueue done [15:28:35]KKMCreateOFDPacket [15:28:35]OFDProtocolAddRootSTLVToBuf [15:28:35]FM_MakeSignedData [15:28:35]FM_MakeSignedData [15:28:35]SAM_PROTO_SignData [15:28:35]wFMCommunicate request_size=4 [15:28:35]MH_SAM_APDU [15:28:35]CAPDU: 80 0D 01 02 [15:28:35]Write to MH i2c: E2 08 00 A8 37 80 0D 01 02 00 00 00 00 58 [15:28:35]Write i2c OK [15:28:35]MH_I2C_Read... [15:28:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:35]Read from MH i2c: E2 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 03 00 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 03 00 A8 37 00 90 00 53 [15:28:35]RAPDU: 90 00 [15:28:35]wFMCommunicate OK [15:28:35]wFMCommunicate request_size=255 [15:28:35]MH_SAM_APDU [15:28:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 43 00 00 00 F4 03 04 00 AB 72 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6A BF 00 00 35 04 06 00 7C [15:28:35]Write to MH i2c: E2 02 01 A9 37 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 43 00 00 00 F4 03 04 00 AB 72 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6A BF 00 00 35 04 06 00 7C 00 00 DC [15:28:35]Write i2c OK [15:28:35]MH_I2C_Read... [15:28:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:35]Read from MH i2c: E2 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 03 00 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 03 00 A9 37 00 90 00 54 [15:28:35]RAPDU: 90 00 [15:28:35]wFMCommunicate OK [15:28:35]wFMCommunicate request_size=10 [15:28:35]MH_SAM_APDU [15:28:35]CAPDU: 80 0D 02 02 05 ED 06 F1 AD 1F [15:28:35]Write to MH i2c: E2 0D 00 AA 37 80 0D 02 02 05 00 ED 06 F1 AD 1F 00 00 15 [15:28:35]Write i2c OK [15:28:35]MH_I2C_Read... [15:28:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:35]Read from MH i2c: E2 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 03 00 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 03 00 AA 37 00 90 00 55 [15:28:35]RAPDU: 90 00 [15:28:35]wFMCommunicate OK [15:28:35]wFMCommunicate request_size=4 [15:28:35]MH_SAM_APDU [15:28:35]CAPDU: 80 0D 03 02 [15:28:35]Write to MH i2c: E2 08 00 AB 37 80 0D 03 02 00 00 00 00 5D [15:28:35]Write i2c OK [15:28:35]MH_I2C_Read... [15:28:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:35]Read from MH i2c: E2 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 0B 00 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 0B 00 AB 37 00 13 14 CF E6 9D D2 00 14 90 00 BD [15:28:35]RAPDU: 13 14 CF E6 9D D2 00 14 90 00 [15:28:35]wFMCommunicate OK [15:28:35]SAM_PROTO_SignData done [15:28:35]FM_MakeSignedData done [15:28:35]CreateOFDProtocolMessage [15:28:35]wFMCommunicate request_size=4 [15:28:35]MH_SAM_APDU [15:28:35]CAPDU: 80 11 00 00 [15:28:35]Write to MH i2c: E2 08 00 AC 37 80 11 00 00 00 00 00 00 5D [15:28:35]Write i2c OK [15:28:35]MH_I2C_Read... [15:28:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:35]Read from MH i2c: E2 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 17 00 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: E2 17 00 AC 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 AA [15:28:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:28:35]wFMCommunicate OK [15:28:35]CreateOFDProtocolMessage done [15:28:35]OFDSenderStorePacket 49002 [15:28:35]StoreOFDPacket docnum=49002 [15:28:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 1B 69 07 01 56 8D 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 43 00 00 00 F4 03 04 00 AB 72 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6A BF 00 00 35 04 06 00 7C ED 06 F1 AD 1F 13 14 CF E6 9D D2 00 14 [15:28:35]CheckFolder [15:28:35]dirname=/storage/ofd_packets [15:28:35]CheckFolder done [15:28:35]ProducePacketName [15:28:35]name=ofd_packets/00049002 [15:28:35]NVStorageSaveData ofd_packets/00049002 [15:28:35]File name is /storage/ofd_packets/00049002 [15:28:35]Write 301 bytes [15:28:35]NVStorageSaveData done [15:28:35]OFDSenderStorePacket done [15:28:35]KKMCreateOFDPacket done [15:28:35]NVStorageSaveData kkm_last_timestamp [15:28:35]File name is /storage/kkm_last_timestamp [15:28:35]Write 4 bytes [15:28:35]NVStorageSaveData done [15:28:35]ExternCall_PrintAddStr [15:28:35]wPrintStart [15:28:35]Write to MH i2c: 01 00 00 AD 37 E4 [15:28:35]Write i2c OK [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: 01 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: 01 07 00 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: 01 07 00 AD 37 00 00 00 00 00 FF 0F F9 [15:28:35]RasterBufferAndPrint [15:28:35]line Счет N : (1)216103 [15:28:35]line ИÐÐ: 02508201610067 [15:28:35]line Контрольно-КаÑÑовый Чек [15:28:35]line ПРОДÐЖР[15:28:35]line ТРК (МРК, ГÐК) : 22 [15:28:35]line Товар: 2710124130 [15:28:35]line Ðи-92-К-5 [15:28:35]line 16.590 * 60.30 [15:28:35]line = 1000.38 [15:28:35]line ÐДС 12% ÐСП 1% [15:28:35]line > о реализуемом товаре [15:28:35]line ОКРУГЛЕÐИЕ: -0.38 [15:28:35]line ИТОГО: 1000.00 [15:28:35]line ВнеÑено: 1000.00 [15:28:35]line СДÐЧÐ: 0.00 [15:28:35]line ÐСП 1% : 8.85 [15:28:35]line ÐДС 12% : 106.23 [15:28:35]line Ðаличными: 1000.00 [15:28:35]line Безнал.: 0.00 [15:28:35]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [15:28:35]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [15:28:35]line СÐО: Общий режим [15:28:35]line Чек 67 28.01.2024 15:28 [15:28:35]line Смена: 244 ФФД: 1.0 [15:28:36]line ЗÐМ: 0300000040 [15:28:36]line РÐМ: 0000000000092723 [15:28:36]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:28:36]line ФМ: 0000000000875060 [15:28:36]line ФД: 49002 [15:28:36]line ФПД: 137357465595167 [15:28:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T152843&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49002&fm=137357465595167&tin=02508201610067®Number=0000000000092723&sum=100000 [15:28:36]OFD Sender: Processing packet 49002 [packets to send 12, broken 11] [15:28:36]ProducePacketName [15:28:36]name=ofd_packets/00049002 [15:28:36]OFD Sender: To server: ‡•öpG, [15:28:36]CommunicateWithHost lk.salyk.kg:30040 [15:28:36]ConnectInit lk.salyk.kg [15:28:36]written 0, free lines is 4095 [15:28:36]Connected sock=10 [15:28:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 1B 69 07 01 56 8D 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 43 00 00 00 F4 03 04 00 AB 72 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6A BF 00 00 35 04 06 00 7C ED 06 F1 AD 1F 13 14 CF E6 9D D2 00 14 [15:28:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 85 DF 47 00 B3 E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6A BF 00 00 F4 03 04 00 A6 1E B6 65 B6 04 01 00 00 A8 06 81 9B 75 CA 14 16 [15:28:36]CommunicateWithHost err = 0 [15:28:36]CheckOFDResponse [15:28:36]1017 (14) - 77093643461234 [15:28:36]1041 (16) - 0000000000875060 [15:28:36]1040 (4) - 49002 [15:28:36]1012 (4) - 28.01.2024 09:30 [15:28:36]1206 (1) - 0 [15:28:36]OFD Sender: Remove packet 49002 [15:28:36]ProducePacketName [15:28:36]name=ofd_packets/00049002 [15:28:36]NVStorageDeleteData [15:28:36]Write to MH i2c: 01 00 00 D8 37 0F [15:28:36]Write i2c OK [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: 01 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: 01 07 00 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: 01 07 00 D8 37 00 00 00 00 00 F6 0C 18 [15:28:36]RasterBufferAndPrint [15:28:36]line [15:28:36]line [15:28:36]line [15:28:36]line [15:28:36]line [15:28:36]written 0, free lines is 3324 [15:28:36]MH_Cut [15:28:36]Write to MH i2c: D1 01 00 DF 37 01 E8 [15:28:36]Write i2c OK [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: D1 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: D1 01 00 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: D1 01 00 DF 37 00 E7 [15:28:36]Write to MH i2c: 01 00 00 E0 37 17 [15:28:36]Write i2c OK [15:28:36]MH_I2C_Read... [15:28:36]OFD Sender: No OFD packet to send [15:28:37]*** Cut start [15:28:37]*** Partial cut [15:28:37]*** CUTSNS_PIN = 1 [15:28:37]*** CUTSNS_PIN = 0 [15:28:37]*** Brake cut motor [15:28:37]Read from MH i2c: 01 [15:28:37]MH_I2C_Read... [15:28:37]*** Stop cut motor [15:28:37]*** Cut end [15:28:37]Read from MH i2c: 01 07 00 [15:28:37]MH_I2C_Read... [15:28:37]Read from MH i2c: 01 07 00 E0 37 00 00 00 00 00 FF 0F 2C [15:28:37]process_action close_receipt done [15:28:37]requested_data is exist [15:28:37]produce_requested_data [15:28:37]requested_item fm.sn is exist - process it [15:28:37]wFMCommunicate request_size=4 [15:28:37]MH_SAM_APDU [15:28:37]CAPDU: 80 11 00 00 [15:28:37]Write to MH i2c: E2 08 00 E1 37 80 11 00 00 00 00 00 00 92 [15:28:37]Write i2c OK [15:28:37]MH_I2C_Read... [15:28:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:37]Read from MH i2c: E2 [15:28:37]MH_I2C_Read... [15:28:37]Read from MH i2c: E2 17 00 [15:28:37]MH_I2C_Read... [15:28:37]Read from MH i2c: E2 17 00 E1 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 DF [15:28:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:28:37]wFMCommunicate OK [15:28:37]requested_item fd.num is exist - process it [15:28:37]SAM_PROTO_GetFieldsCounters [15:28:37]wFMCommunicate request_size=4 [15:28:37]MH_SAM_APDU [15:28:37]CAPDU: 80 13 00 00 [15:28:37]Write to MH i2c: E2 08 00 E2 37 80 13 00 00 00 00 00 00 95 [15:28:37]Write i2c OK [15:28:37]MH_I2C_Read... [15:28:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:38]Read from MH i2c: E2 [15:28:38]MH_I2C_Read... [15:28:38]Read from MH i2c: E2 62 00 [15:28:38]MH_I2C_Read... [15:28:38]Read from MH i2c: E2 62 00 E2 37 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 94 [15:28:38]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6A BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:28:38]wFMCommunicate OK [15:28:38]SAM_PROTO_GetFieldsCounters done [15:28:38]requested_item shift.num is exist - process it [15:28:38]requested_item shift.opened is exist - process it [15:28:38]req_shift_opened [15:28:38]FM_GetShiftState [15:28:38]SAM_PROTO_GetShiftState [15:28:38]wFMCommunicate request_size=4 [15:28:38]MH_SAM_APDU [15:28:38]CAPDU: 80 13 01 00 [15:28:38]Write to MH i2c: E2 08 00 E3 37 80 13 01 00 00 00 00 00 97 [15:28:38]Write i2c OK [15:28:38]MH_I2C_Read... [15:28:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:38]Read from MH i2c: E2 [15:28:38]MH_I2C_Read... [15:28:38]Read from MH i2c: E2 0E 00 [15:28:38]MH_I2C_Read... [15:28:38]Read from MH i2c: E2 0E 00 E3 37 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 1D [15:28:38]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:28:38]wFMCommunicate OK [15:28:38]SAM_PROTO_GetShiftState done [15:28:38]FM_GetShiftState done [15:28:38]req_shift_opened done [15:28:38]requested_item shift.open_date is exist - process it [15:28:38]req_shift_open_date [15:28:38]req_shift_open_date done [15:28:38]produce_requested_data done [15:28:38]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49002,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [15:28:38]process_action_free close_receipt [15:28:38]json_value_free [15:28:38]json_value_free done [15:28:38]process_json_proto returns [15:28:38]Send response to host [15:28:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49002,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [15:28:38]free response buf [15:28:38]execute_script done [15:28:38]execute_script returns [15:28:38]free content buf [15:28:38]Sock 9.Close socket [15:28:38]Sock 9.Thread stoped [15:28:41]OFD Sender: No OFD packet to send [15:28:46]accept exits with 7 [15:28:46]New connection [15:28:46]New thread 3066670436 created [15:28:46]Thread 3066813796 joined [15:28:46]Waiting for new connection... [15:28:46] Sock 7.Parse request [15:28:46]Sock 7.Check first char [15:28:46]Sock 7.First char is OK [15:28:46]request: POST /json_proto HTTP/1.0 [15:28:46]Method: POST [15:28:46]URL: /json_proto [15:28:46]Method is POST - this is cgi request [15:28:46]url: /json_proto [15:28:46]query_string will be loaded in cgi processing [15:28:46]execute_cgi json_proto POST (null) [15:28:46]execute_cgi path=json_proto method=POST [15:28:46]POST find Content-Length [15:28:46]Host: 172.17.56.67:8080 [15:28:46]Content-Length: 673 [15:28:46]Content-Type: application/json [15:28:46] [15:28:46]POST finish read [15:28:46]Found Content-Length = 673 [15:28:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216104", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 1.250, "sum" : 75.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 75.00, "total" : 75.00, "payments": [ { "type": 0, "sum" : 75.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:46]execute_script... [15:28:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216104", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 1.250, "sum" : 75.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 75.00, "total" : 75.00, "payments": [ { "type": 0, "sum" : 75.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:46]POST & json_proto [15:28:46]process_json_proto [15:28:46]json parsed OK: [15:28:46]protocol is kg_v1.0 [15:28:46]action value=close_receipt [15:28:46]process_action close_receipt [15:28:46]cmd_close_receipt [15:28:46]MH_GetDate [15:28:46]Write to MH i2c: F0 00 00 E4 37 0A [15:28:46]Write i2c OK [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: F0 [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: F0 09 00 [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: F0 09 00 E4 37 00 B7 72 B6 65 26 5D 9E 65 DD [15:28:46]GetLastDocTimeStamp 1706455723 [15:28:46]current date 1706455735 [15:28:46]FM_GetShiftState [15:28:46]SAM_PROTO_GetShiftState [15:28:46]wFMCommunicate request_size=4 [15:28:46]MH_SAM_APDU [15:28:46]CAPDU: 80 13 01 00 [15:28:46]Write to MH i2c: E2 08 00 E5 37 80 13 01 00 00 00 00 00 99 [15:28:46]Write i2c OK [15:28:46]MH_I2C_Read... [15:28:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:46]Read from MH i2c: E2 [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: E2 0E 00 [15:28:46]MH_I2C_Read... [15:28:46]Read from MH i2c: E2 0E 00 E5 37 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 1F [15:28:46]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:28:46]wFMCommunicate OK [15:28:46]SAM_PROTO_GetShiftState done [15:28:46]FM_GetShiftState done [15:28:46]opened in 1706400199 [15:28:46]opened+sec_in_day 1706486599 [15:28:46]quantity*price = 7537 [15:28:46]sum+1 = 7539 [15:28:46]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 75.00 ВнеÑено: 75.00 СДÐЧÐ: 0.00 ÐСП 1% : 0.67 ÐДС 12% : 8.00 Ðаличными: 75.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 68 28.01.2024 15:28 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49003 ФПД: 151034842195950 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T152855&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49003&fm=151034842195950&tin=02508201610067®Number=0000000000092723&sum=7500 [15:28:47]StoreToDocumentArchive [15:28:47]shift 244 fd 49003 [15:28:47]save to /storage/0244/doc_00049003 [15:28:47]save last doc name /storage/0244/doc_00049003 to /storage/kkm_last_doc_name [15:28:47]save OK [15:28:47]Clear old archive folders... [15:28:47]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:28:47]tlvbuf is 01210630 [15:28:47]SAM_PROTO_ClearQueue [15:28:47]wFMCommunicate request_size=4 [15:28:47]MH_SAM_APDU [15:28:47]CAPDU: 80 09 00 00 [15:28:47]Write to MH i2c: E2 08 00 F2 37 80 09 00 00 00 00 00 00 9B [15:28:47]Write i2c OK [15:28:47]MH_I2C_Read... [15:28:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:47]Read from MH i2c: E2 [15:28:47]MH_I2C_Read... [15:28:47]Read from MH i2c: E2 03 00 [15:28:47]MH_I2C_Read... [15:28:47]Read from MH i2c: E2 03 00 F2 37 00 90 00 9D [15:28:47]RAPDU: 90 00 [15:28:47]wFMCommunicate OK [15:28:47]SAM_PROTO_ClearQueue done [15:28:47]KKMCreateOFDPacket [15:28:47]OFDProtocolAddRootSTLVToBuf [15:28:47]FM_MakeSignedData [15:28:47]FM_MakeSignedData [15:28:47]SAM_PROTO_SignData [15:28:47]wFMCommunicate request_size=4 [15:28:47]MH_SAM_APDU [15:28:47]CAPDU: 80 0D 01 02 [15:28:47]Write to MH i2c: E2 08 00 F3 37 80 0D 01 02 00 00 00 00 A3 [15:28:47]Write i2c OK [15:28:47]MH_I2C_Read... [15:28:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:47]Read from MH i2c: E2 [15:28:47]MH_I2C_Read... [15:28:47]Read from MH i2c: E2 03 00 [15:28:47]MH_I2C_Read... [15:28:47]Read from MH i2c: E2 03 00 F3 37 00 90 00 9E [15:28:47]RAPDU: 90 00 [15:28:47]wFMCommunicate OK [15:28:47]wFMCommunicate request_size=255 [15:28:47]MH_SAM_APDU [15:28:47]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 E2 04 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 72 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 43 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 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 44 00 00 00 F4 03 04 00 B7 72 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6B BF 00 00 35 04 06 00 89 [15:28:47]Write to MH i2c: E2 02 01 F4 37 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 E2 04 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 72 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 43 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 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 44 00 00 00 F4 03 04 00 B7 72 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6B BF 00 00 35 04 06 00 89 00 00 26 [15:28:47]Write i2c OK [15:28:47]MH_I2C_Read... [15:28:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:48]Read from MH i2c: E2 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: E2 03 00 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: E2 03 00 F4 37 00 90 00 9F [15:28:48]RAPDU: 90 00 [15:28:48]wFMCommunicate OK [15:28:48]wFMCommunicate request_size=10 [15:28:48]MH_SAM_APDU [15:28:48]CAPDU: 80 0D 02 02 05 5D 8A 1E 27 EE [15:28:48]Write to MH i2c: E2 0D 00 F5 37 80 0D 02 02 05 00 5D 8A 1E 27 EE 00 00 CA [15:28:48]Write i2c OK [15:28:48]MH_I2C_Read... [15:28:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:48]Read from MH i2c: E2 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: E2 03 00 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: E2 03 00 F5 37 00 90 00 A0 [15:28:48]RAPDU: 90 00 [15:28:48]wFMCommunicate OK [15:28:48]wFMCommunicate request_size=4 [15:28:48]MH_SAM_APDU [15:28:48]CAPDU: 80 0D 03 02 [15:28:48]Write to MH i2c: E2 08 00 F6 37 80 0D 03 02 00 00 00 00 A8 [15:28:48]Write i2c OK [15:28:48]MH_I2C_Read... [15:28:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:48]Read from MH i2c: E2 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: E2 0B 00 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: E2 0B 00 F6 37 00 51 BF 4E 1B C8 DE DF 81 90 00 28 [15:28:48]RAPDU: 51 BF 4E 1B C8 DE DF 81 90 00 [15:28:48]wFMCommunicate OK [15:28:48]SAM_PROTO_SignData done [15:28:48]FM_MakeSignedData done [15:28:48]CreateOFDProtocolMessage [15:28:48]wFMCommunicate request_size=4 [15:28:48]MH_SAM_APDU [15:28:48]CAPDU: 80 11 00 00 [15:28:48]Write to MH i2c: E2 08 00 F7 37 80 11 00 00 00 00 00 00 A8 [15:28:48]Write i2c OK [15:28:48]MH_I2C_Read... [15:28:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:48]Read from MH i2c: E2 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: E2 17 00 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: E2 17 00 F7 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 F5 [15:28:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:28:48]wFMCommunicate OK [15:28:48]CreateOFDProtocolMessage done [15:28:48]OFDSenderStorePacket 49003 [15:28:48]StoreOFDPacket docnum=49003 [15:28:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F4 80 07 01 1D 02 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 E2 04 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 72 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 43 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 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 44 00 00 00 F4 03 04 00 B7 72 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6B BF 00 00 35 04 06 00 89 5D 8A 1E 27 EE 51 BF 4E 1B C8 DE DF 81 [15:28:48]CheckFolder [15:28:48]dirname=/storage/ofd_packets [15:28:48]CheckFolder done [15:28:48]ProducePacketName [15:28:48]name=ofd_packets/00049003 [15:28:48]NVStorageSaveData ofd_packets/00049003 [15:28:48]File name is /storage/ofd_packets/00049003 [15:28:48]Write 301 bytes [15:28:48]NVStorageSaveData done [15:28:48]OFDSenderStorePacket done [15:28:48]KKMCreateOFDPacket done [15:28:48]NVStorageSaveData kkm_last_timestamp [15:28:48]File name is /storage/kkm_last_timestamp [15:28:48]Write 4 bytes [15:28:48]NVStorageSaveData done [15:28:48]ExternCall_PrintAddStr [15:28:48]wPrintStart [15:28:48]Write to MH i2c: 01 00 00 F8 37 2F [15:28:48]Write i2c OK [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: 01 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: 01 07 00 [15:28:48]MH_I2C_Read... [15:28:48]Read from MH i2c: 01 07 00 F8 37 00 00 00 00 00 FF 0F 44 [15:28:48]RasterBufferAndPrint [15:28:48]line Счет N : (1)216104 [15:28:48]line ИÐÐ: 02508201610067 [15:28:48]line Контрольно-КаÑÑовый Чек [15:28:48]line ПРОДÐЖР[15:28:48]line ТРК (МРК, ГÐК) : 12 [15:28:48]line Товар: 2710124130 [15:28:48]line Ðи-92-К-5 [15:28:48]line 1.250 * 60.30 [15:28:48]line = 75.38 [15:28:48]line ÐДС 12% ÐСП 1% [15:28:48]line > о реализуемом товаре [15:28:48]line ОКРУГЛЕÐИЕ: -0.38 [15:28:48]line ИТОГО: 75.00 [15:28:48]line ВнеÑено: 75.00 [15:28:48]line СДÐЧÐ: 0.00 [15:28:48]line ÐСП 1% : 0.67 [15:28:48]line ÐДС 12% : 8.00 [15:28:48]line Ðаличными: 75.00 [15:28:48]line Безнал.: 0.00 [15:28:48]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [15:28:48]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [15:28:48]line СÐО: Общий режим [15:28:48]line Чек 68 28.01.2024 15:28 [15:28:48]line Смена: 244 ФФД: 1.0 [15:28:48]line ЗÐМ: 0300000040 [15:28:48]line РÐМ: 0000000000092723 [15:28:48]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:28:48]line ФМ: 0000000000875060 [15:28:48]line ФД: 49003 [15:28:48]line ФПД: 151034842195950 [15:28:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T152855&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49003&fm=151034842195950&tin=02508201610067®Number=0000000000092723&sum=7500 [15:28:48]OFD Sender: Processing packet 49003 [packets to send 12, broken 11] [15:28:48]ProducePacketName [15:28:48]name=ofd_packets/00049003 [15:28:48]OFD Sender: To server: ‡•öpG, [15:28:48]CommunicateWithHost lk.salyk.kg:30040 [15:28:48]ConnectInit lk.salyk.kg [15:28:48]written 0, free lines is 4095 [15:28:48]Connected sock=10 [15:28:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F4 80 07 01 1D 02 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 E2 04 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 72 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 43 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 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 44 00 00 00 F4 03 04 00 B7 72 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6B BF 00 00 35 04 06 00 89 5D 8A 1E 27 EE 51 BF 4E 1B C8 DE DF 81 [15:28:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 65 B7 47 00 CE E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6B BF 00 00 F4 03 04 00 B2 1E B6 65 B6 04 01 00 00 98 93 74 10 00 7E F4 45 [15:28:48]CommunicateWithHost err = 0 [15:28:48]CheckOFDResponse [15:28:48]1017 (14) - 77093643461234 [15:28:48]1041 (16) - 0000000000875060 [15:28:48]1040 (4) - 49003 [15:28:48]1012 (4) - 28.01.2024 09:30 [15:28:48]1206 (1) - 0 [15:28:48]OFD Sender: Remove packet 49003 [15:28:48]ProducePacketName [15:28:48]name=ofd_packets/00049003 [15:28:48]NVStorageDeleteData [15:28:49]Write to MH i2c: 01 00 00 23 38 5B [15:28:49]Write i2c OK [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: 01 [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: 01 07 00 [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: 01 07 00 23 38 00 00 00 00 00 E4 0C 52 [15:28:49]RasterBufferAndPrint [15:28:49]line [15:28:49]line [15:28:49]line [15:28:49]line [15:28:49]line [15:28:49]written 0, free lines is 3306 [15:28:49]MH_Cut [15:28:49]Write to MH i2c: D1 01 00 2A 38 01 34 [15:28:49]Write i2c OK [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: D1 [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: D1 01 00 [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: D1 01 00 2A 38 00 33 [15:28:49]Write to MH i2c: 01 00 00 2B 38 63 [15:28:49]Write i2c OK [15:28:49]MH_I2C_Read... [15:28:49]OFD Sender: No OFD packet to send [15:28:49]*** Cut start [15:28:49]*** Partial cut [15:28:49]*** CUTSNS_PIN = 1 [15:28:49]*** CUTSNS_PIN = 0 [15:28:49]*** Brake cut motor [15:28:50]Read from MH i2c: 01 [15:28:50]MH_I2C_Read... [15:28:50]*** Stop cut motor [15:28:50]*** Cut end [15:28:50]Read from MH i2c: 01 07 00 [15:28:50]MH_I2C_Read... [15:28:50]Read from MH i2c: 01 07 00 2B 38 00 00 00 00 00 FF 0F 78 [15:28:50]process_action close_receipt done [15:28:50]requested_data is exist [15:28:50]produce_requested_data [15:28:50]requested_item fm.sn is exist - process it [15:28:50]wFMCommunicate request_size=4 [15:28:50]MH_SAM_APDU [15:28:50]CAPDU: 80 11 00 00 [15:28:50]Write to MH i2c: E2 08 00 2C 38 80 11 00 00 00 00 00 00 DE [15:28:50]Write i2c OK [15:28:50]MH_I2C_Read... [15:28:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:50]Read from MH i2c: E2 [15:28:50]MH_I2C_Read... [15:28:50]Read from MH i2c: E2 17 00 [15:28:50]MH_I2C_Read... [15:28:50]Read from MH i2c: E2 17 00 2C 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 2B [15:28:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:28:50]wFMCommunicate OK [15:28:50]requested_item fd.num is exist - process it [15:28:50]SAM_PROTO_GetFieldsCounters [15:28:50]wFMCommunicate request_size=4 [15:28:50]MH_SAM_APDU [15:28:50]CAPDU: 80 13 00 00 [15:28:50]Write to MH i2c: E2 08 00 2D 38 80 13 00 00 00 00 00 00 E1 [15:28:50]Write i2c OK [15:28:50]MH_I2C_Read... [15:28:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:50]Read from MH i2c: E2 [15:28:50]MH_I2C_Read... [15:28:50]Read from MH i2c: E2 62 00 [15:28:50]MH_I2C_Read... [15:28:50]Read from MH i2c: E2 62 00 2D 38 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [15:28:50]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6B BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:28:50]wFMCommunicate OK [15:28:50]SAM_PROTO_GetFieldsCounters done [15:28:50]requested_item shift.num is exist - process it [15:28:50]requested_item shift.opened is exist - process it [15:28:50]req_shift_opened [15:28:50]FM_GetShiftState [15:28:50]SAM_PROTO_GetShiftState [15:28:50]wFMCommunicate request_size=4 [15:28:50]MH_SAM_APDU [15:28:50]CAPDU: 80 13 01 00 [15:28:50]Write to MH i2c: E2 08 00 2E 38 80 13 01 00 00 00 00 00 E3 [15:28:50]Write i2c OK [15:28:50]MH_I2C_Read... [15:28:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:50]Read from MH i2c: E2 [15:28:50]MH_I2C_Read... [15:28:50]Read from MH i2c: E2 0E 00 [15:28:50]MH_I2C_Read... [15:28:50]Read from MH i2c: E2 0E 00 2E 38 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 69 [15:28:50]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:28:50]wFMCommunicate OK [15:28:50]SAM_PROTO_GetShiftState done [15:28:50]FM_GetShiftState done [15:28:50]req_shift_opened done [15:28:50]requested_item shift.open_date is exist - process it [15:28:50]req_shift_open_date [15:28:50]req_shift_open_date done [15:28:50]produce_requested_data done [15:28:50]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49003,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [15:28:50]process_action_free close_receipt [15:28:50]json_value_free [15:28:50]json_value_free done [15:28:50]process_json_proto returns [15:28:50]Send response to host [15:28:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49003,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [15:28:50]free response buf [15:28:50]execute_script done [15:28:50]execute_script returns [15:28:50]free content buf [15:28:50]Sock 7.Close socket [15:28:50]Sock 7.Thread stoped [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29:49]OFD Sender: No OFD packet to send [15:29:54]OFD Sender: No OFD packet to send [15:29:59]OFD Sender: No OFD packet to send [15:30:04]OFD Sender: No OFD packet to send [15:30:09]OFD Sender: No OFD packet to send [15:30:14]OFD Sender: No OFD packet to send [15:30:19]OFD Sender: No OFD packet to send [15:30:24]OFD Sender: No OFD packet to send [15:30:29]OFD Sender: No OFD packet to send [15:30:34]OFD Sender: No OFD packet to send [15:30:39]OFD Sender: No OFD packet to send [15:30:44]OFD Sender: No OFD packet to send [15:30:49]OFD Sender: No OFD packet to send [15:30:54]OFD Sender: No OFD packet to send [15:30:59]OFD Sender: No OFD packet to send [15:31:04]OFD Sender: No OFD packet to send [15:31:09]OFD Sender: No OFD packet to send [15:31:14]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [15:37:44]OFD Sender: No OFD packet to send [15:37:49]OFD Sender: No OFD packet to send [15:37:54]OFD Sender: No OFD packet to send [15:37:59]OFD Sender: No OFD packet to send [15:38:04]OFD Sender: No OFD packet to send [15:38:09]OFD Sender: No OFD packet to send [15:38:14]OFD Sender: No OFD packet to send [15:38:19]OFD Sender: No OFD packet to send [15:38:24]OFD Sender: No OFD packet to send [15:38:29]OFD Sender: No OFD packet to send [15:38:34]OFD Sender: No OFD packet to send [15:38:39]OFD Sender: No OFD packet to send [15:38:44]OFD Sender: No OFD packet to send [15:38:49]OFD Sender: No OFD packet to send [15:38:54]OFD Sender: No OFD packet to send [15:38:59]OFD Sender: No OFD packet to send [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:49]accept exits with 9 [15:43:49]New connection [15:43:49]New thread 3066813796 created [15:43:49]Thread 3066670436 joined [15:43:49]Waiting for new connection... [15:43:49] Sock 9.Parse request [15:43:49]Sock 9.Check first char [15:43:49]Sock 9.First char is OK [15:43:49]request: POST /json_proto HTTP/1.0 [15:43:49]Method: POST [15:43:49]URL: /json_proto [15:43:49]Method is POST - this is cgi request [15:43:49]url: /json_proto [15:43:49]query_string will be loaded in cgi processing [15:43:49]execute_cgi json_proto POST (null) [15:43:49]execute_cgi path=json_proto method=POST [15:43:49]POST find Content-Length [15:43:49]Host: 172.17.56.67:8080 [15:43:49]Content-Length: 677 [15:43:49]Content-Type: application/json [15:43:49] [15:43:49]POST finish read [15:43:49]Found Content-Length = 677 [15:43:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216105", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:49]execute_script... [15:43: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)216105", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:49]POST & json_proto [15:43:49]process_json_proto [15:43:49]json parsed OK: [15:43:49]protocol is kg_v1.0 [15:43:49]action value=close_receipt [15:43:49]process_action close_receipt [15:43:49]cmd_close_receipt [15:43:49]MH_GetDate [15:43:49]Write to MH i2c: F0 00 00 2F 38 56 [15:43:49]Write i2c OK [15:43:49]MH_I2C_Read... [15:43:49]Read from MH i2c: F0 [15:43:49]MH_I2C_Read... [15:43:49]Read from MH i2c: F0 09 00 [15:43:49]MH_I2C_Read... [15:43:49]Read from MH i2c: F0 09 00 2F 38 00 3E 76 B6 65 26 5D 9E 65 B4 [15:43:49]GetLastDocTimeStamp 1706455735 [15:43:49]current date 1706456638 [15:43:49]FM_GetShiftState [15:43:49]SAM_PROTO_GetShiftState [15:43:49]wFMCommunicate request_size=4 [15:43:49]MH_SAM_APDU [15:43:49]CAPDU: 80 13 01 00 [15:43:49]Write to MH i2c: E2 08 00 30 38 80 13 01 00 00 00 00 00 E5 [15:43:49]Write i2c OK [15:43:49]MH_I2C_Read... [15:43:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:49]Read from MH i2c: E2 [15:43:49]MH_I2C_Read... [15:43:49]Read from MH i2c: E2 0E 00 [15:43:49]MH_I2C_Read... [15:43:49]Read from MH i2c: E2 0E 00 30 38 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 6B [15:43:49]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:43:49]wFMCommunicate OK [15:43:49]SAM_PROTO_GetShiftState done [15:43:49]FM_GetShiftState done [15:43:49]opened in 1706400199 [15:43:49]opened+sec_in_day 1706486599 [15:43:49]quantity*price = 50049 [15:43:49]sum+1 = 50050 [15:43:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 69 28.01.2024 15:43 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49004 ФПД: 234082661359517 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T154358&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49004&fm=234082661359517&tin=02508201610067®Number=0000000000092723&sum=50000 [15:43:50]StoreToDocumentArchive [15:43:50]shift 244 fd 49004 [15:43:50]save to /storage/0244/doc_00049004 [15:43:50]save last doc name /storage/0244/doc_00049004 to /storage/kkm_last_doc_name [15:43:50]save OK [15:43:50]Clear old archive folders... [15:43:50]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:43:50]tlvbuf is 011F82B0 [15:43:50]SAM_PROTO_ClearQueue [15:43:50]wFMCommunicate request_size=4 [15:43:50]MH_SAM_APDU [15:43:50]CAPDU: 80 09 00 00 [15:43:50]Write to MH i2c: E2 08 00 3D 38 80 09 00 00 00 00 00 00 E7 [15:43:50]Write i2c OK [15:43:50]MH_I2C_Read... [15:43:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:43:50]Read from MH i2c: E2 [15:43:50]MH_I2C_Read... [15:43:50]Read from MH i2c: E2 03 00 [15:43:50]MH_I2C_Read... [15:43:50]Read from MH i2c: E2 03 00 3D 38 00 90 00 E9 [15:43:50]RAPDU: 90 00 [15:43:50]wFMCommunicate OK [15:43:50]SAM_PROTO_ClearQueue done [15:43:50]KKMCreateOFDPacket [15:43:50]OFDProtocolAddRootSTLVToBuf [15:43:50]FM_MakeSignedData [15:43:50]FM_MakeSignedData [15:43:50]SAM_PROTO_SignData [15:43:50]wFMCommunicate request_size=4 [15:43:50]MH_SAM_APDU [15:43:50]CAPDU: 80 0D 01 02 [15:43:50]Write to MH i2c: E2 08 00 3E 38 80 0D 01 02 00 00 00 00 EF [15:43:50]Write i2c OK [15:43:50]MH_I2C_Read... [15:43:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:43:50]Read from MH i2c: E2 [15:43:50]MH_I2C_Read... [15:43:50]Read from MH i2c: E2 03 00 [15:43:50]MH_I2C_Read... [15:43:50]Read from MH i2c: E2 03 00 3E 38 00 90 00 EA [15:43:50]RAPDU: 90 00 [15:43:50]wFMCommunicate OK [15:43:50]wFMCommunicate request_size=255 [15:43:50]MH_SAM_APDU [15:43:50]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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 45 00 00 00 F4 03 04 00 3E 76 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6C BF 00 00 35 04 06 00 D4 [15:43:50]Write to MH i2c: E2 02 01 3F 38 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 45 00 00 00 F4 03 04 00 3E 76 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6C BF 00 00 35 04 06 00 D4 00 00 26 [15:43:50]Write i2c OK [15:43:50]MH_I2C_Read... [15:43:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:51]Read from MH i2c: E2 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: E2 03 00 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: E2 03 00 3F 38 00 90 00 EB [15:43:51]RAPDU: 90 00 [15:43:51]wFMCommunicate OK [15:43:51]wFMCommunicate request_size=10 [15:43:51]MH_SAM_APDU [15:43:51]CAPDU: 80 0D 02 02 05 E5 9D E0 DF 9D [15:43:51]Write to MH i2c: E2 0D 00 40 38 80 0D 02 02 05 00 E5 9D E0 DF 9D 00 00 DA [15:43:51]Write i2c OK [15:43:51]MH_I2C_Read... [15:43:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:51]Read from MH i2c: E2 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: E2 03 00 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: E2 03 00 40 38 00 90 00 EC [15:43:51]RAPDU: 90 00 [15:43:51]wFMCommunicate OK [15:43:51]wFMCommunicate request_size=4 [15:43:51]MH_SAM_APDU [15:43:51]CAPDU: 80 0D 03 02 [15:43:51]Write to MH i2c: E2 08 00 41 38 80 0D 03 02 00 00 00 00 F4 [15:43:51]Write i2c OK [15:43:51]MH_I2C_Read... [15:43:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:43:51]Read from MH i2c: E2 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: E2 0B 00 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: E2 0B 00 41 38 00 D0 6A A7 5A E3 49 2E B7 90 00 41 [15:43:51]RAPDU: D0 6A A7 5A E3 49 2E B7 90 00 [15:43:51]wFMCommunicate OK [15:43:51]SAM_PROTO_SignData done [15:43:51]FM_MakeSignedData done [15:43:51]CreateOFDProtocolMessage [15:43:51]wFMCommunicate request_size=4 [15:43:51]MH_SAM_APDU [15:43:51]CAPDU: 80 11 00 00 [15:43:51]Write to MH i2c: E2 08 00 42 38 80 11 00 00 00 00 00 00 F4 [15:43:51]Write i2c OK [15:43:51]MH_I2C_Read... [15:43:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:51]Read from MH i2c: E2 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: E2 17 00 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: E2 17 00 42 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 41 [15:43:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:43:51]wFMCommunicate OK [15:43:51]CreateOFDProtocolMessage done [15:43:51]OFDSenderStorePacket 49004 [15:43:51]StoreOFDPacket docnum=49004 [15:43:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 1E CF 07 01 94 0E 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 45 00 00 00 F4 03 04 00 3E 76 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6C BF 00 00 35 04 06 00 D4 E5 9D E0 DF 9D D0 6A A7 5A E3 49 2E B7 [15:43:51]CheckFolder [15:43:51]dirname=/storage/ofd_packets [15:43:51]CheckFolder done [15:43:51]ProducePacketName [15:43:51]name=ofd_packets/00049004 [15:43:51]NVStorageSaveData ofd_packets/00049004 [15:43:51]File name is /storage/ofd_packets/00049004 [15:43:51]Write 301 bytes [15:43:51]NVStorageSaveData done [15:43:51]OFDSenderStorePacket done [15:43:51]KKMCreateOFDPacket done [15:43:51]NVStorageSaveData kkm_last_timestamp [15:43:51]File name is /storage/kkm_last_timestamp [15:43:51]Write 4 bytes [15:43:51]NVStorageSaveData done [15:43:51]ExternCall_PrintAddStr [15:43:51]wPrintStart [15:43:51]Write to MH i2c: 01 00 00 43 38 7B [15:43:51]Write i2c OK [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: 01 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: 01 07 00 [15:43:51]MH_I2C_Read... [15:43:51]Read from MH i2c: 01 07 00 43 38 00 00 00 00 00 FF 0F 90 [15:43:51]RasterBufferAndPrint [15:43:51]line Счет N : (1)216105 [15:43:51]line ИÐÐ: 02508201610067 [15:43:51]line Контрольно-КаÑÑовый Чек [15:43:51]line ПРОДÐЖР[15:43:51]line ТРК (МРК, ГÐК) : 12 [15:43:51]line Товар: 2710124130 [15:43:51]line Ðи-92-К-5 [15:43:51]line 8.300 * 60.30 [15:43:51]line = 500.49 [15:43:51]line ÐДС 12% ÐСП 1% [15:43:51]line > о реализуемом товаре [15:43:51]line ОКРУГЛЕÐИЕ: -0.49 [15:43:51]line ИТОГО: 500.00 [15:43:51]line ВнеÑено: 500.00 [15:43:51]line СДÐЧÐ: 0.00 [15:43:51]line ÐСП 1% : 4.43 [15:43:51]line ÐДС 12% : 53.15 [15:43:51]line Ðаличными: 500.00 [15:43:51]line Безнал.: 0.00 [15:43:51]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [15:43:51]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [15:43:51]line СÐО: Общий режим [15:43:51]line Чек 69 28.01.2024 15:43 [15:43:51]line Смена: 244 ФФД: 1.0 [15:43:51]line ЗÐМ: 0300000040 [15:43:51]line РÐМ: 0000000000092723 [15:43:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:43:51]line ФМ: 0000000000875060 [15:43:51]line ФД: 49004 [15:43:51]line ФПД: 234082661359517 [15:43:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T154358&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49004&fm=234082661359517&tin=02508201610067®Number=0000000000092723&sum=50000 [15:43:51]OFD Sender: Processing packet 49004 [packets to send 12, broken 11] [15:43:51]ProducePacketName [15:43:51]name=ofd_packets/00049004 [15:43:51]OFD Sender: To server: ‡•öpG, [15:43:51]CommunicateWithHost lk.salyk.kg:30040 [15:43:51]ConnectInit lk.salyk.kg [15:43:51]written 0, free lines is 4095 [15:43:51]Connected sock=10 [15:43: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 30 36 30 0F 01 00 00 1E CF 07 01 94 0E 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 45 00 00 00 F4 03 04 00 3E 76 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6C BF 00 00 35 04 06 00 D4 E5 9D E0 DF 9D D0 6A A7 5A E3 49 2E B7 [15:43:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 67 D5 47 00 13 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6C BF 00 00 F4 03 04 00 39 22 B6 65 B6 04 01 00 00 A1 1F 57 B7 45 62 FB 95 [15:43:51]CommunicateWithHost err = 0 [15:43:51]CheckOFDResponse [15:43:51]1017 (14) - 77093643461234 [15:43:51]1041 (16) - 0000000000875060 [15:43:51]1040 (4) - 49004 [15:43:51]1012 (4) - 28.01.2024 09:45 [15:43:51]1206 (1) - 0 [15:43:51]OFD Sender: Remove packet 49004 [15:43:51]ProducePacketName [15:43:51]name=ofd_packets/00049004 [15:43:51]NVStorageDeleteData [15:43:52]Write to MH i2c: 01 00 00 6E 38 A6 [15:43:52]Write i2c OK [15:43:52]MH_I2C_Read... [15:43:52]Read from MH i2c: 01 [15:43:52]MH_I2C_Read... [15:43:52]Read from MH i2c: 01 07 00 [15:43:52]MH_I2C_Read... [15:43:52]Read from MH i2c: 01 07 00 6E 38 00 00 00 00 00 F7 0C B0 [15:43:52]RasterBufferAndPrint [15:43:52]line [15:43:52]line [15:43:52]line [15:43:52]line [15:43:52]line [15:43:52]written 0, free lines is 3326 [15:43:52]MH_Cut [15:43:52]Write to MH i2c: D1 01 00 75 38 01 7F [15:43:52]Write i2c OK [15:43:52]MH_I2C_Read... [15:43:52]Read from MH i2c: D1 [15:43:52]MH_I2C_Read... [15:43:52]Read from MH i2c: D1 01 00 [15:43:52]MH_I2C_Read... [15:43:52]Read from MH i2c: D1 01 00 75 38 00 7E [15:43:52]Write to MH i2c: 01 00 00 76 38 AE [15:43:52]Write i2c OK [15:43:52]MH_I2C_Read... [15:43:52]OFD Sender: No OFD packet to send [15:43:52]*** Cut start [15:43:52]*** Partial cut [15:43:52]*** CUTSNS_PIN = 1 [15:43:52]*** CUTSNS_PIN = 0 [15:43:53]*** Brake cut motor [15:43:53]Read from MH i2c: 01 [15:43:53]MH_I2C_Read... [15:43:53]*** Stop cut motor [15:43:53]*** Cut end [15:43:53]Read from MH i2c: 01 07 00 [15:43:53]MH_I2C_Read... [15:43:53]Read from MH i2c: 01 07 00 76 38 00 00 00 00 00 FF 0F C3 [15:43:53]process_action close_receipt done [15:43:53]requested_data is exist [15:43:53]produce_requested_data [15:43:53]requested_item fm.sn is exist - process it [15:43:53]wFMCommunicate request_size=4 [15:43:53]MH_SAM_APDU [15:43:53]CAPDU: 80 11 00 00 [15:43:53]Write to MH i2c: E2 08 00 77 38 80 11 00 00 00 00 00 00 29 [15:43:53]Write i2c OK [15:43:53]MH_I2C_Read... [15:43:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:53]Read from MH i2c: E2 [15:43:53]MH_I2C_Read... [15:43:53]Read from MH i2c: E2 17 00 [15:43:53]MH_I2C_Read... [15:43:53]Read from MH i2c: E2 17 00 77 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 76 [15:43:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:43:53]wFMCommunicate OK [15:43:53]requested_item fd.num is exist - process it [15:43:53]SAM_PROTO_GetFieldsCounters [15:43:53]wFMCommunicate request_size=4 [15:43:53]MH_SAM_APDU [15:43:53]CAPDU: 80 13 00 00 [15:43:53]Write to MH i2c: E2 08 00 78 38 80 13 00 00 00 00 00 00 2C [15:43:53]Write i2c OK [15:43:53]MH_I2C_Read... [15:43:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:43:53]Read from MH i2c: E2 [15:43:53]MH_I2C_Read... [15:43:53]Read from MH i2c: E2 62 00 [15:43:53]MH_I2C_Read... [15:43:53]Read from MH i2c: E2 62 00 78 38 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [15:43: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6C BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:43:53]wFMCommunicate OK [15:43:53]SAM_PROTO_GetFieldsCounters done [15:43:53]requested_item shift.num is exist - process it [15:43:53]requested_item shift.opened is exist - process it [15:43:53]req_shift_opened [15:43:53]FM_GetShiftState [15:43:53]SAM_PROTO_GetShiftState [15:43:53]wFMCommunicate request_size=4 [15:43:53]MH_SAM_APDU [15:43:53]CAPDU: 80 13 01 00 [15:43:53]Write to MH i2c: E2 08 00 79 38 80 13 01 00 00 00 00 00 2E [15:43:53]Write i2c OK [15:43:53]MH_I2C_Read... [15:43:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:53]Read from MH i2c: E2 [15:43:53]MH_I2C_Read... [15:43:53]Read from MH i2c: E2 0E 00 [15:43:53]MH_I2C_Read... [15:43:53]Read from MH i2c: E2 0E 00 79 38 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 B4 [15:43:53]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:43:53]wFMCommunicate OK [15:43:53]SAM_PROTO_GetShiftState done [15:43:53]FM_GetShiftState done [15:43:53]req_shift_opened done [15:43:53]requested_item shift.open_date is exist - process it [15:43:53]req_shift_open_date [15:43:53]req_shift_open_date done [15:43:53]produce_requested_data done [15:43:53]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49004,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [15:43:53]process_action_free close_receipt [15:43:53]json_value_free [15:43:53]json_value_free done [15:43:53]process_json_proto returns [15:43:53]Send response to host [15:43:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49004,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [15:43:53]free response buf [15:43:53]execute_script done [15:43:53]execute_script returns [15:43:53]free content buf [15:43:53]Sock 9.Close socket [15:43:53]Sock 9.Thread stoped [15:43:57]OFD Sender: No OFD packet to send [15:44:02]OFD Sender: No OFD packet to send [15:44:07]OFD Sender: No OFD packet to send [15:44:12]OFD Sender: No OFD packet to send [15:44:17]OFD Sender: No OFD packet to send [15:44:22]OFD Sender: No OFD packet to send [15:44:27]OFD Sender: No OFD packet to send [15:44:32]OFD Sender: No OFD packet to send [15:44:37]OFD Sender: No OFD packet to send [15:44:42]OFD Sender: No OFD packet to send [15:44:47]OFD Sender: No OFD packet to send [15:44:52]OFD Sender: No OFD packet to send [15:44:57]OFD Sender: No OFD packet to send [15:45:02]OFD Sender: No OFD packet to send [15:45:07]OFD Sender: No OFD packet to send [15:45:12]OFD Sender: No OFD packet to send [15:45:17]OFD Sender: No OFD packet to send [15:45:22]OFD Sender: No OFD packet to send [15:45:27]OFD Sender: No OFD packet to send [15:45:32]OFD Sender: No OFD packet to send [15:45:37]OFD Sender: No OFD packet to send [15:45:42]OFD Sender: No OFD packet to send [15:45:47]OFD Sender: No OFD packet to send [15:45:52]OFD Sender: No OFD packet to send [15:45:57]OFD Sender: No OFD packet to send [15:46:02]OFD Sender: No OFD packet to send [15:46:07]OFD Sender: No OFD packet to send [15:46:12]OFD Sender: No OFD packet to send [15:46:17]OFD Sender: No OFD packet to send [15:46:22]OFD Sender: No OFD packet to send [15:46:27]OFD Sender: No OFD packet to send [15:46:32]OFD Sender: No OFD packet to send [15:46:37]OFD Sender: No OFD packet to send [15:46:42]OFD Sender: No OFD packet to send [15:46:47]OFD Sender: No OFD packet to send [15:46:52]OFD Sender: No OFD packet to send [15:46:57]OFD Sender: No OFD packet to send [15:47:02]OFD Sender: No OFD packet to send [15:47:07]OFD Sender: No OFD packet to send [15:47:12]OFD Sender: No OFD packet to send [15:47:17]OFD Sender: No OFD packet to send [15:47:22]OFD Sender: No OFD packet to send [15:47:27]OFD Sender: No OFD packet to send [15:47:32]OFD Sender: No OFD packet to send [15:47:37]OFD Sender: No OFD packet to send [15:47:42]OFD Sender: No OFD packet to send [15:47:47]OFD Sender: No OFD packet to send [15:47:52]OFD Sender: No OFD packet to send [15:47:57]OFD Sender: No OFD packet to send [15:48:02]OFD Sender: No OFD packet to send [15:48:07]OFD Sender: No OFD packet to send [15:48:12]OFD Sender: No OFD packet to send [15:48:17]OFD Sender: No OFD packet to send [15:48:22]OFD Sender: No OFD packet to send [15:48:27]OFD Sender: No OFD packet to send [15:48:32]OFD Sender: No OFD packet to send [15:48:37]OFD Sender: No OFD packet to send [15:48:42]OFD Sender: No OFD packet to send [15:48:47]OFD Sender: No OFD packet to send [15:48:52]OFD Sender: No OFD packet to send [15:48:57]OFD Sender: No OFD packet to send [15:49:02]OFD Sender: No OFD packet to send [15:49:07]OFD Sender: No OFD packet to send [15:49:12]OFD Sender: No OFD packet to send [15:49:17]OFD Sender: No OFD packet to send [15:49:22]OFD Sender: No OFD packet to send [15:49:27]OFD Sender: No OFD packet to send [15:49:32]OFD Sender: No OFD packet to send [15:49:37]OFD Sender: No OFD packet to send [15:49:42]OFD Sender: No OFD packet to send [15:49:47]OFD Sender: No OFD packet to send [15:49:52]OFD Sender: No OFD packet to send [15:49:57]OFD Sender: No OFD packet to send [15:50:02]OFD Sender: No OFD packet to send [15:50:07]OFD Sender: No OFD packet to send [15:50:12]OFD Sender: No OFD packet to send [15:50:17]OFD Sender: No OFD packet to send [15:50:22]OFD Sender: No OFD packet to send [15:50:27]OFD Sender: No OFD packet to send [15:50:32]OFD Sender: No OFD packet to send [15:50:37]OFD Sender: No OFD packet to send [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:27]OFD Sender: No OFD packet to send [15:53:32]OFD Sender: No OFD packet to send [15:53:37]OFD Sender: No OFD packet to send [15:53:42]OFD Sender: No OFD packet to send [15:53:47]OFD Sender: No OFD packet to send [15:53:52]OFD Sender: No OFD packet to send [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:38]OFD Sender: No OFD packet to send [15:55:43]OFD Sender: No OFD packet to send [15:55:48]OFD Sender: No OFD packet to send [15:55:53]OFD Sender: No OFD packet to send [15:55:58]OFD Sender: No OFD packet to send [15:56:03]OFD Sender: No OFD packet to send [15:56:08]OFD Sender: No OFD packet to send [15:56:13]OFD Sender: No OFD packet to send [15:56:13]accept exits with 7 [15:56:13]New connection [15:56:13]New thread 3066670436 created [15:56:13]Thread 3066813796 joined [15:56:13]Waiting for new connection... [15:56:13] Sock 7.Parse request [15:56:13]Sock 7.Check first char [15:56:13]Sock 7.First char is OK [15:56:13]request: POST /json_proto HTTP/1.0 [15:56:13]Method: POST [15:56:13]URL: /json_proto [15:56:13]Method is POST - this is cgi request [15:56:13]url: /json_proto [15:56:13]query_string will be loaded in cgi processing [15:56:13]execute_cgi json_proto POST (null) [15:56:13]execute_cgi path=json_proto method=POST [15:56:13]POST find Content-Length [15:56:13]Host: 172.17.56.67:8080 [15:56:13]Content-Length: 677 [15:56:13]Content-Type: application/json [15:56:13] [15:56:13]POST finish read [15:56:13]Found Content-Length = 677 [15:56:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216106", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:13]execute_script... [15:56:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216106", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:13]POST & json_proto [15:56:13]process_json_proto [15:56:13]json parsed OK: [15:56:13]protocol is kg_v1.0 [15:56:13]action value=close_receipt [15:56:13]process_action close_receipt [15:56:13]cmd_close_receipt [15:56:13]MH_GetDate [15:56:13]Write to MH i2c: F0 00 00 7A 38 A1 [15:56:13]Write i2c OK [15:56:13]MH_I2C_Read... [15:56:13]Read from MH i2c: F0 [15:56:13]MH_I2C_Read... [15:56:13]Read from MH i2c: F0 09 00 [15:56:13]MH_I2C_Read... [15:56:13]Read from MH i2c: F0 09 00 7A 38 00 27 79 B6 65 26 5D 9E 65 EB [15:56:13]GetLastDocTimeStamp 1706456638 [15:56:13]current date 1706457383 [15:56:13]FM_GetShiftState [15:56:13]SAM_PROTO_GetShiftState [15:56:13]wFMCommunicate request_size=4 [15:56:13]MH_SAM_APDU [15:56:13]CAPDU: 80 13 01 00 [15:56:13]Write to MH i2c: E2 08 00 7B 38 80 13 01 00 00 00 00 00 30 [15:56:13]Write i2c OK [15:56:13]MH_I2C_Read... [15:56:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:14]Read from MH i2c: E2 [15:56:14]MH_I2C_Read... [15:56:14]Read from MH i2c: E2 0E 00 [15:56:14]MH_I2C_Read... [15:56:14]Read from MH i2c: E2 0E 00 7B 38 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 B6 [15:56:14]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:56:14]wFMCommunicate OK [15:56:14]SAM_PROTO_GetShiftState done [15:56:14]FM_GetShiftState done [15:56:14]opened in 1706400199 [15:56:14]opened+sec_in_day 1706486599 [15:56:14]quantity*price = 50049 [15:56:14]sum+1 = 50050 [15:56:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 70 28.01.2024 15:56 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49005 ФПД: 194318288386659 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T155623&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49005&fm=194318288386659&tin=02508201610067®Number=0000000000092723&sum=50000 [15:56:15]StoreToDocumentArchive [15:56:15]shift 244 fd 49005 [15:56:15]save to /storage/0244/doc_00049005 [15:56:15]save last doc name /storage/0244/doc_00049005 to /storage/kkm_last_doc_name [15:56:15]save OK [15:56:15]Clear old archive folders... [15:56:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:56:15]tlvbuf is 0121E130 [15:56:15]SAM_PROTO_ClearQueue [15:56:15]wFMCommunicate request_size=4 [15:56:15]MH_SAM_APDU [15:56:15]CAPDU: 80 09 00 00 [15:56:15]Write to MH i2c: E2 08 00 88 38 80 09 00 00 00 00 00 00 32 [15:56:15]Write i2c OK [15:56:15]MH_I2C_Read... [15:56:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:56:15]Read from MH i2c: E2 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 03 00 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 03 00 88 38 00 90 00 34 [15:56:15]RAPDU: 90 00 [15:56:15]wFMCommunicate OK [15:56:15]SAM_PROTO_ClearQueue done [15:56:15]KKMCreateOFDPacket [15:56:15]OFDProtocolAddRootSTLVToBuf [15:56:15]FM_MakeSignedData [15:56:15]FM_MakeSignedData [15:56:15]SAM_PROTO_SignData [15:56:15]wFMCommunicate request_size=4 [15:56:15]MH_SAM_APDU [15:56:15]CAPDU: 80 0D 01 02 [15:56:15]Write to MH i2c: E2 08 00 89 38 80 0D 01 02 00 00 00 00 3A [15:56:15]Write i2c OK [15:56:15]MH_I2C_Read... [15:56:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:56:15]Read from MH i2c: E2 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 03 00 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 03 00 89 38 00 90 00 35 [15:56:15]RAPDU: 90 00 [15:56:15]wFMCommunicate OK [15:56:15]wFMCommunicate request_size=255 [15:56:15]MH_SAM_APDU [15:56:15]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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 46 00 00 00 F4 03 04 00 27 79 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6D BF 00 00 35 04 06 00 B0 [15:56:15]Write to MH i2c: E2 02 01 8A 38 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 46 00 00 00 F4 03 04 00 27 79 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6D BF 00 00 35 04 06 00 B0 00 00 3B [15:56:15]Write i2c OK [15:56:15]MH_I2C_Read... [15:56:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:15]Read from MH i2c: E2 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 03 00 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 03 00 8A 38 00 90 00 36 [15:56:15]RAPDU: 90 00 [15:56:15]wFMCommunicate OK [15:56:15]wFMCommunicate request_size=10 [15:56:15]MH_SAM_APDU [15:56:15]CAPDU: 80 0D 02 02 05 BB 40 8D 7A 63 [15:56:15]Write to MH i2c: E2 0D 00 8B 38 80 0D 02 02 05 00 BB 40 8D 7A 63 00 00 AC [15:56:15]Write i2c OK [15:56:15]MH_I2C_Read... [15:56:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:15]Read from MH i2c: E2 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 03 00 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 03 00 8B 38 00 90 00 37 [15:56:15]RAPDU: 90 00 [15:56:15]wFMCommunicate OK [15:56:15]wFMCommunicate request_size=4 [15:56:15]MH_SAM_APDU [15:56:15]CAPDU: 80 0D 03 02 [15:56:15]Write to MH i2c: E2 08 00 8C 38 80 0D 03 02 00 00 00 00 3F [15:56:15]Write i2c OK [15:56:15]MH_I2C_Read... [15:56:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:56:15]Read from MH i2c: E2 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 0B 00 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 0B 00 8C 38 00 6A 59 79 61 15 2A 33 08 90 00 57 [15:56:15]RAPDU: 6A 59 79 61 15 2A 33 08 90 00 [15:56:15]wFMCommunicate OK [15:56:15]SAM_PROTO_SignData done [15:56:15]FM_MakeSignedData done [15:56:15]CreateOFDProtocolMessage [15:56:15]wFMCommunicate request_size=4 [15:56:15]MH_SAM_APDU [15:56:15]CAPDU: 80 11 00 00 [15:56:15]Write to MH i2c: E2 08 00 8D 38 80 11 00 00 00 00 00 00 3F [15:56:15]Write i2c OK [15:56:15]MH_I2C_Read... [15:56:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:15]Read from MH i2c: E2 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 17 00 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: E2 17 00 8D 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 8C [15:56:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:56:15]wFMCommunicate OK [15:56:15]CreateOFDProtocolMessage done [15:56:15]OFDSenderStorePacket 49005 [15:56:15]StoreOFDPacket docnum=49005 [15:56:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 66 8D 07 01 B2 DC 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 46 00 00 00 F4 03 04 00 27 79 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6D BF 00 00 35 04 06 00 B0 BB 40 8D 7A 63 6A 59 79 61 15 2A 33 08 [15:56:15]CheckFolder [15:56:15]dirname=/storage/ofd_packets [15:56:15]CheckFolder done [15:56:15]ProducePacketName [15:56:15]name=ofd_packets/00049005 [15:56:15]NVStorageSaveData ofd_packets/00049005 [15:56:15]File name is /storage/ofd_packets/00049005 [15:56:15]Write 301 bytes [15:56:15]NVStorageSaveData done [15:56:15]OFDSenderStorePacket done [15:56:15]KKMCreateOFDPacket done [15:56:15]NVStorageSaveData kkm_last_timestamp [15:56:15]File name is /storage/kkm_last_timestamp [15:56:15]Write 4 bytes [15:56:15]NVStorageSaveData done [15:56:15]ExternCall_PrintAddStr [15:56:15]wPrintStart [15:56:15]Write to MH i2c: 01 00 00 8E 38 C6 [15:56:15]Write i2c OK [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: 01 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: 01 07 00 [15:56:15]MH_I2C_Read... [15:56:15]Read from MH i2c: 01 07 00 8E 38 00 00 00 00 00 FF 0F DB [15:56:15]RasterBufferAndPrint [15:56:15]line Счет N : (1)216106 [15:56:15]line ИÐÐ: 02508201610067 [15:56:15]line Контрольно-КаÑÑовый Чек [15:56:15]line ПРОДÐЖР[15:56:15]line ТРК (МРК, ГÐК) : 22 [15:56:15]line Товар: 2710124130 [15:56:15]line Ðи-92-К-5 [15:56:15]line 8.300 * 60.30 [15:56:15]line = 500.49 [15:56:15]line ÐДС 12% ÐСП 1% [15:56:15]line > о реализуемом товаре [15:56:15]line ОКРУГЛЕÐИЕ: -0.49 [15:56:15]line ИТОГО: 500.00 [15:56:15]line ВнеÑено: 500.00 [15:56:15]line СДÐЧÐ: 0.00 [15:56:15]line ÐСП 1% : 4.43 [15:56:15]line ÐДС 12% : 53.15 [15:56:15]line Ðаличными: 500.00 [15:56:15]line Безнал.: 0.00 [15:56:15]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [15:56:15]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [15:56:15]line СÐО: Общий режим [15:56:15]line Чек 70 28.01.2024 15:56 [15:56:15]line Смена: 244 ФФД: 1.0 [15:56:15]line ЗÐМ: 0300000040 [15:56:15]line РÐМ: 0000000000092723 [15:56:15]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:56:15]line ФМ: 0000000000875060 [15:56:15]line ФД: 49005 [15:56:15]line ФПД: 194318288386659 [15:56:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T155623&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49005&fm=194318288386659&tin=02508201610067®Number=0000000000092723&sum=50000 [15:56:16]OFD Sender: Processing packet 49005 [packets to send 12, broken 11] [15:56:16]ProducePacketName [15:56:16]name=ofd_packets/00049005 [15:56:16]OFD Sender: To server: ‡•öpG, [15:56:16]CommunicateWithHost lk.salyk.kg:30040 [15:56:16]ConnectInit lk.salyk.kg [15:56:16]written 0, free lines is 4095 [15:56:16]Connected sock=9 [15:56: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 30 36 30 0F 01 00 00 66 8D 07 01 B2 DC 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 46 00 00 00 F4 03 04 00 27 79 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6D BF 00 00 35 04 06 00 B0 BB 40 8D 7A 63 6A 59 79 61 15 2A 33 08 [15:56:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 01 F1 47 00 C2 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6D BF 00 00 F4 03 04 00 22 25 B6 65 B6 04 01 00 00 31 7E 9B 4B 2F CF FA 37 [15:56:16]CommunicateWithHost err = 0 [15:56:16]CheckOFDResponse [15:56:16]1017 (14) - 77093643461234 [15:56:16]1041 (16) - 0000000000875060 [15:56:16]1040 (4) - 49005 [15:56:16]1012 (4) - 28.01.2024 09:57 [15:56:16]1206 (1) - 0 [15:56:16]OFD Sender: Remove packet 49005 [15:56:16]ProducePacketName [15:56:16]name=ofd_packets/00049005 [15:56:16]NVStorageDeleteData [15:56:16]Write to MH i2c: 01 00 00 B9 38 F1 [15:56:16]Write i2c OK [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: 01 [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: 01 07 00 [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: 01 07 00 B9 38 00 00 00 00 00 F9 0C FD [15:56:16]RasterBufferAndPrint [15:56:16]line [15:56:16]line [15:56:16]line [15:56:16]line [15:56:16]line [15:56:16]written 0, free lines is 3328 [15:56:16]MH_Cut [15:56:16]Write to MH i2c: D1 01 00 C0 38 01 CA [15:56:16]Write i2c OK [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: D1 [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: D1 01 00 [15:56:16]MH_I2C_Read... [15:56:16]Read from MH i2c: D1 01 00 C0 38 00 C9 [15:56:16]Write to MH i2c: 01 00 00 C1 38 F9 [15:56:16]Write i2c OK [15:56:16]MH_I2C_Read... [15:56:16]OFD Sender: No OFD packet to send [15:56:17]*** Cut start [15:56:17]*** Partial cut [15:56:17]*** CUTSNS_PIN = 1 [15:56:17]*** CUTSNS_PIN = 0 [15:56:17]*** Brake cut motor [15:56:17]Read from MH i2c: 01 [15:56:17]MH_I2C_Read... [15:56:17]*** Stop cut motor [15:56:17]*** Cut end [15:56:17]Read from MH i2c: 01 07 00 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: 01 07 00 C1 38 00 00 00 00 00 FF 0F 0E [15:56:17]process_action close_receipt done [15:56:17]requested_data is exist [15:56:17]produce_requested_data [15:56:17]requested_item fm.sn is exist - process it [15:56:17]wFMCommunicate request_size=4 [15:56:17]MH_SAM_APDU [15:56:17]CAPDU: 80 11 00 00 [15:56:17]Write to MH i2c: E2 08 00 C2 38 80 11 00 00 00 00 00 00 74 [15:56:17]Write i2c OK [15:56:17]MH_I2C_Read... [15:56:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:17]Read from MH i2c: E2 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 17 00 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 17 00 C2 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 C1 [15:56:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [15:56:17]wFMCommunicate OK [15:56:17]requested_item fd.num is exist - process it [15:56:17]SAM_PROTO_GetFieldsCounters [15:56:17]wFMCommunicate request_size=4 [15:56:17]MH_SAM_APDU [15:56:17]CAPDU: 80 13 00 00 [15:56:17]Write to MH i2c: E2 08 00 C3 38 80 13 00 00 00 00 00 00 77 [15:56:17]Write i2c OK [15:56:17]MH_I2C_Read... [15:56:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:56:17]Read from MH i2c: E2 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 62 00 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 62 00 C3 38 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [15:56: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6D BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:56:17]wFMCommunicate OK [15:56:17]SAM_PROTO_GetFieldsCounters done [15:56:17]requested_item shift.num is exist - process it [15:56:17]requested_item shift.opened is exist - process it [15:56:17]req_shift_opened [15:56:17]FM_GetShiftState [15:56:17]SAM_PROTO_GetShiftState [15:56:17]wFMCommunicate request_size=4 [15:56:17]MH_SAM_APDU [15:56:17]CAPDU: 80 13 01 00 [15:56:17]Write to MH i2c: E2 08 00 C4 38 80 13 01 00 00 00 00 00 79 [15:56:17]Write i2c OK [15:56:17]MH_I2C_Read... [15:56:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:17]Read from MH i2c: E2 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 0E 00 [15:56:17]MH_I2C_Read... [15:56:17]Read from MH i2c: E2 0E 00 C4 38 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 FF [15:56:17]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [15:56:17]wFMCommunicate OK [15:56:17]SAM_PROTO_GetShiftState done [15:56:17]FM_GetShiftState done [15:56:17]req_shift_opened done [15:56:17]requested_item shift.open_date is exist - process it [15:56:17]req_shift_open_date [15:56:17]req_shift_open_date done [15:56:17]produce_requested_data done [15:56:17]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49005,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [15:56:17]process_action_free close_receipt [15:56:17]json_value_free [15:56:17]json_value_free done [15:56:17]process_json_proto returns [15:56:17]Send response to host [15:56:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49005,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [15:56:17]free response buf [15:56:17]execute_script done [15:56:17]execute_script returns [15:56:17]free content buf [15:56:17]Sock 7.Close socket [15:56:17]Sock 7.Thread stoped [15:56:21]OFD Sender: No OFD packet to send [15:56:26]OFD Sender: No OFD packet to send [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:22]OFD Sender: No OFD packet to send [16:00:27]OFD Sender: No OFD packet to send [16:00:32]OFD Sender: No OFD packet to send [16:00:37]OFD Sender: No OFD packet to send [16:00:42]OFD Sender: No OFD packet to send [16:00:47]OFD Sender: No OFD packet to send [16:00:52]OFD Sender: No OFD packet to send [16:00:57]OFD Sender: No OFD packet to send [16:01:02]OFD Sender: No OFD packet to send [16:01:07]OFD Sender: No OFD packet to send [16:01:12]OFD Sender: No OFD packet to send [16:01:17]OFD Sender: No OFD packet to send [16:01:22]OFD Sender: No OFD packet to send [16:01:27]OFD Sender: No OFD packet to send [16:01:32]OFD Sender: No OFD packet to send [16:01:37]OFD Sender: No OFD packet to send [16:01:42]OFD Sender: No OFD packet to send [16:01:47]OFD Sender: No OFD packet to send [16:01:52]OFD Sender: No OFD packet to send [16:01:57]OFD Sender: No OFD packet to send [16:02:02]OFD Sender: No OFD packet to send [16:02:07]OFD Sender: No OFD packet to send [16:02:12]OFD Sender: No OFD packet to send [16:02:17]OFD Sender: No OFD packet to send [16:02:22]OFD Sender: No OFD packet to send [16:02:27]OFD Sender: No OFD packet to send [16:02:32]OFD Sender: No OFD packet to send [16:02:37]OFD Sender: No OFD packet to send [16:02:42]OFD Sender: No OFD packet to send [16:02:47]OFD Sender: No OFD packet to send [16:02:52]OFD Sender: No OFD packet to send [16:02:57]OFD Sender: No OFD packet to send [16:03:02]OFD Sender: No OFD packet to send [16:03:07]OFD Sender: No OFD packet to send [16:03:12]OFD Sender: No OFD packet to send [16:03:17]OFD Sender: No OFD packet to send [16:03:22]OFD Sender: No OFD packet to send [16:03:27]OFD Sender: No OFD packet to send [16:03:32]OFD Sender: No OFD packet to send [16:03:37]OFD Sender: No OFD packet to send [16:03:42]OFD Sender: No OFD packet to send [16:03:47]OFD Sender: No OFD packet to send [16:03:52]OFD Sender: No OFD packet to send [16:03:57]OFD Sender: No OFD packet to send [16:04:02]OFD Sender: No OFD packet to send [16:04:07]OFD Sender: No OFD packet to send [16:04:12]OFD Sender: No OFD packet to send [16:04:17]OFD Sender: No OFD packet to send [16:04:22]OFD Sender: No OFD packet to send [16:04:27]OFD Sender: No OFD packet to send [16:04:32]OFD Sender: No OFD packet to send [16:04:37]OFD Sender: No OFD packet to send [16:04:42]OFD Sender: No OFD packet to send [16:04:47]OFD Sender: No OFD packet to send [16:04:52]OFD Sender: No OFD packet to send [16:04:57]OFD Sender: No OFD packet to send [16:05:02]OFD Sender: No OFD packet to send [16:05:07]OFD Sender: No OFD packet to send [16:05:12]OFD Sender: No OFD packet to send [16:05:17]OFD Sender: No OFD packet to send [16:05:22]OFD Sender: No OFD packet to send [16:05:27]OFD Sender: No OFD packet to send [16:05:32]OFD Sender: No OFD packet to send [16:05:37]OFD Sender: No OFD packet to send [16:05:42]OFD Sender: No OFD packet to send [16:05:47]OFD Sender: No OFD packet to send [16:05:52]OFD Sender: No OFD packet to send [16:05:57]OFD Sender: No OFD packet to send [16:06:02]OFD Sender: No OFD packet to send [16:06:07]OFD Sender: No OFD packet to send [16:06:12]OFD Sender: No OFD packet to send [16:06:17]OFD Sender: No OFD packet to send [16:06:22]OFD Sender: No OFD packet to send [16:06:27]OFD Sender: No OFD packet to send [16:06:32]OFD Sender: No OFD packet to send [16:06:37]OFD Sender: No OFD packet to send [16:06:42]OFD Sender: No OFD packet to send [16:06:47]OFD Sender: No OFD packet to send [16:06:52]OFD Sender: No OFD packet to send [16:06:57]OFD Sender: No OFD packet to send [16:07:02]OFD Sender: No OFD packet to send [16:07:07]OFD Sender: No OFD packet to send [16:07:12]OFD Sender: No OFD packet to send [16:07:17]OFD Sender: No OFD packet to send [16:07:22]OFD Sender: No OFD packet to send [16:07:27]OFD Sender: No OFD packet to send [16:07:32]OFD Sender: No OFD packet to send [16:07:37]OFD Sender: No OFD packet to send [16:07:42]OFD Sender: No OFD packet to send [16:07:47]OFD Sender: No OFD packet to send [16:07:52]OFD Sender: No OFD packet to send [16:07:57]OFD Sender: No OFD packet to send [16:08:02]OFD Sender: No OFD packet to send [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08:57]OFD Sender: No OFD packet to send [16:09:02]OFD Sender: No OFD packet to send [16:09:07]OFD Sender: No OFD packet to send [16:09:12]OFD Sender: No OFD packet to send [16:09:17]OFD Sender: No OFD packet to send [16:09:22]OFD Sender: No OFD packet to send [16:09:27]OFD Sender: No OFD packet to send [16:09:32]OFD Sender: No OFD packet to send [16:09:37]OFD Sender: No OFD packet to send [16:09:42]OFD Sender: No OFD packet to send [16:09:47]OFD Sender: No OFD packet to send [16:09:52]OFD Sender: No OFD packet to send [16:09:57]OFD Sender: No OFD packet to send [16:10:02]OFD Sender: No OFD packet to send [16:10:07]OFD Sender: No OFD packet to send [16:10:12]OFD Sender: No OFD packet to send [16:10:17]OFD Sender: No OFD packet to send [16:10:22]OFD Sender: No OFD packet to send [16:10:27]OFD Sender: No OFD packet to send [16:10:32]OFD Sender: No OFD packet to send [16:10:37]OFD Sender: No OFD packet to send [16:10:42]OFD Sender: No OFD packet to send [16:10:47]OFD Sender: No OFD packet to send [16:10:52]OFD Sender: No OFD packet to send [16:10:57]OFD Sender: No OFD packet to send [16:11:02]OFD Sender: No OFD packet to send [16:11: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:37]OFD Sender: No OFD packet to send [16:13:42]OFD Sender: No OFD packet to send [16:13:47]OFD Sender: No OFD packet to send [16:13:52]OFD Sender: No OFD packet to send [16:13:57]OFD Sender: No OFD packet to send [16:14:02]OFD Sender: No OFD packet to send [16:14:07]OFD Sender: No OFD packet to send [16:14:12]OFD Sender: No OFD packet to send [16:14:17]OFD Sender: No OFD packet to send [16:14:22]OFD Sender: No OFD packet to send [16:14:27]OFD Sender: No OFD packet to send [16:14:32]OFD Sender: No OFD packet to send [16:14:37]OFD Sender: No OFD packet to send [16:14:42]OFD Sender: No OFD packet to send [16:14:47]OFD Sender: No OFD packet to send [16:14:52]OFD Sender: No OFD packet to send [16:14:57]OFD Sender: No OFD packet to send [16:15:02]OFD Sender: No OFD packet to send [16:15:07]OFD Sender: No OFD packet to send [16:15:12]OFD Sender: No OFD packet to send [16:15:17]OFD Sender: No OFD packet to send [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:47]OFD Sender: No OFD packet to send [16:15:52]OFD Sender: No OFD packet to send [16:15:57]OFD Sender: No OFD packet to send [16:16:02]OFD Sender: No OFD packet to send [16:16:07]OFD Sender: No OFD packet to send [16:16:12]OFD Sender: No OFD packet to send [16:16:17]OFD Sender: No OFD packet to send [16:16:22]OFD Sender: No OFD packet to send [16:16:27]OFD Sender: No OFD packet to send [16:16:32]OFD Sender: No OFD packet to send [16:16:37]OFD Sender: No OFD packet to send [16:16:42]OFD Sender: No OFD packet to send [16:16:47]OFD Sender: No OFD packet to send [16:16:52]OFD Sender: No OFD packet to send [16:16:57]OFD Sender: No OFD packet to send [16:17:02]OFD Sender: No OFD packet to send [16:17:07]OFD Sender: No OFD packet to send [16:17:12]OFD Sender: No OFD packet to send [16:17:17]OFD Sender: No OFD packet to send [16:17:22]OFD Sender: No OFD packet to send [16:17:27]OFD Sender: No OFD packet to send [16:17:32]OFD Sender: No OFD packet to send [16:17:37]OFD Sender: No OFD packet to send [16:17:42]OFD Sender: No OFD packet to send [16:17:47]OFD Sender: No OFD packet to send [16:17:52]OFD Sender: No OFD packet to send [16:17:57]OFD Sender: No OFD packet to send [16:18:02]OFD Sender: No OFD packet to send [16:18:07]OFD Sender: No OFD packet to send [16:18:12]OFD Sender: No OFD packet to send [16:18:17]OFD Sender: No OFD packet to send [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:38]OFD Sender: No OFD packet to send [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:43]OFD Sender: No OFD packet to send [16:22:48]OFD Sender: No OFD packet to send [16:22:53]OFD Sender: No OFD packet to send [16:22:58]OFD Sender: No OFD packet to send [16:23:03]OFD Sender: No OFD packet to send [16:23:08]OFD Sender: No OFD packet to send [16:23:13]OFD Sender: No OFD packet to send [16:23:18]OFD Sender: No OFD packet to send [16:23:23]OFD Sender: No OFD packet to send [16:23:28]OFD Sender: No OFD packet to send [16:23:33]OFD Sender: No OFD packet to send [16:23:38]OFD Sender: No OFD packet to send [16:23:43]OFD Sender: No OFD packet to send [16:23:48]OFD Sender: No OFD packet to send [16:23:53]OFD Sender: No OFD packet to send [16:23:58]OFD Sender: No OFD packet to send [16:24:03]OFD Sender: No OFD packet to send [16:24:08]OFD Sender: No OFD packet to send [16:24:13]OFD Sender: No OFD packet to send [16:24:18]OFD Sender: No OFD packet to send [16:24:23]OFD Sender: No OFD packet to send [16:24:28]OFD Sender: No OFD packet to send [16:24:33]OFD Sender: No OFD packet to send [16:24:38]OFD Sender: No OFD packet to send [16:24:43]OFD Sender: No OFD packet to send [16:24:48]OFD Sender: No OFD packet to send [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:25:03]OFD Sender: No OFD packet to send [16:25:08]OFD Sender: No OFD packet to send [16:25:13]OFD Sender: No OFD packet to send [16:25:18]OFD Sender: No OFD packet to send [16:25:23]OFD Sender: No OFD packet to send [16:25:28]OFD Sender: No OFD packet to send [16:25:33]OFD Sender: No OFD packet to send [16:25:38]OFD Sender: No OFD packet to send [16:25:43]OFD Sender: No OFD packet to send [16:25:48]OFD Sender: No OFD packet to send [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]OFD Sender: No OFD packet to send [16:26:18]OFD Sender: No OFD packet to send [16:26:23]OFD Sender: No OFD packet to send [16:26:28]OFD Sender: No OFD packet to send [16:26:33]OFD Sender: No OFD packet to send [16:26:38]OFD Sender: No OFD packet to send [16:26:43]OFD Sender: No OFD packet to send [16:26:48]OFD Sender: No OFD packet to send [16:26:53]OFD Sender: No OFD packet to send [16:26:58]OFD Sender: No OFD packet to send [16:27:03]OFD Sender: No OFD packet to send [16:27:08]OFD Sender: No OFD packet to send [16:27:13]OFD Sender: No OFD packet to send [16:27:18]OFD Sender: No OFD packet to send [16:27:23]OFD Sender: No OFD packet to send [16:27:28]OFD Sender: No OFD packet to send [16:27:33]OFD Sender: No OFD packet to send [16:27:38]OFD Sender: No OFD packet to send [16:27:43]OFD Sender: No OFD packet to send [16:27:48]OFD Sender: No OFD packet to send [16:27:53]OFD Sender: No OFD packet to send [16:27:58]OFD Sender: No OFD packet to send [16:28:03]OFD Sender: No OFD packet to send [16:28:08]OFD Sender: No OFD packet to send [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [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:50]accept exits with 10 [16:38:50]New connection [16:38:50]New thread 3066813796 created [16:38:50]Thread 3066670436 joined [16:38:50]Waiting for new connection... [16:38:50] Sock 10.Parse request [16:38:50]Sock 10.Check first char [16:38:50]Sock 10.First char is OK [16:38:50]request: POST /json_proto HTTP/1.0 [16:38:50]Method: POST [16:38:50]URL: /json_proto [16:38:50]Method is POST - this is cgi request [16:38:50]url: /json_proto [16:38:50]query_string will be loaded in cgi processing [16:38:50]execute_cgi json_proto POST (null) [16:38:50]execute_cgi path=json_proto method=POST [16:38:50]POST find Content-Length [16:38:50]Host: 172.17.56.67:8080 [16:38:50]Content-Length: 677 [16:38:50]Content-Type: application/json [16:38:50] [16:38:50]POST finish read [16:38:50]Found Content-Length = 677 [16:38:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216107", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 2.490, "sum" : 150.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 150.00, "total" : 150.00, "payments": [ { "type": 0, "sum" : 150.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:38:50]execute_script... [16:38: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 : (1)216107", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 2.490, "sum" : 150.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 150.00, "total" : 150.00, "payments": [ { "type": 0, "sum" : 150.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:38:50]POST & json_proto [16:38:50]process_json_proto [16:38:50]json parsed OK: [16:38:50]protocol is kg_v1.0 [16:38:50]action value=close_receipt [16:38:50]process_action close_receipt [16:38:50]cmd_close_receipt [16:38:50]MH_GetDate [16:38:50]Write to MH i2c: F0 00 00 C5 38 EC [16:38:50]Write i2c OK [16:38:50]MH_I2C_Read... [16:38:50]Read from MH i2c: F0 [16:38:50]MH_I2C_Read... [16:38:50]Read from MH i2c: F0 09 00 [16:38:50]MH_I2C_Read... [16:38:50]Read from MH i2c: F0 09 00 C5 38 00 24 83 B6 65 26 5D 9E 65 3D [16:38:50]GetLastDocTimeStamp 1706457383 [16:38:50]current date 1706459940 [16:38:50]FM_GetShiftState [16:38:50]SAM_PROTO_GetShiftState [16:38:50]wFMCommunicate request_size=4 [16:38:50]MH_SAM_APDU [16:38:50]CAPDU: 80 13 01 00 [16:38:50]Write to MH i2c: E2 08 00 C6 38 80 13 01 00 00 00 00 00 7B [16:38:50]Write i2c OK [16:38:50]MH_I2C_Read... [16:38:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:38:50]Read from MH i2c: E2 [16:38:50]MH_I2C_Read... [16:38:50]Read from MH i2c: E2 0E 00 [16:38:50]MH_I2C_Read... [16:38:50]Read from MH i2c: E2 0E 00 C6 38 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 01 [16:38:50]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [16:38:50]wFMCommunicate OK [16:38:50]SAM_PROTO_GetShiftState done [16:38:50]FM_GetShiftState done [16:38:50]opened in 1706400199 [16:38:50]opened+sec_in_day 1706486599 [16:38:50]quantity*price = 15014 [16:38:50]sum+1 = 15016 [16:38:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.15 ИТОГО: 150.00 ВнеÑено: 150.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.33 ÐДС 12% : 15.94 Ðаличными: 150.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 71 28.01.2024 16:39 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49006 ФПД: 96431304680100 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T163900&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49006&fm=96431304680100&tin=02508201610067®Number=0000000000092723&sum=15000 [16:38:52]StoreToDocumentArchive [16:38:52]shift 244 fd 49006 [16:38:52]save to /storage/0244/doc_00049006 [16:38:52]save last doc name /storage/0244/doc_00049006 to /storage/kkm_last_doc_name [16:38:52]save OK [16:38:52]Clear old archive folders... [16:38:52]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:38:52]tlvbuf is 012324F0 [16:38:52]SAM_PROTO_ClearQueue [16:38:52]wFMCommunicate request_size=4 [16:38:52]MH_SAM_APDU [16:38:52]CAPDU: 80 09 00 00 [16:38:52]Write to MH i2c: E2 08 00 D3 38 80 09 00 00 00 00 00 00 7D [16:38:52]Write i2c OK [16:38:52]MH_I2C_Read... [16:38:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:38:52]Read from MH i2c: E2 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 03 00 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 03 00 D3 38 00 90 00 7F [16:38:52]RAPDU: 90 00 [16:38:52]wFMCommunicate OK [16:38:52]SAM_PROTO_ClearQueue done [16:38:52]KKMCreateOFDPacket [16:38:52]OFDProtocolAddRootSTLVToBuf [16:38:52]FM_MakeSignedData [16:38:52]FM_MakeSignedData [16:38:52]SAM_PROTO_SignData [16:38:52]wFMCommunicate request_size=4 [16:38:52]MH_SAM_APDU [16:38:52]CAPDU: 80 0D 01 02 [16:38:52]Write to MH i2c: E2 08 00 D4 38 80 0D 01 02 00 00 00 00 85 [16:38:52]Write i2c OK [16:38:52]MH_I2C_Read... [16:38:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:38:52]Read from MH i2c: E2 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 03 00 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 03 00 D4 38 00 90 00 80 [16:38:52]RAPDU: 90 00 [16:38:52]wFMCommunicate OK [16:38:52]wFMCommunicate request_size=255 [16:38:52]MH_SAM_APDU [16:38:52]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 BA 09 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 A7 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 3A 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 24 83 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6E BF 00 00 35 04 06 00 57 [16:38:52]Write to MH i2c: E2 02 01 D5 38 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 BA 09 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 A7 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 3A 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 24 83 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6E BF 00 00 35 04 06 00 57 00 00 BA [16:38:52]Write i2c OK [16:38:52]MH_I2C_Read... [16:38:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:38:52]Read from MH i2c: E2 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 03 00 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 03 00 D5 38 00 90 00 81 [16:38:52]RAPDU: 90 00 [16:38:52]wFMCommunicate OK [16:38:52]wFMCommunicate request_size=10 [16:38:52]MH_SAM_APDU [16:38:52]CAPDU: 80 0D 02 02 05 B4 29 A9 22 A4 [16:38:52]Write to MH i2c: E2 0D 00 D6 38 80 0D 02 02 05 00 B4 29 A9 22 A4 00 00 DE [16:38:52]Write i2c OK [16:38:52]MH_I2C_Read... [16:38:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:38:52]Read from MH i2c: E2 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 03 00 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 03 00 D6 38 00 90 00 82 [16:38:52]RAPDU: 90 00 [16:38:52]wFMCommunicate OK [16:38:52]wFMCommunicate request_size=4 [16:38:52]MH_SAM_APDU [16:38:52]CAPDU: 80 0D 03 02 [16:38:52]Write to MH i2c: E2 08 00 D7 38 80 0D 03 02 00 00 00 00 8A [16:38:52]Write i2c OK [16:38:52]MH_I2C_Read... [16:38:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:38:52]Read from MH i2c: E2 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 0B 00 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 0B 00 D7 38 00 C6 15 45 D5 1E 6F DB 11 90 00 F9 [16:38:52]RAPDU: C6 15 45 D5 1E 6F DB 11 90 00 [16:38:52]wFMCommunicate OK [16:38:52]SAM_PROTO_SignData done [16:38:52]FM_MakeSignedData done [16:38:52]CreateOFDProtocolMessage [16:38:52]wFMCommunicate request_size=4 [16:38:52]MH_SAM_APDU [16:38:52]CAPDU: 80 11 00 00 [16:38:52]Write to MH i2c: E2 08 00 D8 38 80 11 00 00 00 00 00 00 8A [16:38:52]Write i2c OK [16:38:52]MH_I2C_Read... [16:38:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:38:52]Read from MH i2c: E2 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 17 00 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: E2 17 00 D8 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D7 [16:38:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [16:38:52]wFMCommunicate OK [16:38:52]CreateOFDProtocolMessage done [16:38:52]OFDSenderStorePacket 49006 [16:38:52]StoreOFDPacket docnum=49006 [16:38:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 4F 62 07 01 E8 4F 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 BA 09 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 A7 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 3A 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 24 83 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6E BF 00 00 35 04 06 00 57 B4 29 A9 22 A4 C6 15 45 D5 1E 6F DB 11 [16:38:52]CheckFolder [16:38:52]dirname=/storage/ofd_packets [16:38:52]CheckFolder done [16:38:52]ProducePacketName [16:38:52]name=ofd_packets/00049006 [16:38:52]NVStorageSaveData ofd_packets/00049006 [16:38:52]File name is /storage/ofd_packets/00049006 [16:38:52]Write 301 bytes [16:38:52]NVStorageSaveData done [16:38:52]OFDSenderStorePacket done [16:38:52]KKMCreateOFDPacket done [16:38:52]NVStorageSaveData kkm_last_timestamp [16:38:52]File name is /storage/kkm_last_timestamp [16:38:52]Write 4 bytes [16:38:52]NVStorageSaveData done [16:38:52]ExternCall_PrintAddStr [16:38:52]wPrintStart [16:38:52]Write to MH i2c: 01 00 00 D9 38 11 [16:38:52]Write i2c OK [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: 01 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: 01 07 00 [16:38:52]MH_I2C_Read... [16:38:52]Read from MH i2c: 01 07 00 D9 38 00 00 00 00 00 FF 0F 26 [16:38:52]RasterBufferAndPrint [16:38:52]line Счет N : (1)216107 [16:38:52]line ИÐÐ: 02508201610067 [16:38:52]line Контрольно-КаÑÑовый Чек [16:38:52]line ПРОДÐЖР[16:38:52]line ТРК (МРК, ГÐК) : 22 [16:38:52]line Товар: 2710124130 [16:38:52]line Ðи-92-К-5 [16:38:52]line 2.490 * 60.30 [16:38:52]line = 150.15 [16:38:52]line ÐДС 12% ÐСП 1% [16:38:52]line > о реализуемом товаре [16:38:52]line ОКРУГЛЕÐИЕ: -0.15 [16:38:52]line ИТОГО: 150.00 [16:38:52]line ВнеÑено: 150.00 [16:38:52]line СДÐЧÐ: 0.00 [16:38:52]line ÐСП 1% : 1.33 [16:38:52]line ÐДС 12% : 15.94 [16:38:52]line Ðаличными: 150.00 [16:38:52]line Безнал.: 0.00 [16:38:52]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [16:38:52]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [16:38:52]line СÐО: Общий режим [16:38:52]line Чек 71 28.01.2024 16:39 [16:38:52]line Смена: 244 ФФД: 1.0 [16:38:52]line ЗÐМ: 0300000040 [16:38:52]line РÐМ: 0000000000092723 [16:38:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:38:52]line ФМ: 0000000000875060 [16:38:52]line ФД: 49006 [16:38:52]line ФПД: 96431304680100 [16:38:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T163900&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49006&fm=96431304680100&tin=02508201610067®Number=0000000000092723&sum=15000 [16:38:52]OFD Sender: Processing packet 49006 [packets to send 12, broken 11] [16:38:52]ProducePacketName [16:38:52]name=ofd_packets/00049006 [16:38:52]OFD Sender: To server: ‡•öpG, [16:38:52]CommunicateWithHost lk.salyk.kg:30040 [16:38:52]ConnectInit lk.salyk.kg [16:38:52]written 0, free lines is 4095 [16:38:52]Connected sock=9 [16:38:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 4F 62 07 01 E8 4F 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 BA 09 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 A7 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 3A 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 24 83 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6E BF 00 00 35 04 06 00 57 B4 29 A9 22 A4 C6 15 45 D5 1E 6F DB 11 [16:38:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 2B BE 47 00 A8 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 30 36 30 10 04 04 00 6E BF 00 00 F4 03 04 00 1F 2F B6 65 B6 04 01 00 00 81 B7 F0 5C FA CA 3E 23 [16:38:53]CommunicateWithHost err = 0 [16:38:53]CheckOFDResponse [16:38:53]1017 (14) - 77093643461234 [16:38:53]1041 (16) - 0000000000875060 [16:38:53]1040 (4) - 49006 [16:38:53]1012 (4) - 28.01.2024 10:40 [16:38:53]1206 (1) - 0 [16:38:53]OFD Sender: Remove packet 49006 [16:38:53]ProducePacketName [16:38:53]name=ofd_packets/00049006 [16:38:53]NVStorageDeleteData [16:38:53]Write to MH i2c: 01 00 00 04 39 3D [16:38:53]Write i2c OK [16:38:53]MH_I2C_Read... [16:38:53]Read from MH i2c: 01 [16:38:53]MH_I2C_Read... [16:38:53]Read from MH i2c: 01 07 00 [16:38:53]MH_I2C_Read... [16:38:53]Read from MH i2c: 01 07 00 04 39 00 00 00 00 00 F6 0C 46 [16:38:53]RasterBufferAndPrint [16:38:53]line [16:38:53]line [16:38:53]line [16:38:53]line [16:38:53]line [16:38:53]written 0, free lines is 3324 [16:38:53]MH_Cut [16:38:53]Write to MH i2c: D1 01 00 0B 39 01 16 [16:38:53]Write i2c OK [16:38:53]MH_I2C_Read... [16:38:53]Read from MH i2c: D1 [16:38:53]MH_I2C_Read... [16:38:53]Read from MH i2c: D1 01 00 [16:38:53]MH_I2C_Read... [16:38:53]Read from MH i2c: D1 01 00 0B 39 00 15 [16:38:53]Write to MH i2c: 01 00 00 0C 39 45 [16:38:53]Write i2c OK [16:38:53]MH_I2C_Read... [16:38:53]OFD Sender: No OFD packet to send [16:38:53]*** Cut start [16:38:53]*** Partial cut [16:38:53]*** CUTSNS_PIN = 1 [16:38:54]*** CUTSNS_PIN = 0 [16:38:54]*** Brake cut motor [16:38:54]Read from MH i2c: 01 [16:38:54]MH_I2C_Read... [16:38:54]*** Stop cut motor [16:38:54]*** Cut end [16:38:54]Read from MH i2c: 01 07 00 [16:38:54]MH_I2C_Read... [16:38:54]Read from MH i2c: 01 07 00 0C 39 00 00 00 00 00 FF 0F 5A [16:38:54]process_action close_receipt done [16:38:54]requested_data is exist [16:38:54]produce_requested_data [16:38:54]requested_item fm.sn is exist - process it [16:38:54]wFMCommunicate request_size=4 [16:38:54]MH_SAM_APDU [16:38:54]CAPDU: 80 11 00 00 [16:38:54]Write to MH i2c: E2 08 00 0D 39 80 11 00 00 00 00 00 00 C0 [16:38:54]Write i2c OK [16:38:54]MH_I2C_Read... [16:38:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:38:54]Read from MH i2c: E2 [16:38:54]MH_I2C_Read... [16:38:54]Read from MH i2c: E2 17 00 [16:38:54]MH_I2C_Read... [16:38:54]Read from MH i2c: E2 17 00 0D 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 0D [16:38:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [16:38:54]wFMCommunicate OK [16:38:54]requested_item fd.num is exist - process it [16:38:54]SAM_PROTO_GetFieldsCounters [16:38:54]wFMCommunicate request_size=4 [16:38:54]MH_SAM_APDU [16:38:54]CAPDU: 80 13 00 00 [16:38:54]Write to MH i2c: E2 08 00 0E 39 80 13 00 00 00 00 00 00 C3 [16:38:54]Write i2c OK [16:38:54]MH_I2C_Read... [16:38:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:38:54]Read from MH i2c: E2 [16:38:54]MH_I2C_Read... [16:38:54]Read from MH i2c: E2 62 00 [16:38:54]MH_I2C_Read... [16:38:54]Read from MH i2c: E2 62 00 0E 39 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [16:38: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6E BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:38:54]wFMCommunicate OK [16:38:54]SAM_PROTO_GetFieldsCounters done [16:38:54]requested_item shift.num is exist - process it [16:38:54]requested_item shift.opened is exist - process it [16:38:54]req_shift_opened [16:38:54]FM_GetShiftState [16:38:54]SAM_PROTO_GetShiftState [16:38:54]wFMCommunicate request_size=4 [16:38:54]MH_SAM_APDU [16:38:54]CAPDU: 80 13 01 00 [16:38:54]Write to MH i2c: E2 08 00 0F 39 80 13 01 00 00 00 00 00 C5 [16:38:54]Write i2c OK [16:38:54]MH_I2C_Read... [16:38:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:38:54]Read from MH i2c: E2 [16:38:54]MH_I2C_Read... [16:38:54]Read from MH i2c: E2 0E 00 [16:38:54]MH_I2C_Read... [16:38:54]Read from MH i2c: E2 0E 00 0F 39 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 4B [16:38:54]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [16:38:54]wFMCommunicate OK [16:38:54]SAM_PROTO_GetShiftState done [16:38:54]FM_GetShiftState done [16:38:54]req_shift_opened done [16:38:54]requested_item shift.open_date is exist - process it [16:38:54]req_shift_open_date [16:38:54]req_shift_open_date done [16:38:54]produce_requested_data done [16:38:54]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49006,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [16:38:54]process_action_free close_receipt [16:38:54]json_value_free [16:38:54]json_value_free done [16:38:54]process_json_proto returns [16:38:54]Send response to host [16:38:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49006,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [16:38:54]free response buf [16:38:54]execute_script done [16:38:54]execute_script returns [16:38:54]free content buf [16:38:54]Sock 10.Close socket [16:38:54]Sock 10.Thread stoped [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:04]OFD Sender: No OFD packet to send [16:46:09]OFD Sender: No OFD packet to send [16:46:14]OFD Sender: No OFD packet to send [16:46:19]OFD Sender: No OFD packet to send [16:46:24]OFD Sender: No OFD packet to send [16:46:29]OFD Sender: No OFD packet to send [16:46:34]OFD Sender: No OFD packet to send [16:46:39]OFD Sender: No OFD packet to send [16:46:44]OFD Sender: No OFD packet to send [16:46:49]OFD Sender: No OFD packet to send [16:46:54]OFD Sender: No OFD packet to send [16:46:59]OFD Sender: No OFD packet to send [16:47:04]OFD Sender: No OFD packet to send [16:47:09]OFD Sender: No OFD packet to send [16:47:14]OFD Sender: No OFD packet to send [16:47:19]OFD Sender: No OFD packet to send [16:47:24]OFD Sender: No OFD packet to send [16:47:29]OFD Sender: No OFD packet to send [16:47:34]OFD Sender: No OFD packet to send [16:47:39]OFD Sender: No OFD packet to send [16:47:44]OFD Sender: No OFD packet to send [16:47:49]OFD Sender: No OFD packet to send [16:47:54]OFD Sender: No OFD packet to send [16:47:59]OFD Sender: No OFD packet to send [16:48:04]OFD Sender: No OFD packet to send [16:48:09]OFD Sender: No OFD packet to send [16:48:14]OFD Sender: No OFD packet to send [16:48:19]OFD Sender: No OFD packet to send [16:48:24]OFD Sender: No OFD packet to send [16:48:29]OFD Sender: No OFD packet to send [16:48:34]OFD Sender: No OFD packet to send [16:48:39]OFD Sender: No OFD packet to send [16:48:44]OFD Sender: No OFD packet to send [16:48:49]OFD Sender: No OFD packet to send [16:48:54]OFD Sender: No OFD packet to send [16:48:59]OFD Sender: No OFD packet to send [16:49:04]OFD Sender: No OFD packet to send [16:49:09]OFD Sender: No OFD packet to send [16:49:14]OFD Sender: No OFD packet to send [16:49:19]OFD Sender: No OFD packet to send [16:49:24]OFD Sender: No OFD packet to send [16:49:29]OFD Sender: No OFD packet to send [16:49:34]OFD Sender: No OFD packet to send [16:49:39]OFD Sender: No OFD packet to send [16:49:44]OFD Sender: No OFD packet to send [16:49:49]OFD Sender: No OFD packet to send [16:49:54]OFD Sender: No OFD packet to send [16:49:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [16:51:39]OFD Sender: No OFD packet to send [16:51:44]OFD Sender: No OFD packet to send [16:51:49]OFD Sender: No OFD packet to send [16:51:54]OFD Sender: No OFD packet to send [16:51:59]OFD Sender: No OFD packet to send [16:52:04]OFD Sender: No OFD packet to send [16:52:09]OFD Sender: No OFD packet to send [16:52:14]OFD Sender: No OFD packet to send [16:52:19]OFD Sender: No OFD packet to send [16:52:24]OFD Sender: No OFD packet to send [16:52:29]OFD Sender: No OFD packet to send [16:52:34]OFD Sender: No OFD packet to send [16:52:39]OFD Sender: No OFD packet to send [16:52:44]OFD Sender: No OFD packet to send [16:52:49]OFD Sender: No OFD packet to send [16:52:54]OFD Sender: No OFD packet to send [16:52:59]OFD Sender: No OFD packet to send [16:53:04]OFD Sender: No OFD packet to send [16:53:09]OFD Sender: No OFD packet to send [16:53:14]OFD Sender: No OFD packet to send [16:53:19]OFD Sender: No OFD packet to send [16:53:21]accept exits with 7 [16:53:21]New connection [16:53:21]New thread 3066670436 created [16:53:21]Thread 3066813796 joined [16:53:21]Waiting for new connection... [16:53:21] Sock 7.Parse request [16:53:21]Sock 7.Check first char [16:53:21]Sock 7.First char is OK [16:53:21]request: POST /json_proto HTTP/1.0 [16:53:21]Method: POST [16:53:21]URL: /json_proto [16:53:21]Method is POST - this is cgi request [16:53:21]url: /json_proto [16:53:21]query_string will be loaded in cgi processing [16:53:21]execute_cgi json_proto POST (null) [16:53:21]execute_cgi path=json_proto method=POST [16:53:21]POST find Content-Length [16:53:21]Host: 172.17.56.67:8080 [16:53:21]Content-Length: 678 [16:53:21]Content-Type: application/json [16:53:21] [16:53:21]POST finish read [16:53:21]Found Content-Length = 678 [16:53:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216108", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 10.450, "sum" : 630.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 630.00, "total" : 630.00, "payments": [ { "type": 0, "sum" : 630.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:53:21]execute_script... [16:53:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216108", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 10.450, "sum" : 630.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 630.00, "total" : 630.00, "payments": [ { "type": 0, "sum" : 630.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:53:21]POST & json_proto [16:53:21]process_json_proto [16:53:21]json parsed OK: [16:53:21]protocol is kg_v1.0 [16:53:21]action value=close_receipt [16:53:21]process_action close_receipt [16:53:21]cmd_close_receipt [16:53:21]MH_GetDate [16:53:21]Write to MH i2c: F0 00 00 10 39 38 [16:53:21]Write i2c OK [16:53:21]MH_I2C_Read... [16:53:21]Read from MH i2c: F0 [16:53:21]MH_I2C_Read... [16:53:21]Read from MH i2c: F0 09 00 [16:53:21]MH_I2C_Read... [16:53:21]Read from MH i2c: F0 09 00 10 39 00 8B 86 B6 65 26 5D 9E 65 F3 [16:53:21]GetLastDocTimeStamp 1706459940 [16:53:21]current date 1706460811 [16:53:21]FM_GetShiftState [16:53:21]SAM_PROTO_GetShiftState [16:53:21]wFMCommunicate request_size=4 [16:53:21]MH_SAM_APDU [16:53:21]CAPDU: 80 13 01 00 [16:53:21]Write to MH i2c: E2 08 00 11 39 80 13 01 00 00 00 00 00 C7 [16:53:21]Write i2c OK [16:53:21]MH_I2C_Read... [16:53:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:53:21]Read from MH i2c: E2 [16:53:21]MH_I2C_Read... [16:53:21]Read from MH i2c: E2 0E 00 [16:53:21]MH_I2C_Read... [16:53:21]Read from MH i2c: E2 0E 00 11 39 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 4D [16:53:21]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [16:53:21]wFMCommunicate OK [16:53:21]SAM_PROTO_GetShiftState done [16:53:21]FM_GetShiftState done [16:53:21]opened in 1706400199 [16:53:21]opened+sec_in_day 1706486599 [16:53:21]quantity*price = 63013 [16:53:21]sum+1 = 63015 [16:53:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.14 ИТОГО: 630.00 ВнеÑено: 630.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.58 ÐДС 12% : 66.92 Ðаличными: 630.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 72 28.01.2024 16:53 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49007 ФПД: 43676482362435 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T165331&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49007&fm=43676482362435&tin=02508201610067®Number=0000000000092723&sum=63000 [16:53:22]StoreToDocumentArchive [16:53:22]shift 244 fd 49007 [16:53:22]save to /storage/0244/doc_00049007 [16:53:22]save last doc name /storage/0244/doc_00049007 to /storage/kkm_last_doc_name [16:53:22]save OK [16:53:22]Clear old archive folders... [16:53:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:53:22]tlvbuf is 011DD060 [16:53:22]SAM_PROTO_ClearQueue [16:53:22]wFMCommunicate request_size=4 [16:53:22]MH_SAM_APDU [16:53:22]CAPDU: 80 09 00 00 [16:53:22]Write to MH i2c: E2 08 00 1E 39 80 09 00 00 00 00 00 00 C9 [16:53:22]Write i2c OK [16:53:22]MH_I2C_Read... [16:53:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:53:22]Read from MH i2c: E2 [16:53:22]MH_I2C_Read... [16:53:22]Read from MH i2c: E2 03 00 [16:53:22]MH_I2C_Read... [16:53:22]Read from MH i2c: E2 03 00 1E 39 00 90 00 CB [16:53:22]RAPDU: 90 00 [16:53:22]wFMCommunicate OK [16:53:22]SAM_PROTO_ClearQueue done [16:53:22]KKMCreateOFDPacket [16:53:22]OFDProtocolAddRootSTLVToBuf [16:53:22]FM_MakeSignedData [16:53:22]FM_MakeSignedData [16:53:22]SAM_PROTO_SignData [16:53:22]wFMCommunicate request_size=4 [16:53:22]MH_SAM_APDU [16:53:22]CAPDU: 80 0D 01 02 [16:53:22]Write to MH i2c: E2 08 00 1F 39 80 0D 01 02 00 00 00 00 D1 [16:53:22]Write i2c OK [16:53:22]MH_I2C_Read... [16:53:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:53:22]Read from MH i2c: E2 [16:53:22]MH_I2C_Read... [16:53:22]Read from MH i2c: E2 03 00 [16:53:22]MH_I2C_Read... [16:53:22]Read from MH i2c: E2 03 00 1F 39 00 90 00 CC [16:53:22]RAPDU: 90 00 [16:53:22]wFMCommunicate OK [16:53:22]wFMCommunicate request_size=255 [16:53:22]MH_SAM_APDU [16:53:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D2 28 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 26 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 8B 86 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6F BF 00 00 35 04 06 00 27 [16:53:22]Write to MH i2c: E2 02 01 20 39 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 D2 28 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 26 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 8B 86 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6F BF 00 00 35 04 06 00 27 00 00 D5 [16:53:22]Write i2c OK [16:53:22]MH_I2C_Read... [16:53:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:53:23]Read from MH i2c: E2 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: E2 03 00 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: E2 03 00 20 39 00 90 00 CD [16:53:23]RAPDU: 90 00 [16:53:23]wFMCommunicate OK [16:53:23]wFMCommunicate request_size=10 [16:53:23]MH_SAM_APDU [16:53:23]CAPDU: 80 0D 02 02 05 B9 39 37 5C 43 [16:53:23]Write to MH i2c: E2 0D 00 21 39 80 0D 02 02 05 00 B9 39 37 5C 43 00 00 A6 [16:53:23]Write i2c OK [16:53:23]MH_I2C_Read... [16:53:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:53:23]Read from MH i2c: E2 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: E2 03 00 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: E2 03 00 21 39 00 90 00 CE [16:53:23]RAPDU: 90 00 [16:53:23]wFMCommunicate OK [16:53:23]wFMCommunicate request_size=4 [16:53:23]MH_SAM_APDU [16:53:23]CAPDU: 80 0D 03 02 [16:53:23]Write to MH i2c: E2 08 00 22 39 80 0D 03 02 00 00 00 00 D6 [16:53:23]Write i2c OK [16:53:23]MH_I2C_Read... [16:53:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:53:23]Read from MH i2c: E2 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: E2 0B 00 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: E2 0B 00 22 39 00 37 3D 0A 73 B3 29 76 25 90 00 3F [16:53:23]RAPDU: 37 3D 0A 73 B3 29 76 25 90 00 [16:53:23]wFMCommunicate OK [16:53:23]SAM_PROTO_SignData done [16:53:23]FM_MakeSignedData done [16:53:23]CreateOFDProtocolMessage [16:53:23]wFMCommunicate request_size=4 [16:53:23]MH_SAM_APDU [16:53:23]CAPDU: 80 11 00 00 [16:53:23]Write to MH i2c: E2 08 00 23 39 80 11 00 00 00 00 00 00 D6 [16:53:23]Write i2c OK [16:53:23]MH_I2C_Read... [16:53:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:53:23]Read from MH i2c: E2 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: E2 17 00 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: E2 17 00 23 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 23 [16:53:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [16:53:23]wFMCommunicate OK [16:53:23]CreateOFDProtocolMessage done [16:53:23]OFDSenderStorePacket 49007 [16:53:23]StoreOFDPacket docnum=49007 [16:53:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 15 A4 07 01 8F C4 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 D2 28 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 26 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 8B 86 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6F BF 00 00 35 04 06 00 27 B9 39 37 5C 43 37 3D 0A 73 B3 29 76 25 [16:53:23]CheckFolder [16:53:23]dirname=/storage/ofd_packets [16:53:23]CheckFolder done [16:53:23]ProducePacketName [16:53:23]name=ofd_packets/00049007 [16:53:23]NVStorageSaveData ofd_packets/00049007 [16:53:23]File name is /storage/ofd_packets/00049007 [16:53:23]Write 301 bytes [16:53:23]NVStorageSaveData done [16:53:23]OFDSenderStorePacket done [16:53:23]KKMCreateOFDPacket done [16:53:23]NVStorageSaveData kkm_last_timestamp [16:53:23]File name is /storage/kkm_last_timestamp [16:53:23]Write 4 bytes [16:53:23]NVStorageSaveData done [16:53:23]ExternCall_PrintAddStr [16:53:23]wPrintStart [16:53:23]Write to MH i2c: 01 00 00 24 39 5D [16:53:23]Write i2c OK [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: 01 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: 01 07 00 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: 01 07 00 24 39 00 00 00 00 00 FF 0F 72 [16:53:23]RasterBufferAndPrint [16:53:23]line Счет N : (1)216108 [16:53:23]line ИÐÐ: 02508201610067 [16:53:23]line Контрольно-КаÑÑовый Чек [16:53:23]line ПРОДÐЖР[16:53:23]line ТРК (МРК, ГÐК) : 22 [16:53:23]line Товар: 2710124130 [16:53:23]line Ðи-92-К-5 [16:53:23]line 10.450 * 60.30 [16:53:23]line = 630.14 [16:53:23]line ÐДС 12% ÐСП 1% [16:53:23]line > о реализуемом товаре [16:53:23]line ОКРУГЛЕÐИЕ: -0.14 [16:53:23]line ИТОГО: 630.00 [16:53:23]line ВнеÑено: 630.00 [16:53:23]line СДÐЧÐ: 0.00 [16:53:23]line ÐСП 1% : 5.58 [16:53:23]line ÐДС 12% : 66.92 [16:53:23]line Ðаличными: 630.00 [16:53:23]line Безнал.: 0.00 [16:53:23]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [16:53:23]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [16:53:23]line СÐО: Общий режим [16:53:23]line Чек 72 28.01.2024 16:53 [16:53:23]line Смена: 244 ФФД: 1.0 [16:53:23]line ЗÐМ: 0300000040 [16:53:23]line РÐМ: 0000000000092723 [16:53:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:53:23]line ФМ: 0000000000875060 [16:53:23]line ФД: 49007 [16:53:23]line ФПД: 43676482362435 [16:53:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T165331&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49007&fm=43676482362435&tin=02508201610067®Number=0000000000092723&sum=63000 [16:53:23]written 0, free lines is 4095 [16:53:23]OFD Sender: Processing packet 49007 [packets to send 12, broken 11] [16:53:23]ProducePacketName [16:53:23]name=ofd_packets/00049007 [16:53:23]OFD Sender: To server: ‡•öpG, [16:53:23]CommunicateWithHost lk.salyk.kg:30040 [16:53:23]ConnectInit lk.salyk.kg [16:53:23]Connected sock=11 [16:53: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 30 36 30 0F 01 00 00 15 A4 07 01 8F C4 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 D2 28 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 26 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 8B 86 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6F BF 00 00 35 04 06 00 27 B9 39 37 5C 43 37 3D 0A 73 B3 29 76 25 [16:53:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 F4 73 47 00 AF E7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 6F BF 00 00 F4 03 04 00 85 32 B6 65 B6 04 01 00 00 31 21 8F 11 95 B8 A8 7F [16:53:23]CommunicateWithHost err = 0 [16:53:23]CheckOFDResponse [16:53:23]1017 (14) - 77093643461234 [16:53:23]1041 (16) - 0000000000875060 [16:53:23]1040 (4) - 49007 [16:53:23]1012 (4) - 28.01.2024 10:55 [16:53:23]1206 (1) - 0 [16:53:23]OFD Sender: Remove packet 49007 [16:53:23]ProducePacketName [16:53:23]name=ofd_packets/00049007 [16:53:23]NVStorageDeleteData [16:53:23]Write to MH i2c: 01 00 00 4F 39 88 [16:53:23]Write i2c OK [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: 01 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: 01 07 00 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: 01 07 00 4F 39 00 00 00 00 00 F0 0C 8B [16:53:23]RasterBufferAndPrint [16:53:23]line [16:53:23]line [16:53:23]line [16:53:23]line [16:53:23]line [16:53:23]written 0, free lines is 3319 [16:53:23]MH_Cut [16:53:23]Write to MH i2c: D1 01 00 56 39 01 61 [16:53:23]Write i2c OK [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: D1 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: D1 01 00 [16:53:23]MH_I2C_Read... [16:53:23]Read from MH i2c: D1 01 00 56 39 00 60 [16:53:23]Write to MH i2c: 01 00 00 57 39 90 [16:53:23]Write i2c OK [16:53:23]MH_I2C_Read... [16:53:24]OFD Sender: No OFD packet to send [16:53:24]*** Cut start [16:53:24]*** Partial cut [16:53:24]*** CUTSNS_PIN = 1 [16:53:24]*** CUTSNS_PIN = 0 [16:53:24]*** Brake cut motor [16:53:25]Read from MH i2c: 01 [16:53:25]MH_I2C_Read... [16:53:25]*** Stop cut motor [16:53:25]*** Cut end [16:53:25]Read from MH i2c: 01 07 00 [16:53:25]MH_I2C_Read... [16:53:25]Read from MH i2c: 01 07 00 57 39 00 00 00 00 00 FF 0F A5 [16:53:25]process_action close_receipt done [16:53:25]requested_data is exist [16:53:25]produce_requested_data [16:53:25]requested_item fm.sn is exist - process it [16:53:25]wFMCommunicate request_size=4 [16:53:25]MH_SAM_APDU [16:53:25]CAPDU: 80 11 00 00 [16:53:25]Write to MH i2c: E2 08 00 58 39 80 11 00 00 00 00 00 00 0B [16:53:25]Write i2c OK [16:53:25]MH_I2C_Read... [16:53:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:53:25]Read from MH i2c: E2 [16:53:25]MH_I2C_Read... [16:53:25]Read from MH i2c: E2 17 00 [16:53:25]MH_I2C_Read... [16:53:25]Read from MH i2c: E2 17 00 58 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 58 [16:53:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [16:53:25]wFMCommunicate OK [16:53:25]requested_item fd.num is exist - process it [16:53:25]SAM_PROTO_GetFieldsCounters [16:53:25]wFMCommunicate request_size=4 [16:53:25]MH_SAM_APDU [16:53:25]CAPDU: 80 13 00 00 [16:53:25]Write to MH i2c: E2 08 00 59 39 80 13 00 00 00 00 00 00 0E [16:53:25]Write i2c OK [16:53:25]MH_I2C_Read... [16:53:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:53:25]Read from MH i2c: E2 [16:53:25]MH_I2C_Read... [16:53:25]Read from MH i2c: E2 62 00 [16:53:25]MH_I2C_Read... [16:53:25]Read from MH i2c: E2 62 00 59 39 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 21 [16:53: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 6F BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:53:25]wFMCommunicate OK [16:53:25]SAM_PROTO_GetFieldsCounters done [16:53:25]requested_item shift.num is exist - process it [16:53:25]requested_item shift.opened is exist - process it [16:53:25]req_shift_opened [16:53:25]FM_GetShiftState [16:53:25]SAM_PROTO_GetShiftState [16:53:25]wFMCommunicate request_size=4 [16:53:25]MH_SAM_APDU [16:53:25]CAPDU: 80 13 01 00 [16:53:25]Write to MH i2c: E2 08 00 5A 39 80 13 01 00 00 00 00 00 10 [16:53:25]Write i2c OK [16:53:25]MH_I2C_Read... [16:53:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:53:25]Read from MH i2c: E2 [16:53:25]MH_I2C_Read... [16:53:25]Read from MH i2c: E2 0E 00 [16:53:25]MH_I2C_Read... [16:53:25]Read from MH i2c: E2 0E 00 5A 39 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 96 [16:53:25]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [16:53:25]wFMCommunicate OK [16:53:25]SAM_PROTO_GetShiftState done [16:53:25]FM_GetShiftState done [16:53:25]req_shift_opened done [16:53:25]requested_item shift.open_date is exist - process it [16:53:25]req_shift_open_date [16:53:25]req_shift_open_date done [16:53:25]produce_requested_data done [16:53:25]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49007,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [16:53:25]process_action_free close_receipt [16:53:25]json_value_free [16:53:25]json_value_free done [16:53:25]process_json_proto returns [16:53:25]Send response to host [16:53:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49007,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [16:53:25]free response buf [16:53:25]execute_script done [16:53:25]execute_script returns [16:53:25]free content buf [16:53:25]Sock 7.Close socket [16:53:25]Sock 7.Thread stoped [16:53:29]OFD Sender: No OFD packet to send [16:53:34]OFD Sender: No OFD packet to send [16:53:39]OFD Sender: No OFD packet to send [16:53:44]OFD Sender: No OFD packet to send [16:53:49]OFD Sender: No OFD packet to send [16:53:54]OFD Sender: No OFD packet to send [16:53:59]OFD Sender: No OFD packet to send [16:54:04]OFD Sender: No OFD packet to send [16:54:09]OFD Sender: No OFD packet to send [16:54:14]OFD Sender: No OFD packet to send [16:54:19]OFD Sender: No OFD packet to send [16:54:24]OFD Sender: No OFD packet to send [16:54:29]OFD Sender: No OFD packet to send [16:54:34]OFD Sender: No OFD packet to send [16:54:39]OFD Sender: No OFD packet to send [16:54:44]OFD Sender: No OFD packet to send [16:54:49]OFD Sender: No OFD packet to send [16:54:54]OFD Sender: No OFD packet to send [16:54:59]OFD Sender: No OFD packet to send [16:55:04]OFD Sender: No OFD packet to send [16:55:09]OFD Sender: No OFD packet to send [16:55:14]OFD Sender: No OFD packet to send [16:55:19]OFD Sender: No OFD packet to send [16:55:24]OFD Sender: No OFD packet to send [16:55:29]OFD Sender: No OFD packet to send [16:55:34]OFD Sender: No OFD packet to send [16:55:39]OFD Sender: No OFD packet to send [16:55:44]OFD Sender: No OFD packet to send [16:55:49]OFD Sender: No OFD packet to send [16:55:54]OFD Sender: No OFD packet to send [16:55:59]OFD Sender: No OFD packet to send [16:56:04]OFD Sender: No OFD packet to send [16:56:09]OFD Sender: No OFD packet to send [16:56:14]OFD Sender: No OFD packet to send [16:56:19]OFD Sender: No OFD packet to send [16:56:24]OFD Sender: No OFD packet to send [16:56:29]OFD Sender: No OFD packet to send [16:56:34]OFD Sender: No OFD packet to send [16:56:39]OFD Sender: No OFD packet to send [16:56:44]OFD Sender: No OFD packet to send [16:56:49]OFD Sender: No OFD packet to send [16:56:54]OFD Sender: No OFD packet to send [16:56:59]OFD Sender: No OFD packet to send [16:57:04]OFD Sender: No OFD packet to send [16:57:09]OFD Sender: No OFD packet to send [16:57:14]OFD Sender: No OFD packet to send [16:57:19]OFD Sender: No OFD packet to send [16:57:24]OFD Sender: No OFD packet to send [16:57:29]OFD Sender: No OFD packet to send [16:57:34]OFD Sender: No OFD packet to send [16:57:39]OFD Sender: No OFD packet to send [16:57:44]OFD Sender: No OFD packet to send [16:57:49]OFD Sender: No OFD packet to send [16:57:54]OFD Sender: No OFD packet to send [16:57:59]OFD Sender: No OFD packet to send [16:58:04]OFD Sender: No OFD packet to send [16:58:09]OFD Sender: No OFD packet to send [16:58:14]OFD Sender: No OFD packet to send [16:58:19]OFD Sender: No OFD packet to send [16:58:24]OFD Sender: No OFD packet to send [16:58:29]OFD Sender: No OFD packet to send [16:58:34]OFD Sender: No OFD packet to send [16:58:39]OFD Sender: No OFD packet to send [16:58:44]OFD Sender: No OFD packet to send [16:58:49]OFD Sender: No OFD packet to send [16:58:54]OFD Sender: No OFD packet to send [16:58:59]OFD Sender: No OFD packet to send [16:59:04]OFD Sender: No OFD packet to send [16:59:09]OFD Sender: No OFD packet to send [16:59:14]OFD Sender: No OFD packet to send [16:59:19]OFD Sender: No OFD packet to send [16:59:24]OFD Sender: No OFD packet to send [16:59:29]OFD Sender: No OFD packet to send [16:59:34]OFD Sender: No OFD packet to send [16:59:39]OFD Sender: No OFD packet to send [16:59:44]OFD Sender: No OFD packet to send [16:59:49]OFD Sender: No OFD packet to send [16:59:54]OFD Sender: No OFD packet to send [16:59:59]OFD Sender: No OFD packet to send [17:00:04]OFD Sender: No OFD packet to send [17:00:09]OFD Sender: No OFD packet to send [17:00:14]OFD Sender: No OFD packet to send [17:00:19]OFD Sender: No OFD packet to send [17:00:24]OFD Sender: No OFD packet to send [17:00:29]OFD Sender: No OFD packet to send [17:00:34]OFD Sender: No OFD packet to send [17:00:39]OFD Sender: No OFD packet to send [17:00:44]OFD Sender: No OFD packet to send [17:00:49]OFD Sender: No OFD packet to send [17:00:54]OFD Sender: No OFD packet to send [17:00:59]OFD Sender: No OFD packet to send [17:01:04]OFD Sender: No OFD packet to send [17:01:09]OFD Sender: No OFD packet to send [17:01:14]OFD Sender: No OFD packet to send [17:01:19]OFD Sender: No OFD packet to send [17:01:24]OFD Sender: No OFD packet to send [17:01:29]OFD Sender: No OFD packet to send [17:01:34]OFD Sender: No OFD packet to send [17:01:39]OFD Sender: No OFD packet to send [17:01:44]OFD Sender: No OFD packet to send [17:01:49]OFD Sender: No OFD packet to send [17:01:54]OFD Sender: No OFD packet to send [17:01:59]OFD Sender: No OFD packet to send [17:02:04]OFD Sender: No OFD packet to send [17:02:09]OFD Sender: No OFD packet to send [17:02:14]OFD Sender: No OFD packet to send [17:02:19]OFD Sender: No OFD packet to send [17:02:24]OFD Sender: No OFD packet to send [17:02:29]OFD Sender: No OFD packet to send [17:02:34]OFD Sender: No OFD packet to send [17:02:39]OFD Sender: No OFD packet to send [17:02:44]OFD Sender: No OFD packet to send [17:02:49]OFD Sender: No OFD packet to send [17:02:54]OFD Sender: No OFD packet to send [17:02:59]OFD Sender: No OFD packet to send [17:03:04]OFD Sender: No OFD packet to send [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:04:14]OFD Sender: No OFD packet to send [17:04:19]OFD Sender: No OFD packet to send [17:04:24]OFD Sender: No OFD packet to send [17:04:29]OFD Sender: No OFD packet to send [17:04:34]OFD Sender: No OFD packet to send [17:04:39]OFD Sender: No OFD packet to send [17:04:44]OFD Sender: No OFD packet to send [17:04:49]OFD Sender: No OFD packet to send [17:04:54]OFD Sender: No OFD packet to send [17:04:59]OFD Sender: No OFD packet to send [17:05:04]OFD Sender: No OFD packet to send [17:05:09]OFD Sender: No OFD packet to send [17:05:14]OFD Sender: No OFD packet to send [17:05:19]OFD Sender: No OFD packet to send [17:05:24]OFD Sender: No OFD packet to send [17:05:29]OFD Sender: No OFD packet to send [17:05:34]OFD Sender: No OFD packet to send [17:05:39]OFD Sender: No OFD packet to send [17:05:44]OFD Sender: No OFD packet to send [17:05:49]OFD Sender: No OFD packet to send [17:05:54]OFD Sender: No OFD packet to send [17:05:59]OFD Sender: No OFD packet to send [17:06:04]OFD Sender: No OFD packet to send [17:06:09]OFD Sender: No OFD packet to send [17:06:14]OFD Sender: No OFD packet to send [17:06:19]OFD Sender: No OFD packet to send [17:06:24]OFD Sender: No OFD packet to send [17:06:29]OFD Sender: No OFD packet to send [17:06:34]OFD Sender: No OFD packet to send [17:06:39]OFD Sender: No OFD packet to send [17:06:44]OFD Sender: No OFD packet to send [17:06:49]OFD Sender: No OFD packet to send [17:06:54]OFD Sender: No OFD packet to send [17:06:59]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]OFD Sender: No OFD packet to send [17:08:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:39]OFD Sender: No OFD packet to send [17:09:44]OFD Sender: No OFD packet to send [17:09:49]OFD Sender: No OFD packet to send [17:09:54]OFD Sender: No OFD packet to send [17:09:59]OFD Sender: No OFD packet to send [17:10:04]OFD Sender: No OFD packet to send [17:10:09]OFD Sender: No OFD packet to send [17:10:14]OFD Sender: No OFD packet to send [17:10:19]OFD Sender: No OFD packet to send [17:10:24]OFD Sender: No OFD packet to send [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:39]OFD Sender: No OFD packet to send [17:10:45]OFD Sender: No OFD packet to send [17:10:50]OFD Sender: No OFD packet to send [17:10:55]OFD Sender: No OFD packet to send [17:11:00]OFD Sender: No OFD packet to send [17:11:05]OFD Sender: No OFD packet to send [17:11:10]OFD Sender: No OFD packet to send [17:11:15]OFD Sender: No OFD packet to send [17:11:20]OFD Sender: No OFD packet to send [17:11:25]OFD Sender: No OFD packet to send [17:11:30]OFD Sender: No OFD packet to send [17:11:35]OFD Sender: No OFD packet to send [17:11:40]OFD Sender: No OFD packet to send [17:11:45]OFD Sender: No OFD packet to send [17:11:50]OFD Sender: No OFD packet to send [17:11:55]OFD Sender: No OFD packet to send [17:12:00]OFD Sender: No OFD packet to send [17:12:05]OFD Sender: No OFD packet to send [17:12:10]OFD Sender: No OFD packet to send [17:12:15]OFD Sender: No OFD packet to send [17:12:20]OFD Sender: No OFD packet to send [17:12:25]OFD Sender: No OFD packet to send [17:12:30]OFD Sender: No OFD packet to send [17:12:35]OFD Sender: No OFD packet to send [17:12:40]OFD Sender: No OFD packet to send [17:12:45]OFD Sender: No OFD packet to send [17:12:50]OFD Sender: No OFD packet to send [17:12:55]OFD Sender: No OFD packet to send [17:13:00]OFD Sender: No OFD packet to send [17:13:05]OFD Sender: No OFD packet to send [17:13:10]OFD Sender: No OFD packet to send [17:13:15]OFD Sender: No OFD packet to send [17:13:20]OFD Sender: No OFD packet to send [17:13:25]OFD Sender: No OFD packet to send [17:13:30]OFD Sender: No OFD packet to send [17:13:35]OFD Sender: No OFD packet to send [17:13:40]OFD Sender: No OFD packet to send [17:13:45]OFD Sender: No OFD packet to send [17:13:50]OFD Sender: No OFD packet to send [17:13:55]OFD Sender: No OFD packet to send [17:14:00]OFD Sender: No OFD packet to send [17:14:05]OFD Sender: No OFD packet to send [17:14:10]OFD Sender: No OFD packet to send [17:14:15]OFD Sender: No OFD packet to send [17:14:20]OFD Sender: No OFD packet to send [17:14:25]OFD Sender: No OFD packet to send [17:14:30]OFD Sender: No OFD packet to send [17:14:35]OFD Sender: No OFD packet to send [17:14:40]OFD Sender: No OFD packet to send [17:14:45]OFD Sender: No OFD packet to send [17:14:50]OFD Sender: No OFD packet to send [17:14:55]OFD Sender: No OFD packet to send [17:15:00]OFD Sender: No OFD packet to send [17:15:05]OFD Sender: No OFD packet to send [17:15:10]OFD Sender: No OFD packet to send [17:15:15]OFD Sender: No OFD packet to send [17:15:20]OFD Sender: No OFD packet to send [17:15:25]OFD Sender: No OFD packet to send [17:15:30]OFD Sender: No OFD packet to send [17:15:31]accept exits with 9 [17:15:31]New connection [17:15:31]New thread 3066813796 created [17:15:31]Thread 3066670436 joined [17:15:31]Waiting for new connection... [17:15:31] Sock 9.Parse request [17:15:31]Sock 9.Check first char [17:15:31]Sock 9.First char is OK [17:15:31]request: POST /json_proto HTTP/1.0 [17:15:31]Method: POST [17:15:31]URL: /json_proto [17:15:31]Method is POST - this is cgi request [17:15:31]url: /json_proto [17:15:31]query_string will be loaded in cgi processing [17:15:31]execute_cgi json_proto POST (null) [17:15:31]execute_cgi path=json_proto method=POST [17:15:31]POST find Content-Length [17:15:31]Host: 172.17.56.67:8080 [17:15:31]Content-Length: 640 [17:15:31]Content-Type: application/json [17:15:31] [17:15:31]POST finish read [17:15:31]Found Content-Length = 640 [17:15:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216109", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 10.000, "sum" : 603.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 603.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:15:31]execute_script... [17:15: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)216109", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 10.000, "sum" : 603.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 603.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:15:31]POST & json_proto [17:15:31]process_json_proto [17:15:31]json parsed OK: [17:15:31]protocol is kg_v1.0 [17:15:31]action value=close_receipt [17:15:31]process_action close_receipt [17:15:31]cmd_close_receipt [17:15:31]MH_GetDate [17:15:31]Write to MH i2c: F0 00 00 5B 39 83 [17:15:31]Write i2c OK [17:15:31]MH_I2C_Read... [17:15:31]Read from MH i2c: F0 [17:15:31]MH_I2C_Read... [17:15:31]Read from MH i2c: F0 09 00 [17:15:31]MH_I2C_Read... [17:15:31]Read from MH i2c: F0 09 00 5B 39 00 BD 8B B6 65 26 5D 9E 65 75 [17:15:31]GetLastDocTimeStamp 1706460811 [17:15:31]current date 1706462141 [17:15:31]FM_GetShiftState [17:15:31]SAM_PROTO_GetShiftState [17:15:31]wFMCommunicate request_size=4 [17:15:31]MH_SAM_APDU [17:15:31]CAPDU: 80 13 01 00 [17:15:31]Write to MH i2c: E2 08 00 5C 39 80 13 01 00 00 00 00 00 12 [17:15:31]Write i2c OK [17:15:31]MH_I2C_Read... [17:15:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:31]Read from MH i2c: E2 [17:15:31]MH_I2C_Read... [17:15:31]Read from MH i2c: E2 0E 00 [17:15:31]MH_I2C_Read... [17:15:31]Read from MH i2c: E2 0E 00 5C 39 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 98 [17:15:31]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:15:31]wFMCommunicate OK [17:15:31]SAM_PROTO_GetShiftState done [17:15:31]FM_GetShiftState done [17:15:31]opened in 1706400199 [17:15:31]opened+sec_in_day 1706486599 [17:15:31]quantity*price = 60300 [17:15:31]sum+1 = 60301 [17:15:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 603.00 ÐСП 1% : 5.34 ÐДС 12% : 64.03 Ðаличными: 603.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 73 28.01.2024 17:15 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49008 ФПД: 152670679967879 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T171541&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49008&fm=152670679967879&tin=02508201610067®Number=0000000000092723&sum=60300 [17:15:32]StoreToDocumentArchive [17:15:32]shift 244 fd 49008 [17:15:32]save to /storage/0244/doc_00049008 [17:15:32]save last doc name /storage/0244/doc_00049008 to /storage/kkm_last_doc_name [17:15:32]save OK [17:15:32]Clear old archive folders... [17:15:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:15:32]tlvbuf is 011FADB0 [17:15:32]SAM_PROTO_ClearQueue [17:15:32]wFMCommunicate request_size=4 [17:15:32]MH_SAM_APDU [17:15:32]CAPDU: 80 09 00 00 [17:15:32]Write to MH i2c: E2 08 00 69 39 80 09 00 00 00 00 00 00 14 [17:15:32]Write i2c OK [17:15:32]MH_I2C_Read... [17:15:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:15:33]Read from MH i2c: E2 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 03 00 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 03 00 69 39 00 90 00 16 [17:15:33]RAPDU: 90 00 [17:15:33]wFMCommunicate OK [17:15:33]SAM_PROTO_ClearQueue done [17:15:33]KKMCreateOFDPacket [17:15:33]OFDProtocolAddRootSTLVToBuf [17:15:33]FM_MakeSignedData [17:15:33]FM_MakeSignedData [17:15:33]SAM_PROTO_SignData [17:15:33]wFMCommunicate request_size=4 [17:15:33]MH_SAM_APDU [17:15:33]CAPDU: 80 0D 01 02 [17:15:33]Write to MH i2c: E2 08 00 6A 39 80 0D 01 02 00 00 00 00 1C [17:15:33]Write i2c OK [17:15:33]MH_I2C_Read... [17:15:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:15:33]Read from MH i2c: E2 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 03 00 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 03 00 6A 39 00 90 00 17 [17:15:33]RAPDU: 90 00 [17:15:33]wFMCommunicate OK [17:15:33]wFMCommunicate request_size=255 [17:15:33]MH_SAM_APDU [17:15:33]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 10 27 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 8C EB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 19 00 00 00 00 07 04 06 00 8C EB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 BD 8B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 70 BF 00 00 35 04 06 00 8A [17:15:33]Write to MH i2c: E2 02 01 6B 39 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 10 27 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 8C EB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 19 00 00 00 00 07 04 06 00 8C EB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 BD 8B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 70 BF 00 00 35 04 06 00 8A 00 00 EC [17:15:33]Write i2c OK [17:15:33]MH_I2C_Read... [17:15:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:33]Read from MH i2c: E2 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 03 00 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 03 00 6B 39 00 90 00 18 [17:15:33]RAPDU: 90 00 [17:15:33]wFMCommunicate OK [17:15:33]wFMCommunicate request_size=10 [17:15:33]MH_SAM_APDU [17:15:33]CAPDU: 80 0D 02 02 05 DA 69 A5 A8 87 [17:15:33]Write to MH i2c: E2 0D 00 6C 39 80 0D 02 02 05 00 DA 69 A5 A8 87 00 00 40 [17:15:33]Write i2c OK [17:15:33]MH_I2C_Read... [17:15:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:33]Read from MH i2c: E2 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 03 00 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 03 00 6C 39 00 90 00 19 [17:15:33]RAPDU: 90 00 [17:15:33]wFMCommunicate OK [17:15:33]wFMCommunicate request_size=4 [17:15:33]MH_SAM_APDU [17:15:33]CAPDU: 80 0D 03 02 [17:15:33]Write to MH i2c: E2 08 00 6D 39 80 0D 03 02 00 00 00 00 21 [17:15:33]Write i2c OK [17:15:33]MH_I2C_Read... [17:15:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:15:33]Read from MH i2c: E2 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 0B 00 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 0B 00 6D 39 00 68 65 69 9B A8 A3 B2 AB 90 00 9B [17:15:33]RAPDU: 68 65 69 9B A8 A3 B2 AB 90 00 [17:15:33]wFMCommunicate OK [17:15:33]SAM_PROTO_SignData done [17:15:33]FM_MakeSignedData done [17:15:33]CreateOFDProtocolMessage [17:15:33]wFMCommunicate request_size=4 [17:15:33]MH_SAM_APDU [17:15:33]CAPDU: 80 11 00 00 [17:15:33]Write to MH i2c: E2 08 00 6E 39 80 11 00 00 00 00 00 00 21 [17:15:33]Write i2c OK [17:15:33]MH_I2C_Read... [17:15:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:33]Read from MH i2c: E2 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 17 00 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: E2 17 00 6E 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 6E [17:15:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:15:33]wFMCommunicate OK [17:15:33]CreateOFDProtocolMessage done [17:15:33]OFDSenderStorePacket 49008 [17:15:33]StoreOFDPacket docnum=49008 [17:15:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 51 6E 07 01 B6 8C 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 10 27 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 8C EB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 19 00 00 00 00 07 04 06 00 8C EB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 BD 8B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 70 BF 00 00 35 04 06 00 8A DA 69 A5 A8 87 68 65 69 9B A8 A3 B2 AB [17:15:33]CheckFolder [17:15:33]dirname=/storage/ofd_packets [17:15:33]CheckFolder done [17:15:33]ProducePacketName [17:15:33]name=ofd_packets/00049008 [17:15:33]NVStorageSaveData ofd_packets/00049008 [17:15:33]File name is /storage/ofd_packets/00049008 [17:15:33]Write 301 bytes [17:15:33]NVStorageSaveData done [17:15:33]OFDSenderStorePacket done [17:15:33]KKMCreateOFDPacket done [17:15:33]NVStorageSaveData kkm_last_timestamp [17:15:33]File name is /storage/kkm_last_timestamp [17:15:33]Write 4 bytes [17:15:33]NVStorageSaveData done [17:15:33]ExternCall_PrintAddStr [17:15:33]wPrintStart [17:15:33]Write to MH i2c: 01 00 00 6F 39 A8 [17:15:33]Write i2c OK [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: 01 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: 01 07 00 [17:15:33]MH_I2C_Read... [17:15:33]Read from MH i2c: 01 07 00 6F 39 00 00 00 00 00 FF 0F BD [17:15:33]RasterBufferAndPrint [17:15:33]line Счет N : (1)216109 [17:15:33]line ИÐÐ: 02508201610067 [17:15:33]line Контрольно-КаÑÑовый Чек [17:15:33]line ПРОДÐЖР[17:15:33]line ТРК (МРК, ГÐК) : 22 [17:15:33]line Товар: 2710124130 [17:15:33]line Ðи-92-К-5 [17:15:33]line 10.000 * 60.30 [17:15:33]line = 603.00 [17:15:33]line ÐДС 12% ÐСП 1% [17:15:33]line > о реализуемом товаре [17:15:33]line ИТОГО: 603.00 [17:15:33]line ÐСП 1% : 5.34 [17:15:33]line ÐДС 12% : 64.03 [17:15:33]line Ðаличными: 603.00 [17:15:33]line Безнал.: 0.00 [17:15:33]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [17:15:33]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [17:15:33]line СÐО: Общий режим [17:15:33]line Чек 73 28.01.2024 17:15 [17:15:33]line Смена: 244 ФФД: 1.0 [17:15:33]line ЗÐМ: 0300000040 [17:15:33]line РÐМ: 0000000000092723 [17:15:33]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:15:33]line ФМ: 0000000000875060 [17:15:33]line ФД: 49008 [17:15:33]line ФПД: 152670679967879 [17:15:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T171541&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49008&fm=152670679967879&tin=02508201610067®Number=0000000000092723&sum=60300 [17:15:33]OFD Sender: Processing packet 49008 [packets to send 12, broken 11] [17:15:33]ProducePacketName [17:15:33]name=ofd_packets/00049008 [17:15:33]OFD Sender: To server: ‡•öpG, [17:15:33]CommunicateWithHost lk.salyk.kg:30040 [17:15:33]ConnectInit lk.salyk.kg [17:15:33]written 0, free lines is 4095 [17:15:33]Connected sock=10 [17:15: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 30 36 30 0F 01 00 00 51 6E 07 01 B6 8C 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 10 27 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 8C EB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C EB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 19 00 00 00 00 07 04 06 00 8C EB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 BD 8B B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 70 BF 00 00 35 04 06 00 8A DA 69 A5 A8 87 68 65 69 9B A8 A3 B2 AB [17:15:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 0A F0 47 00 6D 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 70 BF 00 00 F4 03 04 00 B8 37 B6 65 B6 04 01 00 00 84 90 CA A0 67 BD 74 09 [17:15:34]CommunicateWithHost err = 0 [17:15:34]CheckOFDResponse [17:15:34]1017 (14) - 77093643461234 [17:15:34]1041 (16) - 0000000000875060 [17:15:34]1040 (4) - 49008 [17:15:34]1012 (4) - 28.01.2024 11:17 [17:15:34]1206 (1) - 0 [17:15:34]OFD Sender: Remove packet 49008 [17:15:34]ProducePacketName [17:15:34]name=ofd_packets/00049008 [17:15:34]NVStorageDeleteData [17:15:34]Write to MH i2c: 01 00 00 97 39 D0 [17:15:34]Write i2c OK [17:15:34]MH_I2C_Read... [17:15:34]Read from MH i2c: 01 [17:15:34]MH_I2C_Read... [17:15:34]Read from MH i2c: 01 07 00 [17:15:34]MH_I2C_Read... [17:15:34]Read from MH i2c: 01 07 00 97 39 00 00 00 00 00 1F 0D 03 [17:15:34]RasterBufferAndPrint [17:15:34]line [17:15:34]line [17:15:34]line [17:15:34]line [17:15:34]line [17:15:34]written 0, free lines is 3365 [17:15:34]MH_Cut [17:15:34]Write to MH i2c: D1 01 00 9E 39 01 A9 [17:15:34]Write i2c OK [17:15:34]MH_I2C_Read... [17:15:34]Read from MH i2c: D1 [17:15:34]MH_I2C_Read... [17:15:34]Read from MH i2c: D1 01 00 [17:15:34]MH_I2C_Read... [17:15:34]Read from MH i2c: D1 01 00 9E 39 00 A8 [17:15:34]Write to MH i2c: 01 00 00 9F 39 D8 [17:15:34]Write i2c OK [17:15:34]MH_I2C_Read... [17:15:34]OFD Sender: No OFD packet to send [17:15:34]*** Cut start [17:15:34]*** Partial cut [17:15:34]*** CUTSNS_PIN = 1 [17:15:34]*** CUTSNS_PIN = 0 [17:15:35]*** Brake cut motor [17:15:35]Read from MH i2c: 01 [17:15:35]MH_I2C_Read... [17:15:35]*** Stop cut motor [17:15:35]*** Cut end [17:15:35]Read from MH i2c: 01 07 00 [17:15:35]MH_I2C_Read... [17:15:35]Read from MH i2c: 01 07 00 9F 39 00 00 00 00 00 FF 0F ED [17:15:35]process_action close_receipt done [17:15:35]requested_data is exist [17:15:35]produce_requested_data [17:15:35]requested_item fm.sn is exist - process it [17:15:35]wFMCommunicate request_size=4 [17:15:35]MH_SAM_APDU [17:15:35]CAPDU: 80 11 00 00 [17:15:35]Write to MH i2c: E2 08 00 A0 39 80 11 00 00 00 00 00 00 53 [17:15:35]Write i2c OK [17:15:35]MH_I2C_Read... [17:15:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:35]Read from MH i2c: E2 [17:15:35]MH_I2C_Read... [17:15:35]Read from MH i2c: E2 17 00 [17:15:35]MH_I2C_Read... [17:15:35]Read from MH i2c: E2 17 00 A0 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 A0 [17:15:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:15:35]wFMCommunicate OK [17:15:35]requested_item fd.num is exist - process it [17:15:35]SAM_PROTO_GetFieldsCounters [17:15:35]wFMCommunicate request_size=4 [17:15:35]MH_SAM_APDU [17:15:35]CAPDU: 80 13 00 00 [17:15:35]Write to MH i2c: E2 08 00 A1 39 80 13 00 00 00 00 00 00 56 [17:15:35]Write i2c OK [17:15:35]MH_I2C_Read... [17:15:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:15:35]Read from MH i2c: E2 [17:15:35]MH_I2C_Read... [17:15:35]Read from MH i2c: E2 62 00 [17:15:35]MH_I2C_Read... [17:15:35]Read from MH i2c: E2 62 00 A1 39 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 70 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [17:15: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 70 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:15:35]wFMCommunicate OK [17:15:35]SAM_PROTO_GetFieldsCounters done [17:15:35]requested_item shift.num is exist - process it [17:15:35]requested_item shift.opened is exist - process it [17:15:35]req_shift_opened [17:15:35]FM_GetShiftState [17:15:35]SAM_PROTO_GetShiftState [17:15:35]wFMCommunicate request_size=4 [17:15:35]MH_SAM_APDU [17:15:35]CAPDU: 80 13 01 00 [17:15:35]Write to MH i2c: E2 08 00 A2 39 80 13 01 00 00 00 00 00 58 [17:15:35]Write i2c OK [17:15:35]MH_I2C_Read... [17:15:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:35]Read from MH i2c: E2 [17:15:35]MH_I2C_Read... [17:15:35]Read from MH i2c: E2 0E 00 [17:15:35]MH_I2C_Read... [17:15:35]Read from MH i2c: E2 0E 00 A2 39 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 DE [17:15:35]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:15:35]wFMCommunicate OK [17:15:35]SAM_PROTO_GetShiftState done [17:15:35]FM_GetShiftState done [17:15:35]req_shift_opened done [17:15:35]requested_item shift.open_date is exist - process it [17:15:35]req_shift_open_date [17:15:35]req_shift_open_date done [17:15:35]produce_requested_data done [17:15:35]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49008,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [17:15:35]process_action_free close_receipt [17:15:35]json_value_free [17:15:35]json_value_free done [17:15:35]process_json_proto returns [17:15:35]Send response to host [17:15:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49008,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [17:15:35]free response buf [17:15:35]execute_script done [17:15:35]execute_script returns [17:15:35]free content buf [17:15:35]Sock 9.Close socket [17:15:35]Sock 9.Thread stoped [17:15:39]OFD Sender: No OFD packet to send [17:15:44]OFD Sender: No OFD packet to send [17:15:49]OFD Sender: No OFD packet to send [17:15:54]OFD Sender: No OFD packet to send [17:15:59]OFD Sender: No OFD packet to send [17:16:04]OFD Sender: No OFD packet to send [17:16:09]OFD Sender: No OFD packet to send [17:16:14]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:24]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20: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:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [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]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [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:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28:45]OFD Sender: No OFD packet to send [17:28:50]OFD Sender: No OFD packet to send [17:28:55]OFD Sender: No OFD packet to send [17:29:00]OFD Sender: No OFD packet to send [17:29:05]OFD Sender: No OFD packet to send [17:29:10]OFD Sender: No OFD packet to send [17:29:15]OFD Sender: No OFD packet to send [17:29:20]OFD Sender: No OFD packet to send [17:29:25]OFD Sender: No OFD packet to send [17:29:30]OFD Sender: No OFD packet to send [17:29:35]OFD Sender: No OFD packet to send [17:29:40]OFD Sender: No OFD packet to send [17:29:45]OFD Sender: No OFD packet to send [17:29:50]OFD Sender: No OFD packet to send [17:29:55]OFD Sender: No OFD packet to send [17:30:00]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:50]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:10]OFD Sender: No OFD packet to send [17:39:15]OFD Sender: No OFD packet to send [17:39:20]OFD Sender: No OFD packet to send [17:39:25]OFD Sender: No OFD packet to send [17:39:30]OFD Sender: No OFD packet to send [17:39:35]OFD Sender: No OFD packet to send [17:39:40]OFD Sender: No OFD packet to send [17:39:45]OFD Sender: No OFD packet to send [17:39:50]OFD Sender: No OFD packet to send [17:39:55]OFD Sender: No OFD packet to send [17:40:00]OFD Sender: No OFD packet to send [17:40:05]OFD Sender: No OFD packet to send [17:40:10]OFD Sender: No OFD packet to send [17:40:15]OFD Sender: No OFD packet to send [17:40:20]OFD Sender: No OFD packet to send [17:40:25]OFD Sender: No OFD packet to send [17:40:30]OFD Sender: No OFD packet to send [17:40:35]OFD Sender: No OFD packet to send [17:40:40]OFD Sender: No OFD packet to send [17:40:45]OFD Sender: No OFD packet to send [17:40:50]OFD Sender: No OFD packet to send [17:40:55]OFD Sender: No OFD packet to send [17:41:00]OFD Sender: No OFD packet to send [17:41:05]OFD Sender: No OFD packet to send [17:41:10]OFD Sender: No OFD packet to send [17:41:15]OFD Sender: No OFD packet to send [17:41:20]OFD Sender: No OFD packet to send [17:41:25]OFD Sender: No OFD packet to send [17:41:30]OFD Sender: No OFD packet to send [17:41:35]OFD Sender: No OFD packet to send [17:41:40]OFD Sender: No OFD packet to send [17:41:45]OFD Sender: No OFD packet to send [17:41:50]OFD Sender: No OFD packet to send [17:41:55]OFD Sender: No OFD packet to send [17:42:00]OFD Sender: No OFD packet to send [17:42:05]OFD Sender: No OFD packet to send [17:42:10]OFD Sender: No OFD packet to send [17:42:15]OFD Sender: No OFD packet to send [17:42:20]OFD Sender: No OFD packet to send [17:42:25]OFD Sender: No OFD packet to send [17:42:30]OFD Sender: No OFD packet to send [17:42:35]OFD Sender: No OFD packet to send [17:42:40]OFD Sender: No OFD packet to send [17:42:45]OFD Sender: No OFD packet to send [17:42:50]OFD Sender: No OFD packet to send [17:42:55]OFD Sender: No OFD packet to send [17:43:00]OFD Sender: No OFD packet to send [17:43:05]OFD Sender: No OFD packet to send [17:43:10]OFD Sender: No OFD packet to send [17:43:15]OFD Sender: No OFD packet to send [17:43:20]OFD Sender: No OFD packet to send [17:43:25]OFD Sender: No OFD packet to send [17:43:30]OFD Sender: No OFD packet to send [17:43:35]OFD Sender: No OFD packet to send [17:43:40]OFD Sender: No OFD packet to send [17:43:45]OFD Sender: No OFD packet to send [17:43:50]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:45]OFD Sender: No OFD packet to send [17:44:50]OFD Sender: No OFD packet to send [17:44:55]OFD Sender: No OFD packet to send [17:45:00]OFD Sender: No OFD packet to send [17:45:05]OFD Sender: No OFD packet to send [17:45:11]OFD Sender: No OFD packet to send [17:45:16]OFD Sender: No OFD packet to send [17:45:21]OFD Sender: No OFD packet to send [17:45:26]OFD Sender: No OFD packet to send [17:45:31]OFD Sender: No OFD packet to send [17:45:36]OFD Sender: No OFD packet to send [17:45:41]OFD Sender: No OFD packet to send [17:45:46]OFD Sender: No OFD packet to send [17:45:51]OFD Sender: No OFD packet to send [17:45:56]OFD Sender: No OFD packet to send [17:46:01]OFD Sender: No OFD packet to send [17:46:06]OFD Sender: No OFD packet to send [17:46:11]OFD Sender: No OFD packet to send [17:46:16]OFD Sender: No OFD packet to send [17:46:21]OFD Sender: No OFD packet to send [17:46:26]OFD Sender: No OFD packet to send [17:46:31]OFD Sender: No OFD packet to send [17:46:36]OFD Sender: No OFD packet to send [17:46:41]OFD Sender: No OFD packet to send [17:46:46]OFD Sender: No OFD packet to send [17:46:51]OFD Sender: No OFD packet to send [17:46:56]OFD Sender: No OFD packet to send [17:47:01]OFD Sender: No OFD packet to send [17:47:06]OFD Sender: No OFD packet to send [17:47:11]OFD Sender: No OFD packet to send [17:47:16]OFD Sender: No OFD packet to send [17:47:21]OFD Sender: No OFD packet to send [17:47:26]OFD Sender: No OFD packet to send [17:47:31]OFD Sender: No OFD packet to send [17:47:36]OFD Sender: No OFD packet to send [17:47:41]OFD Sender: No OFD packet to send [17:47:46]OFD Sender: No OFD packet to send [17:47:51]OFD Sender: No OFD packet to send [17:47:56]OFD Sender: No OFD packet to send [17:48:01]OFD Sender: No OFD packet to send [17:48:06]OFD Sender: No OFD packet to send [17:48:11]OFD Sender: No OFD packet to send [17:48:16]OFD Sender: No OFD packet to send [17:48:21]OFD Sender: No OFD packet to send [17:48:26]OFD Sender: No OFD packet to send [17:48:31]OFD Sender: No OFD packet to send [17:48:36]OFD Sender: No OFD packet to send [17:48:41]OFD Sender: No OFD packet to send [17:48:46]OFD Sender: No OFD packet to send [17:48:51]OFD Sender: No OFD packet to send [17:48:56]OFD Sender: No OFD packet to send [17:49:01]OFD Sender: No OFD packet to send [17:49:06]OFD Sender: No OFD packet to send [17:49:11]OFD Sender: No OFD packet to send [17:49:16]OFD Sender: No OFD packet to send [17:49:21]OFD Sender: No OFD packet to send [17:49:26]OFD Sender: No OFD packet to send [17:49:31]OFD Sender: No OFD packet to send [17:49:36]OFD Sender: No OFD packet to send [17:49:41]OFD Sender: No OFD packet to send [17:49:46]OFD Sender: No OFD packet to send [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:24]accept exits with 7 [17:54:24]New connection [17:54:24]New thread 3066670436 created [17:54:24]Thread 3066813796 joined [17:54:24]Waiting for new connection... [17:54:24] Sock 7.Parse request [17:54:24]Sock 7.Check first char [17:54:24]Sock 7.First char is OK [17:54:24]request: POST /json_proto HTTP/1.0 [17:54:24]Method: POST [17:54:24]URL: /json_proto [17:54:24]Method is POST - this is cgi request [17:54:24]url: /json_proto [17:54:24]query_string will be loaded in cgi processing [17:54:24]execute_cgi json_proto POST (null) [17:54:24]execute_cgi path=json_proto method=POST [17:54:24]POST find Content-Length [17:54:24]Host: 172.17.56.67:8080 [17:54:24]Content-Length: 677 [17:54:24]Content-Type: application/json [17:54:24] [17:54:24]POST finish read [17:54:24]Found Content-Length = 677 [17:54:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216110", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.000, "sum" : 241.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 241.00, "total" : 241.00, "payments": [ { "type": 0, "sum" : 241.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:54:24]execute_script... [17:54: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 : (1)216110", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 4.000, "sum" : 241.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 241.00, "total" : 241.00, "payments": [ { "type": 0, "sum" : 241.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:54:24]POST & json_proto [17:54:24]process_json_proto [17:54:24]json parsed OK: [17:54:24]protocol is kg_v1.0 [17:54:24]action value=close_receipt [17:54:24]process_action close_receipt [17:54:24]cmd_close_receipt [17:54:24]MH_GetDate [17:54:24]Write to MH i2c: F0 00 00 A3 39 CB [17:54:24]Write i2c OK [17:54:24]MH_I2C_Read... [17:54:24]Read from MH i2c: F0 [17:54:24]MH_I2C_Read... [17:54:24]Read from MH i2c: F0 09 00 [17:54:24]MH_I2C_Read... [17:54:24]Read from MH i2c: F0 09 00 A3 39 00 DA 94 B6 65 26 5D 9E 65 E3 [17:54:24]GetLastDocTimeStamp 1706462141 [17:54:24]current date 1706464474 [17:54:24]FM_GetShiftState [17:54:24]SAM_PROTO_GetShiftState [17:54:24]wFMCommunicate request_size=4 [17:54:24]MH_SAM_APDU [17:54:24]CAPDU: 80 13 01 00 [17:54:24]Write to MH i2c: E2 08 00 A4 39 80 13 01 00 00 00 00 00 5A [17:54:24]Write i2c OK [17:54:24]MH_I2C_Read... [17:54:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:54:24]Read from MH i2c: E2 [17:54:24]MH_I2C_Read... [17:54:24]Read from MH i2c: E2 0E 00 [17:54:24]MH_I2C_Read... [17:54:24]Read from MH i2c: E2 0E 00 A4 39 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 E0 [17:54:24]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:54:24]wFMCommunicate OK [17:54:24]SAM_PROTO_GetShiftState done [17:54:24]FM_GetShiftState done [17:54:24]opened in 1706400199 [17:54:24]opened+sec_in_day 1706486599 [17:54:24]quantity*price = 24120 [17:54:24]sum+1 = 24121 [17:54:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.20 ИТОГО: 241.00 ВнеÑено: 241.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.13 ÐДС 12% : 25.61 Ðаличными: 241.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 74 28.01.2024 17:54 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49009 ФПД: 199763713366805 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T175434&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49009&fm=199763713366805&tin=02508201610067®Number=0000000000092723&sum=24100 [17:54:25]StoreToDocumentArchive [17:54:25]shift 244 fd 49009 [17:54:25]save to /storage/0244/doc_00049009 [17:54:25]save last doc name /storage/0244/doc_00049009 to /storage/kkm_last_doc_name [17:54:25]save OK [17:54:25]Clear old archive folders... [17:54:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:54:25]tlvbuf is B6F36780 [17:54:25]SAM_PROTO_ClearQueue [17:54:25]wFMCommunicate request_size=4 [17:54:25]MH_SAM_APDU [17:54:25]CAPDU: 80 09 00 00 [17:54:25]Write to MH i2c: E2 08 00 B1 39 80 09 00 00 00 00 00 00 5C [17:54:25]Write i2c OK [17:54:25]MH_I2C_Read... [17:54:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:54:26]Read from MH i2c: E2 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 03 00 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 03 00 B1 39 00 90 00 5E [17:54:26]RAPDU: 90 00 [17:54:26]wFMCommunicate OK [17:54:26]SAM_PROTO_ClearQueue done [17:54:26]KKMCreateOFDPacket [17:54:26]OFDProtocolAddRootSTLVToBuf [17:54:26]FM_MakeSignedData [17:54:26]FM_MakeSignedData [17:54:26]SAM_PROTO_SignData [17:54:26]wFMCommunicate request_size=4 [17:54:26]MH_SAM_APDU [17:54:26]CAPDU: 80 0D 01 02 [17:54:26]Write to MH i2c: E2 08 00 B2 39 80 0D 01 02 00 00 00 00 64 [17:54:26]Write i2c OK [17:54:26]MH_I2C_Read... [17:54:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:54:26]Read from MH i2c: E2 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 03 00 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 03 00 B2 39 00 90 00 5F [17:54:26]RAPDU: 90 00 [17:54:26]wFMCommunicate OK [17:54:26]wFMCommunicate request_size=255 [17:54:26]MH_SAM_APDU [17:54:26]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 A0 0F 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 38 5E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 0A 00 00 00 00 07 04 06 00 24 5E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 DA 94 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 71 BF 00 00 35 04 06 00 B5 [17:54:26]Write to MH i2c: E2 02 01 B3 39 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 A0 0F 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 38 5E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 0A 00 00 00 00 07 04 06 00 24 5E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 DA 94 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 71 BF 00 00 35 04 06 00 B5 00 00 E0 [17:54:26]Write i2c OK [17:54:26]MH_I2C_Read... [17:54:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:54:26]Read from MH i2c: E2 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 03 00 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 03 00 B3 39 00 90 00 60 [17:54:26]RAPDU: 90 00 [17:54:26]wFMCommunicate OK [17:54:26]wFMCommunicate request_size=10 [17:54:26]MH_SAM_APDU [17:54:26]CAPDU: 80 0D 02 02 05 AF 1D 2C 9B 15 [17:54:26]Write to MH i2c: E2 0D 00 B4 39 80 0D 02 02 05 00 AF 1D 2C 9B 15 00 00 19 [17:54:26]Write i2c OK [17:54:26]MH_I2C_Read... [17:54:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:54:26]Read from MH i2c: E2 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 03 00 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 03 00 B4 39 00 90 00 61 [17:54:26]RAPDU: 90 00 [17:54:26]wFMCommunicate OK [17:54:26]wFMCommunicate request_size=4 [17:54:26]MH_SAM_APDU [17:54:26]CAPDU: 80 0D 03 02 [17:54:26]Write to MH i2c: E2 08 00 B5 39 80 0D 03 02 00 00 00 00 69 [17:54:26]Write i2c OK [17:54:26]MH_I2C_Read... [17:54:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:54:26]Read from MH i2c: E2 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 0B 00 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 0B 00 B5 39 00 79 52 38 42 77 F0 02 DA 90 00 F2 [17:54:26]RAPDU: 79 52 38 42 77 F0 02 DA 90 00 [17:54:26]wFMCommunicate OK [17:54:26]SAM_PROTO_SignData done [17:54:26]FM_MakeSignedData done [17:54:26]CreateOFDProtocolMessage [17:54:26]wFMCommunicate request_size=4 [17:54:26]MH_SAM_APDU [17:54:26]CAPDU: 80 11 00 00 [17:54:26]Write to MH i2c: E2 08 00 B6 39 80 11 00 00 00 00 00 00 69 [17:54:26]Write i2c OK [17:54:26]MH_I2C_Read... [17:54:26]OFD Sender: No OFD packet to send [17:54:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:54:26]Read from MH i2c: E2 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 17 00 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: E2 17 00 B6 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 B6 [17:54:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:54:26]wFMCommunicate OK [17:54:26]CreateOFDProtocolMessage done [17:54:26]OFDSenderStorePacket 49009 [17:54:26]StoreOFDPacket docnum=49009 [17:54:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 55 E4 07 01 31 1C 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 A0 0F 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 38 5E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 0A 00 00 00 00 07 04 06 00 24 5E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 DA 94 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 71 BF 00 00 35 04 06 00 B5 AF 1D 2C 9B 15 79 52 38 42 77 F0 02 DA [17:54:26]CheckFolder [17:54:26]dirname=/storage/ofd_packets [17:54:26]CheckFolder done [17:54:26]ProducePacketName [17:54:26]name=ofd_packets/00049009 [17:54:26]NVStorageSaveData ofd_packets/00049009 [17:54:26]File name is /storage/ofd_packets/00049009 [17:54:26]Write 301 bytes [17:54:26]NVStorageSaveData done [17:54:26]OFDSenderStorePacket done [17:54:26]KKMCreateOFDPacket done [17:54:26]NVStorageSaveData kkm_last_timestamp [17:54:26]File name is /storage/kkm_last_timestamp [17:54:26]Write 4 bytes [17:54:26]NVStorageSaveData done [17:54:26]ExternCall_PrintAddStr [17:54:26]wPrintStart [17:54:26]Write to MH i2c: 01 00 00 B7 39 F0 [17:54:26]Write i2c OK [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: 01 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: 01 07 00 [17:54:26]MH_I2C_Read... [17:54:26]Read from MH i2c: 01 07 00 B7 39 00 00 00 00 00 FF 0F 05 [17:54:26]RasterBufferAndPrint [17:54:26]line Счет N : (1)216110 [17:54:26]line ИÐÐ: 02508201610067 [17:54:26]line Контрольно-КаÑÑовый Чек [17:54:26]line ПРОДÐЖР[17:54:26]line ТРК (МРК, ГÐК) : 22 [17:54:26]line Товар: 2710124130 [17:54:26]line Ðи-92-К-5 [17:54:26]line 4.000 * 60.30 [17:54:26]line = 241.20 [17:54:26]line ÐДС 12% ÐСП 1% [17:54:26]line > о реализуемом товаре [17:54:26]line ОКРУГЛЕÐИЕ: -0.20 [17:54:26]line ИТОГО: 241.00 [17:54:26]line ВнеÑено: 241.00 [17:54:26]line СДÐЧÐ: 0.00 [17:54:26]line ÐСП 1% : 2.13 [17:54:26]line ÐДС 12% : 25.61 [17:54:26]line Ðаличными: 241.00 [17:54:26]line Безнал.: 0.00 [17:54:26]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [17:54:26]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [17:54:26]line СÐО: Общий режим [17:54:26]line Чек 74 28.01.2024 17:54 [17:54:26]line Смена: 244 ФФД: 1.0 [17:54:26]line ЗÐМ: 0300000040 [17:54:26]line РÐМ: 0000000000092723 [17:54:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:54:26]line ФМ: 0000000000875060 [17:54:26]line ФД: 49009 [17:54:26]line ФПД: 199763713366805 [17:54:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T175434&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49009&fm=199763713366805&tin=02508201610067®Number=0000000000092723&sum=24100 [17:54:26]OFD Sender: Processing packet 49009 [packets to send 12, broken 11] [17:54:26]ProducePacketName [17:54:26]name=ofd_packets/00049009 [17:54:26]OFD Sender: To server: ‡•öpG, [17:54:26]CommunicateWithHost lk.salyk.kg:30040 [17:54:26]ConnectInit lk.salyk.kg [17:54:26]written 0, free lines is 4095 [17:54:26]Connected sock=10 [17:54: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 30 36 30 0F 01 00 00 55 E4 07 01 31 1C 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 A0 0F 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 38 5E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 0A 00 00 00 00 07 04 06 00 24 5E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 DA 94 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 71 BF 00 00 35 04 06 00 B5 AF 1D 2C 9B 15 79 52 38 42 77 F0 02 DA [17:54:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 50 9C 47 00 F1 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 71 BF 00 00 F4 03 04 00 D5 40 B6 65 B6 04 01 00 00 3D 89 8F EB 58 A8 EB FF [17:54:27]CommunicateWithHost err = 0 [17:54:27]CheckOFDResponse [17:54:27]1017 (14) - 77093643461234 [17:54:27]1041 (16) - 0000000000875060 [17:54:27]1040 (4) - 49009 [17:54:27]1012 (4) - 28.01.2024 11:56 [17:54:27]1206 (1) - 0 [17:54:27]OFD Sender: Remove packet 49009 [17:54:27]ProducePacketName [17:54:27]name=ofd_packets/00049009 [17:54:27]NVStorageDeleteData [17:54:27]Write to MH i2c: 01 00 00 E2 39 1B [17:54:27]Write i2c OK [17:54:27]MH_I2C_Read... [17:54:27]Read from MH i2c: 01 [17:54:27]MH_I2C_Read... [17:54:27]Read from MH i2c: 01 07 00 [17:54:27]MH_I2C_Read... [17:54:27]Read from MH i2c: 01 07 00 E2 39 00 00 00 00 00 EC 0C 1A [17:54:27]RasterBufferAndPrint [17:54:27]line [17:54:27]line [17:54:27]line [17:54:27]line [17:54:27]line [17:54:27]written 0, free lines is 3314 [17:54:27]MH_Cut [17:54:27]Write to MH i2c: D1 01 00 E9 39 01 F4 [17:54:27]Write i2c OK [17:54:27]MH_I2C_Read... [17:54:27]Read from MH i2c: D1 [17:54:27]MH_I2C_Read... [17:54:27]Read from MH i2c: D1 01 00 [17:54:27]MH_I2C_Read... [17:54:27]Read from MH i2c: D1 01 00 E9 39 00 F3 [17:54:27]Write to MH i2c: 01 00 00 EA 39 23 [17:54:27]Write i2c OK [17:54:27]MH_I2C_Read... [17:54:27]OFD Sender: No OFD packet to send [17:54:27]*** Cut start [17:54:27]*** Partial cut [17:54:27]*** CUTSNS_PIN = 1 [17:54:27]*** CUTSNS_PIN = 0 [17:54:28]*** Brake cut motor [17:54:28]Read from MH i2c: 01 [17:54:28]MH_I2C_Read... [17:54:28]*** Stop cut motor [17:54:28]*** Cut end [17:54:28]Read from MH i2c: 01 07 00 [17:54:28]MH_I2C_Read... [17:54:28]Read from MH i2c: 01 07 00 EA 39 00 00 00 00 00 FF 0F 38 [17:54:28]process_action close_receipt done [17:54:28]requested_data is exist [17:54:28]produce_requested_data [17:54:28]requested_item fm.sn is exist - process it [17:54:28]wFMCommunicate request_size=4 [17:54:28]MH_SAM_APDU [17:54:28]CAPDU: 80 11 00 00 [17:54:28]Write to MH i2c: E2 08 00 EB 39 80 11 00 00 00 00 00 00 9E [17:54:28]Write i2c OK [17:54:28]MH_I2C_Read... [17:54:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:54:28]Read from MH i2c: E2 [17:54:28]MH_I2C_Read... [17:54:28]Read from MH i2c: E2 17 00 [17:54:28]MH_I2C_Read... [17:54:28]Read from MH i2c: E2 17 00 EB 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 EB [17:54:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:54:28]wFMCommunicate OK [17:54:28]requested_item fd.num is exist - process it [17:54:28]SAM_PROTO_GetFieldsCounters [17:54:28]wFMCommunicate request_size=4 [17:54:28]MH_SAM_APDU [17:54:28]CAPDU: 80 13 00 00 [17:54:28]Write to MH i2c: E2 08 00 EC 39 80 13 00 00 00 00 00 00 A1 [17:54:28]Write i2c OK [17:54:28]MH_I2C_Read... [17:54:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:54:28]Read from MH i2c: E2 [17:54:28]MH_I2C_Read... [17:54:28]Read from MH i2c: E2 62 00 [17:54:28]MH_I2C_Read... [17:54:28]Read from MH i2c: E2 62 00 EC 39 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 71 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 BC [17:54: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 71 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:54:28]wFMCommunicate OK [17:54:28]SAM_PROTO_GetFieldsCounters done [17:54:28]requested_item shift.num is exist - process it [17:54:28]requested_item shift.opened is exist - process it [17:54:28]req_shift_opened [17:54:28]FM_GetShiftState [17:54:28]SAM_PROTO_GetShiftState [17:54:28]wFMCommunicate request_size=4 [17:54:28]MH_SAM_APDU [17:54:28]CAPDU: 80 13 01 00 [17:54:28]Write to MH i2c: E2 08 00 ED 39 80 13 01 00 00 00 00 00 A3 [17:54:28]Write i2c OK [17:54:28]MH_I2C_Read... [17:54:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:54:28]Read from MH i2c: E2 [17:54:28]MH_I2C_Read... [17:54:28]Read from MH i2c: E2 0E 00 [17:54:28]MH_I2C_Read... [17:54:28]Read from MH i2c: E2 0E 00 ED 39 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 29 [17:54:28]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:54:28]wFMCommunicate OK [17:54:28]SAM_PROTO_GetShiftState done [17:54:28]FM_GetShiftState done [17:54:28]req_shift_opened done [17:54:28]requested_item shift.open_date is exist - process it [17:54:28]req_shift_open_date [17:54:28]req_shift_open_date done [17:54:28]produce_requested_data done [17:54:28]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49009,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [17:54:28]process_action_free close_receipt [17:54:28]json_value_free [17:54:28]json_value_free done [17:54:28]process_json_proto returns [17:54:28]Send response to host [17:54:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49009,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [17:54:28]free response buf [17:54:28]execute_script done [17:54:28]execute_script returns [17:54:28]free content buf [17:54:28]Sock 7.Close socket [17:54:28]Sock 7.Thread stoped [17:54:32]OFD Sender: No OFD packet to send [17:54:37]OFD Sender: No OFD packet to send [17:54:42]OFD Sender: No OFD packet to send [17:54:47]OFD Sender: No OFD packet to send [17:54:52]OFD Sender: No OFD packet to send [17:54:57]OFD Sender: No OFD packet to send [17:55:02]OFD Sender: No OFD packet to send [17:55:07]OFD Sender: No OFD packet to send [17:55:12]OFD Sender: No OFD packet to send [17:55:17]OFD Sender: No OFD packet to send [17:55:22]OFD Sender: No OFD packet to send [17:55:27]OFD Sender: No OFD packet to send [17:55:32]OFD Sender: No OFD packet to send [17:55:37]OFD Sender: No OFD packet to send [17:55:42]OFD Sender: No OFD packet to send [17:55:47]OFD Sender: No OFD packet to send [17:55:50]accept exits with 9 [17:55:50]New connection [17:55:50]New thread 3066813796 created [17:55:50]Thread 3066670436 joined [17:55:50]Waiting for new connection... [17:55:50] Sock 9.Parse request [17:55:50]Sock 9.Check first char [17:55:50]Sock 9.First char is OK [17:55:50]request: POST /json_proto HTTP/1.0 [17:55:50]Method: POST [17:55:50]URL: /json_proto [17:55:50]Method is POST - this is cgi request [17:55:50]url: /json_proto [17:55:50]query_string will be loaded in cgi processing [17:55:50]execute_cgi json_proto POST (null) [17:55:50]execute_cgi path=json_proto method=POST [17:55:50]POST find Content-Length [17:55:50]Host: 172.17.56.67:8080 [17:55:50]Content-Length: 682 [17:55:50]Content-Type: application/json [17:55:50] [17:55:50]POST finish read [17:55:50]Found Content-Length = 682 [17:55:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216111", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 33.170, "sum" : 2000.15, "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" ] } } [17:55:50]execute_script... [17:55: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 : (1)216111", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 33.170, "sum" : 2000.15, "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" ] } } [17:55:50]POST & json_proto [17:55:50]process_json_proto [17:55:50]json parsed OK: [17:55:50]protocol is kg_v1.0 [17:55:50]action value=close_receipt [17:55:50]process_action close_receipt [17:55:50]cmd_close_receipt [17:55:50]MH_GetDate [17:55:50]Write to MH i2c: F0 00 00 EE 39 16 [17:55:50]Write i2c OK [17:55:50]MH_I2C_Read... [17:55:50]Read from MH i2c: F0 [17:55:50]MH_I2C_Read... [17:55:50]Read from MH i2c: F0 09 00 [17:55:50]MH_I2C_Read... [17:55:50]Read from MH i2c: F0 09 00 EE 39 00 30 95 B6 65 26 5D 9E 65 85 [17:55:50]GetLastDocTimeStamp 1706464474 [17:55:50]current date 1706464560 [17:55:50]FM_GetShiftState [17:55:50]SAM_PROTO_GetShiftState [17:55:50]wFMCommunicate request_size=4 [17:55:50]MH_SAM_APDU [17:55:50]CAPDU: 80 13 01 00 [17:55:50]Write to MH i2c: E2 08 00 EF 39 80 13 01 00 00 00 00 00 A5 [17:55:50]Write i2c OK [17:55:50]MH_I2C_Read... [17:55:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:55:50]Read from MH i2c: E2 [17:55:50]MH_I2C_Read... [17:55:50]Read from MH i2c: E2 0E 00 [17:55:50]MH_I2C_Read... [17:55:50]Read from MH i2c: E2 0E 00 EF 39 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 2B [17:55:50]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:55:50]wFMCommunicate OK [17:55:50]SAM_PROTO_GetShiftState done [17:55:50]FM_GetShiftState done [17:55:50]opened in 1706400199 [17:55:50]opened+sec_in_day 1706486599 [17:55:50]quantity*price = 200015 [17:55:50]sum+1 = 200016 [17:55:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.15 ИТОГО: 2000.00 ВнеÑено: 2000.00 СДÐЧÐ: 0.00 ÐСП 1% : 17.70 ÐДС 12% : 212.40 Ðаличными: 2000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 75 28.01.2024 17:56 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49010 ФПД: 183436654457158 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T175600&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49010&fm=183436654457158&tin=02508201610067®Number=0000000000092723&sum=200000 [17:55:51]StoreToDocumentArchive [17:55:51]shift 244 fd 49010 [17:55:51]save to /storage/0244/doc_00049010 [17:55:51]save last doc name /storage/0244/doc_00049010 to /storage/kkm_last_doc_name [17:55:51]save OK [17:55:51]Clear old archive folders... [17:55:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:55:51]tlvbuf is 011E9F20 [17:55:51]SAM_PROTO_ClearQueue [17:55:51]wFMCommunicate request_size=4 [17:55:51]MH_SAM_APDU [17:55:51]CAPDU: 80 09 00 00 [17:55:51]Write to MH i2c: E2 08 00 FC 39 80 09 00 00 00 00 00 00 A7 [17:55:51]Write i2c OK [17:55:51]MH_I2C_Read... [17:55:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:55:51]Read from MH i2c: E2 [17:55:51]MH_I2C_Read... [17:55:51]Read from MH i2c: E2 03 00 [17:55:51]MH_I2C_Read... [17:55:51]Read from MH i2c: E2 03 00 FC 39 00 90 00 A9 [17:55:51]RAPDU: 90 00 [17:55:51]wFMCommunicate OK [17:55:51]SAM_PROTO_ClearQueue done [17:55:51]KKMCreateOFDPacket [17:55:51]OFDProtocolAddRootSTLVToBuf [17:55:51]FM_MakeSignedData [17:55:51]FM_MakeSignedData [17:55:51]SAM_PROTO_SignData [17:55:51]wFMCommunicate request_size=4 [17:55:51]MH_SAM_APDU [17:55:51]CAPDU: 80 0D 01 02 [17:55:51]Write to MH i2c: E2 08 00 FD 39 80 0D 01 02 00 00 00 00 AF [17:55:51]Write i2c OK [17:55:51]MH_I2C_Read... [17:55:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:55:51]Read from MH i2c: E2 [17:55:51]MH_I2C_Read... [17:55:51]Read from MH i2c: E2 03 00 [17:55:51]MH_I2C_Read... [17:55:51]Read from MH i2c: E2 03 00 FD 39 00 90 00 AA [17:55:51]RAPDU: 90 00 [17:55:51]wFMCommunicate OK [17:55:51]wFMCommunicate request_size=255 [17:55:51]MH_SAM_APDU [17:55:51]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 92 81 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4F 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 4B 00 00 00 F4 03 04 00 30 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 72 BF 00 00 35 04 06 00 A6 [17:55:51]Write to MH i2c: E2 02 01 FE 39 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 92 81 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4F 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 4B 00 00 00 F4 03 04 00 30 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 72 BF 00 00 35 04 06 00 A6 00 00 98 [17:55:51]Write i2c OK [17:55:51]MH_I2C_Read... [17:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:55:52]Read from MH i2c: E2 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: E2 03 00 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: E2 03 00 FE 39 00 90 00 AB [17:55:52]RAPDU: 90 00 [17:55:52]wFMCommunicate OK [17:55:52]wFMCommunicate request_size=10 [17:55:52]MH_SAM_APDU [17:55:52]CAPDU: 80 0D 02 02 05 D5 AC A0 B1 46 [17:55:52]Write to MH i2c: E2 0D 00 FF 39 80 0D 02 02 05 00 D5 AC A0 B1 46 00 00 D4 [17:55:52]Write i2c OK [17:55:52]MH_I2C_Read... [17:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:55:52]Read from MH i2c: E2 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: E2 03 00 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: E2 03 00 FF 39 00 90 00 AC [17:55:52]RAPDU: 90 00 [17:55:52]wFMCommunicate OK [17:55:52]wFMCommunicate request_size=4 [17:55:52]MH_SAM_APDU [17:55:52]CAPDU: 80 0D 03 02 [17:55:52]Write to MH i2c: E2 08 00 00 3A 80 0D 03 02 00 00 00 00 B5 [17:55:52]Write i2c OK [17:55:52]MH_I2C_Read... [17:55:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:55:52]Read from MH i2c: E2 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: E2 0B 00 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: E2 0B 00 00 3A 00 7B 31 95 FD 3F 45 3D 37 90 00 EC [17:55:52]RAPDU: 7B 31 95 FD 3F 45 3D 37 90 00 [17:55:52]wFMCommunicate OK [17:55:52]SAM_PROTO_SignData done [17:55:52]FM_MakeSignedData done [17:55:52]CreateOFDProtocolMessage [17:55:52]wFMCommunicate request_size=4 [17:55:52]MH_SAM_APDU [17:55:52]CAPDU: 80 11 00 00 [17:55:52]Write to MH i2c: E2 08 00 01 3A 80 11 00 00 00 00 00 00 B5 [17:55:52]Write i2c OK [17:55:52]MH_I2C_Read... [17:55:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:55:52]Read from MH i2c: E2 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: E2 17 00 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: E2 17 00 01 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 02 [17:55:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:55:52]wFMCommunicate OK [17:55:52]CreateOFDProtocolMessage done [17:55:52]OFDSenderStorePacket 49010 [17:55:52]StoreOFDPacket docnum=49010 [17:55:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 77 A6 07 01 79 22 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 92 81 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4F 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 4B 00 00 00 F4 03 04 00 30 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 72 BF 00 00 35 04 06 00 A6 D5 AC A0 B1 46 7B 31 95 FD 3F 45 3D 37 [17:55:52]CheckFolder [17:55:52]dirname=/storage/ofd_packets [17:55:52]CheckFolder done [17:55:52]ProducePacketName [17:55:52]name=ofd_packets/00049010 [17:55:52]NVStorageSaveData ofd_packets/00049010 [17:55:52]File name is /storage/ofd_packets/00049010 [17:55:52]Write 301 bytes [17:55:52]NVStorageSaveData done [17:55:52]OFDSenderStorePacket done [17:55:52]KKMCreateOFDPacket done [17:55:52]NVStorageSaveData kkm_last_timestamp [17:55:52]File name is /storage/kkm_last_timestamp [17:55:52]Write 4 bytes [17:55:52]NVStorageSaveData done [17:55:52]ExternCall_PrintAddStr [17:55:52]wPrintStart [17:55:52]Write to MH i2c: 01 00 00 02 3A 3C [17:55:52]Write i2c OK [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: 01 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: 01 07 00 [17:55:52]MH_I2C_Read... [17:55:52]Read from MH i2c: 01 07 00 02 3A 00 00 00 00 00 FF 0F 51 [17:55:52]RasterBufferAndPrint [17:55:52]line Счет N : (1)216111 [17:55:52]line ИÐÐ: 02508201610067 [17:55:52]line Контрольно-КаÑÑовый Чек [17:55:52]line ПРОДÐЖР[17:55:52]line ТРК (МРК, ГÐК) : 12 [17:55:52]line Товар: 2710124130 [17:55:52]line Ðи-92-К-5 [17:55:52]line 33.170 * 60.30 [17:55:52]line = 2000.15 [17:55:52]line ÐДС 12% ÐСП 1% [17:55:52]line > о реализуемом товаре [17:55:52]line ОКРУГЛЕÐИЕ: -0.15 [17:55:52]line ИТОГО: 2000.00 [17:55:52]line ВнеÑено: 2000.00 [17:55:52]line СДÐЧÐ: 0.00 [17:55:52]line ÐСП 1% : 17.70 [17:55:52]line ÐДС 12% : 212.40 [17:55:52]line Ðаличными: 2000.00 [17:55:52]line Безнал.: 0.00 [17:55:52]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [17:55:52]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [17:55:52]line СÐО: Общий режим [17:55:52]line Чек 75 28.01.2024 17:56 [17:55:52]line Смена: 244 ФФД: 1.0 [17:55:52]line ЗÐМ: 0300000040 [17:55:52]line РÐМ: 0000000000092723 [17:55:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:55:52]line ФМ: 0000000000875060 [17:55:52]line ФД: 49010 [17:55:52]line ФПД: 183436654457158 [17:55:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T175600&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49010&fm=183436654457158&tin=02508201610067®Number=0000000000092723&sum=200000 [17:55:52]OFD Sender: Processing packet 49010 [packets to send 12, broken 11] [17:55:52]ProducePacketName [17:55:52]name=ofd_packets/00049010 [17:55:52]OFD Sender: To server: ‡•öpG, [17:55:52]CommunicateWithHost lk.salyk.kg:30040 [17:55:52]ConnectInit lk.salyk.kg [17:55:52]written 0, free lines is 4095 [17:55:52]Connected sock=10 [17:55:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 77 A6 07 01 79 22 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 92 81 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 4F 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 4B 00 00 00 F4 03 04 00 30 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 72 BF 00 00 35 04 06 00 A6 D5 AC A0 B1 46 7B 31 95 FD 3F 45 3D 37 [17:55:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 B7 7D 47 00 A3 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 72 BF 00 00 F4 03 04 00 2B 41 B6 65 B6 04 01 00 00 40 18 27 4A 54 D9 74 46 [17:55:53]CommunicateWithHost err = 0 [17:55:53]CheckOFDResponse [17:55:53]1017 (14) - 77093643461234 [17:55:53]1041 (16) - 0000000000875060 [17:55:53]1040 (4) - 49010 [17:55:53]1012 (4) - 28.01.2024 11:57 [17:55:53]1206 (1) - 0 [17:55:53]OFD Sender: Remove packet 49010 [17:55:53]ProducePacketName [17:55:53]name=ofd_packets/00049010 [17:55:53]NVStorageDeleteData [17:55:53]Write to MH i2c: 01 00 00 2D 3A 67 [17:55:53]Write i2c OK [17:55:53]MH_I2C_Read... [17:55:53]Read from MH i2c: 01 [17:55:53]MH_I2C_Read... [17:55:53]Read from MH i2c: 01 07 00 [17:55:53]MH_I2C_Read... [17:55:53]Read from MH i2c: 01 07 00 2D 3A 00 00 00 00 00 EB 0C 65 [17:55:53]RasterBufferAndPrint [17:55:53]line [17:55:53]line [17:55:53]line [17:55:53]line [17:55:53]line [17:55:53]written 0, free lines is 3314 [17:55:53]MH_Cut [17:55:53]Write to MH i2c: D1 01 00 34 3A 01 40 [17:55:53]Write i2c OK [17:55:53]MH_I2C_Read... [17:55:53]Read from MH i2c: D1 [17:55:53]MH_I2C_Read... [17:55:53]Read from MH i2c: D1 01 00 [17:55:53]MH_I2C_Read... [17:55:53]Read from MH i2c: D1 01 00 34 3A 00 3F [17:55:53]Write to MH i2c: 01 00 00 35 3A 6F [17:55:53]Write i2c OK [17:55:53]MH_I2C_Read... [17:55:53]OFD Sender: No OFD packet to send [17:55:53]*** Cut start [17:55:53]*** Partial cut [17:55:53]*** CUTSNS_PIN = 1 [17:55:53]*** CUTSNS_PIN = 0 [17:55:54]*** Brake cut motor [17:55:54]Read from MH i2c: 01 [17:55:54]MH_I2C_Read... [17:55:54]*** Stop cut motor [17:55:54]*** Cut end [17:55:54]Read from MH i2c: 01 07 00 [17:55:54]MH_I2C_Read... [17:55:54]Read from MH i2c: 01 07 00 35 3A 00 00 00 00 00 FF 0F 84 [17:55:54]process_action close_receipt done [17:55:54]requested_data is exist [17:55:54]produce_requested_data [17:55:54]requested_item fm.sn is exist - process it [17:55:54]wFMCommunicate request_size=4 [17:55:54]MH_SAM_APDU [17:55:54]CAPDU: 80 11 00 00 [17:55:54]Write to MH i2c: E2 08 00 36 3A 80 11 00 00 00 00 00 00 EA [17:55:54]Write i2c OK [17:55:54]MH_I2C_Read... [17:55:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:55:54]Read from MH i2c: E2 [17:55:54]MH_I2C_Read... [17:55:54]Read from MH i2c: E2 17 00 [17:55:54]MH_I2C_Read... [17:55:54]Read from MH i2c: E2 17 00 36 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 37 [17:55:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:55:54]wFMCommunicate OK [17:55:54]requested_item fd.num is exist - process it [17:55:54]SAM_PROTO_GetFieldsCounters [17:55:54]wFMCommunicate request_size=4 [17:55:54]MH_SAM_APDU [17:55:54]CAPDU: 80 13 00 00 [17:55:54]Write to MH i2c: E2 08 00 37 3A 80 13 00 00 00 00 00 00 ED [17:55:54]Write i2c OK [17:55:54]MH_I2C_Read... [17:55:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:55:54]Read from MH i2c: E2 [17:55:54]MH_I2C_Read... [17:55:54]Read from MH i2c: E2 62 00 [17:55:54]MH_I2C_Read... [17:55:54]Read from MH i2c: E2 62 00 37 3A 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 72 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [17:55: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 72 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:55:54]wFMCommunicate OK [17:55:54]SAM_PROTO_GetFieldsCounters done [17:55:54]requested_item shift.num is exist - process it [17:55:54]requested_item shift.opened is exist - process it [17:55:54]req_shift_opened [17:55:54]FM_GetShiftState [17:55:54]SAM_PROTO_GetShiftState [17:55:54]wFMCommunicate request_size=4 [17:55:54]MH_SAM_APDU [17:55:54]CAPDU: 80 13 01 00 [17:55:54]Write to MH i2c: E2 08 00 38 3A 80 13 01 00 00 00 00 00 EF [17:55:54]Write i2c OK [17:55:54]MH_I2C_Read... [17:55:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:55:54]Read from MH i2c: E2 [17:55:54]MH_I2C_Read... [17:55:54]Read from MH i2c: E2 0E 00 [17:55:54]MH_I2C_Read... [17:55:54]Read from MH i2c: E2 0E 00 38 3A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 75 [17:55:54]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:55:54]wFMCommunicate OK [17:55:54]SAM_PROTO_GetShiftState done [17:55:54]FM_GetShiftState done [17:55:54]req_shift_opened done [17:55:54]requested_item shift.open_date is exist - process it [17:55:54]req_shift_open_date [17:55:54]req_shift_open_date done [17:55:54]produce_requested_data done [17:55:54]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49010,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [17:55:54]process_action_free close_receipt [17:55:54]json_value_free [17:55:54]json_value_free done [17:55:54]process_json_proto returns [17:55:54]Send response to host [17:55:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49010,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [17:55:54]free response buf [17:55:54]execute_script done [17:55:54]execute_script returns [17:55:54]free content buf [17:55:54]Sock 9.Close socket [17:55:54]Sock 9.Thread stoped [17:55:58]OFD Sender: No OFD packet to send [17:56:03]OFD Sender: No OFD packet to send [17:56:08]accept exits with 7 [17:56:08]New connection [17:56:08]New thread 3066670436 created [17:56:08]Thread 3066813796 joined [17:56:08]Waiting for new connection... [17:56:08] Sock 7.Parse request [17:56:08]Sock 7.Check first char [17:56:08]Sock 7.First char is OK [17:56:08]request: POST /json_proto HTTP/1.0 [17:56:08]Method: POST [17:56:08]URL: /json_proto [17:56:08]Method is POST - this is cgi request [17:56:08]url: /json_proto [17:56:08]query_string will be loaded in cgi processing [17:56:08]execute_cgi json_proto POST (null) [17:56:08]execute_cgi path=json_proto method=POST [17:56:08]POST find Content-Length [17:56:08]Host: 172.17.56.67:8080 [17:56:08]Content-Length: 677 [17:56:08]Content-Type: application/json [17:56:08] [17:56:08]POST finish read [17:56:08]Found Content-Length = 677 [17:56:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216112", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [17:56:08]execute_script... [17:56:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216112", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "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" ] } } [17:56:08]POST & json_proto [17:56:08]process_json_proto [17:56:08]json parsed OK: [17:56:08]protocol is kg_v1.0 [17:56:08]action value=close_receipt [17:56:08]process_action close_receipt [17:56:08]cmd_close_receipt [17:56:08]MH_GetDate [17:56:08]Write to MH i2c: F0 00 00 39 3A 62 [17:56:08]Write i2c OK [17:56:08]MH_I2C_Read... [17:56:08]Read from MH i2c: F0 [17:56:08]MH_I2C_Read... [17:56:08]Read from MH i2c: F0 09 00 [17:56:08]MH_I2C_Read... [17:56:08]Read from MH i2c: F0 09 00 39 3A 00 41 95 B6 65 26 5D 9E 65 E2 [17:56:08]GetLastDocTimeStamp 1706464560 [17:56:08]current date 1706464577 [17:56:08]FM_GetShiftState [17:56:08]SAM_PROTO_GetShiftState [17:56:08]wFMCommunicate request_size=4 [17:56:08]MH_SAM_APDU [17:56:08]CAPDU: 80 13 01 00 [17:56:08]Write to MH i2c: E2 08 00 3A 3A 80 13 01 00 00 00 00 00 F1 [17:56:08]Write i2c OK [17:56:08]MH_I2C_Read... [17:56:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:08]Read from MH i2c: E2 [17:56:08]MH_I2C_Read... [17:56:08]Read from MH i2c: E2 0E 00 [17:56:08]MH_I2C_Read... [17:56:08]Read from MH i2c: E2 0E 00 3A 3A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 77 [17:56:08]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:56:08]wFMCommunicate OK [17:56:08]SAM_PROTO_GetShiftState done [17:56:08]FM_GetShiftState done [17:56:08]opened in 1706400199 [17:56:08]opened+sec_in_day 1706486599 [17:56:08]quantity*price = 50049 [17:56:08]sum+1 = 50050 [17:56:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.49 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 76 28.01.2024 17:56 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49011 ФПД: 133439377203007 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T175617&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49011&fm=133439377203007&tin=02508201610067®Number=0000000000092723&sum=50000 [17:56:09]StoreToDocumentArchive [17:56:09]shift 244 fd 49011 [17:56:09]save to /storage/0244/doc_00049011 [17:56:09]save last doc name /storage/0244/doc_00049011 to /storage/kkm_last_doc_name [17:56:09]save OK [17:56:09]Clear old archive folders... [17:56:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:56:09]tlvbuf is 0121E6C0 [17:56:09]SAM_PROTO_ClearQueue [17:56:09]wFMCommunicate request_size=4 [17:56:09]MH_SAM_APDU [17:56:09]CAPDU: 80 09 00 00 [17:56:09]Write to MH i2c: E2 08 00 47 3A 80 09 00 00 00 00 00 00 F3 [17:56:09]Write i2c OK [17:56:09]MH_I2C_Read... [17:56:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:56:09]Read from MH i2c: E2 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 03 00 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 03 00 47 3A 00 90 00 F5 [17:56:09]RAPDU: 90 00 [17:56:09]wFMCommunicate OK [17:56:09]SAM_PROTO_ClearQueue done [17:56:09]KKMCreateOFDPacket [17:56:09]OFDProtocolAddRootSTLVToBuf [17:56:09]FM_MakeSignedData [17:56:09]FM_MakeSignedData [17:56:09]SAM_PROTO_SignData [17:56:09]wFMCommunicate request_size=4 [17:56:09]MH_SAM_APDU [17:56:09]CAPDU: 80 0D 01 02 [17:56:09]Write to MH i2c: E2 08 00 48 3A 80 0D 01 02 00 00 00 00 FB [17:56:09]Write i2c OK [17:56:09]MH_I2C_Read... [17:56:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:56:09]Read from MH i2c: E2 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 03 00 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 03 00 48 3A 00 90 00 F6 [17:56:09]RAPDU: 90 00 [17:56:09]wFMCommunicate OK [17:56:09]wFMCommunicate request_size=255 [17:56:09]MH_SAM_APDU [17:56:09]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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 4C 00 00 00 F4 03 04 00 41 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 73 BF 00 00 35 04 06 00 79 [17:56:09]Write to MH i2c: E2 02 01 49 3A 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 4C 00 00 00 F4 03 04 00 41 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 73 BF 00 00 35 04 06 00 79 00 00 07 [17:56:09]Write i2c OK [17:56:09]MH_I2C_Read... [17:56:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:09]Read from MH i2c: E2 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 03 00 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 03 00 49 3A 00 90 00 F7 [17:56:09]RAPDU: 90 00 [17:56:09]wFMCommunicate OK [17:56:09]wFMCommunicate request_size=10 [17:56:09]MH_SAM_APDU [17:56:09]CAPDU: 80 0D 02 02 05 5C C6 AD 5F 3F [17:56:09]Write to MH i2c: E2 0D 00 4A 3A 80 0D 02 02 05 00 5C C6 AD 5F 3F 00 00 75 [17:56:09]Write i2c OK [17:56:09]MH_I2C_Read... [17:56:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:56:09]Read from MH i2c: E2 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 03 00 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 03 00 4A 3A 00 90 00 F8 [17:56:09]RAPDU: 90 00 [17:56:09]wFMCommunicate OK [17:56:09]wFMCommunicate request_size=4 [17:56:09]MH_SAM_APDU [17:56:09]CAPDU: 80 0D 03 02 [17:56:09]Write to MH i2c: E2 08 00 4B 3A 80 0D 03 02 00 00 00 00 00 [17:56:09]Write i2c OK [17:56:09]MH_I2C_Read... [17:56:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:56:09]Read from MH i2c: E2 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 0B 00 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 0B 00 4B 3A 00 ED F3 8B B1 2F 1C DA F5 90 00 37 [17:56:09]RAPDU: ED F3 8B B1 2F 1C DA F5 90 00 [17:56:09]wFMCommunicate OK [17:56:09]SAM_PROTO_SignData done [17:56:09]FM_MakeSignedData done [17:56:09]CreateOFDProtocolMessage [17:56:09]wFMCommunicate request_size=4 [17:56:09]MH_SAM_APDU [17:56:09]CAPDU: 80 11 00 00 [17:56:09]Write to MH i2c: E2 08 00 4C 3A 80 11 00 00 00 00 00 00 00 [17:56:09]Write i2c OK [17:56:09]MH_I2C_Read... [17:56:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:09]Read from MH i2c: E2 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 17 00 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: E2 17 00 4C 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 4D [17:56:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:56:09]wFMCommunicate OK [17:56:09]CreateOFDProtocolMessage done [17:56:09]OFDSenderStorePacket 49011 [17:56:09]StoreOFDPacket docnum=49011 [17:56:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 BE 7E 07 01 4B B6 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 4C 00 00 00 F4 03 04 00 41 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 73 BF 00 00 35 04 06 00 79 5C C6 AD 5F 3F ED F3 8B B1 2F 1C DA F5 [17:56:09]CheckFolder [17:56:09]dirname=/storage/ofd_packets [17:56:09]CheckFolder done [17:56:09]ProducePacketName [17:56:09]name=ofd_packets/00049011 [17:56:09]NVStorageSaveData ofd_packets/00049011 [17:56:09]File name is /storage/ofd_packets/00049011 [17:56:09]Write 301 bytes [17:56:09]NVStorageSaveData done [17:56:09]OFDSenderStorePacket done [17:56:09]KKMCreateOFDPacket done [17:56:09]NVStorageSaveData kkm_last_timestamp [17:56:09]File name is /storage/kkm_last_timestamp [17:56:09]Write 4 bytes [17:56:09]NVStorageSaveData done [17:56:09]ExternCall_PrintAddStr [17:56:09]wPrintStart [17:56:09]Write to MH i2c: 01 00 00 4D 3A 87 [17:56:09]Write i2c OK [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: 01 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: 01 07 00 [17:56:09]MH_I2C_Read... [17:56:09]Read from MH i2c: 01 07 00 4D 3A 00 00 00 00 00 FF 0F 9C [17:56:09]RasterBufferAndPrint [17:56:09]line Счет N : (1)216112 [17:56:09]line ИÐÐ: 02508201610067 [17:56:09]line Контрольно-КаÑÑовый Чек [17:56:09]line ПРОДÐЖР[17:56:09]line ТРК (МРК, ГÐК) : 22 [17:56:09]line Товар: 2710124130 [17:56:09]line Ðи-92-К-5 [17:56:09]line 8.300 * 60.30 [17:56:09]line = 500.49 [17:56:09]line ÐДС 12% ÐСП 1% [17:56:09]line > о реализуемом товаре [17:56:09]line ОКРУГЛЕÐИЕ: -0.49 [17:56:09]line ИТОГО: 500.00 [17:56:09]line ВнеÑено: 500.00 [17:56:09]line СДÐЧÐ: 0.00 [17:56:09]line ÐСП 1% : 4.43 [17:56:09]line ÐДС 12% : 53.15 [17:56:09]line Ðаличными: 500.00 [17:56:09]line Безнал.: 0.00 [17:56:09]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [17:56:09]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [17:56:09]line СÐО: Общий режим [17:56:09]line Чек 76 28.01.2024 17:56 [17:56:09]line Смена: 244 ФФД: 1.0 [17:56:09]line ЗÐМ: 0300000040 [17:56:09]line РÐМ: 0000000000092723 [17:56:09]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:56:09]line ФМ: 0000000000875060 [17:56:09]line ФД: 49011 [17:56:09]line ФПД: 133439377203007 [17:56:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T175617&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49011&fm=133439377203007&tin=02508201610067®Number=0000000000092723&sum=50000 [17:56:10]OFD Sender: Processing packet 49011 [packets to send 12, broken 11] [17:56:10]ProducePacketName [17:56:10]name=ofd_packets/00049011 [17:56:10]OFD Sender: To server: ‡•öpG, [17:56:10]CommunicateWithHost lk.salyk.kg:30040 [17:56:10]ConnectInit lk.salyk.kg [17:56:10]written 0, free lines is 4095 [17:56:10]Connected sock=10 [17:56: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 30 36 30 0F 01 00 00 BE 7E 07 01 4B B6 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 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 4C 00 00 00 F4 03 04 00 41 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 73 BF 00 00 35 04 06 00 79 5C C6 AD 5F 3F ED F3 8B B1 2F 1C DA F5 [17:56:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 C8 9E 47 00 F3 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 73 BF 00 00 F4 03 04 00 3C 41 B6 65 B6 04 01 00 00 25 61 5E 37 5B 6A 33 39 [17:56:10]CommunicateWithHost err = 0 [17:56:10]CheckOFDResponse [17:56:10]1017 (14) - 77093643461234 [17:56:10]1041 (16) - 0000000000875060 [17:56:10]1040 (4) - 49011 [17:56:10]1012 (4) - 28.01.2024 11:57 [17:56:10]1206 (1) - 0 [17:56:10]OFD Sender: Remove packet 49011 [17:56:10]ProducePacketName [17:56:10]name=ofd_packets/00049011 [17:56:10]NVStorageDeleteData [17:56:10]Write to MH i2c: 01 00 00 78 3A B2 [17:56:10]Write i2c OK [17:56:10]MH_I2C_Read... [17:56:10]Read from MH i2c: 01 [17:56:10]MH_I2C_Read... [17:56:10]Read from MH i2c: 01 07 00 [17:56:10]MH_I2C_Read... [17:56:10]Read from MH i2c: 01 07 00 78 3A 00 00 00 00 00 EF 0C B4 [17:56:10]RasterBufferAndPrint [17:56:10]line [17:56:10]line [17:56:10]line [17:56:10]line [17:56:10]line [17:56:10]written 0, free lines is 3317 [17:56:10]MH_Cut [17:56:10]Write to MH i2c: D1 01 00 7F 3A 01 8B [17:56:10]Write i2c OK [17:56:10]MH_I2C_Read... [17:56:10]Read from MH i2c: D1 [17:56:10]MH_I2C_Read... [17:56:10]Read from MH i2c: D1 01 00 [17:56:10]MH_I2C_Read... [17:56:10]Read from MH i2c: D1 01 00 7F 3A 00 8A [17:56:10]Write to MH i2c: 01 00 00 80 3A BA [17:56:10]Write i2c OK [17:56:10]MH_I2C_Read... [17:56:10]OFD Sender: No OFD packet to send [17:56:11]*** Cut start [17:56:11]*** Partial cut [17:56:11]*** CUTSNS_PIN = 1 [17:56:11]*** CUTSNS_PIN = 0 [17:56:11]*** Brake cut motor [17:56:11]Read from MH i2c: 01 [17:56:11]MH_I2C_Read... [17:56:11]*** Stop cut motor [17:56:11]*** Cut end [17:56:11]Read from MH i2c: 01 07 00 [17:56:11]MH_I2C_Read... [17:56:11]Read from MH i2c: 01 07 00 80 3A 00 00 00 00 00 FF 0F CF [17:56:11]process_action close_receipt done [17:56:11]requested_data is exist [17:56:11]produce_requested_data [17:56:11]requested_item fm.sn is exist - process it [17:56:11]wFMCommunicate request_size=4 [17:56:11]MH_SAM_APDU [17:56:11]CAPDU: 80 11 00 00 [17:56:11]Write to MH i2c: E2 08 00 81 3A 80 11 00 00 00 00 00 00 35 [17:56:11]Write i2c OK [17:56:11]MH_I2C_Read... [17:56:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:56:11]Read from MH i2c: E2 [17:56:11]MH_I2C_Read... [17:56:11]Read from MH i2c: E2 17 00 [17:56:11]MH_I2C_Read... [17:56:11]Read from MH i2c: E2 17 00 81 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 82 [17:56:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:56:11]wFMCommunicate OK [17:56:11]requested_item fd.num is exist - process it [17:56:11]SAM_PROTO_GetFieldsCounters [17:56:11]wFMCommunicate request_size=4 [17:56:11]MH_SAM_APDU [17:56:11]CAPDU: 80 13 00 00 [17:56:11]Write to MH i2c: E2 08 00 82 3A 80 13 00 00 00 00 00 00 38 [17:56:11]Write i2c OK [17:56:11]MH_I2C_Read... [17:56:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:56:12]Read from MH i2c: E2 [17:56:12]MH_I2C_Read... [17:56:12]Read from MH i2c: E2 62 00 [17:56:12]MH_I2C_Read... [17:56:12]Read from MH i2c: E2 62 00 82 3A 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 73 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 5B [17:56:12]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 73 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:56:12]wFMCommunicate OK [17:56:12]SAM_PROTO_GetFieldsCounters done [17:56:12]requested_item shift.num is exist - process it [17:56:12]requested_item shift.opened is exist - process it [17:56:12]req_shift_opened [17:56:12]FM_GetShiftState [17:56:12]SAM_PROTO_GetShiftState [17:56:12]wFMCommunicate request_size=4 [17:56:12]MH_SAM_APDU [17:56:12]CAPDU: 80 13 01 00 [17:56:12]Write to MH i2c: E2 08 00 83 3A 80 13 01 00 00 00 00 00 3A [17:56:12]Write i2c OK [17:56:12]MH_I2C_Read... [17:56:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:56:12]Read from MH i2c: E2 [17:56:12]MH_I2C_Read... [17:56:12]Read from MH i2c: E2 0E 00 [17:56:12]MH_I2C_Read... [17:56:12]Read from MH i2c: E2 0E 00 83 3A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C0 [17:56:12]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:56:12]wFMCommunicate OK [17:56:12]SAM_PROTO_GetShiftState done [17:56:12]FM_GetShiftState done [17:56:12]req_shift_opened done [17:56:12]requested_item shift.open_date is exist - process it [17:56:12]req_shift_open_date [17:56:12]req_shift_open_date done [17:56:12]produce_requested_data done [17:56:12]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49011,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [17:56:12]process_action_free close_receipt [17:56:12]json_value_free [17:56:12]json_value_free done [17:56:12]process_json_proto returns [17:56:12]Send response to host [17:56:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49011,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [17:56:12]free response buf [17:56:12]execute_script done [17:56:12]execute_script returns [17:56:12]free content buf [17:56:12]Sock 7.Close socket [17:56:12]Sock 7.Thread stoped [17:56:15]OFD Sender: No OFD packet to send [17:56:20]OFD Sender: No OFD packet to send [17:56:25]OFD Sender: No OFD packet to send [17:56:30]OFD Sender: No OFD packet to send [17:56:35]OFD Sender: No OFD packet to send [17:56:40]OFD Sender: No OFD packet to send [17:56:45]OFD Sender: No OFD packet to send [17:56:50]OFD Sender: No OFD packet to send [17:56:55]OFD Sender: No OFD packet to send [17:57:00]OFD Sender: No OFD packet to send [17:57:05]OFD Sender: No OFD packet to send [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:55]accept exits with 9 [17:58:55]New connection [17:58:55]New thread 3066813796 created [17:58:55]Thread 3066670436 joined [17:58:55]Waiting for new connection... [17:58:55] Sock 9.Parse request [17:58:55]Sock 9.Check first char [17:58:55]Sock 9.First char is OK [17:58:55]request: POST /json_proto HTTP/1.0 [17:58:55]Method: POST [17:58:55]URL: /json_proto [17:58:55]Method is POST - this is cgi request [17:58:55]url: /json_proto [17:58:55]query_string will be loaded in cgi processing [17:58:55]execute_cgi json_proto POST (null) [17:58:55]execute_cgi path=json_proto method=POST [17:58:55]POST find Content-Length [17:58:55]Host: 172.17.56.67:8080 [17:58:55]Content-Length: 682 [17:58:55]Content-Type: application/json [17:58:55] [17:58:55]POST finish read [17:58:55]Found Content-Length = 682 [17:58:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216113", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [17:58:55]execute_script... [17:58: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)216113", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [17:58:55]POST & json_proto [17:58:55]process_json_proto [17:58:55]json parsed OK: [17:58:55]protocol is kg_v1.0 [17:58:55]action value=close_receipt [17:58:55]process_action close_receipt [17:58:55]cmd_close_receipt [17:58:55]MH_GetDate [17:58:55]Write to MH i2c: F0 00 00 84 3A AD [17:58:55]Write i2c OK [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: F0 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: F0 09 00 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: F0 09 00 84 3A 00 E9 95 B6 65 26 5D 9E 65 D5 [17:58:55]GetLastDocTimeStamp 1706464577 [17:58:55]current date 1706464745 [17:58:55]FM_GetShiftState [17:58:55]SAM_PROTO_GetShiftState [17:58:55]wFMCommunicate request_size=4 [17:58:55]MH_SAM_APDU [17:58:55]CAPDU: 80 13 01 00 [17:58:55]Write to MH i2c: E2 08 00 85 3A 80 13 01 00 00 00 00 00 3C [17:58:55]Write i2c OK [17:58:55]MH_I2C_Read... [17:58:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:55]Read from MH i2c: E2 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: E2 0E 00 [17:58:55]MH_I2C_Read... [17:58:55]Read from MH i2c: E2 0E 00 85 3A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 C2 [17:58:55]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:58:55]wFMCommunicate OK [17:58:55]SAM_PROTO_GetShiftState done [17:58:55]FM_GetShiftState done [17:58:55]opened in 1706400199 [17:58:55]opened+sec_in_day 1706486599 [17:58:55]quantity*price = 100037 [17:58:55]sum+1 = 100039 [17:58:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.23 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 77 28.01.2024 17:59 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49012 ФПД: 220570566441990 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T175905&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49012&fm=220570566441990&tin=02508201610067®Number=0000000000092723&sum=100000 [17:58:56]StoreToDocumentArchive [17:58:56]shift 244 fd 49012 [17:58:56]save to /storage/0244/doc_00049012 [17:58:56]save last doc name /storage/0244/doc_00049012 to /storage/kkm_last_doc_name [17:58:56]save OK [17:58:56]Clear old archive folders... [17:58:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:58:56]tlvbuf is 0119A130 [17:58:56]SAM_PROTO_ClearQueue [17:58:56]wFMCommunicate request_size=4 [17:58:56]MH_SAM_APDU [17:58:56]CAPDU: 80 09 00 00 [17:58:56]Write to MH i2c: E2 08 00 92 3A 80 09 00 00 00 00 00 00 3E [17:58:56]Write i2c OK [17:58:56]MH_I2C_Read... [17:58:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:58:56]Read from MH i2c: E2 [17:58:56]MH_I2C_Read... [17:58:56]Read from MH i2c: E2 03 00 [17:58:56]MH_I2C_Read... [17:58:56]Read from MH i2c: E2 03 00 92 3A 00 90 00 40 [17:58:56]RAPDU: 90 00 [17:58:56]wFMCommunicate OK [17:58:56]SAM_PROTO_ClearQueue done [17:58:56]KKMCreateOFDPacket [17:58:56]OFDProtocolAddRootSTLVToBuf [17:58:56]FM_MakeSignedData [17:58:56]FM_MakeSignedData [17:58:56]SAM_PROTO_SignData [17:58:56]wFMCommunicate request_size=4 [17:58:56]MH_SAM_APDU [17:58:56]CAPDU: 80 0D 01 02 [17:58:56]Write to MH i2c: E2 08 00 93 3A 80 0D 01 02 00 00 00 00 46 [17:58:56]Write i2c OK [17:58:56]MH_I2C_Read... [17:58:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:58:56]Read from MH i2c: E2 [17:58:56]MH_I2C_Read... [17:58:56]Read from MH i2c: E2 03 00 [17:58:56]MH_I2C_Read... [17:58:56]Read from MH i2c: E2 03 00 93 3A 00 90 00 41 [17:58:56]RAPDU: 90 00 [17:58:56]wFMCommunicate OK [17:58:56]wFMCommunicate request_size=255 [17:58:56]MH_SAM_APDU [17:58: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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 4D 00 00 00 F4 03 04 00 E9 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 74 BF 00 00 35 04 06 00 C8 [17:58:56]Write to MH i2c: E2 02 01 94 3A 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 4D 00 00 00 F4 03 04 00 E9 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 74 BF 00 00 35 04 06 00 C8 00 00 8B [17:58:56]Write i2c OK [17:58:56]MH_I2C_Read... [17:58:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:57]Read from MH i2c: E2 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 03 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 03 00 94 3A 00 90 00 42 [17:58:57]RAPDU: 90 00 [17:58:57]wFMCommunicate OK [17:58:57]wFMCommunicate request_size=10 [17:58:57]MH_SAM_APDU [17:58:57]CAPDU: 80 0D 02 02 05 9B 96 42 BC 06 [17:58:57]Write to MH i2c: E2 0D 00 95 3A 80 0D 02 02 05 00 9B 96 42 BC 06 00 00 88 [17:58:57]Write i2c OK [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 [17:58:57]MH_I2C_Read... [17:58:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:57]Read from MH i2c: E2 03 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 03 00 95 3A 00 90 00 43 [17:58:57]RAPDU: 90 00 [17:58:57]wFMCommunicate OK [17:58:57]wFMCommunicate request_size=4 [17:58:57]MH_SAM_APDU [17:58:57]CAPDU: 80 0D 03 02 [17:58:57]Write to MH i2c: E2 08 00 96 3A 80 0D 03 02 00 00 00 00 4B [17:58:57]Write i2c OK [17:58:57]MH_I2C_Read... [17:58:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:58:57]Read from MH i2c: E2 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 0B 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 0B 00 96 3A 00 4E 97 EA B5 DC 72 73 76 90 00 07 [17:58:57]RAPDU: 4E 97 EA B5 DC 72 73 76 90 00 [17:58:57]wFMCommunicate OK [17:58:57]SAM_PROTO_SignData done [17:58:57]FM_MakeSignedData done [17:58:57]CreateOFDProtocolMessage [17:58:57]wFMCommunicate request_size=4 [17:58:57]MH_SAM_APDU [17:58:57]CAPDU: 80 11 00 00 [17:58:57]Write to MH i2c: E2 08 00 97 3A 80 11 00 00 00 00 00 00 4B [17:58:57]Write i2c OK [17:58:57]MH_I2C_Read... [17:58:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:57]Read from MH i2c: E2 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 17 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 17 00 97 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 98 [17:58:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:58:57]wFMCommunicate OK [17:58:57]CreateOFDProtocolMessage done [17:58:57]OFDSenderStorePacket 49012 [17:58:57]StoreOFDPacket docnum=49012 [17:58:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 7C 32 07 01 6F CD 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 4D 00 00 00 F4 03 04 00 E9 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 74 BF 00 00 35 04 06 00 C8 9B 96 42 BC 06 4E 97 EA B5 DC 72 73 76 [17:58:57]CheckFolder [17:58:57]dirname=/storage/ofd_packets [17:58:57]CheckFolder done [17:58:57]ProducePacketName [17:58:57]name=ofd_packets/00049012 [17:58:57]NVStorageSaveData ofd_packets/00049012 [17:58:57]File name is /storage/ofd_packets/00049012 [17:58:57]Write 301 bytes [17:58:57]NVStorageSaveData done [17:58:57]OFDSenderStorePacket done [17:58:57]KKMCreateOFDPacket done [17:58:57]NVStorageSaveData kkm_last_timestamp [17:58:57]File name is /storage/kkm_last_timestamp [17:58:57]Write 4 bytes [17:58:57]NVStorageSaveData done [17:58:57]ExternCall_PrintAddStr [17:58:57]wPrintStart [17:58:57]Write to MH i2c: 01 00 00 98 3A D2 [17:58:57]Write i2c OK [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: 01 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: 01 07 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: 01 07 00 98 3A 00 00 00 00 00 FF 0F E7 [17:58:57]RasterBufferAndPrint [17:58:57]line Счет N : (1)216113 [17:58:57]line ИÐÐ: 02508201610067 [17:58:57]line Контрольно-КаÑÑовый Чек [17:58:57]line ПРОДÐЖР[17:58:57]line ТРК (МРК, ГÐК) : 12 [17:58:57]line Товар: 2710124130 [17:58:57]line Ðи-92-К-5 [17:58:57]line 16.590 * 60.30 [17:58:57]line = 1000.38 [17:58:57]line ÐДС 12% ÐСП 1% [17:58:57]line > о реализуемом товаре [17:58:57]line ОКРУГЛЕÐИЕ: -0.38 [17:58:57]line ИТОГО: 1000.00 [17:58:57]line ВнеÑено: 1000.00 [17:58:57]line СДÐЧÐ: 0.00 [17:58:57]line ÐСП 1% : 8.85 [17:58:57]line ÐДС 12% : 106.23 [17:58:57]line Ðаличными: 1000.00 [17:58:57]line Безнал.: 0.00 [17:58:57]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [17:58:57]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [17:58:57]line СÐО: Общий режим [17:58:57]line Чек 77 28.01.2024 17:59 [17:58:57]line Смена: 244 ФФД: 1.0 [17:58:57]line ЗÐМ: 0300000040 [17:58:57]line РÐМ: 0000000000092723 [17:58:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:58:57]line ФМ: 0000000000875060 [17:58:57]line ФД: 49012 [17:58:57]line ФПД: 220570566441990 [17:58:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T175905&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49012&fm=220570566441990&tin=02508201610067®Number=0000000000092723&sum=100000 [17:58:57]OFD Sender: Processing packet 49012 [packets to send 12, broken 11] [17:58:57]ProducePacketName [17:58:57]name=ofd_packets/00049012 [17:58:57]OFD Sender: To server: ‡•öpG, [17:58:57]CommunicateWithHost lk.salyk.kg:30040 [17:58:57]ConnectInit lk.salyk.kg [17:58:57]written 0, free lines is 4095 [17:58:57]Connected sock=10 [17:58: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 30 36 30 0F 01 00 00 7C 32 07 01 6F CD 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 4D 00 00 00 F4 03 04 00 E9 95 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 74 BF 00 00 35 04 06 00 C8 9B 96 42 BC 06 4E 97 EA B5 DC 72 73 76 [17:58:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 84 C5 47 00 41 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 74 BF 00 00 F4 03 04 00 E4 41 B6 65 B6 04 01 00 00 81 D9 47 85 58 3A 45 FC [17:58:57]CommunicateWithHost err = 0 [17:58:57]CheckOFDResponse [17:58:57]1017 (14) - 77093643461234 [17:58:57]1041 (16) - 0000000000875060 [17:58:57]1040 (4) - 49012 [17:58:57]1012 (4) - 28.01.2024 12:00 [17:58:57]1206 (1) - 0 [17:58:57]OFD Sender: Remove packet 49012 [17:58:57]ProducePacketName [17:58:57]name=ofd_packets/00049012 [17:58:57]NVStorageDeleteData [17:58:58]Write to MH i2c: 01 00 00 C3 3A FD [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: 01 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: 01 07 00 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: 01 07 00 C3 3A 00 00 00 00 00 F9 0C 09 [17:58:58]RasterBufferAndPrint [17:58:58]line [17:58:58]line [17:58:58]line [17:58:58]line [17:58:58]line [17:58:58]written 0, free lines is 3328 [17:58:58]MH_Cut [17:58:58]Write to MH i2c: D1 01 00 CA 3A 01 D6 [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: D1 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: D1 01 00 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: D1 01 00 CA 3A 00 D5 [17:58:58]Write to MH i2c: 01 00 00 CB 3A 05 [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]OFD Sender: No OFD packet to send [17:58:58]*** Cut start [17:58:58]*** Partial cut [17:58:58]*** CUTSNS_PIN = 1 [17:58:58]*** CUTSNS_PIN = 0 [17:58:59]*** Brake cut motor [17:58:59]Read from MH i2c: 01 [17:58:59]MH_I2C_Read... [17:58:59]*** Stop cut motor [17:58:59]*** Cut end [17:58:59]Read from MH i2c: 01 07 00 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: 01 07 00 CB 3A 00 00 00 00 00 FF 0F 1A [17:58:59]process_action close_receipt done [17:58:59]requested_data is exist [17:58:59]produce_requested_data [17:58:59]requested_item fm.sn is exist - process it [17:58:59]wFMCommunicate request_size=4 [17:58:59]MH_SAM_APDU [17:58:59]CAPDU: 80 11 00 00 [17:58:59]Write to MH i2c: E2 08 00 CC 3A 80 11 00 00 00 00 00 00 80 [17:58:59]Write i2c OK [17:58:59]MH_I2C_Read... [17:58:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:59]Read from MH i2c: E2 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: E2 17 00 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: E2 17 00 CC 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 CD [17:58:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [17:58:59]wFMCommunicate OK [17:58:59]requested_item fd.num is exist - process it [17:58:59]SAM_PROTO_GetFieldsCounters [17:58:59]wFMCommunicate request_size=4 [17:58:59]MH_SAM_APDU [17:58:59]CAPDU: 80 13 00 00 [17:58:59]Write to MH i2c: E2 08 00 CD 3A 80 13 00 00 00 00 00 00 83 [17:58:59]Write i2c OK [17:58:59]MH_I2C_Read... [17:58:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:58:59]Read from MH i2c: E2 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: E2 62 00 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: E2 62 00 CD 3A 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 74 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [17:58: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 74 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:58:59]wFMCommunicate OK [17:58:59]SAM_PROTO_GetFieldsCounters done [17:58:59]requested_item shift.num is exist - process it [17:58:59]requested_item shift.opened is exist - process it [17:58:59]req_shift_opened [17:58:59]FM_GetShiftState [17:58:59]SAM_PROTO_GetShiftState [17:58:59]wFMCommunicate request_size=4 [17:58:59]MH_SAM_APDU [17:58:59]CAPDU: 80 13 01 00 [17:58:59]Write to MH i2c: E2 08 00 CE 3A 80 13 01 00 00 00 00 00 85 [17:58:59]Write i2c OK [17:58:59]MH_I2C_Read... [17:58:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:59]Read from MH i2c: E2 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: E2 0E 00 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: E2 0E 00 CE 3A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 0B [17:58:59]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [17:58:59]wFMCommunicate OK [17:58:59]SAM_PROTO_GetShiftState done [17:58:59]FM_GetShiftState done [17:58:59]req_shift_opened done [17:58:59]requested_item shift.open_date is exist - process it [17:58:59]req_shift_open_date [17:58:59]req_shift_open_date done [17:58:59]produce_requested_data done [17:58:59]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49012,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [17:58:59]process_action_free close_receipt [17:58:59]json_value_free [17:58:59]json_value_free done [17:58:59]process_json_proto returns [17:58:59]Send response to host [17:58:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49012,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [17:58:59]free response buf [17:58:59]execute_script done [17:58:59]execute_script returns [17:58:59]free content buf [17:58:59]Sock 9.Close socket [17:58:59]Sock 9.Thread stoped [17:59:03]OFD Sender: No OFD packet to send [17:59:08]OFD Sender: No OFD packet to send [17:59:13]OFD Sender: No OFD packet to send [17:59:18]OFD Sender: No OFD packet to send [17:59:23]OFD Sender: No OFD packet to send [17:59:28]OFD Sender: No OFD packet to send [17:59:33]OFD Sender: No OFD packet to send [17:59:38]OFD Sender: No OFD packet to send [17:59:43]OFD Sender: No OFD packet to send [17:59:48]OFD Sender: No OFD packet to send [17:59:53]OFD Sender: No OFD packet to send [17:59:58]OFD Sender: No OFD packet to send [18:00:03]OFD Sender: No OFD packet to send [18:00:08]OFD Sender: No OFD packet to send [18:00:13]OFD Sender: No OFD packet to send [18:00:18]OFD Sender: No OFD packet to send [18:00:23]OFD Sender: No OFD packet to send [18:00:28]OFD Sender: No OFD packet to send [18:00:33]OFD Sender: No OFD packet to send [18:00:38]OFD Sender: No OFD packet to send [18:00:43]OFD Sender: No OFD packet to send [18:00:48]OFD Sender: No OFD packet to send [18:00:53]OFD Sender: No OFD packet to send [18:00:58]OFD Sender: No OFD packet to send [18:01:03]OFD Sender: No OFD packet to send [18:01:08]OFD Sender: No OFD packet to send [18:01:13]OFD Sender: No OFD packet to send [18:01:18]OFD Sender: No OFD packet to send [18:01:23]OFD Sender: No OFD packet to send [18:01:28]OFD Sender: No OFD packet to send [18:01:33]OFD Sender: No OFD packet to send [18:01:38]OFD Sender: No OFD packet to send [18:01:43]OFD Sender: No OFD packet to send [18:01:48]OFD Sender: No OFD packet to send [18:01:53]OFD Sender: No OFD packet to send [18:01:58]OFD Sender: No OFD packet to send [18:02:03]OFD Sender: No OFD packet to send [18:02:08]OFD Sender: No OFD packet to send [18:02:13]OFD Sender: No OFD packet to send [18:02:18]OFD Sender: No OFD packet to send [18:02:23]OFD Sender: No OFD packet to send [18:02:28]OFD Sender: No OFD packet to send [18:02:33]OFD Sender: No OFD packet to send [18:02:36]accept exits with 7 [18:02:36]New connection [18:02:36]New thread 3066670436 created [18:02:36]Thread 3066813796 joined [18:02:36]Waiting for new connection... [18:02:36] Sock 7.Parse request [18:02:36]Sock 7.Check first char [18:02:36]Sock 7.First char is OK [18:02:36]request: POST /json_proto HTTP/1.0 [18:02:36]Method: POST [18:02:36]URL: /json_proto [18:02:36]Method is POST - this is cgi request [18:02:36]url: /json_proto [18:02:36]query_string will be loaded in cgi processing [18:02:36]execute_cgi json_proto POST (null) [18:02:36]execute_cgi path=json_proto method=POST [18:02:36]POST find Content-Length [18:02:36]Host: 172.17.56.67:8080 [18:02:36]Content-Length: 678 [18:02:36]Content-Type: application/json [18:02:36] [18:02:36]POST finish read [18:02:36]Found Content-Length = 678 [18:02:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216114", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 11.610, "sum" : 700.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:02:36]execute_script... [18:02: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)216114", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 11.610, "sum" : 700.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:02:36]POST & json_proto [18:02:36]process_json_proto [18:02:36]json parsed OK: [18:02:36]protocol is kg_v1.0 [18:02:36]action value=close_receipt [18:02:36]process_action close_receipt [18:02:36]cmd_close_receipt [18:02:36]MH_GetDate [18:02:36]Write to MH i2c: F0 00 00 CF 3A F8 [18:02:36]Write i2c OK [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: F0 [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: F0 09 00 [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: F0 09 00 CF 3A 00 C5 96 B6 65 26 5D 9E 65 FD [18:02:36]GetLastDocTimeStamp 1706464745 [18:02:36]current date 1706464965 [18:02:36]FM_GetShiftState [18:02:36]SAM_PROTO_GetShiftState [18:02:36]wFMCommunicate request_size=4 [18:02:36]MH_SAM_APDU [18:02:36]CAPDU: 80 13 01 00 [18:02:36]Write to MH i2c: E2 08 00 D0 3A 80 13 01 00 00 00 00 00 87 [18:02:36]Write i2c OK [18:02:36]MH_I2C_Read... [18:02:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:02:36]Read from MH i2c: E2 [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: E2 0E 00 [18:02:36]MH_I2C_Read... [18:02:36]Read from MH i2c: E2 0E 00 D0 3A 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 0D [18:02:36]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [18:02:36]wFMCommunicate OK [18:02:36]SAM_PROTO_GetShiftState done [18:02:36]FM_GetShiftState done [18:02:36]opened in 1706400199 [18:02:36]opened+sec_in_day 1706486599 [18:02:36]quantity*price = 70008 [18:02:36]sum+1 = 70009 [18:02:36]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.08 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.19 ÐДС 12% : 74.34 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 78 28.01.2024 18:02 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49013 ФПД: 149036186393465 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T180246&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49013&fm=149036186393465&tin=02508201610067®Number=0000000000092723&sum=70000 [18:02:37]StoreToDocumentArchive [18:02:37]shift 244 fd 49013 [18:02:37]save to /storage/0244/doc_00049013 [18:02:37]save last doc name /storage/0244/doc_00049013 to /storage/kkm_last_doc_name [18:02:37]save OK [18:02:37]Clear old archive folders... [18:02:37]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:02:37]tlvbuf is 011EA320 [18:02:37]SAM_PROTO_ClearQueue [18:02:37]wFMCommunicate request_size=4 [18:02:37]MH_SAM_APDU [18:02:37]CAPDU: 80 09 00 00 [18:02:37]Write to MH i2c: E2 08 00 DD 3A 80 09 00 00 00 00 00 00 89 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 DD 3A 00 90 00 8B [18:02:37]RAPDU: 90 00 [18:02:37]wFMCommunicate OK [18:02:37]SAM_PROTO_ClearQueue done [18:02:37]KKMCreateOFDPacket [18:02:37]OFDProtocolAddRootSTLVToBuf [18:02:37]FM_MakeSignedData [18:02:37]FM_MakeSignedData [18:02:37]SAM_PROTO_SignData [18:02:37]wFMCommunicate request_size=4 [18:02:37]MH_SAM_APDU [18:02:37]CAPDU: 80 0D 01 02 [18:02:37]Write to MH i2c: E2 08 00 DE 3A 80 0D 01 02 00 00 00 00 91 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 DE 3A 00 90 00 8C [18:02:37]RAPDU: 90 00 [18:02:37]wFMCommunicate OK [18:02:37]wFMCommunicate request_size=255 [18:02:37]MH_SAM_APDU [18:02: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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 C6 96 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 75 BF 00 00 35 04 06 00 87 [18:02:37]Write to MH i2c: E2 02 01 DF 3A 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 C6 96 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 75 BF 00 00 35 04 06 00 87 00 00 55 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 DF 3A 00 90 00 8D [18:02:37]RAPDU: 90 00 [18:02:37]wFMCommunicate OK [18:02:37]wFMCommunicate request_size=10 [18:02:37]MH_SAM_APDU [18:02:37]CAPDU: 80 0D 02 02 05 8C 30 F2 DB 79 [18:02:37]Write to MH i2c: E2 0D 00 E0 3A 80 0D 02 02 05 00 8C 30 F2 DB 79 00 00 A0 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 03 00 E0 3A 00 90 00 8E [18:02:37]RAPDU: 90 00 [18:02:37]wFMCommunicate OK [18:02:37]wFMCommunicate request_size=4 [18:02:37]MH_SAM_APDU [18:02:37]CAPDU: 80 0D 03 02 [18:02:37]Write to MH i2c: E2 08 00 E1 3A 80 0D 03 02 00 00 00 00 96 [18:02:37]Write i2c OK [18:02:37]MH_I2C_Read... [18:02:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:02:37]Read from MH i2c: E2 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 0B 00 [18:02:37]MH_I2C_Read... [18:02:37]Read from MH i2c: E2 0B 00 E1 3A 00 70 75 EB D8 94 9E 3D EC 90 00 9A [18:02:37]RAPDU: 70 75 EB D8 94 9E 3D EC 90 00 [18:02:37]wFMCommunicate OK [18:02:37]SAM_PROTO_SignData done [18:02:37]FM_MakeSignedData done [18:02:37]CreateOFDProtocolMessage [18:02:37]wFMCommunicate request_size=4 [18:02:37]MH_SAM_APDU [18:02:37]CAPDU: 80 11 00 00 [18:02:37]Write to MH i2c: E2 08 00 E2 3A 80 11 00 00 00 00 00 00 96 [18:02:38]Write i2c OK [18:02:38]MH_I2C_Read... [18:02:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:02:38]Read from MH i2c: E2 [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: E2 17 00 [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: E2 17 00 E2 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 E3 [18:02:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [18:02:38]wFMCommunicate OK [18:02:38]CreateOFDProtocolMessage done [18:02:38]OFDSenderStorePacket 49013 [18:02:38]StoreOFDPacket docnum=49013 [18:02:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 C9 66 07 01 3D 9A 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 C6 96 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 75 BF 00 00 35 04 06 00 87 8C 30 F2 DB 79 70 75 EB D8 94 9E 3D EC [18:02:38]CheckFolder [18:02:38]dirname=/storage/ofd_packets [18:02:38]CheckFolder done [18:02:38]ProducePacketName [18:02:38]name=ofd_packets/00049013 [18:02:38]NVStorageSaveData ofd_packets/00049013 [18:02:38]File name is /storage/ofd_packets/00049013 [18:02:38]Write 301 bytes [18:02:38]NVStorageSaveData done [18:02:38]OFDSenderStorePacket done [18:02:38]KKMCreateOFDPacket done [18:02:38]NVStorageSaveData kkm_last_timestamp [18:02:38]File name is /storage/kkm_last_timestamp [18:02:38]Write 4 bytes [18:02:38]NVStorageSaveData done [18:02:38]ExternCall_PrintAddStr [18:02:38]wPrintStart [18:02:38]Write to MH i2c: 01 00 00 E3 3A 1D [18:02:38]Write i2c OK [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: 01 [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: 01 07 00 [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: 01 07 00 E3 3A 00 00 00 00 00 FF 0F 32 [18:02:38]RasterBufferAndPrint [18:02:38]line Счет N : (1)216114 [18:02:38]line ИÐÐ: 02508201610067 [18:02:38]line Контрольно-КаÑÑовый Чек [18:02:38]line ПРОДÐЖР[18:02:38]line ТРК (МРК, ГÐК) : 22 [18:02:38]line Товар: 2710124130 [18:02:38]line Ðи-92-К-5 [18:02:38]line 11.610 * 60.30 [18:02:38]line = 700.08 [18:02:38]line ÐДС 12% ÐСП 1% [18:02:38]line > о реализуемом товаре [18:02:38]line ОКРУГЛЕÐИЕ: -0.08 [18:02:38]line ИТОГО: 700.00 [18:02:38]line ВнеÑено: 700.00 [18:02:38]line СДÐЧÐ: 0.00 [18:02:38]line ÐСП 1% : 6.19 [18:02:38]line ÐДС 12% : 74.34 [18:02:38]line Ðаличными: 700.00 [18:02:38]line Безнал.: 0.00 [18:02:38]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [18:02:38]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [18:02:38]line СÐО: Общий режим [18:02:38]line Чек 78 28.01.2024 18:02 [18:02:38]line Смена: 244 ФФД: 1.0 [18:02:38]line ЗÐМ: 0300000040 [18:02:38]line РÐМ: 0000000000092723 [18:02:38]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:02:38]line ФМ: 0000000000875060 [18:02:38]line ФД: 49013 [18:02:38]line ФПД: 149036186393465 [18:02:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T180246&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49013&fm=149036186393465&tin=02508201610067®Number=0000000000092723&sum=70000 [18:02:38]OFD Sender: Processing packet 49013 [packets to send 12, broken 11] [18:02:38]ProducePacketName [18:02:38]name=ofd_packets/00049013 [18:02:38]OFD Sender: To server: ‡•öpG, [18:02:38]CommunicateWithHost lk.salyk.kg:30040 [18:02:38]ConnectInit lk.salyk.kg [18:02:38]written 0, free lines is 4095 [18:02:38]Connected sock=10 [18:02: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 30 36 30 0F 01 00 00 C9 66 07 01 3D 9A 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 C6 96 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 75 BF 00 00 35 04 06 00 87 8C 30 F2 DB 79 70 75 EB D8 94 9E 3D EC [18:02:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 4E 30 47 00 46 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 75 BF 00 00 F4 03 04 00 C0 42 B6 65 B6 04 01 00 00 36 2A 08 30 B5 CC 31 EF [18:02:38]CommunicateWithHost err = 0 [18:02:38]CheckOFDResponse [18:02:38]1017 (14) - 77093643461234 [18:02:38]1041 (16) - 0000000000875060 [18:02:38]1040 (4) - 49013 [18:02:38]1012 (4) - 28.01.2024 12:04 [18:02:38]1206 (1) - 0 [18:02:38]OFD Sender: Remove packet 49013 [18:02:38]ProducePacketName [18:02:38]name=ofd_packets/00049013 [18:02:38]NVStorageDeleteData [18:02:38]Write to MH i2c: 01 00 00 0E 3B 49 [18:02:38]Write i2c OK [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: 01 [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: 01 07 00 [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: 01 07 00 0E 3B 00 00 00 00 00 F3 0C 4F [18:02:38]RasterBufferAndPrint [18:02:38]line [18:02:38]line [18:02:38]line [18:02:38]line [18:02:38]line [18:02:38]written 0, free lines is 3321 [18:02:38]MH_Cut [18:02:38]Write to MH i2c: D1 01 00 15 3B 01 22 [18:02:38]Write i2c OK [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: D1 [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: D1 01 00 [18:02:38]MH_I2C_Read... [18:02:38]Read from MH i2c: D1 01 00 15 3B 00 21 [18:02:38]Write to MH i2c: 01 00 00 16 3B 51 [18:02:38]Write i2c OK [18:02:38]MH_I2C_Read... [18:02:39]OFD Sender: No OFD packet to send [18:02:39]*** Cut start [18:02:39]*** Partial cut [18:02:39]*** CUTSNS_PIN = 1 [18:02:39]*** CUTSNS_PIN = 0 [18:02:39]*** Brake cut motor [18:02:40]Read from MH i2c: 01 [18:02:40]MH_I2C_Read... [18:02:40]*** Stop cut motor [18:02:40]*** Cut end [18:02:40]Read from MH i2c: 01 07 00 [18:02:40]MH_I2C_Read... [18:02:40]Read from MH i2c: 01 07 00 16 3B 00 00 00 00 00 FF 0F 66 [18:02:40]process_action close_receipt done [18:02:40]requested_data is exist [18:02:40]produce_requested_data [18:02:40]requested_item fm.sn is exist - process it [18:02:40]wFMCommunicate request_size=4 [18:02:40]MH_SAM_APDU [18:02:40]CAPDU: 80 11 00 00 [18:02:40]Write to MH i2c: E2 08 00 17 3B 80 11 00 00 00 00 00 00 CC [18:02:40]Write i2c OK [18:02:40]MH_I2C_Read... [18:02:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:02:40]Read from MH i2c: E2 [18:02:40]MH_I2C_Read... [18:02:40]Read from MH i2c: E2 17 00 [18:02:40]MH_I2C_Read... [18:02:40]Read from MH i2c: E2 17 00 17 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 19 [18:02:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [18:02:40]wFMCommunicate OK [18:02:40]requested_item fd.num is exist - process it [18:02:40]SAM_PROTO_GetFieldsCounters [18:02:40]wFMCommunicate request_size=4 [18:02:40]MH_SAM_APDU [18:02:40]CAPDU: 80 13 00 00 [18:02:40]Write to MH i2c: E2 08 00 18 3B 80 13 00 00 00 00 00 00 CF [18:02:40]Write i2c OK [18:02:40]MH_I2C_Read... [18:02:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:02:40]Read from MH i2c: E2 [18:02:40]MH_I2C_Read... [18:02:40]Read from MH i2c: E2 62 00 [18:02:40]MH_I2C_Read... [18:02:40]Read from MH i2c: E2 62 00 18 3B 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 75 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [18:02: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 75 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:02:40]wFMCommunicate OK [18:02:40]SAM_PROTO_GetFieldsCounters done [18:02:40]requested_item shift.num is exist - process it [18:02:40]requested_item shift.opened is exist - process it [18:02:40]req_shift_opened [18:02:40]FM_GetShiftState [18:02:40]SAM_PROTO_GetShiftState [18:02:40]wFMCommunicate request_size=4 [18:02:40]MH_SAM_APDU [18:02:40]CAPDU: 80 13 01 00 [18:02:40]Write to MH i2c: E2 08 00 19 3B 80 13 01 00 00 00 00 00 D1 [18:02:40]Write i2c OK [18:02:40]MH_I2C_Read... [18:02:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:02:40]Read from MH i2c: E2 [18:02:40]MH_I2C_Read... [18:02:40]Read from MH i2c: E2 0E 00 [18:02:40]MH_I2C_Read... [18:02:40]Read from MH i2c: E2 0E 00 19 3B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 57 [18:02:40]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [18:02:40]wFMCommunicate OK [18:02:40]SAM_PROTO_GetShiftState done [18:02:40]FM_GetShiftState done [18:02:40]req_shift_opened done [18:02:40]requested_item shift.open_date is exist - process it [18:02:40]req_shift_open_date [18:02:40]req_shift_open_date done [18:02:40]produce_requested_data done [18:02:40]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49013,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [18:02:40]process_action_free close_receipt [18:02:40]json_value_free [18:02:40]json_value_free done [18:02:40]process_json_proto returns [18:02:40]Send response to host [18:02:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49013,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [18:02:40]free response buf [18:02:40]execute_script done [18:02:40]execute_script returns [18:02:40]free content buf [18:02:40]Sock 7.Close socket [18:02:40]Sock 7.Thread stoped [18:02:44]OFD Sender: No OFD packet to send [18:02:49]OFD Sender: No OFD packet to send [18:02:54]OFD Sender: No OFD packet to send [18:02:59]OFD Sender: No OFD packet to send [18:03:04]OFD Sender: No OFD packet to send [18:03:09]OFD Sender: No OFD packet to send [18:03:14]OFD Sender: No OFD packet to send [18:03:19]OFD Sender: No OFD packet to send [18:03:24]OFD Sender: No OFD packet to send [18:03:29]OFD Sender: No OFD packet to send [18:03:34]OFD Sender: No OFD packet to send [18:03:39]OFD Sender: No OFD packet to send [18:03:44]OFD Sender: No OFD packet to send [18:03:49]OFD Sender: No OFD packet to send [18:03:54]OFD Sender: No OFD packet to send [18:03:59]OFD Sender: No OFD packet to send [18:04:04]OFD Sender: No OFD packet to send [18:04:09]OFD Sender: No OFD packet to send [18:04:14]OFD Sender: No OFD packet to send [18:04:19]OFD Sender: No OFD packet to send [18:04:24]OFD Sender: No OFD packet to send [18:04:29]OFD Sender: No OFD packet to send [18:04:34]OFD Sender: No OFD packet to send [18:04:39]OFD Sender: No OFD packet to send [18:04:44]OFD Sender: No OFD packet to send [18:04:49]OFD Sender: No OFD packet to send [18:04:54]OFD Sender: No OFD packet to send [18:04:59]OFD Sender: No OFD packet to send [18:05:04]OFD Sender: No OFD packet to send [18:05:09]OFD Sender: No OFD packet to send [18:05:14]OFD Sender: No OFD packet to send [18:05:19]OFD Sender: No OFD packet to send [18:05:24]OFD Sender: No OFD packet to send [18:05:29]OFD Sender: No OFD packet to send [18:05:34]OFD Sender: No OFD packet to send [18:05:39]OFD Sender: No OFD packet to send [18:05:44]OFD Sender: No OFD packet to send [18:05:49]OFD Sender: No OFD packet to send [18:05:54]OFD Sender: No OFD packet to send [18:05:59]OFD Sender: No OFD packet to send [18:06:04]OFD Sender: No OFD packet to send [18:06:09]OFD Sender: No OFD packet to send [18:06:14]OFD Sender: No OFD packet to send [18:06:19]OFD Sender: No OFD packet to send [18:06:24]OFD Sender: No OFD packet to send [18:06:29]OFD Sender: No OFD packet to send [18:06:34]OFD Sender: No OFD packet to send [18:06:39]OFD Sender: No OFD packet to send [18:06:44]OFD Sender: No OFD packet to send [18:06:49]OFD Sender: No OFD packet to send [18:06:54]OFD Sender: No OFD packet to send [18:06:59]OFD Sender: No OFD packet to send [18:07:04]OFD Sender: No OFD packet to send [18:07:09]OFD Sender: No OFD packet to send [18:07:14]OFD Sender: No OFD packet to send [18:07:19]OFD Sender: No OFD packet to send [18:07:24]OFD Sender: No OFD packet to send [18:07:29]OFD Sender: No OFD packet to send [18:07:34]OFD Sender: No OFD packet to send [18:07:39]OFD Sender: No OFD packet to send [18:07:44]OFD Sender: No OFD packet to send [18:07:49]OFD Sender: No OFD packet to send [18:07:54]OFD Sender: No OFD packet to send [18:07:59]OFD Sender: No OFD packet to send [18:08:04]OFD Sender: No OFD packet to send [18:08:09]OFD Sender: No OFD packet to send [18:08:14]OFD Sender: No OFD packet to send [18:08:19]OFD Sender: No OFD packet to send [18:08:24]OFD Sender: No OFD packet to send [18:08:29]OFD Sender: No OFD packet to send [18:08:34]OFD Sender: No OFD packet to send [18:08:39]OFD Sender: No OFD packet to send [18:08:44]OFD Sender: No OFD packet to send [18:08:49]OFD Sender: No OFD packet to send [18:08:54]OFD Sender: No OFD packet to send [18:08:59]OFD Sender: No OFD packet to send [18:09:04]OFD Sender: No OFD packet to send [18:09:09]OFD Sender: No OFD packet to send [18:09:14]OFD Sender: No OFD packet to send [18:09:19]OFD Sender: No OFD packet to send [18:09:24]OFD Sender: No OFD packet to send [18:09:29]OFD Sender: No OFD packet to send [18:09:34]OFD Sender: No OFD packet to send [18:09:39]OFD Sender: No OFD packet to send [18:09:44]OFD Sender: No OFD packet to send [18:09:49]OFD Sender: No OFD packet to send [18:09:54]OFD Sender: No OFD packet to send [18:09:59]OFD Sender: No OFD packet to send [18:10:04]OFD Sender: No OFD packet to send [18:10:09]OFD Sender: No OFD packet to send [18:10:14]OFD Sender: No OFD packet to send [18:10:19]OFD Sender: No OFD packet to send [18:10:24]OFD Sender: No OFD packet to send [18:10:29]OFD Sender: No OFD packet to send [18:10:34]OFD Sender: No OFD packet to send [18:10:39]OFD Sender: No OFD packet to send [18:10:44]OFD Sender: No OFD packet to send [18:10:49]OFD Sender: No OFD packet to send [18:10:54]OFD Sender: No OFD packet to send [18:10:59]OFD Sender: No OFD packet to send [18:11:04]OFD Sender: No OFD packet to send [18:11:09]OFD Sender: No OFD packet to send [18:11:14]OFD Sender: No OFD packet to send [18:11:19]OFD Sender: No OFD packet to send [18:11:24]OFD Sender: No OFD packet to send [18:11:29]OFD Sender: No OFD packet to send [18:11:34]OFD Sender: No OFD packet to send [18:11:39]OFD Sender: No OFD packet to send [18:11:44]OFD Sender: No OFD packet to send [18:11:49]OFD Sender: No OFD packet to send [18:11:54]OFD Sender: No OFD packet to send [18:11:59]OFD Sender: No OFD packet to send [18:12:04]OFD Sender: No OFD packet to send [18:12:09]OFD Sender: No OFD packet to send [18:12:14]OFD Sender: No OFD packet to send [18:12:19]OFD Sender: No OFD packet to send [18:12:24]OFD Sender: No OFD packet to send [18:12:29]OFD Sender: No OFD packet to send [18:12:34]OFD Sender: No OFD packet to send [18:12:39]OFD Sender: No OFD packet to send [18:12:44]OFD Sender: No OFD packet to send [18:12:49]OFD Sender: No OFD packet to send [18:12:54]OFD Sender: No OFD packet to send [18:12:59]OFD Sender: No OFD packet to send [18:13:04]OFD Sender: No OFD packet to send [18:13:09]OFD Sender: No OFD packet to send [18:13:14]OFD Sender: No OFD packet to send [18:13:19]OFD Sender: No OFD packet to send [18:13:24]OFD Sender: No OFD packet to send [18:13:29]OFD Sender: No OFD packet to send [18:13:34]OFD Sender: No OFD packet to send [18:13:39]OFD Sender: No OFD packet to send [18:13:44]OFD Sender: No OFD packet to send [18:13:49]OFD Sender: No OFD packet to send [18:13:54]OFD Sender: No OFD packet to send [18:13:59]OFD Sender: No OFD packet to send [18:14:04]OFD Sender: No OFD packet to send [18:14:09]OFD Sender: No OFD packet to send [18:14:14]OFD Sender: No OFD packet to send [18:14:19]OFD Sender: No OFD packet to send [18:14:24]OFD Sender: No OFD packet to send [18:14:29]OFD Sender: No OFD packet to send [18:14:34]OFD Sender: No OFD packet to send [18:14:39]OFD Sender: No OFD packet to send [18:14:44]OFD Sender: No OFD packet to send [18:14:49]OFD Sender: No OFD packet to send [18:14:54]OFD Sender: No OFD packet to send [18:14:55]accept exits with 9 [18:14:55]New connection [18:14:55]New thread 3066813796 created [18:14:55]Thread 3066670436 joined [18:14:55]Waiting for new connection... [18:14:55] Sock 9.Parse request [18:14:55]Sock 9.Check first char [18:14:55]Sock 9.First char is OK [18:14:55]request: POST /json_proto HTTP/1.0 [18:14:55]Method: POST [18:14:55]URL: /json_proto [18:14:55]Method is POST - this is cgi request [18:14:55]url: /json_proto [18:14:55]query_string will be loaded in cgi processing [18:14:55]execute_cgi json_proto POST (null) [18:14:55]execute_cgi path=json_proto method=POST [18:14:55]POST find Content-Length [18:14:55]Host: 172.17.56.67:8080 [18:14:55]Content-Length: 678 [18:14:55]Content-Type: application/json [18:14:55] [18:14:55]POST finish read [18:14:55]Found Content-Length = 678 [18:14:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216115", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 11.610, "sum" : 700.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:14:55]execute_script... [18:14: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)216115", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 11.610, "sum" : 700.08, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:14:55]POST & json_proto [18:14:55]process_json_proto [18:14:55]json parsed OK: [18:14:55]protocol is kg_v1.0 [18:14:55]action value=close_receipt [18:14:55]process_action close_receipt [18:14:55]cmd_close_receipt [18:14:55]MH_GetDate [18:14:55]Write to MH i2c: F0 00 00 1A 3B 44 [18:14:55]Write i2c OK [18:14:55]MH_I2C_Read... [18:14:55]Read from MH i2c: F0 [18:14:55]MH_I2C_Read... [18:14:55]Read from MH i2c: F0 09 00 [18:14:55]MH_I2C_Read... [18:14:55]Read from MH i2c: F0 09 00 1A 3B 00 A9 99 B6 65 26 5D 9E 65 30 [18:14:55]GetLastDocTimeStamp 1706464966 [18:14:55]current date 1706465705 [18:14:55]FM_GetShiftState [18:14:55]SAM_PROTO_GetShiftState [18:14:55]wFMCommunicate request_size=4 [18:14:55]MH_SAM_APDU [18:14:55]CAPDU: 80 13 01 00 [18:14:55]Write to MH i2c: E2 08 00 1B 3B 80 13 01 00 00 00 00 00 D3 [18:14:55]Write i2c OK [18:14:55]MH_I2C_Read... [18:14:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:14:55]Read from MH i2c: E2 [18:14:55]MH_I2C_Read... [18:14:55]Read from MH i2c: E2 0E 00 [18:14:55]MH_I2C_Read... [18:14:55]Read from MH i2c: E2 0E 00 1B 3B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 59 [18:14:55]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [18:14:55]wFMCommunicate OK [18:14:55]SAM_PROTO_GetShiftState done [18:14:55]FM_GetShiftState done [18:14:55]opened in 1706400199 [18:14:55]opened+sec_in_day 1706486599 [18:14:55]quantity*price = 70008 [18:14:55]sum+1 = 70009 [18:14:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.08 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.19 ÐДС 12% : 74.34 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 79 28.01.2024 18:15 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49014 ФПД: 221361640342660 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T181505&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49014&fm=221361640342660&tin=02508201610067®Number=0000000000092723&sum=70000 [18:14:56]StoreToDocumentArchive [18:14:56]shift 244 fd 49014 [18:14:56]save to /storage/0244/doc_00049014 [18:14:56]save last doc name /storage/0244/doc_00049014 to /storage/kkm_last_doc_name [18:14:56]save OK [18:14:56]Clear old archive folders... [18:14:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:14:56]tlvbuf is 011DAF50 [18:14:56]SAM_PROTO_ClearQueue [18:14:56]wFMCommunicate request_size=4 [18:14:56]MH_SAM_APDU [18:14:56]CAPDU: 80 09 00 00 [18:14:56]Write to MH i2c: E2 08 00 28 3B 80 09 00 00 00 00 00 00 D5 [18:14:56]Write i2c OK [18:14:56]MH_I2C_Read... [18:14:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:14:56]Read from MH i2c: E2 [18:14:56]MH_I2C_Read... [18:14:56]Read from MH i2c: E2 03 00 [18:14:56]MH_I2C_Read... [18:14:56]Read from MH i2c: E2 03 00 28 3B 00 90 00 D7 [18:14:56]RAPDU: 90 00 [18:14:56]wFMCommunicate OK [18:14:56]SAM_PROTO_ClearQueue done [18:14:56]KKMCreateOFDPacket [18:14:56]OFDProtocolAddRootSTLVToBuf [18:14:56]FM_MakeSignedData [18:14:56]FM_MakeSignedData [18:14:56]SAM_PROTO_SignData [18:14:56]wFMCommunicate request_size=4 [18:14:56]MH_SAM_APDU [18:14:56]CAPDU: 80 0D 01 02 [18:14:56]Write to MH i2c: E2 08 00 29 3B 80 0D 01 02 00 00 00 00 DD [18:14:56]Write i2c OK [18:14:56]MH_I2C_Read... [18:14:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:14:56]Read from MH i2c: E2 [18:14:56]MH_I2C_Read... [18:14:56]Read from MH i2c: E2 03 00 [18:14:56]MH_I2C_Read... [18:14:56]Read from MH i2c: E2 03 00 29 3B 00 90 00 D8 [18:14:56]RAPDU: 90 00 [18:14:56]wFMCommunicate OK [18:14:56]wFMCommunicate request_size=255 [18:14:56]MH_SAM_APDU [18:14: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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 A9 99 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 76 BF 00 00 35 04 06 00 C9 [18:14:56]Write to MH i2c: E2 02 01 2A 3B 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 A9 99 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 76 BF 00 00 35 04 06 00 C9 00 00 CB [18:14:56]Write i2c OK [18:14:56]MH_I2C_Read... [18:14:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:14:57]Read from MH i2c: E2 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: E2 03 00 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: E2 03 00 2A 3B 00 90 00 D9 [18:14:57]RAPDU: 90 00 [18:14:57]wFMCommunicate OK [18:14:57]wFMCommunicate request_size=10 [18:14:57]MH_SAM_APDU [18:14:57]CAPDU: 80 0D 02 02 05 53 C5 F0 84 84 [18:14:57]Write to MH i2c: E2 0D 00 2B 3B 80 0D 02 02 05 00 53 C5 F0 84 84 00 00 FA [18:14:57]Write i2c OK [18:14:57]MH_I2C_Read... [18:14:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:14:57]Read from MH i2c: E2 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: E2 03 00 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: E2 03 00 2B 3B 00 90 00 DA [18:14:57]RAPDU: 90 00 [18:14:57]wFMCommunicate OK [18:14:57]wFMCommunicate request_size=4 [18:14:57]MH_SAM_APDU [18:14:57]CAPDU: 80 0D 03 02 [18:14:57]Write to MH i2c: E2 08 00 2C 3B 80 0D 03 02 00 00 00 00 E2 [18:14:57]Write i2c OK [18:14:57]MH_I2C_Read... [18:14:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:14:57]Read from MH i2c: E2 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: E2 0B 00 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: E2 0B 00 2C 3B 00 16 AA 12 49 23 BC 5F E7 90 00 23 [18:14:57]RAPDU: 16 AA 12 49 23 BC 5F E7 90 00 [18:14:57]wFMCommunicate OK [18:14:57]SAM_PROTO_SignData done [18:14:57]FM_MakeSignedData done [18:14:57]CreateOFDProtocolMessage [18:14:57]wFMCommunicate request_size=4 [18:14:57]MH_SAM_APDU [18:14:57]CAPDU: 80 11 00 00 [18:14:57]Write to MH i2c: E2 08 00 2D 3B 80 11 00 00 00 00 00 00 E2 [18:14:57]Write i2c OK [18:14:57]MH_I2C_Read... [18:14:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:14:57]Read from MH i2c: E2 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: E2 17 00 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: E2 17 00 2D 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 2F [18:14:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [18:14:57]wFMCommunicate OK [18:14:57]CreateOFDProtocolMessage done [18:14:57]OFDSenderStorePacket 49014 [18:14:57]StoreOFDPacket docnum=49014 [18:14:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 F9 FC 07 01 1C 7B 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 A9 99 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 76 BF 00 00 35 04 06 00 C9 53 C5 F0 84 84 16 AA 12 49 23 BC 5F E7 [18:14:57]CheckFolder [18:14:57]dirname=/storage/ofd_packets [18:14:57]CheckFolder done [18:14:57]ProducePacketName [18:14:57]name=ofd_packets/00049014 [18:14:57]NVStorageSaveData ofd_packets/00049014 [18:14:57]File name is /storage/ofd_packets/00049014 [18:14:57]Write 301 bytes [18:14:57]NVStorageSaveData done [18:14:57]OFDSenderStorePacket done [18:14:57]KKMCreateOFDPacket done [18:14:57]NVStorageSaveData kkm_last_timestamp [18:14:57]File name is /storage/kkm_last_timestamp [18:14:57]Write 4 bytes [18:14:57]NVStorageSaveData done [18:14:57]ExternCall_PrintAddStr [18:14:57]wPrintStart [18:14:57]Write to MH i2c: 01 00 00 2E 3B 69 [18:14:57]Write i2c OK [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: 01 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: 01 07 00 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: 01 07 00 2E 3B 00 00 00 00 00 FF 0F 7E [18:14:57]RasterBufferAndPrint [18:14:57]line Счет N : (1)216115 [18:14:57]line ИÐÐ: 02508201610067 [18:14:57]line Контрольно-КаÑÑовый Чек [18:14:57]line ПРОДÐЖР[18:14:57]line ТРК (МРК, ГÐК) : 12 [18:14:57]line Товар: 2710124130 [18:14:57]line Ðи-92-К-5 [18:14:57]line 11.610 * 60.30 [18:14:57]line = 700.08 [18:14:57]line ÐДС 12% ÐСП 1% [18:14:57]line > о реализуемом товаре [18:14:57]line ОКРУГЛЕÐИЕ: -0.08 [18:14:57]line ИТОГО: 700.00 [18:14:57]line ВнеÑено: 700.00 [18:14:57]line СДÐЧÐ: 0.00 [18:14:57]line ÐСП 1% : 6.19 [18:14:57]line ÐДС 12% : 74.34 [18:14:57]line Ðаличными: 700.00 [18:14:57]line Безнал.: 0.00 [18:14:57]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [18:14:57]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [18:14:57]line СÐО: Общий режим [18:14:57]line Чек 79 28.01.2024 18:15 [18:14:57]line Смена: 244 ФФД: 1.0 [18:14:57]line ЗÐМ: 0300000040 [18:14:57]line РÐМ: 0000000000092723 [18:14:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:14:57]line ФМ: 0000000000875060 [18:14:57]line ФД: 49014 [18:14:57]line ФПД: 221361640342660 [18:14:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T181505&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49014&fm=221361640342660&tin=02508201610067®Number=0000000000092723&sum=70000 [18:14:57]OFD Sender: Processing packet 49014 [packets to send 12, broken 11] [18:14:57]ProducePacketName [18:14:57]name=ofd_packets/00049014 [18:14:57]OFD Sender: To server: ‡•öpG, [18:14:57]CommunicateWithHost lk.salyk.kg:30040 [18:14:57]ConnectInit lk.salyk.kg [18:14:57]written 0, free lines is 4095 [18:14:57]Connected sock=10 [18:14: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 30 36 30 0F 01 00 00 F9 FC 07 01 1C 7B 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 5A 2D 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 78 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 A9 99 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 76 BF 00 00 35 04 06 00 C9 53 C5 F0 84 84 16 AA 12 49 23 BC 5F E7 [18:14:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 44 03 47 00 24 01 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 76 BF 00 00 F4 03 04 00 A4 45 B6 65 B6 04 01 00 00 6A CB 2F FF 44 D6 CB AC [18:14:57]CommunicateWithHost err = 0 [18:14:57]CheckOFDResponse [18:14:57]1017 (14) - 77093643461234 [18:14:57]1041 (16) - 0000000000875060 [18:14:57]1040 (4) - 49014 [18:14:57]1012 (4) - 28.01.2024 12:16 [18:14:57]1206 (1) - 0 [18:14:57]OFD Sender: Remove packet 49014 [18:14:57]ProducePacketName [18:14:57]name=ofd_packets/00049014 [18:14:57]NVStorageDeleteData [18:14:57]Write to MH i2c: 01 00 00 59 3B 94 [18:14:57]Write i2c OK [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: 01 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: 01 07 00 [18:14:57]MH_I2C_Read... [18:14:57]Read from MH i2c: 01 07 00 59 3B 00 00 00 00 00 03 0D AB [18:14:57]RasterBufferAndPrint [18:14:57]line [18:14:57]line [18:14:57]line [18:14:57]line [18:14:57]line [18:14:57]written 0, free lines is 3340 [18:14:58]MH_Cut [18:14:58]Write to MH i2c: D1 01 00 60 3B 01 6D [18:14:58]Write i2c OK [18:14:58]MH_I2C_Read... [18:14:58]Read from MH i2c: D1 [18:14:58]MH_I2C_Read... [18:14:58]Read from MH i2c: D1 01 00 [18:14:58]MH_I2C_Read... [18:14:58]Read from MH i2c: D1 01 00 60 3B 00 6C [18:14:58]Write to MH i2c: 01 00 00 61 3B 9C [18:14:58]Write i2c OK [18:14:58]MH_I2C_Read... [18:14:58]OFD Sender: No OFD packet to send [18:14:58]*** Cut start [18:14:58]*** Partial cut [18:14:58]*** CUTSNS_PIN = 1 [18:14:58]*** CUTSNS_PIN = 0 [18:14:58]*** Brake cut motor [18:14:59]Read from MH i2c: 01 [18:14:59]MH_I2C_Read... [18:14:59]*** Stop cut motor [18:14:59]Read from MH i2c: 01 *** Cut end [18:14:59]07 00 [18:14:59]MH_I2C_Read... [18:14:59]Read from MH i2c: 01 07 00 61 3B 00 00 00 00 00 FF 0F B1 [18:14:59]process_action close_receipt done [18:14:59]requested_data is exist [18:14:59]produce_requested_data [18:14:59]requested_item fm.sn is exist - process it [18:14:59]wFMCommunicate request_size=4 [18:14:59]MH_SAM_APDU [18:14:59]CAPDU: 80 11 00 00 [18:14:59]Write to MH i2c: E2 08 00 62 3B 80 11 00 00 00 00 00 00 17 [18:14:59]Write i2c OK [18:14:59]MH_I2C_Read... [18:14:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:14:59]Read from MH i2c: E2 [18:14:59]MH_I2C_Read... [18:14:59]Read from MH i2c: E2 17 00 [18:14:59]MH_I2C_Read... [18:14:59]Read from MH i2c: E2 17 00 62 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 64 [18:14:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [18:14:59]wFMCommunicate OK [18:14:59]requested_item fd.num is exist - process it [18:14:59]SAM_PROTO_GetFieldsCounters [18:14:59]wFMCommunicate request_size=4 [18:14:59]MH_SAM_APDU [18:14:59]CAPDU: 80 13 00 00 [18:14:59]Write to MH i2c: E2 08 00 63 3B 80 13 00 00 00 00 00 00 1A [18:14:59]Write i2c OK [18:14:59]MH_I2C_Read... [18:14:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:14:59]Read from MH i2c: E2 [18:14:59]MH_I2C_Read... [18:14:59]Read from MH i2c: E2 62 00 [18:14:59]MH_I2C_Read... [18:14:59]Read from MH i2c: E2 62 00 63 3B 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 76 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [18:14: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 76 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:14:59]wFMCommunicate OK [18:14:59]SAM_PROTO_GetFieldsCounters done [18:14:59]requested_item shift.num is exist - process it [18:14:59]requested_item shift.opened is exist - process it [18:14:59]req_shift_opened [18:14:59]FM_GetShiftState [18:14:59]SAM_PROTO_GetShiftState [18:14:59]wFMCommunicate request_size=4 [18:14:59]MH_SAM_APDU [18:14:59]CAPDU: 80 13 01 00 [18:14:59]Write to MH i2c: E2 08 00 64 3B 80 13 01 00 00 00 00 00 1C [18:14:59]Write i2c OK [18:14:59]MH_I2C_Read... [18:14:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:14:59]Read from MH i2c: E2 [18:14:59]MH_I2C_Read... [18:14:59]Read from MH i2c: E2 0E 00 [18:14:59]MH_I2C_Read... [18:14:59]Read from MH i2c: E2 0E 00 64 3B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A2 [18:14:59]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [18:14:59]wFMCommunicate OK [18:14:59]SAM_PROTO_GetShiftState done [18:14:59]FM_GetShiftState done [18:14:59]req_shift_opened done [18:14:59]requested_item shift.open_date is exist - process it [18:14:59]req_shift_open_date [18:14:59]req_shift_open_date done [18:14:59]produce_requested_data done [18:14:59]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49014,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [18:14:59]process_action_free close_receipt [18:14:59]json_value_free [18:14:59]json_value_free done [18:14:59]process_json_proto returns [18:14:59]Send response to host [18:14:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49014,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [18:14:59]free response buf [18:14:59]execute_script done [18:14:59]execute_script returns [18:14:59]free content buf [18:14:59]Sock 9.Close socket [18:14:59]Sock 9.Thread stoped [18:15:03]OFD Sender: No OFD packet to send [18:15:07]accept exits with 7 [18:15:07]New connection [18:15:07]New thread 3066670436 created [18:15:07]Thread 3066813796 joined [18:15:07]Waiting for new connection... [18:15:07] Sock 7.Parse request [18:15:07]Sock 7.Check first char [18:15:07]Sock 7.First char is OK [18:15:07]request: POST /json_proto HTTP/1.0 [18:15:07]Method: POST [18:15:07]URL: /json_proto [18:15:07]Method is POST - this is cgi request [18:15:07]url: /json_proto [18:15:07]query_string will be loaded in cgi processing [18:15:07]execute_cgi json_proto POST (null) [18:15:07]execute_cgi path=json_proto method=POST [18:15:07]POST find Content-Length [18:15:07]Host: 172.17.56.67:8080 [18:15:07]Content-Length: 682 [18:15:07]Content-Type: application/json [18:15:07] [18:15:07]POST finish read [18:15:07]Found Content-Length = 682 [18:15:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216116", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [18:15:07]execute_script... [18:15: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 : (1)216116", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 16.590, "sum" : 1000.38, "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" ] } } [18:15:07]POST & json_proto [18:15:07]process_json_proto [18:15:07]json parsed OK: [18:15:07]protocol is kg_v1.0 [18:15:07]action value=close_receipt [18:15:07]process_action close_receipt [18:15:07]cmd_close_receipt [18:15:07]MH_GetDate [18:15:07]Write to MH i2c: F0 00 00 65 3B 8F [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: F0 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: F0 09 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: F0 09 00 65 3B 00 B4 99 B6 65 26 5D 9E 65 86 [18:15:07]GetLastDocTimeStamp 1706465705 [18:15:07]current date 1706465716 [18:15:07]FM_GetShiftState [18:15:07]SAM_PROTO_GetShiftState [18:15:07]wFMCommunicate request_size=4 [18:15:07]MH_SAM_APDU [18:15:07]CAPDU: 80 13 01 00 [18:15:07]Write to MH i2c: E2 08 00 66 3B 80 13 01 00 00 00 00 00 1E [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:07]Read from MH i2c: E2 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 0E 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 0E 00 66 3B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 A4 [18:15:07]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [18:15:07]wFMCommunicate OK [18:15:07]SAM_PROTO_GetShiftState done [18:15:07]FM_GetShiftState done [18:15:07]opened in 1706400199 [18:15:07]opened+sec_in_day 1706486599 [18:15:07]quantity*price = 100037 [18:15:07]sum+1 = 100039 [18:15:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.23 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 80 28.01.2024 18:15 Смена: 244 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49015 ФПД: 141524776985070 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T181516&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49015&fm=141524776985070&tin=02508201610067®Number=0000000000092723&sum=100000 [18:15:08]StoreToDocumentArchive [18:15:08]shift 244 fd 49015 [18:15:08]save to /storage/0244/doc_00049015 [18:15:08]save last doc name /storage/0244/doc_00049015 to /storage/kkm_last_doc_name [18:15:08]save OK [18:15:08]Clear old archive folders... [18:15:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:15:08]tlvbuf is B6E86B70 [18:15:08]SAM_PROTO_ClearQueue [18:15:08]wFMCommunicate request_size=4 [18:15:08]MH_SAM_APDU [18:15:08]CAPDU: 80 09 00 00 [18:15:08]Write to MH i2c: E2 08 00 73 3B 80 09 00 00 00 00 00 00 20 [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 73 3B 00 90 00 22 [18:15:08]RAPDU: 90 00 [18:15:08]wFMCommunicate OK [18:15:08]SAM_PROTO_ClearQueue done [18:15:08]KKMCreateOFDPacket [18:15:08]OFDProtocolAddRootSTLVToBuf [18:15:08]FM_MakeSignedData [18:15:08]FM_MakeSignedData [18:15:08]SAM_PROTO_SignData [18:15:08]wFMCommunicate request_size=4 [18:15:08]MH_SAM_APDU [18:15:08]CAPDU: 80 0D 01 02 [18:15:08]Write to MH i2c: E2 08 00 74 3B 80 0D 01 02 00 00 00 00 28 [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 74 3B 00 90 00 23 [18:15:08]RAPDU: 90 00 [18:15:08]wFMCommunicate OK [18:15:08]wFMCommunicate request_size=255 [18:15:08]MH_SAM_APDU [18:15:08]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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 50 00 00 00 F4 03 04 00 B4 99 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 77 BF 00 00 35 04 06 00 80 [18:15:08]Write to MH i2c: E2 02 01 75 3B 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 50 00 00 00 F4 03 04 00 B4 99 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 77 BF 00 00 35 04 06 00 80 00 00 FA [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 75 3B 00 90 00 24 [18:15:08]RAPDU: 90 00 [18:15:08]wFMCommunicate OK [18:15:08]wFMCommunicate request_size=10 [18:15:08]MH_SAM_APDU [18:15:08]CAPDU: 80 0D 02 02 05 B7 4E 0F 21 EE [18:15:08]Write to MH i2c: E2 0D 00 76 3B 80 0D 02 02 05 00 B7 4E 0F 21 EE 00 00 58 [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 03 00 76 3B 00 90 00 25 [18:15:08]RAPDU: 90 00 [18:15:08]wFMCommunicate OK [18:15:08]wFMCommunicate request_size=4 [18:15:08]MH_SAM_APDU [18:15:08]CAPDU: 80 0D 03 02 [18:15:08]Write to MH i2c: E2 08 00 77 3B 80 0D 03 02 00 00 00 00 2D [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 0B 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 0B 00 77 3B 00 32 9B AB 20 90 4C 1F 77 90 00 38 [18:15:08]RAPDU: 32 9B AB 20 90 4C 1F 77 90 00 [18:15:08]wFMCommunicate OK [18:15:08]SAM_PROTO_SignData done [18:15:08]FM_MakeSignedData done [18:15:08]CreateOFDProtocolMessage [18:15:08]wFMCommunicate request_size=4 [18:15:08]MH_SAM_APDU [18:15:08]CAPDU: 80 11 00 00 [18:15:08]Write to MH i2c: E2 08 00 78 3B 80 11 00 00 00 00 00 00 2D [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:08]Read from MH i2c: E2 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 17 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: E2 17 00 78 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 7A [18:15:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [18:15:08]wFMCommunicate OK [18:15:08]CreateOFDProtocolMessage done [18:15:08]OFDSenderStorePacket 49015 [18:15:08]StoreOFDPacket docnum=49015 [18:15:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 46 8A 07 01 7D D4 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 50 00 00 00 F4 03 04 00 B4 99 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 77 BF 00 00 35 04 06 00 80 B7 4E 0F 21 EE 32 9B AB 20 90 4C 1F 77 [18:15:08]CheckFolder [18:15:08]dirname=/storage/ofd_packets [18:15:08]CheckFolder done [18:15:08]ProducePacketName [18:15:08]name=ofd_packets/00049015 [18:15:08]NVStorageSaveData ofd_packets/00049015 [18:15:08]File name is /storage/ofd_packets/00049015 [18:15:08]Write 301 bytes [18:15:08]NVStorageSaveData done [18:15:08]OFDSenderStorePacket done [18:15:08]KKMCreateOFDPacket done [18:15:08]NVStorageSaveData kkm_last_timestamp [18:15:08]File name is /storage/kkm_last_timestamp [18:15:08]Write 4 bytes [18:15:08]NVStorageSaveData done [18:15:08]ExternCall_PrintAddStr [18:15:08]wPrintStart [18:15:08]Write to MH i2c: 01 00 00 79 3B B4 [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 07 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 07 00 79 3B 00 00 00 00 00 FF 0F C9 [18:15:08]RasterBufferAndPrint [18:15:08]line Счет N : (1)216116 [18:15:08]line ИÐÐ: 02508201610067 [18:15:08]line Контрольно-КаÑÑовый Чек [18:15:08]line ПРОДÐЖР[18:15:08]line ТРК (МРК, ГÐК) : 22 [18:15:08]line Товар: 2710124130 [18:15:08]line Ðи-92-К-5 [18:15:08]line 16.590 * 60.30 [18:15:08]line = 1000.38 [18:15:08]line ÐДС 12% ÐСП 1% [18:15:08]line > о реализуемом товаре [18:15:08]line ОКРУГЛЕÐИЕ: -0.38 [18:15:08]line ИТОГО: 1000.00 [18:15:08]line ВнеÑено: 1000.00 [18:15:08]line СДÐЧÐ: 0.00 [18:15:08]line ÐСП 1% : 8.85 [18:15:08]line ÐДС 12% : 106.23 [18:15:08]line Ðаличными: 1000.00 [18:15:08]line Безнал.: 0.00 [18:15:08]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [18:15:08]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [18:15:08]line СÐО: Общий режим [18:15:08]line Чек 80 28.01.2024 18:15 [18:15:08]line Смена: 244 ФФД: 1.0 [18:15:08]line ЗÐМ: 0300000040 [18:15:08]line РÐМ: 0000000000092723 [18:15:08]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:15:08]line ФМ: 0000000000875060 [18:15:08]line ФД: 49015 [18:15:08]line ФПД: 141524776985070 [18:15:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240128T181516&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49015&fm=141524776985070&tin=02508201610067®Number=0000000000092723&sum=100000 [18:15:08]written 0, free lines is 4095 [18:15:08]OFD Sender: Processing packet 49015 [packets to send 12, broken 11] [18:15:08]ProducePacketName [18:15:08]name=ofd_packets/00049015 [18:15:08]OFD Sender: To server: ‡•öpG, [18:15:08]CommunicateWithHost lk.salyk.kg:30040 [18:15:08]ConnectInit lk.salyk.kg [18:15:09]Connected sock=11 [18:15: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 30 36 30 0F 01 00 00 46 8A 07 01 7D D4 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 CE 40 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 C6 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 7F 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 50 00 00 00 F4 03 04 00 B4 99 B6 65 0E 04 04 00 F4 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 77 BF 00 00 35 04 06 00 80 B7 4E 0F 21 EE 32 9B AB 20 90 4C 1F 77 [18:15:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 38 46 47 00 16 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 30 36 30 10 04 04 00 77 BF 00 00 F4 03 04 00 AF 45 B6 65 B6 04 01 00 00 90 2D B2 A7 20 5D 70 AC [18:15:09]CommunicateWithHost err = 0 [18:15:09]CheckOFDResponse [18:15:09]1017 (14) - 77093643461234 [18:15:09]1041 (16) - 0000000000875060 [18:15:09]1040 (4) - 49015 [18:15:09]1012 (4) - 28.01.2024 12:16 [18:15:09]1206 (1) - 0 [18:15:09]OFD Sender: Remove packet 49015 [18:15:09]ProducePacketName [18:15:09]name=ofd_packets/00049015 [18:15:09]NVStorageDeleteData [18:15:09]Write to MH i2c: 01 00 00 A4 3B DF [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: 01 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: 01 07 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: 01 07 00 A4 3B 00 00 00 00 00 F9 0C EB [18:15:09]RasterBufferAndPrint [18:15:09]line [18:15:09]line [18:15:09]line [18:15:09]line [18:15:09]line [18:15:09]written 0, free lines is 3327 [18:15:09]MH_Cut [18:15:09]Write to MH i2c: D1 01 00 AB 3B 01 B8 [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: D1 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: D1 01 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: D1 01 00 AB 3B 00 B7 [18:15:09]Write to MH i2c: 01 00 00 AC 3B E7 [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]OFD Sender: No OFD packet to send [18:15:10]*** Cut start [18:15:10]*** Partial cut [18:15:10]*** CUTSNS_PIN = 1 [18:15:10]*** CUTSNS_PIN = 0 [18:15:10]*** Brake cut motor [18:15:10]Read from MH i2c: 01 [18:15:10]MH_I2C_Read... [18:15:10]*** Stop cut motor [18:15:10]*** Cut end [18:15:10]Read from MH i2c: 01 07 00 [18:15:10]MH_I2C_Read... [18:15:10]Read from MH i2c: 01 07 00 AC 3B 00 00 00 00 00 FF 0F FC [18:15:10]process_action close_receipt done [18:15:10]requested_data is exist [18:15:10]produce_requested_data [18:15:10]requested_item fm.sn is exist - process it [18:15:10]wFMCommunicate request_size=4 [18:15:10]MH_SAM_APDU [18:15:10]CAPDU: 80 11 00 00 [18:15:10]Write to MH i2c: E2 08 00 AD 3B 80 11 00 00 00 00 00 00 62 [18:15:10]Write i2c OK [18:15:10]MH_I2C_Read... [18:15:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:10]Read from MH i2c: E2 [18:15:10]MH_I2C_Read... [18:15:10]Read from MH i2c: E2 17 00 [18:15:10]MH_I2C_Read... [18:15:10]Read from MH i2c: E2 17 00 AD 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 AF [18:15:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [18:15:10]wFMCommunicate OK [18:15:10]requested_item fd.num is exist - process it [18:15:10]SAM_PROTO_GetFieldsCounters [18:15:10]wFMCommunicate request_size=4 [18:15:10]MH_SAM_APDU [18:15:10]CAPDU: 80 13 00 00 [18:15:10]Write to MH i2c: E2 08 00 AE 3B 80 13 00 00 00 00 00 00 65 [18:15:10]Write i2c OK [18:15:10]MH_I2C_Read... [18:15:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:15:10]Read from MH i2c: E2 [18:15:10]MH_I2C_Read... [18:15:10]Read from MH i2c: E2 62 00 [18:15:10]MH_I2C_Read... [18:15:10]Read from MH i2c: E2 62 00 AE 3B 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [18:15:10]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:15:10]wFMCommunicate OK [18:15:10]SAM_PROTO_GetFieldsCounters done [18:15:10]requested_item shift.num is exist - process it [18:15:10]requested_item shift.opened is exist - process it [18:15:10]req_shift_opened [18:15:10]FM_GetShiftState [18:15:10]SAM_PROTO_GetShiftState [18:15:10]wFMCommunicate request_size=4 [18:15:10]MH_SAM_APDU [18:15:10]CAPDU: 80 13 01 00 [18:15:10]Write to MH i2c: E2 08 00 AF 3B 80 13 01 00 00 00 00 00 67 [18:15:10]Write i2c OK [18:15:10]MH_I2C_Read... [18:15:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:10]Read from MH i2c: E2 [18:15:10]MH_I2C_Read... [18:15:10]Read from MH i2c: E2 0E 00 [18:15:10]MH_I2C_Read... [18:15:10]Read from MH i2c: E2 0E 00 AF 3B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 ED [18:15:10]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [18:15:10]wFMCommunicate OK [18:15:10]SAM_PROTO_GetShiftState done [18:15:10]FM_GetShiftState done [18:15:10]req_shift_opened done [18:15:10]requested_item shift.open_date is exist - process it [18:15:10]req_shift_open_date [18:15:10]req_shift_open_date done [18:15:10]produce_requested_data done [18:15:10]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49015,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [18:15:10]process_action_free close_receipt [18:15:10]json_value_free [18:15:10]json_value_free done [18:15:10]process_json_proto returns [18:15:10]Send response to host [18:15:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49015,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [18:15:10]free response buf [18:15:10]execute_script done [18:15:10]execute_script returns [18:15:10]free content buf [18:15:10]Sock 7.Close socket [18:15:10]Sock 7.Thread stoped [18:15:14]OFD Sender: No OFD packet to send [18:15:19]OFD Sender: No OFD packet to send [18:15:24]OFD Sender: No OFD packet to send [18:15:29]OFD Sender: No OFD packet to send [18:15:34]OFD Sender: No OFD packet to send [18:15:39]OFD Sender: No OFD packet to send [18:15:44]OFD Sender: No OFD packet to send [18:15:49]OFD Sender: No OFD packet to send [18:15:54]OFD Sender: No OFD packet to send [18:15:59]OFD Sender: No OFD packet to send [18:16:04]OFD Sender: No OFD packet to send [18:16:09]OFD Sender: No OFD packet to send [18:16:14]OFD Sender: No OFD packet to send [18:16:19]OFD Sender: No OFD packet to send [18:16:24]OFD Sender: No OFD packet to send [18:16:29]OFD Sender: No OFD packet to send [18:16:34]OFD Sender: No OFD packet to send [18:16:39]OFD Sender: No OFD packet to send [18:16:44]OFD Sender: No OFD packet to send [18:16:49]OFD Sender: No OFD packet to send [18:16:54]OFD Sender: No OFD packet to send [18:16:59]OFD Sender: No OFD packet to send [18:17:04]OFD Sender: No OFD packet to send [18:17:09]OFD Sender: No OFD packet to send [18:17:14]OFD Sender: No OFD packet to send [18:17:19]OFD Sender: No OFD packet to send [18:17:24]OFD Sender: No OFD packet to send [18:17:29]OFD Sender: No OFD packet to send [18:17:34]OFD Sender: No OFD packet to send [18:17:39]OFD Sender: No OFD packet to send [18:17:44]OFD Sender: No OFD packet to send [18:17:49]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:04]OFD Sender: No OFD packet to send [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]OFD Sender: No OFD packet to send [18:18:39]OFD Sender: No OFD packet to send [18:18:44]OFD Sender: No OFD packet to send [18:18:49]OFD Sender: No OFD packet to send [18:18:54]OFD Sender: No OFD packet to send [18:18:59]OFD Sender: No OFD packet to send [18:19:04]OFD Sender: No OFD packet to send [18:19:09]OFD Sender: No OFD packet to send [18:19:14]OFD Sender: No OFD packet to send [18:19:19]OFD Sender: No OFD packet to send [18:19:24]OFD Sender: No OFD packet to send [18:19:29]OFD Sender: No OFD packet to send [18:19:34]OFD Sender: No OFD packet to send [18:19:39]OFD Sender: No OFD packet to send [18:19:44]OFD Sender: No OFD packet to send [18:19:49]OFD Sender: No OFD packet to send [18:19:54]OFD Sender: No OFD packet to send [18:19:59]OFD Sender: No OFD packet to send [18:20:04]OFD Sender: No OFD packet to send [18:20:09]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:45]OFD Sender: No OFD packet to send [18:21:50]OFD Sender: No OFD packet to send [18:21:55]OFD Sender: No OFD packet to send [18:22:00]OFD Sender: No OFD packet to send [18:22:05]OFD Sender: No OFD packet to send [18:22:10]OFD Sender: No OFD packet to send [18:22:15]OFD Sender: No OFD packet to send [18:22:20]OFD Sender: No OFD packet to send [18:22:25]OFD Sender: No OFD packet to send [18:22:30]OFD Sender: No OFD packet to send [18:22:35]OFD Sender: No OFD packet to send [18:22:40]OFD Sender: No OFD packet to send [18:22:45]OFD Sender: No OFD packet to send [18:22:50]OFD Sender: No OFD packet to send [18:22:55]OFD Sender: No OFD packet to send [18:23:00]OFD Sender: No OFD packet to send [18:23:05]OFD Sender: No OFD packet to send [18:23:10]OFD Sender: No OFD packet to send [18:23:15]OFD Sender: No OFD packet to send [18:23:20]OFD Sender: No OFD packet to send [18:23:25]OFD Sender: No OFD packet to send [18:23:30]OFD Sender: No OFD packet to send [18:23:35]OFD Sender: No OFD packet to send [18:23:40]OFD Sender: No OFD packet to send [18:23:45]OFD Sender: No OFD packet to send [18:23:50]OFD Sender: No OFD packet to send [18:23:55]OFD Sender: No OFD packet to send [18:24:00]OFD Sender: No OFD packet to send [18:24:05]OFD Sender: No OFD packet to send [18:24:10]OFD Sender: No OFD packet to send [18:24:15]OFD Sender: No OFD packet to send [18:24:20]OFD Sender: No OFD packet to send [18:24:25]OFD Sender: No OFD packet to send [18:24:30]OFD Sender: No OFD packet to send [18:24:35]OFD Sender: No OFD packet to send [18:24:40]OFD Sender: No OFD packet to send [18:24:45]OFD Sender: No OFD packet to send [18:24:50]OFD Sender: No OFD packet to send [18:24:55]OFD Sender: No OFD packet to send [18:25:00]OFD Sender: No OFD packet to send [18:25:05]OFD Sender: No OFD packet to send [18:25:10]OFD Sender: No OFD packet to send [18:25:15]OFD Sender: No OFD packet to send [18:25:20]OFD Sender: No OFD packet to send [18:25:25]OFD Sender: No OFD packet to send [18:25:30]OFD Sender: No OFD packet to send [18:25:35]OFD Sender: No OFD packet to send [18:25:40]OFD Sender: No OFD packet to send [18:25:45]OFD Sender: No OFD packet to send [18:25:50]OFD Sender: No OFD packet to send [18:25:55]OFD Sender: No OFD packet to send [18:26:00]OFD Sender: No OFD packet to send [18:26:05]OFD Sender: No OFD packet to send [18:26:10]OFD Sender: No OFD packet to send [18:26:15]OFD Sender: No OFD packet to send [18:26:20]OFD Sender: No OFD packet to send [18:26:25]OFD Sender: No OFD packet to send [18:26:30]OFD Sender: No OFD packet to send [18:26:35]OFD Sender: No OFD packet to send [18:26:40]OFD Sender: No OFD packet to send [18:26:45]OFD Sender: No OFD packet to send [18:26:50]OFD Sender: No OFD packet to send [18:26:55]OFD Sender: No OFD packet to send [18:27:00]OFD Sender: No OFD packet to send [18:27:05]OFD Sender: No OFD packet to send [18:27:10]OFD Sender: No OFD packet to send [18:27:15]OFD Sender: No OFD packet to send [18:27:20]OFD Sender: No OFD packet to send [18:27:25]OFD Sender: No OFD packet to send [18:27:30]OFD Sender: No OFD packet to send [18:27:35]OFD Sender: No OFD packet to send [18:27:40]OFD Sender: No OFD packet to send [18:27:45]OFD Sender: No OFD packet to send [18:27:50]OFD Sender: No OFD packet to send [18:27:55]OFD Sender: No OFD packet to send [18:28:00]OFD Sender: No OFD packet to send [18:28:05]OFD Sender: No OFD packet to send [18:28:10]OFD Sender: No OFD packet to send [18:28:15]OFD Sender: No OFD packet to send [18:28:20]OFD Sender: No OFD packet to send [18:28:25]OFD Sender: No OFD packet to send [18:28:30]OFD Sender: No OFD packet to send [18:28:35]OFD Sender: No OFD packet to send [18:28:40]OFD Sender: No OFD packet to send [18:28:45]OFD Sender: No OFD packet to send [18:28:50]OFD Sender: No OFD packet to send [18:28:55]OFD Sender: No OFD packet to send [18:29:00]OFD Sender: No OFD packet to send [18:29:05]OFD Sender: No OFD packet to send [18:29:10]OFD Sender: No OFD packet to send [18:29:15]OFD Sender: No OFD packet to send [18:29:20]OFD Sender: No OFD packet to send [18:29:25]OFD Sender: No OFD packet to send [18:29:30]OFD Sender: No OFD packet to send [18:29:35]OFD Sender: No OFD packet to send [18:29:40]OFD Sender: No OFD packet to send [18:29:45]OFD Sender: No OFD packet to send [18:29:50]OFD Sender: No OFD packet to send [18:29:55]OFD Sender: No OFD packet to send [18:30:00]OFD Sender: No OFD packet to send [18:30:05]OFD Sender: No OFD packet to send [18:30:10]OFD Sender: No OFD packet to send [18:30:15]OFD Sender: No OFD packet to send [18:30:20]OFD Sender: No OFD packet to send [18:30:25]OFD Sender: No OFD packet to send [18:30:30]OFD Sender: No OFD packet to send [18:30:35]OFD Sender: No OFD packet to send [18:30:40]OFD Sender: No OFD packet to send [18:30:45]OFD Sender: No OFD packet to send [18:30:50]OFD Sender: No OFD packet to send [18:30:55]OFD Sender: No OFD packet to send [18:31:00]OFD Sender: No OFD packet to send [18:31:05]OFD Sender: No OFD packet to send [18:31:10]OFD Sender: No OFD packet to send [18:31:15]OFD Sender: No OFD packet to send [18:31:20]OFD Sender: No OFD packet to send [18:31:25]OFD Sender: No OFD packet to send [18:31:30]OFD Sender: No OFD packet to send [18:31:35]OFD Sender: No OFD packet to send [18:31:40]OFD Sender: No OFD packet to send [18:31:45]OFD Sender: No OFD packet to send [18:31:50]OFD Sender: No OFD packet to send [18:31:55]OFD Sender: No OFD packet to send [18:32:00]OFD Sender: No OFD packet to send [18:32:05]OFD Sender: No OFD packet to send [18:32:10]OFD Sender: No OFD packet to send [18:32:15]OFD Sender: No OFD packet to send [18:32:20]OFD Sender: No OFD packet to send [18:32:25]OFD Sender: No OFD packet to send [18:32:30]OFD Sender: No OFD packet to send [18:32:35]OFD Sender: No OFD packet to send [18:32:40]OFD Sender: No OFD packet to send [18:32:45]OFD Sender: No OFD packet to send [18:32:50]OFD Sender: No OFD packet to send [18:32:55]OFD Sender: No OFD packet to send [18:33:00]OFD Sender: No OFD packet to send [18:33:05]OFD Sender: No OFD packet to send [18:33:10]OFD Sender: No OFD packet to send [18:33:15]OFD Sender: No OFD packet to send [18:33:20]OFD Sender: No OFD packet to send [18:33:25]OFD Sender: No OFD packet to send [18:33:30]OFD Sender: No OFD packet to send [18:33:35]OFD Sender: No OFD packet to send [18:33:40]OFD Sender: No OFD packet to send [18:33:45]OFD Sender: No OFD packet to send [18:33:50]OFD Sender: No OFD packet to send [18:33:55]OFD Sender: No OFD packet to send [18:34:00]OFD Sender: No OFD packet to send [18:34:05]OFD Sender: No OFD packet to send [18:34:10]OFD Sender: No OFD packet to send [18:34:15]OFD Sender: No OFD packet to send [18:34:20]OFD Sender: No OFD packet to send [18:34:25]OFD Sender: No OFD packet to send [18:34:30]OFD Sender: No OFD packet to send [18:34:35]OFD Sender: No OFD packet to send [18:34:40]OFD Sender: No OFD packet to send [18:34:45]OFD Sender: No OFD packet to send [18:34:50]OFD Sender: No OFD packet to send [18:34:55]OFD Sender: No OFD packet to send [18:35:00]OFD Sender: No OFD packet to send [18:35:05]OFD Sender: No OFD packet to send [18:35:10]OFD Sender: No OFD packet to send [18:35:15]OFD Sender: No OFD packet to send [18:35:20]OFD Sender: No OFD packet to send [18:35:25]OFD Sender: No OFD packet to send [18:35:30]OFD Sender: No OFD packet to send [18:35:35]OFD Sender: No OFD packet to send [18:35:40]OFD Sender: No OFD packet to send [18:35:45]OFD Sender: No OFD packet to send [18:35:50]OFD Sender: No OFD packet to send [18:35:55]OFD Sender: No OFD packet to send [18:36:00]OFD Sender: No OFD packet to send [18:36:05]OFD Sender: No OFD packet to send [18:36:10]OFD Sender: No OFD packet to send [18:36:15]OFD Sender: No OFD packet to send [18:36:20]OFD Sender: No OFD packet to send [18:36:25]OFD Sender: No OFD packet to send [18:36:30]OFD Sender: No OFD packet to send [18:36:35]OFD Sender: No OFD packet to send [18:36:40]OFD Sender: No OFD packet to send [18:36:45]OFD Sender: No OFD packet to send [18:36:50]OFD Sender: No OFD packet to send [18:36:55]OFD Sender: No OFD packet to send [18:37:00]OFD Sender: No OFD packet to send [18:37:05]OFD Sender: No OFD packet to send [18:37:10]OFD Sender: No OFD packet to send [18:37:15]OFD Sender: No OFD packet to send [18:37:20]OFD Sender: No OFD packet to send [18:37:25]OFD Sender: No OFD packet to send [18:37:30]OFD Sender: No OFD packet to send [18:37:35]OFD Sender: No OFD packet to send [18:37:40]OFD Sender: No OFD packet to send [18:37:45]OFD Sender: No OFD packet to send [18:37:50]OFD Sender: No OFD packet to send [18:37:55]OFD Sender: No OFD packet to send [18:38:00]OFD Sender: No OFD packet to send [18:38:05]OFD Sender: No OFD packet to send [18:38:10]OFD Sender: No OFD packet to send [18:38:15]OFD Sender: No OFD packet to send [18:38:20]OFD Sender: No OFD packet to send [18:38:25]OFD Sender: No OFD packet to send [18:38:30]OFD Sender: No OFD packet to send [18:38:35]OFD Sender: No OFD packet to send [18:38:40]OFD Sender: No OFD packet to send [18:38:45]OFD Sender: No OFD packet to send [18:38:50]OFD Sender: No OFD packet to send [18:38:55]OFD Sender: No OFD packet to send [18:39:00]OFD Sender: No OFD packet to send [18:39:05]OFD Sender: No OFD packet to send [18:39:10]OFD Sender: No OFD packet to send [18:39:15]OFD Sender: No OFD packet to send [18:39:20]OFD Sender: No OFD packet to send [18:39:25]OFD Sender: No OFD packet to send [18:39:30]OFD Sender: No OFD packet to send [18:39:35]OFD Sender: No OFD packet to send [18:39:40]OFD Sender: No OFD packet to send [18:39:45]OFD Sender: No OFD packet to send [18:39:50]OFD Sender: No OFD packet to send [18:39:55]OFD Sender: No OFD packet to send [18:40:00]OFD Sender: No OFD packet to send [18:40:05]OFD Sender: No OFD packet to send [18:40:10]OFD Sender: No OFD packet to send [18:40:15]OFD Sender: No OFD packet to send [18:40:20]OFD Sender: No OFD packet to send [18:40:25]OFD Sender: No OFD packet to send [18:40:30]OFD Sender: No OFD packet to send [18:40:35]OFD Sender: No OFD packet to send [18:40:40]OFD Sender: No OFD packet to send [18:40:45]OFD Sender: No OFD packet to send [18:40:50]OFD Sender: No OFD packet to send [18:40:55]OFD Sender: No OFD packet to send [18:41:00]OFD Sender: No OFD packet to send [18:41:05]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41:25]OFD Sender: No OFD packet to send [18:41:30]OFD Sender: No OFD packet to send [18:41:35]OFD Sender: No OFD packet to send [18:41:40]OFD Sender: No OFD packet to send [18:41:45]OFD Sender: No OFD packet to send [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:36]OFD Sender: No OFD packet to send [18:42:41]OFD Sender: No OFD packet to send [18:42:46]OFD Sender: No OFD packet to send [18:42:51]OFD Sender: No OFD packet to send [18:42:56]OFD Sender: No OFD packet to send [18:43:01]OFD Sender: No OFD packet to send [18:43:06]OFD Sender: No OFD packet to send [18:43:11]OFD Sender: No OFD packet to send [18:43:16]OFD Sender: No OFD packet to send [18:43:21]OFD Sender: No OFD packet to send [18:43:26]OFD Sender: No OFD packet to send [18:43:31]OFD Sender: No OFD packet to send [18:43:36]OFD Sender: No OFD packet to send [18:43:41]OFD Sender: No OFD packet to send [18:43:46]OFD Sender: No OFD packet to send [18:43:51]OFD Sender: No OFD packet to send [18:43:56]OFD Sender: No OFD packet to send [18:44:01]OFD Sender: No OFD packet to send [18:44:06]OFD Sender: No OFD packet to send [18:44:11]OFD Sender: No OFD packet to send [18:44:16]OFD Sender: No OFD packet to send [18:44:21]OFD Sender: No OFD packet to send [18:44:26]OFD Sender: No OFD packet to send [18:44:31]OFD Sender: No OFD packet to send [18:44:36]OFD Sender: No OFD packet to send [18:44:41]OFD Sender: No OFD packet to send [18:44:46]OFD Sender: No OFD packet to send [18:44:51]OFD Sender: No OFD packet to send [18:44:56]OFD Sender: No OFD packet to send [18:45:01]OFD Sender: No OFD packet to send [18:45:06]OFD Sender: No OFD packet to send [18:45:11]OFD Sender: No OFD packet to send [18:45:16]OFD Sender: No OFD packet to send [18:45:21]OFD Sender: No OFD packet to send [18:45:26]OFD Sender: No OFD packet to send [18:45:31]OFD Sender: No OFD packet to send [18:45:36]OFD Sender: No OFD packet to send [18:45:41]OFD Sender: No OFD packet to send [18:45:46]OFD Sender: No OFD packet to send [18:45:51]OFD Sender: No OFD packet to send [18:45:56]OFD Sender: No OFD packet to send [18:46:01]OFD Sender: No OFD packet to send [18:46:06]OFD Sender: No OFD packet to send [18:46:11]OFD Sender: No OFD packet to send [18:46:16]OFD Sender: No OFD packet to send [18:46:21]OFD Sender: No OFD packet to send [18:46:26]OFD Sender: No OFD packet to send [18:46:31]OFD Sender: No OFD packet to send [18:46:36]OFD Sender: No OFD packet to send [18:46:41]OFD Sender: No OFD packet to send [18:46:46]OFD Sender: No OFD packet to send [18:46:51]OFD Sender: No OFD packet to send [18:46:56]OFD Sender: No OFD packet to send [18:47:01]OFD Sender: No OFD packet to send [18:47:06]OFD Sender: No OFD packet to send [18:47:11]OFD Sender: No OFD packet to send [18:47:16]OFD Sender: No OFD packet to send [18:47:21]OFD Sender: No OFD packet to send [18:47:26]OFD Sender: No OFD packet to send [18:47:31]OFD Sender: No OFD packet to send [18:47:36]OFD Sender: No OFD packet to send [18:47:41]OFD Sender: No OFD packet to send [18:47:46]OFD Sender: No OFD packet to send [18:47:51]OFD Sender: No OFD packet to send [18:47:56]OFD Sender: No OFD packet to send [18:48:01]OFD Sender: No OFD packet to send [18:48:06]OFD Sender: No OFD packet to send [18:48:11]OFD Sender: No OFD packet to send [18:48:16]OFD Sender: No OFD packet to send [18:48:21]OFD Sender: No OFD packet to send [18:48:26]OFD Sender: No OFD packet to send [18:48:31]OFD Sender: No OFD packet to send [18:48:36]OFD Sender: No OFD packet to send [18:48:41]OFD Sender: No OFD packet to send [18:48:46]OFD Sender: No OFD packet to send [18:48:51]OFD Sender: No OFD packet to send [18:48:56]OFD Sender: No OFD packet to send [18:49:01]OFD Sender: No OFD packet to send [18:49:06]OFD Sender: No OFD packet to send [18:49:11]OFD Sender: No OFD packet to send [18:49:16]OFD Sender: No OFD packet to send [18:49:21]OFD Sender: No OFD packet to send [18:49:26]OFD Sender: No OFD packet to send [18:49:31]OFD Sender: No OFD packet to send [18:49:36]OFD Sender: No OFD packet to send [18:49:41]OFD Sender: No OFD packet to send [18:49:46]OFD Sender: No OFD packet to send [18:49:51]OFD Sender: No OFD packet to send [18:49:56]OFD Sender: No OFD packet to send [18:50:01]OFD Sender: No OFD packet to send [18:50:06]OFD Sender: No OFD packet to send [18:50:11]OFD Sender: No OFD packet to send [18:50:16]OFD Sender: No OFD packet to send [18:50:21]OFD Sender: No OFD packet to send [18:50:26]OFD Sender: No OFD packet to send [18:50:31]OFD Sender: No OFD packet to send [18:50:36]OFD Sender: No OFD packet to send [18:50:41]OFD Sender: No OFD packet to send [18:50:46]OFD Sender: No OFD packet to send [18:50:51]OFD Sender: No OFD packet to send [18:50:56]OFD Sender: No OFD packet to send [18:51:01]OFD Sender: No OFD packet to send [18:51:06]OFD Sender: No OFD packet to send [18:51:11]OFD Sender: No OFD packet to send [18:51:16]OFD Sender: No OFD packet to send [18:51:21]OFD Sender: No OFD packet to send [18:51:26]OFD Sender: No OFD packet to send [18:51:31]OFD Sender: No OFD packet to send [18:51:36]OFD Sender: No OFD packet to send [18:51:41]OFD Sender: No OFD packet to send [18:51:46]OFD Sender: No OFD packet to send [18:51:51]OFD Sender: No OFD packet to send [18:51:56]OFD Sender: No OFD packet to send [18:52:01]OFD Sender: No OFD packet to send [18:52:06]OFD Sender: No OFD packet to send [18:52:11]OFD Sender: No OFD packet to send [18:52:16]OFD Sender: No OFD packet to send [18:52:21]OFD Sender: No OFD packet to send [18:52:26]OFD Sender: No OFD packet to send [18:52:31]OFD Sender: No OFD packet to send [18:52:36]OFD Sender: No OFD packet to send [18:52:41]OFD Sender: No OFD packet to send [18:52:46]OFD Sender: No OFD packet to send [18:52:51]OFD Sender: No OFD packet to send [18:52:56]OFD Sender: No OFD packet to send [18:53:01]OFD Sender: No OFD packet to send [18:53:06]OFD Sender: No OFD packet to send [18:53:11]OFD Sender: No OFD packet to send [18:53:16]OFD Sender: No OFD packet to send [18:53:21]OFD Sender: No OFD packet to send [18:53:26]OFD Sender: No OFD packet to send [18:53:31]OFD Sender: No OFD packet to send [18:53:36]OFD Sender: No OFD packet to send [18:53:41]OFD Sender: No OFD packet to send [18:53:46]OFD Sender: No OFD packet to send [18:53:51]OFD Sender: No OFD packet to send [18:53:56]OFD Sender: No OFD packet to send [18:54:01]OFD Sender: No OFD packet to send [18:54:06]OFD Sender: No OFD packet to send [18:54:11]OFD Sender: No OFD packet to send [18:54:16]OFD Sender: No OFD packet to send [18:54:21]OFD Sender: No OFD packet to send [18:54:26]OFD Sender: No OFD packet to send [18:54:31]OFD Sender: No OFD packet to send [18:54:36]OFD Sender: No OFD packet to send [18:54:41]OFD Sender: No OFD packet to send [18:54:46]OFD Sender: No OFD packet to send [18:54:51]OFD Sender: No OFD packet to send [18:54:56]OFD Sender: No OFD packet to send [18:55:01]OFD Sender: No OFD packet to send [18:55:06]OFD Sender: No OFD packet to send [18:55:11]OFD Sender: No OFD packet to send [18:55:16]OFD Sender: No OFD packet to send [18:55:21]OFD Sender: No OFD packet to send [18:55:26]OFD Sender: No OFD packet to send [18:55:31]OFD Sender: No OFD packet to send [18:55:36]OFD Sender: No OFD packet to send [18:55:41]OFD Sender: No OFD packet to send [18:55:46]OFD Sender: No OFD packet to send [18:55:51]OFD Sender: No OFD packet to send [18:55:56]OFD Sender: No OFD packet to send [18:56:01]OFD Sender: No OFD packet to send [18:56:06]OFD Sender: No OFD packet to send [18:56:11]OFD Sender: No OFD packet to send [18:56:16]OFD Sender: No OFD packet to send [18:56:21]OFD Sender: No OFD packet to send [18:56:26]OFD Sender: No OFD packet to send [18:56:31]OFD Sender: No OFD packet to send [18:56:36]OFD Sender: No OFD packet to send [18:56:41]OFD Sender: No OFD packet to send [18:56:46]OFD Sender: No OFD packet to send [18:56:51]OFD Sender: No OFD packet to send [18:56:56]OFD Sender: No OFD packet to send [18:57:01]OFD Sender: No OFD packet to send [18:57:06]OFD Sender: No OFD packet to send [18:57:11]OFD Sender: No OFD packet to send [18:57:16]OFD Sender: No OFD packet to send [18:57:21]OFD Sender: No OFD packet to send [18:57:26]OFD Sender: No OFD packet to send [18:57:31]OFD Sender: No OFD packet to send [18:57:36]OFD Sender: No OFD packet to send [18:57:41]OFD Sender: No OFD packet to send [18:57:46]OFD Sender: No OFD packet to send [18:57:51]OFD Sender: No OFD packet to send [18:57:56]OFD Sender: No OFD packet to send [18:58:01]OFD Sender: No OFD packet to send [18:58:06]OFD Sender: No OFD packet to send [18:58:11]OFD Sender: No OFD packet to send [18:58:16]OFD Sender: No OFD packet to send [18:58:21]OFD Sender: No OFD packet to send [18:58:26]OFD Sender: No OFD packet to send [18:58:31]OFD Sender: No OFD packet to send [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:56]OFD Sender: No OFD packet to send [19:00:01]OFD Sender: No OFD packet to send [19:00:06]OFD Sender: No OFD packet to send [19:00:11]OFD Sender: No OFD packet to send [19:00:16]OFD Sender: No OFD packet to send [19:00:21]OFD Sender: No OFD packet to send [19:00:26]OFD Sender: No OFD packet to send [19:00:31]OFD Sender: No OFD packet to send [19:00:36]OFD Sender: No OFD packet to send [19:00:41]OFD Sender: No OFD packet to send [19:00:46]OFD Sender: No OFD packet to send [19:00:51]OFD Sender: No OFD packet to send [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]OFD Sender: No OFD packet to send [19:01:31]OFD Sender: No OFD packet to send [19:01:36]OFD Sender: No OFD packet to send [19:01:41]OFD Sender: No OFD packet to send [19:01:46]OFD Sender: No OFD packet to send [19:01:51]OFD Sender: No OFD packet to send [19:01:56]OFD Sender: No OFD packet to send [19:02:01]OFD Sender: No OFD packet to send [19:02:06]OFD Sender: No OFD packet to send [19:02:11]OFD Sender: No OFD packet to send [19:02:16]OFD Sender: No OFD packet to send [19:02:21]OFD Sender: No OFD packet to send [19:02:26]OFD Sender: No OFD packet to send [19:02:31]OFD Sender: No OFD packet to send [19:02:36]OFD Sender: No OFD packet to send [19:02:41]OFD Sender: No OFD packet to send [19:02:46]OFD Sender: No OFD packet to send [19:02:51]OFD Sender: No OFD packet to send [19:02:56]OFD Sender: No OFD packet to send [19:03:01]OFD Sender: No OFD packet to send [19:03:06]OFD Sender: No OFD packet to send [19:03:11]OFD Sender: No OFD packet to send [19:03:16]OFD Sender: No OFD packet to send [19:03:21]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]OFD Sender: No OFD packet to send [19:03:52]OFD Sender: No OFD packet to send [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:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:17]OFD Sender: No OFD packet to send [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:32]OFD Sender: No OFD packet to send [19:19:37]OFD Sender: No OFD packet to send [19:19:42]OFD Sender: No OFD packet to send [19:19:47]OFD Sender: No OFD packet to send [19:19:52]OFD Sender: No OFD packet to send [19:19:57]OFD Sender: No OFD packet to send [19:20:02]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:02]OFD Sender: No OFD packet to send [19:22:07]OFD Sender: No OFD packet to send [19:22:12]OFD Sender: No OFD packet to send [19:22:17]OFD Sender: No OFD packet to send [19:22:22]OFD Sender: No OFD packet to send [19:22:27]OFD Sender: No OFD packet to send [19:22:32]OFD Sender: No OFD packet to send [19:22:37]OFD Sender: No OFD packet to send [19:22:42]OFD Sender: No OFD packet to send [19:22:47]OFD Sender: No OFD packet to send [19:22:52]OFD Sender: No OFD packet to send [19:22:57]OFD Sender: No OFD packet to send [19:23:02]OFD Sender: No OFD packet to send [19:23:07]OFD Sender: No OFD packet to send [19:23:12]OFD Sender: No OFD packet to send [19:23:17]OFD Sender: No OFD packet to send [19:23:22]OFD Sender: No OFD packet to send [19:23:27]OFD Sender: No OFD packet to send [19:23:32]OFD Sender: No OFD packet to send [19:23:37]OFD Sender: No OFD packet to send [19:23:42]OFD Sender: No OFD packet to send [19:23:47]OFD Sender: No OFD packet to send [19:23:52]OFD Sender: No OFD packet to send [19:23:57]OFD Sender: No OFD packet to send [19:24:02]OFD Sender: No OFD packet to send [19:24:07]OFD Sender: No OFD packet to send [19:24: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:13]OFD Sender: No OFD packet to send [19:33:18]OFD Sender: No OFD packet to send [19:33:23]OFD Sender: No OFD packet to send [19:33:28]OFD Sender: No OFD packet to send [19:33:33]OFD Sender: No OFD packet to send [19:33:38]OFD Sender: No OFD packet to send [19:33:43]OFD Sender: No OFD packet to send [19:33:48]OFD Sender: No OFD packet to send [19:33:53]OFD Sender: No OFD packet to send [19:33:58]OFD Sender: No OFD packet to send [19:34:03]OFD Sender: No OFD packet to send [19:34:08]OFD Sender: No OFD packet to send [19:34:13]OFD Sender: No OFD packet to send [19:34:18]OFD Sender: No OFD packet to send [19:34:23]OFD Sender: No OFD packet to send [19:34:28]OFD Sender: No OFD packet to send [19:34:33]OFD Sender: No OFD packet to send [19:34:38]OFD Sender: No OFD packet to send [19:34:43]OFD Sender: No OFD packet to send [19:34:48]OFD Sender: No OFD packet to send [19:34:53]OFD Sender: No OFD packet to send [19:34:58]OFD Sender: No OFD packet to send [19:35:03]OFD Sender: No OFD packet to send [19:35:08]OFD Sender: No OFD packet to send [19:35:13]OFD Sender: No OFD packet to send [19:35:18]OFD Sender: No OFD packet to send [19:35:23]OFD Sender: No OFD packet to send [19:35:28]OFD Sender: No OFD packet to send [19:35:33]OFD Sender: No OFD packet to send [19:35:38]OFD Sender: No OFD packet to send [19:35:43]OFD Sender: No OFD packet to send [19:35:48]OFD Sender: No OFD packet to send [19:35:53]OFD Sender: No OFD packet to send [19:35:58]OFD Sender: No OFD packet to send [19:36:03]OFD Sender: No OFD packet to send [19:36:08]OFD Sender: No OFD packet to send [19:36:13]OFD Sender: No OFD packet to send [19:36:18]OFD Sender: No OFD packet to send [19:36:23]OFD Sender: No OFD packet to send [19:36:28]OFD Sender: No OFD packet to send [19:36:33]OFD Sender: No OFD packet to send [19:36:38]OFD Sender: No OFD packet to send [19:36:43]OFD Sender: No OFD packet to send [19:36:48]OFD Sender: No OFD packet to send [19:36:53]OFD Sender: No OFD packet to send [19:36:58]OFD Sender: No OFD packet to send [19:37:03]OFD Sender: No OFD packet to send [19:37:08]OFD Sender: No OFD packet to send [19:37:13]OFD Sender: No OFD packet to send [19:37:18]OFD Sender: No OFD packet to send [19:37:23]OFD Sender: No OFD packet to send [19:37:28]OFD Sender: No OFD packet to send [19:37:33]OFD Sender: No OFD packet to send [19:37:38]OFD Sender: No OFD packet to send [19:37:43]OFD Sender: No OFD packet to send [19:37:48]OFD Sender: No OFD packet to send [19:37:53]OFD Sender: No OFD packet to send [19:37:58]OFD Sender: No OFD packet to send [19:38:03]OFD Sender: No OFD packet to send [19:38:08]OFD Sender: No OFD packet to send [19:38:13]OFD Sender: No OFD packet to send [19:38:18]OFD Sender: No OFD packet to send [19:38:23]OFD Sender: No OFD packet to send [19:38:28]OFD Sender: No OFD packet to send [19:38:33]OFD Sender: No OFD packet to send [19:38:38]OFD Sender: No OFD packet to send [19:38:43]OFD Sender: No OFD packet to send [19:38:48]OFD Sender: No OFD packet to send [19:38:53]OFD Sender: No OFD packet to send [19:38:58]OFD Sender: No OFD packet to send [19:39:03]OFD Sender: No OFD packet to send [19:39:08]OFD Sender: No OFD packet to send [19:39:13]OFD Sender: No OFD packet to send [19:39:18]OFD Sender: No OFD packet to send [19:39:23]OFD Sender: No OFD packet to send [19:39:28]OFD Sender: No OFD packet to send [19:39:33]OFD Sender: No OFD packet to send [19:39:38]OFD Sender: No OFD packet to send [19:39:43]OFD Sender: No OFD packet to send [19:39:48]OFD Sender: No OFD packet to send [19:39:53]OFD Sender: No OFD packet to send [19:39:58]OFD Sender: No OFD packet to send [19:40:03]OFD Sender: No OFD packet to send [19:40:08]OFD Sender: No OFD packet to send [19:40:13]OFD Sender: No OFD packet to send [19:40:18]OFD Sender: No OFD packet to send [19:40:23]OFD Sender: No OFD packet to send [19:40:28]OFD Sender: No OFD packet to send [19:40:33]OFD Sender: No OFD packet to send [19:40:38]OFD Sender: No OFD packet to send [19:40:43]OFD Sender: No OFD packet to send [19:40:48]OFD Sender: No OFD packet to send [19:40:53]OFD Sender: No OFD packet to send [19:40:58]OFD Sender: No OFD packet to send [19:41:03]OFD Sender: No OFD packet to send [19:41:08]OFD Sender: No OFD packet to send [19:41:13]OFD Sender: No OFD packet to send [19:41:18]OFD Sender: No OFD packet to send [19:41:23]OFD Sender: No OFD packet to send [19:41:28]OFD Sender: No OFD packet to send [19:41:33]OFD Sender: No OFD packet to send [19:41:38]OFD Sender: No OFD packet to send [19:41:43]OFD Sender: No OFD packet to send [19:41:48]OFD Sender: No OFD packet to send [19:41:53]OFD Sender: No OFD packet to send [19:41:58]OFD Sender: No OFD packet to send [19:42:03]OFD Sender: No OFD packet to send [19:42:08]OFD Sender: No OFD packet to send [19:42:13]OFD Sender: No OFD packet to send [19:42:18]OFD Sender: No OFD packet to send [19:42:23]OFD Sender: No OFD packet to send [19:42:28]OFD Sender: No OFD packet to send [19:42:33]OFD Sender: No OFD packet to send [19:42:38]OFD Sender: No OFD packet to send [19:42:43]OFD Sender: No OFD packet to send [19:42:48]OFD Sender: No OFD packet to send [19:42:53]OFD Sender: No OFD packet to send [19:42:58]OFD Sender: No OFD packet to send [19:43:03]OFD Sender: No OFD packet to send [19:43:08]OFD Sender: No OFD packet to send [19:43:13]OFD Sender: No OFD packet to send [19:43:18]OFD Sender: No OFD packet to send [19:43:23]OFD Sender: No OFD packet to send [19:43:28]OFD Sender: No OFD packet to send [19:43:33]OFD Sender: No OFD packet to send [19:43:38]OFD Sender: No OFD packet to send [19:43:43]OFD Sender: No OFD packet to send [19:43:48]OFD Sender: No OFD packet to send [19:43:53]OFD Sender: No OFD packet to send [19:43:58]OFD Sender: No OFD packet to send [19:44:03]OFD Sender: No OFD packet to send [19:44:08]OFD Sender: No OFD packet to send [19:44:13]OFD Sender: No OFD packet to send [19:44:18]OFD Sender: No OFD packet to send [19:44:23]OFD Sender: No OFD packet to send [19:44:28]OFD Sender: No OFD packet to send [19:44:33]OFD Sender: No OFD packet to send [19:44:38]OFD Sender: No OFD packet to send [19:44:43]OFD Sender: No OFD packet to send [19:44:48]OFD Sender: No OFD packet to send [19:44:53]OFD Sender: No OFD packet to send [19:44:58]OFD Sender: No OFD packet to send [19:45:04]OFD Sender: No OFD packet to send [19:45:09]OFD Sender: No OFD packet to send [19:45:14]OFD Sender: No OFD packet to send [19:45:19]OFD Sender: No OFD packet to send [19:45:24]OFD Sender: No OFD packet to send [19:45:29]OFD Sender: No OFD packet to send [19:45:34]OFD Sender: No OFD packet to send [19:45:39]OFD Sender: No OFD packet to send [19:45:44]OFD Sender: No OFD packet to send [19:45:49]OFD Sender: No OFD packet to send [19:45:54]OFD Sender: No OFD packet to send [19:45:59]OFD Sender: No OFD packet to send [19:46:04]OFD Sender: No OFD packet to send [19:46:09]OFD Sender: No OFD packet to send [19:46:14]OFD Sender: No OFD packet to send [19:46:19]OFD Sender: No OFD packet to send [19:46:24]OFD Sender: No OFD packet to send [19:46:29]OFD Sender: No OFD packet to send [19:46:34]OFD Sender: No OFD packet to send [19:46:39]OFD Sender: No OFD packet to send [19:46:44]OFD Sender: No OFD packet to send [19:46:49]OFD Sender: No OFD packet to send [19:46:54]OFD Sender: No OFD packet to send [19:46:59]OFD Sender: No OFD packet to send [19:47:04]OFD Sender: No OFD packet to send [19:47:09]OFD Sender: No OFD packet to send [19:47:14]OFD Sender: No OFD packet to send [19:47:19]OFD Sender: No OFD packet to send [19:47:24]OFD Sender: No OFD packet to send [19:47:29]OFD Sender: No OFD packet to send [19:47:34]OFD Sender: No OFD packet to send [19:47:39]OFD Sender: No OFD packet to send [19:47:44]OFD Sender: No OFD packet to send [19:47:49]OFD Sender: No OFD packet to send [19:47:54]OFD Sender: No OFD packet to send [19:47:59]OFD Sender: No OFD packet to send [19:48:04]OFD Sender: No OFD packet to send [19:48:09]OFD Sender: No OFD packet to send [19:48:14]OFD Sender: No OFD packet to send [19:48:19]OFD Sender: No OFD packet to send [19:48:24]OFD Sender: No OFD packet to send [19:48:29]OFD Sender: No OFD packet to send [19:48:34]OFD Sender: No OFD packet to send [19:48:39]OFD Sender: No OFD packet to send [19:48:44]OFD Sender: No OFD packet to send [19:48:49]OFD Sender: No OFD packet to send [19:48:54]OFD Sender: No OFD packet to send [19:48:59]OFD Sender: No OFD packet to send [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:29]OFD Sender: No OFD packet to send [19:55:34]OFD Sender: No OFD packet to send [19:55:39]OFD Sender: No OFD packet to send [19:55:44]OFD Sender: No OFD packet to send [19:55:49]OFD Sender: No OFD packet to send [19:55:54]OFD Sender: No OFD packet to send [19:55:59]OFD Sender: No OFD packet to send [19:56:04]OFD Sender: No OFD packet to send [19:56:09]OFD Sender: No OFD packet to send [19:56:14]OFD Sender: No OFD packet to send [19:56:19]OFD Sender: No OFD packet to send [19:56:24]OFD Sender: No OFD packet to send [19:56:29]OFD Sender: No OFD packet to send [19:56:34]OFD Sender: No OFD packet to send [19:56:39]OFD Sender: No OFD packet to send [19:56:44]OFD Sender: No OFD packet to send [19:56:49]OFD Sender: No OFD packet to send [19:56:54]OFD Sender: No OFD packet to send [19:56:59]OFD Sender: No OFD packet to send [19:57:04]OFD Sender: No OFD packet to send [19:57:09]OFD Sender: No OFD packet to send [19:57:14]OFD Sender: No OFD packet to send [19:57:19]OFD Sender: No OFD packet to send [19:57:24]OFD Sender: No OFD packet to send [19:57:29]OFD Sender: No OFD packet to send [19:57:34]OFD Sender: No OFD packet to send [19:57:39]OFD Sender: No OFD packet to send [19:57:44]OFD Sender: No OFD packet to send [19:57:49]OFD Sender: No OFD packet to send [19:57:54]OFD Sender: No OFD packet to send [19:57:59]OFD Sender: No OFD packet to send [19:58:04]OFD Sender: No OFD packet to send [19:58:09]OFD Sender: No OFD packet to send [19:58:14]OFD Sender: No OFD packet to send [19:58:19]OFD Sender: No OFD packet to send [19:58:24]OFD Sender: No OFD packet to send [19:58:29]OFD Sender: No OFD packet to send [19:58:34]OFD Sender: No OFD packet to send [19:58:39]OFD Sender: No OFD packet to send [19:58:44]OFD Sender: No OFD packet to send [19:58:49]OFD Sender: No OFD packet to send [19:58:54]OFD Sender: No OFD packet to send [19:58:59]OFD Sender: No OFD packet to send [19:59:04]OFD Sender: No OFD packet to send [19:59:09]OFD Sender: No OFD packet to send [19:59:14]OFD Sender: No OFD packet to send [19:59:19]OFD Sender: No OFD packet to send [19:59:24]OFD Sender: No OFD packet to send [19:59:29]OFD Sender: No OFD packet to send [19:59:34]OFD Sender: No OFD packet to send [19:59:39]OFD Sender: No OFD packet to send [19:59:44]OFD Sender: No OFD packet to send [19:59:49]OFD Sender: No OFD packet to send [19:59:54]OFD Sender: No OFD packet to send [19:59:59]OFD Sender: No OFD packet to send [20:00:04]OFD Sender: No OFD packet to send [20:00:09]OFD Sender: No OFD packet to send [20:00:14]OFD Sender: No OFD packet to send [20:00:19]OFD Sender: No OFD packet to send [20:00:24]OFD Sender: No OFD packet to send [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:50]OFD Sender: No OFD packet to send [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:15]OFD Sender: No OFD packet to send [20:08:20]OFD Sender: No OFD packet to send [20:08:25]OFD Sender: No OFD packet to send [20:08:30]OFD Sender: No OFD packet to send [20:08:35]OFD Sender: No OFD packet to send [20:08:40]OFD Sender: No OFD packet to send [20:08:45]OFD Sender: No OFD packet to send [20:08:50]OFD Sender: No OFD packet to send [20:08:55]OFD Sender: No OFD packet to send [20:09:00]OFD Sender: No OFD packet to send [20:09:05]OFD Sender: No OFD packet to send [20:09:10]OFD Sender: No OFD packet to send [20:09:15]OFD Sender: No OFD packet to send [20:09:20]OFD Sender: No OFD packet to send [20:09:25]OFD Sender: No OFD packet to send [20:09:30]OFD Sender: No OFD packet to send [20:09:35]OFD Sender: No OFD packet to send [20:09:40]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:45]OFD Sender: No OFD packet to send [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:35]OFD Sender: No OFD packet to send [20:16:40]OFD Sender: No OFD packet to send [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:15]OFD Sender: No OFD packet to send [20:17:20]OFD Sender: No OFD packet to send [20:17:25]OFD Sender: No OFD packet to send [20:17:30]OFD Sender: No OFD packet to send [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:31]OFD Sender: No OFD packet to send [20:26:36]OFD Sender: No OFD packet to send [20:26:41]OFD Sender: No OFD packet to send [20:26:46]OFD Sender: No OFD packet to send [20:26:51]OFD Sender: No OFD packet to send [20:26:56]OFD Sender: No OFD packet to send [20:27:01]OFD Sender: No OFD packet to send [20:27:06]OFD Sender: No OFD packet to send [20:27:11]OFD Sender: No OFD packet to send [20:27:16]OFD Sender: No OFD packet to send [20:27:21]OFD Sender: No OFD packet to send [20:27:26]OFD Sender: No OFD packet to send [20:27:31]OFD Sender: No OFD packet to send [20:27:36]OFD Sender: No OFD packet to send [20:27:41]OFD Sender: No OFD packet to send [20:27:46]OFD Sender: No OFD packet to send [20:27:51]OFD Sender: No OFD packet to send [20:27:56]OFD Sender: No OFD packet to send [20:28:01]OFD Sender: No OFD packet to send [20:28:06]OFD Sender: No OFD packet to send [20:28:11]OFD Sender: No OFD packet to send [20:28:16]OFD Sender: No OFD packet to send [20:28:21]OFD Sender: No OFD packet to send [20:28:26]OFD Sender: No OFD packet to send [20:28:31]OFD Sender: No OFD packet to send [20:28:36]OFD Sender: No OFD packet to send [20:28:41]OFD Sender: No OFD packet to send [20:28:46]OFD Sender: No OFD packet to send [20:28:51]OFD Sender: No OFD packet to send [20:28:56]OFD Sender: No OFD packet to send [20:29:01]OFD Sender: No OFD packet to send [20:29:06]OFD Sender: No OFD packet to send [20:29:11]OFD Sender: No OFD packet to send [20:29:16]OFD Sender: No OFD packet to send [20:29:21]OFD Sender: No OFD packet to send [20:29:26]OFD Sender: No OFD packet to send [20:29:31]OFD Sender: No OFD packet to send [20:29:36]OFD Sender: No OFD packet to send [20:29:41]OFD Sender: No OFD packet to send [20:29:46]OFD Sender: No OFD packet to send [20:29:51]OFD Sender: No OFD packet to send [20:29:56]OFD Sender: No OFD packet to send [20:30:01]OFD Sender: No OFD packet to send [20:30:06]OFD Sender: No OFD packet to send [20:30:11]OFD Sender: No OFD packet to send [20:30:16]OFD Sender: No OFD packet to send [20:30:21]OFD Sender: No OFD packet to send [20:30:26]OFD Sender: No OFD packet to send [20:30:31]OFD Sender: No OFD packet to send [20:30:36]OFD Sender: No OFD packet to send [20:30:41]OFD Sender: No OFD packet to send [20:30:46]OFD Sender: No OFD packet to send [20:30:51]OFD Sender: No OFD packet to send [20:30:56]OFD Sender: No OFD packet to send [20:31:01]OFD Sender: No OFD packet to send [20:31:06]OFD Sender: No OFD packet to send [20:31:11]OFD Sender: No OFD packet to send [20:31:16]OFD Sender: No OFD packet to send [20:31:21]OFD Sender: No OFD packet to send [20:31:26]OFD Sender: No OFD packet to send [20:31:31]OFD Sender: No OFD packet to send [20:31:36]OFD Sender: No OFD packet to send [20:31:41]OFD Sender: No OFD packet to send [20:31:46]OFD Sender: No OFD packet to send [20:31:51]OFD Sender: No OFD packet to send [20:31:56]OFD Sender: No OFD packet to send [20:32:01]OFD Sender: No OFD packet to send [20:32:06]OFD Sender: No OFD packet to send [20:32:11]OFD Sender: No OFD packet to send [20:32:16]OFD Sender: No OFD packet to send [20:32:21]OFD Sender: No OFD packet to send [20:32:26]OFD Sender: No OFD packet to send [20:32:31]OFD Sender: No OFD packet to send [20:32:36]OFD Sender: No OFD packet to send [20:32:41]OFD Sender: No OFD packet to send [20:32:46]OFD Sender: No OFD packet to send [20:32:51]OFD Sender: No OFD packet to send [20:32:56]OFD Sender: No OFD packet to send [20:33:01]OFD Sender: No OFD packet to send [20:33:06]OFD Sender: No OFD packet to send [20:33:11]OFD Sender: No OFD packet to send [20:33:16]OFD Sender: No OFD packet to send [20:33:21]OFD Sender: No OFD packet to send [20:33:26]OFD Sender: No OFD packet to send [20:33:31]OFD Sender: No OFD packet to send [20:33:36]OFD Sender: No OFD packet to send [20:33:41]OFD Sender: No OFD packet to send [20:33:46]OFD Sender: No OFD packet to send [20:33:51]OFD Sender: No OFD packet to send [20:33:56]OFD Sender: No OFD packet to send [20:34:01]OFD Sender: No OFD packet to send [20:34:06]OFD Sender: No OFD packet to send [20:34:11]OFD Sender: No OFD packet to send [20:34:16]OFD Sender: No OFD packet to send [20:34:21]OFD Sender: No OFD packet to send [20:34:26]OFD Sender: No OFD packet to send [20:34:31]OFD Sender: No OFD packet to send [20:34:36]OFD Sender: No OFD packet to send [20:34:41]OFD Sender: No OFD packet to send [20:34:46]OFD Sender: No OFD packet to send [20:34:51]OFD Sender: No OFD packet to send [20:34:56]OFD Sender: No OFD packet to send [20:35:01]OFD Sender: No OFD packet to send [20:35:06]OFD Sender: No OFD packet to send [20:35:11]OFD Sender: No OFD packet to send [20:35:16]OFD Sender: No OFD packet to send [20:35:21]OFD Sender: No OFD packet to send [20:35:26]OFD Sender: No OFD packet to send [20:35:31]OFD Sender: No OFD packet to send [20:35:36]OFD Sender: No OFD packet to send [20:35:41]OFD Sender: No OFD packet to send [20:35:46]OFD Sender: No OFD packet to send [20:35:51]OFD Sender: No OFD packet to send [20:35:56]OFD Sender: No OFD packet to send [20:36:01]OFD Sender: No OFD packet to send [20:36:06]OFD Sender: No OFD packet to send [20:36:11]OFD Sender: No OFD packet to send [20:36:16]OFD Sender: No OFD packet to send [20:36:21]OFD Sender: No OFD packet to send [20:36:26]OFD Sender: No OFD packet to send [20:36:31]OFD Sender: No OFD packet to send [20:36:36]OFD Sender: No OFD packet to send [20:36:41]OFD Sender: No OFD packet to send [20:36:46]OFD Sender: No OFD packet to send [20:36:51]OFD Sender: No OFD packet to send [20:36:56]OFD Sender: No OFD packet to send [20:37:01]OFD Sender: No OFD packet to send [20:37:06]OFD Sender: No OFD packet to send [20:37:11]OFD Sender: No OFD packet to send [20:37:16]OFD Sender: No OFD packet to send [20:37:21]OFD Sender: No OFD packet to send [20:37:26]OFD Sender: No OFD packet to send [20:37:31]OFD Sender: No OFD packet to send [20:37:36]OFD Sender: No OFD packet to send [20:37:41]OFD Sender: No OFD packet to send [20:37:46]OFD Sender: No OFD packet to send [20:37:51]OFD Sender: No OFD packet to send [20:37:56]OFD Sender: No OFD packet to send [20:38:01]OFD Sender: No OFD packet to send [20:38:06]OFD Sender: No OFD packet to send [20:38:11]OFD Sender: No OFD packet to send [20:38:16]OFD Sender: No OFD packet to send [20:38:21]OFD Sender: No OFD packet to send [20:38:26]OFD Sender: No OFD packet to send [20:38:31]OFD Sender: No OFD packet to send [20:38:36]OFD Sender: No OFD packet to send [20:38:41]OFD Sender: No OFD packet to send [20:38:46]OFD Sender: No OFD packet to send [20:38:51]OFD Sender: No OFD packet to send [20:38:56]OFD Sender: No OFD packet to send [20:39:01]OFD Sender: No OFD packet to send [20:39:06]OFD Sender: No OFD packet to send [20:39:11]OFD Sender: No OFD packet to send [20:39:16]OFD Sender: No OFD packet to send [20:39:21]OFD Sender: No OFD packet to send [20:39:26]OFD Sender: No OFD packet to send [20:39:31]OFD Sender: No OFD packet to send [20:39:36]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:46]OFD Sender: No OFD packet to send [20:42:51]OFD Sender: No OFD packet to send [20:42:56]OFD Sender: No OFD packet to send [20:43:01]OFD Sender: No OFD packet to send [20:43:06]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:36]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:46]OFD Sender: No OFD packet to send [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:21]OFD Sender: No OFD packet to send [20:46:26]OFD Sender: No OFD packet to send [20:46:31]OFD Sender: No OFD packet to send [20:46:36]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:22]OFD Sender: No OFD packet to send [20:47:27]OFD Sender: No OFD packet to send [20:47:32]OFD Sender: No OFD packet to send [20:47:37]OFD Sender: No OFD packet to send [20:47:42]OFD Sender: No OFD packet to send [20:47:47]OFD Sender: No OFD packet to send [20:47:52]OFD Sender: No OFD packet to send [20:47:57]OFD Sender: No OFD packet to send [20:48:02]OFD Sender: No OFD packet to send [20:48:07]OFD Sender: No OFD packet to send [20:48:12]OFD Sender: No OFD packet to send [20:48:17]OFD Sender: No OFD packet to send [20:48:22]OFD Sender: No OFD packet to send [20:48:27]OFD Sender: No OFD packet to send [20:48:32]OFD Sender: No OFD packet to send [20:48:37]OFD Sender: No OFD packet to send [20:48:42]OFD Sender: No OFD packet to send [20:48:47]OFD Sender: No OFD packet to send [20:48:52]OFD Sender: No OFD packet to send [20:48:57]OFD Sender: No OFD packet to send [20:49:02]OFD Sender: No OFD packet to send [20:49:07]OFD Sender: No OFD packet to send [20:49:12]OFD Sender: No OFD packet to send [20:49:17]OFD Sender: No OFD packet to send [20:49:22]OFD Sender: No OFD packet to send [20:49:27]OFD Sender: No OFD packet to send [20:49:32]OFD Sender: No OFD packet to send [20:49:37]OFD Sender: No OFD packet to send [20:49:42]OFD Sender: No OFD packet to send [20:49:47]OFD Sender: No OFD packet to send [20:49:52]OFD Sender: No OFD packet to send [20:49:57]OFD Sender: No OFD packet to send [20:50:02]OFD Sender: No OFD packet to send [20:50:07]OFD Sender: No OFD packet to send [20:50:12]OFD Sender: No OFD packet to send [20:50:17]OFD Sender: No OFD packet to send [20:50:22]OFD Sender: No OFD packet to send [20:50:27]OFD Sender: No OFD packet to send [20:50:32]OFD Sender: No OFD packet to send [20:50:37]OFD Sender: No OFD packet to send [20:50:42]OFD Sender: No OFD packet to send [20:50:47]OFD Sender: No OFD packet to send [20:50:52]OFD Sender: No OFD packet to send [20:50:57]OFD Sender: No OFD packet to send [20:51:02]OFD Sender: No OFD packet to send [20:51:07]OFD Sender: No OFD packet to send [20:51:12]OFD Sender: No OFD packet to send [20:51:17]OFD Sender: No OFD packet to send [20:51:22]OFD Sender: No OFD packet to send [20:51:27]OFD Sender: No OFD packet to send [20:51:32]OFD Sender: No OFD packet to send [20:51:37]OFD Sender: No OFD packet to send [20:51:42]OFD Sender: No OFD packet to send [20:51:47]OFD Sender: No OFD packet to send [20:51:52]OFD Sender: No OFD packet to send [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:17]OFD Sender: No OFD packet to send [20:59:22]OFD Sender: No OFD packet to send [20:59:27]OFD Sender: No OFD packet to send [20:59:32]OFD Sender: No OFD packet to send [20:59:37]OFD Sender: No OFD packet to send [20:59:42]OFD Sender: No OFD packet to send [20:59:47]OFD Sender: No OFD packet to send [20:59:52]OFD Sender: No OFD packet to send [20:59:57]OFD Sender: No OFD packet to send [21:00:02]OFD Sender: No OFD packet to send [21:00:07]OFD Sender: No OFD packet to send [21:00:12]OFD Sender: No OFD packet to send [21:00:17]OFD Sender: No OFD packet to send [21:00:22]OFD Sender: No OFD packet to send [21:00:27]OFD Sender: No OFD packet to send [21:00:32]OFD Sender: No OFD packet to send [21:00:37]OFD Sender: No OFD packet to send [21:00:42]OFD Sender: No OFD packet to send [21:00:47]OFD Sender: No OFD packet to send [21:00:52]OFD Sender: No OFD packet to send [21:00:57]OFD Sender: No OFD packet to send [21:01:02]OFD Sender: No OFD packet to send [21:01:07]OFD Sender: No OFD packet to send [21:01:12]OFD Sender: No OFD packet to send [21:01:17]OFD Sender: No OFD packet to send [21:01:22]OFD Sender: No OFD packet to send [21:01:27]OFD Sender: No OFD packet to send [21:01:32]OFD Sender: No OFD packet to send [21:01:37]OFD Sender: No OFD packet to send [21:01:42]OFD Sender: No OFD packet to send [21:01:47]OFD Sender: No OFD packet to send [21:01:52]OFD Sender: No OFD packet to send [21:01:57]OFD Sender: No OFD packet to send [21:02:02]OFD Sender: No OFD packet to send [21:02:07]OFD Sender: No OFD packet to send [21:02:12]OFD Sender: No OFD packet to send [21:02:17]OFD Sender: No OFD packet to send [21:02:22]OFD Sender: No OFD packet to send [21:02:27]OFD Sender: No OFD packet to send [21:02:32]OFD Sender: No OFD packet to send [21:02:37]OFD Sender: No OFD packet to send [21:02:42]OFD Sender: No OFD packet to send [21:02:47]OFD Sender: No OFD packet to send [21:02:52]OFD Sender: No OFD packet to send [21:02:57]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08: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:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]OFD Sender: No OFD packet to send [21:22:03]OFD Sender: No OFD packet to send [21:22:08]OFD Sender: No OFD packet to send [21:22:13]OFD Sender: No OFD packet to send [21:22:18]OFD Sender: No OFD packet to send [21:22:23]OFD Sender: No OFD packet to send [21:22:28]OFD Sender: No OFD packet to send [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:28]OFD Sender: No OFD packet to send [21:23:33]OFD Sender: No OFD packet to send [21:23:38]OFD Sender: No OFD packet to send [21:23:43]OFD Sender: No OFD packet to send [21:23:48]OFD Sender: No OFD packet to send [21:23:53]OFD Sender: No OFD packet to send [21:23:58]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:18]OFD Sender: No OFD packet to send [21:24:23]OFD Sender: No OFD packet to send [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:48]OFD Sender: No OFD packet to send [21:24:53]OFD Sender: No OFD packet to send [21:24:58]OFD Sender: No OFD packet to send [21:25:03]OFD Sender: No OFD packet to send [21:25:08]OFD Sender: No OFD packet to send [21:25:13]OFD Sender: No OFD packet to send [21:25:18]OFD Sender: No OFD packet to send [21:25:23]OFD Sender: No OFD packet to send [21:25:28]OFD Sender: No OFD packet to send [21:25:33]OFD Sender: No OFD packet to send [21:25:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29: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:44]OFD Sender: No OFD packet to send [21:40:49]OFD Sender: No OFD packet to send [21:40:54]OFD Sender: No OFD packet to send [21:40:59]OFD Sender: No OFD packet to send [21:41:04]OFD Sender: No OFD packet to send [21:41:09]OFD Sender: No OFD packet to send [21:41:14]OFD Sender: No OFD packet to send [21:41:19]OFD Sender: No OFD packet to send [21:41:24]OFD Sender: No OFD packet to send [21:41:29]OFD Sender: No OFD packet to send [21:41:34]OFD Sender: No OFD packet to send [21:41:39]OFD Sender: No OFD packet to send [21:41:44]OFD Sender: No OFD packet to send [21:41:49]OFD Sender: No OFD packet to send [21:41:54]OFD Sender: No OFD packet to send [21:41:59]OFD Sender: No OFD packet to send [21:42:04]OFD Sender: No OFD packet to send [21:42:09]OFD Sender: No OFD packet to send [21:42:14]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:14]OFD Sender: No OFD packet to send [21:46:19]OFD Sender: No OFD packet to send [21:46:24]OFD Sender: No OFD packet to send [21:46:29]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:04]OFD Sender: No OFD packet to send [21:47:09]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:34]OFD Sender: No OFD packet to send [21:48:39]OFD Sender: No OFD packet to send [21:48:44]OFD Sender: No OFD packet to send [21:48:49]OFD Sender: No OFD packet to send [21:48:54]OFD Sender: No OFD packet to send [21:48:59]OFD Sender: No OFD packet to send [21:49:04]OFD Sender: No OFD packet to send [21:49:09]OFD Sender: No OFD packet to send [21:49:14]OFD Sender: No OFD packet to send [21:49:19]OFD Sender: No OFD packet to send [21:49:24]OFD Sender: No OFD packet to send [21:49:29]OFD Sender: No OFD packet to send [21:49:34]OFD Sender: No OFD packet to send [21:49:39]OFD Sender: No OFD packet to send [21:49:44]OFD Sender: No OFD packet to send [21:49:49]OFD Sender: No OFD packet to send [21:49:54]OFD Sender: No OFD packet to send [21:49:59]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:55]OFD Sender: No OFD packet to send [22:02:00]OFD Sender: No OFD packet to send [22:02:05]OFD Sender: No OFD packet to send [22:02:10]OFD Sender: No OFD packet to send [22:02:15]OFD Sender: No OFD packet to send [22:02:20]OFD Sender: No OFD packet to send [22:02:25]OFD Sender: No OFD packet to send [22:02:30]OFD Sender: No OFD packet to send [22:02:35]OFD Sender: No OFD packet to send [22:02:40]OFD Sender: No OFD packet to send [22:02:45]OFD Sender: No OFD packet to send [22:02:50]OFD Sender: No OFD packet to send [22:02:55]OFD Sender: No OFD packet to send [22:03:00]OFD Sender: No OFD packet to send [22:03:05]OFD Sender: No OFD packet to send [22:03:10]OFD Sender: No OFD packet to send [22:03:15]OFD Sender: No OFD packet to send [22:03:20]OFD Sender: No OFD packet to send [22:03:25]OFD Sender: No OFD packet to send [22:03:30]OFD Sender: No OFD packet to send [22:03:35]OFD Sender: No OFD packet to send [22:03:40]OFD Sender: No OFD packet to send [22:03:45]OFD Sender: No OFD packet to send [22:03:50]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:04:00]OFD Sender: No OFD packet to send [22:04:05]OFD Sender: No OFD packet to send [22:04:10]OFD Sender: No OFD packet to send [22:04:15]OFD Sender: No OFD packet to send [22:04:20]OFD Sender: No OFD packet to send [22:04:25]OFD Sender: No OFD packet to send [22:04:30]OFD Sender: No OFD packet to send [22:04:35]OFD Sender: No OFD packet to send [22:04:40]OFD Sender: No OFD packet to send [22:04:45]OFD Sender: No OFD packet to send [22:04:50]OFD Sender: No OFD packet to send [22:04:55]OFD Sender: No OFD packet to send [22:05:00]OFD Sender: No OFD packet to send [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10: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:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31: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:57]OFD Sender: No OFD packet to send [22:45:02]OFD Sender: No OFD packet to send [22:45:07]OFD Sender: No OFD packet to send [22:45:12]OFD Sender: No OFD packet to send [22:45:17]OFD Sender: No OFD packet to send [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:17]OFD Sender: No OFD packet to send [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:32]OFD Sender: No OFD packet to send [22:46:37]OFD Sender: No OFD packet to send [22:46:42]OFD Sender: No OFD packet to send [22:46:47]OFD Sender: No OFD packet to send [22:46:52]OFD Sender: No OFD packet to send [22:46:57]OFD Sender: No OFD packet to send [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:22]OFD Sender: No OFD packet to send [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]OFD Sender: No OFD packet to send [22:51:02]OFD Sender: No OFD packet to send [22:51:07]OFD Sender: No OFD packet to send [22:51:12]OFD Sender: No OFD packet to send [22:51:17]OFD Sender: No OFD packet to send [22:51:22]OFD Sender: No OFD packet to send [22:51:27]OFD Sender: No OFD packet to send [22:51:32]OFD Sender: No OFD packet to send [22:51:37]OFD Sender: No OFD packet to send [22:51:42]OFD Sender: No OFD packet to send [22:51:47]OFD Sender: No OFD packet to send [22:51:52]OFD Sender: No OFD packet to send [22:51:57]OFD Sender: No OFD packet to send [22:52:02]OFD Sender: No OFD packet to send [22:52:07]OFD Sender: No OFD packet to send [22:52:12]OFD Sender: No OFD packet to send [22:52:17]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]OFD Sender: No OFD packet to send [23:07:28]OFD Sender: No OFD packet to send [23:07:33]OFD Sender: No OFD packet to send [23:07:38]OFD Sender: No OFD packet to send [23:07:43]OFD Sender: No OFD packet to send [23:07:48]OFD Sender: No OFD packet to send [23:07:53]OFD Sender: No OFD packet to send [23:07:58]OFD Sender: No OFD packet to send [23:08:03]OFD Sender: No OFD packet to send [23:08:08]OFD Sender: No OFD packet to send [23:08:13]OFD Sender: No OFD packet to send [23:08:18]OFD Sender: No OFD packet to send [23:08:23]OFD Sender: No OFD packet to send [23:08:28]OFD Sender: No OFD packet to send [23:08:33]OFD Sender: No OFD packet to send [23:08:38]OFD Sender: No OFD packet to send [23:08:43]OFD Sender: No OFD packet to send [23:08:48]OFD Sender: No OFD packet to send [23:08:53]OFD Sender: No OFD packet to send [23:08:58]OFD Sender: No OFD packet to send [23:09:03]OFD Sender: No OFD packet to send [23:09:08]OFD Sender: No OFD packet to send [23:09:13]OFD Sender: No OFD packet to send [23:09:18]OFD Sender: No OFD packet to send [23:09:23]OFD Sender: No OFD packet to send [23:09:28]OFD Sender: No OFD packet to send [23:09:33]OFD Sender: No OFD packet to send [23:09:38]OFD Sender: No OFD packet to send [23:09:43]OFD Sender: No OFD packet to send [23:09:48]OFD Sender: No OFD packet to send [23:09:53]OFD Sender: No OFD packet to send [23:09:58]OFD Sender: No OFD packet to send [23:10:03]OFD Sender: No OFD packet to send [23:10:08]OFD Sender: No OFD packet to send [23:10:13]OFD Sender: No OFD packet to send [23:10:18]OFD Sender: No OFD packet to send [23:10:23]OFD Sender: No OFD packet to send [23:10:28]OFD Sender: No OFD packet to send [23:10:33]OFD Sender: No OFD packet to send [23:10:38]OFD Sender: No OFD packet to send [23:10:43]OFD Sender: No OFD packet to send [23:10:48]OFD Sender: No OFD packet to send [23:10:53]OFD Sender: No OFD packet to send [23:10:58]OFD Sender: No OFD packet to send [23:11:03]OFD Sender: No OFD packet to send [23:11:08]OFD Sender: No OFD packet to send [23:11:13]OFD Sender: No OFD packet to send [23:11:18]OFD Sender: No OFD packet to send [23:11:23]OFD Sender: No OFD packet to send [23:11:28]OFD Sender: No OFD packet to send [23:11:33]OFD Sender: No OFD packet to send [23:11:38]OFD Sender: No OFD packet to send [23:11:43]OFD Sender: No OFD packet to send [23:11:48]OFD Sender: No OFD packet to send [23:11:53]OFD Sender: No OFD packet to send [23:11:58]OFD Sender: No OFD packet to send [23:12:03]OFD Sender: No OFD packet to send [23:12:08]OFD Sender: No OFD packet to send [23:12:13]OFD Sender: No OFD packet to send [23:12:18]OFD Sender: No OFD packet to send [23:12:23]OFD Sender: No OFD packet to send [23:12:28]OFD Sender: No OFD packet to send [23:12:33]OFD Sender: No OFD packet to send [23:12:38]OFD Sender: No OFD packet to send [23:12:43]OFD Sender: No OFD packet to send [23:12:48]OFD Sender: No OFD packet to send [23:12:53]OFD Sender: No OFD packet to send [23:12:58]OFD Sender: No OFD packet to send [23:13:03]OFD Sender: No OFD packet to send [23:13:08]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]accept exits with 9 [23:52:20]New connection [23:52:20]New thread 3066813796 created [23:52:20]Thread 3066670436 joined [23:52:20]Waiting for new connection... [23:52:20] Sock 9.Parse request [23:52:20]Sock 9.Check first char [23:52:20]Sock 9.First char is OK [23:52:20]request: POST /json_proto HTTP/1.0 [23:52:20]Method: POST [23:52:20]URL: /json_proto [23:52:20]Method is POST - this is cgi request [23:52:20]url: /json_proto [23:52:20]query_string will be loaded in cgi processing [23:52:20]execute_cgi json_proto POST (null) [23:52:20]execute_cgi path=json_proto method=POST [23:52:20]POST find Content-Length [23:52:20]Host: 172.17.56.67:8080 [23:52:20]Content-Length: 215 [23:52:20]Content-Type: application/json [23:52:20] [23:52:20]POST finish read [23:52:20]Found Content-Length = 215 [23:52:20]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:52:20]execute_script... [23:52:20]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:52:20]POST & json_proto [23:52:20]process_json_proto [23:52:20]json parsed OK: [23:52:20]protocol is kg_v1.0 [23:52:20]action value=get_value [23:52:20]process_action get_value [23:52:20]cmd_get_value [23:52:20]process_action get_value done [23:52:20]requested_data is exist [23:52:20]produce_requested_data [23:52:20]requested_item kkm.sn is exist - process it [23:52:20]requested_item kkm.ver is exist - process it [23:52:20]requested_item fm.sn is exist - process it [23:52:20]wFMCommunicate request_size=4 [23:52:20]MH_SAM_APDU [23:52:20]CAPDU: 80 11 00 00 [23:52:20]Write to MH i2c: E2 08 00 B0 3B 80 11 00 00 00 00 00 00 65 [23:52:20]Write i2c OK [23:52:20]MH_I2C_Read... [23:52:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:20]Read from MH i2c: E2 [23:52:20]MH_I2C_Read... [23:52:20]Read from MH i2c: E2 17 00 [23:52:20]MH_I2C_Read... [23:52:20]Read from MH i2c: E2 17 00 B0 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 B2 [23:52:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [23:52:20]wFMCommunicate OK [23:52:20]requested_item fd.num is exist - process it [23:52:20]SAM_PROTO_GetFieldsCounters [23:52:20]wFMCommunicate request_size=4 [23:52:20]MH_SAM_APDU [23:52:20]CAPDU: 80 13 00 00 [23:52:20]Write to MH i2c: E2 08 00 B1 3B 80 13 00 00 00 00 00 00 68 [23:52:20]Write i2c OK [23:52:20]MH_I2C_Read... [23:52:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:20]Read from MH i2c: E2 [23:52:20]MH_I2C_Read... [23:52:20]Read from MH i2c: E2 62 00 [23:52:20]MH_I2C_Read... [23:52:20]Read from MH i2c: E2 62 00 B1 3B 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 9B [23:52:20]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:20]wFMCommunicate OK [23:52:20]SAM_PROTO_GetFieldsCounters done [23:52:20]requested_item shift.num is exist - process it [23:52:20]requested_item shift.opened is exist - process it [23:52:20]req_shift_opened [23:52:20]FM_GetShiftState [23:52:20]SAM_PROTO_GetShiftState [23:52:20]wFMCommunicate request_size=4 [23:52:20]MH_SAM_APDU [23:52:20]CAPDU: 80 13 01 00 [23:52:20]Write to MH i2c: E2 08 00 B2 3B 80 13 01 00 00 00 00 00 6A [23:52:20]Write i2c OK [23:52:20]MH_I2C_Read... [23:52:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:20]Read from MH i2c: E2 [23:52:20]MH_I2C_Read... [23:52:20]Read from MH i2c: E2 0E 00 [23:52:20]MH_I2C_Read... [23:52:20]Read from MH i2c: E2 0E 00 B2 3B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 F0 [23:52:20]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [23:52:20]wFMCommunicate OK [23:52:20]SAM_PROTO_GetShiftState done [23:52:20]FM_GetShiftState done [23:52:20]req_shift_opened done [23:52:20]requested_item shift.open_date is exist - process it [23:52:20]req_shift_open_date [23:52:20]req_shift_open_date done [23:52:20]produce_requested_data done [23:52:20]produce_requested_data return {"kkm.sn":"0300000040","kkm.ver":"001","fm.sn":"0000000000875060","fd.num":49015,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [23:52:20]process_action_free get_value [23:52:20]json_value_free [23:52:20]json_value_free done [23:52:20]process_json_proto returns [23:52:20]Send response to host [23:52:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000040","kkm.ver":"001","fm.sn":"0000000000875060","fd.num":49015,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [23:52:20]free response buf [23:52:20]execute_script done [23:52:20]execute_script returns [23:52:20]free content buf [23:52:20]Sock 9.Close socket [23:52:20]Sock 9.Thread stoped [23:52:20]accept exits with 7 [23:52:20]New connection [23:52:20]New thread 3066670436 created [23:52:20]Thread 3066813796 joined [23:52:20]Waiting for new connection... [23:52:20] Sock 7.Parse request [23:52:20]Sock 7.Check first char [23:52:20]Sock 7.First char is OK [23:52:20]request: POST /json_proto HTTP/1.0 [23:52:20]Method: POST [23:52:20]URL: /json_proto [23:52:20]Method is POST - this is cgi request [23:52:20]url: /json_proto [23:52:20]query_string will be loaded in cgi processing [23:52:20]execute_cgi json_proto POST (null) [23:52:20]execute_cgi path=json_proto method=POST [23:52:20]POST find Content-Length [23:52:20]Host: 172.17.56.67:8080 [23:52:20]Content-Length: 331 [23:52:20]Content-Type: application/json [23:52:20] [23:52:20]POST finish read [23:52:20]Found Content-Length = 331 [23:52:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:20]execute_script... [23:52:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:21]POST & json_proto [23:52:21]process_json_proto [23:52:21]json parsed OK: [23:52:21]protocol is kg_v1.0 [23:52:21]action value=get_value [23:52:21]process_action get_value [23:52:21]cmd_get_value [23:52:21]process_action get_value done [23:52:21]requested_data is exist [23:52:21]produce_requested_data [23:52:21]requested_item fm.sale.total is exist - process it [23:52:21]SAM_PROTO_GetFMData [23:52:21]wFMCommunicate request_size=4 [23:52:21]MH_SAM_APDU [23:52:21]CAPDU: 80 13 03 00 [23:52:21]Write to MH i2c: E2 08 00 B3 3B 80 13 03 00 00 00 00 00 6D [23:52:21]OFD Sender: No OFD packet to send [23:52:21]Write i2c OK [23:52:21]MH_I2C_Read... [23:52:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:21]Read from MH i2c: E2 [23:52:21]MH_I2C_Read... [23:52:21]Read from MH i2c: E2 FD 00 [23:52:21]MH_I2C_Read... [23:52:21]Read from MH i2c: E2 FD 00 B3 3B 00 BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 40 [23:52:21]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 [23:52:21]wFMCommunicate OK [23:52:21]wFMCommunicate request_size=4 [23:52:21]MH_SAM_APDU [23:52:21]CAPDU: 80 17 00 00 [23:52:21]Write to MH i2c: E2 08 00 B4 3B 80 17 00 00 00 00 00 00 6F [23:52:21]Write i2c OK [23:52:21]MH_I2C_Read... [23:52:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:21]Read from MH i2c: E2 [23:52:21]MH_I2C_Read... [23:52:21]Read from MH i2c: E2 FD 00 [23:52:21]MH_I2C_Read... [23:52:21]Read from MH i2c: E2 FD 00 B4 3B 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 1F [23:52:21]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:52:21]wFMCommunicate OK [23:52:21]wFMCommunicate request_size=4 [23:52:21]MH_SAM_APDU [23:52:21]CAPDU: 80 17 00 00 [23:52:21]Write to MH i2c: E2 08 00 B5 3B 80 17 00 00 00 00 00 00 70 [23:52:21]Write i2c OK [23:52:21]MH_I2C_Read... [23:52:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:22]Read from MH i2c: E2 [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: E2 FD 00 [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: E2 FD 00 B5 3B 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 14 [23:52:22]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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:52:22]wFMCommunicate OK [23:52:22]wFMCommunicate request_size=4 [23:52:22]MH_SAM_APDU [23:52:22]CAPDU: 80 17 00 00 [23:52:22]Write to MH i2c: E2 08 00 B6 3B 80 17 00 00 00 00 00 00 71 [23:52:22]Write i2c OK [23:52:22]MH_I2C_Read... [23:52:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:22]Read from MH i2c: E2 [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: E2 FD 00 [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: E2 FD 00 B6 3B 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 EB [23:52:22]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:22]wFMCommunicate OK [23:52:22]wFMCommunicate request_size=4 [23:52:22]MH_SAM_APDU [23:52:22]CAPDU: 80 17 00 00 [23:52:22]Write to MH i2c: E2 08 00 B7 3B 80 17 00 00 00 00 00 00 72 [23:52:22]Write i2c OK [23:52:22]MH_I2C_Read... [23:52:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:52:22]Read from MH i2c: E2 [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: E2 DC 00 [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: E2 DC 00 B7 3B 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 56 [23:52:22]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:52:22]wFMCommunicate OK [23:52:22]SAM_PROTO_GetFMData done [23:52:22]requested_item fm.sale_refund.total is exist - process it [23:52:22]requested_item fm.buy.total is exist - process it [23:52:22]requested_item shift.sale.total is exist - process it [23:52:22]SAM_PROTO_GetShiftData [23:52:22]wFMCommunicate request_size=4 [23:52:22]MH_SAM_APDU [23:52:22]CAPDU: 80 13 02 00 [23:52:22]Write to MH i2c: E2 08 00 B8 3B 80 13 02 00 00 00 00 00 71 [23:52:22]Write i2c OK [23:52:22]MH_I2C_Read... [23:52:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:23]Read from MH i2c: E2 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 FD 00 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 FD 00 B8 3B 00 AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 FF [23:52:23]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [23:52:23]wFMCommunicate OK [23:52:23]wFMCommunicate request_size=4 [23:52:23]MH_SAM_APDU [23:52:23]CAPDU: 80 17 00 00 [23:52:23]Write to MH i2c: E2 08 00 B9 3B 80 17 00 00 00 00 00 00 74 [23:52:23]Write i2c OK [23:52:23]MH_I2C_Read... [23:52:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:23]Read from MH i2c: E2 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 FD 00 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 FD 00 B9 3B 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 86 [23:52:23]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [23:52:23]wFMCommunicate OK [23:52:23]wFMCommunicate request_size=4 [23:52:23]MH_SAM_APDU [23:52:23]CAPDU: 80 17 00 00 [23:52:23]Write to MH i2c: E2 08 00 BA 3B 80 17 00 00 00 00 00 00 75 [23:52:23]Write i2c OK [23:52:23]MH_I2C_Read... [23:52:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:23]Read from MH i2c: E2 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 FD 00 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 FD 00 BA 3B 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 39 [23:52:23]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [23:52:23]wFMCommunicate OK [23:52:23]wFMCommunicate request_size=4 [23:52:23]MH_SAM_APDU [23:52:23]CAPDU: 80 17 00 00 [23:52:23]Write to MH i2c: E2 08 00 BB 3B 80 17 00 00 00 00 00 00 76 [23:52:23]Write i2c OK [23:52:23]MH_I2C_Read... [23:52:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:23]Read from MH i2c: E2 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 FD 00 [23:52:23]MH_I2C_Read... [23:52:23]Read from MH i2c: E2 FD 00 BB 3B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 EB [23:52:24]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [23:52:24]wFMCommunicate OK [23:52:24]wFMCommunicate request_size=4 [23:52:24]MH_SAM_APDU [23:52:24]CAPDU: 80 17 00 00 [23:52:24]Write to MH i2c: E2 08 00 BC 3B 80 17 00 00 00 00 00 00 77 [23:52:24]Write i2c OK [23:52:24]MH_I2C_Read... [23:52:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [23:52:24]Read from MH i2c: E2 [23:52:24]MH_I2C_Read... [23:52:24]Read from MH i2c: E2 CA 00 [23:52:24]MH_I2C_Read... [23:52:24]Read from MH i2c: E2 CA 00 BC 3B 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 5C [23:52:24]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:24]wFMCommunicate OK [23:52:24]SAM_PROTO_GetShiftData done [23:52:24]requested_item shift.sale.total_cash is exist - process it [23:52:24]requested_item shift.sale_refund.total is exist - process it [23:52:24]requested_item shift.sale_refund.total_cash is exist - process it [23:52:24]requested_item shift.buy.total is exist - process it [23:52:24]requested_item shift.buy.total_cash is exist - process it [23:52:24]produce_requested_data done [23:52:24]produce_requested_data return {"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:52:24]process_action_free get_value [23:52:24]json_value_free [23:52:24]json_value_free done [23:52:24]process_json_proto returns [23:52:24]Send response to host [23:52:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:52:24]free response buf [23:52:24]execute_script done [23:52:24]execute_script returns [23:52:24]free content buf [23:52:24]Sock 7.Close socket [23:52:24]Sock 7.Thread stoped [23:52:24]accept exits with 9 [23:52:24]New connection [23:52:24]New thread 3066813796 created [23:52:24]Thread 3066670436 joined [23:52:24]Waiting for new connection... [23:52:24] Sock 9.Parse request [23:52:24]Sock 9.Check first char [23:52:24]Sock 9.First char is OK [23:52:24]request: POST /json_proto HTTP/1.0 [23:52:24]Method: POST [23:52:24]URL: /json_proto [23:52:24]Method is POST - this is cgi request [23:52:24]url: /json_proto [23:52:24]query_string will be loaded in cgi processing [23:52:24]execute_cgi json_proto POST (null) [23:52:24]execute_cgi path=json_proto method=POST [23:52:24]POST find Content-Length [23:52:24]Host: 172.17.56.67:8080 [23:52:24]Content-Length: 331 [23:52:24]Content-Type: application/json [23:52:24] [23:52:24]POST finish read [23:52:24]Found Content-Length = 331 [23:52:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:24]execute_script... [23:52:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:24]POST & json_proto [23:52:24]process_json_proto [23:52:24]json parsed OK: [23:52:24]protocol is kg_v1.0 [23:52:24]action value=get_value [23:52:24]process_action get_value [23:52:24]cmd_get_value [23:52:24]process_action get_value done [23:52:24]requested_data is exist [23:52:24]produce_requested_data [23:52:24]requested_item fm.sale.total is exist - process it [23:52:24]SAM_PROTO_GetFMData [23:52:24]wFMCommunicate request_size=4 [23:52:24]MH_SAM_APDU [23:52:24]CAPDU: 80 13 03 00 [23:52:24]Write to MH i2c: E2 08 00 BD 3B 80 13 03 00 00 00 00 00 77 [23:52:24]Write i2c OK [23:52:24]MH_I2C_Read... [23:52:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:24]Read from MH i2c: E2 [23:52:24]MH_I2C_Read... [23:52:24]Read from MH i2c: E2 FD 00 [23:52:24]MH_I2C_Read... [23:52:24]Read from MH i2c: E2 FD 00 BD 3B 00 BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 4A [23:52:24]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 [23:52:25]wFMCommunicate OK [23:52:25]wFMCommunicate request_size=4 [23:52:25]MH_SAM_APDU [23:52:25]CAPDU: 80 17 00 00 [23:52:25]Write to MH i2c: E2 08 00 BE 3B 80 17 00 00 00 00 00 00 79 [23:52:25]Write i2c OK [23:52:25]MH_I2C_Read... [23:52:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:25]Read from MH i2c: E2 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 FD 00 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 FD 00 BE 3B 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 29 [23:52:25]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:52:25]wFMCommunicate OK [23:52:25]wFMCommunicate request_size=4 [23:52:25]MH_SAM_APDU [23:52:25]CAPDU: 80 17 00 00 [23:52:25]Write to MH i2c: E2 08 00 BF 3B 80 17 00 00 00 00 00 00 7A [23:52:25]Write i2c OK [23:52:25]MH_I2C_Read... [23:52:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:25]Read from MH i2c: E2 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 FD 00 [23:52:25]MH_I2C_Read... [23:52:25]Read from MH i2c: E2 FD 00 BF 3B 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 1E [23:52:25]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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:52:25]wFMCommunicate OK [23:52:25]wFMCommunicate request_size=4 [23:52:25]MH_SAM_APDU [23:52:25]CAPDU: 80 17 00 00 [23:52:25]Write to MH i2c: E2 08 00 C0 3B 80 17 00 00 00 00 00 00 7B [23:52:25]Write i2c OK [23:52:25]MH_I2C_Read... [23:52:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:26]Read from MH i2c: E2 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: E2 FD 00 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: E2 FD 00 C0 3B 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 F5 [23:52:26]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:26]wFMCommunicate OK [23:52:26]wFMCommunicate request_size=4 [23:52:26]MH_SAM_APDU [23:52:26]CAPDU: 80 17 00 00 [23:52:26]Write to MH i2c: E2 08 00 C1 3B 80 17 00 00 00 00 00 00 7C [23:52:26]Write i2c OK [23:52:26]MH_I2C_Read... [23:52:26]OFD Sender: No OFD packet to send [23:52:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:52:26]Read from MH i2c: E2 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: E2 DC 00 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: E2 DC 00 C1 3B 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 60 [23:52:26]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:52:26]wFMCommunicate OK [23:52:26]SAM_PROTO_GetFMData done [23:52:26]requested_item fm.sale_refund.total is exist - process it [23:52:26]requested_item fm.buy.total is exist - process it [23:52:26]requested_item shift.sale.total is exist - process it [23:52:26]SAM_PROTO_GetShiftData [23:52:26]wFMCommunicate request_size=4 [23:52:26]MH_SAM_APDU [23:52:26]CAPDU: 80 13 02 00 [23:52:26]Write to MH i2c: E2 08 00 C2 3B 80 13 02 00 00 00 00 00 7B [23:52:26]Write i2c OK [23:52:26]MH_I2C_Read... [23:52:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:26]Read from MH i2c: E2 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: E2 FD 00 [23:52:26]MH_I2C_Read... [23:52:26]Read from MH i2c: E2 FD 00 C2 3B 00 AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 09 [23:52:27]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [23:52:27]wFMCommunicate OK [23:52:27]wFMCommunicate request_size=4 [23:52:27]MH_SAM_APDU [23:52:27]CAPDU: 80 17 00 00 [23:52:27]Write to MH i2c: E2 08 00 C3 3B 80 17 00 00 00 00 00 00 7E [23:52:27]Write i2c OK [23:52:27]MH_I2C_Read... [23:52:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:27]Read from MH i2c: E2 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 FD 00 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 FD 00 C3 3B 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 90 [23:52:27]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [23:52:27]wFMCommunicate OK [23:52:27]wFMCommunicate request_size=4 [23:52:27]MH_SAM_APDU [23:52:27]CAPDU: 80 17 00 00 [23:52:27]Write to MH i2c: E2 08 00 C4 3B 80 17 00 00 00 00 00 00 7F [23:52:27]Write i2c OK [23:52:27]MH_I2C_Read... [23:52:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:27]Read from MH i2c: E2 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 FD 00 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: E2 FD 00 C4 3B 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 43 [23:52:27]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [23:52:27]wFMCommunicate OK [23:52:27]wFMCommunicate request_size=4 [23:52:27]MH_SAM_APDU [23:52:27]CAPDU: 80 17 00 00 [23:52:27]Write to MH i2c: E2 08 00 C5 3B 80 17 00 00 00 00 00 00 80 [23:52:27]Write i2c OK [23:52:27]MH_I2C_Read... [23:52:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:28]Read from MH i2c: E2 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 FD 00 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 FD 00 C5 3B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 F5 [23:52:28]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [23:52:28]wFMCommunicate OK [23:52:28]wFMCommunicate request_size=4 [23:52:28]MH_SAM_APDU [23:52:28]CAPDU: 80 17 00 00 [23:52:28]Write to MH i2c: E2 08 00 C6 3B 80 17 00 00 00 00 00 00 81 [23:52:28]Write i2c OK [23:52:28]MH_I2C_Read... [23:52:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [23:52:28]Read from MH i2c: E2 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 CA 00 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 CA 00 C6 3B 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 66 [23:52:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:28]wFMCommunicate OK [23:52:28]SAM_PROTO_GetShiftData done [23:52:28]requested_item shift.sale.total_cash is exist - process it [23:52:28]requested_item shift.sale_refund.total is exist - process it [23:52:28]requested_item shift.sale_refund.total_cash is exist - process it [23:52:28]requested_item shift.buy.total is exist - process it [23:52:28]requested_item shift.buy.total_cash is exist - process it [23:52:28]produce_requested_data done [23:52:28]produce_requested_data return {"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:52:28]process_action_free get_value [23:52:28]json_value_free [23:52:28]json_value_free done [23:52:28]process_json_proto returns [23:52:28]Send response to host [23:52:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:52:28]free response buf [23:52:28]execute_script done [23:52:28]execute_script returns [23:52:28]free content buf [23:52:28]Sock 9.Close socket [23:52:28]Sock 9.Thread stoped [23:52:28]accept exits with 7 [23:52:28]New connection [23:52:28]New thread 3066670436 created [23:52:28]Thread 3066813796 joined [23:52:28]Waiting for new connection... [23:52:28] Sock 7.Parse request [23:52:28]Sock 7.Check first char [23:52:28]Sock 7.First char is OK [23:52:28]request: POST /json_proto HTTP/1.0 [23:52:28]Method: POST [23:52:28]URL: /json_proto [23:52:28]Method is POST - this is cgi request [23:52:28]url: /json_proto [23:52:28]query_string will be loaded in cgi processing [23:52:28]execute_cgi json_proto POST (null) [23:52:28]execute_cgi path=json_proto method=POST [23:52:28]POST find Content-Length [23:52:28]Host: 172.17.56.67:8080 [23:52:28]Content-Length: 281 [23:52:28]Content-Type: application/json [23:52:28] [23:52:28]POST finish read [23:52:28]Found Content-Length = 281 [23:52:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:28]execute_script... [23:52:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:28]POST & json_proto [23:52:28]process_json_proto [23:52:28]json parsed OK: [23:52:28]protocol is kg_v1.0 [23:52:28]action value=x_report [23:52:28]process_action x_report [23:52:28]cmd_x_report [23:52:28]MH_GetDate [23:52:28]Write to MH i2c: F0 00 00 C7 3B F1 [23:52:28]Write i2c OK [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 09 00 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 09 00 C7 3B 00 C7 E8 B6 65 26 5D 9E 65 4A [23:52:28]GetLastDocTimeStamp 1706465716 [23:52:28]current date 1706485959 [23:52:28]FM_GetShiftState [23:52:28]SAM_PROTO_GetShiftState [23:52:28]wFMCommunicate request_size=4 [23:52:28]MH_SAM_APDU [23:52:28]CAPDU: 80 13 01 00 [23:52:28]Write to MH i2c: E2 08 00 C8 3B 80 13 01 00 00 00 00 00 80 [23:52:28]Write i2c OK [23:52:28]MH_I2C_Read... [23:52:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:28]Read from MH i2c: E2 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 0E 00 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 0E 00 C8 3B 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 06 [23:52:28]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [23:52:28]wFMCommunicate OK [23:52:28]SAM_PROTO_GetShiftState done [23:52:28]FM_GetShiftState done [23:52:28]KKMCreateXReportDocument [23:52:28]Load OK [23:52:28]Malloc new data [23:52:28]MH_GetDate [23:52:28]Write to MH i2c: F0 00 00 C9 3B F3 [23:52:28]Write i2c OK [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 09 00 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 09 00 C9 3B 00 C7 E8 B6 65 26 5D 9E 65 4C [23:52:28]Malloc new data [23:52:28]Malloc new data [23:52:28]wFMCommunicate request_size=4 [23:52:28]MH_SAM_APDU [23:52:28]CAPDU: 80 11 00 00 [23:52:28]Write to MH i2c: E2 08 00 CA 3B 80 11 00 00 00 00 00 00 7F [23:52:28]Write i2c OK [23:52:28]MH_I2C_Read... [23:52:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:28]Read from MH i2c: E2 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 17 00 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 17 00 CA 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 CC [23:52:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [23:52:28]wFMCommunicate OK [23:52:28]SAM_PROTO_GetFieldsCounters [23:52:28]wFMCommunicate request_size=4 [23:52:28]MH_SAM_APDU [23:52:28]CAPDU: 80 13 00 00 [23:52:28]Write to MH i2c: E2 08 00 CB 3B 80 13 00 00 00 00 00 00 82 [23:52:28]Write i2c OK [23:52:28]MH_I2C_Read... [23:52:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:29]Read from MH i2c: E2 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 62 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 62 00 CB 3B 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 B5 [23:52:29]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:29]wFMCommunicate OK [23:52:29]SAM_PROTO_GetFieldsCounters done [23:52:29]Malloc new data [23:52:29]Malloc new data [23:52:29]Malloc new data [23:52:29]KKMCreateXReportDocument OK [23:52:29]KKMSetXReportData OK [23:52:29]KKMPrepareXReportFMData [23:52:29]SAM_PROTO_GetShiftData [23:52:29]wFMCommunicate request_size=4 [23:52:29]MH_SAM_APDU [23:52:29]CAPDU: 80 13 02 00 [23:52:29]Write to MH i2c: E2 08 00 CC 3B 80 13 02 00 00 00 00 00 85 [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 [23:52:29]MH_I2C_Read... [23:52:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:29]Read from MH i2c: E2 FD 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 FD 00 CC 3B 00 AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 13 [23:52:29]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [23:52:29]wFMCommunicate OK [23:52:29]wFMCommunicate request_size=4 [23:52:29]MH_SAM_APDU [23:52:29]CAPDU: 80 17 00 00 [23:52:29]Write to MH i2c: E2 08 00 CD 3B 80 17 00 00 00 00 00 00 88 [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:30]Read from MH i2c: E2 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 FD 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 FD 00 CD 3B 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 9A [23:52:30]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [23:52:30]wFMCommunicate OK [23:52:30]wFMCommunicate request_size=4 [23:52:30]MH_SAM_APDU [23:52:30]CAPDU: 80 17 00 00 [23:52:30]Write to MH i2c: E2 08 00 CE 3B 80 17 00 00 00 00 00 00 89 [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:30]Read from MH i2c: E2 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 FD 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 FD 00 CE 3B 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 4D [23:52:30]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [23:52:30]wFMCommunicate OK [23:52:30]wFMCommunicate request_size=4 [23:52:30]MH_SAM_APDU [23:52:30]CAPDU: 80 17 00 00 [23:52:30]Write to MH i2c: E2 08 00 CF 3B 80 17 00 00 00 00 00 00 8A [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:30]Read from MH i2c: E2 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 FD 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 FD 00 CF 3B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 FF [23:52:31]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [23:52:31]wFMCommunicate OK [23:52:31]wFMCommunicate request_size=4 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 17 00 00 [23:52:31]Write to MH i2c: E2 08 00 D0 3B 80 17 00 00 00 00 00 00 8B [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]OFD Sender: No OFD packet to send [23:52:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 CA 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 CA 00 D0 3B 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 70 [23:52:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:31]wFMCommunicate OK [23:52:31]SAM_PROTO_GetShiftData done [23:52:31]1194 (1193) - Ñчетчики итогов Ñмены [23:52:31] 1134 (4) - 80 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [23:52:31] 1129 (154) - Ñчетчики операций «приход» [23:52:31] 1135 (4) - 80 - количеÑтво чеков по признаку раÑчетов [23:52:31] 1201 (3) - 43615.73 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:52:31] 1136 (3) - 43269.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:52:31] 1138 (2) - 346.73 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:52:31] 1024 (122) - Ñуммы налогов [23:52:31] 1006 (9) - Ñуммы ÐДС [23:52:31] 1010 (1) - 0% - код Ñтавки ÐДС [23:52:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:52:31] 1006 (12) - Ñуммы ÐДС [23:52:31] 1010 (1) - 12% - код Ñтавки ÐДС [23:52:31] 1011 (3) - 4634.23 - Ñумма ÐДС по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 0% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (11) - Ñуммы ÐСП [23:52:31] 1014 (1) - 1% - код Ñтавки ÐСП [23:52:31] 1015 (2) - 386.17 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 2% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 3% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 5% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1130 (141) - Ñчетчики операций «возврат прихода» [23:52:31] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:52:31] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:52:31] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:52:31] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:52:31] 1024 (117) - Ñуммы налогов [23:52:31] 1006 (9) - Ñуммы ÐДС [23:52:31] 1010 (1) - 0% - код Ñтавки ÐДС [23:52:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:52:31] 1006 (9) - Ñуммы ÐДС [23:52:31] 1010 (1) - 12% - код Ñтавки ÐДС [23:52:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 0% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 1% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 2% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 3% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 5% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1131 (141) - Ñчетчики операций «раÑход» [23:52:31] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:52:31] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:52:31] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:52:31] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:52:31] 1024 (117) - Ñуммы налогов [23:52:31] 1006 (9) - Ñуммы ÐДС [23:52:31] 1010 (1) - 0% - код Ñтавки ÐДС [23:52:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:52:31] 1006 (9) - Ñуммы ÐДС [23:52:31] 1010 (1) - 12% - код Ñтавки ÐДС [23:52:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 0% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 1% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 2% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 3% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 5% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1132 (141) - Ñчетчики операций «возврат раÑхода» [23:52:31] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:52:31] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:52:31] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:52:31] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:52:31] 1024 (117) - Ñуммы налогов [23:52:31] 1006 (9) - Ñуммы ÐДС [23:52:31] 1010 (1) - 0% - код Ñтавки ÐДС [23:52:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:52:31] 1006 (9) - Ñуммы ÐДС [23:52:31] 1010 (1) - 12% - код Ñтавки ÐДС [23:52:31] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 0% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 1% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 2% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 3% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 5% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1007 (9) - Ñуммы ÐСП [23:52:31] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:52:31] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:52:31] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [23:52:31]SetTLVBufToDocument [23:52:31]Processing tag 1194 (04AA) [23:52:31]Load OK [23:52:31]SetTLVBufToDocument [23:52:31]Processing tag 1134 (046E) [23:52:31]Malloc new data [23:52:31]Processing tag 1129 (0469) [23:52:31]Load OK [23:52:31]SetTLVBufToDocument [23:52:31]Processing tag 1135 (046F) [23:52:31]Malloc new data [23:52:31]Processing tag 1201 (04B1) [23:52:31]Malloc new data [23:52:31]Processing tag 1136 (0470) [23:52:31]Malloc new data [23:52:31]Processing tag 1138 (0472) [23:52:31]Malloc new data [23:52:31]Processing tag 1024 (0400) [23:52:31]Load OK [23:52:31]SetTLVBufToDocument [23:52:31]Processing tag 1006 (03EE) [23:52:31]Load OK [23:52:31]SetTLVBufToDocument [23:52:31]Processing tag 1010 (03F2) [23:52:32]Malloc new data [23:52:32]Processing tag 1011 (03F3) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1006 (03EE) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1010 (03F2) [23:52:32]Malloc new data [23:52:32]Processing tag 1011 (03F3) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1130 (046A) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1135 (046F) [23:52:32]Malloc new data [23:52:32]Processing tag 1201 (04B1) [23:52:32]Malloc new data [23:52:32]Processing tag 1136 (0470) [23:52:32]Malloc new data [23:52:32]Processing tag 1138 (0472) [23:52:32]Malloc new data [23:52:32]Processing tag 1024 (0400) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1006 (03EE) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1010 (03F2) [23:52:32]Malloc new data [23:52:32]Processing tag 1011 (03F3) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1006 (03EE) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1010 (03F2) [23:52:32]Malloc new data [23:52:32]Processing tag 1011 (03F3) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1131 (046B) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1135 (046F) [23:52:32]Malloc new data [23:52:32]Processing tag 1201 (04B1) [23:52:32]Malloc new data [23:52:32]Processing tag 1136 (0470) [23:52:32]Malloc new data [23:52:32]Processing tag 1138 (0472) [23:52:32]Malloc new data [23:52:32]Processing tag 1024 (0400) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1006 (03EE) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1010 (03F2) [23:52:32]Malloc new data [23:52:32]Processing tag 1011 (03F3) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1006 (03EE) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1010 (03F2) [23:52:32]Malloc new data [23:52:32]Processing tag 1011 (03F3) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1132 (046C) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1135 (046F) [23:52:32]Malloc new data [23:52:32]Processing tag 1201 (04B1) [23:52:32]Malloc new data [23:52:32]Processing tag 1136 (0470) [23:52:32]Malloc new data [23:52:32]Processing tag 1138 (0472) [23:52:32]Malloc new data [23:52:32]Processing tag 1024 (0400) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1006 (03EE) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1010 (03F2) [23:52:32]Malloc new data [23:52:32]Processing tag 1011 (03F3) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1006 (03EE) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1010 (03F2) [23:52:32]Malloc new data [23:52:32]Processing tag 1011 (03F3) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1007 (03EF) [23:52:32]Load OK [23:52:32]SetTLVBufToDocument [23:52:32]Processing tag 1014 (03F6) [23:52:32]Malloc new data [23:52:32]Processing tag 1015 (03F7) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Processing tag 1133 (046D) [23:52:32]Malloc new data [23:52:32]SetTLVBufToDocument err=0 [23:52:32]SetTLVBufToDocument err=0 [23:52:32]Malloc new data [23:52:32]SAM_PROTO_GetFMData [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 13 03 00 [23:52:32]Write to MH i2c: E2 08 00 D1 3B 80 13 03 00 00 00 00 00 8B [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 [23:52:33]MH_I2C_Read... [23:52:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:33]Read from MH i2c: E2 FD 00 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 FD 00 D1 3B 00 BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 5E [23:52:33]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 [23:52:33]wFMCommunicate OK [23:52:33]wFMCommunicate request_size=4 [23:52:33]MH_SAM_APDU [23:52:33]CAPDU: 80 17 00 00 [23:52:33]Write to MH i2c: E2 08 00 D2 3B 80 17 00 00 00 00 00 00 8D [23:52:33]Write i2c OK [23:52:33]MH_I2C_Read... [23:52:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:33]Read from MH i2c: E2 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 FD 00 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 FD 00 D2 3B 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 3D [23:52:33]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:52:33]wFMCommunicate OK [23:52:33]wFMCommunicate request_size=4 [23:52:33]MH_SAM_APDU [23:52:33]CAPDU: 80 17 00 00 [23:52:33]Write to MH i2c: E2 08 00 D3 3B 80 17 00 00 00 00 00 00 8E [23:52:33]Write i2c OK [23:52:33]MH_I2C_Read... [23:52:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:34]Read from MH i2c: E2 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 D3 3B 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 32 [23:52: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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:52:34]wFMCommunicate OK [23:52:34]wFMCommunicate request_size=4 [23:52:34]MH_SAM_APDU [23:52:34]CAPDU: 80 17 00 00 [23:52:34]Write to MH i2c: E2 08 00 D4 3B 80 17 00 00 00 00 00 00 8F [23:52:34]Write i2c OK [23:52:34]MH_I2C_Read... [23:52:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:34]Read from MH i2c: E2 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 D4 3B 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 09 [23:52:34]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:35]wFMCommunicate OK [23:52:35]wFMCommunicate request_size=4 [23:52:35]MH_SAM_APDU [23:52:35]CAPDU: 80 17 00 00 [23:52:35]Write to MH i2c: E2 08 00 D5 3B 80 17 00 00 00 00 00 00 90 [23:52:35]Write i2c OK [23:52:35]MH_I2C_Read... [23:52:35]Read from MH i2c: E2 [23:52:35]MH_I2C_Read... [23:52:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:52:35]Read from MH i2c: E2 DC 00 [23:52:35]MH_I2C_Read... [23:52:35]Read from MH i2c: E2 DC 00 D5 3B 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 74 [23:52: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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:52:35]wFMCommunicate OK [23:52:35]SAM_PROTO_GetFMData done [23:52:35]FM_GetFMData:85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 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 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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:52:36]oper:6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:52:36]total:28 16 D3 BB [23:52:36]Malloc new data [23:52:36]oper:6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 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 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:52:36]total:18 75 09 [23:52:36]Malloc new data [23:52:36]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 OFD Sender: No OFD packet to send [23:52:36]F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:52:36]total: [23:52:36]Malloc new data [23:52:36]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:52:36]total: [23:52:36]Malloc new data [23:52:36]KKMPrepareXReportFMData err=0 [23:52:36]Ð¥ отчет ИÐÐ: 02508201610067 КаÑÑир: БарыктабаÑов Т. 28.01.2024 23:52 Смена: 10 РÐМ: 0000000000092723 ЗÐМ: 0300000040 СÐО: Общий режим Ð’Ñего чеков: 80 ИТОГИ ПРИХОД Чеков: 80 Общий итог: 43615.73 Итого наличными: 43269.00 Итого безнал.: 346.73 ÐДС 0% : 0.00 ÐДС 12% : 4634.23 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 386.17 ИТОГИ ВОЗВРÐТ ПРИХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ РÐСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ ВОЗВРÐТ РÐСХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 Сумма внеÑений: 0.00 Сумма выплат: 0.00 Ðал. в каÑÑе: 43269.00 ÐС Приход: 31511731.60 ÐС Возвр.Прихода: 6198.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФМ: 0000000000875060 [23:52:36]StoreToDocumentArchive [23:52:36]MH_GetDate [23:52:36]Write to MH i2c: F0 00 00 D6 3B 00 [23:52:36]Write i2c OK [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: F0 [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: F0 09 00 [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: F0 09 00 D6 3B 00 CF E8 B6 65 26 5D 9E 65 61 [23:52:36]shift 10 fd 1706485967 [23:52:36]Create dir for shift 0010 [23:52:36]save to /storage/0010/doc_1706485967 [23:52:36]save last doc name /storage/0010/doc_1706485967 to /storage/kkm_last_doc_name [23:52:36]save OK [23:52:36]Clear old archive folders... [23:52:36]NVStorageSaveData kkm_last_timestamp [23:52:36]File name is /storage/kkm_last_timestamp [23:52:36]Write 4 bytes [23:52:36]NVStorageSaveData done [23:52:36]ExternCall_PrintAddStr [23:52:36]wPrintStart [23:52:36]Write to MH i2c: 01 00 00 D7 3B 12 [23:52:36]Write i2c OK [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: 01 [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: 01 07 00 [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: 01 07 00 D7 3B 00 00 00 00 00 FF 0F 27 [23:52:36]RasterBufferAndPrint [23:52:36]line Ð¥ отчет [23:52:36]line ИÐÐ: 02508201610067 [23:52:36]line КаÑÑир: БарыктабаÑов Т. [23:52:36]line 28.01.2024 23:52 [23:52:36]line Смена: 10 [23:52:36]line РÐМ: 0000000000092723 [23:52:36]line ЗÐМ: 0300000040 [23:52:36]line СÐО: Общий режим [23:52:36]line Ð’Ñего чеков: 80 [23:52:36]line ИТОГИ ПРИХОД [23:52:36]line Чеков: 80 [23:52:36]line Общий итог: 43615.73 [23:52:36]line Итого наличными: 43269.00 [23:52:36]line Итого безнал.: 346.73 [23:52:36]line ÐДС 0% : 0.00 [23:52:36]line ÐДС 12% : 4634.23 [23:52:36]line ÐСП 0% : 0.00 [23:52:36]line ÐСП 1,50% : 0.00 [23:52:36]line ÐСП 0,50% : 0.00 [23:52:36]line ÐСП 5% : 0.00 [23:52:36]line ÐСП 3% : 0.00 [23:52:36]line ÐСП 2% : 0.00 [23:52:36]line ÐСП 1% : 386.17 [23:52:36]line ИТОГИ ВОЗВРÐТ ПРИХОДР[23:52:36]line Чеков: 0 [23:52:36]line Общий итог: 0.00 [23:52:36]line Итого наличными: 0.00 [23:52:36]line Итого безнал.: 0.00 [23:52:36]line ÐДС 0% : 0.00 [23:52:36]line ÐДС 12% : 0.00 [23:52:36]line ÐСП 0% : 0.00 [23:52:36]line ÐСП 1,50% : 0.00 [23:52:36]line ÐСП 0,50% : 0.00 [23:52:36]line ÐСП 5% : 0.00 [23:52:36]line ÐСП 3% : 0.00 [23:52:36]line ÐСП 2% : 0.00 [23:52:36]line ÐСП 1% : 0.00 [23:52:36]line ИТОГИ РÐСХОД [23:52:36]line Чеков: 0 [23:52:36]line Общий итог: 0.00 [23:52:36]line Итого наличными: 0.00 [23:52:36]line Итого безнал.: 0.00 [23:52:36]line ÐДС 0% : 0.00 [23:52:36]line ÐДС 12% : 0.00 [23:52:36]line ÐСП 0% : 0.00 [23:52:36]line ÐСП 1,50% : 0.00 [23:52:36]line ÐСП 0,50% : 0.00 [23:52:36]line ÐСП 5% : 0.00 [23:52:36]line ÐСП 3% : 0.00 [23:52:36]line ÐСП 2% : 0.00 [23:52:36]line ÐСП 1% : 0.00 [23:52:36]line ИТОГИ ВОЗВРÐТ РÐСХОДР[23:52:36]line Чеков: 0 [23:52:36]line Общий итог: 0.00 [23:52:36]line Итого наличными: 0.00 [23:52:36]line Итого безнал.: 0.00 [23:52:36]line ÐДС 0% : 0.00 [23:52:36]line ÐДС 12% : 0.00 [23:52:36]line ÐСП 0% : 0.00 [23:52:36]line ÐСП 1,50% : 0.00 [23:52:36]line ÐСП 0,50% : 0.00 [23:52:36]line ÐСП 5% : 0.00 [23:52:36]line ÐСП 3% : 0.00 [23:52:36]line ÐСП 2% : 0.00 [23:52:36]line ÐСП 1% : 0.00 [23:52:36]line Сумма внеÑений: 0.00 [23:52:36]line Сумма выплат: 0.00 [23:52:36]line Ðал. в каÑÑе: 43269.00 [23:52:36]line ÐС Приход: 31511731.60 [23:52:36]line ÐС Возвр.Прихода: 6198.00 [23:52:36]line ÐС РаÑход: 0.00 [23:52:36]line ÐС Возвр.РаÑхода: 0.00 [23:52:36]line ФМ: 0000000000875060 [23:52:36]written 0, free lines is 4095 [23:52:37]Write to MH i2c: 01 00 00 22 3C 5E [23:52:37]Write i2c OK [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: 01 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: 01 07 00 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: 01 07 00 22 3C 00 00 00 00 00 03 0B 73 [23:52:37]RasterBufferAndPrint [23:52:37]line [23:52:37]line [23:52:37]line [23:52:37]line [23:52:37]line [23:52:37]written 0, free lines is 2858 [23:52:37]MH_Cut [23:52:37]Write to MH i2c: D1 01 00 29 3C 01 37 [23:52:37]Write i2c OK [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: D1 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: D1 01 00 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: D1 01 00 29 3C 00 36 [23:52:37]Write to MH i2c: 01 00 00 2A 3C 66 [23:52:37]Write i2c OK [23:52:37]MH_I2C_Read... [23:52:38]*** Cut start [23:52:38]*** Partial cut [23:52:38]*** CUTSNS_PIN = 1 [23:52:38]*** CUTSNS_PIN = 0 [23:52:38]*** Brake cut motor [23:52:38]Read from MH i2c: 01 [23:52:38]MH_I2C_Read... [23:52:38]*** Stop cut motor [23:52:38]*** Cut end [23:52:38]Read from MH i2c: 01 07 00 [23:52:38]MH_I2C_Read... [23:52:38]Read from MH i2c: 01 07 00 2A 3C 00 00 00 00 00 FF 0F 7B [23:52:38]process_action x_report done [23:52:38]requested_data is exist [23:52:38]produce_requested_data [23:52:38]requested_item fd.num is exist - process it [23:52:38]SAM_PROTO_GetFieldsCounters [23:52:38]wFMCommunicate request_size=4 [23:52:38]MH_SAM_APDU [23:52:38]CAPDU: 80 13 00 00 [23:52:38]Write to MH i2c: E2 08 00 2B 3C 80 13 00 00 00 00 00 00 E3 [23:52:38]Write i2c OK [23:52:38]MH_I2C_Read... [23:52:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:39]Read from MH i2c: E2 [23:52:39]MH_I2C_Read... [23:52:39]Read from MH i2c: E2 62 00 [23:52:39]MH_I2C_Read... [23:52:39]Read from MH i2c: E2 62 00 2B 3C 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 16 [23:52: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:39]wFMCommunicate OK [23:52:39]SAM_PROTO_GetFieldsCounters done [23:52:39]requested_item shift.num is exist - process it [23:52:39]requested_item shift.opened is exist - process it [23:52:39]req_shift_opened [23:52:39]FM_GetShiftState [23:52:39]SAM_PROTO_GetShiftState [23:52:39]wFMCommunicate request_size=4 [23:52:39]MH_SAM_APDU [23:52:39]CAPDU: 80 13 01 00 [23:52:39]Write to MH i2c: E2 08 00 2C 3C 80 13 01 00 00 00 00 00 E5 [23:52:39]Write i2c OK [23:52:39]MH_I2C_Read... [23:52:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:39]Read from MH i2c: E2 [23:52:39]MH_I2C_Read... [23:52:39]Read from MH i2c: E2 0E 00 [23:52:39]MH_I2C_Read... [23:52:39]Read from MH i2c: E2 0E 00 2C 3C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 6B [23:52:39]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [23:52:39]wFMCommunicate OK [23:52:39]SAM_PROTO_GetShiftState done [23:52:39]FM_GetShiftState done [23:52:39]req_shift_opened done [23:52:39]requested_item shift.open_date is exist - process it [23:52:39]req_shift_open_date [23:52:39]req_shift_open_date done [23:52:39]produce_requested_data done [23:52:39]produce_requested_data return {"fd.num":49015,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [23:52:39]process_action_free x_report [23:52:39]json_value_free [23:52:39]json_value_free done [23:52:39]process_json_proto returns [23:52:39]Send response to host [23:52:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":49015,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [23:52:39]free response buf [23:52:39]execute_script done [23:52:39]execute_script returns [23:52:39]free content buf [23:52:39]Sock 7.Close socket [23:52:39]Sock 7.Thread stoped [23:52:41]OFD Sender: No OFD packet to send [23:52:44]accept exits with 9 [23:52:44]New connection [23:52:44]New thread 3066813796 created [23:52:44]Thread 3066670436 joined [23:52:44]Waiting for new connection... [23:52:44] Sock 9.Parse request [23:52:44]Sock 9.Check first char [23:52:44]Sock 9.First char is OK [23:52:44]request: POST /json_proto HTTP/1.0 [23:52:44]Method: POST [23:52:44]URL: /json_proto [23:52:44]Method is POST - this is cgi request [23:52:44]url: /json_proto [23:52:44]query_string will be loaded in cgi processing [23:52:44]execute_cgi json_proto POST (null) [23:52:44]execute_cgi path=json_proto method=POST [23:52:44]POST find Content-Length [23:52:44]Host: 172.17.56.67:8080 [23:52:44]Content-Length: 215 [23:52:44]Content-Type: application/json [23:52:44] [23:52:44]POST finish read [23:52:44]Found Content-Length = 215 [23:52: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" ] } } [23:52:44]execute_script... [23:52: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" ] } } [23:52:44]POST & json_proto [23:52:44]process_json_proto [23:52:44]json parsed OK: [23:52:44]protocol is kg_v1.0 [23:52:44]action value=get_value [23:52:44]process_action get_value [23:52:44]cmd_get_value [23:52:44]process_action get_value done [23:52:44]requested_data is exist [23:52:44]produce_requested_data [23:52:44]requested_item kkm.sn is exist - process it [23:52:44]requested_item kkm.ver is exist - process it [23:52:44]requested_item fm.sn is exist - process it [23:52:44]wFMCommunicate request_size=4 [23:52:44]MH_SAM_APDU [23:52:44]CAPDU: 80 11 00 00 [23:52:44]Write to MH i2c: E2 08 00 2D 3C 80 11 00 00 00 00 00 00 E3 [23:52:44]Write i2c OK [23:52:44]MH_I2C_Read... [23:52:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:44]Read from MH i2c: E2 [23:52:44]MH_I2C_Read... [23:52:44]Read from MH i2c: E2 17 00 [23:52:44]MH_I2C_Read... [23:52:44]Read from MH i2c: E2 17 00 2D 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 30 [23:52:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [23:52:44]wFMCommunicate OK [23:52:44]requested_item fd.num is exist - process it [23:52:44]SAM_PROTO_GetFieldsCounters [23:52:44]wFMCommunicate request_size=4 [23:52:44]MH_SAM_APDU [23:52:44]CAPDU: 80 13 00 00 [23:52:44]Write to MH i2c: E2 08 00 2E 3C 80 13 00 00 00 00 00 00 E6 [23:52:44]Write i2c OK [23:52:44]MH_I2C_Read... [23:52:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:44]Read from MH i2c: E2 [23:52:44]MH_I2C_Read... [23:52:44]Read from MH i2c: E2 62 00 [23:52:44]MH_I2C_Read... [23:52:44]Read from MH i2c: E2 62 00 2E 3C 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 19 [23:52: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 77 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:44]wFMCommunicate OK [23:52:44]SAM_PROTO_GetFieldsCounters done [23:52:44]requested_item shift.num is exist - process it [23:52:44]requested_item shift.opened is exist - process it [23:52:44]req_shift_opened [23:52:44]FM_GetShiftState [23:52:44]SAM_PROTO_GetShiftState [23:52:44]wFMCommunicate request_size=4 [23:52:44]MH_SAM_APDU [23:52:44]CAPDU: 80 13 01 00 [23:52:44]Write to MH i2c: E2 08 00 2F 3C 80 13 01 00 00 00 00 00 E8 [23:52:44]Write i2c OK [23:52:45]MH_I2C_Read... [23:52:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:45]Read from MH i2c: E2 [23:52:45]MH_I2C_Read... [23:52:45]Read from MH i2c: E2 0E 00 [23:52:45]MH_I2C_Read... [23:52:45]Read from MH i2c: E2 0E 00 2F 3C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 6E [23:52:45]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [23:52:45]wFMCommunicate OK [23:52:45]SAM_PROTO_GetShiftState done [23:52:45]FM_GetShiftState done [23:52:45]req_shift_opened done [23:52:45]requested_item shift.open_date is exist - process it [23:52:45]req_shift_open_date [23:52:45]req_shift_open_date done [23:52:45]produce_requested_data done [23:52:45]produce_requested_data return {"kkm.sn":"0300000040","kkm.ver":"001","fm.sn":"0000000000875060","fd.num":49015,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199} [23:52:45]process_action_free get_value [23:52:45]json_value_free [23:52:45]json_value_free done [23:52:45]process_json_proto returns [23:52:45]Send response to host [23:52:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000040","kkm.ver":"001","fm.sn":"0000000000875060","fd.num":49015,"shift.num":244,"shift.opened":1,"shift.open_date":1706400199}}} [23:52:45]free response buf [23:52:45]execute_script done [23:52:45]execute_script returns [23:52:45]free content buf [23:52:45]Sock 9.Close socket [23:52:45]Sock 9.Thread stoped [23:52:45]accept exits with 7 [23:52:45]New connection [23:52:45]New thread 3066670436 created [23:52:45]Thread 3066813796 joined [23:52:45]Waiting for new connection... [23:52:45] Sock 7.Parse request [23:52:45]Sock 7.Check first char [23:52:45]Sock 7.First char is OK [23:52:45]request: POST /json_proto HTTP/1.0 [23:52:45]Method: POST [23:52:45]URL: /json_proto [23:52:45]Method is POST - this is cgi request [23:52:45]url: /json_proto [23:52:45]query_string will be loaded in cgi processing [23:52:45]execute_cgi json_proto POST (null) [23:52:45]execute_cgi path=json_proto method=POST [23:52:45]POST find Content-Length [23:52:45]Host: 172.17.56.67:8080 [23:52:45]Content-Length: 331 [23:52:45]Content-Type: application/json [23:52:45] [23:52:45]POST finish read [23:52:45]Found Content-Length = 331 [23:52:45]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:52:45]execute_script... [23:52:45]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:52:45]POST & json_proto [23:52:45]process_json_proto [23:52:45]json parsed OK: [23:52:45]protocol is kg_v1.0 [23:52:45]action value=get_value [23:52:45]process_action get_value [23:52:45]cmd_get_value [23:52:45]process_action get_value done [23:52:45]requested_data is exist [23:52:45]produce_requested_data [23:52:45]requested_item fm.sale.total is exist - process it [23:52:45]SAM_PROTO_GetFMData [23:52:45]wFMCommunicate request_size=4 [23:52:45]MH_SAM_APDU [23:52:45]CAPDU: 80 13 03 00 [23:52:45]Write to MH i2c: E2 08 00 30 3C 80 13 03 00 00 00 00 00 EB [23:52:45]Write i2c OK [23:52:45]MH_I2C_Read... [23:52:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:45]Read from MH i2c: E2 [23:52:45]MH_I2C_Read... [23:52:45]Read from MH i2c: E2 FD 00 [23:52:45]MH_I2C_Read... [23:52:45]Read from MH i2c: E2 FD 00 30 3C 00 BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 BE [23:52:45]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 [23:52:45]wFMCommunicate OK [23:52:45]wFMCommunicate request_size=4 [23:52:45]MH_SAM_APDU [23:52:45]CAPDU: 80 17 00 00 [23:52:45]Write to MH i2c: E2 08 00 31 3C 80 17 00 00 00 00 00 00 ED [23:52:45]Write i2c OK [23:52:45]MH_I2C_Read... [23:52:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:46]Read from MH i2c: E2 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 FD 00 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 FD 00 31 3C 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 9D [23:52:46]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:52:46]wFMCommunicate OK [23:52:46]wFMCommunicate request_size=4 [23:52:46]MH_SAM_APDU [23:52:46]CAPDU: 80 17 00 00 [23:52:46]Write to MH i2c: E2 08 00 32 3C 80 17 00 00 00 00 00 00 EE [23:52:46]Write i2c OK [23:52:46]MH_I2C_Read... [23:52:46]OFD Sender: No OFD packet to send [23:52:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:46]Read from MH i2c: E2 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 FD 00 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 FD 00 32 3C 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 92 [23:52:46]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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:52:46]wFMCommunicate OK [23:52:46]wFMCommunicate request_size=4 [23:52:46]MH_SAM_APDU [23:52:46]CAPDU: 80 17 00 00 [23:52:46]Write to MH i2c: E2 08 00 33 3C 80 17 00 00 00 00 00 00 EF [23:52:46]Write i2c OK [23:52:46]MH_I2C_Read... [23:52:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:47]Read from MH i2c: E2 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 33 3C 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 69 [23:52:47]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:47]wFMCommunicate OK [23:52:47]wFMCommunicate request_size=4 [23:52:47]MH_SAM_APDU [23:52:47]CAPDU: 80 17 00 00 [23:52:47]Write to MH i2c: E2 08 00 34 3C 80 17 00 00 00 00 00 00 F0 [23:52:47]Write i2c OK [23:52:47]MH_I2C_Read... [23:52:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:52:47]Read from MH i2c: E2 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 DC 00 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 DC 00 34 3C 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D4 [23:52:47]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:52:47]wFMCommunicate OK [23:52:47]SAM_PROTO_GetFMData done [23:52:47]requested_item fm.sale_refund.total is exist - process it [23:52:47]requested_item fm.buy.total is exist - process it [23:52:47]requested_item shift.sale.total is exist - process it [23:52:47]SAM_PROTO_GetShiftData [23:52:47]wFMCommunicate request_size=4 [23:52:47]MH_SAM_APDU [23:52:47]CAPDU: 80 13 02 00 [23:52:47]Write to MH i2c: E2 08 00 35 3C 80 13 02 00 00 00 00 00 EF [23:52:47]Write i2c OK [23:52:47]MH_I2C_Read... [23:52:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:48]Read from MH i2c: E2 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 FD 00 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 FD 00 35 3C 00 AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 7D [23:52:48]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [23:52:48]wFMCommunicate OK [23:52:48]wFMCommunicate request_size=4 [23:52:48]MH_SAM_APDU [23:52:48]CAPDU: 80 17 00 00 [23:52:48]Write to MH i2c: E2 08 00 36 3C 80 17 00 00 00 00 00 00 F2 [23:52:48]Write i2c OK [23:52:48]MH_I2C_Read... [23:52:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:48]Read from MH i2c: E2 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 FD 00 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 FD 00 36 3C 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 04 [23:52:49]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [23:52:49]wFMCommunicate OK [23:52:49]wFMCommunicate request_size=4 [23:52:49]MH_SAM_APDU [23:52:49]CAPDU: 80 17 00 00 [23:52:49]Write to MH i2c: E2 08 00 37 3C 80 17 00 00 00 00 00 00 F3 [23:52:49]Write i2c OK [23:52:49]MH_I2C_Read... [23:52:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:49]Read from MH i2c: E2 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 FD 00 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 FD 00 37 3C 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 B7 [23:52:49]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [23:52:49]wFMCommunicate OK [23:52:49]wFMCommunicate request_size=4 [23:52:49]MH_SAM_APDU [23:52:49]CAPDU: 80 17 00 00 [23:52:49]Write to MH i2c: E2 08 00 38 3C 80 17 00 00 00 00 00 00 F4 [23:52:49]Write i2c OK [23:52:49]MH_I2C_Read... [23:52:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:50]Read from MH i2c: E2 [23:52:50]MH_I2C_Read... [23:52:50]Read from MH i2c: E2 FD 00 [23:52:50]MH_I2C_Read... [23:52:50]Read from MH i2c: E2 FD 00 38 3C 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 69 [23:52:50]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [23:52:50]wFMCommunicate OK [23:52:50]wFMCommunicate request_size=4 [23:52:50]MH_SAM_APDU [23:52:50]CAPDU: 80 17 00 00 [23:52:50]Write to MH i2c: E2 08 00 39 3C 80 17 00 00 00 00 00 00 F5 [23:52:50]Write i2c OK [23:52:50]MH_I2C_Read... [23:52:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [23:52:50]Read from MH i2c: E2 [23:52:50]MH_I2C_Read... [23:52:50]Read from MH i2c: E2 CA 00 [23:52:50]MH_I2C_Read... [23:52:50]Read from MH i2c: E2 CA 00 39 3C 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 DA [23:52:50]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:50]wFMCommunicate OK [23:52:50]SAM_PROTO_GetShiftData done [23:52:50]requested_item shift.sale.total_cash is exist - process it [23:52:50]requested_item shift.sale_refund.total is exist - process it [23:52:50]requested_item shift.sale_refund.total_cash is exist - process it [23:52:50]requested_item shift.buy.total is exist - process it [23:52:50]requested_item shift.buy.total_cash is exist - process it [23:52:50]produce_requested_data done [23:52:50]produce_requested_data return {"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:52:50]process_action_free get_value [23:52:50]json_value_free [23:52:50]json_value_free done [23:52:50]process_json_proto returns [23:52:50]Send response to host [23:52:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:52:50]free response buf [23:52:50]execute_script done [23:52:50]execute_script returns [23:52:50]free content buf [23:52:50]Sock 7.Close socket [23:52:50]Sock 7.Thread stoped [23:52:50]accept exits with 9 [23:52:50]New connection [23:52:50]New thread 3066813796 created [23:52:50]Thread 3066670436 joined [23:52:50]Waiting for new connection... [23:52:50] Sock 9.Parse request [23:52:50]Sock 9.Check first char [23:52:50]Sock 9.First char is OK [23:52:50]request: POST /json_proto HTTP/1.0 [23:52:50]Method: POST [23:52:50]URL: /json_proto [23:52:50]Method is POST - this is cgi request [23:52:50]url: /json_proto [23:52:50]query_string will be loaded in cgi processing [23:52:50]execute_cgi json_proto POST (null) [23:52:50]execute_cgi path=json_proto method=POST [23:52:50]POST find Content-Length [23:52:50]Host: 172.17.56.67:8080 [23:52:50]Content-Length: 331 [23:52:50]Content-Type: application/json [23:52:50] [23:52:50]POST finish read [23:52:50]Found Content-Length = 331 [23:52:50]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:52:50]execute_script... [23:52:50]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:52:50]POST & json_proto [23:52:50]process_json_proto [23:52:50]json parsed OK: [23:52:50]protocol is kg_v1.0 [23:52:50]action value=get_value [23:52:50]process_action get_value [23:52:50]cmd_get_value [23:52:50]process_action get_value done [23:52:50]requested_data is exist [23:52:50]produce_requested_data [23:52:50]requested_item fm.sale.total is exist - process it [23:52:50]SAM_PROTO_GetFMData [23:52:50]wFMCommunicate request_size=4 [23:52:50]MH_SAM_APDU [23:52:50]CAPDU: 80 13 03 00 [23:52:51]Write to MH i2c: E2 08 00 3A 3C 80 13 03 00 00 00 00 00 F5 [23:52:51]Write i2c OK [23:52:51]MH_I2C_Read... [23:52:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:51]Read from MH i2c: E2 [23:52:51]MH_I2C_Read... [23:52:51]Read from MH i2c: E2 FD 00 [23:52:51]MH_I2C_Read... [23:52:51]Read from MH i2c: E2 FD 00 3A 3C 00 BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 C8 [23:52:51]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 OFD Sender: No OFD packet to send [23:52:51]00 01 F3 03 04 00 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 [23:52:51]wFMCommunicate OK [23:52:51]wFMCommunicate request_size=4 [23:52:51]MH_SAM_APDU [23:52:51]CAPDU: 80 17 00 00 [23:52:51]Write to MH i2c: E2 08 00 3B 3C 80 17 00 00 00 00 00 00 F7 [23:52:51]Write i2c OK [23:52:51]MH_I2C_Read... [23:52:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:52]Read from MH i2c: E2 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 FD 00 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 FD 00 3B 3C 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 A7 [23:52:52]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:52:52]wFMCommunicate OK [23:52:52]wFMCommunicate request_size=4 [23:52:52]MH_SAM_APDU [23:52:52]CAPDU: 80 17 00 00 [23:52:52]Write to MH i2c: E2 08 00 3C 3C 80 17 00 00 00 00 00 00 F8 [23:52:52]Write i2c OK [23:52:52]MH_I2C_Read... [23:52:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:52]Read from MH i2c: E2 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 FD 00 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 FD 00 3C 3C 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 9C [23:52:52]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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:52:53]wFMCommunicate OK [23:52:53]wFMCommunicate request_size=4 [23:52:53]MH_SAM_APDU [23:52:53]CAPDU: 80 17 00 00 [23:52:53]Write to MH i2c: E2 08 00 3D 3C 80 17 00 00 00 00 00 00 F9 [23:52:53]Write i2c OK [23:52:53]MH_I2C_Read... [23:52:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:53]Read from MH i2c: E2 [23:52:53]MH_I2C_Read... [23:52:53]Read from MH i2c: E2 FD 00 [23:52:53]MH_I2C_Read... [23:52:53]Read from MH i2c: E2 FD 00 3D 3C 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 73 [23:52:53]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:53]wFMCommunicate OK [23:52:53]wFMCommunicate request_size=4 [23:52:53]MH_SAM_APDU [23:52:53]CAPDU: 80 17 00 00 [23:52:53]Write to MH i2c: E2 08 00 3E 3C 80 17 00 00 00 00 00 00 FA [23:52:53]Write i2c OK [23:52:53]MH_I2C_Read... [23:52:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:52:53]Read from MH i2c: E2 [23:52:53]MH_I2C_Read... [23:52:53]Read from MH i2c: E2 DC 00 [23:52:53]MH_I2C_Read... [23:52:53]Read from MH i2c: E2 DC 00 3E 3C 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DE [23:52:54]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:52:54]wFMCommunicate OK [23:52:54]SAM_PROTO_GetFMData done [23:52:54]requested_item fm.sale_refund.total is exist - process it [23:52:54]requested_item fm.buy.total is exist - process it [23:52:54]requested_item shift.sale.total is exist - process it [23:52:54]SAM_PROTO_GetShiftData [23:52:54]wFMCommunicate request_size=4 [23:52:54]MH_SAM_APDU [23:52:54]CAPDU: 80 13 02 00 [23:52:54]Write to MH i2c: E2 08 00 3F 3C 80 13 02 00 00 00 00 00 F9 [23:52:54]Write i2c OK [23:52:54]MH_I2C_Read... [23:52:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:54]Read from MH i2c: E2 [23:52:54]MH_I2C_Read... [23:52:54]Read from MH i2c: E2 FD 00 [23:52:54]MH_I2C_Read... [23:52:54]Read from MH i2c: E2 FD 00 3F 3C 00 AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 87 [23:52:54]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [23:52:55]wFMCommunicate OK [23:52:55]wFMCommunicate request_size=4 [23:52:55]MH_SAM_APDU [23:52:55]CAPDU: 80 17 00 00 [23:52:55]Write to MH i2c: E2 08 00 40 3C 80 17 00 00 00 00 00 00 FC [23:52:55]Write i2c OK [23:52:55]MH_I2C_Read... [23:52:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:55]Read from MH i2c: E2 [23:52:55]MH_I2C_Read... [23:52:55]Read from MH i2c: E2 FD 00 [23:52:55]MH_I2C_Read... [23:52:55]Read from MH i2c: E2 FD 00 40 3C 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 0E [23:52:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [23:52:55]wFMCommunicate OK [23:52:55]wFMCommunicate request_size=4 [23:52:55]MH_SAM_APDU [23:52:55]CAPDU: 80 17 00 00 [23:52:55]Write to MH i2c: E2 08 00 41 3C 80 17 00 00 00 00 00 00 FD [23:52:55]Write i2c OK [23:52:55]MH_I2C_Read... [23:52:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:56]Read from MH i2c: E2 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 FD 00 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 FD 00 41 3C 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 C1 [23:52:56]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [23:52:56]wFMCommunicate OK [23:52:56]wFMCommunicate request_size=4 [23:52:56]MH_SAM_APDU [23:52:56]CAPDU: 80 17 00 00 [23:52:56]Write to MH i2c: E2 08 00 42 3C 80 17 00 00 00 00 00 00 FE [23:52:56]Write i2c OK [23:52:56]MH_I2C_Read... [23:52:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:56]Read from MH i2c: E2 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 FD 00 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 FD 00 42 3C 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 73 [23:52:57]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 OFD Sender: No OFD packet to send [23:52:57]00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [23:52:57]wFMCommunicate OK [23:52:57]wFMCommunicate request_size=4 [23:52:57]MH_SAM_APDU [23:52:57]CAPDU: 80 17 00 00 [23:52:57]Write to MH i2c: E2 08 00 43 3C 80 17 00 00 00 00 00 00 FF [23:52:57]Write i2c OK [23:52:57]MH_I2C_Read... [23:52:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [23:52:57]Read from MH i2c: E2 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 CA 00 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 CA 00 43 3C 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 E4 [23:52:57]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:57]wFMCommunicate OK [23:52:57]SAM_PROTO_GetShiftData done [23:52:57]requested_item shift.sale.total_cash is exist - process it [23:52:57]requested_item shift.sale_refund.total is exist - process it [23:52:57]requested_item shift.sale_refund.total_cash is exist - process it [23:52:57]requested_item shift.buy.total is exist - process it [23:52:57]requested_item shift.buy.total_cash is exist - process it [23:52:57]produce_requested_data done [23:52:57]produce_requested_data return {"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:52:57]process_action_free get_value [23:52:57]json_value_free [23:52:57]json_value_free done [23:52:57]process_json_proto returns [23:52:57]Send response to host [23:52:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:52:57]free response buf [23:52:57]execute_script done [23:52:57]execute_script returns [23:52:57]free content buf [23:52:57]Sock 9.Close socket [23:52:57]Sock 9.Thread stoped [23:52:57]accept exits with 7 [23:52:57]New connection [23:52:57]New thread 3066670436 created [23:52:57]Thread 3066813796 joined [23:52:57]Waiting for new connection... [23:52:57] Sock 7.Parse request [23:52:57]Sock 7.Check first char [23:52:57]Sock 7.First char is OK [23:52:57]request: POST /json_proto HTTP/1.0 [23:52:57]Method: POST [23:52:57]URL: /json_proto [23:52:57]Method is POST - this is cgi request [23:52:57]url: /json_proto [23:52:57]query_string will be loaded in cgi processing [23:52:57]execute_cgi json_proto POST (null) [23:52:57]execute_cgi path=json_proto method=POST [23:52:57]POST find Content-Length [23:52:57]Host: 172.17.56.67:8080 [23:52:57]Content-Length: 284 [23:52:57]Content-Type: application/json [23:52:57] [23:52:57]POST finish read [23:52:57]Found Content-Length = 284 [23:52:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:57]execute_script... [23:52:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:57]POST & json_proto [23:52:57]process_json_proto [23:52:57]json parsed OK: [23:52:57]protocol is kg_v1.0 [23:52:57]action value=close_shift [23:52:57]process_action close_shift [23:52:57]cmd_close_shift [23:52:57]MH_GetDate [23:52:57]Write to MH i2c: F0 00 00 44 3C 6F [23:52:57]Write i2c OK [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: F0 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: F0 09 00 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: F0 09 00 44 3C 00 E4 E8 B6 65 26 5D 9E 65 E5 [23:52:57]GetLastDocTimeStamp 1706485959 [23:52:57]current date 1706485988 [23:52:57]FM_GetShiftState [23:52:57]SAM_PROTO_GetShiftState [23:52:57]wFMCommunicate request_size=4 [23:52:57]MH_SAM_APDU [23:52:57]CAPDU: 80 13 01 00 [23:52:57]Write to MH i2c: E2 08 00 45 3C 80 13 01 00 00 00 00 00 FE [23:52:57]Write i2c OK [23:52:57]MH_I2C_Read... [23:52:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:57]Read from MH i2c: E2 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 0E 00 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: E2 0E 00 45 3C 00 09 00 01 C7 99 B5 65 00 00 00 00 90 00 84 [23:52:57]RAPDU: 09 00 01 C7 99 B5 65 00 00 00 00 90 00 [23:52:57]wFMCommunicate OK [23:52:57]SAM_PROTO_GetShiftState done [23:52:57]FM_GetShiftState done [23:52:57]KKMCreateCloseShiftDocument [23:52:57]Load OK [23:52:57]Malloc new data [23:52:57]MH_GetDate [23:52:57]Write to MH i2c: F0 00 00 46 3C 71 [23:52:57]Write i2c OK [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: F0 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: F0 09 00 [23:52:57]MH_I2C_Read... [23:52:57]Read from MH i2c: F0 09 00 46 3C 00 E4 E8 B6 65 26 5D 9E 65 E7 [23:52:57]Malloc new data [23:52:57]Malloc new data [23:52:57]Malloc new data [23:52:57]Malloc new data [23:52:57]KKMCreateCloseShiftDocument OK [23:52:57]KKMSetCloseShiftData OK [23:52:57]ProcessDocumentItem done err = 0, tmpTLVsize=79 [23:52:57]tlvbuf is 011E02C0 [23:52:57]KKMLoadAndSignCloseShiftData [23:52:57]SAM_PROTO_ProcessDocument [23:52:57]wFMCommunicate request_size=9 [23:52:57]MH_SAM_APDU [23:52:57]CAPDU: 80 15 01 00 04 05 00 4F 00 [23:52:57]Write to MH i2c: E2 0C 00 47 3C 80 15 01 00 04 00 05 00 4F 00 00 00 5E [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:58]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:52:58]Read from MH i2c: E2 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 47 3C 00 90 00 F7 [23:52:58]RAPDU: 90 00 [23:52:58]wFMCommunicate OK [23:52:58]wFMCommunicate request_size=23 [23:52:58]MH_SAM_APDU [23:52:58]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:52:58]Write to MH i2c: E2 1A 00 48 3C 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 F9 [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:52:58]Read from MH i2c: E2 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 48 3C 00 90 00 F8 [23:52:58]RAPDU: 90 00 [23:52:58]wFMCommunicate OK [23:52:58]wFMCommunicate request_size=38 [23:52:58]MH_SAM_APDU [23:52:58]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 [23:52:58]Write to MH i2c: E2 29 00 49 3C 80 15 02 00 21 00 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 00 00 92 [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:52:58]Read from MH i2c: E2 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 49 3C 00 90 00 F9 [23:52:58]RAPDU: 90 00 [23:52:58]wFMCommunicate OK [23:52:58]wFMCommunicate request_size=13 [23:52:58]MH_SAM_APDU [23:52:58]CAPDU: 80 15 02 00 08 F4 03 04 00 E4 E8 B6 65 [23:52:58]Write to MH i2c: E2 10 00 4A 3C 80 15 02 00 08 00 F4 03 04 00 E4 E8 B6 65 00 00 F8 [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:52:58]Read from MH i2c: E2 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 4A 3C 00 90 00 FA [23:52:58]RAPDU: 90 00 [23:52:58]wFMCommunicate OK [23:52:58]wFMCommunicate request_size=25 [23:52:58]MH_SAM_APDU [23:52:58]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 [23:52:58]Write to MH i2c: E2 1C 00 4B 3C 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 00 00 67 [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:58]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:52:58]Read from MH i2c: E2 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 [23:52:58]MH_I2C_Read... [23:52:58]Read from MH i2c: E2 03 00 4B 3C 00 90 00 FB [23:52:58]RAPDU: 90 00 [23:52:58]wFMCommunicate OK [23:52:58]wFMCommunicate request_size=4 [23:52:58]MH_SAM_APDU [23:52:58]CAPDU: 80 15 03 00 [23:52:58]Write to MH i2c: E2 08 00 4C 3C 80 15 03 00 00 00 00 00 09 [23:52:58]Write i2c OK [23:52:58]MH_I2C_Read... [23:52:59]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:52:59]Read from MH i2c: E2 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 FD 00 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 FD 00 4C 3C 00 F0 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 78 BF 00 00 0E 04 04 00 F4 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 6C [23:52:59]RAPDU: F0 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 78 BF 00 00 0E 04 04 00 F4 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [23:52:59]wFMCommunicate OK [23:52:59]SAM_PROTO_ProcessDocument answer len = 1264 [23:52:59]SAM_PROTO_ProcessDocument remain to read = 1016 [23:52:59]wFMCommunicate request_size=4 [23:52:59]MH_SAM_APDU [23:52:59]CAPDU: 80 17 00 00 [23:52:59]Write to MH i2c: E2 08 00 4D 3C 80 17 00 00 00 00 00 00 09 [23:52:59]Write i2c OK [23:52:59]MH_I2C_Read... [23:52:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:59]Read from MH i2c: E2 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 FD 00 [23:52:59]MH_I2C_Read... [23:52:59]Read from MH i2c: E2 FD 00 4D 3C 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 E1 [23:52:59]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:53:00]wFMCommunicate OK [23:53:00]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:53:00]SAM_PROTO_ProcessDocument remain to read = 766 [23:53:00]wFMCommunicate request_size=4 [23:53:00]MH_SAM_APDU [23:53:00]CAPDU: 80 17 00 00 [23:53:00]Write to MH i2c: E2 08 00 4E 3C 80 17 00 00 00 00 00 00 0A [23:53:00]Write i2c OK [23:53:00]MH_I2C_Read... [23:53:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:00]Read from MH i2c: E2 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 FD 00 [23:53:00]MH_I2C_Read... [23:53:00]Read from MH i2c: E2 FD 00 4E 3C 00 00 05 F7 03 00 00 EF 03 09 00 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 90 00 6C [23:53:00]RAPDU: 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:53:00]wFMCommunicate OK [23:53:00]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:53:00]SAM_PROTO_ProcessDocument remain to read = 516 [23:53:00]wFMCommunicate request_size=4 [23:53:00]MH_SAM_APDU [23:53:00]CAPDU: 80 17 00 00 [23:53:00]Write to MH i2c: E2 08 00 4F 3C 80 17 00 00 00 00 00 00 0B [23:53:00]Write i2c OK [23:53:00]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 FD 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 FD 00 4F 3C 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 90 00 97 [23:53:01]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 90 00 [23:53:01]wFMCommunicate OK [23:53:01]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:53:01]SAM_PROTO_ProcessDocument remain to read = 266 [23:53:01]wFMCommunicate request_size=4 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 17 00 00 [23:53:01]Write to MH i2c: E2 08 00 50 3C 80 17 00 00 00 00 00 00 0C [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 FD 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 FD 00 50 3C 00 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 D2 [23:53:02]RAPDU: 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 OFD Sender: No OFD packet to send [23:53:02]EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:53:02]wFMCommunicate OK [23:53:02]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:53:02]SAM_PROTO_ProcessDocument remain to read = 16 [23:53:02]wFMCommunicate request_size=4 [23:53:02]MH_SAM_APDU [23:53:02]CAPDU: 80 17 00 00 [23:53:02]Write to MH i2c: E2 08 00 51 3C 80 17 00 00 00 00 00 00 0D [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 16! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 13 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 13 00 51 3C 00 00 06 F7 03 00 00 35 04 06 00 46 87 8B 98 DD F2 90 00 0F [23:53:02]RAPDU: 00 06 F7 03 00 00 35 04 06 00 46 87 8B 98 DD F2 90 00 [23:53:02]wFMCommunicate OK [23:53:02]SAM_PROTO_ProcessDocument received (without SW) 16 bytes [23:53:02]SAM_PROTO_ProcessDocument done [23:53:02]1209 (1) - 1.0 - номер верÑии ФФД [23:53:02]1041 (16) - 0000000000875060 - номер ФМ [23:53:02]1040 (4) - 49016 - номер ФД [23:53:02]1038 (4) - 244 - номер Ñмены [23:53:02]1118 (4) - 80 - количеÑтво каÑÑовых чеков за Ñмену [23:53:02]1111 (4) - 82 - общее количеÑтво ФД за Ñмену [23:53:02]1194 (1193) - Ñчетчики итогов Ñмены [23:53:02] 1134 (4) - 80 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [23:53:02] 1129 (154) - Ñчетчики операций «приход» [23:53:02] 1135 (4) - 80 - количеÑтво чеков по признаку раÑчетов [23:53:02] 1201 (3) - 43615.73 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:53:02] 1136 (3) - 43269.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:53:02] 1138 (2) - 346.73 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:53:02] 1024 (122) - Ñуммы налогов [23:53:02] 1006 (9) - Ñуммы ÐДС [23:53:02] 1010 (1) - 0% - код Ñтавки ÐДС [23:53:02] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:53:02] 1006 (12) - Ñуммы ÐДС [23:53:02] 1010 (1) - 12% - код Ñтавки ÐДС [23:53:02] 1011 (3) - 4634.23 - Ñумма ÐДС по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 0% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (11) - Ñуммы ÐСП [23:53:02] 1014 (1) - 1% - код Ñтавки ÐСП [23:53:02] 1015 (2) - 386.17 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 2% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 3% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 5% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1130 (141) - Ñчетчики операций «возврат прихода» [23:53:02] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:53:02] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:53:02] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:53:02] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:53:02] 1024 (117) - Ñуммы налогов [23:53:02] 1006 (9) - Ñуммы ÐДС [23:53:02] 1010 (1) - 0% - код Ñтавки ÐДС [23:53:02] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:53:02] 1006 (9) - Ñуммы ÐДС [23:53:02] 1010 (1) - 12% - код Ñтавки ÐДС [23:53:02] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 0% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 1% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 2% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 3% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 5% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1131 (141) - Ñчетчики операций «раÑход» [23:53:02] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:53:02] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:53:02] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:53:02] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:53:02] 1024 (117) - Ñуммы налогов [23:53:02] 1006 (9) - Ñуммы ÐДС [23:53:02] 1010 (1) - 0% - код Ñтавки ÐДС [23:53:02] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:53:02] 1006 (9) - Ñуммы ÐДС [23:53:02] 1010 (1) - 12% - код Ñтавки ÐДС [23:53:02] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 0% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 1% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 2% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 3% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 5% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1007 (9) - Ñуммы ÐСП [23:53:02] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:53:02] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:02] 1132 (141) - Ñчетчики операций «возврат раÑхода» [23:53:02] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [23:53:02] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [23:53:02] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [23:53:02] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [23:53:02] 1024 (117) - Ñуммы налогов [23:53:02] 1006 (9) - Ñуммы ÐДС [23:53:02] 1010 (1) - 0% - код Ñтавки ÐДС [23:53:02] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:53:03] 1006 (9) - Ñуммы ÐДС [23:53:03] 1010 (1) - 12% - код Ñтавки ÐДС [23:53:03] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [23:53:03] 1007 (9) - Ñуммы ÐСП [23:53:03] 1014 (1) - 0% - код Ñтавки ÐСП [23:53:03] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:03] 1007 (9) - Ñуммы ÐСП [23:53:03] 1014 (1) - 1% - код Ñтавки ÐСП [23:53:03] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:03] 1007 (9) - Ñуммы ÐСП [23:53:03] 1014 (1) - 2% - код Ñтавки ÐСП [23:53:03] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:03] 1007 (9) - Ñуммы ÐСП [23:53:03] 1014 (1) - 3% - код Ñтавки ÐСП [23:53:03] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:03] 1007 (9) - Ñуммы ÐСП [23:53:03] 1014 (1) - 5% - код Ñтавки ÐСП [23:53:03] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:03] 1007 (9) - Ñуммы ÐСП [23:53:03] 1014 (1) - 0,50% - код Ñтавки ÐСП [23:53:03] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:03] 1007 (9) - Ñуммы ÐСП [23:53:03] 1014 (1) - 1,50% - код Ñтавки ÐСП [23:53:03] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [23:53:03] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [23:53:03]1077 (6) - 77547976580594 - ФПД [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1209 (04B9) [23:53:03]Malloc new data [23:53:03]Processing tag 1041 (0411) [23:53:03]Processing tag 1040 (0410) [23:53:03]Malloc new data [23:53:03]Processing tag 1038 (040E) [23:53:03]Malloc new data [23:53:03]Processing tag 1118 (045E) [23:53:03]Malloc new data [23:53:03]Processing tag 1111 (0457) [23:53:03]Malloc new data [23:53:03]Processing tag 1194 (04AA) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1134 (046E) [23:53:03]Malloc new data [23:53:03]Processing tag 1129 (0469) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1135 (046F) [23:53:03]Malloc new data [23:53:03]Processing tag 1201 (04B1) [23:53:03]Malloc new data [23:53:03]Processing tag 1136 (0470) [23:53:03]Malloc new data [23:53:03]Processing tag 1138 (0472) [23:53:03]Malloc new data [23:53:03]Processing tag 1024 (0400) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1006 (03EE) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1010 (03F2) [23:53:03]Malloc new data [23:53:03]Processing tag 1011 (03F3) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1006 (03EE) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1010 (03F2) [23:53:03]Malloc new data [23:53:03]Processing tag 1011 (03F3) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]SetTLVBufToDocument err=0 [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1130 (046A) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1135 (046F) [23:53:03]Malloc new data [23:53:03]Processing tag 1201 (04B1) [23:53:03]Malloc new data [23:53:03]Processing tag 1136 (0470) [23:53:03]Malloc new data [23:53:03]Processing tag 1138 (0472) [23:53:03]Malloc new data [23:53:03]Processing tag 1024 (0400) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1006 (03EE) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1010 (03F2) [23:53:03]Malloc new data [23:53:03]Processing tag 1011 (03F3) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1006 (03EE) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1010 (03F2) [23:53:03]Malloc new data [23:53:03]Processing tag 1011 (03F3) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]SetTLVBufToDocument err=0 [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1131 (046B) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1135 (046F) [23:53:03]Malloc new data [23:53:03]Processing tag 1201 (04B1) [23:53:03]Malloc new data [23:53:03]Processing tag 1136 (0470) [23:53:03]Malloc new data [23:53:03]Processing tag 1138 (0472) [23:53:03]Malloc new data [23:53:03]Processing tag 1024 (0400) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1006 (03EE) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1010 (03F2) [23:53:03]Malloc new data [23:53:03]Processing tag 1011 (03F3) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1006 (03EE) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1010 (03F2) [23:53:03]Malloc new data [23:53:03]Processing tag 1011 (03F3) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]SetTLVBufToDocument err=0 [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1132 (046C) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1135 (046F) [23:53:03]Malloc new data [23:53:03]Processing tag 1201 (04B1) [23:53:03]Malloc new data [23:53:03]Processing tag 1136 (0470) [23:53:03]Malloc new data [23:53:03]Processing tag 1138 (0472) [23:53:03]Malloc new data [23:53:03]Processing tag 1024 (0400) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1006 (03EE) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1010 (03F2) [23:53:03]Malloc new data [23:53:03]Processing tag 1011 (03F3) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1006 (03EE) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1010 (03F2) [23:53:03]Malloc new data [23:53:03]Processing tag 1011 (03F3) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1007 (03EF) [23:53:03]Load OK [23:53:03]SetTLVBufToDocument [23:53:03]Processing tag 1014 (03F6) [23:53:03]Malloc new data [23:53:03]Processing tag 1015 (03F7) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]SetTLVBufToDocument err=0 [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1133 (046D) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Processing tag 1077 (0435) [23:53:03]Malloc new data [23:53:03]SetTLVBufToDocument err=0 [23:53:03]Malloc new data [23:53:03]SAM_PROTO_GetFMData [23:53:03]wFMCommunicate request_size=4 [23:53:03]MH_SAM_APDU [23:53:03]CAPDU: 80 13 03 00 [23:53:03]Write to MH i2c: E2 08 00 52 3C 80 13 03 00 00 00 00 00 0D [23:53:03]Write i2c OK [23:53:03]MH_I2C_Read... [23:53:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:53:04]Read from MH i2c: E2 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 FD 00 [23:53:04]MH_I2C_Read... [23:53:04]Read from MH i2c: E2 FD 00 52 3C 00 BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 E0 [23:53:04]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 [23:53:04]wFMCommunicate OK [23:53:04]wFMCommunicate request_size=4 [23:53:04]MH_SAM_APDU [23:53:04]CAPDU: 80 17 00 00 [23:53:04]Write to MH i2c: E2 08 00 53 3C 80 17 00 00 00 00 00 00 0F [23:53:04]Write i2c OK [23:53:04]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 53 3C 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 BF [23:53:05]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:53:05]wFMCommunicate OK [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 17 00 00 [23:53:05]Write to MH i2c: E2 08 00 54 3C 80 17 00 00 00 00 00 00 10 [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 FD 00 54 3C 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 B4 [23:53:06]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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:53:06]wFMCommunicate OK [23:53:06]wFMCommunicate request_size=4 [23:53:06]MH_SAM_APDU [23:53:06]CAPDU: 80 17 00 00 [23:53:06]Write to MH i2c: E2 08 00 55 3C 80 17 00 00 00 00 00 00 11 [23:53:06]Write i2c OK [23:53:06]MH_I2C_Read... [23:53:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:06]Read from MH i2c: E2 [23:53:06]MH_I2C_Read... [23:53:06]Read from MH i2c: E2 FD 00 [23:53:06]MH_I2C_Read... [23:53:06]Read from MH i2c: E2 FD 00 55 3C 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 8B [23:53:06]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:07]wFMCommunicate OK [23:53:07]wFMCommunicate request_size=4 [23:53:07]MH_SAM_APDU [23:53:07]CAPDU: 80 17 00 00 [23:53:07]Write to MH i2c: E2 08 00 56 3C 80 17 00 00 00 00 00 00 12 [23:53:07]Write i2c OK [23:53:07]MH_I2C_Read... [23:53:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:53:07]Read from MH i2c: E2 [23:53:07]MH_I2C_Read... [23:53:07]Read from MH i2c: E2 DC 00 [23:53:07]MH_I2C_Read... [23:53:07]Read from MH i2c: E2 DC 00 56 3C 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 OFD Sender: No OFD packet to send [23:53:07]00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F6 [23:53:07]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:53:07]wFMCommunicate OK [23:53:07]SAM_PROTO_GetFMData done [23:53:07]Malloc new data [23:53:07]Malloc new data [23:53:07]Malloc new data [23:53:07]Malloc new data [23:53:07]KKMLoadAndSignCloseShiftData err=0 [23:53:07]Отчет о закрытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: БарыктабаÑов Т. 28.01.2024 23:53 Смена: 244 РÐМ: 0000000000092723 ЗÐМ: 0300000040 СÐО: Общий режим Чеков за Ñмену: 80 ФД за Ñмену: 82 Ð’Ñего чеков: 80 ИТОГИ ПРИХОД Чеков: 80 Общий итог: 43615.73 Итого наличными: 43269.00 Итого безнал.: 346.73 ÐДС 0% : 0.00 ÐДС 12% : 4634.23 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 386.17 ИТОГИ ВОЗВРÐТ ПРИХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ РÐСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ ВОЗВРÐТ РÐСХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 Сумма внеÑений: 0.00 Сумма выплат: 0.00 Ðал. в каÑÑе: 43269.00 ÐС Приход: 31511731.60 ÐС Возвр.Прихода: 6198.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФД: 49016 ФМ: 0000000000875060 ФПД: 77547976580594 [23:53:07]StoreToDocumentArchive [23:53:07]shift 244 fd 49016 [23:53:07]save to /storage/0244/doc_00049016 [23:53:07]save last doc name /storage/0244/doc_00049016 to /storage/kkm_last_doc_name [23:53:07]save OK [23:53:07]Clear old archive folders... [23:53:07]Remove dir /storage/0010 [23:53:07]opendir ok [23:53:07]file . [23:53:07]file .. [23:53:07]file doc_1706485967 [23:53:07]remove file /storage/0010/doc_1706485967 [23:53:07]remove dir /storage/0010 [23:53:07]NVStorageSaveData kkm_registers [23:53:07]File name is /storage/kkm_registers [23:53:07]Write 24 bytes [23:53:07]NVStorageSaveData done [23:53:07]NVStorageSaveData kkm_registers [23:53:07]File name is /storage/kkm_registers [23:53:07]Write 24 bytes [23:53:07]NVStorageSaveData done [23:53:07]ProcessDocumentItem done err = 0, tmpTLVsize=1386 [23:53:07]tlvbuf is 013CE340 [23:53:07]SAM_PROTO_ClearQueue [23:53:07]wFMCommunicate request_size=4 [23:53:07]MH_SAM_APDU [23:53:07]CAPDU: 80 09 00 00 [23:53:07]Write to MH i2c: E2 08 00 57 3C 80 09 00 00 00 00 00 00 05 [23:53:07]Write i2c OK [23:53:07]MH_I2C_Read... [23:53:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:53:07]Read from MH i2c: E2 [23:53:07]MH_I2C_Read... [23:53:07]Read from MH i2c: E2 03 00 [23:53:07]MH_I2C_Read... [23:53:07]Read from MH i2c: E2 03 00 57 3C 00 90 00 07 [23:53:07]RAPDU: 90 00 [23:53:07]wFMCommunicate OK [23:53:07]SAM_PROTO_ClearQueue done [23:53:07]KKMCreateOFDPacket [23:53:07]OFDProtocolAddRootSTLVToBuf [23:53:07]FM_MakeSignedData [23:53:07]FM_MakeSignedData [23:53:07]SAM_PROTO_SignData [23:53:07]wFMCommunicate request_size=4 [23:53:07]MH_SAM_APDU [23:53:07]CAPDU: 80 0D 01 02 [23:53:07]Write to MH i2c: E2 08 00 58 3C 80 0D 01 02 00 00 00 00 0D [23:53:07]Write i2c OK [23:53:07]MH_I2C_Read... [23:53:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:53:08]Read from MH i2c: E2 [23:53:08]MH_I2C_Read... [23:53:08]Read from MH i2c: E2 03 00 [23:53:08]MH_I2C_Read... [23:53:08]Read from MH i2c: E2 03 00 58 3C 00 90 00 08 [23:53:08]RAPDU: 90 00 [23:53:08]wFMCommunicate OK [23:53:08]wFMCommunicate request_size=255 [23:53:08]MH_SAM_APDU [23:53:08]CAPDU: 80 0D 02 02 FA 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 E4 E8 B6 65 0E 04 04 00 F4 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 D4 04 6E 04 04 00 50 00 00 00 69 04 A1 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 [23:53:08]Write to MH i2c: E2 02 01 59 3C 80 0D 02 02 FA 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 E4 E8 B6 65 0E 04 04 00 F4 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 D4 04 6E 04 04 00 50 00 00 00 69 04 A1 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 00 00 8E [23:53:08]Write i2c OK [23:53:08]MH_I2C_Read... [23:53:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:08]Read from MH i2c: E2 [23:53:08]MH_I2C_Read... [23:53:08]Read from MH i2c: E2 03 00 [23:53:08]MH_I2C_Read... [23:53:08]Read from MH i2c: E2 03 00 59 3C 00 90 00 09 [23:53:08]RAPDU: 90 00 [23:53:08]wFMCommunicate OK [23:53:08]wFMCommunicate request_size=255 [23:53:08]MH_SAM_APDU [23:53:08]CAPDU: 80 0D 02 02 FA 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 D9 96 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 [23:53:09]Write to MH i2c: E2 02 01 5A 3C 80 0D 02 02 FA 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D9 96 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 00 00 EF [23:53:09]Write i2c OK [23:53:09]MH_I2C_Read... [23:53:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:09]Read from MH i2c: E2 [23:53:09]MH_I2C_Read... [23:53:09]Read from MH i2c: E2 03 00 [23:53:09]MH_I2C_Read... [23:53:09]Read from MH i2c: E2 03 00 5A 3C 00 90 00 0A [23:53:09]RAPDU: 90 00 [23:53:09]wFMCommunicate OK [23:53:09]wFMCommunicate request_size=255 [23:53:09]MH_SAM_APDU [23:53:09]CAPDU: 80 0D 02 02 FA 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 [23:53:09]Write to MH i2c: E2 02 01 5B 3C 80 0D 02 02 FA 00 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 00 00 D4 [23:53:10]Write i2c OK [23:53:10]MH_I2C_Read... [23:53:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:10]Read from MH i2c: E2 [23:53:10]MH_I2C_Read... [23:53:10]Read from MH i2c: E2 03 00 [23:53:10]MH_I2C_Read... [23:53:10]Read from MH i2c: E2 03 00 5B 3C 00 90 00 0B [23:53:10]RAPDU: 90 00 [23:53:10]wFMCommunicate OK [23:53:10]wFMCommunicate request_size=255 [23:53:10]MH_SAM_APDU [23:53:10]CAPDU: 80 0D 02 02 FA 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 [23:53:10]Write to MH i2c: E2 02 01 5C 3C 80 0D 02 02 FA 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 00 D7 [23:53:11]Write i2c OK [23:53:11]MH_I2C_Read... [23:53:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:11]Read from MH i2c: E2 [23:53:11]MH_I2C_Read... [23:53:11]Read from MH i2c: E2 03 00 [23:53:11]MH_I2C_Read... [23:53:11]Read from MH i2c: E2 03 00 5C 3C 00 90 00 0C [23:53:11]RAPDU: 90 00 [23:53:11]wFMCommunicate OK [23:53:11]wFMCommunicate request_size=255 [23:53:11]MH_SAM_APDU [23:53:11]CAPDU: 80 0D 02 02 FA 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 [23:53:11]Write to MH i2c: E2 02 01 5D 3C 80 0D 02 02 FA 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 00 00 99 [23:53:11]Write i2c OK [23:53:11]MH_I2C_Read... [23:53:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:12]Read from MH i2c: E2 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: E2 03 00 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: E2 03 00 5D 3C 00 90 00 0D [23:53:12]RAPDU: 90 00 [23:53:12]wFMCommunicate OK [23:53:12]wFMCommunicate request_size=145 [23:53:12]MH_SAM_APDU [23:53:12]CAPDU: 80 0D 02 02 8C 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 78 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 35 04 06 00 46 87 8B 98 DD F2 [23:53:12]Write to MH i2c: E2 94 00 5E 3C 80 0D 02 02 8C 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 78 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 35 04 06 00 46 87 8B 98 DD F2 00 00 4C [23:53:12]Write i2c OK [23:53:12]MH_I2C_Read... [23:53:12]OFD Sender: No OFD packet to send [23:53:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:12]Read from MH i2c: E2 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: E2 03 00 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: E2 03 00 5E 3C 00 90 00 0E [23:53:12]RAPDU: 90 00 [23:53:12]wFMCommunicate OK [23:53:12]wFMCommunicate request_size=4 [23:53:12]MH_SAM_APDU [23:53:12]CAPDU: 80 0D 03 02 [23:53:12]Write to MH i2c: E2 08 00 5F 3C 80 0D 03 02 00 00 00 00 16 [23:53:12]Write i2c OK [23:53:12]MH_I2C_Read... [23:53:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:53:12]Read from MH i2c: E2 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: E2 0B 00 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: E2 0B 00 5F 3C 00 B8 25 AE 6C 56 BF 57 E7 90 00 61 [23:53:12]RAPDU: B8 25 AE 6C 56 BF 57 E7 90 00 [23:53:12]wFMCommunicate OK [23:53:12]SAM_PROTO_SignData done [23:53:12]FM_MakeSignedData done [23:53:12]CreateOFDProtocolMessage [23:53:12]wFMCommunicate request_size=4 [23:53:12]MH_SAM_APDU [23:53:12]CAPDU: 80 11 00 00 [23:53:12]Write to MH i2c: E2 08 00 60 3C 80 11 00 00 00 00 00 00 16 [23:53:12]Write i2c OK [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: E2 [23:53:12]MH_I2C_Read... [23:53:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:12]Read from MH i2c: E2 17 00 [23:53:12]MH_I2C_Read... [23:53:12]Read from MH i2c: E2 17 00 60 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 63 [23:53:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [23:53:12]wFMCommunicate OK [23:53:12]CreateOFDProtocolMessage done [23:53:12]OFDSenderStorePacket 49016 [23:53:12]StoreOFDPacket docnum=49016 [23:53:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 7E 05 00 00 73 0A 76 05 97 48 5A 05 01 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 E4 E8 B6 65 0E 04 04 00 F4 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 D4 04 6E 04 04 00 50 00 00 00 69 04 A1 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 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 78 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 35 04 06 00 46 87 8B 98 DD F2 B8 25 AE 6C 56 BF 57 E7 [23:53:13]CheckFolder [23:53:13]dirname=/storage/ofd_packets [23:53:13]CheckFolder done [23:53:13]ProducePacketName [23:53:13]name=ofd_packets/00049016 [23:53:13]NVStorageSaveData ofd_packets/00049016 [23:53:13]File name is /storage/ofd_packets/00049016 [23:53:13]Write 1436 bytes [23:53:13]NVStorageSaveData done [23:53:13]OFDSenderStorePacket done [23:53:13]KKMCreateOFDPacket done [23:53:13]NVStorageSaveData kkm_last_timestamp [23:53:13]File name is /storage/kkm_last_timestamp [23:53:13]Write 4 bytes [23:53:13]NVStorageSaveData done [23:53:13]ExternCall_PrintAddStr [23:53:13]wPrintStart [23:53:13]Write to MH i2c: 01 00 00 61 3C 9D [23:53:13]Write i2c OK [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: 01 [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: 01 07 00 [23:53:13]MH_I2C_Read... [23:53:13]Read from MH i2c: 01 07 00 61 3C 00 00 00 00 00 FF 0F B2 [23:53:13]RasterBufferAndPrint [23:53:13]line Отчет о закрытии Ñмены [23:53:13]line ФФД: 1.0 [23:53:13]line ИÐÐ: 02508201610067 [23:53:13]line КаÑÑир: БарыктабаÑов Т. [23:53:13]line 28.01.2024 23:53 [23:53:13]line Смена: 244 [23:53:13]line РÐМ: 0000000000092723 [23:53:13]line ЗÐМ: 0300000040 [23:53:13]line СÐО: Общий режим [23:53:13]line Чеков за Ñмену: 80 [23:53:13]line ФД за Ñмену: 82 [23:53:13]line Ð’Ñего чеков: 80 [23:53:13]line ИТОГИ ПРИХОД [23:53:13]line Чеков: 80 [23:53:13]line Общий итог: 43615.73 [23:53:13]line Итого наличными: 43269.00 [23:53:13]line Итого безнал.: 346.73 [23:53:13]line ÐДС 0% : 0.00 [23:53:13]line ÐДС 12% : 4634.23 [23:53:13]line ÐСП 0% : 0.00 [23:53:13]line ÐСП 1,50% : 0.00 [23:53:13]line ÐСП 0,50% : 0.00 [23:53:13]line ÐСП 5% : 0.00 [23:53:13]line ÐСП 3% : 0.00 [23:53:13]line ÐСП 2% : 0.00 [23:53:13]line ÐСП 1% : 386.17 [23:53:13]line ИТОГИ ВОЗВРÐТ ПРИХОДР[23:53:13]line Чеков: 0 [23:53:13]line Общий итог: 0.00 [23:53:13]line Итого наличными: 0.00 [23:53:13]line Итого безнал.: 0.00 [23:53:13]line ÐДС 0% : 0.00 [23:53:13]line ÐДС 12% : 0.00 [23:53:13]line ÐСП 0% : 0.00 [23:53:13]line ÐСП 1,50% : 0.00 [23:53:13]line ÐСП 0,50% : 0.00 [23:53:13]line ÐСП 5% : 0.00 [23:53:13]line ÐСП 3% : 0.00 [23:53:13]line ÐСП 2% : 0.00 [23:53:13]line ÐСП 1% : 0.00 [23:53:13]line ИТОГИ РÐСХОД [23:53:13]line Чеков: 0 [23:53:13]line Общий итог: 0.00 [23:53:13]line Итого наличными: 0.00 [23:53:13]line Итого безнал.: 0.00 [23:53:13]line ÐДС 0% : 0.00 [23:53:13]line ÐДС 12% : 0.00 [23:53:13]line ÐСП 0% : 0.00 [23:53:13]line ÐСП 1,50% : 0.00 [23:53:13]line ÐСП 0,50% : 0.00 [23:53:13]line ÐСП 5% : 0.00 [23:53:13]line ÐСП 3% : 0.00 [23:53:13]line ÐСП 2% : 0.00 [23:53:13]line ÐСП 1% : 0.00 [23:53:13]line ИТОГИ ВОЗВРÐТ РÐСХОДР[23:53:13]line Чеков: 0 [23:53:13]line Общий итог: 0.00 [23:53:13]line Итого наличными: 0.00 [23:53:13]line Итого безнал.: 0.00 [23:53:13]line ÐДС 0% : 0.00 [23:53:13]line ÐДС 12% : 0.00 [23:53:13]OFD Sender: Processing packet 49016 [packets to send 12, broken 11] [23:53:13]ProducePacketName [23:53:13]name=ofd_packets/00049016 [23:53:13]OFD Sender: To server: ‡•öpG, [23:53:13]CommunicateWithHost lk.salyk.kg:30040 [23:53:13]ConnectInit lk.salyk.kg [23:53:13]line ÐСП 0% : 0.00 [23:53:13]line ÐСП 1,50% : 0.00 [23:53:13]line ÐСП 0,50% : 0.00 [23:53:13]line ÐСП 5% : 0.00 [23:53:13]line ÐСП 3% : 0.00 [23:53:13]line ÐСП 2% : 0.00 [23:53:13]line ÐСП 1% : 0.00 [23:53:13]line Сумма внеÑений: 0.00 [23:53:13]line Сумма выплат: 0.00 [23:53:13]line Ðал. в каÑÑе: 43269.00 [23:53:13]line ÐС Приход: 31511731.60 [23:53:13]line ÐС Возвр.Прихода: 6198.00 [23:53:13]line ÐС РаÑход: 0.00 [23:53:13]line ÐС Возвр.РаÑхода: 0.00 [23:53:13]line ФД: 49016 [23:53:13]line ФМ: 0000000000875060 [23:53:13]line ФПД: 77547976580594 [23:53:13]written 0, free lines is 4095 [23:53:13]Connected sock=10 [23:53: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 30 36 30 7E 05 00 00 73 0A 76 05 97 48 5A 05 01 00 05 00 6A 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 E4 E8 B6 65 0E 04 04 00 F4 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 AA 04 D4 04 6E 04 04 00 50 00 00 00 69 04 A1 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 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 Write to MH i2c: 01 01 00 00 00 00 B1 EF 3C 03 ED 0A [23:53:14]00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 Write i2c OK [23:53:14]F6 MH_I2C_Read... [23:53:14]03 Read from MH i2c: 01 01 00 [23:53:14]04 MH_I2C_Read... [23:53:14]F7 03 01 00 00 EF 03 Read from MH i2c: 0A 01 00 07 F6 00 03 [23:53:14]01 00 03 F7 03 01 00 00 EF 03 0A MH_I2C_Read... [23:53:14]00 F6 03 01 00 02 F7 03 Read from MH i2c: 01 01 00 07 00 00 EF B1 03 0A 00 F6 03 01 00 01 F7 03 01 3C 00 00 00 00 6D 00 04 00 4C 02 78 04 04 00 00 00 00 00 79 00 04 F9 8D 0A 00 F7 [23:53:14]6F RasterBufferAndPrint [23:53:14]04 line [23:53:14]04 line [23:53:14]00 line [23:53:14]00 line [23:53:14]00 00 00 B1 04 00 00 70 04 00 00 line [23:53:14]72 04 written 0, free lines is 3050 [23:53:14]00 00 00 04 75 00 EE 03 09 00 F2 03 01 MH_Cut [23:53:14]00 Write to MH i2c: 00 D1 F3 01 03 00 00 B8 00 3C EE 01 03 C6 09 [23:53:14]00 F2 03 01 00 01 F3 03 00 00 EF 03 Write i2c OK [23:53:14]09 MH_I2C_Read... [23:53:14]00 Read from MH i2c: F6 D1 03 [23:53:14]01 MH_I2C_Read... [23:53:14]00 00 F7 03 00 00 EF 03 Read from MH i2c: 09 D1 00 01 F6 00 03 [23:53:14]01 MH_I2C_Read... [23:53:14]00 01 F7 03 00 00 EF 03 Read from MH i2c: 09 D1 00 01 F6 00 03 B8 01 00 02 F7 03 00 00 EF 03 09 3C 00 00 F6 C5 03 [23:53:14]01 Write to MH i2c: 00 03 F7 03 00 00 EF 03 09 00 F6 01 03 00 01 00 00 B9 04 3C F7 03 00 00 EF 03 09 00 F6 03 F5 01 [23:53:14]00 Write i2c OK [23:53:14]05 MH_I2C_Read... [23:53:14]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 *** Cut start [23:53:15]03 00 00 EF 03 09 00 F6 03 *** Partial cut [23:53:15]01 00 06 F7 03 *** CUTSNS_PIN = 1 [23:53:15]00 00 10 04 04 *** CUTSNS_PIN = 0 [23:53:15]00 78 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 35 04 06 00 46 87 8B 98 DD F2 B8 25 AE 6C 56 BF 57 E7 [23:53:15]*** Brake cut motor [23:53:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 C2 37 47 00 66 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 78 BF 00 00 F4 03 04 00 EE 94 B6 65 B6 04 01 00 00 A1 D5 59 F6 D4 47 BA 4E [23:53:15]CommunicateWithHost err = 0 [23:53:15]CheckOFDResponse [23:53:15]1017 (14) - 77093643461234 [23:53:15]1041 (16) - 0000000000875060 [23:53:15]1040 (4) - 49016 [23:53:15]1012 (4) - 28.01.2024 17:54 [23:53:15]1206 (1) - 0 [23:53:15]OFD Sender: Remove packet 49016 [23:53:15]ProducePacketName [23:53:15]name=ofd_packets/00049016 [23:53:15]NVStorageDeleteData [23:53:15]Read from MH i2c: *** Stop cut motor [23:53:15]01 *** Cut end [23:53:15] [23:53:15]MH_I2C_Read... [23:53:15]Read from MH i2c: 01 07 00 [23:53:15]MH_I2C_Read... [23:53:15]Read from MH i2c: 01 07 00 B9 3C 00 00 00 00 00 FF 0F 0A [23:53:15]process_action close_shift done [23:53:15]requested_data is exist [23:53:15]produce_requested_data [23:53:15]requested_item fd.num is exist - process it [23:53:15]SAM_PROTO_GetFieldsCounters [23:53:15]wFMCommunicate request_size=4 [23:53:15]MH_SAM_APDU [23:53:15]CAPDU: 80 13 00 00 [23:53:15]Write to MH i2c: E2 08 00 BA 3C 80 13 00 00 00 00 00 00 72 [23:53:15]Write i2c OK [23:53:15]MH_I2C_Read... [23:53:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:53:15]Read from MH i2c: E2 [23:53:15]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 62 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 62 00 BA 3C 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 78 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 A7 [23:53: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 78 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:53:16]wFMCommunicate OK [23:53:16]SAM_PROTO_GetFieldsCounters done [23:53:16]requested_item shift.num is exist - process it [23:53:16]requested_item shift.opened is exist - process it [23:53:16]req_shift_opened [23:53:16]FM_GetShiftState [23:53:16]SAM_PROTO_GetShiftState [23:53:16]wFMCommunicate request_size=4 [23:53:16]MH_SAM_APDU [23:53:16]CAPDU: 80 13 01 00 [23:53:16]Write to MH i2c: E2 OFD Sender: No OFD packet to send [23:53:16]08 00 BB 3C 80 13 01 00 00 00 00 00 74 [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:16]Read from MH i2c: E2 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 0E 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 0E 00 BB 3C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 7F [23:53:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:53:16]wFMCommunicate OK [23:53:16]SAM_PROTO_GetShiftState done [23:53:16]FM_GetShiftState done [23:53:16]req_shift_opened done [23:53:16]requested_item shift.open_date is exist - process it [23:53:16]req_shift_open_date [23:53:16]FM_GetShiftState [23:53:16]SAM_PROTO_GetShiftState [23:53:16]wFMCommunicate request_size=4 [23:53:16]MH_SAM_APDU [23:53:16]CAPDU: 80 13 01 00 [23:53:16]Write to MH i2c: E2 08 00 BC 3C 80 13 01 00 00 00 00 00 75 [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:16]Read from MH i2c: E2 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 0E 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 0E 00 BC 3C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 80 [23:53:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:53:16]wFMCommunicate OK [23:53:16]SAM_PROTO_GetShiftState done [23:53:16]FM_GetShiftState done [23:53:16]req_shift_open_date done [23:53:16]produce_requested_data done [23:53:16]produce_requested_data return {"fd.num":49016,"shift.num":244,"shift.opened":0,"shift.open_date":0} [23:53:16]process_action_free close_shift [23:53:16]json_value_free [23:53:16]json_value_free done [23:53:16]process_json_proto returns [23:53:16]Send response to host [23:53:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":49016,"shift.num":244,"shift.opened":0,"shift.open_date":0}}} [23:53:16]free response buf [23:53:16]execute_script done [23:53:16]execute_script returns [23:53:16]free content buf [23:53:16]Sock 7.Close socket [23:53:16]Sock 7.Thread stoped [23:53:17]int [23:53:17]Write to MH i2c: 01 00 00 BD 3C F9 [23:53:17]*** FLAG_PRN_KEY set [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 BD 3C 00 08 00 00 00 FF 0F 16 [23:53:17]state=0 [23:53:17]Key pressed [23:53:17]Feed [23:53:17]Write to MH i2c: D8 00 00 BE 3C D1 [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: D8 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: D8 01 00 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: D8 01 00 BE 3C 00 D2 [23:53:17]int line is 0 - check status [23:53:17]Write to MH i2c: 01 00 00 BF 3C FB [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 BF 3C 00 48 00 00 00 3C 00 86 [23:53:17]state=2 [23:53:17]Key pressed [23:53:17]int [23:53:17]Write to MH i2c: 01 00 00 C0 3C FC [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 [23:53:17]MH_I2C_Read... [23:53:17]*** FLAG_PRN_KEY reset [23:53:17]Read from MH i2c: 01 07 00 C0 3C 00 48 00 00 00 3C 00 87 [23:53:17]state=2 [23:53:17]Key pressed [23:53:17]int line is 0 - check status [23:53:17]Write to MH i2c: 01 00 00 C1 3C FD [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 C1 3C 00 00 00 00 00 FF 0F 12 [23:53:17]state=2 [23:53:17]Stop feed [23:53:17]int [23:53:17]Write to MH i2c: 01 00 00 C2 3C FE [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 C2 3C 00 00 00 00 00 FF 0F 13 [23:53:17]state=0 [23:53:18]int [23:53:18]Write to MH i2c: 01 00 00 C3 3C FF [23:53:18]*** FLAG_PRN_KEY set [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 C3 3C 00 08 00 00 00 FF 0F 1C [23:53:18]state=0 [23:53:18]Key pressed [23:53:18]Feed [23:53:18]Write to MH i2c: D8 00 00 C4 3C D7 [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 01 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 01 00 C4 3C 00 D8 [23:53:18]int line is 0 - check status [23:53:18]Write to MH i2c: 01 00 00 C5 3C 01 [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 C5 3C 00 48 00 00 00 3C 00 8C [23:53:18]state=2 [23:53:18]Key pressed [23:53:18]int [23:53:18]Write to MH i2c: 01 00 00 C6 3C 02 [23:53:18]*** FLAG_PRN_KEY reset [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 C6 3C 00 00 00 00 00 FA 0F 12 [23:53:18]state=2 [23:53:18]Stop feed [23:53:18]int [23:53:18]Write to MH i2c: 01 00 00 C7 3C 03 [23:53:18]*** FLAG_PRN_KEY set [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 C7 3C 00 08 00 00 00 FF 0F 20 [23:53:18]state=0 [23:53:18]Key pressed [23:53:18]Feed [23:53:18]Write to MH i2c: D8 00 00 C8 3C DB [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 01 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 01 00 C8 3C 00 DC [23:53:18]int line is 0 - check status [23:53:18]Write to MH i2c: 01 00 00 C9 3C 05 [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 C9 3C 00 48 00 00 00 3C 00 90 [23:53:18]state=2 [23:53:18]Key pressed [23:53:18]int [23:53:18]Write to MH i2c: 01 00 00 CA 3C 06 [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 CA 3C 00 48 00 00 00 3C 00 91 [23:53:18]state=2 [23:53:18]Key pressed [23:53:18]int [23:53:18]Write to MH i2c: 01 00 00 CB 3C 07 [23:53:18]*** FLAG_PRN_KEY reset [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 CB 3C 00 00 00 00 00 FF 0F 1C [23:53:18]state=2 [23:53:18]Stop feed [23:53:18]int [23:53:18]Write to MH i2c: 01 00 00 CC 3C 08 [23:53:18]*** FLAG_PRN_KEY set [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 CC 3C 00 08 00 00 00 FF 0F 25 [23:53:18]state=0 [23:53:18]Key pressed [23:53:18]Feed [23:53:18]Write to MH i2c: D8 00 00 CD 3C E0 [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 01 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: D8 01 00 CD 3C 00 E1 [23:53:18]int line is 0 - check status [23:53:18]Write to MH i2c: 01 00 00 CE 3C 0A [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 CE 3C 00 48 00 00 00 3C 00 95 [23:53:18]state=2 [23:53:18]Key pressed [23:53:18]int line is 0 - check status [23:53:18]Write to MH i2c: 01 00 00 CF 3C 0B [23:53:18]*** FLAG_PRN_KEY reset [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: 01 07 00 CF 3C 00 00 00 00 00 FE 0F 1F [23:53:19]state=2 [23:53:19]Stop feed [23:53:19]int [23:53:19]Write to MH i2c: 01 00 00 D0 3C 0C [23:53:19]Write i2c OK [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: 01 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: 01 07 00 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: 01 07 00 D0 3C 00 00 00 00 00 FF 0F 21 [23:53:19]state=0 [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:06]OFD Sender: No OFD packet to send [23:57:11]OFD Sender: No OFD packet to send [23:57:16]OFD Sender: No OFD packet to send [23:57:21]OFD Sender: No OFD packet to send [23:57:26]OFD Sender: No OFD packet to send [23:57:31]OFD Sender: No OFD packet to send [23:57:36]OFD Sender: No OFD packet to send [23:57:41]OFD Sender: No OFD packet to send [23:57:46]OFD Sender: No OFD packet to send [23:57:51]OFD Sender: No OFD packet to send [23:57:56]OFD Sender: No OFD packet to send [23:58:01]OFD Sender: No OFD packet to send [23:58:06]OFD Sender: No OFD packet to send [23:58:11]OFD Sender: No OFD packet to send [23:58:16]OFD Sender: No OFD packet to send [23:58:21]OFD Sender: No OFD packet to send [23:58:26]OFD Sender: No OFD packet to send [23:58:31]OFD Sender: No OFD packet to send [23:58:36]OFD Sender: No OFD packet to send [23:58:41]OFD Sender: No OFD packet to send [23:58:46]OFD Sender: No OFD packet to send [23:58:51]OFD Sender: No OFD packet to send [23:58:56]OFD Sender: No OFD packet to send [23:59:01]OFD Sender: No OFD packet to send [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:36]OFD Sender: No OFD packet to send [23:59:41]OFD Sender: No OFD packet to send [23:59:46]OFD Sender: No OFD packet to send [23:59:51]OFD Sender: No OFD packet to send [23:59:56]OFD Sender: No OFD packet to send [00:00:01]OFD Sender: No OFD packet to send [00:00:06]OFD Sender: No OFD packet to send [00:00:11]OFD Sender: No OFD packet to send [00:00:16]OFD Sender: No OFD packet to send [00:00:21]OFD Sender: No OFD packet to send [00:00:26]OFD Sender: No OFD packet to send [00:00:31]OFD Sender: No OFD packet to send [00:00:36]OFD Sender: No OFD packet to send [00:00:41]OFD Sender: No OFD packet to send [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:29]accept exits with 9 [00:03:29]New connection [00:03:29]New thread 3066813796 created [00:03:29]Thread 3066670436 joined [00:03:29]Waiting for new connection... [00:03:29] Sock 9.Parse request [00:03:29]Sock 9.Check first char [00:03:29]Sock 9.First char is OK [00:03:29]request: POST /json_proto HTTP/1.0 [00:03:29]Method: POST [00:03:29]URL: /json_proto [00:03:29]Method is POST - this is cgi request [00:03:29]url: /json_proto [00:03:29]query_string will be loaded in cgi processing [00:03:29]execute_cgi json_proto POST (null) [00:03:29]execute_cgi path=json_proto method=POST [00:03:29]POST find Content-Length [00:03:29]Host: 172.17.56.67:8080 [00:03:29]Content-Length: 215 [00:03:29]Content-Type: application/json [00:03:29] [00:03:29]POST finish read [00:03:29]Found Content-Length = 215 [00:03:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:29]execute_script... [00:03:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:29]POST & json_proto [00:03:29]process_json_proto [00:03:29]json parsed OK: [00:03:29]protocol is kg_v1.0 [00:03:29]action value=get_value [00:03:29]process_action get_value [00:03:29]cmd_get_value [00:03:29]process_action get_value done [00:03:29]requested_data is exist [00:03:29]produce_requested_data [00:03:29]requested_item kkm.sn is exist - process it [00:03:29]requested_item kkm.ver is exist - process it [00:03:29]requested_item fm.sn is exist - process it [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 11 00 00 [00:03:29]Write to MH i2c: E2 08 00 D1 3C 80 11 00 00 00 00 00 00 87 [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:29]Read from MH i2c: E2 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 17 00 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 17 00 D1 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 D4 [00:03:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [00:03:29]wFMCommunicate OK [00:03:29]requested_item fd.num is exist - process it [00:03:29]SAM_PROTO_GetFieldsCounters [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 13 00 00 [00:03:29]Write to MH i2c: E2 08 00 D2 3C 80 13 00 00 00 00 00 00 8A [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:29]Read from MH i2c: E2 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 62 00 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 62 00 D2 3C 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 78 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [00:03:29]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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 78 BF 00 00 0E 04 04 00 F4 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:29]wFMCommunicate OK [00:03:29]SAM_PROTO_GetFieldsCounters done [00:03:29]requested_item shift.num is exist - process it [00:03:29]requested_item shift.opened is exist - process it [00:03:29]req_shift_opened [00:03:29]FM_GetShiftState [00:03:29]SAM_PROTO_GetShiftState [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 13 01 00 [00:03:29]Write to MH i2c: E2 08 00 D3 3C 80 13 01 00 00 00 00 00 8C [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:29]Read from MH i2c: E2 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 0E 00 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 0E 00 D3 3C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 97 [00:03:29]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:03:29]wFMCommunicate OK [00:03:29]SAM_PROTO_GetShiftState done [00:03:29]FM_GetShiftState done [00:03:29]req_shift_opened done [00:03:29]requested_item shift.open_date is exist - process it [00:03:29]req_shift_open_date [00:03:29]FM_GetShiftState [00:03:29]SAM_PROTO_GetShiftState [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 13 01 00 [00:03:29]Write to MH i2c: E2 08 00 D4 3C 80 13 01 00 00 00 00 00 8D [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:29]Read from MH i2c: E2 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 0E 00 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 0E 00 D4 3C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 98 [00:03:29]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:03:29]wFMCommunicate OK [00:03:29]SAM_PROTO_GetShiftState done [00:03:29]FM_GetShiftState done [00:03:29]req_shift_open_date done [00:03:29]produce_requested_data done [00:03:29]produce_requested_data return {"kkm.sn":"0300000040","kkm.ver":"001","fm.sn":"0000000000875060","fd.num":49016,"shift.num":244,"shift.opened":0,"shift.open_date":0} [00:03:29]process_action_free get_value [00:03:29]json_value_free [00:03:29]json_value_free done [00:03:29]process_json_proto returns [00:03:29]Send response to host [00:03:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000040","kkm.ver":"001","fm.sn":"0000000000875060","fd.num":49016,"shift.num":244,"shift.opened":0,"shift.open_date":0}}} [00:03:29]free response buf [00:03:29]execute_script done [00:03:29]execute_script returns [00:03:29]free content buf [00:03:29]Sock 9.Close socket [00:03:29]Sock 9.Thread stoped [00:03:29]accept exits with 7 [00:03:29]New connection [00:03:29]New thread 3066670436 created [00:03:29]Thread 3066813796 joined [00:03:29]Waiting for new connection... [00:03:29] Sock 7.Parse request [00:03:29]Sock 7.Check first char [00:03:29]Sock 7.First char is OK [00:03:29]request: POST /json_proto HTTP/1.0 [00:03:29]Method: POST [00:03:29]URL: /json_proto [00:03:29]Method is POST - this is cgi request [00:03:29]url: /json_proto [00:03:29]query_string will be loaded in cgi processing [00:03:29]execute_cgi json_proto POST (null) [00:03:29]execute_cgi path=json_proto method=POST [00:03:29]POST find Content-Length [00:03:29]Host: 172.17.56.67:8080 [00:03:29]Content-Length: 331 [00:03:29]Content-Type: application/json [00:03:29] [00:03:29]POST finish read [00:03:29]Found Content-Length = 331 [00:03:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:29]execute_script... [00:03:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:29]POST & json_proto [00:03:29]process_json_proto [00:03:29]json parsed OK: [00:03:29]protocol is kg_v1.0 [00:03:29]action value=get_value [00:03:29]process_action get_value [00:03:29]cmd_get_value [00:03:29]process_action get_value done [00:03:29]requested_data is exist [00:03:29]produce_requested_data [00:03:29]requested_item fm.sale.total is exist - process it [00:03:29]SAM_PROTO_GetFMData [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 13 03 00 [00:03:29]Write to MH i2c: E2 08 00 D5 3C 80 13 03 00 00 00 00 00 90 [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:30]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 D5 3C 00 BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 63 [00:03:30]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 [00:03:30]wFMCommunicate OK [00:03:30]wFMCommunicate request_size=4 [00:03:30]MH_SAM_APDU [00:03:30]CAPDU: 80 17 00 00 [00:03:30]Write to MH i2c: E2 08 00 D6 3C 80 17 00 00 00 00 00 00 92 [00:03:30]Write i2c OK [00:03:30]MH_I2C_Read... [00:03:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:30]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 D6 3C 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 42 [00:03:30]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:03:30]wFMCommunicate OK [00:03:30]wFMCommunicate request_size=4 [00:03:30]MH_SAM_APDU [00:03:30]CAPDU: 80 17 00 00 [00:03:30]Write to MH i2c: E2 08 00 D7 3C 80 17 00 00 00 00 00 00 93 [00:03:30]Write i2c OK [00:03:30]MH_I2C_Read... [00:03:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:30]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 D7 3C 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 37 [00:03:30]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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:03:30]wFMCommunicate OK [00:03:30]wFMCommunicate request_size=4 [00:03:30]MH_SAM_APDU [00:03:30]CAPDU: 80 17 00 00 [00:03:30]Write to MH i2c: E2 08 00 D8 3C 80 17 00 00 00 00 00 00 94 [00:03:30]Write i2c OK [00:03:30]MH_I2C_Read... [00:03:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:31]Read from MH i2c: E2 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 FD 00 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 FD 00 D8 3C 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 0E [00:03:31]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:31]wFMCommunicate OK [00:03:31]wFMCommunicate request_size=4 [00:03:31]MH_SAM_APDU [00:03:31]CAPDU: 80 17 00 00 [00:03:31]Write to MH i2c: E2 08 00 D9 3C 80 17 00 00 00 00 00 00 95 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:03:31]Read from MH i2c: E2 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 DC 00 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 DC 00 D9 3C 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 79 [00:03:31]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:03:31]wFMCommunicate OK [00:03:31]SAM_PROTO_GetFMData done [00:03:31]requested_item fm.sale_refund.total is exist - process it [00:03:31]requested_item fm.buy.total is exist - process it [00:03:31]requested_item shift.sale.total is exist - process it [00:03:31]SAM_PROTO_GetShiftData [00:03:31]wFMCommunicate request_size=4 [00:03:31]MH_SAM_APDU [00:03:31]CAPDU: 80 13 02 00 [00:03:31]Write to MH i2c: E2 08 00 DA 3C 80 13 02 00 00 00 00 00 94 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:31]OFD Sender: No OFD packet to send [00:03:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:31]Read from MH i2c: E2 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 FD 00 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 FD 00 DA 3C 00 AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 22 [00:03:31]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 50 00 00 00 69 04 9A 00 6F 04 04 00 50 00 00 00 B1 04 03 00 65 8D 42 70 04 03 00 F4 05 42 72 04 02 00 71 87 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 3F 12 07 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 D9 96 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [00:03:31]wFMCommunicate OK [00:03:31]wFMCommunicate request_size=4 [00:03:31]MH_SAM_APDU [00:03:31]CAPDU: 80 17 00 00 [00:03:31]Write to MH i2c: E2 08 00 DB 3C 80 17 00 00 00 00 00 00 97 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 DB 3C 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 A9 [00:03:32]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [00:03:32]wFMCommunicate OK [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 17 00 00 [00:03:32]Write to MH i2c: E2 08 00 DC 3C 80 17 00 00 00 00 00 00 98 [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 DC 3C 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 5C [00:03:32]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [00:03:32]wFMCommunicate OK [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 17 00 00 [00:03:32]Write to MH i2c: E2 08 00 DD 3C 80 17 00 00 00 00 00 00 99 [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 DD 3C 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 0E [00:03:32]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:03:32]wFMCommunicate OK [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 17 00 00 [00:03:32]Write to MH i2c: E2 08 00 DE 3C 80 17 00 00 00 00 00 00 9A [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 CA 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 CA 00 DE 3C 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 7F [00:03:33]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:33]wFMCommunicate OK [00:03:33]SAM_PROTO_GetShiftData done [00:03:33]requested_item shift.sale.total_cash is exist - process it [00:03:33]requested_item shift.sale_refund.total is exist - process it [00:03:33]requested_item shift.sale_refund.total_cash is exist - process it [00:03:33]requested_item shift.buy.total is exist - process it [00:03:33]requested_item shift.buy.total_cash is exist - process it [00:03:33]produce_requested_data done [00:03:33]produce_requested_data return {"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:03:33]process_action_free get_value [00:03:33]json_value_free [00:03:33]json_value_free done [00:03:33]process_json_proto returns [00:03:33]Send response to host [00:03:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.00,"fm.buy.total":0.00,"shift.sale.total":43615.73,"shift.sale.total_cash":43269.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:03:33]free response buf [00:03:33]execute_script done [00:03:33]execute_script returns [00:03:33]free content buf [00:03:33]Sock 7.Close socket [00:03:33]Sock 7.Thread stoped [00:03:33]accept exits with 9 [00:03:33]New connection [00:03:33]New thread 3066813796 created [00:03:33]Thread 3066670436 joined [00:03:33]Waiting for new connection... [00:03:33] Sock 9.Parse request [00:03:33]Sock 9.Check first char [00:03:33]Sock 9.First char is OK [00:03:33]request: POST /json_proto HTTP/1.0 [00:03:33]Method: POST [00:03:33]URL: /json_proto [00:03:33]Method is POST - this is cgi request [00:03:33]url: /json_proto [00:03:33]query_string will be loaded in cgi processing [00:03:33]execute_cgi json_proto POST (null) [00:03:33]execute_cgi path=json_proto method=POST [00:03:33]POST find Content-Length [00:03:33]Host: 172.17.56.67:8080 [00:03:33]Content-Length: 253 [00:03:33]Content-Type: application/json [00:03:33] [00:03:33]POST finish read [00:03:33]Found Content-Length = 253 [00:03:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041C\u0443\u043A\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:33]execute_script... [00:03:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041C\u0443\u043A\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:33]POST & json_proto [00:03:33]process_json_proto [00:03:33]json parsed OK: [00:03:33]protocol is kg_v1.0 [00:03:33]action value=open_shift [00:03:33]process_action open_shift [00:03:33]cmd_open_shift [00:03:33]MH_GetDate [00:03:33]Write to MH i2c: F0 00 00 DF 3C 0A [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: F0 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: F0 09 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: F0 09 00 DF 3C 00 60 EB B6 65 26 5D 9E 65 FF [00:03:33]GetLastDocTimeStamp 1706485988 [00:03:33]current date 1706486624 [00:03:33]FM_GetShiftState [00:03:33]SAM_PROTO_GetShiftState [00:03:33]wFMCommunicate request_size=4 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 13 01 00 [00:03:33]Write to MH i2c: E2 08 00 E0 3C 80 13 01 00 00 00 00 00 99 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 0E 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 0E 00 E0 3C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A4 [00:03:33]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:03:33]wFMCommunicate OK [00:03:33]SAM_PROTO_GetShiftState done [00:03:33]FM_GetShiftState done [00:03:33]KKMCreateOpenShiftDocument [00:03:33]Load OK [00:03:33]Malloc new data [00:03:33]MH_GetDate [00:03:33]Write to MH i2c: F0 00 00 E1 3C 0C [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: F0 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: F0 09 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: F0 09 00 E1 3C 00 60 EB B6 65 26 5D 9E 65 01 [00:03:33]Malloc new data [00:03:33]KKMCreateOpenShiftDocument OK [00:03:33]KKMSetOpenShiftData OK [00:03:33]ProcessDocumentItem done err = 0, tmpTLVsize=197 [00:03:33]tlvbuf is 0139FBB0 [00:03:33]KKMLoadAndSignOpenShiftData [00:03:33]SAM_PROTO_ProcessDocument [00:03:33]wFMCommunicate request_size=9 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 15 01 00 04 02 00 C5 00 [00:03:33]Write to MH i2c: E2 0C 00 E2 3C 80 15 01 00 04 00 02 00 C5 00 00 00 6C [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 E2 3C 00 90 00 92 [00:03:33]RAPDU: 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=23 [00:03:33]MH_SAM_APDU [00:03:33]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:03:33]Write to MH i2c: E2 1A 00 E3 3C 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 94 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 E3 3C 00 90 00 93 [00:03:33]RAPDU: 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=28 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 9C D1 83 D0 BA D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 [00:03:33]Write to MH i2c: E2 1F 00 E4 3C 80 15 02 00 17 00 FD 03 13 00 D0 9C D1 83 D0 BA D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 00 00 16 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 E4 3C 00 90 00 94 [00:03:33]RAPDU: 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=87 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 15 02 00 52 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 9A D0 BE D0 BE 2C 20 D1 83 D0 BB 2E 20 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 B0 20 35 39 2C 20 34 32 2E 32 31 37 34 38 32 2C 20 37 36 2E 36 32 37 35 30 38 [00:03:33]Write to MH i2c: E2 5A 00 E5 3C 80 15 02 00 52 00 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 9A D0 BE D0 BE 2C 20 D1 83 D0 BB 2E 20 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 B0 20 35 39 2C 20 34 32 2E 32 31 37 34 38 32 2C 20 37 36 2E 36 32 37 35 30 38 00 00 45 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 E5 3C 00 90 00 95 [00:03:33]RAPDU: 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=51 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 32 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:03:33]Write to MH i2c: E2 36 00 E6 3C 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 32 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 47 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 E6 3C 00 90 00 96 [00:03:33]RAPDU: 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=13 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 15 02 00 08 F4 03 04 00 60 EB B6 65 [00:03:33]Write to MH i2c: E2 10 00 E7 3C 80 15 02 00 08 00 F4 03 04 00 60 EB B6 65 00 00 14 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 E7 3C 00 90 00 97 [00:03:33]RAPDU: 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=25 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 [00:03:33]Write to MH i2c: E2 1C 00 E8 3C 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 00 00 04 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 03 00 E8 3C 00 90 00 98 [00:03:33]RAPDU: 90 00 [00:03:33]wFMCommunicate OK [00:03:33]wFMCommunicate request_size=4 [00:03:33]MH_SAM_APDU [00:03:33]CAPDU: 80 15 03 00 [00:03:33]Write to MH i2c: E2 08 00 E9 3C 80 15 03 00 00 00 00 00 A6 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:34]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:03:34]Read from MH i2c: E2 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 38 00 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 38 00 E9 3C 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 30 36 30 10 04 04 00 79 BF 00 00 0E 04 04 00 F5 00 00 00 35 04 06 00 96 B7 11 2B FE 59 90 00 79 [00:03:34]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 30 36 30 10 04 04 00 79 BF 00 00 0E 04 04 00 F5 00 00 00 35 04 06 00 96 B7 11 2B FE 59 90 00 [00:03:34]wFMCommunicate OK [00:03:34]SAM_PROTO_ProcessDocument answer len = 51 [00:03:34]SAM_PROTO_ProcessDocument done [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1209 (04B9) [00:03:34]Malloc new data [00:03:34]Processing tag 1041 (0411) [00:03:34]Processing tag 1040 (0410) [00:03:34]Malloc new data [00:03:34]Processing tag 1038 (040E) [00:03:34]Malloc new data [00:03:34]Processing tag 1077 (0435) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]KKMLoadAndSignOpenShiftData store KKM data [00:03:34]KKMLoadAndSignOpenShiftData err=0 [00:03:34]Отчет об открытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: Муканов Ð. ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" 29.01.2024 00:03 Смена: 245 РÐМ: 0000000000092723 ЗÐМ: 0300000040 ФД: 49017 ФМ: 0000000000875060 ФПД: 165713011277401 [00:03:34]StoreToDocumentArchive [00:03:34]shift 245 fd 49017 [00:03:34]Create dir for shift 0245 [00:03:34]save to /storage/0245/doc_00049017 [00:03:34]save last doc name /storage/0245/doc_00049017 to /storage/kkm_last_doc_name [00:03:34]save OK [00:03:34]Clear old archive folders... [00:03:34]Remove dir /storage/0244 [00:03:34]opendir ok [00:03:34]file . [00:03:34]file .. [00:03:34]file doc_00048935 [00:03:34]remove file /storage/0244/doc_00048935 [00:03:34]file doc_00048936 [00:03:34]remove file /storage/0244/doc_00048936 [00:03:34]file doc_00048937 [00:03:34]remove file /storage/0244/doc_00048937 [00:03:34]file doc_00048938 [00:03:34]remove file /storage/0244/doc_00048938 [00:03:34]file doc_00048939 [00:03:34]remove file /storage/0244/doc_00048939 [00:03:34]file doc_00048940 [00:03:34]remove file /storage/0244/doc_00048940 [00:03:34]file doc_00048941 [00:03:34]remove file /storage/0244/doc_00048941 [00:03:34]file doc_00048942 [00:03:34]remove file /storage/0244/doc_00048942 [00:03:34]file doc_00048943 [00:03:34]remove file /storage/0244/doc_00048943 [00:03:34]file doc_00048944 [00:03:34]remove file /storage/0244/doc_00048944 [00:03:34]file doc_00048945 [00:03:34]remove file /storage/0244/doc_00048945 [00:03:34]file doc_00048946 [00:03:34]remove file /storage/0244/doc_00048946 [00:03:34]file doc_00048947 [00:03:34]remove file /storage/0244/doc_00048947 [00:03:34]file doc_00048948 [00:03:34]remove file /storage/0244/doc_00048948 [00:03:34]file doc_00048949 [00:03:34]remove file /storage/0244/doc_00048949 [00:03:34]file doc_00048950 [00:03:34]remove file /storage/0244/doc_00048950 [00:03:34]file doc_00048951 [00:03:34]remove file /storage/0244/doc_00048951 [00:03:34]file doc_00048952 [00:03:34]remove file /storage/0244/doc_00048952 [00:03:34]file doc_00048953 [00:03:34]remove file /storage/0244/doc_00048953 [00:03:34]file doc_00048954 [00:03:34]remove file /storage/0244/doc_00048954 [00:03:34]file doc_00048955 [00:03:34]remove file /storage/0244/doc_00048955 [00:03:34]file doc_00048956 [00:03:34]remove file /storage/0244/doc_00048956 [00:03:34]file doc_00048957 [00:03:34]remove file /storage/0244/doc_00048957 [00:03:34]file doc_00048958 [00:03:34]remove file /storage/0244/doc_00048958 [00:03:34]file doc_00048959 [00:03:34]remove file /storage/0244/doc_00048959 [00:03:34]file doc_00048960 [00:03:34]remove file /storage/0244/doc_00048960 [00:03:34]file doc_00048961 [00:03:34]remove file /storage/0244/doc_00048961 [00:03:34]file doc_00048962 [00:03:34]remove file /storage/0244/doc_00048962 [00:03:34]file doc_00048963 [00:03:34]remove file /storage/0244/doc_00048963 [00:03:34]file doc_00048964 [00:03:34]remove file /storage/0244/doc_00048964 [00:03:34]file doc_00048965 [00:03:34]remove file /storage/0244/doc_00048965 [00:03:34]file doc_00048966 [00:03:34]remove file /storage/0244/doc_00048966 [00:03:34]file doc_00048967 [00:03:34]remove file /storage/0244/doc_00048967 [00:03:34]file doc_00048968 [00:03:34]remove file /storage/0244/doc_00048968 [00:03:34]file doc_00048969 [00:03:34]remove file /storage/0244/doc_00048969 [00:03:34]file doc_00048970 [00:03:34]remove file /storage/0244/doc_00048970 [00:03:34]file doc_00048971 [00:03:34]remove file /storage/0244/doc_00048971 [00:03:34]file doc_00048972 [00:03:34]remove file /storage/0244/doc_00048972 [00:03:34]file doc_00048973 [00:03:34]remove file /storage/0244/doc_00048973 [00:03:34]file doc_00048974 [00:03:34]remove file /storage/0244/doc_00048974 [00:03:34]file doc_00048975 [00:03:34]remove file /storage/0244/doc_00048975 [00:03:34]file doc_00048976 [00:03:34]remove file /storage/0244/doc_00048976 [00:03:34]file doc_00048977 [00:03:34]remove file /storage/0244/doc_00048977 [00:03:34]file doc_00048978 [00:03:34]remove file /storage/0244/doc_00048978 [00:03:34]file doc_00048979 [00:03:34]remove file /storage/0244/doc_00048979 [00:03:34]file doc_00048980 [00:03:34]remove file /storage/0244/doc_00048980 [00:03:34]file doc_00048981 [00:03:34]remove file /storage/0244/doc_00048981 [00:03:34]file doc_00048982 [00:03:34]remove file /storage/0244/doc_00048982 [00:03:34]file doc_00048983 [00:03:34]remove file /storage/0244/doc_00048983 [00:03:34]file doc_00048984 [00:03:34]remove file /storage/0244/doc_00048984 [00:03:34]file doc_00048985 [00:03:34]remove file /storage/0244/doc_00048985 [00:03:34]file doc_00048986 [00:03:34]remove file /storage/0244/doc_00048986 [00:03:34]file doc_00048987 [00:03:34]remove file /storage/0244/doc_00048987 [00:03:34]file doc_00048988 [00:03:34]remove file /storage/0244/doc_00048988 [00:03:34]file doc_00048989 [00:03:34]remove file /storage/0244/doc_00048989 [00:03:34]file doc_00048990 [00:03:34]remove file /storage/0244/doc_00048990 [00:03:34]file doc_00048991 [00:03:34]remove file /storage/0244/doc_00048991 [00:03:34]file doc_00048992 [00:03:34]remove file /storage/0244/doc_00048992 [00:03:34]file doc_00048993 [00:03:34]remove file /storage/0244/doc_00048993 [00:03:34]file doc_00048994 [00:03:34]remove file /storage/0244/doc_00048994 [00:03:34]file doc_00048995 [00:03:34]remove file /storage/0244/doc_00048995 [00:03:34]file doc_00048996 [00:03:34]remove file /storage/0244/doc_00048996 [00:03:34]file doc_00048997 [00:03:34]remove file /storage/0244/doc_00048997 [00:03:34]file doc_00048998 [00:03:34]remove file /storage/0244/doc_00048998 [00:03:34]file doc_00048999 [00:03:34]remove file /storage/0244/doc_00048999 [00:03:34]file doc_00049000 [00:03:34]remove file /storage/0244/doc_00049000 [00:03:34]file doc_00049001 [00:03:34]remove file /storage/0244/doc_00049001 [00:03:34]file doc_00049002 [00:03:34]remove file /storage/0244/doc_00049002 [00:03:34]file doc_00049003 [00:03:34]remove file /storage/0244/doc_00049003 [00:03:34]file doc_00049004 [00:03:34]remove file /storage/0244/doc_00049004 [00:03:34]file doc_00049005 [00:03:34]remove file /storage/0244/doc_00049005 [00:03:34]file doc_00049006 [00:03:34]remove file /storage/0244/doc_00049006 [00:03:34]file doc_00049007 [00:03:34]remove file /storage/0244/doc_00049007 [00:03:34]file doc_00049008 [00:03:34]remove file /storage/0244/doc_00049008 [00:03:34]file doc_00049009 [00:03:34]remove file /storage/0244/doc_00049009 [00:03:34]file doc_00049010 [00:03:34]remove file /storage/0244/doc_00049010 [00:03:34]file doc_00049011 [00:03:34]remove file /storage/0244/doc_00049011 [00:03:34]file doc_00049012 [00:03:34]remove file /storage/0244/doc_00049012 [00:03:34]file doc_00049013 [00:03:34]remove file /storage/0244/doc_00049013 [00:03:34]file doc_00049014 [00:03:34]remove file /storage/0244/doc_00049014 [00:03:34]file doc_00049015 [00:03:34]remove file /storage/0244/doc_00049015 [00:03:34]file doc_00049016 [00:03:34]remove file /storage/0244/doc_00049016 [00:03:34]remove dir /storage/0244 [00:03:34]ProcessDocumentItem done err = 0, tmpTLVsize=248 [00:03:34]tlvbuf is 012ABB80 [00:03:34]SAM_PROTO_ClearQueue [00:03:34]wFMCommunicate request_size=4 [00:03:34]MH_SAM_APDU [00:03:34]CAPDU: 80 09 00 00 [00:03:34]Write to MH i2c: E2 08 00 EA 3C 80 09 00 00 00 00 00 00 98 [00:03:34]Write i2c OK [00:03:34]MH_I2C_Read... [00:03:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:03:34]Read from MH i2c: E2 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 03 00 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 03 00 EA 3C 00 90 00 9A [00:03:34]RAPDU: 90 00 [00:03:34]wFMCommunicate OK [00:03:34]SAM_PROTO_ClearQueue done [00:03:34]KKMCreateOFDPacket [00:03:34]OFDProtocolAddRootSTLVToBuf [00:03:34]FM_MakeSignedData [00:03:34]FM_MakeSignedData [00:03:34]SAM_PROTO_SignData [00:03:34]wFMCommunicate request_size=4 [00:03:34]MH_SAM_APDU [00:03:34]CAPDU: 80 0D 01 02 [00:03:34]Write to MH i2c: E2 08 00 EB 3C 80 0D 01 02 00 00 00 00 A0 [00:03:34]Write i2c OK [00:03:34]MH_I2C_Read... [00:03:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:03:34]Read from MH i2c: E2 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 03 00 [00:03:34]MH_I2C_Read... [00:03:34]Read from MH i2c: E2 03 00 EB 3C 00 90 00 9B [00:03:34]RAPDU: 90 00 [00:03:34]wFMCommunicate OK [00:03:34]wFMCommunicate request_size=255 [00:03:34]MH_SAM_APDU [00:03:34]CAPDU: 80 0D 02 02 FA 02 00 F8 00 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 13 00 D0 9C D1 83 D0 BA D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 9A D0 BE D0 BE 2C 20 D1 83 D0 BB 2E 20 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 B0 20 35 39 2C 20 34 32 2E 32 31 37 34 38 32 2C 20 37 36 2E 36 32 37 35 30 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 32 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 60 EB B6 65 0E 04 04 00 F5 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 79 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 35 04 06 00 96 B7 11 2B [00:03:34]Write to MH i2c: E2 02 01 EC 3C 80 0D 02 02 FA 00 02 00 F8 00 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 13 00 D0 9C D1 83 D0 BA D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 9A D0 BE D0 BE 2C 20 D1 83 D0 BB 2E 20 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 B0 20 35 39 2C 20 34 32 2E 32 31 37 34 38 32 2C 20 37 36 2E 36 32 37 35 30 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 32 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 60 EB B6 65 0E 04 04 00 F5 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 79 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 35 04 06 00 96 B7 11 2B 00 00 AD [00:03:34]Write i2c OK [00:03:34]MH_I2C_Read... [00:03:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:35]Read from MH i2c: E2 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 03 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 03 00 EC 3C 00 90 00 9C [00:03:35]RAPDU: 90 00 [00:03:35]wFMCommunicate OK [00:03:35]wFMCommunicate request_size=7 [00:03:35]MH_SAM_APDU [00:03:35]CAPDU: 80 0D 02 02 02 FE 59 [00:03:35]Write to MH i2c: E2 0A 00 ED 3C 80 0D 02 02 02 00 FE 59 00 00 FE [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:35]Read from MH i2c: E2 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 03 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 03 00 ED 3C 00 90 00 9D [00:03:35]RAPDU: 90 00 [00:03:35]wFMCommunicate OK [00:03:35]wFMCommunicate request_size=4 [00:03:35]MH_SAM_APDU [00:03:35]CAPDU: 80 0D 03 02 [00:03:35]Write to MH i2c: E2 08 00 EE 3C 80 0D 03 02 00 00 00 00 A5 [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:03:35]Read from MH i2c: E2 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 0B 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 0B 00 EE 3C 00 E3 76 B4 27 AE 14 D7 D8 90 00 4B [00:03:35]RAPDU: E3 76 B4 27 AE 14 D7 D8 90 00 [00:03:35]wFMCommunicate OK [00:03:35]SAM_PROTO_SignData done [00:03:35]FM_MakeSignedData done [00:03:35]CreateOFDProtocolMessage [00:03:35]wFMCommunicate request_size=4 [00:03:35]MH_SAM_APDU [00:03:35]CAPDU: 80 11 00 00 [00:03:35]Write to MH i2c: E2 08 00 EF 3C 80 11 00 00 00 00 00 00 A5 [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:35]Read from MH i2c: E2 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 17 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 17 00 EF 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 F2 [00:03:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [00:03:35]wFMCommunicate OK [00:03:35]CreateOFDProtocolMessage done [00:03:35]OFDSenderStorePacket 49017 [00:03:35]StoreOFDPacket docnum=49017 [00:03:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0C 01 00 00 7F A8 04 01 59 1A 5A 02 01 00 02 00 F8 00 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 13 00 D0 9C D1 83 D0 BA D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 9A D0 BE D0 BE 2C 20 D1 83 D0 BB 2E 20 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 B0 20 35 39 2C 20 34 32 2E 32 31 37 34 38 32 2C 20 37 36 2E 36 32 37 35 30 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 32 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 60 EB B6 65 0E 04 04 00 F5 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 79 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 35 04 06 00 96 B7 11 2B FE 59 E3 76 B4 27 AE 14 D7 D8 [00:03:35]CheckFolder [00:03:35]dirname=/storage/ofd_packets [00:03:35]CheckFolder done [00:03:35]ProducePacketName [00:03:35]name=ofd_packets/00049017 [00:03:35]NVStorageSaveData ofd_packets/00049017 [00:03:35]File name is /storage/ofd_packets/00049017 [00:03:35]Write 298 bytes [00:03:35]NVStorageSaveData done [00:03:35]OFDSenderStorePacket done [00:03:35]KKMCreateOFDPacket done [00:03:35]NVStorageSaveData kkm_last_timestamp [00:03:35]File name is /storage/kkm_last_timestamp [00:03:35]Write 4 bytes [00:03:35]NVStorageSaveData done [00:03:35]ExternCall_PrintAddStr [00:03:35]wPrintStart [00:03:35]Write to MH i2c: 01 00 00 F0 3C 2C [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: 01 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: 01 07 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: 01 07 00 F0 3C 00 00 00 00 00 FF 0F 41 [00:03:35]RasterBufferAndPrint [00:03:35]line Отчет об открытии Ñмены [00:03:35]line ФФД: 1.0 [00:03:35]line ИÐÐ: 02508201610067 [00:03:35]line КаÑÑир: Муканов Ð. [00:03:35]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [00:03:35]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [00:03:35]line 29.01.2024 00:03 [00:03:35]line Смена: 245 [00:03:35]line РÐМ: 0000000000092723 [00:03:35]line ЗÐМ: 0300000040 [00:03:35]line ФД: 49017 [00:03:35]line ФМ: 0000000000875060 [00:03:35]line ФПД: 165713011277401 [00:03:35]OFD Sender: Processing packet 49017 [packets to send 12, broken 11] [00:03:35]ProducePacketName [00:03:35]name=ofd_packets/00049017 [00:03:35]OFD Sender: To server: ‡•öpG, [00:03:35]CommunicateWithHost lk.salyk.kg:30040 [00:03:35]ConnectInit lk.salyk.kg [00:03:35]written 0, free lines is 4095 [00:03:35]Connected sock=10 [00:03: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 30 36 30 0C 01 00 00 7F A8 04 01 59 1A 5A 02 01 00 02 00 F8 00 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 13 00 D0 9C D1 83 D0 BA D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 9A D0 BE D0 BE 2C 20 D1 83 D0 BB 2E 20 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 B0 20 35 39 2C 20 34 32 2E 32 31 37 34 38 32 2C 20 37 36 2E 36 32 37 35 30 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 32 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 60 EB B6 65 0E 04 04 00 F5 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 79 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 35 04 06 00 96 B7 11 2B FE 59 E3 76 B4 27 AE 14 D7 D8 [00:03:35]Write to MH i2c: 01 00 00 02 3D 3F [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: 01 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: 01 07 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: 01 07 00 02 3D 00 00 00 00 00 61 0E B5 [00:03:35]RasterBufferAndPrint [00:03:35]line [00:03:35]line [00:03:35]line [00:03:35]line [00:03:35]line [00:03:35]written 0, free lines is 3696 [00:03:35]MH_Cut [00:03:35]Write to MH i2c: D1 01 00 09 3D 01 18 [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: D1 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: D1 01 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: D1 01 00 09 3D 00 17 [00:03:35]Write to MH i2c: 01 00 00 0A 3D 47 [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 AF B8 47 00 83 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 79 BF 00 00 F4 03 04 00 5A 97 B6 65 B6 04 01 00 00 AF 6B C6 D3 DF 48 20 75 [00:03:35]CommunicateWithHost err = 0 [00:03:35]CheckOFDResponse [00:03:35]1017 (14) - 77093643461234 [00:03:35]1041 (16) - 0000000000875060 [00:03:35]1040 (4) - 49017 [00:03:35]1012 (4) - 28.01.2024 18:05 [00:03:35]1206 (1) - 0 [00:03:35]OFD Sender: Remove packet 49017 [00:03:35]ProducePacketName [00:03:35]name=ofd_packets/00049017 [00:03:35]NVStorageDeleteData [00:03:35]*** Cut start [00:03:35]*** Partial cut [00:03:35]*** CUTSNS_PIN = 1 [00:03:35]*** CUTSNS_PIN = 0 [00:03:36]*** Brake cut motor [00:03:36]OFD Sender: No OFD packet to send [00:03:36]Read from MH i2c: 01 [00:03:36]MH_I2C_Read... [00:03:36]*** Stop cut motor [00:03:36]*** Cut end [00:03:36]Read from MH i2c: 01 07 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: 01 07 00 0A 3D 00 00 00 00 00 FF 0F 5C [00:03:36]process_action open_shift done [00:03:36]requested_data is exist [00:03:36]produce_requested_data [00:03:36]requested_item fd.num is exist - process it [00:03:36]SAM_PROTO_GetFieldsCounters [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 13 00 00 [00:03:36]Write to MH i2c: E2 08 00 0B 3D 80 13 00 00 00 00 00 00 C4 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 62 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 62 00 0B 3D 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 79 BF 00 00 0E 04 04 00 F5 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 0A [00:03: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 79 BF 00 00 0E 04 04 00 F5 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:36]wFMCommunicate OK [00:03:36]SAM_PROTO_GetFieldsCounters done [00:03:36]requested_item shift.num is exist - process it [00:03:36]requested_item shift.opened is exist - process it [00:03:36]req_shift_opened [00:03:36]FM_GetShiftState [00:03:36]SAM_PROTO_GetShiftState [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 13 01 00 [00:03:36]Write to MH i2c: E2 08 00 0C 3D 80 13 01 00 00 00 00 00 C6 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 0E 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 0E 00 0C 3D 00 09 00 01 60 EB B6 65 00 00 00 00 90 00 38 [00:03:36]RAPDU: 09 00 01 60 EB B6 65 00 00 00 00 90 00 [00:03:36]wFMCommunicate OK [00:03:36]SAM_PROTO_GetShiftState done [00:03:36]FM_GetShiftState done [00:03:36]req_shift_opened done [00:03:36]requested_item shift.open_date is exist - process it [00:03:36]req_shift_open_date [00:03:36]req_shift_open_date done [00:03:36]produce_requested_data done [00:03:36]produce_requested_data return {"fd.num":49017,"shift.num":245,"shift.opened":1,"shift.open_date":1706486624} [00:03:36]process_action_free open_shift [00:03:36]json_value_free [00:03:36]json_value_free done [00:03:36]process_json_proto returns [00:03:36]Send response to host [00:03:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":49017,"shift.num":245,"shift.opened":1,"shift.open_date":1706486624}}} [00:03:36]free response buf [00:03:36]execute_script done [00:03:36]execute_script returns [00:03:36]free content buf [00:03:36]Sock 9.Close socket [00:03:36]Sock 9.Thread stoped [00:03:36]accept exits with 7 [00:03:36]New connection [00:03:36]New thread 3066670436 created [00:03:36]Thread 3066813796 joined [00:03:36]Waiting for new connection... [00:03:36] Sock 7.Parse request [00:03:36]Sock 7.Check first char [00:03:36]Sock 7.First char is OK [00:03:36]request: POST /json_proto HTTP/1.0 [00:03:36]Method: POST [00:03:36]URL: /json_proto [00:03:36]Method is POST - this is cgi request [00:03:36]url: /json_proto [00:03:36]query_string will be loaded in cgi processing [00:03:36]execute_cgi json_proto POST (null) [00:03:36]execute_cgi path=json_proto method=POST [00:03:36]POST find Content-Length [00:03:36]Host: 172.17.56.67:8080 [00:03:36]Content-Length: 331 [00:03:36]Content-Type: application/json [00:03:36] [00:03:36]POST finish read [00:03:36]Found Content-Length = 331 [00:03: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" ] } } [00:03:36]execute_script... [00:03: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" ] } } [00:03:36]POST & json_proto [00:03:36]process_json_proto [00:03:36]json parsed OK: [00:03:36]protocol is kg_v1.0 [00:03:36]action value=get_value [00:03:36]process_action get_value [00:03:36]cmd_get_value [00:03:36]process_action get_value done [00:03:36]requested_data is exist [00:03:36]produce_requested_data [00:03:36]requested_item fm.sale.total is exist - process it [00:03:36]SAM_PROTO_GetFMData [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 13 03 00 [00:03:36]Write to MH i2c: E2 08 00 0D 3D 80 13 03 00 00 00 00 00 C9 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:37]Read from MH i2c: E2 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 0D 3D 00 BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 9C [00:03:37]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 91 BD 00 00 69 04 A1 00 6F 04 04 00 8D BD 00 00 B1 04 04 00 28 16 D3 BB 70 04 04 00 14 C7 1A AF 72 04 04 00 14 4F B8 0C 00 04 7D 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 98 A0 F4 13 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 B2 AF A9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 04 00 00 00 B1 04 03 00 18 75 09 70 04 03 00 18 75 09 72 04 00 00 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 24 01 01 EF 03 09 00 F6 03 01 00 90 00 [00:03:37]wFMCommunicate OK [00:03:37]wFMCommunicate request_size=4 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 17 00 00 [00:03:37]Write to MH i2c: E2 08 00 0E 3D 80 17 00 00 00 00 00 00 CB [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:37]Read from MH i2c: E2 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 0E 3D 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 7B [00:03:37]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:03:37]wFMCommunicate OK [00:03:37]wFMCommunicate request_size=4 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 17 00 00 [00:03:37]Write to MH i2c: E2 08 00 0F 3D 80 17 00 00 00 00 00 00 CC [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:38]Read from MH i2c: E2 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 FD 00 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 FD 00 0F 3D 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 70 [00:03:38]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 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:03:38]wFMCommunicate OK [00:03:38]wFMCommunicate request_size=4 [00:03:38]MH_SAM_APDU [00:03:38]CAPDU: 80 17 00 00 [00:03:38]Write to MH i2c: E2 08 00 10 3D 80 17 00 00 00 00 00 00 CD [00:03:38]Write i2c OK [00:03:38]MH_I2C_Read... [00:03:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:38]Read from MH i2c: E2 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 FD 00 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 FD 00 10 3D 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 47 [00:03:38]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:38]wFMCommunicate OK [00:03:38]wFMCommunicate request_size=4 [00:03:38]MH_SAM_APDU [00:03:38]CAPDU: 80 17 00 00 [00:03:38]Write to MH i2c: E2 08 00 11 3D 80 17 00 00 00 00 00 00 CE [00:03:38]Write i2c OK [00:03:38]MH_I2C_Read... [00:03:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:03:38]Read from MH i2c: E2 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 DC 00 [00:03:38]MH_I2C_Read... [00:03:38]Read from MH i2c: E2 DC 00 11 3D 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B2 [00:03:38]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:03:38]wFMCommunicate OK [00:03:38]SAM_PROTO_GetFMData done [00:03:38]requested_item fm.sale_refund.total is exist - process it [00:03:38]requested_item fm.buy.total is exist - process it [00:03:38]requested_item shift.sale.total is exist - process it [00:03:38]SAM_PROTO_GetShiftData [00:03:38]wFMCommunicate request_size=4 [00:03:38]MH_SAM_APDU [00:03:38]CAPDU: 80 13 02 00 [00:03:38]Write to MH i2c: E2 08 00 12 3D 80 13 02 00 00 00 00 00 CD [00:03:38]Write i2c OK [00:03:38]MH_I2C_Read... [00:03:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:39]Read from MH i2c: E2 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 FD 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 FD 00 12 3D 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 40 [00:03:39]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:03:39]wFMCommunicate OK [00:03:39]wFMCommunicate request_size=4 [00:03:39]MH_SAM_APDU [00:03:39]CAPDU: 80 17 00 00 [00:03:39]Write to MH i2c: E2 08 00 13 3D 80 17 00 00 00 00 00 00 D0 [00:03:39]Write i2c OK [00:03:39]MH_I2C_Read... [00:03:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:39]Read from MH i2c: E2 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 FD 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 FD 00 13 3D 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 D8 [00:03:39]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:03:40]wFMCommunicate OK [00:03:40]wFMCommunicate request_size=4 [00:03:40]MH_SAM_APDU [00:03:40]CAPDU: 80 17 00 00 [00:03:40]Write to MH i2c: E2 08 00 14 3D 80 17 00 00 00 00 00 00 D1 [00:03:40]Write i2c OK [00:03:40]MH_I2C_Read... [00:03:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:40]Read from MH i2c: E2 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: E2 FD 00 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: E2 FD 00 14 3D 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 A3 [00:03:40]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:03:40]wFMCommunicate OK [00:03:40]wFMCommunicate request_size=4 [00:03:40]MH_SAM_APDU [00:03:40]CAPDU: 80 17 00 00 [00:03:40]Write to MH i2c: E2 08 00 15 3D 80 17 00 00 00 00 00 00 D2 [00:03:40]Write i2c OK [00:03:40]MH_I2C_Read... [00:03:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:40]Read from MH i2c: E2 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: E2 FD 00 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: E2 FD 00 15 3D 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 44 [00:03:40]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:03:40]wFMCommunicate OK [00:03:40]wFMCommunicate request_size=4 [00:03:40]MH_SAM_APDU [00:03:40]CAPDU: 80 17 00 00 [00:03:40]Write to MH i2c: E2 08 00 16 3D 80 17 00 00 00 00 00 00 D3 [00:03:41]Write i2c OK [00:03:41]MH_I2C_Read... [00:03:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:03:41]Read from MH i2c: E2 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: E2 BD 00 [00:03:41]MH_I2C_Read... [00:03:41]Read from MH i2c: E2 BD 00 16 3D 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 B9 [00:03:41]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:03:41]wFMCommunicate OK [00:03:41]SAM_PROTO_GetShiftData done [00:03:41]requested_item shift.sale.total_cash is exist - process it [00:03:41]requested_item shift.sale_refund.total is exist - process it [00:03:41]requested_item shift.sale_refund.total_cash is exist - process it [00:03:41]requested_item shift.buy.total is exist - process it [00:03:41]requested_item shift.buy.total_cash is exist - process it [00:03:41]produce_requested_data done [00:03:41]produce_requested_data return {"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.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:03:41]process_action_free get_value [00:03:41]json_value_free [00:03:41]json_value_free done [00:03:41]OFD Sender: No OFD packet to send [00:03:41]process_json_proto returns [00:03:41]Send response to host [00:03:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":31511731.60,"fm.sale_refund.total":6198.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:03:41]free response buf [00:03:41]execute_script done [00:03:41]execute_script returns [00:03:41]free content buf [00:03:41]Sock 7.Close socket [00:03:41]Sock 7.Thread stoped [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:52]OFD Sender: No OFD packet to send [00:18:57]OFD Sender: No OFD packet to send [00:19:02]OFD Sender: No OFD packet to send [00:19:07]OFD Sender: No OFD packet to send [00:19:12]OFD Sender: No OFD packet to send [00:19:17]OFD Sender: No OFD packet to send [00:19:22]OFD Sender: No OFD packet to send [00:19:27]OFD Sender: No OFD packet to send [00:19:32]OFD Sender: No OFD packet to send [00:19:37]OFD Sender: No OFD packet to send [00:19:42]OFD Sender: No OFD packet to send [00:19:47]OFD Sender: No OFD packet to send [00:19:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:47]OFD Sender: No OFD packet to send [00:20:52]OFD Sender: No OFD packet to send [00:20:57]OFD Sender: No OFD packet to send [00:21:02]OFD Sender: No OFD packet to send [00:21:07]OFD Sender: No OFD packet to send [00:21:12]OFD Sender: No OFD packet to send [00:21:17]OFD Sender: No OFD packet to send [00:21:22]OFD Sender: No OFD packet to send [00:21:27]OFD Sender: No OFD packet to send [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:47]OFD Sender: No OFD packet to send [00:21:52]OFD Sender: No OFD packet to send [00:21:57]OFD Sender: No OFD packet to send [00:22:02]OFD Sender: No OFD packet to send [00:22:07]OFD Sender: No OFD packet to send [00:22:12]OFD Sender: No OFD packet to send [00:22:17]OFD Sender: No OFD packet to send [00:22:22]OFD Sender: No OFD packet to send [00:22:27]OFD Sender: No OFD packet to send [00:22:32]OFD Sender: No OFD packet to send [00:22:37]OFD Sender: No OFD packet to send [00:22:42]OFD Sender: No OFD packet to send [00:22:47]OFD Sender: No OFD packet to send [00:22:52]OFD Sender: No OFD packet to send [00:22:57]OFD Sender: No OFD packet to send [00:23:02]OFD Sender: No OFD packet to send [00:23:07]OFD Sender: No OFD packet to send [00:23:12]OFD Sender: No OFD packet to send [00:23:17]OFD Sender: No OFD packet to send [00:23:22]OFD Sender: No OFD packet to send [00:23:27]OFD Sender: No OFD packet to send [00:23:32]OFD Sender: No OFD packet to send [00:23:37]OFD Sender: No OFD packet to send [00:23:42]OFD Sender: No OFD packet to send [00:23:47]OFD Sender: No OFD packet to send [00:23:52]OFD Sender: No OFD packet to send [00:23:57]OFD Sender: No OFD packet to send [00:24:02]OFD Sender: No OFD packet to send [00:24:07]OFD Sender: No OFD packet to send [00:24:12]OFD Sender: No OFD packet to send [00:24:17]OFD Sender: No OFD packet to send [00:24:22]OFD Sender: No OFD packet to send [00:24:27]OFD Sender: No OFD packet to send [00:24:32]OFD Sender: No OFD packet to send [00:24:37]OFD Sender: No OFD packet to send [00:24:42]OFD Sender: No OFD packet to send [00:24:47]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:33]accept exits with 9 [00:33:33]New connection [00:33:33]New thread 3066813796 created [00:33:33]Thread 3066670436 joined [00:33:33]Waiting for new connection... [00:33:33] Sock 9.Parse request [00:33:33]Sock 9.Check first char [00:33:33]Sock 9.First char is OK [00:33:33]request: POST /json_proto HTTP/1.0 [00:33:33]Method: POST [00:33:33]URL: /json_proto [00:33:33]Method is POST - this is cgi request [00:33:33]url: /json_proto [00:33:33]query_string will be loaded in cgi processing [00:33:33]execute_cgi json_proto POST (null) [00:33:33]execute_cgi path=json_proto method=POST [00:33:33]POST find Content-Length [00:33:33]Host: 172.17.56.67:8080 [00:33:33]Content-Length: 677 [00:33:33]Content-Type: application/json [00:33:33] [00:33:33]POST finish read [00:33:33]Found Content-Length = 677 [00:33:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216117", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.960, "sum" : 540.29, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 540.00, "total" : 540.00, "payments": [ { "type": 0, "sum" : 540.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:33:33]execute_script... [00:33: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 : (1)216117", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.960, "sum" : 540.29, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 540.00, "total" : 540.00, "payments": [ { "type": 0, "sum" : 540.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:33:33]POST & json_proto [00:33:33]process_json_proto [00:33:33]json parsed OK: [00:33:33]protocol is kg_v1.0 [00:33:33]action value=close_receipt [00:33:33]process_action close_receipt [00:33:33]cmd_close_receipt [00:33:33]MH_GetDate [00:33:33]Write to MH i2c: F0 00 00 17 3D 43 [00:33:33]Write i2c OK [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: F0 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: F0 09 00 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: F0 09 00 17 3D 00 68 F2 B6 65 26 5D 9E 65 47 [00:33:33]GetLastDocTimeStamp 1706486624 [00:33:33]current date 1706488424 [00:33:33]FM_GetShiftState [00:33:33]SAM_PROTO_GetShiftState [00:33:33]wFMCommunicate request_size=4 [00:33:33]MH_SAM_APDU [00:33:33]CAPDU: 80 13 01 00 [00:33:33]Write to MH i2c: E2 08 00 18 3D 80 13 01 00 00 00 00 00 D2 [00:33:33]Write i2c OK [00:33:33]MH_I2C_Read... [00:33:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:33:33]Read from MH i2c: E2 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: E2 0E 00 [00:33:33]MH_I2C_Read... [00:33:33]Read from MH i2c: E2 0E 00 18 3D 00 09 00 01 60 EB B6 65 00 00 00 00 90 00 44 [00:33:33]RAPDU: 09 00 01 60 EB B6 65 00 00 00 00 90 00 [00:33:33]wFMCommunicate OK [00:33:33]SAM_PROTO_GetShiftState done [00:33:33]FM_GetShiftState done [00:33:33]opened in 1706486624 [00:33:33]opened+sec_in_day 1706573024 [00:33:33]quantity*price = 54028 [00:33:33]sum+1 = 54030 [00:33:33]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.29 ИТОГО: 540.00 ВнеÑено: 540.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.78 ÐДС 12% : 57.38 Ðаличными: 540.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 1 29.01.2024 00:33 Смена: 245 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000875060 ФД: 49018 ФПД: 127426549359135 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240129T003344&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49018&fm=127426549359135&tin=02508201610067®Number=0000000000092723&sum=54000 [00:33:34]StoreToDocumentArchive [00:33:34]shift 245 fd 49018 [00:33:34]save to /storage/0245/doc_00049018 [00:33:34]save last doc name /storage/0245/doc_00049018 to /storage/kkm_last_doc_name [00:33:34]save OK [00:33:34]Clear old archive folders... [00:33:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [00:33:34]tlvbuf is B6F338C0 [00:33:34]SAM_PROTO_ClearQueue [00:33:34]wFMCommunicate request_size=4 [00:33:34]MH_SAM_APDU [00:33:34]CAPDU: 80 09 00 00 [00:33:34]Write to MH i2c: E2 08 00 25 3D 80 09 00 00 00 00 00 00 D4 [00:33:34]Write i2c OK [00:33:34]MH_I2C_Read... [00:33:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:33:34]Read from MH i2c: E2 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 03 00 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 03 00 25 3D 00 90 00 D6 [00:33:34]RAPDU: 90 00 [00:33:34]wFMCommunicate OK [00:33:34]SAM_PROTO_ClearQueue done [00:33:34]KKMCreateOFDPacket [00:33:34]OFDProtocolAddRootSTLVToBuf [00:33:34]FM_MakeSignedData [00:33:34]FM_MakeSignedData [00:33:34]SAM_PROTO_SignData [00:33:34]wFMCommunicate request_size=4 [00:33:34]MH_SAM_APDU [00:33:34]CAPDU: 80 0D 01 02 [00:33:34]Write to MH i2c: E2 08 00 26 3D 80 0D 01 02 00 00 00 00 DC [00:33:34]Write i2c OK [00:33:34]MH_I2C_Read... [00:33:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:33:34]Read from MH i2c: E2 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 03 00 [00:33:34]MH_I2C_Read... [00:33:34]Read from MH i2c: E2 03 00 26 3D 00 90 00 D7 [00:33:34]RAPDU: 90 00 [00:33:34]wFMCommunicate OK [00:33:34]wFMCommunicate request_size=255 [00:33:34]MH_SAM_APDU [00:33:34]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 00 23 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0D D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 68 F2 B6 65 0E 04 04 00 F5 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 7A BF 00 00 35 04 06 00 73 [00:33:34]Write to MH i2c: E2 02 01 27 3D 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 00 23 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0D D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 68 F2 B6 65 0E 04 04 00 F5 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 7A BF 00 00 35 04 06 00 73 00 00 80 [00:33:34]Write i2c OK [00:33:34]MH_I2C_Read... [00:33:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:33:35]Read from MH i2c: E2 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 03 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 03 00 27 3D 00 90 00 D8 [00:33:35]RAPDU: 90 00 [00:33:35]wFMCommunicate OK [00:33:35]wFMCommunicate request_size=10 [00:33:35]MH_SAM_APDU [00:33:35]CAPDU: 80 0D 02 02 05 E4 CE 35 A2 1F [00:33:35]Write to MH i2c: E2 0D 00 28 3D 80 0D 02 02 05 00 E4 CE 35 A2 1F 00 00 91 [00:33:35]Write i2c OK [00:33:35]MH_I2C_Read... [00:33:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:33:35]Read from MH i2c: E2 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 03 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 03 00 28 3D 00 90 00 D9 [00:33:35]RAPDU: 90 00 [00:33:35]wFMCommunicate OK [00:33:35]wFMCommunicate request_size=4 [00:33:35]MH_SAM_APDU [00:33:35]CAPDU: 80 0D 03 02 [00:33:35]Write to MH i2c: E2 08 00 29 3D 80 0D 03 02 00 00 00 00 E1 [00:33:35]Write i2c OK [00:33:35]MH_I2C_Read... [00:33:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:33:35]Read from MH i2c: E2 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 0B 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 0B 00 29 3D 00 8A 3F 88 2C 42 1E A7 12 90 00 78 [00:33:35]RAPDU: 8A 3F 88 2C 42 1E A7 12 90 00 [00:33:35]wFMCommunicate OK [00:33:35]SAM_PROTO_SignData done [00:33:35]FM_MakeSignedData done [00:33:35]CreateOFDProtocolMessage [00:33:35]wFMCommunicate request_size=4 [00:33:35]MH_SAM_APDU [00:33:35]CAPDU: 80 11 00 00 [00:33:35]Write to MH i2c: E2 08 00 2A 3D 80 11 00 00 00 00 00 00 E1 [00:33:35]Write i2c OK [00:33:35]MH_I2C_Read... [00:33:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:33:35]Read from MH i2c: E2 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 17 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: E2 17 00 2A 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 2E [00:33:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [00:33:35]wFMCommunicate OK [00:33:35]CreateOFDProtocolMessage done [00:33:35]OFDSenderStorePacket 49018 [00:33:35]StoreOFDPacket docnum=49018 [00:33:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 6C 14 07 01 4D 80 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 00 23 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0D D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 68 F2 B6 65 0E 04 04 00 F5 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 7A BF 00 00 35 04 06 00 73 E4 CE 35 A2 1F 8A 3F 88 2C 42 1E A7 12 [00:33:35]CheckFolder [00:33:35]dirname=/storage/ofd_packets [00:33:35]CheckFolder done [00:33:35]ProducePacketName [00:33:35]name=ofd_packets/00049018 [00:33:35]NVStorageSaveData ofd_packets/00049018 [00:33:35]File name is /storage/ofd_packets/00049018 [00:33:35]Write 301 bytes [00:33:35]NVStorageSaveData done [00:33:35]OFDSenderStorePacket done [00:33:35]KKMCreateOFDPacket done [00:33:35]NVStorageSaveData kkm_last_timestamp [00:33:35]File name is /storage/kkm_last_timestamp [00:33:35]Write 4 bytes [00:33:35]OFD Sender: Processing packet 49018 [packets to send 12, broken 11] [00:33:35]ProducePacketName [00:33:35]name=ofd_packets/00049018 [00:33:35]OFD Sender: To server: ‡•öpG, [00:33:35]CommunicateWithHost lk.salyk.kg:30040 [00:33:35]ConnectInit lk.salyk.kg [00:33:35]NVStorageSaveData done [00:33:35]ExternCall_PrintAddStr [00:33:35]wPrintStart [00:33:35]Write to MH i2c: 01 00 00 2B 3D 68 [00:33:35]Write i2c OK [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: 01 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: 01 07 00 [00:33:35]MH_I2C_Read... [00:33:35]Read from MH i2c: 01 07 00 2B 3D 00 00 00 00 00 FF 0F 7D [00:33:35]RasterBufferAndPrint [00:33:35]line Счет N : (1)216117 [00:33:35]line ИÐÐ: 02508201610067 [00:33:35]line Контрольно-КаÑÑовый Чек [00:33:35]line ПРОДÐЖР[00:33:35]line ТРК (МРК, ГÐК) : 12 [00:33:35]line Товар: 2710124130 [00:33:35]line Ðи-92-К-5 [00:33:35]line 8.960 * 60.30 [00:33:35]line = 540.29 [00:33:35]line ÐДС 12% ÐСП 1% [00:33:35]line > о реализуемом товаре [00:33:35]line ОКРУГЛЕÐИЕ: -0.29 [00:33:35]line ИТОГО: 540.00 [00:33:35]line ВнеÑено: 540.00 [00:33:35]line СДÐЧÐ: 0.00 [00:33:35]line ÐСП 1% : 4.78 [00:33:35]line ÐДС 12% : 57.38 [00:33:35]line Ðаличными: 540.00 [00:33:35]line Безнал.: 0.00 [00:33:35]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [00:33:35]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [00:33:35]line СÐО: Общий режим [00:33:35]line Чек 1 29.01.2024 00:33 [00:33:35]line Смена: 245 ФФД: 1.0 [00:33:35]line ЗÐМ: 0300000040 [00:33:35]line РÐМ: 0000000000092723 [00:33:35]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [00:33:35]line ФМ: 0000000000875060 [00:33:35]line ФД: 49018 [00:33:35]line ФПД: 127426549359135 [00:33:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240129T003344&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49018&fm=127426549359135&tin=02508201610067®Number=0000000000092723&sum=54000 [00:33:35]Connected sock=10 [00:33: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 30 36 30 0F 01 00 00 6C 14 07 01 4D 80 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 00 23 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 0D D3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 D2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 16 00 00 00 00 07 04 06 00 F0 D2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 68 F2 B6 65 0E 04 04 00 F5 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 7A BF 00 00 35 04 06 00 73 E4 CE 35 A2 1F 8A 3F 88 2C 42 1E A7 12 [00:33:35]written 0, free lines is 4095 [00:33:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 4F 76 47 00 7E 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 7A BF 00 00 F4 03 04 00 62 9E B6 65 B6 04 01 00 00 23 AA 2A D8 28 B6 4D CE [00:33:35]CommunicateWithHost err = 0 [00:33:35]CheckOFDResponse [00:33:35]1017 (14) - 77093643461234 [00:33:35]1041 (16) - 0000000000875060 [00:33:35]1040 (4) - 49018 [00:33:35]1012 (4) - 28.01.2024 18:35 [00:33:35]1206 (1) - 0 [00:33:35]OFD Sender: Remove packet 49018 [00:33:35]ProducePacketName [00:33:35]name=ofd_packets/00049018 [00:33:35]NVStorageDeleteData [00:33:36]Write to MH i2c: 01 00 00 56 3D 93 [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: 01 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: 01 07 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: 01 07 00 56 3D 00 00 00 00 00 F1 0C 97 [00:33:36]RasterBufferAndPrint [00:33:36]line [00:33:36]line [00:33:36]line [00:33:36]line [00:33:36]line [00:33:36]written 0, free lines is 3319 [00:33:36]MH_Cut [00:33:36]Write to MH i2c: D1 01 00 5D 3D 01 6C [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: D1 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: D1 01 00 [00:33:36]MH_I2C_Read... [00:33:36]Read from MH i2c: D1 01 00 5D 3D 00 6B [00:33:36]Write to MH i2c: 01 00 00 5E 3D 9B [00:33:36]Write i2c OK [00:33:36]MH_I2C_Read... [00:33:36]OFD Sender: No OFD packet to send [00:33:36]*** Cut start [00:33:36]*** Partial cut [00:33:36]*** CUTSNS_PIN = 1 [00:33:36]*** CUTSNS_PIN = 0 [00:33:37]*** Brake cut motor [00:33:37]Read from MH i2c: 01 [00:33:37]MH_I2C_Read... [00:33:37]*** Stop cut motor [00:33:37]*** Cut end [00:33:37]Read from MH i2c: 01 07 00 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: 01 07 00 5E 3D 00 00 00 00 00 FF 0F B0 [00:33:37]process_action close_receipt done [00:33:37]requested_data is exist [00:33:37]produce_requested_data [00:33:37]requested_item fm.sn is exist - process it [00:33:37]wFMCommunicate request_size=4 [00:33:37]MH_SAM_APDU [00:33:37]CAPDU: 80 11 00 00 [00:33:37]Write to MH i2c: E2 08 00 5F 3D 80 11 00 00 00 00 00 00 16 [00:33:37]Write i2c OK [00:33:37]MH_I2C_Read... [00:33:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:33:37]Read from MH i2c: E2 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 17 00 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 17 00 5F 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 63 [00:33:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [00:33:37]wFMCommunicate OK [00:33:37]requested_item fd.num is exist - process it [00:33:37]SAM_PROTO_GetFieldsCounters [00:33:37]wFMCommunicate request_size=4 [00:33:37]MH_SAM_APDU [00:33:37]CAPDU: 80 13 00 00 [00:33:37]Write to MH i2c: E2 08 00 60 3D 80 13 00 00 00 00 00 00 19 [00:33:37]Write i2c OK [00:33:37]MH_I2C_Read... [00:33:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:33:37]Read from MH i2c: E2 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 62 00 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 62 00 60 3D 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 7A BF 00 00 0E 04 04 00 F5 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [00:33: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 7A BF 00 00 0E 04 04 00 F5 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:33:37]wFMCommunicate OK [00:33:37]SAM_PROTO_GetFieldsCounters done [00:33:37]requested_item shift.num is exist - process it [00:33:37]requested_item shift.opened is exist - process it [00:33:37]req_shift_opened [00:33:37]FM_GetShiftState [00:33:37]SAM_PROTO_GetShiftState [00:33:37]wFMCommunicate request_size=4 [00:33:37]MH_SAM_APDU [00:33:37]CAPDU: 80 13 01 00 [00:33:37]Write to MH i2c: E2 08 00 61 3D 80 13 01 00 00 00 00 00 1B [00:33:37]Write i2c OK [00:33:37]MH_I2C_Read... [00:33:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:33:37]Read from MH i2c: E2 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 0E 00 [00:33:37]MH_I2C_Read... [00:33:37]Read from MH i2c: E2 0E 00 61 3D 00 09 00 01 60 EB B6 65 00 00 00 00 90 00 8D [00:33:37]RAPDU: 09 00 01 60 EB B6 65 00 00 00 00 90 00 [00:33:37]wFMCommunicate OK [00:33:37]SAM_PROTO_GetShiftState done [00:33:37]FM_GetShiftState done [00:33:37]req_shift_opened done [00:33:37]requested_item shift.open_date is exist - process it [00:33:37]req_shift_open_date [00:33:37]req_shift_open_date done [00:33:37]produce_requested_data done [00:33:37]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49018,"shift.num":245,"shift.opened":1,"shift.open_date":1706486624} [00:33:37]process_action_free close_receipt [00:33:37]json_value_free [00:33:37]json_value_free done [00:33:37]process_json_proto returns [00:33:37]Send response to host [00:33:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49018,"shift.num":245,"shift.opened":1,"shift.open_date":1706486624}}} [00:33:37]free response buf [00:33:37]execute_script done [00:33:37]execute_script returns [00:33:37]free content buf [00:33:37]Sock 9.Close socket [00:33:37]Sock 9.Thread stoped [00:33:41]OFD Sender: No OFD packet to send [00:33:46]OFD Sender: No OFD packet to send [00:33:51]OFD Sender: No OFD packet to send [00:33:56]OFD Sender: No OFD packet to send [00:34:01]OFD Sender: No OFD packet to send [00:34:06]OFD Sender: No OFD packet to send [00:34:11]OFD Sender: No OFD packet to send [00:34:16]OFD Sender: No OFD packet to send [00:34:21]OFD Sender: No OFD packet to send [00:34:26]OFD Sender: No OFD packet to send [00:34:31]OFD Sender: No OFD packet to send [00:34:36]OFD Sender: No OFD packet to send [00:34:41]OFD Sender: No OFD packet to send [00:34:46]OFD Sender: No OFD packet to send [00:34:51]OFD Sender: No OFD packet to send [00:34:56]OFD Sender: No OFD packet to send [00:35:01]OFD Sender: No OFD packet to send [00:35:06]OFD Sender: No OFD packet to send [00:35:11]OFD Sender: No OFD packet to send [00:35:16]OFD Sender: No OFD packet to send [00:35:21]OFD Sender: No OFD packet to send [00:35:26]OFD Sender: No OFD packet to send [00:35:31]OFD Sender: No OFD packet to send [00:35:36]OFD Sender: No OFD packet to send [00:35:41]OFD Sender: No OFD packet to send [00:35:46]OFD Sender: No OFD packet to send [00:35:51]OFD Sender: No OFD packet to send [00:35:56]OFD Sender: No OFD packet to send [00:36:01]OFD Sender: No OFD packet to send [00:36:06]OFD Sender: No OFD packet to send [00:36:11]OFD Sender: No OFD packet to send [00:36:16]OFD Sender: No OFD packet to send [00:36:21]OFD Sender: No OFD packet to send [00:36:26]OFD Sender: No OFD packet to send [00:36:31]OFD Sender: No OFD packet to send [00:36:36]OFD Sender: No OFD packet to send [00:36:41]OFD Sender: No OFD packet to send [00:36:46]OFD Sender: No OFD packet to send [00:36:51]OFD Sender: No OFD packet to send [00:36:56]OFD Sender: No OFD packet to send [00:37:00]accept exits with 7 [00:37:00]New connection [00:37:00]New thread 3066670436 created [00:37:00]Thread 3066813796 joined [00:37:00]Waiting for new connection... [00:37:00] Sock 7.Parse request [00:37:00]Sock 7.Check first char [00:37:00]Sock 7.First char is OK [00:37:00]request: POST /json_proto HTTP/1.0 [00:37:00]Method: POST [00:37:00]URL: /json_proto [00:37:00]Method is POST - this is cgi request [00:37:00]url: /json_proto [00:37:00]query_string will be loaded in cgi processing [00:37:00]execute_cgi json_proto POST (null) [00:37:00]execute_cgi path=json_proto method=POST [00:37:00]POST find Content-Length [00:37:00]Host: 172.17.56.67:8080 [00:37:00]Content-Length: 805 [00:37:00]Content-Type: application/json [00:37:00] [00:37:00]POST finish read [00:37:00]Found Content-Length = 805 [00:37:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)216118", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 500.49 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:00]execute_script... [00:37: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)216118", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 60.30, "quantity" : 8.300, "sum" : 500.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 500.49 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:00]POST & json_proto [00:37:00]process_json_proto [00:37:00]json parsed OK: [00:37:00]protocol is kg_v1.0 [00:37:00]action value=close_receipt [00:37:00]process_action close_receipt [00:37:00]cmd_close_receipt [00:37:00]MH_GetDate [00:37:00]Write to MH i2c: F0 00 00 62 3D 8E [00:37:00]Write i2c OK [00:37:00]MH_I2C_Read... [00:37:00]Read from MH i2c: F0 [00:37:00]MH_I2C_Read... [00:37:00]Read from MH i2c: F0 09 00 [00:37:00]MH_I2C_Read... [00:37:00]Read from MH i2c: F0 09 00 62 3D 00 37 F3 B6 65 26 5D 9E 65 62 [00:37:00]GetLastDocTimeStamp 1706488424 [00:37:00]current date 1706488631 [00:37:00]FM_GetShiftState [00:37:00]SAM_PROTO_GetShiftState [00:37:00]wFMCommunicate request_size=4 [00:37:00]MH_SAM_APDU [00:37:00]CAPDU: 80 13 01 00 [00:37:00]Write to MH i2c: E2 08 00 63 3D 80 13 01 00 00 00 00 00 1D [00:37:00]Write i2c OK [00:37:00]MH_I2C_Read... [00:37:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:37:00]Read from MH i2c: E2 [00:37:00]MH_I2C_Read... [00:37:00]Read from MH i2c: E2 0E 00 [00:37:00]MH_I2C_Read... [00:37:00]Read from MH i2c: E2 0E 00 63 3D 00 09 00 01 60 EB B6 65 00 00 00 00 90 00 8F [00:37:00]RAPDU: 09 00 01 60 EB B6 65 00 00 00 00 90 00 [00:37:00]wFMCommunicate OK [00:37:00]SAM_PROTO_GetShiftState done [00:37:00]FM_GetShiftState done [00:37:00]opened in 1706486624 [00:37:00]opened+sec_in_day 1706573024 [00:37:00]quantity*price = 50049 [00:37:00]sum+1 = 50050 [00:37:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.49 ÐСП 1% : 4.43 ÐДС 12% : 53.15 Ðаличными: 0.00 Безнал.: 500.49 МеÑто: ÐЗС â„– 102 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 СÐО: Общий режим Чек 2 29.01.2024 00:37 Смена: 245 ФФД: 1.0 ЗÐМ: 0300000040 РÐМ: 0000000000092723 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: О! деньги ФМ: 0000000000875060 ФД: 49019 ФПД: 19232522203528 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240129T003711&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49019&fm=19232522203528&tin=02508201610067®Number=0000000000092723&sum=50049 [00:37:01]StoreToDocumentArchive [00:37:01]shift 245 fd 49019 [00:37:01]save to /storage/0245/doc_00049019 [00:37:01]save last doc name /storage/0245/doc_00049019 to /storage/kkm_last_doc_name [00:37:01]save OK [00:37:01]Clear old archive folders... [00:37:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [00:37:01]tlvbuf is B6F33490 [00:37:01]SAM_PROTO_ClearQueue [00:37:01]wFMCommunicate request_size=4 [00:37:01]MH_SAM_APDU [00:37:01]CAPDU: 80 09 00 00 [00:37:01]Write to MH i2c: E2 08 00 70 3D 80 09 00 00 00 00 00 00 1F [00:37:01]Write i2c OK [00:37:01]MH_I2C_Read... [00:37:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:37:01]Read from MH i2c: E2 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 03 00 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 03 00 70 3D 00 90 00 21 [00:37:01]RAPDU: 90 00 [00:37:01]wFMCommunicate OK [00:37:01]SAM_PROTO_ClearQueue done [00:37:01]KKMCreateOFDPacket [00:37:01]OFDProtocolAddRootSTLVToBuf [00:37:01]FM_MakeSignedData [00:37:01]FM_MakeSignedData [00:37:01]SAM_PROTO_SignData [00:37:01]wFMCommunicate request_size=4 [00:37:01]MH_SAM_APDU [00:37:01]CAPDU: 80 0D 01 02 [00:37:01]Write to MH i2c: E2 08 00 71 3D 80 0D 01 02 00 00 00 00 27 [00:37:01]Write i2c OK [00:37:01]MH_I2C_Read... [00:37:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:37:01]Read from MH i2c: E2 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 03 00 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 03 00 71 3D 00 90 00 22 [00:37:01]RAPDU: 90 00 [00:37:01]wFMCommunicate OK [00:37:01]wFMCommunicate request_size=255 [00:37:01]MH_SAM_APDU [00:37:01]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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 81 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 81 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 37 F3 B6 65 0E 04 04 00 F5 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 7B BF 00 00 35 04 06 00 11 [00:37:01]Write to MH i2c: E2 02 01 72 3D 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 81 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 81 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 37 F3 B6 65 0E 04 04 00 F5 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 7B BF 00 00 35 04 06 00 11 00 00 40 [00:37:01]Write i2c OK [00:37:01]MH_I2C_Read... [00:37:01]OFD Sender: No OFD packet to send [00:37:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:37:01]Read from MH i2c: E2 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 03 00 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 03 00 72 3D 00 90 00 23 [00:37:01]RAPDU: 90 00 [00:37:01]wFMCommunicate OK [00:37:01]wFMCommunicate request_size=10 [00:37:01]MH_SAM_APDU [00:37:01]CAPDU: 80 0D 02 02 05 7D EB A7 71 88 [00:37:01]Write to MH i2c: E2 0D 00 73 3D 80 0D 02 02 05 00 7D EB A7 71 88 00 00 3C [00:37:01]Write i2c OK [00:37:01]MH_I2C_Read... [00:37:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:37:01]Read from MH i2c: E2 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 03 00 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 03 00 73 3D 00 90 00 24 [00:37:01]RAPDU: 90 00 [00:37:01]wFMCommunicate OK [00:37:01]wFMCommunicate request_size=4 [00:37:01]MH_SAM_APDU [00:37:01]CAPDU: 80 0D 03 02 [00:37:01]Write to MH i2c: E2 08 00 74 3D 80 0D 03 02 00 00 00 00 2C [00:37:01]Write i2c OK [00:37:01]MH_I2C_Read... [00:37:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:37:01]Read from MH i2c: E2 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 0B 00 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 0B 00 74 3D 00 F0 18 ED B6 D0 02 3C 7D 90 00 63 [00:37:01]RAPDU: F0 18 ED B6 D0 02 3C 7D 90 00 [00:37:01]wFMCommunicate OK [00:37:01]SAM_PROTO_SignData done [00:37:01]FM_MakeSignedData done [00:37:01]CreateOFDProtocolMessage [00:37:01]wFMCommunicate request_size=4 [00:37:01]MH_SAM_APDU [00:37:01]CAPDU: 80 11 00 00 [00:37:01]Write to MH i2c: E2 08 00 75 3D 80 11 00 00 00 00 00 00 2C [00:37:01]Write i2c OK [00:37:01]MH_I2C_Read... [00:37:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:01]Read from MH i2c: E2 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 17 00 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: E2 17 00 75 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 79 [00:37:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [00:37:01]wFMCommunicate OK [00:37:01]CreateOFDProtocolMessage done [00:37:01]OFDSenderStorePacket 49019 [00:37:01]StoreOFDPacket docnum=49019 [00:37:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 0F 01 00 00 D1 87 07 01 D1 3D 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 81 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 81 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 37 F3 B6 65 0E 04 04 00 F5 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 7B BF 00 00 35 04 06 00 11 7D EB A7 71 88 F0 18 ED B6 D0 02 3C 7D [00:37:01]CheckFolder [00:37:01]dirname=/storage/ofd_packets [00:37:01]CheckFolder done [00:37:01]ProducePacketName [00:37:01]name=ofd_packets/00049019 [00:37:01]NVStorageSaveData ofd_packets/00049019 [00:37:01]File name is /storage/ofd_packets/00049019 [00:37:01]Write 301 bytes [00:37:01]NVStorageSaveData done [00:37:01]OFDSenderStorePacket done [00:37:01]KKMCreateOFDPacket done [00:37:01]NVStorageSaveData kkm_last_timestamp [00:37:01]File name is /storage/kkm_last_timestamp [00:37:01]Write 4 bytes [00:37:01]NVStorageSaveData done [00:37:01]ExternCall_PrintAddStr [00:37:01]wPrintStart [00:37:01]Write to MH i2c: 01 00 00 76 3D B3 [00:37:01]Write i2c OK [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: 01 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: 01 07 00 [00:37:01]MH_I2C_Read... [00:37:01]Read from MH i2c: 01 07 00 76 3D 00 00 00 00 00 FF 0F C8 [00:37:01]RasterBufferAndPrint [00:37:01]line Счет N : (1)216118 [00:37:01]line ИÐÐ: 02508201610067 [00:37:01]line Контрольно-КаÑÑовый Чек [00:37:01]line ПРОДÐЖР[00:37:01]line ТРК (МРК, ГÐК) : 22 [00:37:01]line Товар: 2710124130 [00:37:01]line Ðи-92-К-5 [00:37:01]line 8.300 * 60.30 [00:37:01]line = 500.49 [00:37:01]line ÐДС 12% ÐСП 1% [00:37:01]line > о реализуемом товаре [00:37:01]line ИТОГО: 500.49 [00:37:01]line ÐСП 1% : 4.43 [00:37:01]line ÐДС 12% : 53.15 [00:37:01]line Ðаличными: 0.00 [00:37:01]line Безнал.: 500.49 [00:37:01]line МеÑто: ÐЗС â„– 102 "Партнер Ðефть" [00:37:01]line ÐдреÑ: 720001, Ñ. Кара-Коо, ул. Батыркана 59, 42.217482, 76.627508 [00:37:01]line СÐО: Общий режим [00:37:01]line Чек 2 29.01.2024 00:37 [00:37:01]line Смена: 245 ФФД: 1.0 [00:37:01]line ЗÐМ: 0300000040 [00:37:01]line РÐМ: 0000000000092723 [00:37:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [00:37:01]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: О! деньги [00:37:01]line ФМ: 0000000000875060 [00:37:01]line ФД: 49019 [00:37:01]line ФПД: 19232522203528 [00:37:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240129T003711&type=1&operation_type=1&fn_number=0000000000875060&fd_number=49019&fm=19232522203528&tin=02508201610067®Number=0000000000092723&sum=50049 [00:37:02]OFD Sender: Processing packet 49019 [packets to send 12, broken 11] [00:37:02]ProducePacketName [00:37:02]name=ofd_packets/00049019 [00:37:02]OFD Sender: To server: ‡•öpG, [00:37:02]CommunicateWithHost lk.salyk.kg:30040 [00:37:02]ConnectInit lk.salyk.kg [00:37:02]written 0, free lines is 4095 [00:37:02]Connected sock=10 [00:37: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 30 36 30 0F 01 00 00 D1 87 07 01 D1 3D 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 6C 20 00 00 00 00 00 37 04 06 00 8E 17 00 00 00 00 13 04 06 00 81 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 81 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 81 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 37 F3 B6 65 0E 04 04 00 F5 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 10 04 04 00 7B BF 00 00 35 04 06 00 11 7D EB A7 71 88 F0 18 ED B6 D0 02 3C 7D [00:37:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 4F 00 00 00 AE 2C 47 00 ED 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 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 30 36 30 10 04 04 00 7B BF 00 00 F4 03 04 00 31 9F B6 65 B6 04 01 00 00 02 44 E2 13 CC EE 00 CF [00:37:02]CommunicateWithHost err = 0 [00:37:02]CheckOFDResponse [00:37:02]1017 (14) - 77093643461234 [00:37:02]1041 (16) - 0000000000875060 [00:37:02]1040 (4) - 49019 [00:37:02]1012 (4) - 28.01.2024 18:38 [00:37:02]1206 (1) - 0 [00:37:02]OFD Sender: Remove packet 49019 [00:37:02]ProducePacketName [00:37:02]name=ofd_packets/00049019 [00:37:02]NVStorageDeleteData [00:37:02]Write to MH i2c: 01 00 00 A0 3D DD [00:37:02]Write i2c OK [00:37:02]MH_I2C_Read... [00:37:02]Read from MH i2c: 01 [00:37:02]MH_I2C_Read... [00:37:02]Read from MH i2c: 01 07 00 [00:37:02]MH_I2C_Read... [00:37:02]Read from MH i2c: 01 07 00 A0 3D 00 00 00 00 00 FB 0C EB [00:37:02]RasterBufferAndPrint [00:37:02]line [00:37:02]line [00:37:02]line [00:37:02]line [00:37:02]line [00:37:02]written 0, free lines is 3330 [00:37:02]MH_Cut [00:37:02]Write to MH i2c: D1 01 00 A7 3D 01 B6 [00:37:02]Write i2c OK [00:37:02]MH_I2C_Read... [00:37:02]Read from MH i2c: D1 [00:37:02]MH_I2C_Read... [00:37:02]Read from MH i2c: D1 01 00 [00:37:02]MH_I2C_Read... [00:37:02]Read from MH i2c: D1 01 00 A7 3D 00 B5 [00:37:02]Write to MH i2c: 01 00 00 A8 3D E5 [00:37:02]Write i2c OK [00:37:02]MH_I2C_Read... [00:37:03]OFD Sender: No OFD packet to send [00:37:03]*** Cut start [00:37:03]*** Partial cut [00:37:03]*** CUTSNS_PIN = 1 [00:37:03]*** CUTSNS_PIN = 0 [00:37:03]*** Brake cut motor [00:37:03]Read from MH i2c: 01 [00:37:03]MH_I2C_Read... [00:37:03]*** Stop cut motor [00:37:03]*** Cut end [00:37:03]Read from MH i2c: 01 07 00 [00:37:03]MH_I2C_Read... [00:37:03]Read from MH i2c: 01 07 00 A8 3D 00 00 00 00 00 FF 0F FA [00:37:03]process_action close_receipt done [00:37:03]requested_data is exist [00:37:03]produce_requested_data [00:37:03]requested_item fm.sn is exist - process it [00:37:03]wFMCommunicate request_size=4 [00:37:03]MH_SAM_APDU [00:37:03]CAPDU: 80 11 00 00 [00:37:03]Write to MH i2c: E2 08 00 A9 3D 80 11 00 00 00 00 00 00 60 [00:37:03]Write i2c OK [00:37:03]MH_I2C_Read... [00:37:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:04]Read from MH i2c: E2 [00:37:04]MH_I2C_Read... [00:37:04]Read from MH i2c: E2 17 00 [00:37:04]MH_I2C_Read... [00:37:04]Read from MH i2c: E2 17 00 A9 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 AD [00:37:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 36 30 90 00 [00:37:04]wFMCommunicate OK [00:37:04]requested_item fd.num is exist - process it [00:37:04]SAM_PROTO_GetFieldsCounters [00:37:04]wFMCommunicate request_size=4 [00:37:04]MH_SAM_APDU [00:37:04]CAPDU: 80 13 00 00 [00:37:04]Write to MH i2c: E2 08 00 AA 3D 80 13 00 00 00 00 00 00 63 [00:37:04]Write i2c OK [00:37:04]MH_I2C_Read... [00:37:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:37:04]Read from MH i2c: E2 [00:37:04]MH_I2C_Read... [00:37:04]Read from MH i2c: E2 62 00 [00:37:04]MH_I2C_Read... [00:37:04]Read from MH i2c: E2 62 00 AA 3D 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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 7B BF 00 00 0E 04 04 00 F5 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [00:37: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 30 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 32 33 10 04 04 00 7B BF 00 00 0E 04 04 00 F5 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:37:04]wFMCommunicate OK [00:37:04]SAM_PROTO_GetFieldsCounters done [00:37:04]requested_item shift.num is exist - process it [00:37:04]requested_item shift.opened is exist - process it [00:37:04]req_shift_opened [00:37:04]FM_GetShiftState [00:37:04]SAM_PROTO_GetShiftState [00:37:04]wFMCommunicate request_size=4 [00:37:04]MH_SAM_APDU [00:37:04]CAPDU: 80 13 01 00 [00:37:04]Write to MH i2c: E2 08 00 AB 3D 80 13 01 00 00 00 00 00 65 [00:37:04]Write i2c OK [00:37:04]MH_I2C_Read... [00:37:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:37:04]Read from MH i2c: E2 [00:37:04]MH_I2C_Read... [00:37:04]Read from MH i2c: E2 0E 00 [00:37:04]MH_I2C_Read... [00:37:04]Read from MH i2c: E2 0E 00 AB 3D 00 09 00 01 60 EB B6 65 00 00 00 00 90 00 D7 [00:37:04]RAPDU: 09 00 01 60 EB B6 65 00 00 00 00 90 00 [00:37:04]wFMCommunicate OK [00:37:04]SAM_PROTO_GetShiftState done [00:37:04]FM_GetShiftState done [00:37:04]req_shift_opened done [00:37:04]requested_item shift.open_date is exist - process it [00:37:04]req_shift_open_date [00:37:04]req_shift_open_date done [00:37:04]produce_requested_data done [00:37:04]produce_requested_data return {"fm.sn":"0000000000875060","fd.num":49019,"shift.num":245,"shift.opened":1,"shift.open_date":1706486624} [00:37:04]process_action_free close_receipt [00:37:04]json_value_free [00:37:04]json_value_free done [00:37:04]process_json_proto returns [00:37:04]Send response to host [00:37:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875060","fd.num":49019,"shift.num":245,"shift.opened":1,"shift.open_date":1706486624}}} [00:37:04]free response buf [00:37:04]execute_script done [00:37:04]execute_script returns [00:37:04]free content buf [00:37:04]Sock 7.Close socket [00:37:04]Sock 7.Thread stoped [00:37:08]OFD Sender: No OFD packet to send [00:37:13]OFD Sender: No OFD packet to send [00:37:18]OFD Sender: No OFD packet to send [00:37:23]OFD Sender: No OFD packet to send [00:37:28]OFD Sender: No OFD packet to send [00:37:33]OFD Sender: No OFD packet to send [00:37:38]OFD Sender: No OFD packet to send [00:37:43]OFD Sender: No OFD packet to send [00:37:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:19]OFD Sender: No OFD packet to send [01:05:24]OFD Sender: No OFD packet to send [01:05:29]OFD Sender: No OFD packet to send [01:05:34]OFD Sender: No OFD packet to send [01:05:39]OFD Sender: No OFD packet to send [01:05:44]OFD Sender: No OFD packet to send [01:05:49]OFD Sender: No OFD packet to send [01:05:54]OFD Sender: No OFD packet to send [01:05:59]OFD Sender: No OFD packet to send [01:06:04]OFD Sender: No OFD packet to send [01:06:09]OFD Sender: No OFD packet to send [01:06:14]OFD Sender: No OFD packet to send [01:06:19]OFD Sender: No OFD packet to send [01:06:24]OFD Sender: No OFD packet to send [01:06:29]OFD Sender: No OFD packet to send [01:06:34]OFD Sender: No OFD packet to send [01:06:39]OFD Sender: No OFD packet to send [01:06:44]OFD Sender: No OFD packet to send [01:06:49]OFD Sender: No OFD packet to send [01:06:54]OFD Sender: No OFD packet to send [01:06:59]OFD Sender: No OFD packet to send [01:07:04]OFD Sender: No OFD packet to send [01:07:09]OFD Sender: No OFD packet to send [01:07:14]OFD Sender: No OFD packet to send [01:07:19]OFD Sender: No OFD packet to send [01:07:24]OFD Sender: No OFD packet to send [01:07:29]OFD Sender: No OFD packet to send [01:07:34]OFD Sender: No OFD packet to send [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:14]OFD Sender: No OFD packet to send [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:54]OFD Sender: No OFD packet to send [01:08:59]OFD Sender: No OFD packet to send [01:09:04]OFD Sender: No OFD packet to send [01:09:09]OFD Sender: No OFD packet to send [01:09:14]OFD Sender: No OFD packet to send [01:09:19]OFD Sender: No OFD packet to send [01:09:24]OFD Sender: No OFD packet to send [01:09:29]OFD Sender: No OFD packet to send [01:09:34]OFD Sender: No OFD packet to send [01:09:39]OFD Sender: No OFD packet to send [01:09:44]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:24]OFD Sender: No OFD packet to send [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:25]OFD Sender: No OFD packet to send [01:17:30]OFD Sender: No OFD packet to send [01:17:35]OFD Sender: No OFD packet to send [01:17:40]OFD Sender: No OFD packet to send [01:17:45]OFD Sender: No OFD packet to send [01:17:50]OFD Sender: No OFD packet to send [01:17:55]OFD Sender: No OFD packet to send [01:18:00]OFD Sender: No OFD packet to send [01:18:05]OFD Sender: No OFD packet to send [01:18:10]OFD Sender: No OFD packet to send [01:18:15]OFD Sender: No OFD packet to send [01:18:20]OFD Sender: No OFD packet to send [01:18:25]OFD Sender: No OFD packet to send [01:18:30]OFD Sender: No OFD packet to send [01:18:35]OFD Sender: No OFD packet to send [01:18:40]OFD Sender: No OFD packet to send [01:18:45]OFD Sender: No OFD packet to send [01:18:50]OFD Sender: No OFD packet to send [01:18:55]OFD Sender: No OFD packet to send [01:19:00]OFD Sender: No OFD packet to send [01:19:05]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:15]OFD Sender: No OFD packet to send [01:24:20]OFD Sender: No OFD packet to send [01:24:25]OFD Sender: No OFD packet to send [01:24:30]OFD Sender: No OFD packet to send [01:24:35]OFD Sender: No OFD packet to send [01:24:40]OFD Sender: No OFD packet to send [01:24:45]OFD Sender: No OFD packet to send [01:24:50]OFD Sender: No OFD packet to send [01:24:55]OFD Sender: No OFD packet to send [01:25:00]OFD Sender: No OFD packet to send [01:25:05]OFD Sender: No OFD packet to send [01:25:10]OFD Sender: No OFD packet to send [01:25:15]OFD Sender: No OFD packet to send [01:25:20]OFD Sender: No OFD packet to send [01:25:25]OFD Sender: No OFD packet to send [01:25:30]OFD Sender: No OFD packet to send [01:25:35]OFD Sender: No OFD packet to send [01:25:40]OFD Sender: No OFD packet to send [01:25:45]OFD Sender: No OFD packet to send [01:25:50]OFD Sender: No OFD packet to send [01:25:55]OFD Sender: No OFD packet to send [01:26:00]OFD Sender: No OFD packet to send [01:26:05]OFD Sender: No OFD packet to send [01:26:10]OFD Sender: No OFD packet to send [01:26:15]OFD Sender: No OFD packet to send [01:26:20]OFD Sender: No OFD packet to send [01:26:25]OFD Sender: No OFD packet to send [01:26:30]OFD Sender: No OFD packet to send [01:26:35]OFD Sender: No OFD packet to send [01:26:40]OFD Sender: No OFD packet to send [01:26:45]OFD Sender: No OFD packet to send [01:26:50]OFD Sender: No OFD packet to send [01:26:55]OFD Sender: No OFD packet to send [01:27:00]OFD Sender: No OFD packet to send [01:27:05]OFD Sender: No OFD packet to send [01:27:10]OFD Sender: No OFD packet to send [01:27:15]OFD Sender: No OFD packet to send [01:27:20]OFD Sender: No OFD packet to send [01:27:25]OFD Sender: No OFD packet to send [01:27:30]OFD Sender: No OFD packet to send [01:27:35]OFD Sender: No OFD packet to send [01:27:40]OFD Sender: No OFD packet to send [01:27:45]OFD Sender: No OFD packet to send [01:27:50]OFD Sender: No OFD packet to send [01:27:55]OFD Sender: No OFD packet to send [01:28:00]OFD Sender: No OFD packet to send [01:28:05]OFD Sender: No OFD packet to send [01:28:10]OFD Sender: No OFD packet to send [01:28:15]OFD Sender: No OFD packet to send [01:28:20]OFD Sender: No OFD packet to send [01:28:25]OFD Sender: No OFD packet to send [01:28:30]OFD Sender: No OFD packet to send [01:28:35]OFD Sender: No OFD packet to send [01:28:40]OFD Sender: No OFD packet to send [01:28:45]OFD Sender: No OFD packet to send [01:28:50]OFD Sender: No OFD packet to send [01:28:55]OFD Sender: No OFD packet to send [01:29:00]OFD Sender: No OFD packet to send [01:29:05]OFD Sender: No OFD packet to send [01:29:10]OFD Sender: No OFD packet to send [01:29:15]OFD Sender: No OFD packet to send [01:29:20]OFD Sender: No OFD packet to send [01:29:25]OFD Sender: No OFD packet to send [01:29:30]OFD Sender: No OFD packet to send [01:29:35]OFD Sender: No OFD packet to send [01:29:40]OFD Sender: No OFD packet to send [01:29:45]OFD Sender: No OFD packet to send [01:29:50]OFD Sender: No OFD packet to send [01:29:55]OFD Sender: No OFD packet to send [01:30:00]OFD Sender: No OFD packet to send [01:30:05]OFD Sender: No OFD packet to send [01:30:10]OFD Sender: No OFD packet to send [01:30:15]OFD Sender: No OFD packet to send [01:30:20]OFD Sender: No OFD packet to send [01:30:25]OFD Sender: No OFD packet to send [01:30:30]OFD Sender: No OFD packet to send [01:30:35]OFD Sender: No OFD packet to send [01:30:40]OFD Sender: No OFD packet to send [01:30:45]OFD Sender: No OFD packet to send [01:30:50]OFD Sender: No OFD packet to send [01:30:55]OFD Sender: No OFD packet to send [01:31:00]OFD Sender: No OFD packet to send [01:31:05]OFD Sender: No OFD packet to send [01:31:10]OFD Sender: No OFD packet to send [01:31:15]OFD Sender: No OFD packet to send [01:31:20]OFD Sender: No OFD packet to send [01:31:25]OFD Sender: No OFD packet to send [01:31:30]OFD Sender: No OFD packet to send [01:31:35]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:32:00]OFD Sender: No OFD packet to send [01:32:05]OFD Sender: No OFD packet to send [01:32:10]OFD Sender: No OFD packet to send [01:32:15]OFD Sender: No OFD packet to send [01:32:20]OFD Sender: No OFD packet to send [01:32:25]OFD Sender: No OFD packet to send [01:32:30]OFD Sender: No OFD packet to send [01:32:35]OFD Sender: No OFD packet to send [01:32:40]OFD Sender: No OFD packet to send [01:32:45]OFD Sender: No OFD packet to send [01:32:50]OFD Sender: No OFD packet to send [01:32:55]OFD Sender: No OFD packet to send [01:33:00]OFD Sender: No OFD packet to send [01:33:05]OFD Sender: No OFD packet to send [01:33:10]OFD Sender: No OFD packet to send [01:33:15]OFD Sender: No OFD packet to send [01:33:20]OFD Sender: No OFD packet to send [01:33:25]OFD Sender: No OFD packet to send [01:33:30]OFD Sender: No OFD packet to send [01:33:35]OFD Sender: No OFD packet to send [01:33:40]OFD Sender: No OFD packet to send [01:33:45]OFD Sender: No OFD packet to send [01:33:50]OFD Sender: No OFD packet to send [01:33:55]OFD Sender: No OFD packet to send [01:34:00]OFD Sender: No OFD packet to send [01:34:05]OFD Sender: No OFD packet to send [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:11]OFD Sender: No OFD packet to send [01:38:16]OFD Sender: No OFD packet to send [01:38:21]OFD Sender: No OFD packet to send [01:38:26]OFD Sender: No OFD packet to send [01:38:31]OFD Sender: No OFD packet to send [01:38:36]OFD Sender: No OFD packet to send [01:38:41]OFD Sender: No OFD packet to send [01:38:46]OFD Sender: No OFD packet to send [01:38:51]OFD Sender: No OFD packet to send [01:38:56]OFD Sender: No OFD packet to send [01:39:01]OFD Sender: No OFD packet to send [01:39:06]OFD Sender: No OFD packet to send [01:39:11]OFD Sender: No OFD packet to send [01:39:16]OFD Sender: No OFD packet to send [01:39:21]OFD Sender: No OFD packet to send [01:39:26]OFD Sender: No OFD packet to send [01:39:31]OFD Sender: No OFD packet to send [01:39:36]OFD Sender: No OFD packet to send [01:39:41]OFD Sender: No OFD packet to send [01:39:46]OFD Sender: No OFD packet to send [01:39:51]OFD Sender: No OFD packet to send [01:39:56]OFD Sender: No OFD packet to send [01:40:01]OFD Sender: No OFD packet to send [01:40:06]OFD Sender: No OFD packet to send [01:40:11]OFD Sender: No OFD packet to send [01:40:16]OFD Sender: No OFD packet to send [01:40:21]OFD Sender: No OFD packet to send [01:40:26]OFD Sender: No OFD packet to send [01:40:31]OFD Sender: No OFD packet to send [01:40:36]OFD Sender: No OFD packet to send [01:40:41]OFD Sender: No OFD packet to send [01:40:46]OFD Sender: No OFD packet to send [01:40:51]OFD Sender: No OFD packet to send [01:40:56]OFD Sender: No OFD packet to send [01:41:01]OFD Sender: No OFD packet to send [01:41:06]OFD Sender: No OFD packet to send [01:41:11]OFD Sender: No OFD packet to send [01:41:16]OFD Sender: No OFD packet to send [01:41:21]OFD Sender: No OFD packet to send [01:41:26]OFD Sender: No OFD packet to send [01:41:31]OFD Sender: No OFD packet to send [01:41:36]OFD Sender: No OFD packet to send [01:41:41]OFD Sender: No OFD packet to send [01:41:46]OFD Sender: No OFD packet to send [01:41:51]OFD Sender: No OFD packet to send [01:41:56]OFD Sender: No OFD packet to send [01:42:01]OFD Sender: No OFD packet to send [01:42:06]OFD Sender: No OFD packet to send [01:42:11]OFD Sender: No OFD packet to send [01:42:16]OFD Sender: No OFD packet to send [01:42:21]OFD Sender: No OFD packet to send [01:42:26]OFD Sender: No OFD packet to send [01:42:31]OFD Sender: No OFD packet to send [01:42:36]OFD Sender: No OFD packet to send [01:42:41]OFD Sender: No OFD packet to send [01:42:46]OFD Sender: No OFD packet to send [01:42:51]OFD Sender: No OFD packet to send [01:42:56]OFD Sender: No OFD packet to send [01:43:01]OFD Sender: No OFD packet to send [01:43:06]OFD Sender: No OFD packet to send [01:43:11]OFD Sender: No OFD packet to send [01:43:16]OFD Sender: No OFD packet to send [01:43:21]OFD Sender: No OFD packet to send [01:43:26]OFD Sender: No OFD packet to send [01:43:31]OFD Sender: No OFD packet to send [01:43:36]OFD Sender: No OFD packet to send [01:43:41]OFD Sender: No OFD packet to send [01:43:46]OFD Sender: No OFD packet to send [01:43:51]OFD Sender: No OFD packet to send [01:43:56]OFD Sender: No OFD packet to send [01:44:01]OFD Sender: No OFD packet to send [01:44:06]OFD Sender: No OFD packet to send [01:44:11]OFD Sender: No OFD packet to send [01:44:16]OFD Sender: No OFD packet to send [01:44:21]OFD Sender: No OFD packet to send [01:44:26]OFD Sender: No OFD packet to send [01:44:31]OFD Sender: No OFD packet to send [01:44:36]OFD Sender: No OFD packet to send [01:44:41]OFD Sender: No OFD packet to send [01:44:46]OFD Sender: No OFD packet to send [01:44:51]OFD Sender: No OFD packet to send [01:44:56]OFD Sender: No OFD packet to send [01:45:01]OFD Sender: No OFD packet to send [01:45:06]OFD Sender: No OFD packet to send [01:45:11]OFD Sender: No OFD packet to send [01:45:16]OFD Sender: No OFD packet to send [01:45:21]OFD Sender: No OFD packet to send [01:45:26]OFD Sender: No OFD packet to send [01:45:31]OFD Sender: No OFD packet to send [01:45:36]OFD Sender: No OFD packet to send [01:45:41]OFD Sender: No OFD packet to send [01:45:46]OFD Sender: No OFD packet to send [01:45:51]OFD Sender: No OFD packet to send [01:45:56]OFD Sender: No OFD packet to send [01:46:01]OFD Sender: No OFD packet to send [01:46:06]OFD Sender: No OFD packet to send [01:46:11]OFD Sender: No OFD packet to send [01:46:16]OFD Sender: No OFD packet to send [01:46:21]OFD Sender: No OFD packet to send [01:46:26]OFD Sender: No OFD packet to send [01:46:31]OFD Sender: No OFD packet to send [01:46:36]OFD Sender: No OFD packet to send [01:46:41]OFD Sender: No OFD packet to send [01:46:46]OFD Sender: No OFD packet to send [01:46:51]OFD Sender: No OFD packet to send [01:46:56]OFD Sender: No OFD packet to send [01:47:01]OFD Sender: No OFD packet to send [01:47:06]OFD Sender: No OFD packet to send [01:47:11]OFD Sender: No OFD packet to send [01:47:16]OFD Sender: No OFD packet to send [01:47:21]OFD Sender: No OFD packet to send [01:47:26]OFD Sender: No OFD packet to send [01:47:31]OFD Sender: No OFD packet to send [01:47:36]OFD Sender: No OFD packet to send [01:47:41]OFD Sender: No OFD packet to send [01:47:46]OFD Sender: No OFD packet to send [01:47:51]OFD Sender: No OFD packet to send [01:47:56]OFD Sender: No OFD packet to send [01:48:01]OFD Sender: No OFD packet to send [01:48:06]OFD Sender: No OFD packet to send [01:48:11]OFD Sender: No OFD packet to send [01:48:16]OFD Sender: No OFD packet to send [01:48:21]OFD Sender: No OFD packet to send [01:48:26]OFD Sender: No OFD packet to send [01:48:31]OFD Sender: No OFD packet to send [01:48:36]OFD Sender: No OFD packet to send [01:48:41]OFD Sender: No OFD packet to send [01:48:46]OFD Sender: No OFD packet to send [01:48:51]OFD Sender: No OFD packet to send [01:48:56]OFD Sender: No OFD packet to send [01:49:01]OFD Sender: No OFD packet to send [01:49:06]OFD Sender: No OFD packet to send [01:49:11]OFD Sender: No OFD packet to send [01:49:16]OFD Sender: No OFD packet to send [01:49:21]OFD Sender: No OFD packet to send [01:49:26]OFD Sender: No OFD packet to send [01:49:31]OFD Sender: No OFD packet to send [01:49:36]OFD Sender: No OFD packet to send [01:49:41]OFD Sender: No OFD packet to send [01:49:46]OFD Sender: No OFD packet to send [01:49:51]OFD Sender: No OFD packet to send [01:49:56]OFD Sender: No OFD packet to send [01:50:01]OFD Sender: No OFD packet to send [01:50:06]OFD Sender: No OFD packet to send [01:50:11]OFD Sender: No OFD packet to send [01:50:16]OFD Sender: No OFD packet to send [01:50:21]OFD Sender: No OFD packet to send [01:50:26]OFD Sender: No OFD packet to send [01:50:31]OFD Sender: No OFD packet to send [01:50:36]OFD Sender: No OFD packet to send [01:50:41]OFD Sender: No OFD packet to send [01:50:46]OFD Sender: No OFD packet to send [01:50:51]OFD Sender: No OFD packet to send [01:50:56]OFD Sender: No OFD packet to send [01:51:01]OFD Sender: No OFD packet to send [01:51:06]OFD Sender: No OFD packet to send [01:51:11]OFD Sender: No OFD packet to send [01:51:16]OFD Sender: No OFD packet to send [01:51:21]OFD Sender: No OFD packet to send [01:51:26]OFD Sender: No OFD packet to send [01:51:31]OFD Sender: No OFD packet to send [01:51:36]OFD Sender: No OFD packet to send [01:51:41]OFD Sender: No OFD packet to send [01:51:46]OFD Sender: No OFD packet to send [01:51:51]OFD Sender: No OFD packet to send [01:51:56]OFD Sender: No OFD packet to send [01:52:01]OFD Sender: No OFD packet to send [01:52:06]OFD Sender: No OFD packet to send [01:52:11]OFD Sender: No OFD packet to send [01:52:16]OFD Sender: No OFD packet to send [01:52:21]OFD Sender: No OFD packet to send [01:52:26]OFD Sender: No OFD packet to send [01:52:31]OFD Sender: No OFD packet to send [01:52:36]OFD Sender: No OFD packet to send [01:52:41]OFD Sender: No OFD packet to send [01:52:46]OFD Sender: No OFD packet to send [01:52:51]OFD Sender: No OFD packet to send [01:52:56]OFD Sender: No OFD packet to send [01:53:01]OFD Sender: No OFD packet to send [01:53:06]OFD Sender: No OFD packet to send [01:53:11]OFD Sender: No OFD packet to send [01:53:16]OFD Sender: No OFD packet to send [01:53:21]OFD Sender: No OFD packet to send [01:53:26]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58:36]OFD Sender: No OFD packet to send [01:58:41]OFD Sender: No OFD packet to send [01:58:46]OFD Sender: No OFD packet to send [01:58:51]OFD Sender: No OFD packet to send [01:58:57]OFD Sender: No OFD packet to send [01:59:02]OFD Sender: No OFD packet to send [01:59:07]OFD Sender: No OFD packet to send [01:59:12]OFD Sender: No OFD packet to send [01:59:17]OFD Sender: No OFD packet to send [01:59:22]OFD Sender: No OFD packet to send [01:59:27]OFD Sender: No OFD packet to send [01:59:32]OFD Sender: No OFD packet to send [01:59:37]OFD Sender: No OFD packet to send [01:59:42]OFD Sender: No OFD packet to send [01:59:47]OFD Sender: No OFD packet to send [01:59:52]OFD Sender: No OFD packet to send [01:59:57]OFD Sender: No OFD packet to send [02:00:02]OFD Sender: No OFD packet to send [02:00:07]OFD Sender: No OFD packet to send [02:00:12]OFD Sender: No OFD packet to send [02:00:17]OFD Sender: No OFD packet to send [02:00:22]OFD Sender: No OFD packet to send [02:00:27]OFD Sender: No OFD packet to send [02:00:32]OFD Sender: No OFD packet to send [02:00:37]OFD Sender: No OFD packet to send [02:00:42]OFD Sender: No OFD packet to send [02:00:47]OFD Sender: No OFD packet to send [02:00:52]OFD Sender: No OFD packet to send [02:00:57]OFD Sender: No OFD packet to send [02:01:02]OFD Sender: No OFD packet to send [02:01:07]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:07]OFD Sender: No OFD packet to send [02:04:12]OFD Sender: No OFD packet to send [02:04:17]OFD Sender: No OFD packet to send [02:04:22]OFD Sender: No OFD packet to send [02:04:27]OFD Sender: No OFD packet to send [02:04:32]OFD Sender: No OFD packet to send [02:04:37]OFD Sender: No OFD packet to send [02:04:42]OFD Sender: No OFD packet to send [02:04:47]OFD Sender: No OFD packet to send [02:04:52]OFD Sender: No OFD packet to send [02:04:57]OFD Sender: No OFD packet to send [02:05:02]OFD Sender: No OFD packet to send [02:05:07]OFD Sender: No OFD packet to send [02:05:12]OFD Sender: No OFD packet to send [02:05:17]OFD Sender: No OFD packet to send [02:05:22]OFD Sender: No OFD packet to send [02:05:27]OFD Sender: No OFD packet to send [02:05:32]OFD Sender: No OFD packet to send [02:05:37]OFD Sender: No OFD packet to send [02:05:42]OFD Sender: No OFD packet to send [02:05:47]OFD Sender: No OFD packet to send [02:05:52]OFD Sender: No OFD packet to send [02:05:57]OFD Sender: No OFD packet to send [02:06:02]OFD Sender: No OFD packet to send [02:06:07]OFD Sender: No OFD packet to send [02:06:12]OFD Sender: No OFD packet to send [02:06:17]OFD Sender: No OFD packet to send [02:06:22]OFD Sender: No OFD packet to send [02:06:27]OFD Sender: No OFD packet to send [02:06:32]OFD Sender: No OFD packet to send [02:06:37]OFD Sender: No OFD packet to send [02:06:42]OFD Sender: No OFD packet to send [02:06:47]OFD Sender: No OFD packet to send [02:06:52]OFD Sender: No OFD packet to send [02:06:57]OFD Sender: No OFD packet to send [02:07:02]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:12]OFD Sender: No OFD packet to send [02:07:17]OFD Sender: No OFD packet to send [02:07:22]OFD Sender: No OFD packet to send [02:07:27]OFD Sender: No OFD packet to send [02:07:32]OFD Sender: No OFD packet to send [02:07:37]OFD Sender: No OFD packet to send [02:07:42]OFD Sender: No OFD packet to send [02:07:47]OFD Sender: No OFD packet to send [02:07:52]OFD Sender: No OFD packet to send [02:07:57]OFD Sender: No OFD packet to send [02:08:02]OFD Sender: No OFD packet to send [02:08:07]OFD Sender: No OFD packet to send [02:08:12]OFD Sender: No OFD packet to send [02:08:17]OFD Sender: No OFD packet to send [02:08:22]OFD Sender: No OFD packet to send [02:08:27]OFD Sender: No OFD packet to send [02:08:32]OFD Sender: No OFD packet to send [02:08:37]OFD Sender: No OFD packet to send [02:08:42]OFD Sender: No OFD packet to send [02:08:47]OFD Sender: No OFD packet to send [02:08:52]OFD Sender: No OFD packet to send [02:08:57]OFD Sender: No OFD packet to send [02:09:02]OFD Sender: No OFD packet to send [02:09:07]OFD Sender: No OFD packet to send [02:09:12]OFD Sender: No OFD packet to send [02:09:17]OFD Sender: No OFD packet to send [02:09:22]OFD Sender: No OFD packet to send [02:09:27]OFD Sender: No OFD packet to send [02:09:32]OFD Sender: No OFD packet to send [02:09:37]OFD Sender: No OFD packet to send [02:09:42]OFD Sender: No OFD packet to send [02:09:47]OFD Sender: No OFD packet to send [02:09:52]OFD Sender: No OFD packet to send [02:09:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:37]OFD Sender: No OFD packet to send [02:10:42]OFD Sender: No OFD packet to send [02:10:47]OFD Sender: No OFD packet to send [02:10:52]OFD Sender: No OFD packet to send [02:10:57]OFD Sender: No OFD packet to send [02:11:02]OFD Sender: No OFD packet to send [02:11:07]OFD Sender: No OFD packet to send [02:11:12]OFD Sender: No OFD packet to send [02:11:17]OFD Sender: No OFD packet to send [02:11:22]OFD Sender: No OFD packet to send [02:11:27]OFD Sender: No OFD packet to send [02:11:32]OFD Sender: No OFD packet to send [02:11:37]OFD Sender: No OFD packet to send [02:11:42]OFD Sender: No OFD packet to send [02:11:47]OFD Sender: No OFD packet to send [02:11:52]OFD Sender: No OFD packet to send [02:11:57]OFD Sender: No OFD packet to send [02:12:02]OFD Sender: No OFD packet to send [02:12:07]OFD Sender: No OFD packet to send [02:12:12]OFD Sender: No OFD packet to send [02:12:17]OFD Sender: No OFD packet to send [02:12:22]OFD Sender: No OFD packet to send [02:12:27]OFD Sender: No OFD packet to send [02:12:32]OFD Sender: No OFD packet to send [02:12:37]OFD Sender: No OFD packet to send [02:12:42]OFD Sender: No OFD packet to send [02:12:47]OFD Sender: No OFD packet to send [02:12:52]OFD Sender: No OFD packet to send [02:12:57]OFD Sender: No OFD packet to send [02:13:02]OFD Sender: No OFD packet to send [02:13:07]OFD Sender: No OFD packet to send [02:13:12]OFD Sender: No OFD packet to send [02:13:17]OFD Sender: No OFD packet to send [02:13:22]OFD Sender: No OFD packet to send [02:13:27]OFD Sender: No OFD packet to send [02:13:32]OFD Sender: No OFD packet to send [02:13:37]OFD Sender: No OFD packet to send [02:13:42]OFD Sender: No OFD packet to send [02:13:47]OFD Sender: No OFD packet to send [02:13:52]OFD Sender: No OFD packet to send [02:13:57]OFD Sender: No OFD packet to send [02:14:02]OFD Sender: No OFD packet to send [02:14:07]OFD Sender: No OFD packet to send [02:14:12]OFD Sender: No OFD packet to send [02:14:17]OFD Sender: No OFD packet to send [02:14:22]OFD Sender: No OFD packet to send [02:14:27]OFD Sender: No OFD packet to send [02:14:32]OFD Sender: No OFD packet to send [02:14:37]OFD Sender: No OFD packet to send [02:14:42]OFD Sender: No OFD packet to send [02:14:47]OFD Sender: No OFD packet to send [02:14:52]OFD Sender: No OFD packet to send [02:14:57]OFD Sender: No OFD packet to send [02:15:02]OFD Sender: No OFD packet to send [02:15:07]OFD Sender: No OFD packet to send [02:15:12]OFD Sender: No OFD packet to send [02:15:17]OFD Sender: No OFD packet to send [02:15:22]OFD Sender: No OFD packet to send [02:15:27]OFD Sender: No OFD packet to send [02:15:32]OFD Sender: No OFD packet to send [02:15:37]OFD Sender: No OFD packet to send [02:15:42]OFD Sender: No OFD packet to send [02:15:47]OFD Sender: No OFD packet to send [02:15:52]OFD Sender: No OFD packet to send [02:15:57]OFD Sender: No OFD packet to send [02:16:02]OFD Sender: No OFD packet to send [02:16:07]OFD Sender: No OFD packet to send [02:16:12]OFD Sender: No OFD packet to send [02:16:17]OFD Sender: No OFD packet to send [02:16:22]OFD Sender: No OFD packet to send [02:16:27]OFD Sender: No OFD packet to send [02:16:32]OFD Sender: No OFD packet to send [02:16:37]OFD Sender: No OFD packet to send [02:16:42]OFD Sender: No OFD packet to send [02:16:47]OFD Sender: No OFD packet to send [02:16:52]OFD Sender: No OFD packet to send [02:16:57]OFD Sender: No OFD packet to send [02:17:02]OFD Sender: No OFD packet to send [02:17:07]OFD Sender: No OFD packet to send [02:17:12]OFD Sender: No OFD packet to send [02:17:17]OFD Sender: No OFD packet to send [02:17:22]OFD Sender: No OFD packet to send [02:17:27]OFD Sender: No OFD packet to send [02:17:32]OFD Sender: No OFD packet to send [02:17:37]OFD Sender: No OFD packet to send [02:17:42]OFD Sender: No OFD packet to send [02:17:47]OFD Sender: No OFD packet to send [02:17:52]OFD Sender: No OFD packet to send [02:17:57]OFD Sender: No OFD packet to send [02:18:02]OFD Sender: No OFD packet to send [02:18:07]OFD Sender: No OFD packet to send [02:18:12]OFD Sender: No OFD packet to send [02:18:17]OFD Sender: No OFD packet to send [02:18:22]OFD Sender: No OFD packet to send [02:18:27]OFD Sender: No OFD packet to send [02:18:32]OFD Sender: No OFD packet to send [02:18:37]OFD Sender: No OFD packet to send [02:18:42]OFD Sender: No OFD packet to send [02:18:47]OFD Sender: No OFD packet to send [02:18:52]OFD Sender: No OFD packet to send [02:18:57]OFD Sender: No OFD packet to send [02:19:02]OFD Sender: No OFD packet to send [02:19:07]OFD Sender: No OFD packet to send [02:19:12]OFD Sender: No OFD packet to send [02:19:17]OFD Sender: No OFD packet to send [02:19:22]OFD Sender: No OFD packet to send [02:19:27]OFD Sender: No OFD packet to send [02:19:32]OFD Sender: No OFD packet to send [02:19:37]OFD Sender: No OFD packet to send [02:19:42]OFD Sender: No OFD packet to send [02:19:47]OFD Sender: No OFD packet to send [02:19:53]OFD Sender: No OFD packet to send [02:19:58]OFD Sender: No OFD packet to send [02:20:03]OFD Sender: No OFD packet to send [02:20:08]OFD Sender: No OFD packet to send [02:20:13]OFD Sender: No OFD packet to send [02:20:18]OFD Sender: No OFD packet to send [02:20:23]OFD Sender: No OFD packet to send [02:20:28]OFD Sender: No OFD packet to send [02:20:33]OFD Sender: No OFD packet to send [02:20:38]OFD Sender: No OFD packet to send [02:20:43]OFD Sender: No OFD packet to send [02:20:48]OFD Sender: No OFD packet to send [02:20:53]OFD Sender: No OFD packet to send [02:20:58]OFD Sender: No OFD packet to send [02:21:03]OFD Sender: No OFD packet to send [02:21:08]OFD Sender: No OFD packet to send [02:21:13]OFD Sender: No OFD packet to send [02:21:18]OFD Sender: No OFD packet to send [02:21:23]OFD Sender: No OFD packet to send [02:21:28]OFD Sender: No OFD packet to send [02:21:33]OFD Sender: No OFD packet to send [02:21:38]OFD Sender: No OFD packet to send [02:21:43]OFD Sender: No OFD packet to send [02:21:48]OFD Sender: No OFD packet to send [02:21:53]OFD Sender: No OFD packet to send [02:21:58]OFD Sender: No OFD packet to send [02:22:03]OFD Sender: No OFD packet to send [02:22:08]OFD Sender: No OFD packet to send [02:22:13]OFD Sender: No OFD packet to send [02:22:18]OFD Sender: No OFD packet to send [02:22:23]OFD Sender: No OFD packet to send [02:22:28]OFD Sender: No OFD packet to send [02:22:33]OFD Sender: No OFD packet to send [02:22:38]OFD Sender: No OFD packet to send [02:22:43]OFD Sender: No OFD packet to send [02:22:48]OFD Sender: No OFD packet to send [02:22:53]OFD Sender: No OFD packet to send [02:22:58]OFD Sender: No OFD packet to send [02:23:03]OFD Sender: No OFD packet to send [02:23:08]OFD Sender: No OFD packet to send [02:23:13]OFD Sender: No OFD packet to send [02:23:18]OFD Sender: No OFD packet to send [02:23:23]OFD Sender: No OFD packet to send [02:23:28]OFD Sender: No OFD packet to send [02:23:33]OFD Sender: No OFD packet to send [02:23:38]OFD Sender: No OFD packet to send [02:23:43]OFD Sender: No OFD packet to send [02:23:48]OFD Sender: No OFD packet to send [02:23:53]OFD Sender: No OFD packet to send [02:23:58]OFD Sender: No OFD packet to send [02:24:03]OFD Sender: No OFD packet to send [02:24:08]OFD Sender: No OFD packet to send [02:24:13]OFD Sender: No OFD packet to send [02:24:18]OFD Sender: No OFD packet to send [02:24:23]OFD Sender: No OFD packet to send [02:24:28]OFD Sender: No OFD packet to send [02:24:33]OFD Sender: No OFD packet to send [02:24:38]OFD Sender: No OFD packet to send [02:24:43]OFD Sender: No OFD packet to send [02:24:48]OFD Sender: No OFD packet to send [02:24:53]OFD Sender: No OFD packet to send [02:24:58]OFD Sender: No OFD packet to send [02:25:03]OFD Sender: No OFD packet to send [02:25:08]OFD Sender: No OFD packet to send [02:25:13]OFD Sender: No OFD packet to send [02:25:18]OFD Sender: No OFD packet to send [02:25:23]OFD Sender: No OFD packet to send [02:25:28]OFD Sender: No OFD packet to send [02:25:33]OFD Sender: No OFD packet to send [02:25:38]OFD Sender: No OFD packet to send [02:25:43]OFD Sender: No OFD packet to send [02:25:48]OFD Sender: No OFD packet to send [02:25:53]OFD Sender: No OFD packet to send [02:25:58]OFD Sender: No OFD packet to send [02:26:03]OFD Sender: No OFD packet to send [02:26:08]OFD Sender: No OFD packet to send [02:26:13]OFD Sender: No OFD packet to send [02:26:18]OFD Sender: No OFD packet to send [02:26:23]OFD Sender: No OFD packet to send [02:26:28]OFD Sender: No OFD packet to send [02:26:33]OFD Sender: No OFD packet to send [02:26:38]OFD Sender: No OFD packet to send [02:26:43]OFD Sender: No OFD packet to send [02:26:48]OFD Sender: No OFD packet to send [02:26:53]OFD Sender: No OFD packet to send [02:26:58]OFD Sender: No OFD packet to send [02:27:03]OFD Sender: No OFD packet to send [02:27:08]OFD Sender: No OFD packet to send [02:27:13]OFD Sender: No OFD packet to send [02:27:18]OFD Sender: No OFD packet to send [02:27:23]OFD Sender: No OFD packet to send [02:27:28]OFD Sender: No OFD packet to send [02:27:33]OFD Sender: No OFD packet to send [02:27:38]OFD Sender: No OFD packet to send [02:27:43]OFD Sender: No OFD packet to send [02:27:48]OFD Sender: No OFD packet to send [02:27:53]OFD Sender: No OFD packet to send [02:27:58]OFD Sender: No OFD packet to send [02:28:03]OFD Sender: No OFD packet to send [02:28:08]OFD Sender: No OFD packet to send [02:28:13]OFD Sender: No OFD packet to send [02:28:18]OFD Sender: No OFD packet to send [02:28:23]OFD Sender: No OFD packet to send [02:28:28]OFD Sender: No OFD packet to send [02:28:33]OFD Sender: No OFD packet to send [02:28:38]OFD Sender: No OFD packet to send [02:28:43]OFD Sender: No OFD packet to send [02:28:48]OFD Sender: No OFD packet to send [02:28:53]OFD Sender: No OFD packet to send [02:28:58]OFD Sender: No OFD packet to send [02:29:03]OFD Sender: No OFD packet to send [02:29:08]OFD Sender: No OFD packet to send [02:29:13]OFD Sender: No OFD packet to send [02:29:18]OFD Sender: No OFD packet to send [02:29:23]OFD Sender: No OFD packet to send [02:29:28]OFD Sender: No OFD packet to send [02:29:33]OFD Sender: No OFD packet to send [02:29:38]OFD Sender: No OFD packet to send [02:29:43]OFD Sender: No OFD packet to send [02:29:48]OFD Sender: No OFD packet to send [02:29:53]OFD Sender: No OFD packet to send [02:29:58]OFD Sender: No OFD packet to send [02:30:03]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:53]OFD Sender: No OFD packet to send [02:31:58]OFD Sender: No OFD packet to send [02:32:03]OFD Sender: No OFD packet to send [02:32:08]OFD Sender: No OFD packet to send [02:32:13]OFD Sender: No OFD packet to send [02:32:18]OFD Sender: No OFD packet to send [02:32:23]OFD Sender: No OFD packet to send [02:32:28]OFD Sender: No OFD packet to send [02:32:33]OFD Sender: No OFD packet to send [02:32:38]OFD Sender: No OFD packet to send [02:32:43]OFD Sender: No OFD packet to send [02:32:48]OFD Sender: No OFD packet to send [02:32:53]OFD Sender: No OFD packet to send [02:32:58]OFD Sender: No OFD packet to send [02:33:03]OFD Sender: No OFD packet to send [02:33:08]OFD Sender: No OFD packet to send [02:33:13]OFD Sender: No OFD packet to send [02:33:18]OFD Sender: No OFD packet to send [02:33:23]OFD Sender: No OFD packet to send [02:33:28]OFD Sender: No OFD packet to send [02:33:33]OFD Sender: No OFD packet to send [02:33:38]OFD Sender: No OFD packet to send [02:33:43]OFD Sender: No OFD packet to send [02:33:48]OFD Sender: No OFD packet to send [02:33:53]OFD Sender: No OFD packet to send [02:33:58]OFD Sender: No OFD packet to send [02:34:03]OFD Sender: No OFD packet to send [02:34:08]OFD Sender: No OFD packet to send [02:34:13]OFD Sender: No OFD packet to send [02:34:18]OFD Sender: No OFD packet to send [02:34:23]OFD Sender: No OFD packet to send [02:34:28]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:58]OFD Sender: No OFD packet to send [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36:58]OFD Sender: No OFD packet to send [02:37:03]OFD Sender: No OFD packet to send [02:37:08]OFD Sender: No OFD packet to send [02:37:13]OFD Sender: No OFD packet to send [02:37:18]OFD Sender: No OFD packet to send [02:37:23]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:39]OFD Sender: No OFD packet to send [02:40:44]OFD Sender: No OFD packet to send [02:40:49]OFD Sender: No OFD packet to send [02:40:54]OFD Sender: No OFD packet to send [02:40:59]OFD Sender: No OFD packet to send [02:41:04]OFD Sender: No OFD packet to send [02:41:09]OFD Sender: No OFD packet to send [02:41:14]OFD Sender: No OFD packet to send [02:41:19]OFD Sender: No OFD packet to send [02:41:24]OFD Sender: No OFD packet to send [02:41:29]OFD Sender: No OFD packet to send [02:41:34]OFD Sender: No OFD packet to send [02:41:39]OFD Sender: No OFD packet to send [02:41:44]OFD Sender: No OFD packet to send [02:41:49]OFD Sender: No OFD packet to send [02:41:54]OFD Sender: No OFD packet to send [02:41:59]OFD Sender: No OFD packet to send [02:42:04]OFD Sender: No OFD packet to send [02:42:09]OFD Sender: No OFD packet to send [02:42:14]OFD Sender: No OFD packet to send [02:42:19]OFD Sender: No OFD packet to send [02:42:24]OFD Sender: No OFD packet to send [02:42:29]OFD Sender: No OFD packet to send [02:42:34]OFD Sender: No OFD packet to send [02:42:39]OFD Sender: No OFD packet to send [02:42:44]OFD Sender: No OFD packet to send [02:42:49]OFD Sender: No OFD packet to send [02:42:54]OFD Sender: No OFD packet to send [02:42:59]OFD Sender: No OFD packet to send [02:43:04]OFD Sender: No OFD packet to send [02:43:09]OFD Sender: No OFD packet to send [02:43:14]OFD Sender: No OFD packet to send [02:43:19]OFD Sender: No OFD packet to send [02:43:24]OFD Sender: No OFD packet to send [02:43:29]OFD Sender: No OFD packet to send [02:43:34]OFD Sender: No OFD packet to send [02:43:39]OFD Sender: No OFD packet to send [02:43:44]OFD Sender: No OFD packet to send [02:43:49]OFD Sender: No OFD packet to send [02:43:54]OFD Sender: No OFD packet to send [02:43:59]OFD Sender: No OFD packet to send [02:44:04]OFD Sender: No OFD packet to send [02:44:09]OFD Sender: No OFD packet to send [02:44:14]OFD Sender: No OFD packet to send [02:44:19]OFD Sender: No OFD packet to send [02:44:24]OFD Sender: No OFD packet to send [02:44:29]OFD Sender: No OFD packet to send [02:44:34]OFD Sender: No OFD packet to send [02:44:39]OFD Sender: No OFD packet to send [02:44:44]OFD Sender: No OFD packet to send [02:44:49]OFD Sender: No OFD packet to send [02:44:54]OFD Sender: No OFD packet to send [02:44:59]OFD Sender: No OFD packet to send [02:45:04]OFD Sender: No OFD packet to send [02:45:09]OFD Sender: No OFD packet to send [02:45:14]OFD Sender: No OFD packet to send [02:45:19]OFD Sender: No OFD packet to send [02:45:24]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send