[03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08: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:55]OFD Sender: No OFD packet to send [03:27:00]OFD Sender: No OFD packet to send [03:27:05]OFD Sender: No OFD packet to send [03:27:10]OFD Sender: No OFD packet to send [03:27:15]OFD Sender: No OFD packet to send [03:27:20]OFD Sender: No OFD packet to send [03:27:25]OFD Sender: No OFD packet to send [03:27:30]OFD Sender: No OFD packet to send [03:27:35]OFD Sender: No OFD packet to send [03:27:40]OFD Sender: No OFD packet to send [03:27:45]OFD Sender: No OFD packet to send [03:27:50]OFD Sender: No OFD packet to send [03:27:55]OFD Sender: No OFD packet to send [03:28:00]OFD Sender: No OFD packet to send [03:28:05]OFD Sender: No OFD packet to send [03:28:10]OFD Sender: No OFD packet to send [03:28:15]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:41]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:36]OFD Sender: No OFD packet to send [03:30:41]OFD Sender: No OFD packet to send [03:30:46]OFD Sender: No OFD packet to send [03:30:51]OFD Sender: No OFD packet to send [03:30:56]OFD Sender: No OFD packet to send [03:31:01]OFD Sender: No OFD packet to send [03:31:06]OFD Sender: No OFD packet to send [03:31:11]OFD Sender: No OFD packet to send [03:31:16]OFD Sender: No OFD packet to send [03:31:21]OFD Sender: No OFD packet to send [03:31:26]OFD Sender: No OFD packet to send [03:31:31]OFD Sender: No OFD packet to send [03:31:36]OFD Sender: No OFD packet to send [03:31:41]OFD Sender: No OFD packet to send [03:31:46]OFD Sender: No OFD packet to send [03:31:51]OFD Sender: No OFD packet to send [03:31:56]OFD Sender: No OFD packet to send [03:32:01]OFD Sender: No OFD packet to send [03:32:06]OFD Sender: No OFD packet to send [03:32:11]OFD Sender: No OFD packet to send [03:32:16]OFD Sender: No OFD packet to send [03:32:21]OFD Sender: No OFD packet to send [03:32:26]OFD Sender: No OFD packet to send [03:32:31]OFD Sender: No OFD packet to send [03:32:36]OFD Sender: No OFD packet to send [03:32:41]OFD Sender: No OFD packet to send [03:32:46]OFD Sender: No OFD packet to send [03:32:51]OFD Sender: No OFD packet to send [03:32:56]OFD Sender: No OFD packet to send [03:33:01]OFD Sender: No OFD packet to send [03:33:06]OFD Sender: No OFD packet to send [03:33:11]OFD Sender: No OFD packet to send [03:33:16]OFD Sender: No OFD packet to send [03:33:21]OFD Sender: No OFD packet to send [03:33:26]OFD Sender: No OFD packet to send [03:33:31]OFD Sender: No OFD packet to send [03:33:36]OFD Sender: No OFD packet to send [03:33:41]OFD Sender: No OFD packet to send [03:33:46]OFD Sender: No OFD packet to send [03:33:51]OFD Sender: No OFD packet to send [03:33:56]OFD Sender: No OFD packet to send [03:34:01]OFD Sender: No OFD packet to send [03:34:06]OFD Sender: No OFD packet to send [03:34:11]OFD Sender: No OFD packet to send [03:34:16]OFD Sender: No OFD packet to send [03:34:21]OFD Sender: No OFD packet to send [03:34:26]OFD Sender: No OFD packet to send [03:34:31]OFD Sender: No OFD packet to send [03:34:36]OFD Sender: No OFD packet to send [03:34:41]OFD Sender: No OFD packet to send [03:34:46]OFD Sender: No OFD packet to send [03:34:51]OFD Sender: No OFD packet to send [03:34:56]OFD Sender: No OFD packet to send [03:35:01]OFD Sender: No OFD packet to send [03:35:06]OFD Sender: No OFD packet to send [03:35:11]OFD Sender: No OFD packet to send [03:35:16]OFD Sender: No OFD packet to send [03:35:21]OFD Sender: No OFD packet to send [03:35:26]OFD Sender: No OFD packet to send [03:35:31]OFD Sender: No OFD packet to send [03:35:36]OFD Sender: No OFD packet to send [03:35:41]OFD Sender: No OFD packet to send [03:35:46]OFD Sender: No OFD packet to send [03:35:51]OFD Sender: No OFD packet to send [03:35:56]OFD Sender: No OFD packet to send [03:36:01]OFD Sender: No OFD packet to send [03:36:06]OFD Sender: No OFD packet to send [03:36:11]OFD Sender: No OFD packet to send [03:36:16]OFD Sender: No OFD packet to send [03:36:21]OFD Sender: No OFD packet to send [03:36:26]OFD Sender: No OFD packet to send [03:36:31]OFD Sender: No OFD packet to send [03:36:36]OFD Sender: No OFD packet to send [03:36:41]OFD Sender: No OFD packet to send [03:36:46]OFD Sender: No OFD packet to send [03:36:51]OFD Sender: No OFD packet to send [03:36:56]OFD Sender: No OFD packet to send [03:37:01]OFD Sender: No OFD packet to send [03:37:06]OFD Sender: No OFD packet to send [03:37:11]OFD Sender: No OFD packet to send [03:37:16]OFD Sender: No OFD packet to send [03:37:21]OFD Sender: No OFD packet to send [03:37:26]OFD Sender: No OFD packet to send [03:37:31]OFD Sender: No OFD packet to send [03:37:36]OFD Sender: No OFD packet to send [03:37:41]OFD Sender: No OFD packet to send [03:37:46]OFD Sender: No OFD packet to send [03:37:51]OFD Sender: No OFD packet to send [03:37:56]OFD Sender: No OFD packet to send [03:38:01]OFD Sender: No OFD packet to send [03:38:06]OFD Sender: No OFD packet to send [03:38:11]OFD Sender: No OFD packet to send [03:38:16]OFD Sender: No OFD packet to send [03:38:21]OFD Sender: No OFD packet to send [03:38:26]OFD Sender: No OFD packet to send [03:38:31]OFD Sender: No OFD packet to send [03:38:36]OFD Sender: No OFD packet to send [03:38:41]OFD Sender: No OFD packet to send [03:38:46]OFD Sender: No OFD packet to send [03:38:51]OFD Sender: No OFD packet to send [03:38:56]OFD Sender: No OFD packet to send [03:39:01]OFD Sender: No OFD packet to send [03:39:06]OFD Sender: No OFD packet to send [03:39:11]OFD Sender: No OFD packet to send [03:39:16]OFD Sender: No OFD packet to send [03:39:21]OFD Sender: No OFD packet to send [03:39:26]OFD Sender: No OFD packet to send [03:39:31]OFD Sender: No OFD packet to send [03:39:36]OFD Sender: No OFD packet to send [03:39:41]OFD Sender: No OFD packet to send [03:39:46]OFD Sender: No OFD packet to send [03:39:51]OFD Sender: No OFD packet to send [03:39:56]OFD Sender: No OFD packet to send [03:40:01]OFD Sender: No OFD packet to send [03:40:06]OFD Sender: No OFD packet to send [03:40:11]OFD Sender: No OFD packet to send [03:40:16]OFD Sender: No OFD packet to send [03:40:21]OFD Sender: No OFD packet to send [03:40:26]OFD Sender: No OFD packet to send [03:40:31]OFD Sender: No OFD packet to send [03:40:36]OFD Sender: No OFD packet to send [03:40:41]OFD Sender: No OFD packet to send [03:40:46]OFD Sender: No OFD packet to send [03:40:51]OFD Sender: No OFD packet to send [03:40:56]OFD Sender: No OFD packet to send [03:41:01]OFD Sender: No OFD packet to send [03:41:06]OFD Sender: No OFD packet to send [03:41:11]OFD Sender: No OFD packet to send [03:41:16]OFD Sender: No OFD packet to send [03:41:21]OFD Sender: No OFD packet to send [03:41:26]OFD Sender: No OFD packet to send [03:41:31]OFD Sender: No OFD packet to send [03:41:36]OFD Sender: No OFD packet to send [03:41:41]OFD Sender: No OFD packet to send [03:41:46]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:26]OFD Sender: No OFD packet to send [03:43:31]OFD Sender: No OFD packet to send [03:43:36]OFD Sender: No OFD packet to send [03:43:41]OFD Sender: No OFD packet to send [03:43:46]OFD Sender: No OFD packet to send [03:43:51]OFD Sender: No OFD packet to send [03:43:56]OFD Sender: No OFD packet to send [03:44:01]OFD Sender: No OFD packet to send [03:44:06]OFD Sender: No OFD packet to send [03:44:11]OFD Sender: No OFD packet to send [03:44:16]OFD Sender: No OFD packet to send [03:44:21]OFD Sender: No OFD packet to send [03:44:26]OFD Sender: No OFD packet to send [03:44:31]OFD Sender: No OFD packet to send [03:44:36]OFD Sender: No OFD packet to send [03:44:41]OFD Sender: No OFD packet to send [03:44:46]OFD Sender: No OFD packet to send [03:44:51]OFD Sender: No OFD packet to send [03:44:56]OFD Sender: No OFD packet to send [03:45:01]OFD Sender: No OFD packet to send [03:45:06]OFD Sender: No OFD packet to send [03:45:11]OFD Sender: No OFD packet to send [03:45:16]OFD Sender: No OFD packet to send [03:45:21]OFD Sender: No OFD packet to send [03:45:26]OFD Sender: No OFD packet to send [03:45:31]OFD Sender: No OFD packet to send [03:45:36]OFD Sender: No OFD packet to send [03:45:41]OFD Sender: No OFD packet to send [03:45:46]OFD Sender: No OFD packet to send [03:45:51]OFD Sender: No OFD packet to send [03:45:56]OFD Sender: No OFD packet to send [03:46:01]OFD Sender: No OFD packet to send [03:46:06]OFD Sender: No OFD packet to send [03:46:11]OFD Sender: No OFD packet to send [03:46:16]OFD Sender: No OFD packet to send [03:46:21]OFD Sender: No OFD packet to send [03:46:26]OFD Sender: No OFD packet to send [03:46:31]OFD Sender: No OFD packet to send [03:46:36]OFD Sender: No OFD packet to send [03:46:41]OFD Sender: No OFD packet to send [03:46:46]OFD Sender: No OFD packet to send [03:46:51]OFD Sender: No OFD packet to send [03:46:56]OFD Sender: No OFD packet to send [03:47:01]OFD Sender: No OFD packet to send [03:47:06]OFD Sender: No OFD packet to send [03:47:11]OFD Sender: No OFD packet to send [03:47:16]OFD Sender: No OFD packet to send [03:47:21]OFD Sender: No OFD packet to send [03:47:26]OFD Sender: No OFD packet to send [03:47:31]OFD Sender: No OFD packet to send [03:47:36]OFD Sender: No OFD packet to send [03:47:41]OFD Sender: No OFD packet to send [03:47:46]OFD Sender: No OFD packet to send [03:47:51]OFD Sender: No OFD packet to send [03:47:56]OFD Sender: No OFD packet to send [03:48:01]OFD Sender: No OFD packet to send [03:48:06]OFD Sender: No OFD packet to send [03:48:11]OFD Sender: No OFD packet to send [03:48:16]OFD Sender: No OFD packet to send [03:48:21]OFD Sender: No OFD packet to send [03:48:26]OFD Sender: No OFD packet to send [03:48:31]OFD Sender: No OFD packet to send [03:48:36]OFD Sender: No OFD packet to send [03:48:41]OFD Sender: No OFD packet to send [03:48:46]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:17]OFD Sender: No OFD packet to send [03:50:22]OFD Sender: No OFD packet to send [03:50:27]OFD Sender: No OFD packet to send [03:50:32]OFD Sender: No OFD packet to send [03:50:37]OFD Sender: No OFD packet to send [03:50:42]OFD Sender: No OFD packet to send [03:50:47]OFD Sender: No OFD packet to send [03:50:52]OFD Sender: No OFD packet to send [03:50:57]OFD Sender: No OFD packet to send [03:51:02]OFD Sender: No OFD packet to send [03:51:07]OFD Sender: No OFD packet to send [03:51:12]OFD Sender: No OFD packet to send [03:51:17]OFD Sender: No OFD packet to send [03:51:22]OFD Sender: No OFD packet to send [03:51:27]OFD Sender: No OFD packet to send [03:51:32]OFD Sender: No OFD packet to send [03:51:37]OFD Sender: No OFD packet to send [03:51:42]OFD Sender: No OFD packet to send [03:51:47]OFD Sender: No OFD packet to send [03:51:52]OFD Sender: No OFD packet to send [03:51:57]OFD Sender: No OFD packet to send [03:52:02]OFD Sender: No OFD packet to send [03:52:07]OFD Sender: No OFD packet to send [03:52:12]OFD Sender: No OFD packet to send [03:52:17]OFD Sender: No OFD packet to send [03:52:22]OFD Sender: No OFD packet to send [03:52:27]OFD Sender: No OFD packet to send [03:52:32]OFD Sender: No OFD packet to send [03:52:37]OFD Sender: No OFD packet to send [03:52:42]OFD Sender: No OFD packet to send [03:52:47]OFD Sender: No OFD packet to send [03:52:52]OFD Sender: No OFD packet to send [03:52:57]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:52]OFD Sender: No OFD packet to send [03:54:57]OFD Sender: No OFD packet to send [03:55:02]OFD Sender: No OFD packet to send [03:55:07]OFD Sender: No OFD packet to send [03:55:12]OFD Sender: No OFD packet to send [03:55:17]OFD Sender: No OFD packet to send [03:55:22]OFD Sender: No OFD packet to send [03:55:27]OFD Sender: No OFD packet to send [03:55:32]OFD Sender: No OFD packet to send [03:55:37]OFD Sender: No OFD packet to send [03:55:42]OFD Sender: No OFD packet to send [03:55:47]OFD Sender: No OFD packet to send [03:55:52]OFD Sender: No OFD packet to send [03:55:57]OFD Sender: No OFD packet to send [03:56:02]OFD Sender: No OFD packet to send [03:56:07]OFD Sender: No OFD packet to send [03:56:12]OFD Sender: No OFD packet to send [03:56:17]OFD Sender: No OFD packet to send [03:56:22]OFD Sender: No OFD packet to send [03:56:27]OFD Sender: No OFD packet to send [03:56:32]OFD Sender: No OFD packet to send [03:56:37]OFD Sender: No OFD packet to send [03:56:42]OFD Sender: No OFD packet to send [03:56:47]OFD Sender: No OFD packet to send [03:56:52]OFD Sender: No OFD packet to send [03:56:57]OFD Sender: No OFD packet to send [03:57:02]OFD Sender: No OFD packet to send [03:57:07]OFD Sender: No OFD packet to send [03:57:12]OFD Sender: No OFD packet to send [03:57:17]OFD Sender: No OFD packet to send [03:57:22]OFD Sender: No OFD packet to send [03:57:27]OFD Sender: No OFD packet to send [03:57:32]OFD Sender: No OFD packet to send [03:57:37]OFD Sender: No OFD packet to send [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:27]OFD Sender: No OFD packet to send [03:58:32]OFD Sender: No OFD packet to send [03:58:37]OFD Sender: No OFD packet to send [03:58:42]OFD Sender: No OFD packet to send [03:58:47]OFD Sender: No OFD packet to send [03:58:52]OFD Sender: No OFD packet to send [03:58:57]OFD Sender: No OFD packet to send [03:59:02]OFD Sender: No OFD packet to send [03:59:07]OFD Sender: No OFD packet to send [03:59:12]OFD Sender: No OFD packet to send [03:59:17]OFD Sender: No OFD packet to send [03:59:22]OFD Sender: No OFD packet to send [03:59:27]OFD Sender: No OFD packet to send [03:59:32]OFD Sender: No OFD packet to send [03:59:37]OFD Sender: No OFD packet to send [03:59:42]OFD Sender: No OFD packet to send [03:59:47]OFD Sender: No OFD packet to send [03:59:52]OFD Sender: No OFD packet to send [03:59:57]OFD Sender: No OFD packet to send [04:00:02]OFD Sender: No OFD packet to send [04:00:07]OFD Sender: No OFD packet to send [04:00:12]OFD Sender: No OFD packet to send [04:00:17]OFD Sender: No OFD packet to send [04:00:22]OFD Sender: No OFD packet to send [04:00:27]OFD Sender: No OFD packet to send [04:00:32]OFD Sender: No OFD packet to send [04:00:37]OFD Sender: No OFD packet to send [04:00:42]OFD Sender: No OFD packet to send [04:00:47]OFD Sender: No OFD packet to send [04:00:52]OFD Sender: No OFD packet to send [04:00:57]OFD Sender: No OFD packet to send [04:01:02]OFD Sender: No OFD packet to send [04:01:07]OFD Sender: No OFD packet to send [04:01:12]OFD Sender: No OFD packet to send [04:01:17]OFD Sender: No OFD packet to send [04:01:22]OFD Sender: No OFD packet to send [04:01:27]OFD Sender: No OFD packet to send [04:01:32]OFD Sender: No OFD packet to send [04:01:37]OFD Sender: No OFD packet to send [04:01:42]OFD Sender: No OFD packet to send [04:01:47]OFD Sender: No OFD packet to send [04:01:52]OFD Sender: No OFD packet to send [04:01:57]OFD Sender: No OFD packet to send [04:02:02]OFD Sender: No OFD packet to send [04:02:07]OFD Sender: No OFD packet to send [04:02:12]OFD Sender: No OFD packet to send [04:02:17]OFD Sender: No OFD packet to send [04:02:22]OFD Sender: No OFD packet to send [04:02:27]OFD Sender: No OFD packet to send [04:02:32]OFD Sender: No OFD packet to send [04:02:37]OFD Sender: No OFD packet to send [04:02:42]OFD Sender: No OFD packet to send [04:02:47]OFD Sender: No OFD packet to send [04:02:52]OFD Sender: No OFD packet to send [04:02:57]OFD Sender: No OFD packet to send [04:03:02]OFD Sender: No OFD packet to send [04:03:07]OFD Sender: No OFD packet to send [04:03:12]OFD Sender: No OFD packet to send [04:03:17]OFD Sender: No OFD packet to send [04:03:22]OFD Sender: No OFD packet to send [04:03:27]OFD Sender: No OFD packet to send [04:03:32]OFD Sender: No OFD packet to send [04:03:37]OFD Sender: No OFD packet to send [04:03:42]OFD Sender: No OFD packet to send [04:03:47]OFD Sender: No OFD packet to send [04:03:52]OFD Sender: No OFD packet to send [04:03:57]OFD Sender: No OFD packet to send [04:04:02]OFD Sender: No OFD packet to send [04:04:07]OFD Sender: No OFD packet to send [04:04:12]OFD Sender: No OFD packet to send [04:04:17]OFD Sender: No OFD packet to send [04:04:22]OFD Sender: No OFD packet to send [04:04:27]OFD Sender: No OFD packet to send [04:04:32]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09: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:08]OFD Sender: No OFD packet to send [04:29:13]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:25]OFD Sender: No OFD packet to send [04:49:30]OFD Sender: No OFD packet to send [04:49:35]OFD Sender: No OFD packet to send [04:49:40]OFD Sender: No OFD packet to send [04:49:45]OFD Sender: No OFD packet to send [04:49:50]OFD Sender: No OFD packet to send [04:49:55]OFD Sender: No OFD packet to send [04:50:00]OFD Sender: No OFD packet to send [04:50:05]OFD Sender: No OFD packet to send [04:50:10]OFD Sender: No OFD packet to send [04:50:15]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:41]OFD Sender: No OFD packet to send [05:09:46]OFD Sender: No OFD packet to send [05:09:51]OFD Sender: No OFD packet to send [05:09:56]OFD Sender: No OFD packet to send [05:10:01]OFD Sender: No OFD packet to send [05:10:06]OFD Sender: No OFD packet to send [05:10:11]OFD Sender: No OFD packet to send [05:10:16]OFD Sender: No OFD packet to send [05:10:21]OFD Sender: No OFD packet to send [05:10:26]OFD Sender: No OFD packet to send [05:10:31]OFD Sender: No OFD packet to send [05:10:36]OFD Sender: No OFD packet to send [05:10:41]OFD Sender: No OFD packet to send [05:10:46]OFD Sender: No OFD packet to send [05:10:51]OFD Sender: No OFD packet to send [05:10:56]OFD Sender: No OFD packet to send [05:11:01]OFD Sender: No OFD packet to send [05:11:06]OFD Sender: No OFD packet to send [05:11:11]OFD Sender: No OFD packet to send [05:11:16]OFD Sender: No OFD packet to send [05:11:21]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:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]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:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:08]OFD Sender: No OFD packet to send [05:52:13]OFD Sender: No OFD packet to send [05:52:18]OFD Sender: No OFD packet to send [05:52:23]OFD Sender: No OFD packet to send [05:52:28]OFD Sender: No OFD packet to send [05:52:33]OFD Sender: No OFD packet to send [05:52:38]OFD Sender: No OFD packet to send [05:52:43]OFD Sender: No OFD packet to send [05:52:48]OFD Sender: No OFD packet to send [05:52:53]OFD Sender: No OFD packet to send [05:52:58]OFD Sender: No OFD packet to send [05:53:03]OFD Sender: No OFD packet to send [05:53:08]OFD Sender: No OFD packet to send [05:53:13]OFD Sender: No OFD packet to send [05:53:18]OFD Sender: No OFD packet to send [05:53:23]OFD Sender: No OFD packet to send [05:53:28]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:37]accept exits with 7 [05:58:37]New connection [05:58:37]New thread 3067583844 created [05:58:37]Thread 3067440484 joined [05:58:37]Waiting for new connection... [05:58:37] Sock 7.Parse request [05:58:37]Sock 7.Check first char [05:58:37]Sock 7.First char is OK [05:58:37]request: POST /json_proto HTTP/1.0 [05:58:37]Method: POST [05:58:37]URL: /json_proto [05:58:37]Method is POST - this is cgi request [05:58:37]url: /json_proto [05:58:37]query_string will be loaded in cgi processing [05:58:37]execute_cgi json_proto POST (null) [05:58:37]execute_cgi path=json_proto method=POST [05:58:37]POST find Content-Length [05:58:37]Host: 172.17.43.4:8080 [05:58:37]Content-Length: 867 [05:58:37]Content-Type: application/json [05:58:37] [05:58:37]POST finish read [05:58:37]Found Content-Length = 867 [05:58:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51736", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 194.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:58:37]execute_script... [05:58:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51736", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 194.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:58:37]POST & json_proto [05:58:37]process_json_proto [05:58:37]json parsed OK: [05:58:37]protocol is kg_v1.0 [05:58:37]action value=close_receipt [05:58:37]process_action close_receipt [05:58:37]cmd_close_receipt [05:58:37]MH_GetDate [05:58:37]Write to MH i2c: F0 00 00 F1 17 F7 [05:58:37]Write i2c OK [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: F0 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: F0 09 00 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: F0 09 00 F1 17 00 11 F8 F4 66 02 BF CF 66 59 [05:58:37]GetLastDocTimeStamp 1727318097 [05:58:37]current date 1727330321 [05:58:37]FM_GetShiftState [05:58:37]SAM_PROTO_GetShiftState [05:58:37]wFMCommunicate request_size=4 [05:58:37]MH_SAM_APDU [05:58:37]CAPDU: 80 13 01 00 [05:58:37]Write to MH i2c: E2 08 00 F2 17 80 13 01 00 00 00 00 00 86 [05:58:37]Write i2c OK [05:58:37]MH_I2C_Read... [05:58:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:58:37]Read from MH i2c: E2 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: E2 0E 00 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: E2 0E 00 F2 17 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 46 [05:58:37]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [05:58:37]wFMCommunicate OK [05:58:37]SAM_PROTO_GetShiftState done [05:58:37]FM_GetShiftState done [05:58:37]opened in 1727309492 [05:58:37]opened+sec_in_day 1727395892 [05:58:37]quantity*price = 5000 [05:58:37]sum+1 = 5001 [05:58:37]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747066 Сигареты Winston True Silver 1.000 * 144.00 = 144.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 194.00 ÐСП 1% : 1.71 ÐДС 12% : 20.60 Ðаличными: 194.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 7 26.09.2024 05:58 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22543 ФПД: 42292692828054 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T055841&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22543&fm=42292692828054&tin=02508201610067®Number=0000000000146243&sum=19400 0 [05:58:39]StoreToDocumentArchive [05:58:39]shift 232 fd 22543 [05:58:39]save to /storage/0232/doc_00022543 [05:58:39]save last doc name /storage/0232/doc_00022543 to /storage/kkm_last_doc_name [05:58:39]save OK [05:58:39]Clear old archive folders... [05:58:39]ProcessDocumentItem done err = 0, tmpTLVsize=372 [05:58:39]tlvbuf is 002BA120 [05:58:39]SAM_PROTO_ClearQueue [05:58:39]wFMCommunicate request_size=4 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 09 00 00 [05:58:39]Write to MH i2c: E2 08 00 FF 17 80 09 00 00 00 00 00 00 88 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 03 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 03 00 FF 17 00 90 00 8A [05:58:39]RAPDU: 90 00 [05:58:39]wFMCommunicate OK [05:58:39]SAM_PROTO_ClearQueue done [05:58:39]KKMCreateOFDPacket [05:58:39]OFDProtocolAddRootSTLVToBuf [05:58:39]FM_MakeSignedData [05:58:39]FM_MakeSignedData [05:58:39]SAM_PROTO_SignData [05:58:39]wFMCommunicate request_size=4 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 0D 01 02 [05:58:39]Write to MH i2c: E2 08 00 00 18 80 0D 01 02 00 00 00 00 91 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 03 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 03 00 00 18 00 90 00 8C [05:58:39]RAPDU: 90 00 [05:58:39]wFMCommunicate OK [05:58:39]wFMCommunicate request_size=255 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 0D 02 02 FA 03 00 74 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 00 00 00 00 00 EE 03 0F 00 F2 03 [05:58:39]Write to MH i2c: E2 02 01 01 18 80 0D 02 02 FA 00 03 00 74 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 00 00 00 00 00 EE 03 0F 00 F2 03 00 00 57 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 03 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 03 00 01 18 00 90 00 8D [05:58:39]RAPDU: 90 00 [05:58:39]wFMCommunicate OK [05:58:39]wFMCommunicate request_size=131 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 0D 02 02 7E 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 11 F8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0F 58 00 00 35 04 06 00 26 77 08 EE BF 96 [05:58:39]Write to MH i2c: E2 86 00 02 18 80 0D 02 02 7E 00 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 11 F8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0F 58 00 00 35 04 06 00 26 77 08 EE BF 96 00 00 92 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 03 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 03 00 02 18 00 90 00 8E [05:58:39]RAPDU: 90 00 [05:58:39]wFMCommunicate OK [05:58:39]wFMCommunicate request_size=4 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 0D 03 02 [05:58:39]Write to MH i2c: E2 08 00 03 18 80 0D 03 02 00 00 00 00 96 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 0B 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 0B 00 03 18 00 B5 2C E9 E3 0D 0A 89 FD 90 00 E1 [05:58:39]RAPDU: B5 2C E9 E3 0D 0A 89 FD 90 00 [05:58:39]wFMCommunicate OK [05:58:39]SAM_PROTO_SignData done [05:58:39]FM_MakeSignedData done [05:58:39]CreateOFDProtocolMessage [05:58:39]wFMCommunicate request_size=4 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 11 00 00 [05:58:39]Write to MH i2c: E2 08 00 04 18 80 11 00 00 00 00 00 00 96 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 17 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 17 00 04 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F0 [05:58:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [05:58:39]wFMCommunicate OK [05:58:39]CreateOFDProtocolMessage done [05:58:39]OFDSenderStorePacket 22543 [05:58:39]StoreOFDPacket docnum=22543 [05:58:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 88 01 00 00 E3 3C 80 01 D7 C9 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 11 F8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0F 58 00 00 35 04 06 00 26 77 08 EE BF 96 B5 2C E9 E3 0D 0A 89 FD [05:58:39]CheckFolder [05:58:39]dirname=/storage/ofd_packets [05:58:39]CheckFolder done [05:58:39]ProducePacketName [05:58:39]name=ofd_packets/00022543 [05:58:39]NVStorageSaveData ofd_packets/00022543 [05:58:39]File name is /storage/ofd_packets/00022543 [05:58:39]Write 422 bytes [05:58:39]NVStorageSaveData done [05:58:39]OFDSenderStorePacket done [05:58:39]KKMCreateOFDPacket done [05:58:39]NVStorageSaveData kkm_last_timestamp [05:58:39]File name is /storage/kkm_last_timestamp [05:58:39]Write 4 bytes [05:58:39]NVStorageSaveData done [05:58:39]ExternCall_PrintAddStr [05:58:39]wPrintStart [05:58:39]Write to MH i2c: 01 00 00 05 18 1D [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: 01 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: 01 07 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: 01 07 00 05 18 00 00 00 00 00 FF 0F 32 [05:58:39]RasterBufferAndPrint [05:58:39]line Счет N : (3)51736 [05:58:39]line ИÐÐ: 02508201610067 [05:58:39]line Контрольно-КаÑÑовый Чек [05:58:39]line ПРОДÐЖР[05:58:39]line Товар: 4700000160358 [05:58:40]line Вода Легенда 1л [05:58:40]line 1.000 * 50.00 [05:58:40]line = 50.00 [05:58:40]line ÐДС 12% ÐСП 1% [05:58:40]line > о реализуемом товаре [05:58:40]line Товар: 48747066 [05:58:40]line Сигареты Winston True Silver [05:58:40]line 1.000 * 144.00 [05:58:40]line = 144.00 [05:58:40]line ÐДС 12% ÐСП 1% [05:58:40]line > о реализуемом товаре [05:58:40]line ИТОГО: 194.00 [05:58:40]line ÐСП 1% : 1.71 [05:58:40]line ÐДС 12% : 20.60 [05:58:40]line Ðаличными: 194.00 [05:58:40]line Безнал.: 0.00 [05:58:40]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [05:58:40]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [05:58:40]line СÐО: Общий режим [05:58:40]line Чек 7 26.09.2024 05:58 [05:58:40]line Смена: 232 ФФД: 1.0 [05:58:40]line ЗÐМ: 0300000061 [05:58:40]line РÐМ: 0000000000146243 [05:58:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [05:58:40]line ФМ: 0000000000959358 [05:58:40]line ФД: 22543 [05:58:40]line ФПД: 42292692828054 [05:58:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T055841&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22543&fm=42292692828054&tin=02508201610067®Number=0000000000146243&sum=19400 [05:58:40]line 0 [05:58:40]OFD Sender: Processing packet 22543 [packets to send 23, broken 22] [05:58:40]ProducePacketName [05:58:40]name=ofd_packets/00022543 [05:58:40]OFD Sender: To server: ‡•öpG, [05:58:40]CommunicateWithHost lk.salyk.kg:30040 [05:58:40]ConnectInit lk.salyk.kg [05:58:40]written 0, free lines is 4095 [05:58:40]Connected sock=10 [05:58:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 88 01 00 00 E3 3C 80 01 D7 C9 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 11 F8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0F 58 00 00 35 04 06 00 26 77 08 EE BF 96 B5 2C E9 E3 0D 0A 89 FD [05:58:40]Write to MH i2c: 01 00 00 33 18 4B [05:58:40]Write i2c OK [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: 01 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: 01 07 00 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: 01 07 00 33 18 00 00 00 00 00 D5 0C 33 [05:58:40]RasterBufferAndPrint [05:58:40]line [05:58:40]line [05:58:40]line [05:58:40]line [05:58:40]line [05:58:40]written 0, free lines is 3294 [05:58:40]MH_Cut [05:58:40]Write to MH i2c: D1 01 00 3A 18 01 24 [05:58:40]Write i2c OK [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: D1 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: D1 01 00 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: D1 01 00 3A 18 00 23 [05:58:40]Write to MH i2c: 01 00 00 3B 18 53 [05:58:40]Write i2c OK [05:58:40]MH_I2C_Read... [05:58:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 58 95 47 00 02 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0F 58 00 00 F4 03 04 00 32 A2 F4 66 B6 04 01 00 00 78 BD 59 0F A3 AC D2 86 [05:58:40]CommunicateWithHost err = 0 [05:58:40]CheckOFDResponse [05:58:40]1017 (14) - 77093643461234 [05:58:40]1041 (16) - 0000000000959358 [05:58:40]1040 (4) - 22543 [05:58:40]1012 (4) - 25.09.2024 23:52 [05:58:40]1206 (1) - 0 [05:58:40]OFD Sender: Remove packet 22543 [05:58:40]ProducePacketName [05:58:40]name=ofd_packets/00022543 [05:58:40]NVStorageDeleteData [05:58:41]OFD Sender: No OFD packet to send [05:58:41]*** Cut start [05:58:41]*** Partial cut [05:58:41]*** CUTSNS_PIN = 1 [05:58:41]*** CUTSNS_PIN = 0 [05:58:41]*** Brake cut motor [05:58:41]Read from MH i2c: 01 [05:58:41]MH_I2C_Read... [05:58:41]*** Stop cut motor [05:58:41]*** Cut end [05:58:41]Read from MH i2c: 01 07 00 [05:58:41]MH_I2C_Read... [05:58:41]Read from MH i2c: 01 07 00 3B 18 00 00 00 00 00 FF 0F 68 [05:58:41]process_action close_receipt done [05:58:41]requested_data is exist [05:58:41]produce_requested_data [05:58:41]requested_item fm.sn is exist - process it [05:58:41]wFMCommunicate request_size=4 [05:58:41]MH_SAM_APDU [05:58:41]CAPDU: 80 11 00 00 [05:58:41]Write to MH i2c: E2 08 00 3C 18 80 11 00 00 00 00 00 00 CE [05:58:41]Write i2c OK [05:58:41]MH_I2C_Read... [05:58:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:58:41]Read from MH i2c: E2 [05:58:41]MH_I2C_Read... [05:58:41]Read from MH i2c: E2 17 00 [05:58:41]MH_I2C_Read... [05:58:41]Read from MH i2c: E2 17 00 3C 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 28 [05:58:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [05:58:41]wFMCommunicate OK [05:58:41]requested_item fd.num is exist - process it [05:58:41]SAM_PROTO_GetFieldsCounters [05:58:41]wFMCommunicate request_size=4 [05:58:41]MH_SAM_APDU [05:58:41]CAPDU: 80 13 00 00 [05:58:41]Write to MH i2c: E2 08 00 3D 18 80 13 00 00 00 00 00 00 D1 [05:58:41]Write i2c OK [05:58:41]MH_I2C_Read... [05:58:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:58:42]Read from MH i2c: E2 [05:58:42]MH_I2C_Read... [05:58:42]Read from MH i2c: E2 62 00 [05:58:42]MH_I2C_Read... [05:58:42]Read from MH i2c: E2 62 00 3D 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0F 58 00 00 0E 04 04 00 E8 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 58 [05:58:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0F 58 00 00 0E 04 04 00 E8 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 [05:58:42]wFMCommunicate OK [05:58:42]SAM_PROTO_GetFieldsCounters done [05:58:42]requested_item shift.num is exist - process it [05:58:42]requested_item shift.opened is exist - process it [05:58:42]req_shift_opened [05:58:42]FM_GetShiftState [05:58:42]SAM_PROTO_GetShiftState [05:58:42]wFMCommunicate request_size=4 [05:58:42]MH_SAM_APDU [05:58:42]CAPDU: 80 13 01 00 [05:58:42]Write to MH i2c: E2 08 00 3E 18 80 13 01 00 00 00 00 00 D3 [05:58:42]Write i2c OK [05:58:42]MH_I2C_Read... [05:58:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:58:42]Read from MH i2c: E2 [05:58:42]MH_I2C_Read... [05:58:42]Read from MH i2c: E2 0E 00 [05:58:42]MH_I2C_Read... [05:58:42]Read from MH i2c: E2 0E 00 3E 18 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 93 [05:58:42]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [05:58:42]wFMCommunicate OK [05:58:42]SAM_PROTO_GetShiftState done [05:58:42]FM_GetShiftState done [05:58:42]req_shift_opened done [05:58:42]requested_item shift.open_date is exist - process it [05:58:42]req_shift_open_date [05:58:42]req_shift_open_date done [05:58:42]produce_requested_data done [05:58:42]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22543,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [05:58:42]process_action_free close_receipt [05:58:42]json_value_free [05:58:42]json_value_free done [05:58:42]process_json_proto returns [05:58:42]Send response to host [05:58:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22543,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [05:58:42]free response buf [05:58:42]execute_script done [05:58:42]execute_script returns [05:58:42]free content buf [05:58:42]Sock 7.Close socket [05:58:42]Sock 7.Thread stoped [05:58:46]OFD Sender: No OFD packet to send [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59:01]OFD Sender: No OFD packet to send [05:59:06]OFD Sender: No OFD packet to send [05:59:11]OFD Sender: No OFD packet to send [05:59:16]OFD Sender: No OFD packet to send [05:59:21]OFD Sender: No OFD packet to send [05:59:26]OFD Sender: No OFD packet to send [05:59:31]OFD Sender: No OFD packet to send [05:59:36]OFD Sender: No OFD packet to send [05:59:41]OFD Sender: No OFD packet to send [05:59:46]OFD Sender: No OFD packet to send [05:59:51]OFD Sender: No OFD packet to send [05:59:56]OFD Sender: No OFD packet to send [06:00:01]OFD Sender: No OFD packet to send [06:00:06]OFD Sender: No OFD packet to send [06:00:11]OFD Sender: No OFD packet to send [06:00:16]OFD Sender: No OFD packet to send [06:00:21]OFD Sender: No OFD packet to send [06:00:26]OFD Sender: No OFD packet to send [06:00:31]OFD Sender: No OFD packet to send [06:00:36]OFD Sender: No OFD packet to send [06:00:41]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:46]OFD Sender: No OFD packet to send [06:03:51]OFD Sender: No OFD packet to send [06:03:56]OFD Sender: No OFD packet to send [06:04:01]OFD Sender: No OFD packet to send [06:04:06]OFD Sender: No OFD packet to send [06:04:11]OFD Sender: No OFD packet to send [06:04:16]OFD Sender: No OFD packet to send [06:04:21]OFD Sender: No OFD packet to send [06:04:26]OFD Sender: No OFD packet to send [06:04:31]OFD Sender: No OFD packet to send [06:04:36]OFD Sender: No OFD packet to send [06:04:41]OFD Sender: No OFD packet to send [06:04:46]OFD Sender: No OFD packet to send [06:04:51]OFD Sender: No OFD packet to send [06:04:56]OFD Sender: No OFD packet to send [06:05:01]OFD Sender: No OFD packet to send [06:05:06]OFD Sender: No OFD packet to send [06:05:11]OFD Sender: No OFD packet to send [06:05:16]OFD Sender: No OFD packet to send [06:05:21]OFD Sender: No OFD packet to send [06:05:26]OFD Sender: No OFD packet to send [06:05:31]OFD Sender: No OFD packet to send [06:05:36]OFD Sender: No OFD packet to send [06:05:41]OFD Sender: No OFD packet to send [06:05:46]OFD Sender: No OFD packet to send [06:05:51]OFD Sender: No OFD packet to send [06:05:56]OFD Sender: No OFD packet to send [06:06:01]OFD Sender: No OFD packet to send [06:06:06]OFD Sender: No OFD packet to send [06:06:11]OFD Sender: No OFD packet to send [06:06:16]OFD Sender: No OFD packet to send [06:06:21]OFD Sender: No OFD packet to send [06:06:26]OFD Sender: No OFD packet to send [06:06:31]OFD Sender: No OFD packet to send [06:06:36]OFD Sender: No OFD packet to send [06:06:41]OFD Sender: No OFD packet to send [06:06:46]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:11]OFD Sender: No OFD packet to send [06:08:16]OFD Sender: No OFD packet to send [06:08:21]OFD Sender: No OFD packet to send [06:08:26]OFD Sender: No OFD packet to send [06:08:31]OFD Sender: No OFD packet to send [06:08:36]OFD Sender: No OFD packet to send [06:08:41]OFD Sender: No OFD packet to send [06:08:46]OFD Sender: No OFD packet to send [06:08:51]OFD Sender: No OFD packet to send [06:08:56]OFD Sender: No OFD packet to send [06:09:01]OFD Sender: No OFD packet to send [06:09:06]OFD Sender: No OFD packet to send [06:09:11]OFD Sender: No OFD packet to send [06:09:16]OFD Sender: No OFD packet to send [06:09:21]OFD Sender: No OFD packet to send [06:09:26]OFD Sender: No OFD packet to send [06:09:31]OFD Sender: No OFD packet to send [06:09:36]OFD Sender: No OFD packet to send [06:09:41]OFD Sender: No OFD packet to send [06:09:46]OFD Sender: No OFD packet to send [06:09:51]OFD Sender: No OFD packet to send [06:09:56]OFD Sender: No OFD packet to send [06:10:01]OFD Sender: No OFD packet to send [06:10:06]OFD Sender: No OFD packet to send [06:10:11]OFD Sender: No OFD packet to send [06:10:16]OFD Sender: No OFD packet to send [06:10:21]OFD Sender: No OFD packet to send [06:10:26]OFD Sender: No OFD packet to send [06:10:31]OFD Sender: No OFD packet to send [06:10:36]OFD Sender: No OFD packet to send [06:10:41]OFD Sender: No OFD packet to send [06:10:46]OFD Sender: No OFD packet to send [06:10:51]OFD Sender: No OFD packet to send [06:10:56]OFD Sender: No OFD packet to send [06:11:01]OFD Sender: No OFD packet to send [06:11:06]OFD Sender: No OFD packet to send [06:11:11]OFD Sender: No OFD packet to send [06:11:16]OFD Sender: No OFD packet to send [06:11:21]OFD Sender: No OFD packet to send [06:11:26]OFD Sender: No OFD packet to send [06:11:31]OFD Sender: No OFD packet to send [06:11:36]OFD Sender: No OFD packet to send [06:11:41]OFD Sender: No OFD packet to send [06:11:46]OFD Sender: No OFD packet to send [06:11:51]OFD Sender: No OFD packet to send [06:11:56]OFD Sender: No OFD packet to send [06:12:01]OFD Sender: No OFD packet to send [06:12:06]OFD Sender: No OFD packet to send [06:12:11]OFD Sender: No OFD packet to send [06:12:16]OFD Sender: No OFD packet to send [06:12:21]OFD Sender: No OFD packet to send [06:12:26]OFD Sender: No OFD packet to send [06:12:31]OFD Sender: No OFD packet to send [06:12:36]OFD Sender: No OFD packet to send [06:12:41]OFD Sender: No OFD packet to send [06:12:46]OFD Sender: No OFD packet to send [06:12:51]OFD Sender: No OFD packet to send [06:12:56]OFD Sender: No OFD packet to send [06:13:01]OFD Sender: No OFD packet to send [06:13:06]OFD Sender: No OFD packet to send [06:13:11]OFD Sender: No OFD packet to send [06:13:16]OFD Sender: No OFD packet to send [06:13:21]OFD Sender: No OFD packet to send [06:13:26]OFD Sender: No OFD packet to send [06:13:31]OFD Sender: No OFD packet to send [06:13:36]OFD Sender: No OFD packet to send [06:13:41]OFD Sender: No OFD packet to send [06:13:46]OFD Sender: No OFD packet to send [06:13:51]OFD Sender: No OFD packet to send [06:13:56]OFD Sender: No OFD packet to send [06:14:01]OFD Sender: No OFD packet to send [06:14:06]OFD Sender: No OFD packet to send [06:14:11]OFD Sender: No OFD packet to send [06:14:16]OFD Sender: No OFD packet to send [06:14:21]OFD Sender: No OFD packet to send [06:14:26]OFD Sender: No OFD packet to send [06:14:31]OFD Sender: No OFD packet to send [06:14:36]OFD Sender: No OFD packet to send [06:14:41]OFD Sender: No OFD packet to send [06:14:46]OFD Sender: No OFD packet to send [06:14:51]OFD Sender: No OFD packet to send [06:14:56]OFD Sender: No OFD packet to send [06:15:01]OFD Sender: No OFD packet to send [06:15:06]OFD Sender: No OFD packet to send [06:15:11]OFD Sender: No OFD packet to send [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15:51]OFD Sender: No OFD packet to send [06:15:56]OFD Sender: No OFD packet to send [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16:37]OFD Sender: No OFD packet to send [06:16:42]OFD Sender: No OFD packet to send [06:16:47]OFD Sender: No OFD packet to send [06:16:52]OFD Sender: No OFD packet to send [06:16:57]OFD Sender: No OFD packet to send [06:17:02]OFD Sender: No OFD packet to send [06:17:07]OFD Sender: No OFD packet to send [06:17:12]OFD Sender: No OFD packet to send [06:17:17]OFD Sender: No OFD packet to send [06:17:22]OFD Sender: No OFD packet to send [06:17:27]OFD Sender: No OFD packet to send [06:17:32]OFD Sender: No OFD packet to send [06:17:37]OFD Sender: No OFD packet to send [06:17:42]OFD Sender: No OFD packet to send [06:17:47]OFD Sender: No OFD packet to send [06:17:52]OFD Sender: No OFD packet to send [06:17:57]OFD Sender: No OFD packet to send [06:18:02]OFD Sender: No OFD packet to send [06:18:07]OFD Sender: No OFD packet to send [06:18:12]OFD Sender: No OFD packet to send [06:18:17]OFD Sender: No OFD packet to send [06:18:22]OFD Sender: No OFD packet to send [06:18:27]OFD Sender: No OFD packet to send [06:18:32]OFD Sender: No OFD packet to send [06:18:37]OFD Sender: No OFD packet to send [06:18:42]OFD Sender: No OFD packet to send [06:18:47]OFD Sender: No OFD packet to send [06:18:52]OFD Sender: No OFD packet to send [06:18:57]OFD Sender: No OFD packet to send [06:19:02]OFD Sender: No OFD packet to send [06:19:07]OFD Sender: No OFD packet to send [06:19:12]OFD Sender: No OFD packet to send [06:19:17]OFD Sender: No OFD packet to send [06:19:22]OFD Sender: No OFD packet to send [06:19:27]OFD Sender: No OFD packet to send [06:19:32]OFD Sender: No OFD packet to send [06:19:37]OFD Sender: No OFD packet to send [06:19:42]OFD Sender: No OFD packet to send [06:19:47]OFD Sender: No OFD packet to send [06:19:52]OFD Sender: No OFD packet to send [06:19:57]OFD Sender: No OFD packet to send [06:20:02]OFD Sender: No OFD packet to send [06:20:07]OFD Sender: No OFD packet to send [06:20:12]OFD Sender: No OFD packet to send [06:20:17]OFD Sender: No OFD packet to send [06:20:22]OFD Sender: No OFD packet to send [06:20:27]OFD Sender: No OFD packet to send [06:20:32]OFD Sender: No OFD packet to send [06:20:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:22]OFD Sender: No OFD packet to send [06:31:27]OFD Sender: No OFD packet to send [06:31:32]OFD Sender: No OFD packet to send [06:31:37]OFD Sender: No OFD packet to send [06:31:42]OFD Sender: No OFD packet to send [06:31:47]OFD Sender: No OFD packet to send [06:31:52]OFD Sender: No OFD packet to send [06:31:57]OFD Sender: No OFD packet to send [06:32:02]OFD Sender: No OFD packet to send [06:32:07]OFD Sender: No OFD packet to send [06:32:12]OFD Sender: No OFD packet to send [06:32:17]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:27]OFD Sender: No OFD packet to send [06:32:32]OFD Sender: No OFD packet to send [06:32:37]OFD Sender: No OFD packet to send [06:32:42]OFD Sender: No OFD packet to send [06:32:47]OFD Sender: No OFD packet to send [06:32:52]OFD Sender: No OFD packet to send [06:32:57]OFD Sender: No OFD packet to send [06:33:02]OFD Sender: No OFD packet to send [06:33:07]OFD Sender: No OFD packet to send [06:33:12]OFD Sender: No OFD packet to send [06:33:17]OFD Sender: No OFD packet to send [06:33:22]OFD Sender: No OFD packet to send [06:33:27]OFD Sender: No OFD packet to send [06:33:32]OFD Sender: No OFD packet to send [06:33:37]OFD Sender: No OFD packet to send [06:33:42]OFD Sender: No OFD packet to send [06:33:47]OFD Sender: No OFD packet to send [06:33:52]OFD Sender: No OFD packet to send [06:33:57]OFD Sender: No OFD packet to send [06:34:02]OFD Sender: No OFD packet to send [06:34:07]OFD Sender: No OFD packet to send [06:34:12]OFD Sender: No OFD packet to send [06:34:17]OFD Sender: No OFD packet to send [06:34:22]OFD Sender: No OFD packet to send [06:34:27]OFD Sender: No OFD packet to send [06:34:32]OFD Sender: No OFD packet to send [06:34:37]OFD Sender: No OFD packet to send [06:34:42]OFD Sender: No OFD packet to send [06:34:47]OFD Sender: No OFD packet to send [06:34:52]OFD Sender: No OFD packet to send [06:34:57]OFD Sender: No OFD packet to send [06:35:02]OFD Sender: No OFD packet to send [06:35:07]OFD Sender: No OFD packet to send [06:35:12]OFD Sender: No OFD packet to send [06:35:17]OFD Sender: No OFD packet to send [06:35:22]OFD Sender: No OFD packet to send [06:35:27]OFD Sender: No OFD packet to send [06:35:32]OFD Sender: No OFD packet to send [06:35:37]OFD Sender: No OFD packet to send [06:35:42]OFD Sender: No OFD packet to send [06:35:47]OFD Sender: No OFD packet to send [06:35:52]OFD Sender: No OFD packet to send [06:35:57]OFD Sender: No OFD packet to send [06:36:02]OFD Sender: No OFD packet to send [06:36:07]OFD Sender: No OFD packet to send [06:36:12]OFD Sender: No OFD packet to send [06:36:17]OFD Sender: No OFD packet to send [06:36:22]OFD Sender: No OFD packet to send [06:36:27]OFD Sender: No OFD packet to send [06:36:32]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:53]OFD Sender: No OFD packet to send [06:36:58]OFD Sender: No OFD packet to send [06:37:03]OFD Sender: No OFD packet to send [06:37:08]OFD Sender: No OFD packet to send [06:37:13]OFD Sender: No OFD packet to send [06:37:18]OFD Sender: No OFD packet to send [06:37:23]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:33]OFD Sender: No OFD packet to send [06:37:38]OFD Sender: No OFD packet to send [06:37:43]OFD Sender: No OFD packet to send [06:37:48]OFD Sender: No OFD packet to send [06:37:53]OFD Sender: No OFD packet to send [06:37:58]OFD Sender: No OFD packet to send [06:38:03]OFD Sender: No OFD packet to send [06:38:08]OFD Sender: No OFD packet to send [06:38:13]OFD Sender: No OFD packet to send [06:38:18]OFD Sender: No OFD packet to send [06:38:23]OFD Sender: No OFD packet to send [06:38:28]OFD Sender: No OFD packet to send [06:38:33]OFD Sender: No OFD packet to send [06:38:38]OFD Sender: No OFD packet to send [06:38:43]OFD Sender: No OFD packet to send [06:38:48]OFD Sender: No OFD packet to send [06:38:53]OFD Sender: No OFD packet to send [06:38:58]OFD Sender: No OFD packet to send [06:39:03]OFD Sender: No OFD packet to send [06:39:08]OFD Sender: No OFD packet to send [06:39:13]OFD Sender: No OFD packet to send [06:39:18]OFD Sender: No OFD packet to send [06:39:23]OFD Sender: No OFD packet to send [06:39:28]OFD Sender: No OFD packet to send [06:39:33]OFD Sender: No OFD packet to send [06:39:38]OFD Sender: No OFD packet to send [06:39:43]OFD Sender: No OFD packet to send [06:39:48]OFD Sender: No OFD packet to send [06:39:53]OFD Sender: No OFD packet to send [06:39:58]OFD Sender: No OFD packet to send [06:40:03]OFD Sender: No OFD packet to send [06:40:08]OFD Sender: No OFD packet to send [06:40:13]OFD Sender: No OFD packet to send [06:40:18]OFD Sender: No OFD packet to send [06:40:23]OFD Sender: No OFD packet to send [06:40:28]OFD Sender: No OFD packet to send [06:40:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:53]OFD Sender: No OFD packet to send [06:41:58]OFD Sender: No OFD packet to send [06:42:03]OFD Sender: No OFD packet to send [06:42:08]OFD Sender: No OFD packet to send [06:42:13]OFD Sender: No OFD packet to send [06:42:18]OFD Sender: No OFD packet to send [06:42:23]OFD Sender: No OFD packet to send [06:42:28]OFD Sender: No OFD packet to send [06:42:33]OFD Sender: No OFD packet to send [06:42:38]OFD Sender: No OFD packet to send [06:42:43]OFD Sender: No OFD packet to send [06:42:48]OFD Sender: No OFD packet to send [06:42:53]OFD Sender: No OFD packet to send [06:42:58]OFD Sender: No OFD packet to send [06:43:03]OFD Sender: No OFD packet to send [06:43:08]OFD Sender: No OFD packet to send [06:43:13]OFD Sender: No OFD packet to send [06:43:18]OFD Sender: No OFD packet to send [06:43:23]OFD Sender: No OFD packet to send [06:43:28]OFD Sender: No OFD packet to send [06:43:33]OFD Sender: No OFD packet to send [06:43:38]OFD Sender: No OFD packet to send [06:43:43]OFD Sender: No OFD packet to send [06:43:48]OFD Sender: No OFD packet to send [06:43:53]OFD Sender: No OFD packet to send [06:43:58]OFD Sender: No OFD packet to send [06:44:03]OFD Sender: No OFD packet to send [06:44:08]OFD Sender: No OFD packet to send [06:44:13]OFD Sender: No OFD packet to send [06:44:18]OFD Sender: No OFD packet to send [06:44:23]OFD Sender: No OFD packet to send [06:44:28]OFD Sender: No OFD packet to send [06:44:33]OFD Sender: No OFD packet to send [06:44:38]OFD Sender: No OFD packet to send [06:44:43]OFD Sender: No OFD packet to send [06:44:48]OFD Sender: No OFD packet to send [06:44:53]OFD Sender: No OFD packet to send [06:44:58]OFD Sender: No OFD packet to send [06:45:03]OFD Sender: No OFD packet to send [06:45:08]OFD Sender: No OFD packet to send [06:45:13]OFD Sender: No OFD packet to send [06:45:18]OFD Sender: No OFD packet to send [06:45:23]OFD Sender: No OFD packet to send [06:45:28]OFD Sender: No OFD packet to send [06:45:33]OFD Sender: No OFD packet to send [06:45:38]OFD Sender: No OFD packet to send [06:45:43]OFD Sender: No OFD packet to send [06:45:48]OFD Sender: No OFD packet to send [06:45:53]OFD Sender: No OFD packet to send [06:45:58]OFD Sender: No OFD packet to send [06:46:03]OFD Sender: No OFD packet to send [06:46:08]OFD Sender: No OFD packet to send [06:46:13]OFD Sender: No OFD packet to send [06:46:18]OFD Sender: No OFD packet to send [06:46:23]OFD Sender: No OFD packet to send [06:46:28]OFD Sender: No OFD packet to send [06:46:33]OFD Sender: No OFD packet to send [06:46:38]OFD Sender: No OFD packet to send [06:46:43]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:18]OFD Sender: No OFD packet to send [06:48:23]OFD Sender: No OFD packet to send [06:48:28]OFD Sender: No OFD packet to send [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:33]OFD Sender: No OFD packet to send [06:49:38]OFD Sender: No OFD packet to send [06:49:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:24]OFD Sender: No OFD packet to send [07:15:29]OFD Sender: No OFD packet to send [07:15:34]OFD Sender: No OFD packet to send [07:15:39]OFD Sender: No OFD packet to send [07:15:44]OFD Sender: No OFD packet to send [07:15:49]OFD Sender: No OFD packet to send [07:15:54]OFD Sender: No OFD packet to send [07:15:59]OFD Sender: No OFD packet to send [07:16:04]OFD Sender: No OFD packet to send [07:16:10]OFD Sender: No OFD packet to send [07:16:15]OFD Sender: No OFD packet to send [07:16:20]OFD Sender: No OFD packet to send [07:16:25]OFD Sender: No OFD packet to send [07:16:30]OFD Sender: No OFD packet to send [07:16:35]OFD Sender: No OFD packet to send [07:16:40]OFD Sender: No OFD packet to send [07:16:45]OFD Sender: No OFD packet to send [07:16:50]OFD Sender: No OFD packet to send [07:16:55]OFD Sender: No OFD packet to send [07:17:00]OFD Sender: No OFD packet to send [07:17:05]OFD Sender: No OFD packet to send [07:17:10]OFD Sender: No OFD packet to send [07:17:15]OFD Sender: No OFD packet to send [07:17:20]OFD Sender: No OFD packet to send [07:17:25]OFD Sender: No OFD packet to send [07:17:30]OFD Sender: No OFD packet to send [07:17:35]OFD Sender: No OFD packet to send [07:17:40]OFD Sender: No OFD packet to send [07:17:45]OFD Sender: No OFD packet to send [07:17:50]OFD Sender: No OFD packet to send [07:17:55]OFD Sender: No OFD packet to send [07:18:00]OFD Sender: No OFD packet to send [07:18:05]OFD Sender: No OFD packet to send [07:18:10]OFD Sender: No OFD packet to send [07:18:15]OFD Sender: No OFD packet to send [07:18:20]OFD Sender: No OFD packet to send [07:18:25]OFD Sender: No OFD packet to send [07:18:30]OFD Sender: No OFD packet to send [07:18:35]OFD Sender: No OFD packet to send [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:31]accept exits with 9 [07:26:31]New connection [07:26:31]New thread 3067440484 created [07:26:31]Thread 3067583844 joined [07:26:31]Waiting for new connection... [07:26:31] Sock 9.Parse request [07:26:31]Sock 9.Check first char [07:26:31]Sock 9.First char is OK [07:26:31]request: POST /json_proto HTTP/1.0 [07:26:31]Method: POST [07:26:31]URL: /json_proto [07:26:31]Method is POST - this is cgi request [07:26:31]url: /json_proto [07:26:31]query_string will be loaded in cgi processing [07:26:31]execute_cgi json_proto POST (null) [07:26:31]execute_cgi path=json_proto method=POST [07:26:31]POST find Content-Length [07:26:31]Host: 172.17.43.4:8080 [07:26:31]Content-Length: 629 [07:26:31]Content-Type: application/json [07:26:31] [07:26:31]POST finish read [07:26:31]Found Content-Length = 629 [07:26:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51737", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:26:31]execute_script... [07:26:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51737", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:26:31]POST & json_proto [07:26:31]process_json_proto [07:26:31]json parsed OK: [07:26:31]protocol is kg_v1.0 [07:26:31]action value=close_receipt [07:26:31]process_action close_receipt [07:26:31]cmd_close_receipt [07:26:31]MH_GetDate [07:26:31]Write to MH i2c: F0 00 00 3F 18 46 [07:26:31]Write i2c OK [07:26:31]MH_I2C_Read... [07:26:31]Read from MH i2c: F0 [07:26:31]MH_I2C_Read... [07:26:31]Read from MH i2c: F0 09 00 [07:26:31]MH_I2C_Read... [07:26:31]Read from MH i2c: F0 09 00 3F 18 00 AB 0C F5 66 02 BF CF 66 57 [07:26:31]GetLastDocTimeStamp 1727330321 [07:26:31]current date 1727335595 [07:26:31]FM_GetShiftState [07:26:31]SAM_PROTO_GetShiftState [07:26:31]wFMCommunicate request_size=4 [07:26:31]MH_SAM_APDU [07:26:31]CAPDU: 80 13 01 00 [07:26:31]Write to MH i2c: E2 08 00 40 18 80 13 01 00 00 00 00 00 D5 [07:26:31]Write i2c OK [07:26:31]MH_I2C_Read... [07:26:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:26:31]Read from MH i2c: E2 [07:26:31]MH_I2C_Read... [07:26:31]Read from MH i2c: E2 0E 00 [07:26:31]MH_I2C_Read... [07:26:31]Read from MH i2c: E2 0E 00 40 18 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 95 [07:26:31]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [07:26:31]wFMCommunicate OK [07:26:31]SAM_PROTO_GetShiftState done [07:26:31]FM_GetShiftState done [07:26:31]opened in 1727309492 [07:26:31]opened+sec_in_day 1727395892 [07:26:31]quantity*price = 5000 [07:26:31]sum+1 = 5001 [07:26:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 ÐСП 1% : 0.44 ÐДС 12% : 5.31 Ðаличными: 50.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 8 26.09.2024 07:26 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22544 ФПД: 136444779445854 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T072635&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22544&fm=136444779445854&tin=02508201610067®Number=0000000000146243&sum=5000 0 [07:26:32]StoreToDocumentArchive [07:26:32]shift 232 fd 22544 [07:26:32]save to /storage/0232/doc_00022544 [07:26:32]save last doc name /storage/0232/doc_00022544 to /storage/kkm_last_doc_name [07:26:32]save OK [07:26:32]Clear old archive folders... [07:26:32]ProcessDocumentItem done err = 0, tmpTLVsize=269 [07:26:32]tlvbuf is 0027F1B0 [07:26:32]SAM_PROTO_ClearQueue [07:26:32]wFMCommunicate request_size=4 [07:26:32]MH_SAM_APDU [07:26:32]CAPDU: 80 09 00 00 [07:26:32]Write to MH i2c: E2 08 00 4D 18 80 09 00 00 00 00 00 00 D7 [07:26:32]Write i2c OK [07:26:32]MH_I2C_Read... [07:26:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:26:32]Read from MH i2c: E2 [07:26:32]MH_I2C_Read... [07:26:32]Read from MH i2c: E2 03 00 [07:26:32]MH_I2C_Read... [07:26:32]Read from MH i2c: E2 03 00 4D 18 00 90 00 D9 [07:26:32]RAPDU: 90 00 [07:26:32]wFMCommunicate OK [07:26:32]SAM_PROTO_ClearQueue done [07:26:32]KKMCreateOFDPacket [07:26:32]OFDProtocolAddRootSTLVToBuf [07:26:32]FM_MakeSignedData [07:26:32]FM_MakeSignedData [07:26:32]SAM_PROTO_SignData [07:26:32]wFMCommunicate request_size=4 [07:26:32]MH_SAM_APDU [07:26:32]CAPDU: 80 0D 01 02 [07:26:32]Write to MH i2c: E2 08 00 4E 18 80 0D 01 02 00 00 00 00 DF [07:26:32]Write i2c OK [07:26:32]MH_I2C_Read... [07:26:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:26:32]Read from MH i2c: E2 [07:26:32]MH_I2C_Read... [07:26:32]Read from MH i2c: E2 03 00 [07:26:32]MH_I2C_Read... [07:26:32]Read from MH i2c: E2 03 00 4E 18 00 90 00 DA [07:26:32]RAPDU: 90 00 [07:26:32]wFMCommunicate OK [07:26:32]wFMCommunicate request_size=255 [07:26:32]MH_SAM_APDU [07:26:32]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AB 0C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [07:26:32]Write to MH i2c: E2 02 01 4F 18 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AB 0C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 F4 [07:26:32]Write i2c OK [07:26:32]MH_I2C_Read... [07:26:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:26:33]Read from MH i2c: E2 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: E2 03 00 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: E2 03 00 4F 18 00 90 00 DB [07:26:33]RAPDU: 90 00 [07:26:33]wFMCommunicate OK [07:26:33]wFMCommunicate request_size=28 [07:26:33]MH_SAM_APDU [07:26:33]CAPDU: 80 0D 02 02 17 35 39 33 35 38 10 04 04 00 10 58 00 00 35 04 06 00 7C 18 86 9C 3E 5E [07:26:33]Write to MH i2c: E2 1F 00 50 18 80 0D 02 02 17 00 35 39 33 35 38 10 04 04 00 10 58 00 00 35 04 06 00 7C 18 86 9C 3E 5E 00 00 2F [07:26:33]Write i2c OK [07:26:33]MH_I2C_Read... [07:26:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:26:33]Read from MH i2c: E2 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: E2 03 00 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: E2 03 00 50 18 00 90 00 DC [07:26:33]RAPDU: 90 00 [07:26:33]wFMCommunicate OK [07:26:33]wFMCommunicate request_size=4 [07:26:33]MH_SAM_APDU [07:26:33]CAPDU: 80 0D 03 02 [07:26:33]Write to MH i2c: E2 08 00 51 18 80 0D 03 02 00 00 00 00 E4 [07:26:33]Write i2c OK [07:26:33]MH_I2C_Read... [07:26:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:26:33]Read from MH i2c: E2 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: E2 0B 00 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: E2 0B 00 51 18 00 FF A0 24 6E AD 11 F8 08 90 00 D4 [07:26:33]RAPDU: FF A0 24 6E AD 11 F8 08 90 00 [07:26:33]wFMCommunicate OK [07:26:33]SAM_PROTO_SignData done [07:26:33]FM_MakeSignedData done [07:26:33]CreateOFDProtocolMessage [07:26:33]wFMCommunicate request_size=4 [07:26:33]MH_SAM_APDU [07:26:33]CAPDU: 80 11 00 00 [07:26:33]Write to MH i2c: E2 08 00 52 18 80 11 00 00 00 00 00 00 E4 [07:26:33]Write i2c OK [07:26:33]MH_I2C_Read... [07:26:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:26:33]Read from MH i2c: E2 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: E2 17 00 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: E2 17 00 52 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 3E [07:26:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:26:33]wFMCommunicate OK [07:26:33]CreateOFDProtocolMessage done [07:26:33]OFDSenderStorePacket 22544 [07:26:33]StoreOFDPacket docnum=22544 [07:26:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 AC CE 19 01 AD F9 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AB 0C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 10 58 00 00 35 04 06 00 7C 18 86 9C 3E 5E FF A0 24 6E AD 11 F8 08 [07:26:33]CheckFolder [07:26:33]dirname=/storage/ofd_packets [07:26:33]CheckFolder done [07:26:33]ProducePacketName [07:26:33]name=ofd_packets/00022544 [07:26:33]NVStorageSaveData ofd_packets/00022544 [07:26:33]File name is /storage/ofd_packets/00022544 [07:26:33]Write 319 bytes [07:26:33]NVStorageSaveData done [07:26:33]OFDSenderStorePacket done [07:26:33]KKMCreateOFDPacket done [07:26:33]NVStorageSaveData kkm_last_timestamp [07:26:33]File name is /storage/kkm_last_timestamp [07:26:33]Write 4 bytes [07:26:33]NVStorageSaveData done [07:26:33]ExternCall_PrintAddStr [07:26:33]wPrintStart [07:26:33]Write to MH i2c: 01 00 00 53 18 6B [07:26:33]Write i2c OK [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: 01 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: 01 07 00 [07:26:33]MH_I2C_Read... [07:26:33]Read from MH i2c: 01 07 00 53 18 00 00 00 00 00 FF 0F 80 [07:26:33]RasterBufferAndPrint [07:26:33]line Счет N : (3)51737 [07:26:33]line ИÐÐ: 02508201610067 [07:26:33]line Контрольно-КаÑÑовый Чек [07:26:33]line ПРОДÐЖР[07:26:33]line Товар: 4700000160358 [07:26:33]line Вода Легенда 1л [07:26:33]line 1.000 * 50.00 [07:26:33]line = 50.00 [07:26:33]line ÐДС 12% ÐСП 1% [07:26:33]line > о реализуемом товаре [07:26:33]line ИТОГО: 50.00 [07:26:33]line ÐСП 1% : 0.44 [07:26:33]line ÐДС 12% : 5.31 [07:26:33]line Ðаличными: 50.00 [07:26:33]line Безнал.: 0.00 [07:26:33]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [07:26:33]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [07:26:33]line СÐО: Общий режим [07:26:33]line Чек 8 26.09.2024 07:26 [07:26:33]line Смена: 232 ФФД: 1.0 [07:26:33]line ЗÐМ: 0300000061 [07:26:33]line РÐМ: 0000000000146243 [07:26:33]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [07:26:33]line ФМ: 0000000000959358 [07:26:33]line ФД: 22544 [07:26:33]line ФПД: 136444779445854 [07:26:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T072635&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22544&fm=136444779445854&tin=02508201610067®Number=0000000000146243&sum=5000 [07:26:33]line 0 [07:26:33]OFD Sender: Processing packet 22544 [packets to send 23, broken 22] [07:26:33]ProducePacketName [07:26:33]name=ofd_packets/00022544 [07:26:33]OFD Sender: To server: ‡•öpG, [07:26:33]CommunicateWithHost lk.salyk.kg:30040 [07:26:33]ConnectInit lk.salyk.kg [07:26:33]written 0, free lines is 4095 [07:26:33]Connected sock=10 [07:26:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 AC CE 19 01 AD F9 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AB 0C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 10 58 00 00 35 04 06 00 7C 18 86 9C 3E 5E FF A0 24 6E AD 11 F8 08 [07:26:34]Write to MH i2c: 01 00 00 7B 18 93 [07:26:34]Write i2c OK [07:26:34]MH_I2C_Read... [07:26:34]Read from MH i2c: 01 [07:26:34]MH_I2C_Read... [07:26:34]Read from MH i2c: 01 07 00 [07:26:34]MH_I2C_Read... [07:26:34]Read from MH i2c: 01 07 00 7B 18 00 00 00 00 00 1E 0D C5 [07:26:34]RasterBufferAndPrint [07:26:34]line [07:26:34]line [07:26:34]line [07:26:34]line [07:26:34]line [07:26:34]written 0, free lines is 3367 [07:26:34]MH_Cut [07:26:34]Write to MH i2c: D1 01 00 82 18 01 6C [07:26:34]Write i2c OK [07:26:34]MH_I2C_Read... [07:26:34]Read from MH i2c: D1 [07:26:34]MH_I2C_Read... [07:26:34]Read from MH i2c: D1 01 00 [07:26:34]MH_I2C_Read... [07:26:34]Read from MH i2c: D1 01 00 82 18 00 6B [07:26:34]Write to MH i2c: 01 00 00 83 18 9B [07:26:34]Write i2c OK [07:26:34]MH_I2C_Read... [07:26:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 92 28 47 00 A4 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 10 58 00 00 F4 03 04 00 CC B6 F4 66 B6 04 01 00 00 0D C5 5D 9D AC 7E 88 DD [07:26:34]CommunicateWithHost err = 0 [07:26:34]CheckOFDResponse [07:26:34]1017 (14) - 77093643461234 [07:26:34]1041 (16) - 0000000000959358 [07:26:34]1040 (4) - 22544 [07:26:34]1012 (4) - 26.09.2024 01:20 [07:26:34]1206 (1) - 0 [07:26:34]OFD Sender: Remove packet 22544 [07:26:34]ProducePacketName [07:26:34]name=ofd_packets/00022544 [07:26:34]NVStorageDeleteData [07:26:34]OFD Sender: No OFD packet to send [07:26:34]*** Cut start [07:26:34]*** Partial cut [07:26:34]*** CUTSNS_PIN = 1 [07:26:34]*** CUTSNS_PIN = 0 [07:26:35]*** Brake cut motor [07:26:35]Read from MH i2c: 01 [07:26:35]MH_I2C_Read... [07:26:35]*** Stop cut motor [07:26:35]*** Cut end [07:26:35]Read from MH i2c: 01 07 00 [07:26:35]MH_I2C_Read... [07:26:35]Read from MH i2c: 01 07 00 83 18 00 00 00 00 00 FF 0F B0 [07:26:35]process_action close_receipt done [07:26:35]requested_data is exist [07:26:35]produce_requested_data [07:26:35]requested_item fm.sn is exist - process it [07:26:35]wFMCommunicate request_size=4 [07:26:35]MH_SAM_APDU [07:26:35]CAPDU: 80 11 00 00 [07:26:35]Write to MH i2c: E2 08 00 84 18 80 11 00 00 00 00 00 00 16 [07:26:35]Write i2c OK [07:26:35]MH_I2C_Read... [07:26:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:26:35]Read from MH i2c: E2 [07:26:35]MH_I2C_Read... [07:26:35]Read from MH i2c: E2 17 00 [07:26:35]MH_I2C_Read... [07:26:35]Read from MH i2c: E2 17 00 84 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 70 [07:26:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:26:35]wFMCommunicate OK [07:26:35]requested_item fd.num is exist - process it [07:26:35]SAM_PROTO_GetFieldsCounters [07:26:35]wFMCommunicate request_size=4 [07:26:35]MH_SAM_APDU [07:26:35]CAPDU: 80 13 00 00 [07:26:35]Write to MH i2c: E2 08 00 85 18 80 13 00 00 00 00 00 00 19 [07:26:35]Write i2c OK [07:26:35]MH_I2C_Read... [07:26:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:26:35]Read from MH i2c: E2 [07:26:35]MH_I2C_Read... [07:26:35]Read from MH i2c: E2 62 00 [07:26:35]MH_I2C_Read... [07:26:35]Read from MH i2c: E2 62 00 85 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 10 58 00 00 0E 04 04 00 E8 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 A4 [07:26:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 10 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:26:35]wFMCommunicate OK [07:26:35]SAM_PROTO_GetFieldsCounters done [07:26:35]requested_item shift.num is exist - process it [07:26:35]requested_item shift.opened is exist - process it [07:26:35]req_shift_opened [07:26:35]FM_GetShiftState [07:26:35]SAM_PROTO_GetShiftState [07:26:35]wFMCommunicate request_size=4 [07:26:35]MH_SAM_APDU [07:26:35]CAPDU: 80 13 01 00 [07:26:35]Write to MH i2c: E2 08 00 86 18 80 13 01 00 00 00 00 00 1B [07:26:35]Write i2c OK [07:26:35]MH_I2C_Read... [07:26:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:26:35]Read from MH i2c: E2 [07:26:35]MH_I2C_Read... [07:26:35]Read from MH i2c: E2 0E 00 [07:26:35]MH_I2C_Read... [07:26:35]Read from MH i2c: E2 0E 00 86 18 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 DB [07:26:35]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [07:26:35]wFMCommunicate OK [07:26:35]SAM_PROTO_GetShiftState done [07:26:35]FM_GetShiftState done [07:26:35]req_shift_opened done [07:26:35]requested_item shift.open_date is exist - process it [07:26:35]req_shift_open_date [07:26:35]req_shift_open_date done [07:26:35]produce_requested_data done [07:26:35]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22544,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [07:26:35]process_action_free close_receipt [07:26:35]json_value_free [07:26:35]json_value_free done [07:26:35]process_json_proto returns [07:26:35]Send response to host [07:26:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22544,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [07:26:35]free response buf [07:26:35]execute_script done [07:26:35]execute_script returns [07:26:35]free content buf [07:26:35]Sock 9.Close socket [07:26:35]Sock 9.Thread stoped [07:26:39]OFD Sender: No OFD packet to send [07:26:44]OFD Sender: No OFD packet to send [07:26:49]OFD Sender: No OFD packet to send [07:26:54]OFD Sender: No OFD packet to send [07:26:59]OFD Sender: No OFD packet to send [07:27:04]OFD Sender: No OFD packet to send [07:27:09]OFD Sender: No OFD packet to send [07:27:14]OFD Sender: No OFD packet to send [07:27:19]OFD Sender: No OFD packet to send [07:27:24]OFD Sender: No OFD packet to send [07:27:29]OFD Sender: No OFD packet to send [07:27:34]OFD Sender: No OFD packet to send [07:27:39]OFD Sender: No OFD packet to send [07:27:44]OFD Sender: No OFD packet to send [07:27:49]OFD Sender: No OFD packet to send [07:27:54]OFD Sender: No OFD packet to send [07:27:59]OFD Sender: No OFD packet to send [07:28:04]OFD Sender: No OFD packet to send [07:28:09]OFD Sender: No OFD packet to send [07:28:14]OFD Sender: No OFD packet to send [07:28:19]OFD Sender: No OFD packet to send [07:28:24]OFD Sender: No OFD packet to send [07:28:29]OFD Sender: No OFD packet to send [07:28:34]OFD Sender: No OFD packet to send [07:28:39]OFD Sender: No OFD packet to send [07:28:44]OFD Sender: No OFD packet to send [07:28:49]OFD Sender: No OFD packet to send [07:28:54]OFD Sender: No OFD packet to send [07:28:59]OFD Sender: No OFD packet to send [07:29:04]OFD Sender: No OFD packet to send [07:29:09]OFD Sender: No OFD packet to send [07:29:14]OFD Sender: No OFD packet to send [07:29:19]OFD Sender: No OFD packet to send [07:29:24]OFD Sender: No OFD packet to send [07:29:29]OFD Sender: No OFD packet to send [07:29:34]OFD Sender: No OFD packet to send [07:29:39]OFD Sender: No OFD packet to send [07:29:44]OFD Sender: No OFD packet to send [07:29:49]OFD Sender: No OFD packet to send [07:29:54]OFD Sender: No OFD packet to send [07:29:59]OFD Sender: No OFD packet to send [07:30:04]OFD Sender: No OFD packet to send [07:30:09]OFD Sender: No OFD packet to send [07:30:14]OFD Sender: No OFD packet to send [07:30:19]OFD Sender: No OFD packet to send [07:30:24]OFD Sender: No OFD packet to send [07:30:29]OFD Sender: No OFD packet to send [07:30:34]OFD Sender: No OFD packet to send [07:30:39]OFD Sender: No OFD packet to send [07:30:44]OFD Sender: No OFD packet to send [07:30:49]OFD Sender: No OFD packet to send [07:30:54]OFD Sender: No OFD packet to send [07:30:59]OFD Sender: No OFD packet to send [07:31:04]OFD Sender: No OFD packet to send [07:31:09]OFD Sender: No OFD packet to send [07:31:14]OFD Sender: No OFD packet to send [07:31:19]OFD Sender: No OFD packet to send [07:31:24]OFD Sender: No OFD packet to send [07:31:29]OFD Sender: No OFD packet to send [07:31:34]OFD Sender: No OFD packet to send [07:31:39]OFD Sender: No OFD packet to send [07:31:44]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:09]accept exits with 7 [07:38:09]New connection [07:38:09]New thread 3067583844 created [07:38:09]Thread 3067440484 joined [07:38:09]Waiting for new connection... [07:38:09] Sock 7.Parse request [07:38:09]Sock 7.Check first char [07:38:09]Sock 7.First char is OK [07:38:09]request: POST /json_proto HTTP/1.0 [07:38:09]Method: POST [07:38:09]URL: /json_proto [07:38:09]Method is POST - this is cgi request [07:38:09]url: /json_proto [07:38:09]query_string will be loaded in cgi processing [07:38:09]execute_cgi json_proto POST (null) [07:38:09]execute_cgi path=json_proto method=POST [07:38:09]POST find Content-Length [07:38:09]Host: 172.17.43.4:8080 [07:38:09]Content-Length: 631 [07:38:09]Content-Type: application/json [07:38:09] [07:38:09]POST finish read [07:38:09]Found Content-Length = 631 [07:38:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51738", "tax_sys" : 0, "items" : [ { "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:38:09]execute_script... [07:38:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51738", "tax_sys" : 0, "items" : [ { "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:38:09]POST & json_proto [07:38:09]process_json_proto [07:38:09]json parsed OK: [07:38:09]protocol is kg_v1.0 [07:38:09]action value=close_receipt [07:38:09]process_action close_receipt [07:38:09]cmd_close_receipt [07:38:09]MH_GetDate [07:38:09]Write to MH i2c: F0 00 00 87 18 8E [07:38:09]Write i2c OK [07:38:09]MH_I2C_Read... [07:38:09]Read from MH i2c: F0 [07:38:09]MH_I2C_Read... [07:38:09]Read from MH i2c: F0 09 00 [07:38:09]MH_I2C_Read... [07:38:09]Read from MH i2c: F0 09 00 87 18 00 65 0F F5 66 02 BF CF 66 5C [07:38:09]GetLastDocTimeStamp 1727335595 [07:38:09]current date 1727336293 [07:38:09]FM_GetShiftState [07:38:09]SAM_PROTO_GetShiftState [07:38:09]wFMCommunicate request_size=4 [07:38:09]MH_SAM_APDU [07:38:09]CAPDU: 80 13 01 00 [07:38:09]Write to MH i2c: E2 08 00 88 18 80 13 01 00 00 00 00 00 1D [07:38:09]Write i2c OK [07:38:09]MH_I2C_Read... [07:38:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:38:09]Read from MH i2c: E2 [07:38:09]MH_I2C_Read... [07:38:09]Read from MH i2c: E2 0E 00 [07:38:09]MH_I2C_Read... [07:38:09]Read from MH i2c: E2 0E 00 88 18 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 DD [07:38:09]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [07:38:09]wFMCommunicate OK [07:38:09]SAM_PROTO_GetShiftState done [07:38:09]FM_GetShiftState done [07:38:09]opened in 1727309492 [07:38:09]opened+sec_in_day 1727395892 [07:38:09]quantity*price = 1000 [07:38:09]sum+1 = 1001 [07:38:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 ÐСП 1% : 0.09 ÐДС 12% : 1.06 Ðаличными: 10.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 9 26.09.2024 07:38 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22545 ФПД: 192348830771639 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T073813&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22545&fm=192348830771639&tin=02508201610067®Number=0000000000146243&sum=1000 0 [07:38:10]StoreToDocumentArchive [07:38:10]shift 232 fd 22545 [07:38:10]save to /storage/0232/doc_00022545 [07:38:10]save last doc name /storage/0232/doc_00022545 to /storage/kkm_last_doc_name [07:38:10]save OK [07:38:10]Clear old archive folders... [07:38:10]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:38:10]tlvbuf is 002B9C60 [07:38:10]SAM_PROTO_ClearQueue [07:38:10]wFMCommunicate request_size=4 [07:38:10]MH_SAM_APDU [07:38:10]CAPDU: 80 09 00 00 [07:38:10]Write to MH i2c: E2 08 00 95 18 80 09 00 00 00 00 00 00 1F [07:38:10]Write i2c OK [07:38:10]MH_I2C_Read... [07:38:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:38:10]Read from MH i2c: E2 [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: E2 03 00 [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: E2 03 00 95 18 00 90 00 21 [07:38:10]RAPDU: 90 00 [07:38:10]wFMCommunicate OK [07:38:10]SAM_PROTO_ClearQueue done [07:38:10]KKMCreateOFDPacket [07:38:10]OFDProtocolAddRootSTLVToBuf [07:38:10]FM_MakeSignedData [07:38:10]FM_MakeSignedData [07:38:10]SAM_PROTO_SignData [07:38:10]wFMCommunicate request_size=4 [07:38:10]MH_SAM_APDU [07:38:10]CAPDU: 80 0D 01 02 [07:38:10]Write to MH i2c: E2 08 00 96 18 80 0D 01 02 00 00 00 00 27 [07:38:10]Write i2c OK [07:38:10]MH_I2C_Read... [07:38:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:38:10]Read from MH i2c: E2 [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: E2 03 00 [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: E2 03 00 96 18 00 90 00 22 [07:38:10]RAPDU: 90 00 [07:38:10]wFMCommunicate OK [07:38:10]wFMCommunicate request_size=255 [07:38:10]MH_SAM_APDU [07:38:10]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 65 0F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [07:38:10]Write to MH i2c: E2 02 01 97 18 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 65 0F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 48 [07:38:10]Write i2c OK [07:38:10]MH_I2C_Read... [07:38:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:38:11]Read from MH i2c: E2 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 03 00 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 03 00 97 18 00 90 00 23 [07:38:11]RAPDU: 90 00 [07:38:11]wFMCommunicate OK [07:38:11]wFMCommunicate request_size=34 [07:38:11]MH_SAM_APDU [07:38:11]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 11 58 00 00 35 04 06 00 AE F0 B3 BB 29 B7 [07:38:11]Write to MH i2c: E2 25 00 98 18 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 11 58 00 00 35 04 06 00 AE F0 B3 BB 29 B7 00 00 47 [07:38:11]Write i2c OK [07:38:11]MH_I2C_Read... [07:38:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:38:11]Read from MH i2c: E2 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 03 00 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 03 00 98 18 00 90 00 24 [07:38:11]RAPDU: 90 00 [07:38:11]wFMCommunicate OK [07:38:11]wFMCommunicate request_size=4 [07:38:11]MH_SAM_APDU [07:38:11]CAPDU: 80 0D 03 02 [07:38:11]Write to MH i2c: E2 08 00 99 18 80 0D 03 02 00 00 00 00 2C [07:38:11]Write i2c OK [07:38:11]MH_I2C_Read... [07:38:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:38:11]Read from MH i2c: E2 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 0B 00 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 0B 00 99 18 00 A2 D8 14 DB B6 4E 0C 43 90 00 E9 [07:38:11]RAPDU: A2 D8 14 DB B6 4E 0C 43 90 00 [07:38:11]wFMCommunicate OK [07:38:11]SAM_PROTO_SignData done [07:38:11]FM_MakeSignedData done [07:38:11]CreateOFDProtocolMessage [07:38:11]wFMCommunicate request_size=4 [07:38:11]MH_SAM_APDU [07:38:11]CAPDU: 80 11 00 00 [07:38:11]Write to MH i2c: E2 08 00 9A 18 80 11 00 00 00 00 00 00 2C [07:38:11]Write i2c OK [07:38:11]MH_I2C_Read... [07:38:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:38:11]Read from MH i2c: E2 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 17 00 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 17 00 9A 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 86 [07:38:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:38:11]wFMCommunicate OK [07:38:11]CreateOFDProtocolMessage done [07:38:11]OFDSenderStorePacket 22545 [07:38:11]StoreOFDPacket docnum=22545 [07:38:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 55 FB 1F 01 90 7E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 65 0F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 11 58 00 00 35 04 06 00 AE F0 B3 BB 29 B7 A2 D8 14 DB B6 4E 0C 43 [07:38:11]CheckFolder [07:38:11]dirname=/storage/ofd_packets [07:38:11]CheckFolder done [07:38:11]ProducePacketName [07:38:11]name=ofd_packets/00022545 [07:38:11]NVStorageSaveData ofd_packets/00022545 [07:38:11]File name is /storage/ofd_packets/00022545 [07:38:11]Write 325 bytes [07:38:11]NVStorageSaveData done [07:38:11]OFDSenderStorePacket done [07:38:11]KKMCreateOFDPacket done [07:38:11]NVStorageSaveData kkm_last_timestamp [07:38:11]File name is /storage/kkm_last_timestamp [07:38:11]Write 4 bytes [07:38:11]NVStorageSaveData done [07:38:11]ExternCall_PrintAddStr [07:38:11]wPrintStart [07:38:11]Write to MH i2c: 01 00 00 9B 18 B3 [07:38:11]Write i2c OK [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: 01 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: 01 07 00 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: 01 07 00 9B 18 00 00 00 00 00 FF 0F C8 [07:38:11]RasterBufferAndPrint [07:38:11]line Счет N : (3)51738 [07:38:11]line ИÐÐ: 02508201610067 [07:38:11]line Контрольно-КаÑÑовый Чек [07:38:11]line ПРОДÐЖР[07:38:11]line Товар: 46231512 [07:38:11]line Mentos ПФ Виноград 6*100*2г [07:38:11]line 1.000 * 10.00 [07:38:11]line = 10.00 [07:38:11]line ÐДС 12% ÐСП 1% [07:38:11]line > о реализуемом товаре [07:38:11]line ИТОГО: 10.00 [07:38:11]line ÐСП 1% : 0.09 [07:38:11]line ÐДС 12% : 1.06 [07:38:11]line Ðаличными: 10.00 [07:38:11]line Безнал.: 0.00 [07:38:11]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [07:38:11]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [07:38:11]line СÐО: Общий режим [07:38:11]line Чек 9 26.09.2024 07:38 [07:38:11]line Смена: 232 ФФД: 1.0 [07:38:11]line ЗÐМ: 0300000061 [07:38:11]line РÐМ: 0000000000146243 [07:38:11]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [07:38:11]line ФМ: 0000000000959358 [07:38:11]line ФД: 22545 [07:38:11]line ФПД: 192348830771639 [07:38:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T073813&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22545&fm=192348830771639&tin=02508201610067®Number=0000000000146243&sum=1000 [07:38:11]line 0 [07:38:11]OFD Sender: Processing packet 22545 [packets to send 23, broken 22] [07:38:11]ProducePacketName [07:38:11]name=ofd_packets/00022545 [07:38:11]OFD Sender: To server: ‡•öpG, [07:38:11]CommunicateWithHost lk.salyk.kg:30040 [07:38:11]ConnectInit lk.salyk.kg [07:38:11]written 0, free lines is 4095 [07:38:11]Connected sock=10 [07:38:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 55 FB 1F 01 90 7E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 65 0F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 11 58 00 00 35 04 06 00 AE F0 B3 BB 29 B7 A2 D8 14 DB B6 4E 0C 43 [07:38:12]Write to MH i2c: 01 00 00 C3 18 DB [07:38:12]Write i2c OK [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: 01 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: 01 07 00 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: 01 07 00 C3 18 00 00 00 00 00 24 0D 13 [07:38:12]RasterBufferAndPrint [07:38:12]line [07:38:12]line [07:38:12]line [07:38:12]line [07:38:12]line [07:38:12]written 0, free lines is 3370 [07:38:12]MH_Cut [07:38:12]Write to MH i2c: D1 01 00 CA 18 01 B4 [07:38:12]Write i2c OK [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: D1 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: D1 01 00 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: D1 01 00 CA 18 00 B3 [07:38:12]Write to MH i2c: 01 00 00 CB 18 E3 [07:38:12]Write i2c OK [07:38:12]MH_I2C_Read... [07:38:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 70 F0 47 00 52 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 11 58 00 00 F4 03 04 00 85 B9 F4 66 B6 04 01 00 00 47 63 60 6E 8C C5 F7 15 [07:38:12]CommunicateWithHost err = 0 [07:38:12]CheckOFDResponse [07:38:12]1017 (14) - 77093643461234 [07:38:12]1041 (16) - 0000000000959358 [07:38:12]1040 (4) - 22545 [07:38:12]1012 (4) - 26.09.2024 01:31 [07:38:12]1206 (1) - 0 [07:38:12]OFD Sender: Remove packet 22545 [07:38:12]ProducePacketName [07:38:12]name=ofd_packets/00022545 [07:38:12]NVStorageDeleteData [07:38:12]OFD Sender: No OFD packet to send [07:38:12]*** Cut start [07:38:12]*** Partial cut [07:38:12]*** CUTSNS_PIN = 1 [07:38:12]*** CUTSNS_PIN = 0 [07:38:12]*** Brake cut motor [07:38:13]Read from MH i2c: 01 [07:38:13]MH_I2C_Read... [07:38:13]*** Stop cut motor [07:38:13]*** Cut end [07:38:13]Read from MH i2c: 01 07 00 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: 01 07 00 CB 18 00 00 00 00 00 FF 0F F8 [07:38:13]process_action close_receipt done [07:38:13]requested_data is exist [07:38:13]produce_requested_data [07:38:13]requested_item fm.sn is exist - process it [07:38:13]wFMCommunicate request_size=4 [07:38:13]MH_SAM_APDU [07:38:13]CAPDU: 80 11 00 00 [07:38:13]Write to MH i2c: E2 08 00 CC 18 80 11 00 00 00 00 00 00 5E [07:38:13]Write i2c OK [07:38:13]MH_I2C_Read... [07:38:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:38:13]Read from MH i2c: E2 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 17 00 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 17 00 CC 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 B8 [07:38:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:38:13]wFMCommunicate OK [07:38:13]requested_item fd.num is exist - process it [07:38:13]SAM_PROTO_GetFieldsCounters [07:38:13]wFMCommunicate request_size=4 [07:38:13]MH_SAM_APDU [07:38:13]CAPDU: 80 13 00 00 [07:38:13]Write to MH i2c: E2 08 00 CD 18 80 13 00 00 00 00 00 00 61 [07:38:13]Write i2c OK [07:38:13]MH_I2C_Read... [07:38:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:38:13]Read from MH i2c: E2 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 62 00 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 62 00 CD 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 11 58 00 00 0E 04 04 00 E8 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 F0 [07:38:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 11 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:38:13]wFMCommunicate OK [07:38:13]SAM_PROTO_GetFieldsCounters done [07:38:13]requested_item shift.num is exist - process it [07:38:13]requested_item shift.opened is exist - process it [07:38:13]req_shift_opened [07:38:13]FM_GetShiftState [07:38:13]SAM_PROTO_GetShiftState [07:38:13]wFMCommunicate request_size=4 [07:38:13]MH_SAM_APDU [07:38:13]CAPDU: 80 13 01 00 [07:38:13]Write to MH i2c: E2 08 00 CE 18 80 13 01 00 00 00 00 00 63 [07:38:13]Write i2c OK [07:38:13]MH_I2C_Read... [07:38:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:38:13]Read from MH i2c: E2 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 0E 00 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 0E 00 CE 18 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 23 [07:38:13]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [07:38:13]wFMCommunicate OK [07:38:13]SAM_PROTO_GetShiftState done [07:38:13]FM_GetShiftState done [07:38:13]req_shift_opened done [07:38:13]requested_item shift.open_date is exist - process it [07:38:13]req_shift_open_date [07:38:13]req_shift_open_date done [07:38:13]produce_requested_data done [07:38:13]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22545,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [07:38:13]process_action_free close_receipt [07:38:13]json_value_free [07:38:13]json_value_free done [07:38:13]process_json_proto returns [07:38:13]Send response to host [07:38:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22545,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [07:38:13]free response buf [07:38:13]execute_script done [07:38:13]execute_script returns [07:38:13]free content buf [07:38:13]Sock 7.Close socket [07:38:13]Sock 7.Thread stoped [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:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:57]OFD Sender: No OFD packet to send [07:41:02]OFD Sender: No OFD packet to send [07:41:07]OFD Sender: No OFD packet to send [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:42]OFD Sender: No OFD packet to send [07:41:47]OFD Sender: No OFD packet to send [07:41:52]OFD Sender: No OFD packet to send [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:07]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:18]OFD Sender: No OFD packet to send [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:03]OFD Sender: No OFD packet to send [07:50:08]OFD Sender: No OFD packet to send [07:50:13]OFD Sender: No OFD packet to send [07:50:18]OFD Sender: No OFD packet to send [07:50:23]OFD Sender: No OFD packet to send [07:50:28]OFD Sender: No OFD packet to send [07:50:33]OFD Sender: No OFD packet to send [07:50:38]OFD Sender: No OFD packet to send [07:50:43]OFD Sender: No OFD packet to send [07:50:47]accept exits with 9 [07:50:47]New connection [07:50:47]New thread 3067440484 created [07:50:47]Thread 3067583844 joined [07:50:47]Waiting for new connection... [07:50:47] Sock 9.Parse request [07:50:47]Sock 9.Check first char [07:50:47]Sock 9.First char is OK [07:50:47]request: POST /json_proto HTTP/1.0 [07:50:47]Method: POST [07:50:47]URL: /json_proto [07:50:47]Method is POST - this is cgi request [07:50:47]url: /json_proto [07:50:47]query_string will be loaded in cgi processing [07:50:47]execute_cgi json_proto POST (null) [07:50:47]execute_cgi path=json_proto method=POST [07:50:47]POST find Content-Length [07:50:47]Host: 172.17.43.4:8080 [07:50:47]Content-Length: 755 [07:50:47]Content-Type: application/json [07:50:47] [07:50:47]POST finish read [07:50:47]Found Content-Length = 755 [07:50:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51739", "tax_sys" : 0, "items" : [ { "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:50:47]execute_script... [07:50:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51739", "tax_sys" : 0, "items" : [ { "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:50:47]POST & json_proto [07:50:47]process_json_proto [07:50:47]json parsed OK: [07:50:47]protocol is kg_v1.0 [07:50:47]action value=close_receipt [07:50:47]process_action close_receipt [07:50:47]cmd_close_receipt [07:50:47]MH_GetDate [07:50:47]Write to MH i2c: F0 00 00 CF 18 D6 [07:50:47]Write i2c OK [07:50:47]MH_I2C_Read... [07:50:47]Read from MH i2c: F0 [07:50:47]MH_I2C_Read... [07:50:47]Read from MH i2c: F0 09 00 [07:50:47]MH_I2C_Read... [07:50:47]Read from MH i2c: F0 09 00 CF 18 00 5B 12 F5 66 02 BF CF 66 9D [07:50:47]GetLastDocTimeStamp 1727336293 [07:50:47]current date 1727337051 [07:50:47]FM_GetShiftState [07:50:47]SAM_PROTO_GetShiftState [07:50:47]wFMCommunicate request_size=4 [07:50:47]MH_SAM_APDU [07:50:47]CAPDU: 80 13 01 00 [07:50:47]Write to MH i2c: E2 08 00 D0 18 80 13 01 00 00 00 00 00 65 [07:50:47]Write i2c OK [07:50:47]MH_I2C_Read... [07:50:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:50:47]Read from MH i2c: E2 [07:50:47]MH_I2C_Read... [07:50:47]Read from MH i2c: E2 0E 00 [07:50:47]MH_I2C_Read... [07:50:47]Read from MH i2c: E2 0E 00 D0 18 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 25 [07:50:47]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [07:50:47]wFMCommunicate OK [07:50:47]SAM_PROTO_GetShiftState done [07:50:47]FM_GetShiftState done [07:50:47]opened in 1727309492 [07:50:47]opened+sec_in_day 1727395892 [07:50:47]quantity*price = 0 [07:50:47]sum+1 = 1 [07:50:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 10 26.09.2024 07:50 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000959358 ФД: 22546 ФПД: 41468443919708 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T075051&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22546&fm=41468443919708&tin=02508201610067®Number=0000000000146243&sum=0 0 [07:50:48]StoreToDocumentArchive [07:50:48]shift 232 fd 22546 [07:50:48]save to /storage/0232/doc_00022546 [07:50:48]save last doc name /storage/0232/doc_00022546 to /storage/kkm_last_doc_name [07:50:48]save OK [07:50:48]Clear old archive folders... [07:50:48]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:50:48]tlvbuf is 002C1700 [07:50:48]SAM_PROTO_ClearQueue [07:50:48]wFMCommunicate request_size=4 [07:50:48]MH_SAM_APDU [07:50:48]CAPDU: 80 09 00 00 [07:50:48]Write to MH i2c: E2 08 00 DD 18 80 09 00 00 00 00 00 00 67 [07:50:48]Write i2c OK [07:50:48]MH_I2C_Read... [07:50:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:50:48]Read from MH i2c: E2 [07:50:48]MH_I2C_Read... [07:50:48]Read from MH i2c: E2 03 00 [07:50:48]MH_I2C_Read... [07:50:48]Read from MH i2c: E2 03 00 DD 18 00 90 00 69 [07:50:48]RAPDU: 90 00 [07:50:48]wFMCommunicate OK [07:50:48]SAM_PROTO_ClearQueue done [07:50:48]KKMCreateOFDPacket [07:50:48]OFDProtocolAddRootSTLVToBuf [07:50:48]FM_MakeSignedData [07:50:48]FM_MakeSignedData [07:50:48]SAM_PROTO_SignData [07:50:48]wFMCommunicate request_size=4 [07:50:48]MH_SAM_APDU [07:50:48]CAPDU: 80 0D 01 02 [07:50:48]Write to MH i2c: E2 08 00 DE 18 80 0D 01 02 00 00 00 00 6F [07:50:48]Write i2c OK [07:50:48]MH_I2C_Read... [07:50:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:50:48]Read from MH i2c: E2 [07:50:48]MH_I2C_Read... [07:50:48]Read from MH i2c: E2 03 00 [07:50:48]MH_I2C_Read... [07:50:48]Read from MH i2c: E2 03 00 DE 18 00 90 00 6A [07:50:48]RAPDU: 90 00 [07:50:48]wFMCommunicate OK [07:50:48]wFMCommunicate request_size=255 [07:50:48]MH_SAM_APDU [07:50:48]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 5B 12 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [07:50:48]Write to MH i2c: E2 02 01 DF 18 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 5B 12 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 6B [07:50:48]Write i2c OK [07:50:48]MH_I2C_Read... [07:50:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:50:49]Read from MH i2c: E2 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: E2 03 00 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: E2 03 00 DF 18 00 90 00 6B [07:50:49]RAPDU: 90 00 [07:50:49]wFMCommunicate OK [07:50:49]wFMCommunicate request_size=34 [07:50:49]MH_SAM_APDU [07:50:49]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 12 58 00 00 35 04 06 00 25 B7 1F DE 85 5C [07:50:49]Write to MH i2c: E2 25 00 E0 18 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 12 58 00 00 35 04 06 00 25 B7 1F DE 85 5C 00 00 5E [07:50:49]Write i2c OK [07:50:49]MH_I2C_Read... [07:50:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:50:49]Read from MH i2c: E2 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: E2 03 00 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: E2 03 00 E0 18 00 90 00 6C [07:50:49]RAPDU: 90 00 [07:50:49]wFMCommunicate OK [07:50:49]wFMCommunicate request_size=4 [07:50:49]MH_SAM_APDU [07:50:49]CAPDU: 80 0D 03 02 [07:50:49]Write to MH i2c: E2 08 00 E1 18 80 0D 03 02 00 00 00 00 74 [07:50:49]Write i2c OK [07:50:49]MH_I2C_Read... [07:50:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:50:49]Read from MH i2c: E2 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: E2 0B 00 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: E2 0B 00 E1 18 00 A1 97 61 9D D7 99 12 B8 90 00 E5 [07:50:49]RAPDU: A1 97 61 9D D7 99 12 B8 90 00 [07:50:49]wFMCommunicate OK [07:50:49]SAM_PROTO_SignData done [07:50:49]FM_MakeSignedData done [07:50:49]CreateOFDProtocolMessage [07:50:49]wFMCommunicate request_size=4 [07:50:49]MH_SAM_APDU [07:50:49]CAPDU: 80 11 00 00 [07:50:49]Write to MH i2c: E2 08 00 E2 18 80 11 00 00 00 00 00 00 74 [07:50:49]Write i2c OK [07:50:49]MH_I2C_Read... [07:50:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:50:49]Read from MH i2c: E2 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: E2 17 00 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: E2 17 00 E2 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 CE [07:50:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:50:49]wFMCommunicate OK [07:50:49]CreateOFDProtocolMessage done [07:50:49]OFDSenderStorePacket 22546 [07:50:49]StoreOFDPacket docnum=22546 [07:50:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 EA 8D 1F 01 FE 16 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 5B 12 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 12 58 00 00 35 04 06 00 25 B7 1F DE 85 5C A1 97 61 9D D7 99 12 B8 [07:50:49]CheckFolder [07:50:49]dirname=/storage/ofd_packets [07:50:49]CheckFolder done [07:50:49]ProducePacketName [07:50:49]name=ofd_packets/00022546 [07:50:49]NVStorageSaveData ofd_packets/00022546 [07:50:49]File name is /storage/ofd_packets/00022546 [07:50:49]Write 325 bytes [07:50:49]NVStorageSaveData done [07:50:49]OFDSenderStorePacket done [07:50:49]KKMCreateOFDPacket done [07:50:49]NVStorageSaveData kkm_last_timestamp [07:50:49]File name is /storage/kkm_last_timestamp [07:50:49]Write 4 bytes [07:50:49]NVStorageSaveData done [07:50:49]ExternCall_PrintAddStr [07:50:49]wPrintStart [07:50:49]Write to MH i2c: 01 00 00 E3 18 FB [07:50:49]Write i2c OK [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: 01 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: 01 07 00 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: 01 07 00 E3 18 00 00 00 00 00 FF 0F 10 [07:50:49]RasterBufferAndPrint [07:50:49]line Счет N : (3)51739 [07:50:49]line ИÐÐ: 02508201610067 [07:50:49]line Контрольно-КаÑÑовый Чек [07:50:49]line ПРОДÐЖР[07:50:49]line Товар: 46231512 [07:50:49]line Mentos ПФ Виноград 6*100*2г [07:50:49]line 1.000 * 0.00 [07:50:49]line = 0.00 [07:50:49]line ÐДС 12% ÐСП 1% [07:50:49]line > о реализуемом товаре [07:50:49]line ИТОГО: 0.00 [07:50:49]line ÐСП 1% : 0.00 [07:50:49]line ÐДС 12% : 0.00 [07:50:49]line Ðаличными: 0.00 [07:50:49]line Безнал.: 0.00 [07:50:49]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [07:50:49]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [07:50:49]line СÐО: Общий режим [07:50:49]line Чек 10 26.09.2024 07:50 [07:50:49]line Смена: 232 ФФД: 1.0 [07:50:49]line ЗÐМ: 0300000061 [07:50:49]line РÐМ: 0000000000146243 [07:50:49]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [07:50:49]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [07:50:49]line ФМ: 0000000000959358 [07:50:49]line ФД: 22546 [07:50:49]line ФПД: 41468443919708 [07:50:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T075051&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22546&fm=41468443919708&tin=02508201610067®Number=0000000000146243&sum=0 [07:50:49]line 0 [07:50:49]OFD Sender: Processing packet 22546 [packets to send 23, broken 22] [07:50:49]ProducePacketName [07:50:49]name=ofd_packets/00022546 [07:50:49]OFD Sender: To server: ‡•öpG, [07:50:49]CommunicateWithHost lk.salyk.kg:30040 [07:50:49]ConnectInit lk.salyk.kg [07:50:49]written 0, free lines is 4095 [07:50:49]Connected sock=10 [07:50:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 EA 8D 1F 01 FE 16 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 5B 12 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 12 58 00 00 35 04 06 00 25 B7 1F DE 85 5C A1 97 61 9D D7 99 12 B8 [07:50:49]Write to MH i2c: 01 00 00 0C 19 25 [07:50:49]Write i2c OK [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: 01 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: 01 07 00 [07:50:49]MH_I2C_Read... [07:50:49]Read from MH i2c: 01 07 00 0C 19 00 00 00 00 00 20 0D 59 [07:50:49]RasterBufferAndPrint [07:50:49]line [07:50:49]line [07:50:49]line [07:50:49]line [07:50:49]line [07:50:49]written 0, free lines is 3364 [07:50:50]MH_Cut [07:50:50]Write to MH i2c: D1 01 00 13 19 01 FE [07:50:50]Write i2c OK [07:50:50]MH_I2C_Read... [07:50:50]Read from MH i2c: D1 [07:50:50]MH_I2C_Read... [07:50:50]Read from MH i2c: D1 01 00 [07:50:50]MH_I2C_Read... [07:50:50]Read from MH i2c: D1 01 00 13 19 00 FD [07:50:50]Write to MH i2c: 01 00 00 14 19 2D [07:50:50]Write i2c OK [07:50:50]MH_I2C_Read... [07:50:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 E0 FC 47 00 97 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 12 58 00 00 F4 03 04 00 7B BC F4 66 B6 04 01 00 00 2B B6 8C 31 4C 44 F3 73 [07:50:50]CommunicateWithHost err = 0 [07:50:50]CheckOFDResponse [07:50:50]1017 (14) - 77093643461234 [07:50:50]1041 (16) - 0000000000959358 [07:50:50]1040 (4) - 22546 [07:50:50]1012 (4) - 26.09.2024 01:44 [07:50:50]1206 (1) - 0 [07:50:50]OFD Sender: Remove packet 22546 [07:50:50]ProducePacketName [07:50:50]name=ofd_packets/00022546 [07:50:50]NVStorageDeleteData [07:50:50]OFD Sender: No OFD packet to send [07:50:50]*** Cut start [07:50:50]*** Partial cut [07:50:50]*** CUTSNS_PIN = 1 [07:50:50]*** CUTSNS_PIN = 0 [07:50:50]*** Brake cut motor [07:50:51]Read from MH i2c: 01 [07:50:51]MH_I2C_Read... [07:50:51]*** Stop cut motor [07:50:51]*** Cut end [07:50:51]Read from MH i2c: 01 07 00 [07:50:51]MH_I2C_Read... [07:50:51]Read from MH i2c: 01 07 00 14 19 00 00 00 00 00 FF 0F 42 [07:50:51]process_action close_receipt done [07:50:51]requested_data is exist [07:50:51]produce_requested_data [07:50:51]requested_item fm.sn is exist - process it [07:50:51]wFMCommunicate request_size=4 [07:50:51]MH_SAM_APDU [07:50:51]CAPDU: 80 11 00 00 [07:50:51]Write to MH i2c: E2 08 00 15 19 80 11 00 00 00 00 00 00 A8 [07:50:51]Write i2c OK [07:50:51]MH_I2C_Read... [07:50:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:50:51]Read from MH i2c: E2 [07:50:51]MH_I2C_Read... [07:50:51]Read from MH i2c: E2 17 00 [07:50:51]MH_I2C_Read... [07:50:51]Read from MH i2c: E2 17 00 15 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 02 [07:50:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:50:51]wFMCommunicate OK [07:50:51]requested_item fd.num is exist - process it [07:50:51]SAM_PROTO_GetFieldsCounters [07:50:51]wFMCommunicate request_size=4 [07:50:51]MH_SAM_APDU [07:50:51]CAPDU: 80 13 00 00 [07:50:51]Write to MH i2c: E2 08 00 16 19 80 13 00 00 00 00 00 00 AB [07:50:51]Write i2c OK [07:50:51]MH_I2C_Read... [07:50:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:50:51]Read from MH i2c: E2 [07:50:51]MH_I2C_Read... [07:50:51]Read from MH i2c: E2 62 00 [07:50:51]MH_I2C_Read... [07:50:51]Read from MH i2c: E2 62 00 16 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 12 58 00 00 0E 04 04 00 E8 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 3E [07:50:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 12 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:50:51]wFMCommunicate OK [07:50:51]SAM_PROTO_GetFieldsCounters done [07:50:51]requested_item shift.num is exist - process it [07:50:51]requested_item shift.opened is exist - process it [07:50:51]req_shift_opened [07:50:51]FM_GetShiftState [07:50:51]SAM_PROTO_GetShiftState [07:50:51]wFMCommunicate request_size=4 [07:50:51]MH_SAM_APDU [07:50:51]CAPDU: 80 13 01 00 [07:50:51]Write to MH i2c: E2 08 00 17 19 80 13 01 00 00 00 00 00 AD [07:50:51]Write i2c OK [07:50:51]MH_I2C_Read... [07:50:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:50:51]Read from MH i2c: E2 [07:50:51]MH_I2C_Read... [07:50:51]Read from MH i2c: E2 0E 00 [07:50:51]MH_I2C_Read... [07:50:51]Read from MH i2c: E2 0E 00 17 19 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 6D [07:50:51]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [07:50:51]wFMCommunicate OK [07:50:51]SAM_PROTO_GetShiftState done [07:50:51]FM_GetShiftState done [07:50:51]req_shift_opened done [07:50:51]requested_item shift.open_date is exist - process it [07:50:51]req_shift_open_date [07:50:51]req_shift_open_date done [07:50:51]produce_requested_data done [07:50:51]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22546,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [07:50:51]process_action_free close_receipt [07:50:51]json_value_free [07:50:51]json_value_free done [07:50:51]process_json_proto returns [07:50:51]Send response to host [07:50:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22546,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [07:50:51]free response buf [07:50:51]execute_script done [07:50:51]execute_script returns [07:50:51]free content buf [07:50:51]Sock 9.Close socket [07:50:51]Sock 9.Thread stoped [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:45]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:53:00]OFD Sender: No OFD packet to send [07:53:05]OFD Sender: No OFD packet to send [07:53:10]OFD Sender: No OFD packet to send [07:53:15]OFD Sender: No OFD packet to send [07:53:20]OFD Sender: No OFD packet to send [07:53:25]OFD Sender: No OFD packet to send [07:53:30]OFD Sender: No OFD packet to send [07:53:35]OFD Sender: No OFD packet to send [07:53:40]OFD Sender: No OFD packet to send [07:53:45]OFD Sender: No OFD packet to send [07:53:50]OFD Sender: No OFD packet to send [07:53:55]OFD Sender: No OFD packet to send [07:54:00]OFD Sender: No OFD packet to send [07:54:05]OFD Sender: No OFD packet to send [07:54:10]OFD Sender: No OFD packet to send [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:30]OFD Sender: No OFD packet to send [07:54:35]OFD Sender: No OFD packet to send [07:54:40]OFD Sender: No OFD packet to send [07:54:45]OFD Sender: No OFD packet to send [07:54:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:10]OFD Sender: No OFD packet to send [07:55:15]OFD Sender: No OFD packet to send [07:55:20]OFD Sender: No OFD packet to send [07:55:25]OFD Sender: No OFD packet to send [07:55:30]OFD Sender: No OFD packet to send [07:55:35]OFD Sender: No OFD packet to send [07:55:40]OFD Sender: No OFD packet to send [07:55:45]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]OFD Sender: No OFD packet to send [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]OFD Sender: No OFD packet to send [08:06:06]OFD Sender: No OFD packet to send [08:06:11]OFD Sender: No OFD packet to send [08:06:16]OFD Sender: No OFD packet to send [08:06:21]OFD Sender: No OFD packet to send [08:06:26]OFD Sender: No OFD packet to send [08:06:31]OFD Sender: No OFD packet to send [08:06:36]OFD Sender: No OFD packet to send [08:06:41]OFD Sender: No OFD packet to send [08:06:46]OFD Sender: No OFD packet to send [08:06:51]OFD Sender: No OFD packet to send [08:06:56]OFD Sender: No OFD packet to send [08:07:01]OFD Sender: No OFD packet to send [08:07:06]OFD Sender: No OFD packet to send [08:07:11]OFD Sender: No OFD packet to send [08:07:16]OFD Sender: No OFD packet to send [08:07:21]OFD Sender: No OFD packet to send [08:07:26]OFD Sender: No OFD packet to send [08:07:31]OFD Sender: No OFD packet to send [08:07:36]OFD Sender: No OFD packet to send [08:07:41]OFD Sender: No OFD packet to send [08:07:46]OFD Sender: No OFD packet to send [08:07:51]OFD Sender: No OFD packet to send [08:07:56]OFD Sender: No OFD packet to send [08:08:01]OFD Sender: No OFD packet to send [08:08:06]OFD Sender: No OFD packet to send [08:08:11]OFD Sender: No OFD packet to send [08:08:16]OFD Sender: No OFD packet to send [08:08:21]OFD Sender: No OFD packet to send [08:08:26]OFD Sender: No OFD packet to send [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:47]accept exits with 7 [08:09:47]New connection [08:09:47]New thread 3067583844 created [08:09:47]Thread 3067440484 joined [08:09:47]Waiting for new connection... [08:09:47] Sock 7.Parse request [08:09:47]Sock 7.Check first char [08:09:47]Sock 7.First char is OK [08:09:47]request: POST /json_proto HTTP/1.0 [08:09:47]Method: POST [08:09:47]URL: /json_proto [08:09:47]Method is POST - this is cgi request [08:09:47]url: /json_proto [08:09:47]query_string will be loaded in cgi processing [08:09:47]execute_cgi json_proto POST (null) [08:09:47]execute_cgi path=json_proto method=POST [08:09:47]POST find Content-Length [08:09:47]Host: 172.17.43.4:8080 [08:09:47]Content-Length: 846 [08:09:47]Content-Type: application/json [08:09:47] [08:09:47]POST finish read [08:09:47]Found Content-Length = 846 [08:09:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51740", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:09:47]execute_script... [08:09:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51740", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:09:47]POST & json_proto [08:09:47]process_json_proto [08:09:47]json parsed OK: [08:09:47]protocol is kg_v1.0 [08:09:47]action value=close_receipt [08:09:47]process_action close_receipt [08:09:47]cmd_close_receipt [08:09:47]MH_GetDate [08:09:47]Write to MH i2c: F0 00 00 18 19 20 [08:09:47]Write i2c OK [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: F0 [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: F0 09 00 [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: F0 09 00 18 19 00 D0 16 F5 66 02 BF CF 66 60 [08:09:47]GetLastDocTimeStamp 1727337051 [08:09:47]current date 1727338192 [08:09:47]FM_GetShiftState [08:09:47]SAM_PROTO_GetShiftState [08:09:47]wFMCommunicate request_size=4 [08:09:47]MH_SAM_APDU [08:09:47]CAPDU: 80 13 01 00 [08:09:47]Write to MH i2c: E2 08 00 19 19 80 13 01 00 00 00 00 00 AF [08:09:47]Write i2c OK [08:09:47]MH_I2C_Read... [08:09:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:47]Read from MH i2c: E2 [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: E2 0E 00 [08:09:47]MH_I2C_Read... [08:09:47]Read from MH i2c: E2 0E 00 19 19 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 6F [08:09:47]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:09:47]wFMCommunicate OK [08:09:47]SAM_PROTO_GetShiftState done [08:09:47]FM_GetShiftState done [08:09:47]opened in 1727309492 [08:09:47]opened+sec_in_day 1727395892 [08:09:47]quantity*price = 5500 [08:09:47]sum+1 = 5501 [08:09:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 65.00 ÐСП 1% : 0.58 ÐДС 12% : 6.90 Ðаличными: 65.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 11 26.09.2024 08:09 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22547 ФПД: 280218208242914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T080952&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22547&fm=280218208242914&tin=02508201610067®Number=0000000000146243&sum=6500 0 [08:09:48]StoreToDocumentArchive [08:09:48]shift 232 fd 22547 [08:09:48]save to /storage/0232/doc_00022547 [08:09:48]save last doc name /storage/0232/doc_00022547 to /storage/kkm_last_doc_name [08:09:48]save OK [08:09:48]Clear old archive folders... [08:09:48]ProcessDocumentItem done err = 0, tmpTLVsize=378 [08:09:48]tlvbuf is 002B9C60 [08:09:48]SAM_PROTO_ClearQueue [08:09:48]wFMCommunicate request_size=4 [08:09:48]MH_SAM_APDU [08:09:48]CAPDU: 80 09 00 00 [08:09:48]Write to MH i2c: E2 08 00 26 19 80 09 00 00 00 00 00 00 B1 [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:09:48]Read from MH i2c: E2 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 [08:09:48]MH_I2C_Read... [08:09:48]Read from MH i2c: E2 03 00 26 19 00 90 00 B3 [08:09:48]RAPDU: 90 00 [08:09:48]wFMCommunicate OK [08:09:48]SAM_PROTO_ClearQueue done [08:09:48]KKMCreateOFDPacket [08:09:48]OFDProtocolAddRootSTLVToBuf [08:09:48]FM_MakeSignedData [08:09:48]FM_MakeSignedData [08:09:48]SAM_PROTO_SignData [08:09:48]wFMCommunicate request_size=4 [08:09:48]MH_SAM_APDU [08:09:48]CAPDU: 80 0D 01 02 [08:09:48]Write to MH i2c: E2 08 00 27 19 80 0D 01 02 00 00 00 00 B9 [08:09:48]Write i2c OK [08:09:48]MH_I2C_Read... [08:09:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:09:49]Read from MH i2c: E2 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 03 00 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 03 00 27 19 00 90 00 B4 [08:09:49]RAPDU: 90 00 [08:09:49]wFMCommunicate OK [08:09:49]wFMCommunicate request_size=255 [08:09:49]MH_SAM_APDU [08:09:49]CAPDU: 80 0D 02 02 FA 03 00 7A 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 00 00 00 00 00 [08:09:49]Write to MH i2c: E2 02 01 28 19 80 0D 02 02 FA 00 03 00 7A 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 00 00 00 00 00 00 00 99 [08:09:49]Write i2c OK [08:09:49]MH_I2C_Read... [08:09:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:09:49]Read from MH i2c: E2 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 03 00 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 03 00 28 19 00 90 00 B5 [08:09:49]RAPDU: 90 00 [08:09:49]wFMCommunicate OK [08:09:49]wFMCommunicate request_size=137 [08:09:49]MH_SAM_APDU [08:09:49]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 D0 16 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 13 58 00 00 35 04 06 00 FE DB 62 C3 0C E2 [08:09:49]Write to MH i2c: E2 8C 00 29 19 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 D0 16 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 13 58 00 00 35 04 06 00 FE DB 62 C3 0C E2 00 00 AF [08:09:49]Write i2c OK [08:09:49]MH_I2C_Read... [08:09:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:09:49]Read from MH i2c: E2 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 03 00 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 03 00 29 19 00 90 00 B6 [08:09:49]RAPDU: 90 00 [08:09:49]wFMCommunicate OK [08:09:49]wFMCommunicate request_size=4 [08:09:49]MH_SAM_APDU [08:09:49]CAPDU: 80 0D 03 02 [08:09:49]Write to MH i2c: E2 08 00 2A 19 80 0D 03 02 00 00 00 00 BE [08:09:49]Write i2c OK [08:09:49]MH_I2C_Read... [08:09:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:09:49]Read from MH i2c: E2 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 0B 00 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 0B 00 2A 19 00 62 2D 32 67 2B F2 E9 87 90 00 74 [08:09:49]RAPDU: 62 2D 32 67 2B F2 E9 87 90 00 [08:09:49]wFMCommunicate OK [08:09:49]SAM_PROTO_SignData done [08:09:49]FM_MakeSignedData done [08:09:49]CreateOFDProtocolMessage [08:09:49]wFMCommunicate request_size=4 [08:09:49]MH_SAM_APDU [08:09:49]CAPDU: 80 11 00 00 [08:09:49]Write to MH i2c: E2 08 00 2B 19 80 11 00 00 00 00 00 00 BE [08:09:49]Write i2c OK [08:09:49]MH_I2C_Read... [08:09:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:49]Read from MH i2c: E2 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 17 00 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: E2 17 00 2B 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 18 [08:09:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:09:49]wFMCommunicate OK [08:09:49]CreateOFDProtocolMessage done [08:09:49]OFDSenderStorePacket 22547 [08:09:49]StoreOFDPacket docnum=22547 [08:09:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8E 01 00 00 82 FB 86 01 A1 69 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 D0 16 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 13 58 00 00 35 04 06 00 FE DB 62 C3 0C E2 62 2D 32 67 2B F2 E9 87 [08:09:49]CheckFolder [08:09:49]dirname=/storage/ofd_packets [08:09:49]CheckFolder done [08:09:49]ProducePacketName [08:09:49]name=ofd_packets/00022547 [08:09:49]NVStorageSaveData ofd_packets/00022547 [08:09:49]File name is /storage/ofd_packets/00022547 [08:09:49]Write 428 bytes [08:09:49]NVStorageSaveData done [08:09:49]OFDSenderStorePacket done [08:09:49]KKMCreateOFDPacket done [08:09:49]NVStorageSaveData kkm_last_timestamp [08:09:49]File name is /storage/kkm_last_timestamp [08:09:49]Write 4 bytes [08:09:49]NVStorageSaveData done [08:09:49]ExternCall_PrintAddStr [08:09:49]wPrintStart [08:09:49]Write to MH i2c: 01 00 00 2C 19 45 [08:09:49]Write i2c OK [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: 01 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: 01 07 00 [08:09:49]MH_I2C_Read... [08:09:49]Read from MH i2c: 01 07 00 2C 19 00 00 00 00 00 FF 0F 5A [08:09:49]RasterBufferAndPrint [08:09:49]line Счет N : (3)51740 [08:09:49]line ИÐÐ: 02508201610067 [08:09:49]line Контрольно-КаÑÑовый Чек [08:09:49]line ПРОДÐЖР[08:09:49]line Товар: 4870112003925 [08:09:49]line Конд ULKER-Albeni 40gr (6*24) [08:09:49]line 1.000 * 55.00 [08:09:49]line = 55.00 [08:09:49]line ÐДС 12% ÐСП 1% [08:09:49]line > о реализуемом товаре [08:09:49]line Товар: 46226624 [08:09:49]line Mentos ПВ Клубника 6*100*2 [08:09:49]line 1.000 * 10.00 [08:09:49]line = 10.00 [08:09:49]line ÐДС 12% ÐСП 1% [08:09:49]line > о реализуемом товаре [08:09:49]line ИТОГО: 65.00 [08:09:49]line ÐСП 1% : 0.58 [08:09:49]line ÐДС 12% : 6.90 [08:09:49]line Ðаличными: 65.00 [08:09:49]line Безнал.: 0.00 [08:09:49]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:09:49]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:09:49]line СÐО: Общий режим [08:09:49]line Чек 11 26.09.2024 08:09 [08:09:49]line Смена: 232 ФФД: 1.0 [08:09:49]line ЗÐМ: 0300000061 [08:09:49]line РÐМ: 0000000000146243 [08:09:49]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:09:49]line ФМ: 0000000000959358 [08:09:49]line ФД: 22547 [08:09:49]line ФПД: 280218208242914 [08:09:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T080952&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22547&fm=280218208242914&tin=02508201610067®Number=0000000000146243&sum=6500 [08:09:49]OFD Sender: Processing packet 22547 [packets to send 23, broken 22] [08:09:49]ProducePacketName [08:09:49]name=ofd_packets/00022547 [08:09:49]OFD Sender: To server: ‡•öpG, [08:09:49]CommunicateWithHost lk.salyk.kg:30040 [08:09:49]ConnectInit lk.salyk.kg [08:09:49]line 0 [08:09:49]written 0, free lines is 4095 [08:09:50]Write to MH i2c: 01 00 00 5A 19 73 [08:09:50]Write i2c OK [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: 01 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: 01 07 00 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: 01 07 00 5A 19 00 00 00 00 00 D1 0C 57 [08:09:50]RasterBufferAndPrint [08:09:50]line [08:09:50]line [08:09:50]line [08:09:50]line [08:09:50]line [08:09:50]written 0, free lines is 3287 [08:09:50]MH_Cut [08:09:50]Write to MH i2c: D1 01 00 61 19 01 4C [08:09:50]Write i2c OK [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: D1 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: D1 01 00 [08:09:50]MH_I2C_Read... [08:09:50]Read from MH i2c: D1 01 00 61 19 00 4B [08:09:50]Write to MH i2c: 01 00 00 62 19 7B [08:09:50]Write i2c OK [08:09:50]MH_I2C_Read... [08:09:51]*** Cut start [08:09:51]*** Partial cut [08:09:51]*** CUTSNS_PIN = 1 [08:09:51]*** CUTSNS_PIN = 0 [08:09:51]*** Brake cut motor [08:09:51]Read from MH i2c: 01 [08:09:51]MH_I2C_Read... [08:09:51]*** Stop cut motor [08:09:51]*** Cut end [08:09:51]Read from MH i2c: 01 07 00 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: 01 07 00 62 19 00 00 00 00 00 FF 0F 90 [08:09:51]process_action close_receipt done [08:09:51]requested_data is exist [08:09:51]produce_requested_data [08:09:51]requested_item fm.sn is exist - process it [08:09:51]wFMCommunicate request_size=4 [08:09:51]MH_SAM_APDU [08:09:51]CAPDU: 80 11 00 00 [08:09:51]Write to MH i2c: E2 08 00 63 19 80 11 00 00 00 00 00 00 F6 [08:09:51]Write i2c OK [08:09:51]MH_I2C_Read... [08:09:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:51]Read from MH i2c: E2 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 17 00 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 17 00 63 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 50 [08:09:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:09:51]wFMCommunicate OK [08:09:51]requested_item fd.num is exist - process it [08:09:51]SAM_PROTO_GetFieldsCounters [08:09:51]wFMCommunicate request_size=4 [08:09:51]MH_SAM_APDU [08:09:51]CAPDU: 80 13 00 00 [08:09:51]Write to MH i2c: E2 08 00 64 19 80 13 00 00 00 00 00 00 F9 [08:09:51]Write i2c OK [08:09:51]MH_I2C_Read... [08:09:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:09:51]Read from MH i2c: E2 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 62 00 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 62 00 64 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 13 58 00 00 0E 04 04 00 E8 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 90 [08:09:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 13 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:09:51]wFMCommunicate OK [08:09:51]SAM_PROTO_GetFieldsCounters done [08:09:51]requested_item shift.num is exist - process it [08:09:51]requested_item shift.opened is exist - process it [08:09:51]req_shift_opened [08:09:51]FM_GetShiftState [08:09:51]SAM_PROTO_GetShiftState [08:09:51]wFMCommunicate request_size=4 [08:09:51]MH_SAM_APDU [08:09:51]CAPDU: 80 13 01 00 [08:09:51]Write to MH i2c: E2 08 00 65 19 80 13 01 00 00 00 00 00 FB [08:09:51]Write i2c OK [08:09:51]MH_I2C_Read... [08:09:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:51]Read from MH i2c: E2 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 0E 00 [08:09:51]MH_I2C_Read... [08:09:51]Read from MH i2c: E2 0E 00 65 19 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 BB [08:09:51]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:09:51]wFMCommunicate OK [08:09:51]SAM_PROTO_GetShiftState done [08:09:51]FM_GetShiftState done [08:09:51]req_shift_opened done [08:09:51]requested_item shift.open_date is exist - process it [08:09:51]req_shift_open_date [08:09:51]req_shift_open_date done [08:09:51]produce_requested_data done [08:09:51]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22547,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:09:51]process_action_free close_receipt [08:09:51]json_value_free [08:09:51]json_value_free done [08:09:51]process_json_proto returns [08:09:51]Send response to host [08:09:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22547,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:09:51]free response buf [08:09:51]execute_script done [08:09:51]execute_script returns [08:09:51]free content buf [08:09:51]Sock 7.Close socket [08:09:51]Sock 7.Thread stoped [08:12:00]ConnectInit Can't connect to host [08:12:00]CommunicateWithHost connect error [08:12:00]CommunicateWithHost err = -1 [08:12:00]OFD Sender: Server communicate error [08:12:05]OFD Sender: Processing packet 22547 [packets to send 23, broken 22] [08:12:05]ProducePacketName [08:12:05]name=ofd_packets/00022547 [08:12:05]OFD Sender: To server: ‡•öpG, [08:12:05]CommunicateWithHost lk.salyk.kg:30040 [08:12:05]ConnectInit lk.salyk.kg [08:12:05]Connected sock=7 [08:12:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8E 01 00 00 82 FB 86 01 A1 69 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 D0 16 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 13 58 00 00 35 04 06 00 FE DB 62 C3 0C E2 62 2D 32 67 2B F2 E9 87 [08:12:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 2F 77 47 00 3C E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 13 58 00 00 F4 03 04 00 77 C1 F4 66 B6 04 01 00 00 66 D7 C8 CC 1F 88 8F 01 [08:12:05]CommunicateWithHost err = 0 [08:12:05]CheckOFDResponse [08:12:05]1017 (14) - 77093643461234 [08:12:05]1041 (16) - 0000000000959358 [08:12:05]1040 (4) - 22547 [08:12:05]1012 (4) - 26.09.2024 02:05 [08:12:05]1206 (1) - 0 [08:12:05]OFD Sender: Remove packet 22547 [08:12:05]ProducePacketName [08:12:05]name=ofd_packets/00022547 [08:12:05]NVStorageDeleteData [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:17]accept exits with 9 [08:18:17]New connection [08:18:17]New thread 3067440484 created [08:18:17]Thread 3067583844 joined [08:18:17]Waiting for new connection... [08:18:17] Sock 9.Parse request [08:18:17]Sock 9.Check first char [08:18:17]Sock 9.First char is OK [08:18:17]request: POST /json_proto HTTP/1.0 [08:18:17]Method: POST [08:18:17]URL: /json_proto [08:18:17]Method is POST - this is cgi request [08:18:17]url: /json_proto [08:18:17]query_string will be loaded in cgi processing [08:18:17]execute_cgi json_proto POST (null) [08:18:17]execute_cgi path=json_proto method=POST [08:18:17]POST find Content-Length [08:18:17]Host: 172.17.43.4:8080 [08:18:17]Content-Length: 762 [08:18:17]Content-Type: application/json [08:18:17] [08:18:17]POST finish read [08:18:17]Found Content-Length = 762 [08:18:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165355", "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" : 0.00, "quantity" : 7.380, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:18:17]execute_script... [08:18: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)2165355", "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" : 0.00, "quantity" : 7.380, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:18:17]POST & json_proto [08:18:17]process_json_proto [08:18:17]json parsed OK: [08:18:17]protocol is kg_v1.0 [08:18:17]action value=close_receipt [08:18:17]process_action close_receipt [08:18:17]cmd_close_receipt [08:18:17]MH_GetDate [08:18:17]Write to MH i2c: F0 00 00 66 19 6E [08:18:17]Write i2c OK [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: F0 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: F0 09 00 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: F0 09 00 66 19 00 CD 18 F5 66 02 BF CF 66 AD [08:18:17]GetLastDocTimeStamp 1727338192 [08:18:17]current date 1727338701 [08:18:17]FM_GetShiftState [08:18:17]SAM_PROTO_GetShiftState [08:18:17]wFMCommunicate request_size=4 [08:18:17]MH_SAM_APDU [08:18:17]CAPDU: 80 13 01 00 [08:18:17]Write to MH i2c: E2 08 00 67 19 80 13 01 00 00 00 00 00 FD [08:18:17]Write i2c OK [08:18:17]MH_I2C_Read... [08:18:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:17]Read from MH i2c: E2 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: E2 0E 00 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: E2 0E 00 67 19 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 BD [08:18:17]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:18:17]wFMCommunicate OK [08:18:17]SAM_PROTO_GetShiftState done [08:18:17]FM_GetShiftState done [08:18:17]opened in 1727309492 [08:18:17]opened+sec_in_day 1727395892 [08:18:17]quantity*price = 0 [08:18:17]sum+1 = 1 [08:18:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 12 26.09.2024 08:18 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000959358 ФД: 22548 ФПД: 65314783687579 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T081821&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22548&fm=65314783687579&tin=02508201610067®Number=0000000000146243&sum=0 [08:18:18]StoreToDocumentArchive [08:18:18]shift 232 fd 22548 [08:18:18]save to /storage/0232/doc_00022548 [08:18:18]save last doc name /storage/0232/doc_00022548 to /storage/kkm_last_doc_name [08:18:18]save OK [08:18:18]Clear old archive folders... [08:18:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:18:18]tlvbuf is B6F74510 [08:18:18]SAM_PROTO_ClearQueue [08:18:18]wFMCommunicate request_size=4 [08:18:18]MH_SAM_APDU [08:18:18]CAPDU: 80 09 00 00 [08:18:18]Write to MH i2c: E2 08 00 74 19 80 09 00 00 00 00 00 00 FF [08:18:18]Write i2c OK [08:18:18]MH_I2C_Read... [08:18:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:18:18]Read from MH i2c: E2 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 03 00 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 03 00 74 19 00 90 00 01 [08:18:18]RAPDU: 90 00 [08:18:18]wFMCommunicate OK [08:18:18]SAM_PROTO_ClearQueue done [08:18:18]KKMCreateOFDPacket [08:18:18]OFDProtocolAddRootSTLVToBuf [08:18:18]FM_MakeSignedData [08:18:18]FM_MakeSignedData [08:18:18]SAM_PROTO_SignData [08:18:18]wFMCommunicate request_size=4 [08:18:18]MH_SAM_APDU [08:18:18]CAPDU: 80 0D 01 02 [08:18:18]Write to MH i2c: E2 08 00 75 19 80 0D 01 02 00 00 00 00 07 [08:18:18]Write i2c OK [08:18:18]MH_I2C_Read... [08:18:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:18:18]Read from MH i2c: E2 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 03 00 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 03 00 75 19 00 90 00 02 [08:18:18]RAPDU: 90 00 [08:18:18]wFMCommunicate OK [08:18:18]wFMCommunicate request_size=255 [08:18:18]MH_SAM_APDU [08:18: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 D4 1C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 CD 18 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 14 58 00 00 35 04 06 00 3B [08:18:18]Write to MH i2c: E2 02 01 76 19 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 D4 1C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 CD 18 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 14 58 00 00 35 04 06 00 3B 00 00 DE [08:18:18]Write i2c OK [08:18:18]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 03 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 03 00 76 19 00 90 00 03 [08:18:19]RAPDU: 90 00 [08:18:19]wFMCommunicate OK [08:18:19]wFMCommunicate request_size=10 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 0D 02 02 05 67 48 7A F3 9B [08:18:19]Write to MH i2c: E2 0D 00 77 19 80 0D 02 02 05 00 67 48 7A F3 9B 00 00 CB [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 03 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 03 00 77 19 00 90 00 04 [08:18:19]RAPDU: 90 00 [08:18:19]wFMCommunicate OK [08:18:19]wFMCommunicate request_size=4 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 0D 03 02 [08:18:19]Write to MH i2c: E2 08 00 78 19 80 0D 03 02 00 00 00 00 0C [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 0B 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 0B 00 78 19 00 7D 2C 58 71 75 19 7B 29 90 00 B1 [08:18:19]RAPDU: 7D 2C 58 71 75 19 7B 29 90 00 [08:18:19]wFMCommunicate OK [08:18:19]SAM_PROTO_SignData done [08:18:19]FM_MakeSignedData done [08:18:19]CreateOFDProtocolMessage [08:18:19]wFMCommunicate request_size=4 [08:18:19]MH_SAM_APDU [08:18:19]CAPDU: 80 11 00 00 [08:18:19]Write to MH i2c: E2 08 00 79 19 80 11 00 00 00 00 00 00 0C [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:19]Read from MH i2c: E2 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 17 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: E2 17 00 79 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 66 [08:18:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:18:19]wFMCommunicate OK [08:18:19]CreateOFDProtocolMessage done [08:18:19]OFDSenderStorePacket 22548 [08:18:19]StoreOFDPacket docnum=22548 [08:18:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 00 AD 07 01 74 29 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 D4 1C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 CD 18 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 14 58 00 00 35 04 06 00 3B 67 48 7A F3 9B 7D 2C 58 71 75 19 7B 29 [08:18:19]CheckFolder [08:18:19]dirname=/storage/ofd_packets [08:18:19]CheckFolder done [08:18:19]ProducePacketName [08:18:19]name=ofd_packets/00022548 [08:18:19]NVStorageSaveData ofd_packets/00022548 [08:18:19]File name is /storage/ofd_packets/00022548 [08:18:19]Write 301 bytes [08:18:19]NVStorageSaveData done [08:18:19]OFDSenderStorePacket done [08:18:19]KKMCreateOFDPacket done [08:18:19]NVStorageSaveData kkm_last_timestamp [08:18:19]File name is /storage/kkm_last_timestamp [08:18:19]Write 4 bytes [08:18:19]NVStorageSaveData done [08:18:19]ExternCall_PrintAddStr [08:18:19]wPrintStart [08:18:19]Write to MH i2c: 01 00 00 7A 19 93 [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: 01 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: 01 07 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: 01 07 00 7A 19 00 00 00 00 00 FF 0F A8 [08:18:19]RasterBufferAndPrint [08:18:19]line Счет N : (1)2165355 [08:18:19]line ИÐÐ: 02508201610067 [08:18:19]line Контрольно-КаÑÑовый Чек [08:18:19]line ПРОДÐЖР[08:18:19]line ТРК (МРК, ГÐК) : 12 [08:18:19]line Товар: 2710124130 [08:18:19]line Ðи-92-К-5 [08:18:19]line 7.380 * 0.00 [08:18:19]line = 0.00 [08:18:19]line ÐДС 12% ÐСП 1% [08:18:19]line > о реализуемом товаре [08:18:19]line ИТОГО: 0.00 [08:18:19]line ÐСП 1% : 0.00 [08:18:19]line ÐДС 12% : 0.00 [08:18:19]line Ðаличными: 0.00 [08:18:19]line Безнал.: 0.00 [08:18:19]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:18:19]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:18:19]line СÐО: Общий режим [08:18:19]line Чек 12 26.09.2024 08:18 [08:18:19]line Смена: 232 ФФД: 1.0 [08:18:19]line ЗÐМ: 0300000061 [08:18:19]line РÐМ: 0000000000146243 [08:18:19]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:18:19]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [08:18:19]line ФМ: 0000000000959358 [08:18:19]line ФД: 22548 [08:18:19]line ФПД: 65314783687579 [08:18:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T081821&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22548&fm=65314783687579&tin=02508201610067®Number=0000000000146243&sum=0 [08:18:19]OFD Sender: Processing packet 22548 [packets to send 23, broken 22] [08:18:19]ProducePacketName [08:18:19]name=ofd_packets/00022548 [08:18:19]OFD Sender: To server: ‡•öpG, [08:18:19]CommunicateWithHost lk.salyk.kg:30040 [08:18:19]ConnectInit lk.salyk.kg [08:18:19]written 0, free lines is 4095 [08:18:19]Connected sock=10 [08:18:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 00 AD 07 01 74 29 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 D4 1C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 CD 18 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 14 58 00 00 35 04 06 00 3B 67 48 7A F3 9B 7D 2C 58 71 75 19 7B 29 [08:18:20]Write to MH i2c: 01 00 00 A3 19 BC [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: 01 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: 01 07 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: 01 07 00 A3 19 00 00 00 00 00 24 0D F4 [08:18:20]RasterBufferAndPrint [08:18:20]line [08:18:20]line [08:18:20]line [08:18:20]line [08:18:20]line [08:18:20]written 0, free lines is 3370 [08:18:20]MH_Cut [08:18:20]Write to MH i2c: D1 01 00 AA 19 01 95 [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: D1 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: D1 01 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: D1 01 00 AA 19 00 94 [08:18:20]Write to MH i2c: 01 00 00 AB 19 C4 [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 37 9A 47 00 46 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 14 58 00 00 F4 03 04 00 EE C2 F4 66 B6 04 01 00 00 20 DF B5 3F 48 C9 00 00 [08:18:20]CommunicateWithHost err = 0 [08:18:20]CheckOFDResponse [08:18:20]1017 (14) - 77093643461234 [08:18:20]1041 (16) - 0000000000959358 [08:18:20]1040 (4) - 22548 [08:18:20]1012 (4) - 26.09.2024 02:11 [08:18:20]1206 (1) - 0 [08:18:20]OFD Sender: Remove packet 22548 [08:18:20]ProducePacketName [08:18:20]name=ofd_packets/00022548 [08:18:20]NVStorageDeleteData [08:18:20]OFD Sender: No OFD packet to send [08:18:20]*** Cut start [08:18:20]*** Partial cut [08:18:20]*** CUTSNS_PIN = 1 [08:18:20]*** CUTSNS_PIN = 0 [08:18:20]*** Brake cut motor [08:18:21]Read from MH i2c: 01 [08:18:21]MH_I2C_Read... [08:18:21]*** Stop cut motor [08:18:21]*** Cut end [08:18:21]Read from MH i2c: 01 07 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: 01 07 00 AB 19 00 00 00 00 00 FF 0F D9 [08:18:21]process_action close_receipt done [08:18:21]requested_data is exist [08:18:21]produce_requested_data [08:18:21]requested_item fm.sn is exist - process it [08:18:21]wFMCommunicate request_size=4 [08:18:21]MH_SAM_APDU [08:18:21]CAPDU: 80 11 00 00 [08:18:21]Write to MH i2c: E2 08 00 AC 19 80 11 00 00 00 00 00 00 3F [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:21]Read from MH i2c: E2 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 17 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 17 00 AC 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 99 [08:18:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:18:21]wFMCommunicate OK [08:18:21]requested_item fd.num is exist - process it [08:18:21]SAM_PROTO_GetFieldsCounters [08:18:21]wFMCommunicate request_size=4 [08:18:21]MH_SAM_APDU [08:18:21]CAPDU: 80 13 00 00 [08:18:21]Write to MH i2c: E2 08 00 AD 19 80 13 00 00 00 00 00 00 42 [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:18:21]Read from MH i2c: E2 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 62 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 62 00 AD 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 14 58 00 00 0E 04 04 00 E8 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 DD [08:18:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 14 58 00 00 0E 04 04 00 E8 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 [08:18:21]wFMCommunicate OK [08:18:21]SAM_PROTO_GetFieldsCounters done [08:18:21]requested_item shift.num is exist - process it [08:18:21]requested_item shift.opened is exist - process it [08:18:21]req_shift_opened [08:18:21]FM_GetShiftState [08:18:21]SAM_PROTO_GetShiftState [08:18:21]wFMCommunicate request_size=4 [08:18:21]MH_SAM_APDU [08:18:21]CAPDU: 80 13 01 00 [08:18:21]Write to MH i2c: E2 08 00 AE 19 80 13 01 00 00 00 00 00 44 [08:18:21]Write i2c OK [08:18:21]MH_I2C_Read... [08:18:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:21]Read from MH i2c: E2 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 0E 00 [08:18:21]MH_I2C_Read... [08:18:21]Read from MH i2c: E2 0E 00 AE 19 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 04 [08:18:21]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:18:21]wFMCommunicate OK [08:18:21]SAM_PROTO_GetShiftState done [08:18:21]FM_GetShiftState done [08:18:21]req_shift_opened done [08:18:21]requested_item shift.open_date is exist - process it [08:18:21]req_shift_open_date [08:18:21]req_shift_open_date done [08:18:21]produce_requested_data done [08:18:21]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22548,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:18:21]process_action_free close_receipt [08:18:21]json_value_free [08:18:21]json_value_free done [08:18:21]process_json_proto returns [08:18:21]Send response to host [08:18:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22548,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:18:21]free response buf [08:18:21]execute_script done [08:18:21]execute_script returns [08:18:21]free content buf [08:18:21]Sock 9.Close socket [08:18:21]Sock 9.Thread stoped [08:18:25]OFD Sender: No OFD packet to send [08:18:30]OFD Sender: No OFD packet to send [08:18:35]OFD Sender: No OFD packet to send [08:18:40]OFD Sender: No OFD packet to send [08:18:45]OFD Sender: No OFD packet to send [08:18:50]OFD Sender: No OFD packet to send [08:18:55]OFD Sender: No OFD packet to send [08:19:00]OFD Sender: No OFD packet to send [08:19:05]OFD Sender: No OFD packet to send [08:19:10]OFD Sender: No OFD packet to send [08:19:15]OFD Sender: No OFD packet to send [08:19:20]OFD Sender: No OFD packet to send [08:19:25]OFD Sender: No OFD packet to send [08:19:30]OFD Sender: No OFD packet to send [08:19:35]OFD Sender: No OFD packet to send [08:19:40]OFD Sender: No OFD packet to send [08:19:45]OFD Sender: No OFD packet to send [08:19:50]OFD Sender: No OFD packet to send [08:19:55]OFD Sender: No OFD packet to send [08:20:00]OFD Sender: No OFD packet to send [08:20:04]accept exits with 7 [08:20:04]New connection [08:20:04]New thread 3067583844 created [08:20:04]Thread 3067440484 joined [08:20:04]Waiting for new connection... [08:20:04] Sock 7.Parse request [08:20:04]Sock 7.Check first char [08:20:04]Sock 7.First char is OK [08:20:04]request: POST /json_proto HTTP/1.0 [08:20:04]Method: POST [08:20:04]URL: /json_proto [08:20:04]Method is POST - this is cgi request [08:20:04]url: /json_proto [08:20:04]query_string will be loaded in cgi processing [08:20:04]execute_cgi json_proto POST (null) [08:20:04]execute_cgi path=json_proto method=POST [08:20:04]POST find Content-Length [08:20:04]Host: 172.17.43.4:8080 [08:20:04]Content-Length: 678 [08:20:04]Content-Type: application/json [08:20:04] [08:20:04]POST finish read [08:20:04]Found Content-Length = 678 [08:20:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165356", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 9.440, "sum" : 700.45, "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" ] } } [08:20:04]execute_script... [08:20: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)2165356", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 9.440, "sum" : 700.45, "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" ] } } [08:20:04]POST & json_proto [08:20:04]process_json_proto [08:20:04]json parsed OK: [08:20:04]protocol is kg_v1.0 [08:20:04]action value=close_receipt [08:20:04]process_action close_receipt [08:20:04]cmd_close_receipt [08:20:04]MH_GetDate [08:20:04]Write to MH i2c: F0 00 00 AF 19 B7 [08:20:04]Write i2c OK [08:20:04]MH_I2C_Read... [08:20:04]Read from MH i2c: F0 [08:20:04]MH_I2C_Read... [08:20:04]Read from MH i2c: F0 09 00 [08:20:04]MH_I2C_Read... [08:20:04]Read from MH i2c: F0 09 00 AF 19 00 38 19 F5 66 02 BF CF 66 62 [08:20:04]GetLastDocTimeStamp 1727338701 [08:20:04]current date 1727338808 [08:20:04]FM_GetShiftState [08:20:04]SAM_PROTO_GetShiftState [08:20:04]wFMCommunicate request_size=4 [08:20:04]MH_SAM_APDU [08:20:04]CAPDU: 80 13 01 00 [08:20:04]Write to MH i2c: E2 08 00 B0 19 80 13 01 00 00 00 00 00 46 [08:20:04]Write i2c OK [08:20:04]MH_I2C_Read... [08:20:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:04]Read from MH i2c: E2 [08:20:04]MH_I2C_Read... [08:20:04]Read from MH i2c: E2 0E 00 [08:20:04]MH_I2C_Read... [08:20:04]Read from MH i2c: E2 0E 00 B0 19 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 06 [08:20:04]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:20:04]wFMCommunicate OK [08:20:04]SAM_PROTO_GetShiftState done [08:20:04]FM_GetShiftState done [08:20:04]opened in 1727309492 [08:20:04]opened+sec_in_day 1727395892 [08:20:04]quantity*price = 70044 [08:20:04]sum+1 = 70046 [08:20:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 13 26.09.2024 08:20 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22549 ФПД: 75132012474562 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082008&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22549&fm=75132012474562&tin=02508201610067®Number=0000000000146243&sum=70000 [08:20:05]StoreToDocumentArchive [08:20:05]shift 232 fd 22549 [08:20:05]save to /storage/0232/doc_00022549 [08:20:05]save last doc name /storage/0232/doc_00022549 to /storage/kkm_last_doc_name [08:20:05]save OK [08:20:05]Clear old archive folders... [08:20:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:20:05]tlvbuf is 0022A020 [08:20:05]SAM_PROTO_ClearQueue [08:20:05]wFMCommunicate request_size=4 [08:20:05]MH_SAM_APDU [08:20:05]CAPDU: 80 09 00 00 [08:20:05]Write to MH i2c: E2 08 00 BD 19 80 09 00 00 00 00 00 00 48 [08:20:05]Write i2c OK [08:20:05]MH_I2C_Read... [08:20:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:20:05]Read from MH i2c: E2 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 03 00 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 03 00 BD 19 00 90 00 4A [08:20:05]RAPDU: 90 00 [08:20:05]wFMCommunicate OK [08:20:05]SAM_PROTO_ClearQueue done [08:20:05]KKMCreateOFDPacket [08:20:05]OFDProtocolAddRootSTLVToBuf [08:20:05]FM_MakeSignedData [08:20:05]FM_MakeSignedData [08:20:05]SAM_PROTO_SignData [08:20:05]wFMCommunicate request_size=4 [08:20:05]MH_SAM_APDU [08:20:05]CAPDU: 80 0D 01 02 [08:20:05]Write to MH i2c: E2 08 00 BE 19 80 0D 01 02 00 00 00 00 50 [08:20:05]Write i2c OK [08:20:05]MH_I2C_Read... [08:20:05]OFD Sender: No OFD packet to send [08:20:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:20:05]Read from MH i2c: E2 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 03 00 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 03 00 BE 19 00 90 00 4B [08:20:05]RAPDU: 90 00 [08:20:05]wFMCommunicate OK [08:20:05]wFMCommunicate request_size=255 [08:20:05]MH_SAM_APDU [08:20: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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 E0 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 9D 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 0D 00 00 00 F4 03 04 00 38 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 15 58 00 00 35 04 06 00 44 [08:20:05]Write to MH i2c: E2 02 01 BF 19 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 E0 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 9D 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 0D 00 00 00 F4 03 04 00 38 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 15 58 00 00 35 04 06 00 44 00 00 1A [08:20:05]Write i2c OK [08:20:05]MH_I2C_Read... [08:20:06]Read from MH i2c: E2 [08:20:06]MH_I2C_Read... [08:20:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:06]Read from MH i2c: E2 03 00 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: E2 03 00 BF 19 00 90 00 4C [08:20:06]RAPDU: 90 00 [08:20:06]wFMCommunicate OK [08:20:06]wFMCommunicate request_size=10 [08:20:06]MH_SAM_APDU [08:20:06]CAPDU: 80 0D 02 02 05 55 08 EA 30 C2 [08:20:06]Write to MH i2c: E2 0D 00 C0 19 80 0D 02 02 05 00 55 08 EA 30 C2 00 00 96 [08:20:06]Write i2c OK [08:20:06]MH_I2C_Read... [08:20:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:06]Read from MH i2c: E2 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: E2 03 00 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: E2 03 00 C0 19 00 90 00 4D [08:20:06]RAPDU: 90 00 [08:20:06]wFMCommunicate OK [08:20:06]wFMCommunicate request_size=4 [08:20:06]MH_SAM_APDU [08:20:06]CAPDU: 80 0D 03 02 [08:20:06]Write to MH i2c: E2 08 00 C1 19 80 0D 03 02 00 00 00 00 55 [08:20:06]Write i2c OK [08:20:06]MH_I2C_Read... [08:20:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:20:06]Read from MH i2c: E2 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: E2 0B 00 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: E2 0B 00 C1 19 00 69 E6 8F 4A C6 96 4C B0 90 00 D6 [08:20:06]RAPDU: 69 E6 8F 4A C6 96 4C B0 90 00 [08:20:06]wFMCommunicate OK [08:20:06]SAM_PROTO_SignData done [08:20:06]FM_MakeSignedData done [08:20:06]CreateOFDProtocolMessage [08:20:06]wFMCommunicate request_size=4 [08:20:06]MH_SAM_APDU [08:20:06]CAPDU: 80 11 00 00 [08:20:06]Write to MH i2c: E2 08 00 C2 19 80 11 00 00 00 00 00 00 55 [08:20:06]Write i2c OK [08:20:06]MH_I2C_Read... [08:20:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:06]Read from MH i2c: E2 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: E2 17 00 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: E2 17 00 C2 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 AF [08:20:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:20:06]wFMCommunicate OK [08:20:06]CreateOFDProtocolMessage done [08:20:06]OFDSenderStorePacket 22549 [08:20:06]StoreOFDPacket docnum=22549 [08:20:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 46 47 07 01 A7 76 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 E0 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 9D 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 0D 00 00 00 F4 03 04 00 38 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 15 58 00 00 35 04 06 00 44 55 08 EA 30 C2 69 E6 8F 4A C6 96 4C B0 [08:20:06]CheckFolder [08:20:06]dirname=/storage/ofd_packets [08:20:06]CheckFolder done [08:20:06]ProducePacketName [08:20:06]name=ofd_packets/00022549 [08:20:06]NVStorageSaveData ofd_packets/00022549 [08:20:06]File name is /storage/ofd_packets/00022549 [08:20:06]Write 301 bytes [08:20:06]NVStorageSaveData done [08:20:06]OFDSenderStorePacket done [08:20:06]KKMCreateOFDPacket done [08:20:06]NVStorageSaveData kkm_last_timestamp [08:20:06]File name is /storage/kkm_last_timestamp [08:20:06]Write 4 bytes [08:20:06]NVStorageSaveData done [08:20:06]ExternCall_PrintAddStr [08:20:06]wPrintStart [08:20:06]Write to MH i2c: 01 00 00 C3 19 DC [08:20:06]Write i2c OK [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: 01 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: 01 07 00 [08:20:06]MH_I2C_Read... [08:20:06]Read from MH i2c: 01 07 00 C3 19 00 00 00 00 00 FF 0F F1 [08:20:06]RasterBufferAndPrint [08:20:06]line Счет N : (1)2165356 [08:20:06]line ИÐÐ: 02508201610067 [08:20:06]line Контрольно-КаÑÑовый Чек [08:20:06]line ПРОДÐЖР[08:20:06]line ТРК (МРК, ГÐК) : 13 [08:20:06]line Товар: 2710124500 [08:20:06]line Ðи-95-К-5 [08:20:06]line 9.440 * 74.20 [08:20:06]line = 700.45 [08:20:06]line ÐДС 12% ÐСП 1% [08:20:06]line > о реализуемом товаре [08:20:06]line ОКРУГЛЕÐИЕ: -0.45 [08:20:06]line ИТОГО: 700.00 [08:20:06]line ВнеÑено: 700.00 [08:20:06]line СДÐЧÐ: 0.00 [08:20:06]line ÐСП 1% : 6.20 [08:20:06]line ÐДС 12% : 74.38 [08:20:06]line Ðаличными: 700.00 [08:20:06]line Безнал.: 0.00 [08:20:06]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:20:06]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:20:06]line СÐО: Общий режим [08:20:06]line Чек 13 26.09.2024 08:20 [08:20:06]line Смена: 232 ФФД: 1.0 [08:20:06]line ЗÐМ: 0300000061 [08:20:06]line РÐМ: 0000000000146243 [08:20:06]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:20:06]line ФМ: 0000000000959358 [08:20:06]line ФД: 22549 [08:20:06]line ФПД: 75132012474562 [08:20:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082008&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22549&fm=75132012474562&tin=02508201610067®Number=0000000000146243&sum=70000 [08:20:06]OFD Sender: Processing packet 22549 [packets to send 23, broken 22] [08:20:06]ProducePacketName [08:20:06]name=ofd_packets/00022549 [08:20:06]OFD Sender: To server: ‡•öpG, [08:20:06]CommunicateWithHost lk.salyk.kg:30040 [08:20:06]ConnectInit lk.salyk.kg [08:20:06]written 0, free lines is 4095 [08:20:06]Connected sock=10 [08:20:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 46 47 07 01 A7 76 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 E0 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 9D 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 0D 00 00 00 F4 03 04 00 38 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 15 58 00 00 35 04 06 00 44 55 08 EA 30 C2 69 E6 8F 4A C6 96 4C B0 [08:20:07]Write to MH i2c: 01 00 00 EE 19 07 [08:20:07]Write i2c OK [08:20:07]MH_I2C_Read... [08:20:07]Read from MH i2c: 01 [08:20:07]MH_I2C_Read... [08:20:07]Read from MH i2c: 01 07 00 [08:20:07]MH_I2C_Read... [08:20:07]Read from MH i2c: 01 07 00 EE 19 00 00 00 00 00 ED 0C 07 [08:20:07]RasterBufferAndPrint [08:20:07]line [08:20:07]line [08:20:07]line [08:20:07]line [08:20:07]line [08:20:07]written 0, free lines is 3315 [08:20:07]MH_Cut [08:20:07]Write to MH i2c: D1 01 00 F5 19 01 E0 [08:20:07]Write i2c OK [08:20:07]MH_I2C_Read... [08:20:07]Read from MH i2c: D1 [08:20:07]MH_I2C_Read... [08:20:07]Read from MH i2c: D1 01 00 [08:20:07]MH_I2C_Read... [08:20:07]Read from MH i2c: D1 01 00 F5 19 00 DF [08:20:07]Write to MH i2c: 01 00 00 F6 19 0F [08:20:07]Write i2c OK [08:20:07]MH_I2C_Read... [08:20:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 81 EF 47 00 DF 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 15 58 00 00 F4 03 04 00 58 C3 F4 66 B6 04 01 00 00 E5 41 CB FB 43 61 0E E9 [08:20:07]CommunicateWithHost err = 0 [08:20:07]CheckOFDResponse [08:20:07]1017 (14) - 77093643461234 [08:20:07]1041 (16) - 0000000000959358 [08:20:07]1040 (4) - 22549 [08:20:07]1012 (4) - 26.09.2024 02:13 [08:20:07]1206 (1) - 0 [08:20:07]OFD Sender: Remove packet 22549 [08:20:07]ProducePacketName [08:20:07]name=ofd_packets/00022549 [08:20:07]NVStorageDeleteData [08:20:07]OFD Sender: No OFD packet to send [08:20:07]*** Cut start [08:20:07]*** Partial cut [08:20:07]*** CUTSNS_PIN = 1 [08:20:07]*** CUTSNS_PIN = 0 [08:20:07]*** Brake cut motor [08:20:08]Read from MH i2c: 01 [08:20:08]MH_I2C_Read... [08:20:08]*** Stop cut motor [08:20:08]*** Cut end [08:20:08]Read from MH i2c: 01 07 00 [08:20:08]MH_I2C_Read... [08:20:08]Read from MH i2c: 01 07 00 F6 19 00 00 00 00 00 FF 0F 24 [08:20:08]process_action close_receipt done [08:20:08]requested_data is exist [08:20:08]produce_requested_data [08:20:08]requested_item fm.sn is exist - process it [08:20:08]wFMCommunicate request_size=4 [08:20:08]MH_SAM_APDU [08:20:08]CAPDU: 80 11 00 00 [08:20:08]Write to MH i2c: E2 08 00 F7 19 80 11 00 00 00 00 00 00 8A [08:20:08]Write i2c OK [08:20:08]MH_I2C_Read... [08:20:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:08]Read from MH i2c: E2 [08:20:08]MH_I2C_Read... [08:20:08]Read from MH i2c: E2 17 00 [08:20:08]MH_I2C_Read... [08:20:08]Read from MH i2c: E2 17 00 F7 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E4 [08:20:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:20:08]wFMCommunicate OK [08:20:08]requested_item fd.num is exist - process it [08:20:08]SAM_PROTO_GetFieldsCounters [08:20:08]wFMCommunicate request_size=4 [08:20:08]MH_SAM_APDU [08:20:08]CAPDU: 80 13 00 00 [08:20:08]Write to MH i2c: E2 08 00 F8 19 80 13 00 00 00 00 00 00 8D [08:20:08]Write i2c OK [08:20:08]MH_I2C_Read... [08:20:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:20:08]Read from MH i2c: E2 [08:20:08]MH_I2C_Read... [08:20:08]Read from MH i2c: E2 62 00 [08:20:08]MH_I2C_Read... [08:20:08]Read from MH i2c: E2 62 00 F8 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 15 58 00 00 0E 04 04 00 E8 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 2C [08:20:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 15 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:20:08]wFMCommunicate OK [08:20:08]SAM_PROTO_GetFieldsCounters done [08:20:08]requested_item shift.num is exist - process it [08:20:08]requested_item shift.opened is exist - process it [08:20:08]req_shift_opened [08:20:08]FM_GetShiftState [08:20:08]SAM_PROTO_GetShiftState [08:20:08]wFMCommunicate request_size=4 [08:20:08]MH_SAM_APDU [08:20:08]CAPDU: 80 13 01 00 [08:20:08]Write to MH i2c: E2 08 00 F9 19 80 13 01 00 00 00 00 00 8F [08:20:08]Write i2c OK [08:20:08]MH_I2C_Read... [08:20:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:08]Read from MH i2c: E2 [08:20:08]MH_I2C_Read... [08:20:08]Read from MH i2c: E2 0E 00 [08:20:08]MH_I2C_Read... [08:20:08]Read from MH i2c: E2 0E 00 F9 19 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 4F [08:20:08]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:20:08]wFMCommunicate OK [08:20:08]SAM_PROTO_GetShiftState done [08:20:08]FM_GetShiftState done [08:20:08]req_shift_opened done [08:20:08]requested_item shift.open_date is exist - process it [08:20:08]req_shift_open_date [08:20:08]req_shift_open_date done [08:20:08]produce_requested_data done [08:20:08]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22549,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:20:08]process_action_free close_receipt [08:20:08]json_value_free [08:20:08]json_value_free done [08:20:08]process_json_proto returns [08:20:08]Send response to host [08:20:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22549,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:20:08]free response buf [08:20:08]execute_script done [08:20:08]execute_script returns [08:20:08]free content buf [08:20:08]Sock 7.Close socket [08:20:08]Sock 7.Thread stoped [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:43]accept exits with 9 [08:20:43]New connection [08:20:43]New thread 3067440484 created [08:20:43]Thread 3067583844 joined [08:20:43]Waiting for new connection... [08:20:43] Sock 9.Parse request [08:20:43]Sock 9.Check first char [08:20:43]Sock 9.First char is OK [08:20:43]request: POST /json_proto HTTP/1.0 [08:20:43]Method: POST [08:20:43]URL: /json_proto [08:20:43]Method is POST - this is cgi request [08:20:43]url: /json_proto [08:20:43]query_string will be loaded in cgi processing [08:20:43]execute_cgi json_proto POST (null) [08:20:43]execute_cgi path=json_proto method=POST [08:20:43]POST find Content-Length [08:20:43]Host: 172.17.43.4:8080 [08:20:43]Content-Length: 678 [08:20:43]Content-Type: application/json [08:20:43] [08:20:43]POST finish read [08:20:43]Found Content-Length = 678 [08:20:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165357", "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" : 67.80, "quantity" : 5.900, "sum" : 400.02, "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:20:43]execute_script... [08:20:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165357", "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" : 67.80, "quantity" : 5.900, "sum" : 400.02, "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:20:43]POST & json_proto [08:20:43]process_json_proto [08:20:43]json parsed OK: [08:20:43]protocol is kg_v1.0 [08:20:43]action value=close_receipt [08:20:43]process_action close_receipt [08:20:43]cmd_close_receipt [08:20:43]MH_GetDate [08:20:43]Write to MH i2c: F0 00 00 FA 19 02 [08:20:43]Write i2c OK [08:20:43]MH_I2C_Read... [08:20:43]Read from MH i2c: F0 [08:20:43]MH_I2C_Read... [08:20:43]Read from MH i2c: F0 09 00 [08:20:43]MH_I2C_Read... [08:20:43]Read from MH i2c: F0 09 00 FA 19 00 60 19 F5 66 02 BF CF 66 D5 [08:20:43]GetLastDocTimeStamp 1727338808 [08:20:43]current date 1727338848 [08:20:43]FM_GetShiftState [08:20:43]SAM_PROTO_GetShiftState [08:20:43]wFMCommunicate request_size=4 [08:20:43]MH_SAM_APDU [08:20:43]CAPDU: 80 13 01 00 [08:20:43]Write to MH i2c: E2 08 00 FB 19 80 13 01 00 00 00 00 00 91 [08:20:43]Write i2c OK [08:20:43]MH_I2C_Read... [08:20:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:43]Read from MH i2c: E2 [08:20:43]MH_I2C_Read... [08:20:43]Read from MH i2c: E2 0E 00 [08:20:43]MH_I2C_Read... [08:20:43]Read from MH i2c: E2 0E 00 FB 19 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 51 [08:20:43]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:20:43]wFMCommunicate OK [08:20:43]SAM_PROTO_GetShiftState done [08:20:43]FM_GetShiftState done [08:20:43]opened in 1727309492 [08:20:43]opened+sec_in_day 1727395892 [08:20:43]quantity*price = 40002 [08:20:43]sum+1 = 40003 [08:20:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.02 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.48 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 14 26.09.2024 08:20 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22550 ФПД: 171371154168618 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082048&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22550&fm=171371154168618&tin=02508201610067®Number=0000000000146243&sum=40000 [08:20:44]StoreToDocumentArchive [08:20:44]shift 232 fd 22550 [08:20:44]save to /storage/0232/doc_00022550 [08:20:44]save last doc name /storage/0232/doc_00022550 to /storage/kkm_last_doc_name [08:20:44]save OK [08:20:44]Clear old archive folders... [08:20:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:20:44]tlvbuf is B6F74B90 [08:20:44]SAM_PROTO_ClearQueue [08:20:44]wFMCommunicate request_size=4 [08:20:44]MH_SAM_APDU [08:20:44]CAPDU: 80 09 00 00 [08:20:44]Write to MH i2c: E2 08 00 08 1A 80 09 00 00 00 00 00 00 94 [08:20:44]Write i2c OK [08:20:44]MH_I2C_Read... [08:20:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:20:45]Read from MH i2c: E2 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 03 00 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 03 00 08 1A 00 90 00 96 [08:20:45]RAPDU: 90 00 [08:20:45]wFMCommunicate OK [08:20:45]SAM_PROTO_ClearQueue done [08:20:45]KKMCreateOFDPacket [08:20:45]OFDProtocolAddRootSTLVToBuf [08:20:45]FM_MakeSignedData [08:20:45]FM_MakeSignedData [08:20:45]SAM_PROTO_SignData [08:20:45]wFMCommunicate request_size=4 [08:20:45]MH_SAM_APDU [08:20:45]CAPDU: 80 0D 01 02 [08:20:45]Write to MH i2c: E2 08 00 09 1A 80 0D 01 02 00 00 00 00 9C [08:20:45]Write i2c OK [08:20:45]MH_I2C_Read... [08:20:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:20:45]Read from MH i2c: E2 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 03 00 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 03 00 09 1A 00 90 00 97 [08:20:45]RAPDU: 90 00 [08:20:45]wFMCommunicate OK [08:20:45]wFMCommunicate request_size=255 [08:20:45]MH_SAM_APDU [08:20: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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 60 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 16 58 00 00 35 04 06 00 9B [08:20:45]Write to MH i2c: E2 02 01 0A 1A 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 60 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 16 58 00 00 35 04 06 00 9B 00 00 D5 [08:20:45]Write i2c OK [08:20:45]MH_I2C_Read... [08:20:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:45]Read from MH i2c: E2 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 03 00 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 03 00 0A 1A 00 90 00 98 [08:20:45]RAPDU: 90 00 [08:20:45]wFMCommunicate OK [08:20:45]wFMCommunicate request_size=10 [08:20:45]MH_SAM_APDU [08:20:45]CAPDU: 80 0D 02 02 05 DC 74 C4 DB 2A [08:20:45]Write to MH i2c: E2 0D 00 0B 1A 80 0D 02 02 05 00 DC 74 C4 DB 2A 00 00 C2 [08:20:45]Write i2c OK [08:20:45]MH_I2C_Read... [08:20:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:45]Read from MH i2c: E2 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 03 00 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 03 00 0B 1A 00 90 00 99 [08:20:45]RAPDU: 90 00 [08:20:45]wFMCommunicate OK [08:20:45]wFMCommunicate request_size=4 [08:20:45]MH_SAM_APDU [08:20:45]CAPDU: 80 0D 03 02 [08:20:45]Write to MH i2c: E2 08 00 0C 1A 80 0D 03 02 00 00 00 00 A1 [08:20:45]Write i2c OK [08:20:45]MH_I2C_Read... [08:20:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:20:45]Read from MH i2c: E2 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 0B 00 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 0B 00 0C 1A 00 21 AE 86 84 67 D5 05 4F 90 00 0B [08:20:45]RAPDU: 21 AE 86 84 67 D5 05 4F 90 00 [08:20:45]wFMCommunicate OK [08:20:45]SAM_PROTO_SignData done [08:20:45]FM_MakeSignedData done [08:20:45]CreateOFDProtocolMessage [08:20:45]wFMCommunicate request_size=4 [08:20:45]MH_SAM_APDU [08:20:45]CAPDU: 80 11 00 00 [08:20:45]Write to MH i2c: E2 08 00 0D 1A 80 11 00 00 00 00 00 00 A1 [08:20:45]Write i2c OK [08:20:45]MH_I2C_Read... [08:20:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:45]Read from MH i2c: E2 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 17 00 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: E2 17 00 0D 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 FB [08:20:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:20:45]wFMCommunicate OK [08:20:45]CreateOFDProtocolMessage done [08:20:45]OFDSenderStorePacket 22550 [08:20:45]StoreOFDPacket docnum=22550 [08:20:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 8B A7 07 01 A8 01 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 60 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 16 58 00 00 35 04 06 00 9B DC 74 C4 DB 2A 21 AE 86 84 67 D5 05 4F [08:20:45]CheckFolder [08:20:45]dirname=/storage/ofd_packets [08:20:45]CheckFolder done [08:20:45]ProducePacketName [08:20:45]name=ofd_packets/00022550 [08:20:45]NVStorageSaveData ofd_packets/00022550 [08:20:45]File name is /storage/ofd_packets/00022550 [08:20:45]Write 301 bytes [08:20:45]NVStorageSaveData done [08:20:45]OFDSenderStorePacket done [08:20:45]KKMCreateOFDPacket done [08:20:45]NVStorageSaveData kkm_last_timestamp [08:20:45]File name is /storage/kkm_last_timestamp [08:20:45]Write 4 bytes [08:20:45]NVStorageSaveData done [08:20:45]ExternCall_PrintAddStr [08:20:45]wPrintStart [08:20:45]Write to MH i2c: 01 00 00 0E 1A 28 [08:20:45]Write i2c OK [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: 01 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: 01 07 00 [08:20:45]MH_I2C_Read... [08:20:45]Read from MH i2c: 01 07 00 0E 1A 00 00 00 00 00 FF 0F 3D [08:20:45]RasterBufferAndPrint [08:20:45]line Счет N : (1)2165357 [08:20:45]line ИÐÐ: 02508201610067 [08:20:45]line Контрольно-КаÑÑовый Чек [08:20:45]line ПРОДÐЖР[08:20:45]line ТРК (МРК, ГÐК) : 22 [08:20:45]line Товар: 2710124130 [08:20:45]line Ðи-92-К-5 [08:20:45]line 5.900 * 67.80 [08:20:45]line = 400.02 [08:20:45]line ÐДС 12% ÐСП 1% [08:20:45]line > о реализуемом товаре [08:20:45]line ОКРУГЛЕÐИЕ: -0.02 [08:20:45]line ИТОГО: 400.00 [08:20:45]line ВнеÑено: 400.00 [08:20:45]line СДÐЧÐ: 0.00 [08:20:45]line ÐСП 1% : 3.54 [08:20:45]line ÐДС 12% : 42.48 [08:20:45]line Ðаличными: 400.00 [08:20:45]line Безнал.: 0.00 [08:20:45]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:20:45]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:20:45]line СÐО: Общий режим [08:20:45]line Чек 14 26.09.2024 08:20 [08:20:45]line Смена: 232 ФФД: 1.0 [08:20:45]line ЗÐМ: 0300000061 [08:20:45]line РÐМ: 0000000000146243 [08:20:45]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:20:45]line ФМ: 0000000000959358 [08:20:45]line ФД: 22550 [08:20:45]line ФПД: 171371154168618 [08:20:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082048&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22550&fm=171371154168618&tin=02508201610067®Number=0000000000146243&sum=40000 [08:20:45]OFD Sender: Processing packet 22550 [packets to send 23, broken 22] [08:20:45]ProducePacketName [08:20:45]name=ofd_packets/00022550 [08:20:45]OFD Sender: To server: ‡•öpG, [08:20:45]CommunicateWithHost lk.salyk.kg:30040 [08:20:45]ConnectInit lk.salyk.kg [08:20:45]written 0, free lines is 4095 [08:20:46]Connected sock=7 [08:20:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 8B A7 07 01 A8 01 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 60 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 16 58 00 00 35 04 06 00 9B DC 74 C4 DB 2A 21 AE 86 84 67 D5 05 4F [08:20:46]Write to MH i2c: 01 00 00 39 1A 53 [08:20:46]Write i2c OK [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: 01 [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: 01 07 00 [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: 01 07 00 39 1A 00 00 00 00 00 F0 0C 56 [08:20:46]RasterBufferAndPrint [08:20:46]line [08:20:46]line [08:20:46]line [08:20:46]line [08:20:46]line [08:20:46]written 0, free lines is 3318 [08:20:46]MH_Cut [08:20:46]Write to MH i2c: D1 01 00 40 1A 01 2C [08:20:46]Write i2c OK [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: D1 [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: D1 01 00 [08:20:46]MH_I2C_Read... [08:20:46]Read from MH i2c: D1 01 00 40 1A 00 2B [08:20:46]Write to MH i2c: 01 00 00 41 1A 5B [08:20:46]Write i2c OK [08:20:46]MH_I2C_Read... [08:20:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B5 C9 47 00 8D 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 16 58 00 00 F4 03 04 00 80 C3 F4 66 B6 04 01 00 00 9D 51 DC 77 C2 DC AD 08 [08:20:46]CommunicateWithHost err = 0 [08:20:46]CheckOFDResponse [08:20:46]1017 (14) - 77093643461234 [08:20:46]1041 (16) - 0000000000959358 [08:20:46]1040 (4) - 22550 [08:20:46]1012 (4) - 26.09.2024 02:14 [08:20:46]1206 (1) - 0 [08:20:46]OFD Sender: Remove packet 22550 [08:20:46]ProducePacketName [08:20:46]name=ofd_packets/00022550 [08:20:46]NVStorageDeleteData [08:20:46]OFD Sender: No OFD packet to send [08:20:46]*** Cut start [08:20:46]*** Partial cut [08:20:46]*** CUTSNS_PIN = 1 [08:20:47]*** CUTSNS_PIN = 0 [08:20:47]*** Brake cut motor [08:20:47]Read from MH i2c: 01 [08:20:47]MH_I2C_Read... [08:20:47]*** Stop cut motor [08:20:47]*** Cut end [08:20:47]Read from MH i2c: 01 07 00 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: 01 07 00 41 1A 00 00 00 00 00 FF 0F 70 [08:20:47]process_action close_receipt done [08:20:47]requested_data is exist [08:20:47]produce_requested_data [08:20:47]requested_item fm.sn is exist - process it [08:20:47]wFMCommunicate request_size=4 [08:20:47]MH_SAM_APDU [08:20:47]CAPDU: 80 11 00 00 [08:20:47]Write to MH i2c: E2 08 00 42 1A 80 11 00 00 00 00 00 00 D6 [08:20:47]Write i2c OK [08:20:47]MH_I2C_Read... [08:20:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:47]Read from MH i2c: E2 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 17 00 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 17 00 42 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 30 [08:20:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:20:47]wFMCommunicate OK [08:20:47]requested_item fd.num is exist - process it [08:20:47]SAM_PROTO_GetFieldsCounters [08:20:47]wFMCommunicate request_size=4 [08:20:47]MH_SAM_APDU [08:20:47]CAPDU: 80 13 00 00 [08:20:47]Write to MH i2c: E2 08 00 43 1A 80 13 00 00 00 00 00 00 D9 [08:20:47]Write i2c OK [08:20:47]MH_I2C_Read... [08:20:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:20:47]Read from MH i2c: E2 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 62 00 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 62 00 43 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 16 58 00 00 0E 04 04 00 E8 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 7C [08:20:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 16 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:20:47]wFMCommunicate OK [08:20:47]SAM_PROTO_GetFieldsCounters done [08:20:47]requested_item shift.num is exist - process it [08:20:47]requested_item shift.opened is exist - process it [08:20:47]req_shift_opened [08:20:47]FM_GetShiftState [08:20:47]SAM_PROTO_GetShiftState [08:20:47]wFMCommunicate request_size=4 [08:20:47]MH_SAM_APDU [08:20:47]CAPDU: 80 13 01 00 [08:20:47]Write to MH i2c: E2 08 00 44 1A 80 13 01 00 00 00 00 00 DB [08:20:47]Write i2c OK [08:20:47]MH_I2C_Read... [08:20:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:47]Read from MH i2c: E2 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 0E 00 [08:20:47]MH_I2C_Read... [08:20:47]Read from MH i2c: E2 0E 00 44 1A 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 9B [08:20:47]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:20:47]wFMCommunicate OK [08:20:47]SAM_PROTO_GetShiftState done [08:20:47]FM_GetShiftState done [08:20:47]req_shift_opened done [08:20:47]requested_item shift.open_date is exist - process it [08:20:47]req_shift_open_date [08:20:47]req_shift_open_date done [08:20:47]produce_requested_data done [08:20:47]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22550,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:20:47]process_action_free close_receipt [08:20:47]json_value_free [08:20:47]json_value_free done [08:20:47]process_json_proto returns [08:20:47]Send response to host [08:20:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22550,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:20:47]free response buf [08:20:47]execute_script done [08:20:47]execute_script returns [08:20:47]free content buf [08:20:47]Sock 9.Close socket [08:20:47]Sock 9.Thread stoped [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:30]accept exits with 10 [08:22:30]New connection [08:22:30]New thread 3067583844 created [08:22:30]Thread 3067440484 joined [08:22:30]Waiting for new connection... [08:22:30] Sock 10.Parse request [08:22:30]Sock 10.Check first char [08:22:30]Sock 10.First char is OK [08:22:30]request: POST /json_proto HTTP/1.0 [08:22:30]Method: POST [08:22:30]URL: /json_proto [08:22:30]Method is POST - this is cgi request [08:22:30]url: /json_proto [08:22:30]query_string will be loaded in cgi processing [08:22:30]execute_cgi json_proto POST (null) [08:22:30]execute_cgi path=json_proto method=POST [08:22:30]POST find Content-Length [08:22:30]Host: 172.17.43.4:8080 [08:22:30]Content-Length: 678 [08:22:30]Content-Type: application/json [08:22:30] [08:22:30]POST finish read [08:22:30]Found Content-Length = 678 [08:22:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165358", "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" : 67.80, "quantity" : 5.900, "sum" : 400.02, "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:22:30]execute_script... [08:22: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)2165358", "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" : 67.80, "quantity" : 5.900, "sum" : 400.02, "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:22:30]POST & json_proto [08:22:30]process_json_proto [08:22:30]json parsed OK: [08:22:30]protocol is kg_v1.0 [08:22:30]action value=close_receipt [08:22:30]process_action close_receipt [08:22:30]cmd_close_receipt [08:22:30]MH_GetDate [08:22:30]Write to MH i2c: F0 00 00 45 1A 4E [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: F0 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: F0 09 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: F0 09 00 45 1A 00 CB 19 F5 66 02 BF CF 66 8C [08:22:30]GetLastDocTimeStamp 1727338848 [08:22:30]current date 1727338955 [08:22:30]FM_GetShiftState [08:22:30]SAM_PROTO_GetShiftState [08:22:30]wFMCommunicate request_size=4 [08:22:30]MH_SAM_APDU [08:22:30]CAPDU: 80 13 01 00 [08:22:30]Write to MH i2c: E2 08 00 46 1A 80 13 01 00 00 00 00 00 DD [08:22:30]Write i2c OK [08:22:30]MH_I2C_Read... [08:22:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:30]Read from MH i2c: E2 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 0E 00 [08:22:30]MH_I2C_Read... [08:22:30]Read from MH i2c: E2 0E 00 46 1A 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 9D [08:22:30]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:22:30]wFMCommunicate OK [08:22:30]SAM_PROTO_GetShiftState done [08:22:30]FM_GetShiftState done [08:22:30]opened in 1727309492 [08:22:30]opened+sec_in_day 1727395892 [08:22:30]quantity*price = 40002 [08:22:30]sum+1 = 40003 [08:22:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.02 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.48 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 15 26.09.2024 08:22 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22551 ФПД: 223113092569857 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082235&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22551&fm=223113092569857&tin=02508201610067®Number=0000000000146243&sum=40000 [08:22:31]StoreToDocumentArchive [08:22:31]shift 232 fd 22551 [08:22:31]save to /storage/0232/doc_00022551 [08:22:31]save last doc name /storage/0232/doc_00022551 to /storage/kkm_last_doc_name [08:22:31]save OK [08:22:31]Clear old archive folders... [08:22:31]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:22:31]tlvbuf is B6E42BC0 [08:22:31]SAM_PROTO_ClearQueue [08:22:31]wFMCommunicate request_size=4 [08:22:31]MH_SAM_APDU [08:22:31]CAPDU: 80 09 00 00 [08:22:31]Write to MH i2c: E2 08 00 53 1A 80 09 00 00 00 00 00 00 DF [08:22:31]Write i2c OK [08:22:31]MH_I2C_Read... [08:22:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:22:31]Read from MH i2c: E2 [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: E2 03 00 [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: E2 03 00 53 1A 00 90 00 E1 [08:22:31]RAPDU: 90 00 [08:22:31]wFMCommunicate OK [08:22:31]SAM_PROTO_ClearQueue done [08:22:31]KKMCreateOFDPacket [08:22:31]OFDProtocolAddRootSTLVToBuf [08:22:31]FM_MakeSignedData [08:22:31]FM_MakeSignedData [08:22:31]SAM_PROTO_SignData [08:22:31]wFMCommunicate request_size=4 [08:22:31]MH_SAM_APDU [08:22:31]CAPDU: 80 0D 01 02 [08:22:31]Write to MH i2c: E2 08 00 54 1A 80 0D 01 02 00 00 00 00 E7 [08:22:31]Write i2c OK [08:22:31]MH_I2C_Read... [08:22:31]OFD Sender: No OFD packet to send [08:22:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:22:31]Read from MH i2c: E2 [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: E2 03 00 [08:22:31]MH_I2C_Read... [08:22:31]Read from MH i2c: E2 03 00 54 1A 00 90 00 E2 [08:22:31]RAPDU: 90 00 [08:22:31]wFMCommunicate OK [08:22:31]wFMCommunicate request_size=255 [08:22:31]MH_SAM_APDU [08:22: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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 CB 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 17 58 00 00 35 04 06 00 CA [08:22:31]Write to MH i2c: E2 02 01 55 1A 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 CB 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 17 58 00 00 35 04 06 00 CA 00 00 BC [08:22:31]Write i2c OK [08:22:31]MH_I2C_Read... [08:22:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:32]Read from MH i2c: E2 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: E2 03 00 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: E2 03 00 55 1A 00 90 00 E3 [08:22:32]RAPDU: 90 00 [08:22:32]wFMCommunicate OK [08:22:32]wFMCommunicate request_size=10 [08:22:32]MH_SAM_APDU [08:22:32]CAPDU: 80 0D 02 02 05 EB 90 A0 9B 01 [08:22:32]Write to MH i2c: E2 0D 00 56 1A 80 0D 02 02 05 00 EB 90 A0 9B 01 00 00 AB [08:22:32]Write i2c OK [08:22:32]MH_I2C_Read... [08:22:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:32]Read from MH i2c: E2 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: E2 03 00 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: E2 03 00 56 1A 00 90 00 E4 [08:22:32]RAPDU: 90 00 [08:22:32]wFMCommunicate OK [08:22:32]wFMCommunicate request_size=4 [08:22:32]MH_SAM_APDU [08:22:32]CAPDU: 80 0D 03 02 [08:22:32]Write to MH i2c: E2 08 00 57 1A 80 0D 03 02 00 00 00 00 EC [08:22:32]Write i2c OK [08:22:32]MH_I2C_Read... [08:22:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:22:32]Read from MH i2c: E2 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: E2 0B 00 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: E2 0B 00 57 1A 00 2D 0C 5D 2B 60 BD 70 13 90 00 4E [08:22:32]RAPDU: 2D 0C 5D 2B 60 BD 70 13 90 00 [08:22:32]wFMCommunicate OK [08:22:32]SAM_PROTO_SignData done [08:22:32]FM_MakeSignedData done [08:22:32]CreateOFDProtocolMessage [08:22:32]wFMCommunicate request_size=4 [08:22:32]MH_SAM_APDU [08:22:32]CAPDU: 80 11 00 00 [08:22:32]Write to MH i2c: E2 08 00 58 1A 80 11 00 00 00 00 00 00 EC [08:22:32]Write i2c OK [08:22:32]MH_I2C_Read... [08:22:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:32]Read from MH i2c: E2 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: E2 17 00 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: E2 17 00 58 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 46 [08:22:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:22:32]wFMCommunicate OK [08:22:32]CreateOFDProtocolMessage done [08:22:32]OFDSenderStorePacket 22551 [08:22:32]StoreOFDPacket docnum=22551 [08:22:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 B9 99 07 01 10 81 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 CB 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 17 58 00 00 35 04 06 00 CA EB 90 A0 9B 01 2D 0C 5D 2B 60 BD 70 13 [08:22:32]CheckFolder [08:22:32]dirname=/storage/ofd_packets [08:22:32]CheckFolder done [08:22:32]ProducePacketName [08:22:32]name=ofd_packets/00022551 [08:22:32]NVStorageSaveData ofd_packets/00022551 [08:22:32]File name is /storage/ofd_packets/00022551 [08:22:32]Write 301 bytes [08:22:32]NVStorageSaveData done [08:22:32]OFDSenderStorePacket done [08:22:32]KKMCreateOFDPacket done [08:22:32]NVStorageSaveData kkm_last_timestamp [08:22:32]File name is /storage/kkm_last_timestamp [08:22:32]Write 4 bytes [08:22:32]NVStorageSaveData done [08:22:32]ExternCall_PrintAddStr [08:22:32]wPrintStart [08:22:32]Write to MH i2c: 01 00 00 59 1A 73 [08:22:32]Write i2c OK [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: 01 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: 01 07 00 [08:22:32]MH_I2C_Read... [08:22:32]Read from MH i2c: 01 07 00 59 1A 00 00 00 00 00 FF 0F 88 [08:22:32]RasterBufferAndPrint [08:22:32]line Счет N : (1)2165358 [08:22:32]line ИÐÐ: 02508201610067 [08:22:32]line Контрольно-КаÑÑовый Чек [08:22:32]line ПРОДÐЖР[08:22:32]line ТРК (МРК, ГÐК) : 12 [08:22:32]line Товар: 2710124130 [08:22:32]line Ðи-92-К-5 [08:22:32]line 5.900 * 67.80 [08:22:32]line = 400.02 [08:22:32]line ÐДС 12% ÐСП 1% [08:22:32]line > о реализуемом товаре [08:22:32]line ОКРУГЛЕÐИЕ: -0.02 [08:22:32]line ИТОГО: 400.00 [08:22:32]line ВнеÑено: 400.00 [08:22:32]line СДÐЧÐ: 0.00 [08:22:32]line ÐСП 1% : 3.54 [08:22:32]line ÐДС 12% : 42.48 [08:22:32]line Ðаличными: 400.00 [08:22:32]line Безнал.: 0.00 [08:22:32]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:22:32]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:22:32]line СÐО: Общий режим [08:22:32]line Чек 15 26.09.2024 08:22 [08:22:32]line Смена: 232 ФФД: 1.0 [08:22:32]line ЗÐМ: 0300000061 [08:22:32]line РÐМ: 0000000000146243 [08:22:32]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:22:32]line ФМ: 0000000000959358 [08:22:32]line ФД: 22551 [08:22:32]line ФПД: 223113092569857 [08:22:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082235&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22551&fm=223113092569857&tin=02508201610067®Number=0000000000146243&sum=40000 [08:22:32]OFD Sender: Processing packet 22551 [packets to send 23, broken 22] [08:22:32]ProducePacketName [08:22:32]name=ofd_packets/00022551 [08:22:32]OFD Sender: To server: ‡•öpG, [08:22:32]CommunicateWithHost lk.salyk.kg:30040 [08:22:32]ConnectInit lk.salyk.kg [08:22:32]written 0, free lines is 4095 [08:22:32]Connected sock=11 [08:22:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 B9 99 07 01 10 81 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 CB 19 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 17 58 00 00 35 04 06 00 CA EB 90 A0 9B 01 2D 0C 5D 2B 60 BD 70 13 [08:22:33]Write to MH i2c: 01 00 00 84 1A 9E [08:22:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9C 70 47 00 31 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 17 58 00 00 F4 03 04 00 EB C3 F4 66 B6 04 01 00 00 3D 35 B4 5A D9 80 3D C1 [08:22:33]CommunicateWithHost err = 0 [08:22:33]CheckOFDResponse [08:22:33]1017 (14) - 77093643461234 [08:22:33]1041 (16) - 0000000000959358 [08:22:33]1040 (4) - 22551 [08:22:33]1012 (4) - 26.09.2024 02:16 [08:22:33]1206 (1) - 0 [08:22:33]OFD Sender: Remove packet 22551 [08:22:33]ProducePacketName [08:22:33]name=ofd_packets/00022551 [08:22:33]NVStorageDeleteData [08:22:33]Write i2c OK [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: 01 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: 01 07 00 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: 01 07 00 84 1A 00 00 00 00 00 FE 0C AF [08:22:33]RasterBufferAndPrint [08:22:33]line [08:22:33]line [08:22:33]line [08:22:33]line [08:22:33]line [08:22:33]written 0, free lines is 3338 [08:22:33]MH_Cut [08:22:33]Write to MH i2c: D1 01 00 8B 1A 01 77 [08:22:33]Write i2c OK [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: D1 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: D1 01 00 [08:22:33]MH_I2C_Read... [08:22:33]Read from MH i2c: D1 01 00 8B 1A 00 76 [08:22:33]Write to MH i2c: 01 00 00 8C 1A A6 [08:22:33]Write i2c OK [08:22:33]MH_I2C_Read... [08:22:33]OFD Sender: No OFD packet to send [08:22:33]*** Cut start [08:22:33]*** Partial cut [08:22:33]*** CUTSNS_PIN = 1 [08:22:33]*** CUTSNS_PIN = 0 [08:22:34]*** Brake cut motor [08:22:34]Read from MH i2c: 01 [08:22:34]MH_I2C_Read... [08:22:34]*** Stop cut motor [08:22:34]*** Cut end [08:22:34]Read from MH i2c: 01 07 00 [08:22:34]MH_I2C_Read... [08:22:34]Read from MH i2c: 01 07 00 8C 1A 00 00 00 00 00 FF 0F BB [08:22:34]process_action close_receipt done [08:22:34]requested_data is exist [08:22:34]produce_requested_data [08:22:34]requested_item fm.sn is exist - process it [08:22:34]wFMCommunicate request_size=4 [08:22:34]MH_SAM_APDU [08:22:34]CAPDU: 80 11 00 00 [08:22:34]Write to MH i2c: E2 08 00 8D 1A 80 11 00 00 00 00 00 00 21 [08:22:34]Write i2c OK [08:22:34]MH_I2C_Read... [08:22:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:34]Read from MH i2c: E2 [08:22:34]MH_I2C_Read... [08:22:34]Read from MH i2c: E2 17 00 [08:22:34]MH_I2C_Read... [08:22:34]Read from MH i2c: E2 17 00 8D 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7B [08:22:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:22:34]wFMCommunicate OK [08:22:34]requested_item fd.num is exist - process it [08:22:34]SAM_PROTO_GetFieldsCounters [08:22:34]wFMCommunicate request_size=4 [08:22:34]MH_SAM_APDU [08:22:34]CAPDU: 80 13 00 00 [08:22:34]Write to MH i2c: E2 08 00 8E 1A 80 13 00 00 00 00 00 00 24 [08:22:34]Write i2c OK [08:22:34]MH_I2C_Read... [08:22:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:22:34]Read from MH i2c: E2 [08:22:34]MH_I2C_Read... [08:22:34]Read from MH i2c: E2 62 00 [08:22:34]MH_I2C_Read... [08:22:34]Read from MH i2c: E2 62 00 8E 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 17 58 00 00 0E 04 04 00 E8 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 CB [08:22:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 17 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:22:34]wFMCommunicate OK [08:22:34]SAM_PROTO_GetFieldsCounters done [08:22:34]requested_item shift.num is exist - process it [08:22:34]requested_item shift.opened is exist - process it [08:22:34]req_shift_opened [08:22:34]FM_GetShiftState [08:22:34]SAM_PROTO_GetShiftState [08:22:34]wFMCommunicate request_size=4 [08:22:34]MH_SAM_APDU [08:22:34]CAPDU: 80 13 01 00 [08:22:34]Write to MH i2c: E2 08 00 8F 1A 80 13 01 00 00 00 00 00 26 [08:22:34]Write i2c OK [08:22:34]MH_I2C_Read... [08:22:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:34]Read from MH i2c: E2 [08:22:34]MH_I2C_Read... [08:22:34]Read from MH i2c: E2 0E 00 [08:22:34]MH_I2C_Read... [08:22:34]Read from MH i2c: E2 0E 00 8F 1A 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 E6 [08:22:34]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:22:34]wFMCommunicate OK [08:22:34]SAM_PROTO_GetShiftState done [08:22:34]FM_GetShiftState done [08:22:34]req_shift_opened done [08:22:34]requested_item shift.open_date is exist - process it [08:22:34]req_shift_open_date [08:22:34]req_shift_open_date done [08:22:34]produce_requested_data done [08:22:34]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22551,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:22:34]process_action_free close_receipt [08:22:34]json_value_free [08:22:34]json_value_free done [08:22:34]process_json_proto returns [08:22:34]Send response to host [08:22:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22551,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:22:34]free response buf [08:22:34]execute_script done [08:22:34]execute_script returns [08:22:34]free content buf [08:22:34]Sock 10.Close socket [08:22:34]Sock 10.Thread stoped [08:22:38]OFD Sender: No OFD packet to send [08:22:43]OFD Sender: No OFD packet to send [08:22:48]OFD Sender: No OFD packet to send [08:22:53]OFD Sender: No OFD packet to send [08:22:58]OFD Sender: No OFD packet to send [08:23:03]OFD Sender: No OFD packet to send [08:23:08]OFD Sender: No OFD packet to send [08:23:13]OFD Sender: No OFD packet to send [08:23:18]OFD Sender: No OFD packet to send [08:23:23]OFD Sender: No OFD packet to send [08:23:28]OFD Sender: No OFD packet to send [08:23:33]OFD Sender: No OFD packet to send [08:23:38]OFD Sender: No OFD packet to send [08:23:43]OFD Sender: No OFD packet to send [08:23:48]OFD Sender: No OFD packet to send [08:23:53]OFD Sender: No OFD packet to send [08:23:58]OFD Sender: No OFD packet to send [08:24:03]OFD Sender: No OFD packet to send [08:24:08]OFD Sender: No OFD packet to send [08:24:13]OFD Sender: No OFD packet to send [08:24:18]OFD Sender: No OFD packet to send [08:24:19]accept exits with 7 [08:24:19]New connection [08:24:19]New thread 3067440484 created [08:24:19]Thread 3067583844 joined [08:24:19]Waiting for new connection... [08:24:19] Sock 7.Parse request [08:24:19]Sock 7.Check first char [08:24:19]Sock 7.First char is OK [08:24:19]request: POST /json_proto HTTP/1.0 [08:24:19]Method: POST [08:24:19]URL: /json_proto [08:24:19]Method is POST - this is cgi request [08:24:19]url: /json_proto [08:24:19]query_string will be loaded in cgi processing [08:24:19]execute_cgi json_proto POST (null) [08:24:19]execute_cgi path=json_proto method=POST [08:24:19]POST find Content-Length [08:24:19]Host: 172.17.43.4:8080 [08:24:19]Content-Length: 678 [08:24:19]Content-Type: application/json [08:24:19] [08:24:19]POST finish read [08:24:19]Found Content-Length = 678 [08:24:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165361", "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" : 67.80, "quantity" : 7.380, "sum" : 500.36, "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" ] } } [08:24:19]execute_script... [08:24:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165361", "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" : 67.80, "quantity" : 7.380, "sum" : 500.36, "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" ] } } [08:24:19]POST & json_proto [08:24:19]process_json_proto [08:24:19]json parsed OK: [08:24:19]protocol is kg_v1.0 [08:24:19]action value=close_receipt [08:24:19]process_action close_receipt [08:24:19]cmd_close_receipt [08:24:19]MH_GetDate [08:24:19]Write to MH i2c: F0 00 00 90 1A 99 [08:24:19]Write i2c OK [08:24:19]MH_I2C_Read... [08:24:19]Read from MH i2c: F0 [08:24:19]MH_I2C_Read... [08:24:19]Read from MH i2c: F0 09 00 [08:24:19]MH_I2C_Read... [08:24:19]Read from MH i2c: F0 09 00 90 1A 00 37 1A F5 66 02 BF CF 66 44 [08:24:19]GetLastDocTimeStamp 1727338955 [08:24:19]current date 1727339063 [08:24:19]FM_GetShiftState [08:24:19]SAM_PROTO_GetShiftState [08:24:19]wFMCommunicate request_size=4 [08:24:19]MH_SAM_APDU [08:24:19]CAPDU: 80 13 01 00 [08:24:19]Write to MH i2c: E2 08 00 91 1A 80 13 01 00 00 00 00 00 28 [08:24:19]Write i2c OK [08:24:19]MH_I2C_Read... [08:24:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:19]Read from MH i2c: E2 [08:24:19]MH_I2C_Read... [08:24:19]Read from MH i2c: E2 0E 00 [08:24:19]MH_I2C_Read... [08:24:19]Read from MH i2c: E2 0E 00 91 1A 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 E8 [08:24:19]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:24:19]wFMCommunicate OK [08:24:19]SAM_PROTO_GetShiftState done [08:24:19]FM_GetShiftState done [08:24:19]opened in 1727309492 [08:24:19]opened+sec_in_day 1727395892 [08:24:19]quantity*price = 50036 [08:24:19]sum+1 = 50037 [08:24:19]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.36 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 16 26.09.2024 08:24 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22552 ФПД: 7615270277643 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082423&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22552&fm=7615270277643&tin=02508201610067®Number=0000000000146243&sum=50000 [08:24:20]StoreToDocumentArchive [08:24:20]shift 232 fd 22552 [08:24:20]save to /storage/0232/doc_00022552 [08:24:20]save last doc name /storage/0232/doc_00022552 to /storage/kkm_last_doc_name [08:24:20]save OK [08:24:20]Clear old archive folders... [08:24:20]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:24:20]tlvbuf is B6FF29E0 [08:24:20]SAM_PROTO_ClearQueue [08:24:20]wFMCommunicate request_size=4 [08:24:20]MH_SAM_APDU [08:24:20]CAPDU: 80 09 00 00 [08:24:20]Write to MH i2c: E2 08 00 9E 1A 80 09 00 00 00 00 00 00 2A [08:24:20]Write i2c OK [08:24:20]MH_I2C_Read... [08:24:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:24:20]Read from MH i2c: E2 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 03 00 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 03 00 9E 1A 00 90 00 2C [08:24:20]RAPDU: 90 00 [08:24:20]wFMCommunicate OK [08:24:20]SAM_PROTO_ClearQueue done [08:24:20]KKMCreateOFDPacket [08:24:20]OFDProtocolAddRootSTLVToBuf [08:24:20]FM_MakeSignedData [08:24:20]FM_MakeSignedData [08:24:20]SAM_PROTO_SignData [08:24:20]wFMCommunicate request_size=4 [08:24:20]MH_SAM_APDU [08:24:20]CAPDU: 80 0D 01 02 [08:24:20]Write to MH i2c: E2 08 00 9F 1A 80 0D 01 02 00 00 00 00 32 [08:24:20]Write i2c OK [08:24:20]MH_I2C_Read... [08:24:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:24:20]Read from MH i2c: E2 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 03 00 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 03 00 9F 1A 00 90 00 2D [08:24:20]RAPDU: 90 00 [08:24:20]wFMCommunicate OK [08:24:20]wFMCommunicate request_size=255 [08:24:20]MH_SAM_APDU [08:24:20]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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 10 00 00 00 F4 03 04 00 37 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 18 58 00 00 35 04 06 00 06 [08:24:20]Write to MH i2c: E2 02 01 A0 1A 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 10 00 00 00 F4 03 04 00 37 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 18 58 00 00 35 04 06 00 06 00 00 CD [08:24:20]Write i2c OK [08:24:20]MH_I2C_Read... [08:24:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:20]Read from MH i2c: E2 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 03 00 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 03 00 A0 1A 00 90 00 2E [08:24:20]RAPDU: 90 00 [08:24:20]wFMCommunicate OK [08:24:20]wFMCommunicate request_size=10 [08:24:20]MH_SAM_APDU [08:24:20]CAPDU: 80 0D 02 02 05 ED 11 7A D2 0B [08:24:20]Write to MH i2c: E2 0D 00 A1 1A 80 0D 02 02 05 00 ED 11 7A D2 0B 00 00 94 [08:24:20]Write i2c OK [08:24:20]MH_I2C_Read... [08:24:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:20]Read from MH i2c: E2 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 03 00 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 03 00 A1 1A 00 90 00 2F [08:24:20]RAPDU: 90 00 [08:24:20]wFMCommunicate OK [08:24:20]wFMCommunicate request_size=4 [08:24:20]MH_SAM_APDU [08:24:20]CAPDU: 80 0D 03 02 [08:24:20]Write to MH i2c: E2 08 00 A2 1A 80 0D 03 02 00 00 00 00 37 [08:24:20]Write i2c OK [08:24:20]MH_I2C_Read... [08:24:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:24:20]Read from MH i2c: E2 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 0B 00 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 0B 00 A2 1A 00 96 E1 3D FB B6 80 2A 64 90 00 AB [08:24:20]RAPDU: 96 E1 3D FB B6 80 2A 64 90 00 [08:24:20]wFMCommunicate OK [08:24:20]SAM_PROTO_SignData done [08:24:20]FM_MakeSignedData done [08:24:20]CreateOFDProtocolMessage [08:24:20]wFMCommunicate request_size=4 [08:24:20]MH_SAM_APDU [08:24:20]CAPDU: 80 11 00 00 [08:24:20]Write to MH i2c: E2 08 00 A3 1A 80 11 00 00 00 00 00 00 37 [08:24:20]Write i2c OK [08:24:20]MH_I2C_Read... [08:24:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:20]Read from MH i2c: E2 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 17 00 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: E2 17 00 A3 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 91 [08:24:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:24:20]wFMCommunicate OK [08:24:20]CreateOFDProtocolMessage done [08:24:20]OFDSenderStorePacket 22552 [08:24:20]StoreOFDPacket docnum=22552 [08:24:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 C5 FD 07 01 9F 96 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 10 00 00 00 F4 03 04 00 37 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 18 58 00 00 35 04 06 00 06 ED 11 7A D2 0B 96 E1 3D FB B6 80 2A 64 [08:24:20]CheckFolder [08:24:20]dirname=/storage/ofd_packets [08:24:20]CheckFolder done [08:24:20]ProducePacketName [08:24:20]name=ofd_packets/00022552 [08:24:20]NVStorageSaveData ofd_packets/00022552 [08:24:20]File name is /storage/ofd_packets/00022552 [08:24:20]Write 301 bytes [08:24:20]NVStorageSaveData done [08:24:20]OFDSenderStorePacket done [08:24:20]KKMCreateOFDPacket done [08:24:20]NVStorageSaveData kkm_last_timestamp [08:24:20]File name is /storage/kkm_last_timestamp [08:24:20]Write 4 bytes [08:24:20]NVStorageSaveData done [08:24:20]ExternCall_PrintAddStr [08:24:20]wPrintStart [08:24:20]Write to MH i2c: 01 00 00 A4 1A BE [08:24:20]Write i2c OK [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: 01 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: 01 07 00 [08:24:20]MH_I2C_Read... [08:24:20]Read from MH i2c: 01 07 00 A4 1A 00 00 00 00 00 FF 0F D3 [08:24:20]RasterBufferAndPrint [08:24:20]line Счет N : (1)2165361 [08:24:20]line ИÐÐ: 02508201610067 [08:24:20]line Контрольно-КаÑÑовый Чек [08:24:20]line ПРОДÐЖР[08:24:20]line ТРК (МРК, ГÐК) : 12 [08:24:20]line Товар: 2710124130 [08:24:20]line Ðи-92-К-5 [08:24:20]line 7.380 * 67.80 [08:24:20]line = 500.36 [08:24:20]line ÐДС 12% ÐСП 1% [08:24:20]line > о реализуемом товаре [08:24:20]line ОКРУГЛЕÐИЕ: -0.36 [08:24:20]line ИТОГО: 500.00 [08:24:20]line ВнеÑено: 500.00 [08:24:20]line СДÐЧÐ: 0.00 [08:24:20]line ÐСП 1% : 4.43 [08:24:20]line ÐДС 12% : 53.14 [08:24:20]line Ðаличными: 500.00 [08:24:20]line Безнал.: 0.00 [08:24:20]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:24:20]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:24:20]line СÐО: Общий режим [08:24:20]line Чек 16 26.09.2024 08:24 [08:24:20]line Смена: 232 ФФД: 1.0 [08:24:20]line ЗÐМ: 0300000061 [08:24:20]line РÐМ: 0000000000146243 [08:24:20]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:24:20]line ФМ: 0000000000959358 [08:24:20]line ФД: 22552 [08:24:20]line ФПД: 7615270277643 [08:24:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082423&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22552&fm=7615270277643&tin=02508201610067®Number=0000000000146243&sum=50000 [08:24:21]OFD Sender: Processing packet 22552 [packets to send 23, broken 22] [08:24:21]ProducePacketName [08:24:21]name=ofd_packets/00022552 [08:24:21]OFD Sender: To server: ‡•öpG, [08:24:21]CommunicateWithHost lk.salyk.kg:30040 [08:24:21]ConnectInit lk.salyk.kg [08:24:21]written 0, free lines is 4095 [08:24:21]Write to MH i2c: 01 00 00 CF 1A E9 [08:24:21]Write i2c OK [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: 01 [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: 01 07 00 [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: 01 07 00 CF 1A 00 00 00 00 00 EC 0C E8 [08:24:21]RasterBufferAndPrint [08:24:21]line [08:24:21]line [08:24:21]line [08:24:21]line [08:24:21]line [08:24:21]written 0, free lines is 3311 [08:24:21]MH_Cut [08:24:21]Write to MH i2c: D1 01 00 D6 1A 01 C2 [08:24:21]Write i2c OK [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: D1 [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: D1 01 00 [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: D1 01 00 D6 1A 00 C1 [08:24:21]Write to MH i2c: 01 00 00 D7 1A F1 [08:24:21]Write i2c OK [08:24:21]MH_I2C_Read... [08:24:21]Connected sock=11 [08:24:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 C5 FD 07 01 9F 96 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 10 00 00 00 F4 03 04 00 37 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 18 58 00 00 35 04 06 00 06 ED 11 7A D2 0B 96 E1 3D FB B6 80 2A 64 [08:24:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 18 8C 47 00 16 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 39 35 39 33 35 38 10 04 04 00 18 58 00 00 F4 03 04 00 57 C4 F4 66 B6 04 01 00 00 68 B9 B9 13 D0 2F 04 67 [08:24:21]CommunicateWithHost err = 0 [08:24:21]CheckOFDResponse [08:24:21]1017 (14) - 77093643461234 [08:24:21]1041 (16) - 0000000000959358 [08:24:21]1040 (4) - 22552 [08:24:21]1012 (4) - 26.09.2024 02:17 [08:24:21]1206 (1) - 0 [08:24:21]OFD Sender: Remove packet 22552 [08:24:21]ProducePacketName [08:24:21]name=ofd_packets/00022552 [08:24:21]NVStorageDeleteData [08:24:22]*** Cut start [08:24:22]*** Partial cut [08:24:22]*** CUTSNS_PIN = 1 [08:24:22]*** CUTSNS_PIN = 0 [08:24:22]OFD Sender: No OFD packet to send [08:24:22]*** Brake cut motor [08:24:22]Read from MH i2c: 01 [08:24:22]MH_I2C_Read... [08:24:22]*** Stop cut motor [08:24:22]*** Cut end [08:24:22]Read from MH i2c: 01 07 00 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: 01 07 00 D7 1A 00 00 00 00 00 FF 0F 06 [08:24:22]process_action close_receipt done [08:24:22]requested_data is exist [08:24:22]produce_requested_data [08:24:22]requested_item fm.sn is exist - process it [08:24:22]wFMCommunicate request_size=4 [08:24:22]MH_SAM_APDU [08:24:22]CAPDU: 80 11 00 00 [08:24:22]Write to MH i2c: E2 08 00 D8 1A 80 11 00 00 00 00 00 00 6C [08:24:22]Write i2c OK [08:24:22]MH_I2C_Read... [08:24:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:22]Read from MH i2c: E2 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: E2 17 00 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: E2 17 00 D8 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C6 [08:24:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:24:22]wFMCommunicate OK [08:24:22]requested_item fd.num is exist - process it [08:24:22]SAM_PROTO_GetFieldsCounters [08:24:22]wFMCommunicate request_size=4 [08:24:22]MH_SAM_APDU [08:24:22]CAPDU: 80 13 00 00 [08:24:22]Write to MH i2c: E2 08 00 D9 1A 80 13 00 00 00 00 00 00 6F [08:24:22]Write i2c OK [08:24:22]MH_I2C_Read... [08:24:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:24:23]Read from MH i2c: E2 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 62 00 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 62 00 D9 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 18 58 00 00 0E 04 04 00 E8 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 1A [08:24:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 18 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:24:23]wFMCommunicate OK [08:24:23]SAM_PROTO_GetFieldsCounters done [08:24:23]requested_item shift.num is exist - process it [08:24:23]requested_item shift.opened is exist - process it [08:24:23]req_shift_opened [08:24:23]FM_GetShiftState [08:24:23]SAM_PROTO_GetShiftState [08:24:23]wFMCommunicate request_size=4 [08:24:23]MH_SAM_APDU [08:24:23]CAPDU: 80 13 01 00 [08:24:23]Write to MH i2c: E2 08 00 DA 1A 80 13 01 00 00 00 00 00 71 [08:24:23]Write i2c OK [08:24:23]MH_I2C_Read... [08:24:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:23]Read from MH i2c: E2 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 0E 00 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 0E 00 DA 1A 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 31 [08:24:23]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:24:23]wFMCommunicate OK [08:24:23]SAM_PROTO_GetShiftState done [08:24:23]FM_GetShiftState done [08:24:23]req_shift_opened done [08:24:23]requested_item shift.open_date is exist - process it [08:24:23]req_shift_open_date [08:24:23]req_shift_open_date done [08:24:23]produce_requested_data done [08:24:23]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22552,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:24:23]process_action_free close_receipt [08:24:23]json_value_free [08:24:23]json_value_free done [08:24:23]process_json_proto returns [08:24:23]Send response to host [08:24:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22552,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:24:23]free response buf [08:24:23]execute_script done [08:24:23]execute_script returns [08:24:23]free content buf [08:24:23]Sock 7.Close socket [08:24:23]Sock 7.Thread stoped [08:24:27]OFD Sender: No OFD packet to send [08:24:30]accept exits with 9 [08:24:30]New connection [08:24:30]New thread 3067583844 created [08:24:30]Thread 3067440484 joined [08:24:30]Waiting for new connection... [08:24:30] Sock 9.Parse request [08:24:30]Sock 9.Check first char [08:24:30]Sock 9.First char is OK [08:24:30]request: POST /json_proto HTTP/1.0 [08:24:30]Method: POST [08:24:30]URL: /json_proto [08:24:30]Method is POST - this is cgi request [08:24:30]url: /json_proto [08:24:30]query_string will be loaded in cgi processing [08:24:30]execute_cgi json_proto POST (null) [08:24:30]execute_cgi path=json_proto method=POST [08:24:30]POST find Content-Length [08:24:30]Host: 172.17.43.4:8080 [08:24:30]Content-Length: 680 [08:24:30]Content-Type: application/json [08:24:30] [08:24:30]POST finish read [08:24:30]Found Content-Length = 680 [08:24:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165359", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.250, "sum" : 2000.25, "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" ] } } [08:24:30]execute_script... [08:24: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)2165359", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.250, "sum" : 2000.25, "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" ] } } [08:24:30]POST & json_proto [08:24:30]process_json_proto [08:24:30]json parsed OK: [08:24:30]protocol is kg_v1.0 [08:24:30]action value=close_receipt [08:24:30]process_action close_receipt [08:24:30]cmd_close_receipt [08:24:30]MH_GetDate [08:24:30]Write to MH i2c: F0 00 00 DB 1A E4 [08:24:30]Write i2c OK [08:24:30]MH_I2C_Read... [08:24:30]Read from MH i2c: F0 [08:24:30]MH_I2C_Read... [08:24:30]Read from MH i2c: F0 09 00 [08:24:30]MH_I2C_Read... [08:24:30]Read from MH i2c: F0 09 00 DB 1A 00 43 1A F5 66 02 BF CF 66 9B [08:24:30]GetLastDocTimeStamp 1727339063 [08:24:30]current date 1727339075 [08:24:30]FM_GetShiftState [08:24:30]SAM_PROTO_GetShiftState [08:24:30]wFMCommunicate request_size=4 [08:24:30]MH_SAM_APDU [08:24:30]CAPDU: 80 13 01 00 [08:24:30]Write to MH i2c: E2 08 00 DC 1A 80 13 01 00 00 00 00 00 73 [08:24:30]Write i2c OK [08:24:30]MH_I2C_Read... [08:24:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:30]Read from MH i2c: E2 [08:24:30]MH_I2C_Read... [08:24:30]Read from MH i2c: E2 0E 00 [08:24:30]MH_I2C_Read... [08:24:30]Read from MH i2c: E2 0E 00 DC 1A 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 33 [08:24:30]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:24:30]wFMCommunicate OK [08:24:30]SAM_PROTO_GetShiftState done [08:24:30]FM_GetShiftState done [08:24:30]opened in 1727309492 [08:24:30]opened+sec_in_day 1727395892 [08:24:30]quantity*price = 200025 [08:24:30]sum+1 = 200026 [08:24:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.25 ИТОГО: 2000.00 ВнеÑено: 2000.00 СДÐЧÐ: 0.00 ÐСП 1% : 17.70 ÐДС 12% : 212.42 Ðаличными: 2000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 17 26.09.2024 08:24 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22553 ФПД: 104512307243511 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082435&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22553&fm=104512307243511&tin=02508201610067®Number=0000000000146243&sum=200000 [08:24:32]StoreToDocumentArchive [08:24:32]shift 232 fd 22553 [08:24:32]save to /storage/0232/doc_00022553 [08:24:32]save last doc name /storage/0232/doc_00022553 to /storage/kkm_last_doc_name [08:24:32]save OK [08:24:32]Clear old archive folders... [08:24:32]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:24:32]tlvbuf is 002534F0 [08:24:32]SAM_PROTO_ClearQueue [08:24:32]wFMCommunicate request_size=4 [08:24:32]MH_SAM_APDU [08:24:32]CAPDU: 80 09 00 00 [08:24:32]Write to MH i2c: E2 08 00 E9 1A 80 09 00 00 00 00 00 00 75 [08:24:32]Write i2c OK [08:24:32]MH_I2C_Read... [08:24:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:24:32]Read from MH i2c: E2 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 03 00 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 03 00 E9 1A 00 90 00 77 [08:24:32]RAPDU: 90 00 [08:24:32]wFMCommunicate OK [08:24:32]SAM_PROTO_ClearQueue done [08:24:32]KKMCreateOFDPacket [08:24:32]OFDProtocolAddRootSTLVToBuf [08:24:32]FM_MakeSignedData [08:24:32]FM_MakeSignedData [08:24:32]SAM_PROTO_SignData [08:24:32]wFMCommunicate request_size=4 [08:24:32]MH_SAM_APDU [08:24:32]CAPDU: 80 0D 01 02 [08:24:32]Write to MH i2c: E2 08 00 EA 1A 80 0D 01 02 00 00 00 00 7D [08:24:32]Write i2c OK [08:24:32]MH_I2C_Read... [08:24:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:24:32]Read from MH i2c: E2 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 03 00 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 03 00 EA 1A 00 90 00 78 [08:24:32]RAPDU: 90 00 [08:24:32]wFMCommunicate OK [08:24:32]wFMCommunicate request_size=255 [08:24:32]MH_SAM_APDU [08:24:32]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 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 FA 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 11 00 00 00 F4 03 04 00 43 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 19 58 00 00 35 04 06 00 5F 0D AA F2 [08:24:32]Write to MH i2c: E2 02 01 EB 1A 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 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 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 FA 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 11 00 00 00 F4 03 04 00 43 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 19 58 00 00 35 04 06 00 5F 0D AA F2 00 00 1C [08:24:32]Write i2c OK [08:24:32]MH_I2C_Read... [08:24:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:32]OFD Sender: No OFD packet to send [08:24:32]Read from MH i2c: E2 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 03 00 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 03 00 EB 1A 00 90 00 79 [08:24:32]RAPDU: 90 00 [08:24:32]wFMCommunicate OK [08:24:32]wFMCommunicate request_size=7 [08:24:32]MH_SAM_APDU [08:24:32]CAPDU: 80 0D 02 02 02 A9 F7 [08:24:32]Write to MH i2c: E2 0A 00 EC 1A 80 0D 02 02 02 00 A9 F7 00 00 24 [08:24:32]Write i2c OK [08:24:32]MH_I2C_Read... [08:24:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:32]Read from MH i2c: E2 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 03 00 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 03 00 EC 1A 00 90 00 7A [08:24:32]RAPDU: 90 00 [08:24:32]wFMCommunicate OK [08:24:32]wFMCommunicate request_size=4 [08:24:32]MH_SAM_APDU [08:24:32]CAPDU: 80 0D 03 02 [08:24:32]Write to MH i2c: E2 08 00 ED 1A 80 0D 03 02 00 00 00 00 82 [08:24:32]Write i2c OK [08:24:32]MH_I2C_Read... [08:24:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:24:32]Read from MH i2c: E2 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 0B 00 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 0B 00 ED 1A 00 09 4B FD E0 EB C4 44 CA 90 00 71 [08:24:32]RAPDU: 09 4B FD E0 EB C4 44 CA 90 00 [08:24:32]wFMCommunicate OK [08:24:32]SAM_PROTO_SignData done [08:24:32]FM_MakeSignedData done [08:24:32]CreateOFDProtocolMessage [08:24:32]wFMCommunicate request_size=4 [08:24:32]MH_SAM_APDU [08:24:32]CAPDU: 80 11 00 00 [08:24:32]Write to MH i2c: E2 08 00 EE 1A 80 11 00 00 00 00 00 00 82 [08:24:32]Write i2c OK [08:24:32]MH_I2C_Read... [08:24:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:32]Read from MH i2c: E2 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 17 00 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: E2 17 00 EE 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 DC [08:24:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:24:32]wFMCommunicate OK [08:24:32]CreateOFDProtocolMessage done [08:24:32]OFDSenderStorePacket 22553 [08:24:32]StoreOFDPacket docnum=22553 [08:24:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 3A 2F 04 01 C6 39 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 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 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 FA 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 11 00 00 00 F4 03 04 00 43 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 19 58 00 00 35 04 06 00 5F 0D AA F2 A9 F7 09 4B FD E0 EB C4 44 CA [08:24:32]CheckFolder [08:24:32]dirname=/storage/ofd_packets [08:24:32]CheckFolder done [08:24:32]ProducePacketName [08:24:32]name=ofd_packets/00022553 [08:24:32]NVStorageSaveData ofd_packets/00022553 [08:24:32]File name is /storage/ofd_packets/00022553 [08:24:32]Write 298 bytes [08:24:32]NVStorageSaveData done [08:24:32]OFDSenderStorePacket done [08:24:32]KKMCreateOFDPacket done [08:24:32]NVStorageSaveData kkm_last_timestamp [08:24:32]File name is /storage/kkm_last_timestamp [08:24:32]Write 4 bytes [08:24:32]NVStorageSaveData done [08:24:32]ExternCall_PrintAddStr [08:24:32]wPrintStart [08:24:32]Write to MH i2c: 01 00 00 EF 1A 09 [08:24:32]Write i2c OK [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: 01 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: 01 07 00 [08:24:32]MH_I2C_Read... [08:24:32]Read from MH i2c: 01 07 00 EF 1A 00 00 00 00 00 FF 0F 1E [08:24:32]RasterBufferAndPrint [08:24:32]line Счет N : (1)2165359 [08:24:32]line ИÐÐ: 02508201610067 [08:24:32]line Контрольно-КаÑÑовый Чек [08:24:32]line ПРОДÐЖР[08:24:32]line ТРК (МРК, ГÐК) : 31 [08:24:32]line Товар: 2710194210 [08:24:32]line ДТ-К-5 [08:24:32]line 26.250 * 76.20 [08:24:32]line = 2000.25 [08:24:32]line ÐДС 12% ÐСП 1% [08:24:32]line > о реализуемом товаре [08:24:32]line ОКРУГЛЕÐИЕ: -0.25 [08:24:32]line ИТОГО: 2000.00 [08:24:32]line ВнеÑено: 2000.00 [08:24:32]line СДÐЧÐ: 0.00 [08:24:32]line ÐСП 1% : 17.70 [08:24:32]line ÐДС 12% : 212.42 [08:24:32]line Ðаличными: 2000.00 [08:24:32]line Безнал.: 0.00 [08:24:32]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:24:32]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:24:32]line СÐО: Общий режим [08:24:32]line Чек 17 26.09.2024 08:24 [08:24:32]line Смена: 232 ФФД: 1.0 [08:24:32]line ЗÐМ: 0300000061 [08:24:32]line РÐМ: 0000000000146243 [08:24:32]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:24:32]line ФМ: 0000000000959358 [08:24:32]line ФД: 22553 [08:24:32]line ФПД: 104512307243511 [08:24:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082435&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22553&fm=104512307243511&tin=02508201610067®Number=0000000000146243&sum=200000 [08:24:32]written 0, free lines is 4095 [08:24:32]OFD Sender: Processing packet 22553 [packets to send 23, broken 22] [08:24:32]ProducePacketName [08:24:32]name=ofd_packets/00022553 [08:24:32]OFD Sender: To server: ‡•öpG, [08:24:32]CommunicateWithHost lk.salyk.kg:30040 [08:24:32]ConnectInit lk.salyk.kg [08:24:32]Connected sock=11 [08:24:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 3A 2F 04 01 C6 39 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 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 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 FA 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 11 00 00 00 F4 03 04 00 43 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 19 58 00 00 35 04 06 00 5F 0D AA F2 A9 F7 09 4B FD E0 EB C4 44 CA [08:24:33]Write to MH i2c: 01 00 00 1A 1B 35 [08:24:33]Write i2c OK [08:24:33]MH_I2C_Read... [08:24:33]Read from MH i2c: 01 [08:24:33]MH_I2C_Read... [08:24:33]Read from MH i2c: 01 07 00 [08:24:33]MH_I2C_Read... [08:24:33]Read from MH i2c: 01 07 00 1A 1B 00 00 00 00 00 F9 0C 41 [08:24:33]RasterBufferAndPrint [08:24:33]line [08:24:33]line [08:24:33]line [08:24:33]line [08:24:33]line [08:24:33]written 0, free lines is 3327 [08:24:33]MH_Cut [08:24:33]Write to MH i2c: D1 01 00 21 1B 01 0E [08:24:33]Write i2c OK [08:24:33]MH_I2C_Read... [08:24:33]Read from MH i2c: D1 [08:24:33]MH_I2C_Read... [08:24:33]Read from MH i2c: D1 01 00 [08:24:33]MH_I2C_Read... [08:24:33]Read from MH i2c: D1 01 00 21 1B 00 0D [08:24:33]Write to MH i2c: 01 00 00 22 1B 3D [08:24:33]Write i2c OK [08:24:33]MH_I2C_Read... [08:24:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C9 2A 47 00 3F CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 19 58 00 00 F4 03 04 00 63 C4 F4 66 B6 04 01 00 00 73 E3 4E 67 7E 48 B6 55 [08:24:33]CommunicateWithHost err = 0 [08:24:33]CheckOFDResponse [08:24:33]1017 (14) - 77093643461234 [08:24:33]1041 (16) - 0000000000959358 [08:24:33]1040 (4) - 22553 [08:24:33]1012 (4) - 26.09.2024 02:18 [08:24:33]1206 (1) - 0 [08:24:33]OFD Sender: Remove packet 22553 [08:24:33]ProducePacketName [08:24:33]name=ofd_packets/00022553 [08:24:33]NVStorageDeleteData [08:24:33]OFD Sender: No OFD packet to send [08:24:33]*** Cut start [08:24:33]*** Partial cut [08:24:33]*** CUTSNS_PIN = 1 [08:24:33]*** CUTSNS_PIN = 0 [08:24:33]*** Brake cut motor [08:24:34]Read from MH i2c: 01 [08:24:34]MH_I2C_Read... [08:24:34]*** Stop cut motor [08:24:34]*** Cut end [08:24:34]Read from MH i2c: 01 07 00 [08:24:34]MH_I2C_Read... [08:24:34]Read from MH i2c: 01 07 00 22 1B 00 00 00 00 00 FF 0F 52 [08:24:34]process_action close_receipt done [08:24:34]requested_data is exist [08:24:34]produce_requested_data [08:24:34]requested_item fm.sn is exist - process it [08:24:34]wFMCommunicate request_size=4 [08:24:34]MH_SAM_APDU [08:24:34]CAPDU: 80 11 00 00 [08:24:34]Write to MH i2c: E2 08 00 23 1B 80 11 00 00 00 00 00 00 B8 [08:24:34]Write i2c OK [08:24:34]MH_I2C_Read... [08:24:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:34]Read from MH i2c: E2 [08:24:34]MH_I2C_Read... [08:24:34]Read from MH i2c: E2 17 00 [08:24:34]MH_I2C_Read... [08:24:34]Read from MH i2c: E2 17 00 23 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 12 [08:24:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:24:34]wFMCommunicate OK [08:24:34]requested_item fd.num is exist - process it [08:24:34]SAM_PROTO_GetFieldsCounters [08:24:34]wFMCommunicate request_size=4 [08:24:34]MH_SAM_APDU [08:24:34]CAPDU: 80 13 00 00 [08:24:34]Write to MH i2c: E2 08 00 24 1B 80 13 00 00 00 00 00 00 BB [08:24:34]Write i2c OK [08:24:34]MH_I2C_Read... [08:24:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:24:34]Read from MH i2c: E2 [08:24:34]MH_I2C_Read... [08:24:34]Read from MH i2c: E2 62 00 [08:24:34]MH_I2C_Read... [08:24:34]Read from MH i2c: E2 62 00 24 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 19 58 00 00 0E 04 04 00 E8 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 6A [08:24:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 19 58 00 00 0E 04 04 00 E8 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 [08:24:34]wFMCommunicate OK [08:24:34]SAM_PROTO_GetFieldsCounters done [08:24:34]requested_item shift.num is exist - process it [08:24:34]requested_item shift.opened is exist - process it [08:24:34]req_shift_opened [08:24:34]FM_GetShiftState [08:24:34]SAM_PROTO_GetShiftState [08:24:34]wFMCommunicate request_size=4 [08:24:34]MH_SAM_APDU [08:24:34]CAPDU: 80 13 01 00 [08:24:34]Write to MH i2c: E2 08 00 25 1B 80 13 01 00 00 00 00 00 BD [08:24:34]Write i2c OK [08:24:34]MH_I2C_Read... [08:24:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:34]Read from MH i2c: E2 [08:24:34]MH_I2C_Read... [08:24:34]Read from MH i2c: E2 0E 00 [08:24:34]MH_I2C_Read... [08:24:34]Read from MH i2c: E2 0E 00 25 1B 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 7D [08:24:34]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:24:34]wFMCommunicate OK [08:24:34]SAM_PROTO_GetShiftState done [08:24:34]FM_GetShiftState done [08:24:34]req_shift_opened done [08:24:34]requested_item shift.open_date is exist - process it [08:24:34]req_shift_open_date [08:24:34]req_shift_open_date done [08:24:34]produce_requested_data done [08:24:34]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22553,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:24:34]process_action_free close_receipt [08:24:34]json_value_free [08:24:34]json_value_free done [08:24:34]process_json_proto returns [08:24:34]Send response to host [08:24:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22553,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:24:34]free response buf [08:24:34]execute_script done [08:24:34]execute_script returns [08:24:34]free content buf [08:24:34]Sock 9.Close socket [08:24:34]Sock 9.Thread stoped [08:24:38]OFD Sender: No OFD packet to send [08:24:43]OFD Sender: No OFD packet to send [08:24:48]OFD Sender: No OFD packet to send [08:24:53]OFD Sender: No OFD packet to send [08:24:56]accept exits with 7 [08:24:56]New connection [08:24:56]New thread 3067440484 created [08:24:56]Thread 3067583844 joined [08:24:56]Waiting for new connection... [08:24:56] Sock 7.Parse request [08:24:56]Sock 7.Check first char [08:24:56]Sock 7.First char is OK [08:24:56]request: POST /json_proto HTTP/1.0 [08:24:56]Method: POST [08:24:56]URL: /json_proto [08:24:56]Method is POST - this is cgi request [08:24:56]url: /json_proto [08:24:56]query_string will be loaded in cgi processing [08:24:56]execute_cgi json_proto POST (null) [08:24:56]execute_cgi path=json_proto method=POST [08:24:56]POST find Content-Length [08:24:56]Host: 172.17.43.4:8080 [08:24:56]Content-Length: 678 [08:24:56]Content-Type: application/json [08:24:56] [08:24:56]POST finish read [08:24:56]Found Content-Length = 678 [08:24:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165362", "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" : 67.80, "quantity" : 7.380, "sum" : 500.36, "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" ] } } [08:24:56]execute_script... [08:24: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)2165362", "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" : 67.80, "quantity" : 7.380, "sum" : 500.36, "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" ] } } [08:24:56]POST & json_proto [08:24:56]process_json_proto [08:24:56]json parsed OK: [08:24:56]protocol is kg_v1.0 [08:24:56]action value=close_receipt [08:24:56]process_action close_receipt [08:24:56]cmd_close_receipt [08:24:56]MH_GetDate [08:24:56]Write to MH i2c: F0 00 00 26 1B 30 [08:24:56]Write i2c OK [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: F0 [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: F0 09 00 [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: F0 09 00 26 1B 00 5C 1A F5 66 02 BF CF 66 00 [08:24:56]GetLastDocTimeStamp 1727339075 [08:24:56]current date 1727339100 [08:24:56]FM_GetShiftState [08:24:56]SAM_PROTO_GetShiftState [08:24:56]wFMCommunicate request_size=4 [08:24:56]MH_SAM_APDU [08:24:56]CAPDU: 80 13 01 00 [08:24:56]Write to MH i2c: E2 08 00 27 1B 80 13 01 00 00 00 00 00 BF [08:24:56]Write i2c OK [08:24:56]MH_I2C_Read... [08:24:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:56]Read from MH i2c: E2 [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: E2 0E 00 [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: E2 0E 00 27 1B 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 7F [08:24:56]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:24:56]wFMCommunicate OK [08:24:56]SAM_PROTO_GetShiftState done [08:24:56]FM_GetShiftState done [08:24:56]opened in 1727309492 [08:24:56]opened+sec_in_day 1727395892 [08:24:56]quantity*price = 50036 [08:24:56]sum+1 = 50037 [08:24:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.36 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 18 26.09.2024 08:25 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22554 ФПД: 241630456631081 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082500&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22554&fm=241630456631081&tin=02508201610067®Number=0000000000146243&sum=50000 [08:24:57]StoreToDocumentArchive [08:24:57]shift 232 fd 22554 [08:24:57]save to /storage/0232/doc_00022554 [08:24:57]save last doc name /storage/0232/doc_00022554 to /storage/kkm_last_doc_name [08:24:57]save OK [08:24:57]Clear old archive folders... [08:24:57]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:24:57]tlvbuf is 00260FF0 [08:24:57]SAM_PROTO_ClearQueue [08:24:57]wFMCommunicate request_size=4 [08:24:57]MH_SAM_APDU [08:24:57]CAPDU: 80 09 00 00 [08:24:57]Write to MH i2c: E2 08 00 34 1B 80 09 00 00 00 00 00 00 C1 [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 34 1B 00 90 00 C3 [08:24:57]RAPDU: 90 00 [08:24:57]wFMCommunicate OK [08:24:57]SAM_PROTO_ClearQueue done [08:24:57]KKMCreateOFDPacket [08:24:57]OFDProtocolAddRootSTLVToBuf [08:24:57]FM_MakeSignedData [08:24:57]FM_MakeSignedData [08:24:57]SAM_PROTO_SignData [08:24:57]wFMCommunicate request_size=4 [08:24:57]MH_SAM_APDU [08:24:57]CAPDU: 80 0D 01 02 [08:24:57]Write to MH i2c: E2 08 00 35 1B 80 0D 01 02 00 00 00 00 C9 [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 35 1B 00 90 00 C4 [08:24:57]RAPDU: 90 00 [08:24:57]wFMCommunicate OK [08:24:57]wFMCommunicate request_size=255 [08:24:57]MH_SAM_APDU [08:24: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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 5C 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1A 58 00 00 35 04 06 00 DB [08:24:57]Write to MH i2c: E2 02 01 36 1B 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 5C 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1A 58 00 00 35 04 06 00 DB 00 00 62 [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:58]Read from MH i2c: E2 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 03 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 03 00 36 1B 00 90 00 C5 [08:24:58]RAPDU: 90 00 [08:24:58]wFMCommunicate OK [08:24:58]wFMCommunicate request_size=10 [08:24:58]MH_SAM_APDU [08:24:58]CAPDU: 80 0D 02 02 05 C2 F9 88 CF 29 [08:24:58]Write to MH i2c: E2 0D 00 37 1B 80 0D 02 02 05 00 C2 F9 88 CF 29 00 00 11 [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:58]Read from MH i2c: E2 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 03 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 03 00 37 1B 00 90 00 C6 [08:24:58]RAPDU: 90 00 [08:24:58]wFMCommunicate OK [08:24:58]wFMCommunicate request_size=4 [08:24:58]MH_SAM_APDU [08:24:58]CAPDU: 80 0D 03 02 [08:24:58]Write to MH i2c: E2 08 00 38 1B 80 0D 03 02 00 00 00 00 CE [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:24:58]Read from MH i2c: E2 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 0B 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 0B 00 38 1B 00 4F F8 E2 EE 73 7B 79 2B 90 00 78 [08:24:58]RAPDU: 4F F8 E2 EE 73 7B 79 2B 90 00 [08:24:58]wFMCommunicate OK [08:24:58]SAM_PROTO_SignData done [08:24:58]FM_MakeSignedData done [08:24:58]CreateOFDProtocolMessage [08:24:58]wFMCommunicate request_size=4 [08:24:58]MH_SAM_APDU [08:24:58]CAPDU: 80 11 00 00 [08:24:58]Write to MH i2c: E2 08 00 39 1B 80 11 00 00 00 00 00 00 CE [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:58]Read from MH i2c: E2 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 17 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: E2 17 00 39 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 28 [08:24:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:24:58]wFMCommunicate OK [08:24:58]CreateOFDProtocolMessage done [08:24:58]OFDSenderStorePacket 22554 [08:24:58]StoreOFDPacket docnum=22554 [08:24:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 3D A0 07 01 A5 07 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 5C 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1A 58 00 00 35 04 06 00 DB C2 F9 88 CF 29 4F F8 E2 EE 73 7B 79 2B [08:24:58]CheckFolder [08:24:58]dirname=/storage/ofd_packets [08:24:58]CheckFolder done [08:24:58]ProducePacketName [08:24:58]name=ofd_packets/00022554 [08:24:58]NVStorageSaveData ofd_packets/00022554 [08:24:58]File name is /storage/ofd_packets/00022554 [08:24:58]Write 301 bytes [08:24:58]NVStorageSaveData done [08:24:58]OFDSenderStorePacket done [08:24:58]KKMCreateOFDPacket done [08:24:58]NVStorageSaveData kkm_last_timestamp [08:24:58]File name is /storage/kkm_last_timestamp [08:24:58]Write 4 bytes [08:24:58]NVStorageSaveData done [08:24:58]ExternCall_PrintAddStr [08:24:58]wPrintStart [08:24:58]Write to MH i2c: 01 00 00 3A 1B 55 [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: 01 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: 01 07 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: 01 07 00 3A 1B 00 00 00 00 00 FF 0F 6A [08:24:58]RasterBufferAndPrint [08:24:58]line Счет N : (1)2165362 [08:24:58]line ИÐÐ: 02508201610067 [08:24:58]line Контрольно-КаÑÑовый Чек [08:24:58]line ПРОДÐЖР[08:24:58]line ТРК (МРК, ГÐК) : 22 [08:24:58]line Товар: 2710124130 [08:24:58]line Ðи-92-К-5 [08:24:58]line 7.380 * 67.80 [08:24:58]line = 500.36 [08:24:58]line ÐДС 12% ÐСП 1% [08:24:58]line > о реализуемом товаре [08:24:58]line ОКРУГЛЕÐИЕ: -0.36 [08:24:58]line ИТОГО: 500.00 [08:24:58]line ВнеÑено: 500.00 [08:24:58]line СДÐЧÐ: 0.00 [08:24:58]line ÐСП 1% : 4.43 [08:24:58]line ÐДС 12% : 53.14 [08:24:58]line Ðаличными: 500.00 [08:24:58]line Безнал.: 0.00 [08:24:58]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:24:58]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:24:58]line СÐО: Общий режим [08:24:58]line Чек 18 26.09.2024 08:25 [08:24:58]line Смена: 232 ФФД: 1.0 [08:24:58]line ЗÐМ: 0300000061 [08:24:58]line РÐМ: 0000000000146243 [08:24:58]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:24:58]line ФМ: 0000000000959358 [08:24:58]line ФД: 22554 [08:24:58]line ФПД: 241630456631081 [08:24:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082500&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22554&fm=241630456631081&tin=02508201610067®Number=0000000000146243&sum=50000 [08:24:58]OFD Sender: Processing packet 22554 [packets to send 23, broken 22] [08:24:58]ProducePacketName [08:24:58]name=ofd_packets/00022554 [08:24:58]OFD Sender: To server: ‡•öpG, [08:24:58]CommunicateWithHost lk.salyk.kg:30040 [08:24:58]ConnectInit lk.salyk.kg [08:24:58]written 0, free lines is 4095 [08:24:58]Connected sock=10 [08:24:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 3D A0 07 01 A5 07 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 5C 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1A 58 00 00 35 04 06 00 DB C2 F9 88 CF 29 4F F8 E2 EE 73 7B 79 2B [08:24:59]Write to MH i2c: 01 00 00 65 1B 80 [08:24:59]Write i2c OK [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: 01 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: 01 07 00 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: 01 07 00 65 1B 00 00 00 00 00 12 0D A6 [08:24:59]RasterBufferAndPrint [08:24:59]line [08:24:59]line [08:24:59]line [08:24:59]line [08:24:59]line [08:24:59]written 0, free lines is 3352 [08:24:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 05 FD 47 00 BC FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1A 58 00 00 F4 03 04 00 7C C4 F4 66 B6 04 01 00 00 15 2D 53 09 29 F9 31 5E [08:24:59]CommunicateWithHost err = 0 [08:24:59]CheckOFDResponse [08:24:59]1017 (14) - 77093643461234 [08:24:59]1041 (16) - 0000000000959358 [08:24:59]1040 (4) - 22554 [08:24:59]1012 (4) - 26.09.2024 02:18 [08:24:59]1206 (1) - 0 [08:24:59]OFD Sender: Remove packet 22554 [08:24:59]ProducePacketName [08:24:59]name=ofd_packets/00022554 [08:24:59]NVStorageDeleteData [08:24:59]MH_Cut [08:24:59]Write to MH i2c: D1 01 00 6C 1B 01 59 [08:24:59]Write i2c OK [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: D1 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: D1 01 00 [08:24:59]MH_I2C_Read... [08:24:59]Read from MH i2c: D1 01 00 6C 1B 00 58 [08:24:59]Write to MH i2c: 01 00 00 6D 1B 88 [08:24:59]Write i2c OK [08:24:59]MH_I2C_Read... [08:24:59]OFD Sender: No OFD packet to send [08:24:59]*** Cut start [08:24:59]*** Partial cut [08:24:59]*** CUTSNS_PIN = 1 [08:24:59]*** CUTSNS_PIN = 0 [08:24:59]*** Brake cut motor [08:25:00]Read from MH i2c: 01 [08:25:00]MH_I2C_Read... [08:25:00]*** Stop cut motor [08:25:00]*** Cut end [08:25:00]Read from MH i2c: 01 07 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: 01 07 00 6D 1B 00 00 00 00 00 FF 0F 9D [08:25:00]process_action close_receipt done [08:25:00]requested_data is exist [08:25:00]produce_requested_data [08:25:00]requested_item fm.sn is exist - process it [08:25:00]wFMCommunicate request_size=4 [08:25:00]MH_SAM_APDU [08:25:00]CAPDU: 80 11 00 00 [08:25:00]Write to MH i2c: E2 08 00 6E 1B 80 11 00 00 00 00 00 00 03 [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:00]Read from MH i2c: E2 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 17 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 17 00 6E 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5D [08:25:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:25:00]wFMCommunicate OK [08:25:00]requested_item fd.num is exist - process it [08:25:00]SAM_PROTO_GetFieldsCounters [08:25:00]wFMCommunicate request_size=4 [08:25:00]MH_SAM_APDU [08:25:00]CAPDU: 80 13 00 00 [08:25:00]Write to MH i2c: E2 08 00 6F 1B 80 13 00 00 00 00 00 00 06 [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:00]Read from MH i2c: E2 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 62 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 62 00 6F 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1A 58 00 00 0E 04 04 00 E8 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 B9 [08:25:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1A 58 00 00 0E 04 04 00 E8 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 [08:25:00]wFMCommunicate OK [08:25:00]SAM_PROTO_GetFieldsCounters done [08:25:00]requested_item shift.num is exist - process it [08:25:00]requested_item shift.opened is exist - process it [08:25:00]req_shift_opened [08:25:00]FM_GetShiftState [08:25:00]SAM_PROTO_GetShiftState [08:25:00]wFMCommunicate request_size=4 [08:25:00]MH_SAM_APDU [08:25:00]CAPDU: 80 13 01 00 [08:25:00]Write to MH i2c: E2 08 00 70 1B 80 13 01 00 00 00 00 00 08 [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:00]Read from MH i2c: E2 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 0E 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 0E 00 70 1B 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 C8 [08:25:00]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:25:00]wFMCommunicate OK [08:25:00]SAM_PROTO_GetShiftState done [08:25:00]FM_GetShiftState done [08:25:00]req_shift_opened done [08:25:00]requested_item shift.open_date is exist - process it [08:25:00]req_shift_open_date [08:25:00]req_shift_open_date done [08:25:00]produce_requested_data done [08:25:00]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22554,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:25:00]process_action_free close_receipt [08:25:00]json_value_free [08:25:00]json_value_free done [08:25:00]process_json_proto returns [08:25:00]Send response to host [08:25:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22554,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:25:00]free response buf [08:25:00]execute_script done [08:25:00]execute_script returns [08:25:00]free content buf [08:25:00]Sock 7.Close socket [08:25:00]Sock 7.Thread stoped [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:11]accept exits with 9 [08:25:11]New connection [08:25:11]New thread 3067583844 created [08:25:11]Thread 3067440484 joined [08:25:11]Waiting for new connection... [08:25:11] Sock 9.Parse request [08:25:11]Sock 9.Check first char [08:25:11]Sock 9.First char is OK [08:25:11]request: POST /json_proto HTTP/1.0 [08:25:11]Method: POST [08:25:11]URL: /json_proto [08:25:11]Method is POST - this is cgi request [08:25:11]url: /json_proto [08:25:11]query_string will be loaded in cgi processing [08:25:11]execute_cgi json_proto POST (null) [08:25:11]execute_cgi path=json_proto method=POST [08:25:11]POST find Content-Length [08:25:11]Host: 172.17.43.4:8080 [08:25:11]Content-Length: 909 [08:25:11]Content-Type: application/json [08:25:11] [08:25:11]POST finish read [08:25:11]Found Content-Length = 909 [08:25:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51741", "tax_sys" : 0, "items" : [ { "code": "4700002086380", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:11]execute_script... [08:25:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51741", "tax_sys" : 0, "items" : [ { "code": "4700002086380", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:11]POST & json_proto [08:25:11]process_json_proto [08:25:11]json parsed OK: [08:25:11]protocol is kg_v1.0 [08:25:11]action value=close_receipt [08:25:11]process_action close_receipt [08:25:11]cmd_close_receipt [08:25:11]MH_GetDate [08:25:11]Write to MH i2c: F0 00 00 71 1B 7B [08:25:11]Write i2c OK [08:25:11]MH_I2C_Read... [08:25:11]Read from MH i2c: F0 [08:25:11]MH_I2C_Read... [08:25:11]Read from MH i2c: F0 09 00 [08:25:11]MH_I2C_Read... [08:25:11]Read from MH i2c: F0 09 00 71 1B 00 6B 1A F5 66 02 BF CF 66 5A [08:25:11]GetLastDocTimeStamp 1727339100 [08:25:11]current date 1727339115 [08:25:11]FM_GetShiftState [08:25:11]SAM_PROTO_GetShiftState [08:25:11]wFMCommunicate request_size=4 [08:25:11]MH_SAM_APDU [08:25:11]CAPDU: 80 13 01 00 [08:25:11]Write to MH i2c: E2 08 00 72 1B 80 13 01 00 00 00 00 00 0A [08:25:11]Write i2c OK [08:25:11]MH_I2C_Read... [08:25:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:11]Read from MH i2c: E2 [08:25:11]MH_I2C_Read... [08:25:11]Read from MH i2c: E2 0E 00 [08:25:11]MH_I2C_Read... [08:25:11]Read from MH i2c: E2 0E 00 72 1B 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 CA [08:25:11]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:25:11]wFMCommunicate OK [08:25:11]SAM_PROTO_GetShiftState done [08:25:11]FM_GetShiftState done [08:25:11]opened in 1727309492 [08:25:11]opened+sec_in_day 1727395892 [08:25:11]quantity*price = 26000 [08:25:11]sum+1 = 26001 [08:25:11]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700002082931 Водка Ð¥Ð¾Ñ€Ð¾ÑˆÐ°Ñ 0,1л 1.000 * 70.00 = 70.00 ÐДС 12% ÐСП 1% > о реализуемом товаре ИТОГО: 330.00 ÐСП 1% : 2.92 ÐДС 12% : 35.04 Ðаличными: 330.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 19 26.09.2024 08:25 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22555 ФПД: 234985634845500 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082516&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22555&fm=234985634845500&tin=02508201610067®Number=0000000000146243&sum=33000 0 [08:25:12]StoreToDocumentArchive [08:25:12]shift 232 fd 22555 [08:25:12]save to /storage/0232/doc_00022555 [08:25:12]save last doc name /storage/0232/doc_00022555 to /storage/kkm_last_doc_name [08:25:12]save OK [08:25:12]Clear old archive folders... [08:25:12]ProcessDocumentItem done err = 0, tmpTLVsize=382 [08:25:12]tlvbuf is B6F74780 [08:25:12]SAM_PROTO_ClearQueue [08:25:12]wFMCommunicate request_size=4 [08:25:12]MH_SAM_APDU [08:25:12]CAPDU: 80 09 00 00 [08:25:12]Write to MH i2c: E2 08 00 7F 1B 80 09 00 00 00 00 00 00 0C [08:25:12]Write i2c OK [08:25:12]MH_I2C_Read... [08:25:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:25:12]Read from MH i2c: E2 [08:25:12]MH_I2C_Read... [08:25:12]Read from MH i2c: E2 03 00 [08:25:12]MH_I2C_Read... [08:25:12]Read from MH i2c: E2 03 00 7F 1B 00 90 00 0E [08:25:12]RAPDU: 90 00 [08:25:12]wFMCommunicate OK [08:25:12]SAM_PROTO_ClearQueue done [08:25:12]KKMCreateOFDPacket [08:25:12]OFDProtocolAddRootSTLVToBuf [08:25:12]FM_MakeSignedData [08:25:12]FM_MakeSignedData [08:25:12]SAM_PROTO_SignData [08:25:12]wFMCommunicate request_size=4 [08:25:12]MH_SAM_APDU [08:25:12]CAPDU: 80 0D 01 02 [08:25:12]Write to MH i2c: E2 08 00 80 1B 80 0D 01 02 00 00 00 00 14 [08:25:12]Write i2c OK [08:25:12]MH_I2C_Read... [08:25:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:25:12]Read from MH i2c: E2 [08:25:12]MH_I2C_Read... [08:25:12]Read from MH i2c: E2 03 00 [08:25:12]MH_I2C_Read... [08:25:12]Read from MH i2c: E2 03 00 80 1B 00 90 00 0F [08:25:12]RAPDU: 90 00 [08:25:12]wFMCommunicate OK [08:25:12]wFMCommunicate request_size=255 [08:25:12]MH_SAM_APDU [08:25:12]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 [08:25:12]Write to MH i2c: E2 02 01 81 1B 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 3C [08:25:12]Write i2c OK [08:25:12]MH_I2C_Read... [08:25:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:13]Read from MH i2c: E2 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: E2 03 00 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: E2 03 00 81 1B 00 90 00 10 [08:25:13]RAPDU: 90 00 [08:25:13]wFMCommunicate OK [08:25:13]wFMCommunicate request_size=141 [08:25:13]MH_SAM_APDU [08:25:13]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 6C 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1B 58 00 00 35 04 06 00 D5 B7 DB 4A D3 3C [08:25:13]Write to MH i2c: E2 90 00 82 1B 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 6C 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1B 58 00 00 35 04 06 00 D5 B7 DB 4A D3 3C 00 00 8A [08:25:13]Write i2c OK [08:25:13]MH_I2C_Read... [08:25:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:13]Read from MH i2c: E2 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: E2 03 00 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: E2 03 00 82 1B 00 90 00 11 [08:25:13]RAPDU: 90 00 [08:25:13]wFMCommunicate OK [08:25:13]wFMCommunicate request_size=4 [08:25:13]MH_SAM_APDU [08:25:13]CAPDU: 80 0D 03 02 [08:25:13]Write to MH i2c: E2 08 00 83 1B 80 0D 03 02 00 00 00 00 19 [08:25:13]Write i2c OK [08:25:13]MH_I2C_Read... [08:25:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:25:13]Read from MH i2c: E2 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: E2 0B 00 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: E2 0B 00 83 1B 00 20 BC 69 32 1C DC D7 06 90 00 66 [08:25:13]RAPDU: 20 BC 69 32 1C DC D7 06 90 00 [08:25:13]wFMCommunicate OK [08:25:13]SAM_PROTO_SignData done [08:25:13]FM_MakeSignedData done [08:25:13]CreateOFDProtocolMessage [08:25:13]wFMCommunicate request_size=4 [08:25:13]MH_SAM_APDU [08:25:13]CAPDU: 80 11 00 00 [08:25:13]Write to MH i2c: E2 08 00 84 1B 80 11 00 00 00 00 00 00 19 [08:25:13]Write i2c OK [08:25:13]MH_I2C_Read... [08:25:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:13]Read from MH i2c: E2 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: E2 17 00 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: E2 17 00 84 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 73 [08:25:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:25:13]wFMCommunicate OK [08:25:13]CreateOFDProtocolMessage done [08:25:13]OFDSenderStorePacket 22555 [08:25:13]StoreOFDPacket docnum=22555 [08:25:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 92 01 00 00 AA 74 8A 01 9D F5 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 6C 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1B 58 00 00 35 04 06 00 D5 B7 DB 4A D3 3C 20 BC 69 32 1C DC D7 06 [08:25:13]CheckFolder [08:25:13]dirname=/storage/ofd_packets [08:25:13]CheckFolder done [08:25:13]ProducePacketName [08:25:13]name=ofd_packets/00022555 [08:25:13]NVStorageSaveData ofd_packets/00022555 [08:25:13]File name is /storage/ofd_packets/00022555 [08:25:13]Write 432 bytes [08:25:13]NVStorageSaveData done [08:25:13]OFDSenderStorePacket done [08:25:13]KKMCreateOFDPacket done [08:25:13]NVStorageSaveData kkm_last_timestamp [08:25:13]File name is /storage/kkm_last_timestamp [08:25:13]Write 4 bytes [08:25:13]NVStorageSaveData done [08:25:13]ExternCall_PrintAddStr [08:25:13]wPrintStart [08:25:13]Write to MH i2c: 01 00 00 85 1B A0 [08:25:13]Write i2c OK [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: 01 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: 01 07 00 [08:25:13]MH_I2C_Read... [08:25:13]Read from MH i2c: 01 07 00 85 1B 00 00 00 00 00 FF 0F B5 [08:25:13]RasterBufferAndPrint [08:25:13]line Счет N : (3)51741 [08:25:13]line ИÐÐ: 02508201610067 [08:25:13]line Контрольно-КаÑÑовый Чек [08:25:13]line ПРОДÐЖР[08:25:13]line Товар: 4700002086380 [08:25:13]line Водка Сары челек 0,35л [08:25:13]line 1.000 * 260.00 [08:25:13]line = 260.00 [08:25:13]line ÐДС 12% ÐСП 1% [08:25:13]line > о реализуемом товаре [08:25:13]line Товар: 4700002082931 [08:25:13]line Водка Ð¥Ð¾Ñ€Ð¾ÑˆÐ°Ñ 0,1л [08:25:13]line 1.000 * 70.00 [08:25:13]line = 70.00 [08:25:13]line ÐДС 12% ÐСП 1% [08:25:13]line > о реализуемом товаре [08:25:13]line ИТОГО: 330.00 [08:25:13]line ÐСП 1% : 2.92 [08:25:13]line ÐДС 12% : 35.04 [08:25:13]line Ðаличными: 330.00 [08:25:13]line Безнал.: 0.00 [08:25:13]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:25:13]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:25:13]line СÐО: Общий режим [08:25:13]line Чек 19 26.09.2024 08:25 [08:25:13]line Смена: 232 ФФД: 1.0 [08:25:13]line ЗÐМ: 0300000061 [08:25:13]line РÐМ: 0000000000146243 [08:25:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:25:13]line ФМ: 0000000000959358 [08:25:13]line ФД: 22555 [08:25:13]line ФПД: 234985634845500 [08:25:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082516&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22555&fm=234985634845500&tin=02508201610067®Number=0000000000146243&sum=33000 [08:25:13]line 0 [08:25:13]OFD Sender: Processing packet 22555 [packets to send 23, broken 22] [08:25:13]ProducePacketName [08:25:13]name=ofd_packets/00022555 [08:25:13]OFD Sender: To server: ‡•öpG, [08:25:13]CommunicateWithHost lk.salyk.kg:30040 [08:25:13]ConnectInit lk.salyk.kg [08:25:13]written 0, free lines is 4095 [08:25:13]Connected sock=7 [08:25:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 92 01 00 00 AA 74 8A 01 9D F5 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 6C 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1B 58 00 00 35 04 06 00 D5 B7 DB 4A D3 3C 20 BC 69 32 1C DC D7 06 [08:25:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 FD 6F 47 00 24 E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1B 58 00 00 F4 03 04 00 8C C4 F4 66 B6 04 01 00 00 B7 C2 EF 48 5D 35 60 52 [08:25:14]CommunicateWithHost err = 0 [08:25:14]CheckOFDResponse [08:25:14]1017 (14) - 77093643461234 [08:25:14]1041 (16) - 0000000000959358 [08:25:14]1040 (4) - 22555 [08:25:14]1012 (4) - 26.09.2024 02:18 [08:25:14]1206 (1) - 0 [08:25:14]OFD Sender: Remove packet 22555 [08:25:14]ProducePacketName [08:25:14]name=ofd_packets/00022555 [08:25:14]NVStorageDeleteData [08:25:14]Write to MH i2c: 01 00 00 B3 1B CE [08:25:14]Write i2c OK [08:25:14]MH_I2C_Read... [08:25:14]Read from MH i2c: 01 [08:25:14]MH_I2C_Read... [08:25:14]Read from MH i2c: 01 07 00 [08:25:14]MH_I2C_Read... [08:25:14]Read from MH i2c: 01 07 00 B3 1B 00 00 00 00 00 F6 0C D7 [08:25:14]RasterBufferAndPrint [08:25:14]line [08:25:14]line [08:25:14]line [08:25:14]line [08:25:14]line [08:25:14]written 0, free lines is 3328 [08:25:14]MH_Cut [08:25:14]Write to MH i2c: D1 01 00 BA 1B 01 A7 [08:25:14]Write i2c OK [08:25:14]MH_I2C_Read... [08:25:14]Read from MH i2c: D1 [08:25:14]MH_I2C_Read... [08:25:14]Read from MH i2c: D1 01 00 [08:25:14]MH_I2C_Read... [08:25:14]Read from MH i2c: D1 01 00 BA 1B 00 A6 [08:25:14]Write to MH i2c: 01 00 00 BB 1B D6 [08:25:14]Write i2c OK [08:25:14]MH_I2C_Read... [08:25:14]OFD Sender: No OFD packet to send [08:25:14]*** Cut start [08:25:14]*** Partial cut [08:25:14]*** CUTSNS_PIN = 1 [08:25:15]*** CUTSNS_PIN = 0 [08:25:15]*** Brake cut motor [08:25:15]Read from MH i2c: 01 [08:25:15]MH_I2C_Read... [08:25:15]*** Stop cut motor [08:25:15]*** Cut end [08:25:15]Read from MH i2c: 01 07 00 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: 01 07 00 BB 1B 00 00 00 00 00 FF 0F EB [08:25:15]process_action close_receipt done [08:25:15]requested_data is exist [08:25:15]produce_requested_data [08:25:15]requested_item fm.sn is exist - process it [08:25:15]wFMCommunicate request_size=4 [08:25:15]MH_SAM_APDU [08:25:15]CAPDU: 80 11 00 00 [08:25:15]Write to MH i2c: E2 08 00 BC 1B 80 11 00 00 00 00 00 00 51 [08:25:15]Write i2c OK [08:25:15]MH_I2C_Read... [08:25:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:15]Read from MH i2c: E2 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: E2 17 00 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: E2 17 00 BC 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 AB [08:25:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:25:15]wFMCommunicate OK [08:25:15]requested_item fd.num is exist - process it [08:25:15]SAM_PROTO_GetFieldsCounters [08:25:15]wFMCommunicate request_size=4 [08:25:15]MH_SAM_APDU [08:25:15]CAPDU: 80 13 00 00 [08:25:15]Write to MH i2c: E2 08 00 BD 1B 80 13 00 00 00 00 00 00 54 [08:25:15]Write i2c OK [08:25:15]MH_I2C_Read... [08:25:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:15]Read from MH i2c: E2 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: E2 62 00 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: E2 62 00 BD 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1B 58 00 00 0E 04 04 00 E8 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 0B [08:25:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1B 58 00 00 0E 04 04 00 E8 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 [08:25:15]wFMCommunicate OK [08:25:15]SAM_PROTO_GetFieldsCounters done [08:25:15]requested_item shift.num is exist - process it [08:25:15]requested_item shift.opened is exist - process it [08:25:15]req_shift_opened [08:25:15]FM_GetShiftState [08:25:15]SAM_PROTO_GetShiftState [08:25:15]wFMCommunicate request_size=4 [08:25:15]MH_SAM_APDU [08:25:15]CAPDU: 80 13 01 00 [08:25:15]Write to MH i2c: E2 08 00 BE 1B 80 13 01 00 00 00 00 00 56 [08:25:15]Write i2c OK [08:25:15]MH_I2C_Read... [08:25:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:15]Read from MH i2c: E2 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: E2 0E 00 [08:25:15]MH_I2C_Read... [08:25:15]Read from MH i2c: E2 0E 00 BE 1B 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 16 [08:25:15]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:25:15]wFMCommunicate OK [08:25:15]SAM_PROTO_GetShiftState done [08:25:15]FM_GetShiftState done [08:25:15]req_shift_opened done [08:25:15]requested_item shift.open_date is exist - process it [08:25:15]req_shift_open_date [08:25:15]req_shift_open_date done [08:25:15]produce_requested_data done [08:25:15]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22555,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:25:15]process_action_free close_receipt [08:25:15]json_value_free [08:25:15]json_value_free done [08:25:15]process_json_proto returns [08:25:15]Send response to host [08:25:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22555,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:25:15]free response buf [08:25:15]execute_script done [08:25:15]execute_script returns [08:25:15]free content buf [08:25:15]Sock 9.Close socket [08:25:15]Sock 9.Thread stoped [08:25:19]OFD Sender: No OFD packet to send [08:25:24]accept exits with 10 [08:25:24]New connection [08:25:24]New thread 3067440484 created [08:25:24]Thread 3067583844 joined [08:25:24]Waiting for new connection... [08:25:24] Sock 10.Parse request [08:25:24]Sock 10.Check first char [08:25:24]Sock 10.First char is OK [08:25:24]request: POST /json_proto HTTP/1.0 [08:25:24]Method: POST [08:25:24]URL: /json_proto [08:25:24]Method is POST - this is cgi request [08:25:24]url: /json_proto [08:25:24]query_string will be loaded in cgi processing [08:25:24]execute_cgi json_proto POST (null) [08:25:24]execute_cgi path=json_proto method=POST [08:25:24]POST find Content-Length [08:25:24]Host: 172.17.43.4:8080 [08:25:24]Content-Length: 686 [08:25:24]Content-Type: application/json [08:25:24] [08:25:24]POST finish read [08:25:24]Found Content-Length = 686 [08:25:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165360", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 37.90, "quantity" : 26.390, "sum" : 1000.18, "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" ] } } [08:25:24]execute_script... [08:25: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)2165360", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 37.90, "quantity" : 26.390, "sum" : 1000.18, "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" ] } } [08:25:24]POST & json_proto [08:25:24]process_json_proto [08:25:24]json parsed OK: [08:25:24]protocol is kg_v1.0 [08:25:24]action value=close_receipt [08:25:24]process_action close_receipt [08:25:24]cmd_close_receipt [08:25:24]MH_GetDate [08:25:24]Write to MH i2c: F0 00 00 BF 1B C9 [08:25:24]Write i2c OK [08:25:24]MH_I2C_Read... [08:25:24]Read from MH i2c: F0 [08:25:24]MH_I2C_Read... [08:25:24]Read from MH i2c: F0 09 00 [08:25:24]MH_I2C_Read... [08:25:24]Read from MH i2c: F0 09 00 BF 1B 00 78 1A F5 66 02 BF CF 66 B5 [08:25:24]GetLastDocTimeStamp 1727339116 [08:25:24]current date 1727339128 [08:25:24]FM_GetShiftState [08:25:24]SAM_PROTO_GetShiftState [08:25:24]wFMCommunicate request_size=4 [08:25:24]MH_SAM_APDU [08:25:24]CAPDU: 80 13 01 00 [08:25:24]Write to MH i2c: E2 08 00 C0 1B 80 13 01 00 00 00 00 00 58 [08:25:24]Write i2c OK [08:25:24]MH_I2C_Read... [08:25:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:24]Read from MH i2c: E2 [08:25:24]MH_I2C_Read... [08:25:24]Read from MH i2c: E2 0E 00 [08:25:24]MH_I2C_Read... [08:25:24]Read from MH i2c: E2 0E 00 C0 1B 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 18 [08:25:24]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:25:24]wFMCommunicate OK [08:25:24]SAM_PROTO_GetShiftState done [08:25:24]FM_GetShiftState done [08:25:24]opened in 1727309492 [08:25:24]opened+sec_in_day 1727395892 [08:25:24]quantity*price = 100018 [08:25:24]sum+1 = 100019 [08:25:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.18 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 20 26.09.2024 08:25 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22556 ФПД: 87852910979106 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082529&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22556&fm=87852910979106&tin=02508201610067®Number=0000000000146243&sum=100000 [08:25:25]StoreToDocumentArchive [08:25:25]shift 232 fd 22556 [08:25:25]save to /storage/0232/doc_00022556 [08:25:25]save last doc name /storage/0232/doc_00022556 to /storage/kkm_last_doc_name [08:25:25]save OK [08:25:25]Clear old archive folders... [08:25:25]ProcessDocumentItem done err = 0, tmpTLVsize=250 [08:25:25]tlvbuf is B6F42C40 [08:25:25]SAM_PROTO_ClearQueue [08:25:25]wFMCommunicate request_size=4 [08:25:25]MH_SAM_APDU [08:25:25]CAPDU: 80 09 00 00 [08:25:25]Write to MH i2c: E2 08 00 CD 1B 80 09 00 00 00 00 00 00 5A [08:25:25]Write i2c OK [08:25:25]MH_I2C_Read... [08:25:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:25:25]Read from MH i2c: E2 [08:25:25]MH_I2C_Read... [08:25:25]Read from MH i2c: E2 03 00 [08:25:25]MH_I2C_Read... [08:25:25]Read from MH i2c: E2 03 00 CD 1B 00 90 00 5C [08:25:25]RAPDU: 90 00 [08:25:25]wFMCommunicate OK [08:25:25]SAM_PROTO_ClearQueue done [08:25:25]KKMCreateOFDPacket [08:25:25]OFDProtocolAddRootSTLVToBuf [08:25:25]FM_MakeSignedData [08:25:25]FM_MakeSignedData [08:25:25]SAM_PROTO_SignData [08:25:25]wFMCommunicate request_size=4 [08:25:25]MH_SAM_APDU [08:25:25]CAPDU: 80 0D 01 02 [08:25:25]Write to MH i2c: E2 08 00 CE 1B 80 0D 01 02 00 00 00 00 62 [08:25:25]Write i2c OK [08:25:25]MH_I2C_Read... [08:25:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:25:25]Read from MH i2c: E2 [08:25:25]MH_I2C_Read... [08:25:25]Read from MH i2c: E2 03 00 [08:25:25]MH_I2C_Read... [08:25:25]Read from MH i2c: E2 03 00 CE 1B 00 90 00 5D [08:25:25]RAPDU: 90 00 [08:25:25]wFMCommunicate OK [08:25:25]wFMCommunicate request_size=255 [08:25:25]MH_SAM_APDU [08:25:25]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 16 67 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 B2 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 7D 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 14 00 00 00 F4 03 04 00 79 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1C 58 00 00 35 04 06 00 4F E6 [08:25:25]Write to MH i2c: E2 02 01 CF 1B 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 16 67 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 B2 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 7D 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 14 00 00 00 F4 03 04 00 79 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1C 58 00 00 35 04 06 00 4F E6 00 00 A6 [08:25:25]Write i2c OK [08:25:25]MH_I2C_Read... [08:25:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:26]Read from MH i2c: E2 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: E2 03 00 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: E2 03 00 CF 1B 00 90 00 5E [08:25:26]RAPDU: 90 00 [08:25:26]wFMCommunicate OK [08:25:26]wFMCommunicate request_size=9 [08:25:26]MH_SAM_APDU [08:25:26]CAPDU: 80 0D 02 02 04 D9 8D 28 22 [08:25:26]Write to MH i2c: E2 0C 00 D0 1B 80 0D 02 02 04 00 D9 8D 28 22 00 00 1D [08:25:26]Write i2c OK [08:25:26]MH_I2C_Read... [08:25:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:26]Read from MH i2c: E2 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: E2 03 00 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: E2 03 00 D0 1B 00 90 00 5F [08:25:26]RAPDU: 90 00 [08:25:26]wFMCommunicate OK [08:25:26]wFMCommunicate request_size=4 [08:25:26]MH_SAM_APDU [08:25:26]CAPDU: 80 0D 03 02 [08:25:26]Write to MH i2c: E2 08 00 D1 1B 80 0D 03 02 00 00 00 00 67 [08:25:26]Write i2c OK [08:25:26]MH_I2C_Read... [08:25:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:25:26]Read from MH i2c: E2 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: E2 0B 00 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: E2 0B 00 D1 1B 00 81 3E A0 88 AF 0A B8 B8 90 00 78 [08:25:26]RAPDU: 81 3E A0 88 AF 0A B8 B8 90 00 [08:25:26]wFMCommunicate OK [08:25:26]SAM_PROTO_SignData done [08:25:26]FM_MakeSignedData done [08:25:26]CreateOFDProtocolMessage [08:25:26]wFMCommunicate request_size=4 [08:25:26]MH_SAM_APDU [08:25:26]CAPDU: 80 11 00 00 [08:25:26]Write to MH i2c: E2 08 00 D2 1B 80 11 00 00 00 00 00 00 67 [08:25:26]Write i2c OK [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: E2 [08:25:26]MH_I2C_Read... [08:25:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:26]Read from MH i2c: E2 17 00 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: E2 17 00 D2 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C1 [08:25:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:25:26]wFMCommunicate OK [08:25:26]CreateOFDProtocolMessage done [08:25:26]OFDSenderStorePacket 22556 [08:25:26]StoreOFDPacket docnum=22556 [08:25:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0E 01 00 00 DF 51 06 01 D2 66 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 16 67 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 B2 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 7D 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 14 00 00 00 F4 03 04 00 79 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1C 58 00 00 35 04 06 00 4F E6 D9 8D 28 22 81 3E A0 88 AF 0A B8 B8 [08:25:26]CheckFolder [08:25:26]dirname=/storage/ofd_packets [08:25:26]CheckFolder done [08:25:26]ProducePacketName [08:25:26]name=ofd_packets/00022556 [08:25:26]NVStorageSaveData ofd_packets/00022556 [08:25:26]File name is /storage/ofd_packets/00022556 [08:25:26]Write 300 bytes [08:25:26]NVStorageSaveData done [08:25:26]OFDSenderStorePacket done [08:25:26]KKMCreateOFDPacket done [08:25:26]NVStorageSaveData kkm_last_timestamp [08:25:26]File name is /storage/kkm_last_timestamp [08:25:26]Write 4 bytes [08:25:26]NVStorageSaveData done [08:25:26]ExternCall_PrintAddStr [08:25:26]wPrintStart [08:25:26]Write to MH i2c: 01 00 00 D3 1B EE [08:25:26]Write i2c OK [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: 01 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: 01 07 00 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: 01 07 00 D3 1B 00 00 00 00 00 FF 0F 03 [08:25:26]RasterBufferAndPrint [08:25:26]line Счет N : (1)2165360 [08:25:26]line ИÐÐ: 02508201610067 [08:25:26]line Контрольно-КаÑÑовый Чек [08:25:26]line ПРОДÐЖР[08:25:26]line ТРК (МРК, ГÐК) : 51 [08:25:26]line Товар: 2711190000 [08:25:26]line ГÐЗ-К-5 [08:25:26]line 26.390 * 37.90 [08:25:26]line = 1000.18 [08:25:26]line ÐДС 12% ÐСП 1% [08:25:26]line > о реализуемом товаре [08:25:26]line ОКРУГЛЕÐИЕ: -0.18 [08:25:26]line ИТОГО: 1000.00 [08:25:26]line ВнеÑено: 1000.00 [08:25:26]line СДÐЧÐ: 0.00 [08:25:26]line ÐСП 1% : 8.85 [08:25:26]line ÐДС 12% : 106.21 [08:25:26]line Ðаличными: 1000.00 [08:25:26]line Безнал.: 0.00 [08:25:26]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:25:26]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:25:26]line СÐО: Общий режим [08:25:26]line Чек 20 26.09.2024 08:25 [08:25:26]line Смена: 232 ФФД: 1.0 [08:25:26]line ЗÐМ: 0300000061 [08:25:26]line РÐМ: 0000000000146243 [08:25:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:25:26]line ФМ: 0000000000959358 [08:25:26]line ФД: 22556 [08:25:26]line ФПД: 87852910979106 [08:25:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082529&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22556&fm=87852910979106&tin=02508201610067®Number=0000000000146243&sum=100000 [08:25:26]written 0, free lines is 4095 [08:25:26]OFD Sender: Processing packet 22556 [packets to send 23, broken 22] [08:25:26]ProducePacketName [08:25:26]name=ofd_packets/00022556 [08:25:26]OFD Sender: To server: ‡•öpG, [08:25:26]CommunicateWithHost lk.salyk.kg:30040 [08:25:26]ConnectInit lk.salyk.kg [08:25:26]Connected sock=9 [08:25:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0E 01 00 00 DF 51 06 01 D2 66 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 16 67 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 B2 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 7D 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 14 00 00 00 F4 03 04 00 79 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1C 58 00 00 35 04 06 00 4F E6 D9 8D 28 22 81 3E A0 88 AF 0A B8 B8 [08:25:26]Write to MH i2c: 01 00 00 FE 1B 19 [08:25:26]Write i2c OK [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: 01 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: 01 07 00 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: 01 07 00 FE 1B 00 00 00 00 00 F5 0C 21 [08:25:26]RasterBufferAndPrint [08:25:26]line [08:25:26]line [08:25:26]line [08:25:26]line [08:25:26]line [08:25:26]written 0, free lines is 3329 [08:25:26]MH_Cut [08:25:26]Write to MH i2c: D1 01 00 05 1C 01 F3 [08:25:26]Write i2c OK [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: D1 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: D1 01 00 [08:25:26]MH_I2C_Read... [08:25:26]Read from MH i2c: D1 01 00 05 1C 00 F2 [08:25:26]Write to MH i2c: 01 00 00 06 1C 22 [08:25:26]Write i2c OK [08:25:26]MH_I2C_Read... [08:25:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 32 1E 47 00 A0 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 39 35 39 33 35 38 10 04 04 00 1C 58 00 00 F4 03 04 00 98 C4 F4 66 B6 04 01 00 00 5E 82 F5 61 34 CD 45 44 [08:25:26]CommunicateWithHost err = 0 [08:25:26]CheckOFDResponse [08:25:26]1017 (14) - 77093643461234 [08:25:26]1041 (16) - 0000000000959358 [08:25:26]1040 (4) - 22556 [08:25:26]1012 (4) - 26.09.2024 02:19 [08:25:26]1206 (1) - 0 [08:25:26]OFD Sender: Remove packet 22556 [08:25:26]ProducePacketName [08:25:26]name=ofd_packets/00022556 [08:25:26]NVStorageDeleteData [08:25:27]OFD Sender: No OFD packet to send [08:25:27]*** Cut start [08:25:27]*** Partial cut [08:25:27]*** CUTSNS_PIN = 1 [08:25:27]*** CUTSNS_PIN = 0 [08:25:27]*** Brake cut motor [08:25:28]Read from MH i2c: 01 [08:25:28]MH_I2C_Read... [08:25:28]*** Stop cut motor [08:25:28]*** Cut end [08:25:28]Read from MH i2c: 01 07 00 [08:25:28]MH_I2C_Read... [08:25:28]Read from MH i2c: 01 07 00 06 1C 00 00 00 00 00 FF 0F 37 [08:25:28]process_action close_receipt done [08:25:28]requested_data is exist [08:25:28]produce_requested_data [08:25:28]requested_item fm.sn is exist - process it [08:25:28]wFMCommunicate request_size=4 [08:25:28]MH_SAM_APDU [08:25:28]CAPDU: 80 11 00 00 [08:25:28]Write to MH i2c: E2 08 00 07 1C 80 11 00 00 00 00 00 00 9D [08:25:28]Write i2c OK [08:25:28]MH_I2C_Read... [08:25:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:28]Read from MH i2c: E2 [08:25:28]MH_I2C_Read... [08:25:28]Read from MH i2c: E2 17 00 [08:25:28]MH_I2C_Read... [08:25:28]Read from MH i2c: E2 17 00 07 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F7 [08:25:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:25:28]wFMCommunicate OK [08:25:28]requested_item fd.num is exist - process it [08:25:28]SAM_PROTO_GetFieldsCounters [08:25:28]wFMCommunicate request_size=4 [08:25:28]MH_SAM_APDU [08:25:28]CAPDU: 80 13 00 00 [08:25:28]Write to MH i2c: E2 08 00 08 1C 80 13 00 00 00 00 00 00 A0 [08:25:28]Write i2c OK [08:25:28]MH_I2C_Read... [08:25:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:28]Read from MH i2c: E2 [08:25:28]MH_I2C_Read... [08:25:28]Read from MH i2c: E2 62 00 [08:25:28]MH_I2C_Read... [08:25:28]Read from MH i2c: E2 62 00 08 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1C 58 00 00 0E 04 04 00 E8 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 5B [08:25:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1C 58 00 00 0E 04 04 00 E8 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 [08:25:28]wFMCommunicate OK [08:25:28]SAM_PROTO_GetFieldsCounters done [08:25:28]requested_item shift.num is exist - process it [08:25:28]requested_item shift.opened is exist - process it [08:25:28]req_shift_opened [08:25:28]FM_GetShiftState [08:25:28]SAM_PROTO_GetShiftState [08:25:28]wFMCommunicate request_size=4 [08:25:28]MH_SAM_APDU [08:25:28]CAPDU: 80 13 01 00 [08:25:28]Write to MH i2c: E2 08 00 09 1C 80 13 01 00 00 00 00 00 A2 [08:25:28]Write i2c OK [08:25:28]MH_I2C_Read... [08:25:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:28]Read from MH i2c: E2 [08:25:28]MH_I2C_Read... [08:25:28]Read from MH i2c: E2 0E 00 [08:25:28]MH_I2C_Read... [08:25:28]Read from MH i2c: E2 0E 00 09 1C 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 62 [08:25:28]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:25:28]wFMCommunicate OK [08:25:28]SAM_PROTO_GetShiftState done [08:25:28]FM_GetShiftState done [08:25:28]req_shift_opened done [08:25:28]requested_item shift.open_date is exist - process it [08:25:28]req_shift_open_date [08:25:28]req_shift_open_date done [08:25:28]produce_requested_data done [08:25:28]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22556,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:25:28]process_action_free close_receipt [08:25:28]json_value_free [08:25:28]json_value_free done [08:25:28]process_json_proto returns [08:25:28]Send response to host [08:25:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22556,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:25:28]free response buf [08:25:28]execute_script done [08:25:28]execute_script returns [08:25:28]free content buf [08:25:28]Sock 10.Close socket [08:25:28]Sock 10.Thread stoped [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:18]accept exits with 7 [08:26:18]New connection [08:26:18]New thread 3067583844 created [08:26:18]Thread 3067440484 joined [08:26:18]Waiting for new connection... [08:26:18] Sock 7.Parse request [08:26:18]Sock 7.Check first char [08:26:18]Sock 7.First char is OK [08:26:18]request: POST /json_proto HTTP/1.0 [08:26:18]Method: POST [08:26:18]URL: /json_proto [08:26:18]Method is POST - this is cgi request [08:26:18]url: /json_proto [08:26:18]query_string will be loaded in cgi processing [08:26:18]execute_cgi json_proto POST (null) [08:26:18]execute_cgi path=json_proto method=POST [08:26:18]POST find Content-Length [08:26:18]Host: 172.17.43.4:8080 [08:26:18]Content-Length: 680 [08:26:18]Content-Type: application/json [08:26:18] [08:26:18]POST finish read [08:26:18]Found Content-Length = 680 [08:26:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165363", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 15.750, "sum" : 1200.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:26:18]execute_script... [08:26:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165363", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 15.750, "sum" : 1200.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:26:18]POST & json_proto [08:26:18]process_json_proto [08:26:18]json parsed OK: [08:26:18]protocol is kg_v1.0 [08:26:18]action value=close_receipt [08:26:18]process_action close_receipt [08:26:18]cmd_close_receipt [08:26:18]MH_GetDate [08:26:18]Write to MH i2c: F0 00 00 0A 1C 15 [08:26:18]Write i2c OK [08:26:18]MH_I2C_Read... [08:26:18]Read from MH i2c: F0 [08:26:18]MH_I2C_Read... [08:26:18]Read from MH i2c: F0 09 00 [08:26:18]MH_I2C_Read... [08:26:18]Read from MH i2c: F0 09 00 0A 1C 00 AF 1A F5 66 02 BF CF 66 38 [08:26:18]GetLastDocTimeStamp 1727339129 [08:26:18]current date 1727339183 [08:26:18]FM_GetShiftState [08:26:18]SAM_PROTO_GetShiftState [08:26:18]wFMCommunicate request_size=4 [08:26:18]MH_SAM_APDU [08:26:18]CAPDU: 80 13 01 00 [08:26:18]Write to MH i2c: E2 08 00 0B 1C 80 13 01 00 00 00 00 00 A4 [08:26:18]Write i2c OK [08:26:18]MH_I2C_Read... [08:26:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:26:18]Read from MH i2c: E2 [08:26:18]MH_I2C_Read... [08:26:18]Read from MH i2c: E2 0E 00 [08:26:18]MH_I2C_Read... [08:26:18]Read from MH i2c: E2 0E 00 0B 1C 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 64 [08:26:18]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:26:18]wFMCommunicate OK [08:26:18]SAM_PROTO_GetShiftState done [08:26:18]FM_GetShiftState done [08:26:18]opened in 1727309492 [08:26:18]opened+sec_in_day 1727395892 [08:26:18]quantity*price = 120015 [08:26:18]sum+1 = 120016 [08:26:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.15 ИТОГО: 1200.00 ВнеÑено: 1200.00 СДÐЧÐ: 0.00 ÐСП 1% : 10.62 ÐДС 12% : 127.45 Ðаличными: 1200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 21 26.09.2024 08:26 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22557 ФПД: 203616814179682 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082623&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22557&fm=203616814179682&tin=02508201610067®Number=0000000000146243&sum=120000 [08:26:20]StoreToDocumentArchive [08:26:20]shift 232 fd 22557 [08:26:20]save to /storage/0232/doc_00022557 [08:26:20]save last doc name /storage/0232/doc_00022557 to /storage/kkm_last_doc_name [08:26:20]save OK [08:26:20]Clear old archive folders... [08:26:20]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:26:20]tlvbuf is B6F42500 [08:26:20]SAM_PROTO_ClearQueue [08:26:20]wFMCommunicate request_size=4 [08:26:20]MH_SAM_APDU [08:26:20]CAPDU: 80 09 00 00 [08:26:20]Write to MH i2c: E2 08 00 18 1C 80 09 00 00 00 00 00 00 A6 [08:26:20]Write i2c OK [08:26:20]MH_I2C_Read... [08:26:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:26:20]Read from MH i2c: E2 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 03 00 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 03 00 18 1C 00 90 00 A8 [08:26:20]RAPDU: 90 00 [08:26:20]wFMCommunicate OK [08:26:20]SAM_PROTO_ClearQueue done [08:26:20]KKMCreateOFDPacket [08:26:20]OFDProtocolAddRootSTLVToBuf [08:26:20]FM_MakeSignedData [08:26:20]FM_MakeSignedData [08:26:20]SAM_PROTO_SignData [08:26:20]wFMCommunicate request_size=4 [08:26:20]MH_SAM_APDU [08:26:20]CAPDU: 80 0D 01 02 [08:26:20]Write to MH i2c: E2 08 00 19 1C 80 0D 01 02 00 00 00 00 AE [08:26:20]Write i2c OK [08:26:20]MH_I2C_Read... [08:26:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:26:20]Read from MH i2c: E2 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 03 00 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 03 00 19 1C 00 90 00 A9 [08:26:20]RAPDU: 90 00 [08:26:20]wFMCommunicate OK [08:26:20]wFMCommunicate request_size=255 [08:26:20]MH_SAM_APDU [08:26:20]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 86 3D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CF D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 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 AF 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1D 58 00 00 35 04 06 00 B9 30 3B E1 [08:26:20]Write to MH i2c: E2 02 01 1A 1C 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 86 3D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CF D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 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 AF 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1D 58 00 00 35 04 06 00 B9 30 3B E1 00 00 3E [08:26:20]Write i2c OK [08:26:20]MH_I2C_Read... [08:26:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:26:20]Read from MH i2c: E2 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 03 00 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 03 00 1A 1C 00 90 00 AA [08:26:20]RAPDU: 90 00 [08:26:20]wFMCommunicate OK [08:26:20]wFMCommunicate request_size=7 [08:26:20]MH_SAM_APDU [08:26:20]CAPDU: 80 0D 02 02 02 25 62 [08:26:20]Write to MH i2c: E2 0A 00 1B 1C 80 0D 02 02 02 00 25 62 00 00 3C [08:26:20]Write i2c OK [08:26:20]MH_I2C_Read... [08:26:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:26:20]Read from MH i2c: E2 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 03 00 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 03 00 1B 1C 00 90 00 AB [08:26:20]RAPDU: 90 00 [08:26:20]wFMCommunicate OK [08:26:20]wFMCommunicate request_size=4 [08:26:20]MH_SAM_APDU [08:26:20]CAPDU: 80 0D 03 02 [08:26:20]Write to MH i2c: E2 08 00 1C 1C 80 0D 03 02 00 00 00 00 B3 [08:26:20]Write i2c OK [08:26:20]MH_I2C_Read... [08:26:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:26:20]Read from MH i2c: E2 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 0B 00 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 0B 00 1C 1C 00 64 C5 BA 09 3A EB DF D1 90 00 75 [08:26:20]RAPDU: 64 C5 BA 09 3A EB DF D1 90 00 [08:26:20]wFMCommunicate OK [08:26:20]SAM_PROTO_SignData done [08:26:20]FM_MakeSignedData done [08:26:20]CreateOFDProtocolMessage [08:26:20]wFMCommunicate request_size=4 [08:26:20]MH_SAM_APDU [08:26:20]CAPDU: 80 11 00 00 [08:26:20]Write to MH i2c: E2 08 00 1D 1C 80 11 00 00 00 00 00 00 B3 [08:26:20]Write i2c OK [08:26:20]MH_I2C_Read... [08:26:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:26:20]Read from MH i2c: E2 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 17 00 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: E2 17 00 1D 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 0D [08:26:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:26:20]wFMCommunicate OK [08:26:20]CreateOFDProtocolMessage done [08:26:20]OFDSenderStorePacket 22557 [08:26:20]StoreOFDPacket docnum=22557 [08:26:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 29 CC 04 01 C9 3F 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 86 3D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CF D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 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 AF 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1D 58 00 00 35 04 06 00 B9 30 3B E1 25 62 64 C5 BA 09 3A EB DF D1 [08:26:20]CheckFolder [08:26:20]dirname=/storage/ofd_packets [08:26:20]CheckFolder done [08:26:20]ProducePacketName [08:26:20]name=ofd_packets/00022557 [08:26:20]NVStorageSaveData ofd_packets/00022557 [08:26:20]File name is /storage/ofd_packets/00022557 [08:26:20]Write 298 bytes [08:26:20]NVStorageSaveData done [08:26:20]OFDSenderStorePacket done [08:26:20]KKMCreateOFDPacket done [08:26:20]NVStorageSaveData kkm_last_timestamp [08:26:20]File name is /storage/kkm_last_timestamp [08:26:20]Write 4 bytes [08:26:20]NVStorageSaveData done [08:26:20]ExternCall_PrintAddStr [08:26:20]wPrintStart [08:26:20]Write to MH i2c: 01 00 00 1E 1C 3A [08:26:20]Write i2c OK [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: 01 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: 01 07 00 [08:26:20]MH_I2C_Read... [08:26:20]Read from MH i2c: 01 07 00 1E 1C 00 00 00 00 00 FF 0F 4F [08:26:20]RasterBufferAndPrint [08:26:20]line Счет N : (1)2165363 [08:26:20]line ИÐÐ: 02508201610067 [08:26:20]line Контрольно-КаÑÑовый Чек [08:26:20]line ПРОДÐЖР[08:26:20]line ТРК (МРК, ГÐК) : 31 [08:26:20]line Товар: 2710194210 [08:26:20]line ДТ-К-5 [08:26:20]line 15.750 * 76.20 [08:26:20]line = 1200.15 [08:26:20]line ÐДС 12% ÐСП 1% [08:26:20]line > о реализуемом товаре [08:26:20]line ОКРУГЛЕÐИЕ: -0.15 [08:26:20]line ИТОГО: 1200.00 [08:26:20]line ВнеÑено: 1200.00 [08:26:20]line СДÐЧÐ: 0.00 [08:26:20]line ÐСП 1% : 10.62 [08:26:20]line ÐДС 12% : 127.45 [08:26:20]line Ðаличными: 1200.00 [08:26:20]line Безнал.: 0.00 [08:26:20]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:26:20]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:26:20]line СÐО: Общий режим [08:26:20]line Чек 21 26.09.2024 08:26 [08:26:20]line Смена: 232 ФФД: 1.0 [08:26:20]line ЗÐМ: 0300000061 [08:26:20]line РÐМ: 0000000000146243 [08:26:20]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:26:20]line ФМ: 0000000000959358 [08:26:20]line ФД: 22557 [08:26:20]line ФПД: 203616814179682 [08:26:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082623&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22557&fm=203616814179682&tin=02508201610067®Number=0000000000146243&sum=120000 [08:26:20]OFD Sender: Processing packet 22557 [packets to send 23, broken 22] [08:26:20]ProducePacketName [08:26:20]name=ofd_packets/00022557 [08:26:20]OFD Sender: To server: ‡•öpG, [08:26:20]CommunicateWithHost lk.salyk.kg:30040 [08:26:20]ConnectInit lk.salyk.kg [08:26:20]written 0, free lines is 4095 [08:26:21]Connected sock=10 [08:26:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 29 CC 04 01 C9 3F 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 86 3D 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CF D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 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 AF 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1D 58 00 00 35 04 06 00 B9 30 3B E1 25 62 64 C5 BA 09 3A EB DF D1 [08:26:21]Write to MH i2c: 01 00 00 49 1C 65 [08:26:21]Write i2c OK [08:26:21]MH_I2C_Read... [08:26:21]Read from MH i2c: 01 [08:26:21]MH_I2C_Read... [08:26:21]Read from MH i2c: 01 07 00 [08:26:21]MH_I2C_Read... [08:26:21]Read from MH i2c: 01 07 00 49 1C 00 00 00 00 00 FE 0C 76 [08:26:21]RasterBufferAndPrint [08:26:21]line [08:26:21]line [08:26:21]line [08:26:21]line [08:26:21]line [08:26:21]written 0, free lines is 3332 [08:26:21]MH_Cut [08:26:21]Write to MH i2c: D1 01 00 50 1C 01 3E [08:26:21]Write i2c OK [08:26:21]MH_I2C_Read... [08:26:21]Read from MH i2c: D1 [08:26:21]MH_I2C_Read... [08:26:21]Read from MH i2c: D1 01 00 [08:26:21]MH_I2C_Read... [08:26:21]Read from MH i2c: D1 01 00 50 1C 00 3D [08:26:21]Write to MH i2c: 01 00 00 51 1C 6D [08:26:21]Write i2c OK [08:26:21]MH_I2C_Read... [08:26:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 88 6D 47 00 06 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1D 58 00 00 F4 03 04 00 CF C4 F4 66 B6 04 01 00 00 B8 F5 E8 D6 1A 26 90 AF [08:26:21]CommunicateWithHost err = 0 [08:26:21]CheckOFDResponse [08:26:21]1017 (14) - 77093643461234 [08:26:21]1041 (16) - 0000000000959358 [08:26:21]1040 (4) - 22557 [08:26:21]1012 (4) - 26.09.2024 02:19 [08:26:21]1206 (1) - 0 [08:26:21]OFD Sender: Remove packet 22557 [08:26:21]ProducePacketName [08:26:21]name=ofd_packets/00022557 [08:26:21]NVStorageDeleteData [08:26:21]OFD Sender: No OFD packet to send [08:26:22]*** Cut start [08:26:22]*** Partial cut [08:26:22]*** CUTSNS_PIN = 1 [08:26:22]*** CUTSNS_PIN = 0 [08:26:22]*** Brake cut motor [08:26:22]Read from MH i2c: 01 [08:26:22]MH_I2C_Read... [08:26:22]*** Stop cut motor [08:26:22]*** Cut end [08:26:22]Read from MH i2c: 01 07 00 [08:26:22]MH_I2C_Read... [08:26:22]Read from MH i2c: 01 07 00 51 1C 00 00 00 00 00 FF 0F 82 [08:26:22]process_action close_receipt done [08:26:22]requested_data is exist [08:26:22]produce_requested_data [08:26:22]requested_item fm.sn is exist - process it [08:26:22]wFMCommunicate request_size=4 [08:26:22]MH_SAM_APDU [08:26:22]CAPDU: 80 11 00 00 [08:26:22]Write to MH i2c: E2 08 00 52 1C 80 11 00 00 00 00 00 00 E8 [08:26:22]Write i2c OK [08:26:22]MH_I2C_Read... [08:26:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:26:22]Read from MH i2c: E2 [08:26:22]MH_I2C_Read... [08:26:22]Read from MH i2c: E2 17 00 [08:26:22]MH_I2C_Read... [08:26:22]Read from MH i2c: E2 17 00 52 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 42 [08:26:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:26:22]wFMCommunicate OK [08:26:22]requested_item fd.num is exist - process it [08:26:22]SAM_PROTO_GetFieldsCounters [08:26:22]wFMCommunicate request_size=4 [08:26:22]MH_SAM_APDU [08:26:22]CAPDU: 80 13 00 00 [08:26:22]Write to MH i2c: E2 08 00 53 1C 80 13 00 00 00 00 00 00 EB [08:26:22]Write i2c OK [08:26:22]MH_I2C_Read... [08:26:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:26:22]Read from MH i2c: E2 [08:26:22]MH_I2C_Read... [08:26:22]Read from MH i2c: E2 62 00 [08:26:22]MH_I2C_Read... [08:26:22]Read from MH i2c: E2 62 00 53 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1D 58 00 00 0E 04 04 00 E8 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 AA [08:26:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1D 58 00 00 0E 04 04 00 E8 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 [08:26:22]wFMCommunicate OK [08:26:22]SAM_PROTO_GetFieldsCounters done [08:26:22]requested_item shift.num is exist - process it [08:26:22]requested_item shift.opened is exist - process it [08:26:22]req_shift_opened [08:26:22]FM_GetShiftState [08:26:22]SAM_PROTO_GetShiftState [08:26:22]wFMCommunicate request_size=4 [08:26:22]MH_SAM_APDU [08:26:22]CAPDU: 80 13 01 00 [08:26:22]Write to MH i2c: E2 08 00 54 1C 80 13 01 00 00 00 00 00 ED [08:26:22]Write i2c OK [08:26:22]MH_I2C_Read... [08:26:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:26:22]Read from MH i2c: E2 [08:26:22]MH_I2C_Read... [08:26:22]Read from MH i2c: E2 0E 00 [08:26:22]MH_I2C_Read... [08:26:22]Read from MH i2c: E2 0E 00 54 1C 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 AD [08:26:22]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:26:22]wFMCommunicate OK [08:26:22]SAM_PROTO_GetShiftState done [08:26:22]FM_GetShiftState done [08:26:22]req_shift_opened done [08:26:22]requested_item shift.open_date is exist - process it [08:26:22]req_shift_open_date [08:26:22]req_shift_open_date done [08:26:22]produce_requested_data done [08:26:22]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22557,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:26:22]process_action_free close_receipt [08:26:22]json_value_free [08:26:22]json_value_free done [08:26:22]process_json_proto returns [08:26:22]Send response to host [08:26:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22557,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:26:22]free response buf [08:26:22]execute_script done [08:26:22]execute_script returns [08:26:22]free content buf [08:26:22]Sock 7.Close socket [08:26:22]Sock 7.Thread stoped [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:50]accept exits with 9 [08:26:50]New connection [08:26:50]New thread 3067440484 created [08:26:50]Thread 3067583844 joined [08:26:50]Waiting for new connection... [08:26:50] Sock 9.Parse request [08:26:50]Sock 9.Check first char [08:26:50]Sock 9.First char is OK [08:26:50]request: POST /json_proto HTTP/1.0 [08:26:50]Method: POST [08:26:50]URL: /json_proto [08:26:50]Method is POST - this is cgi request [08:26:50]url: /json_proto [08:26:50]query_string will be loaded in cgi processing [08:26:50]execute_cgi json_proto POST (null) [08:26:50]execute_cgi path=json_proto method=POST [08:26:50]POST find Content-Length [08:26:50]Host: 172.17.43.4:8080 [08:26:50]Content-Length: 683 [08:26:50]Content-Type: application/json [08:26:50] [08:26:50]POST finish read [08:26:50]Found Content-Length = 683 [08:26:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165364", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 14.830, "sum" : 1100.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1100.00, "total" : 1100.00, "payments": [ { "type": 0, "sum" : 1100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:26:50]execute_script... [08:26: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)2165364", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 14.830, "sum" : 1100.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1100.00, "total" : 1100.00, "payments": [ { "type": 0, "sum" : 1100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:26:50]POST & json_proto [08:26:50]process_json_proto [08:26:50]json parsed OK: [08:26:50]protocol is kg_v1.0 [08:26:50]action value=close_receipt [08:26:50]process_action close_receipt [08:26:50]cmd_close_receipt [08:26:50]MH_GetDate [08:26:50]Write to MH i2c: F0 00 00 55 1C 60 [08:26:50]Write i2c OK [08:26:50]MH_I2C_Read... [08:26:50]Read from MH i2c: F0 [08:26:50]MH_I2C_Read... [08:26:50]Read from MH i2c: F0 09 00 [08:26:50]MH_I2C_Read... [08:26:50]Read from MH i2c: F0 09 00 55 1C 00 CF 1A F5 66 02 BF CF 66 A3 [08:26:50]GetLastDocTimeStamp 1727339183 [08:26:50]current date 1727339215 [08:26:50]FM_GetShiftState [08:26:50]SAM_PROTO_GetShiftState [08:26:50]wFMCommunicate request_size=4 [08:26:50]MH_SAM_APDU [08:26:50]CAPDU: 80 13 01 00 [08:26:50]Write to MH i2c: E2 08 00 56 1C 80 13 01 00 00 00 00 00 EF [08:26:50]Write i2c OK [08:26:50]MH_I2C_Read... [08:26:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:26:50]Read from MH i2c: E2 [08:26:50]MH_I2C_Read... [08:26:50]Read from MH i2c: E2 0E 00 [08:26:50]MH_I2C_Read... [08:26:50]Read from MH i2c: E2 0E 00 56 1C 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 AF [08:26:50]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:26:50]wFMCommunicate OK [08:26:50]SAM_PROTO_GetShiftState done [08:26:50]FM_GetShiftState done [08:26:50]opened in 1727309492 [08:26:50]opened+sec_in_day 1727395892 [08:26:50]quantity*price = 110038 [08:26:50]sum+1 = 110040 [08:26:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.39 ИТОГО: 1100.00 ВнеÑено: 1100.00 СДÐЧÐ: 0.00 ÐСП 1% : 9.74 ÐДС 12% : 116.86 Ðаличными: 1100.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 22 26.09.2024 08:26 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22558 ФПД: 86190973635801 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082655&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22558&fm=86190973635801&tin=02508201610067®Number=0000000000146243&sum=110000 [08:26:51]StoreToDocumentArchive [08:26:51]shift 232 fd 22558 [08:26:51]save to /storage/0232/doc_00022558 [08:26:51]save last doc name /storage/0232/doc_00022558 to /storage/kkm_last_doc_name [08:26:51]save OK [08:26:51]Clear old archive folders... [08:26:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:26:51]tlvbuf is B6E42690 [08:26:51]SAM_PROTO_ClearQueue [08:26:51]wFMCommunicate request_size=4 [08:26:51]MH_SAM_APDU [08:26:51]CAPDU: 80 09 00 00 [08:26:51]Write to MH i2c: E2 08 00 63 1C 80 09 00 00 00 00 00 00 F1 [08:26:51]Write i2c OK [08:26:51]MH_I2C_Read... [08:26:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:26:51]Read from MH i2c: E2 [08:26:51]MH_I2C_Read... [08:26:51]Read from MH i2c: E2 03 00 [08:26:51]MH_I2C_Read... [08:26:51]Read from MH i2c: E2 03 00 63 1C 00 90 00 F3 [08:26:51]RAPDU: 90 00 [08:26:51]wFMCommunicate OK [08:26:51]SAM_PROTO_ClearQueue done [08:26:51]KKMCreateOFDPacket [08:26:51]OFDProtocolAddRootSTLVToBuf [08:26:51]FM_MakeSignedData [08:26:51]FM_MakeSignedData [08:26:51]SAM_PROTO_SignData [08:26:51]wFMCommunicate request_size=4 [08:26:51]MH_SAM_APDU [08:26:51]CAPDU: 80 0D 01 02 [08:26:51]Write to MH i2c: E2 08 00 64 1C 80 0D 01 02 00 00 00 00 F9 [08:26:51]Write i2c OK [08:26:51]MH_I2C_Read... [08:26:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:26:52]Read from MH i2c: E2 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 03 00 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 03 00 64 1C 00 90 00 F4 [08:26:52]RAPDU: 90 00 [08:26:52]wFMCommunicate OK [08:26:52]wFMCommunicate request_size=255 [08:26:52]MH_SAM_APDU [08:26: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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 EE 39 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D7 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A6 2D 00 00 00 00 07 04 06 00 B0 AD 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 CF 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1E 58 00 00 35 04 06 00 4E [08:26:52]Write to MH i2c: E2 02 01 65 1C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 EE 39 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D7 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A6 2D 00 00 00 00 07 04 06 00 B0 AD 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 CF 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1E 58 00 00 35 04 06 00 4E 00 00 33 [08:26:52]Write i2c OK [08:26:52]MH_I2C_Read... [08:26:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:26:52]Read from MH i2c: E2 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 03 00 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 03 00 65 1C 00 90 00 F5 [08:26:52]RAPDU: 90 00 [08:26:52]wFMCommunicate OK [08:26:52]wFMCommunicate request_size=10 [08:26:52]MH_SAM_APDU [08:26:52]CAPDU: 80 0D 02 02 05 63 E6 5D CC D9 [08:26:52]Write to MH i2c: E2 0D 00 66 1C 80 0D 02 02 05 00 63 E6 5D CC D9 00 00 51 [08:26:52]Write i2c OK [08:26:52]MH_I2C_Read... [08:26:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:26:52]Read from MH i2c: E2 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 03 00 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 03 00 66 1C 00 90 00 F6 [08:26:52]RAPDU: 90 00 [08:26:52]wFMCommunicate OK [08:26:52]wFMCommunicate request_size=4 [08:26:52]MH_SAM_APDU [08:26:52]CAPDU: 80 0D 03 02 [08:26:52]Write to MH i2c: E2 08 00 67 1C 80 0D 03 02 00 00 00 00 FE [08:26:52]Write i2c OK [08:26:52]MH_I2C_Read... [08:26:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:26:52]Read from MH i2c: E2 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 0B 00 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 0B 00 67 1C 00 D3 F5 97 6A DD 42 E5 FE 90 00 CA [08:26:52]RAPDU: D3 F5 97 6A DD 42 E5 FE 90 00 [08:26:52]wFMCommunicate OK [08:26:52]SAM_PROTO_SignData done [08:26:52]FM_MakeSignedData done [08:26:52]CreateOFDProtocolMessage [08:26:52]wFMCommunicate request_size=4 [08:26:52]MH_SAM_APDU [08:26:52]CAPDU: 80 11 00 00 [08:26:52]Write to MH i2c: E2 08 00 68 1C 80 11 00 00 00 00 00 00 FE [08:26:52]Write i2c OK [08:26:52]MH_I2C_Read... [08:26:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:26:52]Read from MH i2c: E2 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 17 00 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: E2 17 00 68 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 58 [08:26:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:26:52]wFMCommunicate OK [08:26:52]CreateOFDProtocolMessage done [08:26:52]OFDSenderStorePacket 22558 [08:26:52]StoreOFDPacket docnum=22558 [08:26:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 AC D5 07 01 16 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 EE 39 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D7 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A6 2D 00 00 00 00 07 04 06 00 B0 AD 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 CF 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1E 58 00 00 35 04 06 00 4E 63 E6 5D CC D9 D3 F5 97 6A DD 42 E5 FE [08:26:52]CheckFolder [08:26:52]dirname=/storage/ofd_packets [08:26:52]CheckFolder done [08:26:52]ProducePacketName [08:26:52]name=ofd_packets/00022558 [08:26:52]NVStorageSaveData ofd_packets/00022558 [08:26:52]File name is /storage/ofd_packets/00022558 [08:26:52]Write 301 bytes [08:26:52]NVStorageSaveData done [08:26:52]OFDSenderStorePacket done [08:26:52]KKMCreateOFDPacket done [08:26:52]NVStorageSaveData kkm_last_timestamp [08:26:52]File name is /storage/kkm_last_timestamp [08:26:52]Write 4 bytes [08:26:52]NVStorageSaveData done [08:26:52]ExternCall_PrintAddStr [08:26:52]wPrintStart [08:26:52]Write to MH i2c: 01 00 00 69 1C 85 [08:26:52]Write i2c OK [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: 01 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: 01 07 00 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: 01 07 00 69 1C 00 00 00 00 00 FF 0F 9A [08:26:52]RasterBufferAndPrint [08:26:52]line Счет N : (1)2165364 [08:26:52]line ИÐÐ: 02508201610067 [08:26:52]line Контрольно-КаÑÑовый Чек [08:26:52]line ПРОДÐЖР[08:26:52]line ТРК (МРК, ГÐК) : 13 [08:26:52]line Товар: 2710124500 [08:26:52]line Ðи-95-К-5 [08:26:52]line 14.830 * 74.20 [08:26:52]line = 1100.39 [08:26:52]line ÐДС 12% ÐСП 1% [08:26:52]line > о реализуемом товаре [08:26:52]line ОКРУГЛЕÐИЕ: -0.39 [08:26:52]line ИТОГО: 1100.00 [08:26:52]line ВнеÑено: 1100.00 [08:26:52]line СДÐЧÐ: 0.00 [08:26:52]line ÐСП 1% : 9.74 [08:26:52]line ÐДС 12% : 116.86 [08:26:52]line Ðаличными: 1100.00 [08:26:52]line Безнал.: 0.00 [08:26:52]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:26:52]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:26:52]line СÐО: Общий режим [08:26:52]line Чек 22 26.09.2024 08:26 [08:26:52]line Смена: 232 ФФД: 1.0 [08:26:52]line ЗÐМ: 0300000061 [08:26:52]line РÐМ: 0000000000146243 [08:26:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:26:52]line ФМ: 0000000000959358 [08:26:52]line ФД: 22558 [08:26:52]line ФПД: 86190973635801 [08:26:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082655&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22558&fm=86190973635801&tin=02508201610067®Number=0000000000146243&sum=110000 [08:26:52]written 0, free lines is 4095 [08:26:52]OFD Sender: Processing packet 22558 [packets to send 23, broken 22] [08:26:52]ProducePacketName [08:26:52]name=ofd_packets/00022558 [08:26:52]OFD Sender: To server: ‡•öpG, [08:26:52]CommunicateWithHost lk.salyk.kg:30040 [08:26:52]ConnectInit lk.salyk.kg [08:26:52]Connected sock=7 [08:26:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 AC D5 07 01 16 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 EE 39 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D7 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A6 2D 00 00 00 00 07 04 06 00 B0 AD 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 CF 1A F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1E 58 00 00 35 04 06 00 4E 63 E6 5D CC D9 D3 F5 97 6A DD 42 E5 FE [08:26:52]Write to MH i2c: 01 00 00 94 1C B0 [08:26:52]Write i2c OK [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: 01 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: 01 07 00 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: 01 07 00 94 1C 00 00 00 00 00 FF 0C C2 [08:26:52]RasterBufferAndPrint [08:26:52]line [08:26:52]line [08:26:52]line [08:26:52]line [08:26:52]line [08:26:52]written 0, free lines is 3336 [08:26:52]MH_Cut [08:26:52]Write to MH i2c: D1 01 00 9B 1C 01 89 [08:26:52]Write i2c OK [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: D1 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: D1 01 00 [08:26:52]MH_I2C_Read... [08:26:52]Read from MH i2c: D1 01 00 9B 1C 00 88 [08:26:52]Write to MH i2c: 01 00 00 9C 1C B8 [08:26:52]Write i2c OK [08:26:52]MH_I2C_Read... [08:26:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0E E7 47 00 F2 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1E 58 00 00 F4 03 04 00 EE C4 F4 66 B6 04 01 00 00 B0 15 09 FC E4 BF 81 E5 [08:26:53]CommunicateWithHost err = 0 [08:26:53]CheckOFDResponse [08:26:53]1017 (14) - 77093643461234 [08:26:53]1041 (16) - 0000000000959358 [08:26:53]1040 (4) - 22558 [08:26:53]1012 (4) - 26.09.2024 02:20 [08:26:53]1206 (1) - 0 [08:26:53]OFD Sender: Remove packet 22558 [08:26:53]ProducePacketName [08:26:53]name=ofd_packets/00022558 [08:26:53]NVStorageDeleteData [08:26:53]OFD Sender: No OFD packet to send [08:26:53]*** Cut start [08:26:53]*** Partial cut [08:26:53]*** CUTSNS_PIN = 1 [08:26:53]*** CUTSNS_PIN = 0 [08:26:53]*** Brake cut motor [08:26:54]Read from MH i2c: 01 [08:26:54]MH_I2C_Read... [08:26:54]*** Stop cut motor [08:26:54]*** Cut end [08:26:54]Read from MH i2c: 01 07 00 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: 01 07 00 9C 1C 00 00 00 00 00 FF 0F CD [08:26:54]process_action close_receipt done [08:26:54]requested_data is exist [08:26:54]produce_requested_data [08:26:54]requested_item fm.sn is exist - process it [08:26:54]wFMCommunicate request_size=4 [08:26:54]MH_SAM_APDU [08:26:54]CAPDU: 80 11 00 00 [08:26:54]Write to MH i2c: E2 08 00 9D 1C 80 11 00 00 00 00 00 00 33 [08:26:54]Write i2c OK [08:26:54]MH_I2C_Read... [08:26:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:26:54]Read from MH i2c: E2 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 17 00 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 17 00 9D 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 8D [08:26:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:26:54]wFMCommunicate OK [08:26:54]requested_item fd.num is exist - process it [08:26:54]SAM_PROTO_GetFieldsCounters [08:26:54]wFMCommunicate request_size=4 [08:26:54]MH_SAM_APDU [08:26:54]CAPDU: 80 13 00 00 [08:26:54]Write to MH i2c: E2 08 00 9E 1C 80 13 00 00 00 00 00 00 36 [08:26:54]Write i2c OK [08:26:54]MH_I2C_Read... [08:26:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:26:54]Read from MH i2c: E2 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 62 00 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 62 00 9E 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1E 58 00 00 0E 04 04 00 E8 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 F9 [08:26:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1E 58 00 00 0E 04 04 00 E8 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 [08:26:54]wFMCommunicate OK [08:26:54]SAM_PROTO_GetFieldsCounters done [08:26:54]requested_item shift.num is exist - process it [08:26:54]requested_item shift.opened is exist - process it [08:26:54]req_shift_opened [08:26:54]FM_GetShiftState [08:26:54]SAM_PROTO_GetShiftState [08:26:54]wFMCommunicate request_size=4 [08:26:54]MH_SAM_APDU [08:26:54]CAPDU: 80 13 01 00 [08:26:54]Write to MH i2c: E2 08 00 9F 1C 80 13 01 00 00 00 00 00 38 [08:26:54]Write i2c OK [08:26:54]MH_I2C_Read... [08:26:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:26:54]Read from MH i2c: E2 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 0E 00 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 0E 00 9F 1C 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 F8 [08:26:54]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:26:54]wFMCommunicate OK [08:26:54]SAM_PROTO_GetShiftState done [08:26:54]FM_GetShiftState done [08:26:54]req_shift_opened done [08:26:54]requested_item shift.open_date is exist - process it [08:26:54]req_shift_open_date [08:26:54]req_shift_open_date done [08:26:54]produce_requested_data done [08:26:54]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22558,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:26:54]process_action_free close_receipt [08:26:54]json_value_free [08:26:54]json_value_free done [08:26:54]process_json_proto returns [08:26:54]Send response to host [08:26:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22558,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:26:54]free response buf [08:26:54]execute_script done [08:26:54]execute_script returns [08:26:54]free content buf [08:26:54]Sock 9.Close socket [08:26:54]Sock 9.Thread stoped [08:26:58]OFD Sender: No OFD packet to send [08:27:03]OFD Sender: No OFD packet to send [08:27:08]OFD Sender: No OFD packet to send [08:27:13]OFD Sender: No OFD packet to send [08:27:18]OFD Sender: No OFD packet to send [08:27:23]OFD Sender: No OFD packet to send [08:27:28]OFD Sender: No OFD packet to send [08:27:33]OFD Sender: No OFD packet to send [08:27:38]OFD Sender: No OFD packet to send [08:27:43]OFD Sender: No OFD packet to send [08:27:48]OFD Sender: No OFD packet to send [08:27:53]OFD Sender: No OFD packet to send [08:27:58]OFD Sender: No OFD packet to send [08:28:03]OFD Sender: No OFD packet to send [08:28:08]OFD Sender: No OFD packet to send [08:28:13]OFD Sender: No OFD packet to send [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:24]accept exits with 10 [08:28:24]New connection [08:28:24]New thread 3067583844 created [08:28:24]Thread 3067440484 joined [08:28:24]Waiting for new connection... [08:28:24] Sock 10.Parse request [08:28:24]Sock 10.Check first char [08:28:24]Sock 10.First char is OK [08:28:24]request: POST /json_proto HTTP/1.0 [08:28:24]Method: POST [08:28:24]URL: /json_proto [08:28:24]Method is POST - this is cgi request [08:28:24]url: /json_proto [08:28:24]query_string will be loaded in cgi processing [08:28:24]execute_cgi json_proto POST (null) [08:28:24]execute_cgi path=json_proto method=POST [08:28:24]POST find Content-Length [08:28:24]Host: 172.17.43.4:8080 [08:28:24]Content-Length: 682 [08:28:24]Content-Type: application/json [08:28:24] [08:28:24]POST finish read [08:28:24]Found Content-Length = 682 [08:28:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165365", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 37.90, "quantity" : 13.200, "sum" : 500.28, "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" ] } } [08:28:24]execute_script... [08:28: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)2165365", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 37.90, "quantity" : 13.200, "sum" : 500.28, "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" ] } } [08:28:24]POST & json_proto [08:28:24]process_json_proto [08:28:24]json parsed OK: [08:28:24]protocol is kg_v1.0 [08:28:24]action value=close_receipt [08:28:24]process_action close_receipt [08:28:24]cmd_close_receipt [08:28:24]MH_GetDate [08:28:24]Write to MH i2c: F0 00 00 A0 1C AB [08:28:24]Write i2c OK [08:28:24]MH_I2C_Read... [08:28:24]Read from MH i2c: F0 [08:28:24]MH_I2C_Read... [08:28:24]Read from MH i2c: F0 09 00 [08:28:24]MH_I2C_Read... [08:28:24]Read from MH i2c: F0 09 00 A0 1C 00 2D 1B F5 66 02 BF CF 66 4D [08:28:24]GetLastDocTimeStamp 1727339215 [08:28:24]current date 1727339309 [08:28:24]FM_GetShiftState [08:28:24]SAM_PROTO_GetShiftState [08:28:24]wFMCommunicate request_size=4 [08:28:24]MH_SAM_APDU [08:28:24]CAPDU: 80 13 01 00 [08:28:24]Write to MH i2c: E2 08 00 A1 1C 80 13 01 00 00 00 00 00 3A [08:28:24]Write i2c OK [08:28:24]MH_I2C_Read... [08:28:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:24]Read from MH i2c: E2 [08:28:24]MH_I2C_Read... [08:28:24]Read from MH i2c: E2 0E 00 [08:28:24]MH_I2C_Read... [08:28:24]Read from MH i2c: E2 0E 00 A1 1C 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 FA [08:28:24]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:28:24]wFMCommunicate OK [08:28:24]SAM_PROTO_GetShiftState done [08:28:24]FM_GetShiftState done [08:28:24]opened in 1727309492 [08:28:24]opened+sec_in_day 1727395892 [08:28:24]quantity*price = 50028 [08:28:24]sum+1 = 50029 [08:28:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.28 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.13 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 23 26.09.2024 08:28 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22559 ФПД: 140943720435634 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082829&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22559&fm=140943720435634&tin=02508201610067®Number=0000000000146243&sum=50000 [08:28:26]StoreToDocumentArchive [08:28:26]shift 232 fd 22559 [08:28:26]save to /storage/0232/doc_00022559 [08:28:26]save last doc name /storage/0232/doc_00022559 to /storage/kkm_last_doc_name [08:28:26]save OK [08:28:26]Clear old archive folders... [08:28:26]ProcessDocumentItem done err = 0, tmpTLVsize=250 [08:28:26]tlvbuf is 00274C30 [08:28:26]SAM_PROTO_ClearQueue [08:28:26]wFMCommunicate request_size=4 [08:28:26]MH_SAM_APDU [08:28:26]CAPDU: 80 09 00 00 [08:28:26]Write to MH i2c: E2 08 00 AE 1C 80 09 00 00 00 00 00 00 3C [08:28:26]Write i2c OK [08:28:26]MH_I2C_Read... [08:28:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:28:26]Read from MH i2c: E2 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 03 00 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 03 00 AE 1C 00 90 00 3E [08:28:26]RAPDU: 90 00 [08:28:26]wFMCommunicate OK [08:28:26]SAM_PROTO_ClearQueue done [08:28:26]KKMCreateOFDPacket [08:28:26]OFDProtocolAddRootSTLVToBuf [08:28:26]FM_MakeSignedData [08:28:26]FM_MakeSignedData [08:28:26]SAM_PROTO_SignData [08:28:26]wFMCommunicate request_size=4 [08:28:26]MH_SAM_APDU [08:28:26]CAPDU: 80 0D 01 02 [08:28:26]Write to MH i2c: E2 08 00 AF 1C 80 0D 01 02 00 00 00 00 44 [08:28:26]Write i2c OK [08:28:26]MH_I2C_Read... [08:28:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:28:26]Read from MH i2c: E2 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 03 00 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 03 00 AF 1C 00 90 00 3F [08:28:26]RAPDU: 90 00 [08:28:26]wFMCommunicate OK [08:28:26]wFMCommunicate request_size=255 [08:28:26]MH_SAM_APDU [08:28:26]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 90 33 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 6C 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 C1 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 17 00 00 00 F4 03 04 00 2D 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1F 58 00 00 35 04 06 00 80 30 [08:28:26]Write to MH i2c: E2 02 01 B0 1C 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 90 33 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 6C 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 C1 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 17 00 00 00 F4 03 04 00 2D 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1F 58 00 00 35 04 06 00 80 30 00 00 45 [08:28:26]Write i2c OK [08:28:26]MH_I2C_Read... [08:28:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:26]Read from MH i2c: E2 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 03 00 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 03 00 B0 1C 00 90 00 40 [08:28:26]RAPDU: 90 00 [08:28:26]wFMCommunicate OK [08:28:26]wFMCommunicate request_size=9 [08:28:26]MH_SAM_APDU [08:28:26]CAPDU: 80 0D 02 02 04 04 63 CF B2 [08:28:26]Write to MH i2c: E2 0C 00 B1 1C 80 0D 02 02 04 00 04 63 CF B2 00 00 37 [08:28:26]Write i2c OK [08:28:26]MH_I2C_Read... [08:28:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:26]Read from MH i2c: E2 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 03 00 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 03 00 B1 1C 00 90 00 41 [08:28:26]RAPDU: 90 00 [08:28:26]wFMCommunicate OK [08:28:26]wFMCommunicate request_size=4 [08:28:26]MH_SAM_APDU [08:28:26]CAPDU: 80 0D 03 02 [08:28:26]Write to MH i2c: E2 08 00 B2 1C 80 0D 03 02 00 00 00 00 49 [08:28:26]Write i2c OK [08:28:26]MH_I2C_Read... [08:28:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:28:26]Read from MH i2c: E2 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 0B 00 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 0B 00 B2 1C 00 B1 91 33 93 60 2B C5 0B 90 00 AD [08:28:26]RAPDU: B1 91 33 93 60 2B C5 0B 90 00 [08:28:26]wFMCommunicate OK [08:28:26]SAM_PROTO_SignData done [08:28:26]FM_MakeSignedData done [08:28:26]CreateOFDProtocolMessage [08:28:26]wFMCommunicate request_size=4 [08:28:26]MH_SAM_APDU [08:28:26]CAPDU: 80 11 00 00 [08:28:26]Write to MH i2c: E2 08 00 B3 1C 80 11 00 00 00 00 00 00 49 [08:28:26]Write i2c OK [08:28:26]MH_I2C_Read... [08:28:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:26]Read from MH i2c: E2 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 17 00 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: E2 17 00 B3 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A3 [08:28:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:28:26]wFMCommunicate OK [08:28:26]CreateOFDProtocolMessage done [08:28:26]OFDSenderStorePacket 22559 [08:28:26]StoreOFDPacket docnum=22559 [08:28:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0E 01 00 00 50 99 06 01 40 79 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 90 33 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 6C 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 C1 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 17 00 00 00 F4 03 04 00 2D 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1F 58 00 00 35 04 06 00 80 30 04 63 CF B2 B1 91 33 93 60 2B C5 0B [08:28:26]CheckFolder [08:28:26]dirname=/storage/ofd_packets [08:28:26]CheckFolder done [08:28:26]ProducePacketName [08:28:26]name=ofd_packets/00022559 [08:28:26]NVStorageSaveData ofd_packets/00022559 [08:28:26]File name is /storage/ofd_packets/00022559 [08:28:26]Write 300 bytes [08:28:26]NVStorageSaveData done [08:28:26]OFDSenderStorePacket done [08:28:26]KKMCreateOFDPacket done [08:28:26]NVStorageSaveData kkm_last_timestamp [08:28:26]File name is /storage/kkm_last_timestamp [08:28:26]Write 4 bytes [08:28:26]NVStorageSaveData done [08:28:26]ExternCall_PrintAddStr [08:28:26]wPrintStart [08:28:26]Write to MH i2c: 01 00 00 B4 1C D0 [08:28:26]Write i2c OK [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: 01 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: 01 07 00 [08:28:26]MH_I2C_Read... [08:28:26]Read from MH i2c: 01 07 00 B4 1C 00 00 00 00 00 FF 0F E5 [08:28:26]RasterBufferAndPrint [08:28:26]line Счет N : (1)2165365 [08:28:26]line ИÐÐ: 02508201610067 [08:28:26]line Контрольно-КаÑÑовый Чек [08:28:26]line ПРОДÐЖР[08:28:26]line ТРК (МРК, ГÐК) : 51 [08:28:26]line Товар: 2711190000 [08:28:26]line ГÐЗ-К-5 [08:28:26]line 13.200 * 37.90 [08:28:26]line = 500.28 [08:28:26]line ÐДС 12% ÐСП 1% [08:28:26]line > о реализуемом товаре [08:28:26]line ОКРУГЛЕÐИЕ: -0.28 [08:28:26]line ИТОГО: 500.00 [08:28:26]line ВнеÑено: 500.00 [08:28:26]line СДÐЧÐ: 0.00 [08:28:26]line ÐСП 1% : 4.43 [08:28:26]line ÐДС 12% : 53.13 [08:28:26]line Ðаличными: 500.00 [08:28:26]line Безнал.: 0.00 [08:28:26]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:28:26]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:28:26]line СÐО: Общий режим [08:28:26]line Чек 23 26.09.2024 08:28 [08:28:26]line Смена: 232 ФФД: 1.0 [08:28:26]line ЗÐМ: 0300000061 [08:28:26]line РÐМ: 0000000000146243 [08:28:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:28:26]line ФМ: 0000000000959358 [08:28:26]line ФД: 22559 [08:28:26]line ФПД: 140943720435634 [08:28:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082829&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22559&fm=140943720435634&tin=02508201610067®Number=0000000000146243&sum=50000 [08:28:26]OFD Sender: Processing packet 22559 [packets to send 23, broken 22] [08:28:26]ProducePacketName [08:28:26]name=ofd_packets/00022559 [08:28:26]OFD Sender: To server: ‡•öpG, [08:28:26]CommunicateWithHost lk.salyk.kg:30040 [08:28:26]ConnectInit lk.salyk.kg [08:28:26]written 0, free lines is 4095 [08:28:27]Connected sock=9 [08:28:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0E 01 00 00 50 99 06 01 40 79 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 90 33 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 6C 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 C1 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 17 00 00 00 F4 03 04 00 2D 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1F 58 00 00 35 04 06 00 80 30 04 63 CF B2 B1 91 33 93 60 2B C5 0B [08:28:27]Write to MH i2c: 01 00 00 DF 1C FB [08:28:27]Write i2c OK [08:28:27]MH_I2C_Read... [08:28:27]Read from MH i2c: 01 [08:28:27]MH_I2C_Read... [08:28:27]Read from MH i2c: 01 07 00 [08:28:27]MH_I2C_Read... [08:28:27]Read from MH i2c: 01 07 00 DF 1C 00 00 00 00 00 07 0D 16 [08:28:27]RasterBufferAndPrint [08:28:27]line [08:28:27]line [08:28:27]line [08:28:27]line [08:28:27]line [08:28:27]written 0, free lines is 3341 [08:28:27]MH_Cut [08:28:27]Write to MH i2c: D1 01 00 E6 1C 01 D4 [08:28:27]Write i2c OK [08:28:27]MH_I2C_Read... [08:28:27]Read from MH i2c: D1 [08:28:27]MH_I2C_Read... [08:28:27]Read from MH i2c: D1 01 00 [08:28:27]MH_I2C_Read... [08:28:27]Read from MH i2c: D1 01 00 E6 1C 00 D3 [08:28:27]Write to MH i2c: 01 00 00 E7 1C 03 [08:28:27]Write i2c OK [08:28:27]MH_I2C_Read... [08:28:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F5 02 47 00 AA C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 1F 58 00 00 F4 03 04 00 4D C5 F4 66 B6 04 01 00 00 67 CA 46 78 44 80 56 CE [08:28:27]CommunicateWithHost err = 0 [08:28:27]CheckOFDResponse [08:28:27]1017 (14) - 77093643461234 [08:28:27]1041 (16) - 0000000000959358 [08:28:27]1040 (4) - 22559 [08:28:27]1012 (4) - 26.09.2024 02:22 [08:28:27]1206 (1) - 0 [08:28:27]OFD Sender: Remove packet 22559 [08:28:27]ProducePacketName [08:28:27]name=ofd_packets/00022559 [08:28:27]NVStorageDeleteData [08:28:27]OFD Sender: No OFD packet to send [08:28:28]*** Cut start [08:28:28]*** Partial cut [08:28:28]*** CUTSNS_PIN = 1 [08:28:28]*** CUTSNS_PIN = 0 [08:28:28]*** Brake cut motor [08:28:28]Read from MH i2c: 01 [08:28:28]MH_I2C_Read... [08:28:28]*** Stop cut motor [08:28:28]*** Cut end [08:28:28]Read from MH i2c: 01 07 00 [08:28:28]MH_I2C_Read... [08:28:28]Read from MH i2c: 01 07 00 E7 1C 00 00 00 00 00 FF 0F 18 [08:28:28]process_action close_receipt done [08:28:28]requested_data is exist [08:28:28]produce_requested_data [08:28:28]requested_item fm.sn is exist - process it [08:28:28]wFMCommunicate request_size=4 [08:28:28]MH_SAM_APDU [08:28:28]CAPDU: 80 11 00 00 [08:28:28]Write to MH i2c: E2 08 00 E8 1C 80 11 00 00 00 00 00 00 7E [08:28:28]Write i2c OK [08:28:28]MH_I2C_Read... [08:28:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:28]Read from MH i2c: E2 [08:28:28]MH_I2C_Read... [08:28:28]Read from MH i2c: E2 17 00 [08:28:28]MH_I2C_Read... [08:28:28]Read from MH i2c: E2 17 00 E8 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D8 [08:28:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:28:28]wFMCommunicate OK [08:28:28]requested_item fd.num is exist - process it [08:28:28]SAM_PROTO_GetFieldsCounters [08:28:28]wFMCommunicate request_size=4 [08:28:28]MH_SAM_APDU [08:28:28]CAPDU: 80 13 00 00 [08:28:28]Write to MH i2c: E2 08 00 E9 1C 80 13 00 00 00 00 00 00 81 [08:28:28]Write i2c OK [08:28:28]MH_I2C_Read... [08:28:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:28:28]Read from MH i2c: E2 [08:28:28]MH_I2C_Read... [08:28:28]Read from MH i2c: E2 62 00 [08:28:28]MH_I2C_Read... [08:28:28]Read from MH i2c: E2 62 00 E9 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1F 58 00 00 0E 04 04 00 E8 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 48 [08:28:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 1F 58 00 00 0E 04 04 00 E8 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 [08:28:28]wFMCommunicate OK [08:28:28]SAM_PROTO_GetFieldsCounters done [08:28:28]requested_item shift.num is exist - process it [08:28:28]requested_item shift.opened is exist - process it [08:28:28]req_shift_opened [08:28:28]FM_GetShiftState [08:28:28]SAM_PROTO_GetShiftState [08:28:28]wFMCommunicate request_size=4 [08:28:28]MH_SAM_APDU [08:28:28]CAPDU: 80 13 01 00 [08:28:28]Write to MH i2c: E2 08 00 EA 1C 80 13 01 00 00 00 00 00 83 [08:28:28]Write i2c OK [08:28:28]MH_I2C_Read... [08:28:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:28]Read from MH i2c: E2 [08:28:28]MH_I2C_Read... [08:28:28]Read from MH i2c: E2 0E 00 [08:28:28]MH_I2C_Read... [08:28:28]Read from MH i2c: E2 0E 00 EA 1C 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 43 [08:28:28]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:28:28]wFMCommunicate OK [08:28:28]SAM_PROTO_GetShiftState done [08:28:28]FM_GetShiftState done [08:28:28]req_shift_opened done [08:28:28]requested_item shift.open_date is exist - process it [08:28:28]req_shift_open_date [08:28:28]req_shift_open_date done [08:28:28]produce_requested_data done [08:28:28]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22559,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:28:28]process_action_free close_receipt [08:28:28]json_value_free [08:28:28]json_value_free done [08:28:28]process_json_proto returns [08:28:28]Send response to host [08:28:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22559,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:28:28]free response buf [08:28:28]execute_script done [08:28:28]execute_script returns [08:28:28]free content buf [08:28:28]Sock 10.Close socket [08:28:28]Sock 10.Thread stoped [08:28:32]OFD Sender: No OFD packet to send [08:28:35]accept exits with 7 [08:28:35]New connection [08:28:35]New thread 3067440484 created [08:28:35]Thread 3067583844 joined [08:28:35]Waiting for new connection... [08:28:35] Sock 7.Parse request [08:28:35]Sock 7.Check first char [08:28:35]Sock 7.First char is OK [08:28:35]request: POST /json_proto HTTP/1.0 [08:28:35]Method: POST [08:28:35]URL: /json_proto [08:28:35]Method is POST - this is cgi request [08:28:35]url: /json_proto [08:28:35]query_string will be loaded in cgi processing [08:28:35]execute_cgi json_proto POST (null) [08:28:35]execute_cgi path=json_proto method=POST [08:28:35]POST find Content-Length [08:28:35]Host: 172.17.43.4:8080 [08:28:35]Content-Length: 671 [08:28:35]Content-Type: application/json [08:28:35] [08:28:35]POST finish read [08:28:35]Found Content-Length = 671 [08:28:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165366", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 7.220, "sum" : 500.35, "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" ] } } [08:28:35]execute_script... [08: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)2165366", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 7.220, "sum" : 500.35, "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" ] } } [08:28:35]POST & json_proto [08:28:35]process_json_proto [08:28:35]json parsed OK: [08:28:35]protocol is kg_v1.0 [08:28:35]action value=close_receipt [08:28:35]process_action close_receipt [08:28:35]cmd_close_receipt [08:28:35]MH_GetDate [08:28:35]Write to MH i2c: F0 00 00 EB 1C F6 [08:28:35]Write i2c OK [08:28:35]MH_I2C_Read... [08:28:35]Read from MH i2c: F0 [08:28:35]MH_I2C_Read... [08:28:35]Read from MH i2c: F0 09 00 [08:28:35]MH_I2C_Read... [08:28:35]Read from MH i2c: F0 09 00 EB 1C 00 38 1B F5 66 02 BF CF 66 A3 [08:28:35]GetLastDocTimeStamp 1727339309 [08:28:35]current date 1727339320 [08:28:35]FM_GetShiftState [08:28:35]SAM_PROTO_GetShiftState [08:28:35]wFMCommunicate request_size=4 [08:28:35]MH_SAM_APDU [08:28:35]CAPDU: 80 13 01 00 [08:28:35]Write to MH i2c: E2 08 00 EC 1C 80 13 01 00 00 00 00 00 85 [08:28:35]Write i2c OK [08:28:35]MH_I2C_Read... [08:28:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:35]Read from MH i2c: E2 [08:28:35]MH_I2C_Read... [08:28:35]Read from MH i2c: E2 0E 00 [08:28:35]MH_I2C_Read... [08:28:35]Read from MH i2c: E2 0E 00 EC 1C 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 45 [08:28:35]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:28:35]wFMCommunicate OK [08:28:35]SAM_PROTO_GetShiftState done [08:28:35]FM_GetShiftState done [08:28:35]opened in 1727309492 [08:28:35]opened+sec_in_day 1727395892 [08:28:35]quantity*price = 50034 [08:28:35]sum+1 = 50036 [08:28:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.35 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.13 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 24 26.09.2024 08:28 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22560 ФПД: 253289482429744 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082840&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22560&fm=253289482429744&tin=02508201610067®Number=0000000000146243&sum=50000 [08:28:36]StoreToDocumentArchive [08:28:36]shift 232 fd 22560 [08:28:36]save to /storage/0232/doc_00022560 [08:28:36]save last doc name /storage/0232/doc_00022560 to /storage/kkm_last_doc_name [08:28:36]save OK [08:28:36]Clear old archive folders... [08:28:36]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:28:36]tlvbuf is B6F5B200 [08:28:36]SAM_PROTO_ClearQueue [08:28:36]wFMCommunicate request_size=4 [08:28:36]MH_SAM_APDU [08:28:36]CAPDU: 80 09 00 00 [08:28:36]Write to MH i2c: E2 08 00 F9 1C 80 09 00 00 00 00 00 00 87 [08:28:36]Write i2c OK [08:28:36]MH_I2C_Read... [08:28:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:28:37]Read from MH i2c: E2 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 03 00 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 03 00 F9 1C 00 90 00 89 [08:28:37]RAPDU: 90 00 [08:28:37]wFMCommunicate OK [08:28:37]SAM_PROTO_ClearQueue done [08:28:37]KKMCreateOFDPacket [08:28:37]OFDProtocolAddRootSTLVToBuf [08:28:37]FM_MakeSignedData [08:28:37]FM_MakeSignedData [08:28:37]SAM_PROTO_SignData [08:28:37]wFMCommunicate request_size=4 [08:28:37]MH_SAM_APDU [08:28:37]CAPDU: 80 0D 01 02 [08:28:37]Write to MH i2c: E2 08 00 FA 1C 80 0D 01 02 00 00 00 00 8F [08:28:37]Write i2c OK [08:28:37]MH_I2C_Read... [08:28:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:28:37]Read from MH i2c: E2 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 03 00 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 03 00 FA 1C 00 90 00 8A [08:28:37]RAPDU: 90 00 [08:28:37]wFMCommunicate OK [08:28:37]wFMCommunicate request_size=255 [08:28:37]MH_SAM_APDU [08:28:37]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 34 1C 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 73 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 C1 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 18 00 00 00 F4 03 04 00 38 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 20 58 00 00 35 04 06 00 [08:28:37]Write to MH i2c: E2 02 01 FB 1C 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 34 1C 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 73 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 C1 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 18 00 00 00 F4 03 04 00 38 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 20 58 00 00 35 04 06 00 00 00 55 [08:28:37]Write i2c OK [08:28:37]MH_I2C_Read... [08:28:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:37]Read from MH i2c: E2 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 03 00 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 03 00 FB 1C 00 90 00 8B [08:28:37]RAPDU: 90 00 [08:28:37]wFMCommunicate OK [08:28:37]wFMCommunicate request_size=11 [08:28:37]MH_SAM_APDU [08:28:37]CAPDU: 80 0D 02 02 06 E6 5D 8D A0 25 30 [08:28:37]Write to MH i2c: E2 0E 00 FC 1C 80 0D 02 02 06 00 E6 5D 8D A0 25 30 00 00 63 [08:28:37]Write i2c OK [08:28:37]MH_I2C_Read... [08:28:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:28:37]Read from MH i2c: E2 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 03 00 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 03 00 FC 1C 00 90 00 8C [08:28:37]RAPDU: 90 00 [08:28:37]wFMCommunicate OK [08:28:37]wFMCommunicate request_size=4 [08:28:37]MH_SAM_APDU [08:28:37]CAPDU: 80 0D 03 02 [08:28:37]Write to MH i2c: E2 08 00 FD 1C 80 0D 03 02 00 00 00 00 94 [08:28:37]Write i2c OK [08:28:37]MH_I2C_Read... [08:28:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:28:37]Read from MH i2c: E2 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 0B 00 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 0B 00 FD 1C 00 8E B0 80 EC 96 3E 7E 40 90 00 D1 [08:28:37]RAPDU: 8E B0 80 EC 96 3E 7E 40 90 00 [08:28:37]wFMCommunicate OK [08:28:37]SAM_PROTO_SignData done [08:28:37]FM_MakeSignedData done [08:28:37]CreateOFDProtocolMessage [08:28:37]wFMCommunicate request_size=4 [08:28:37]MH_SAM_APDU [08:28:37]CAPDU: 80 11 00 00 [08:28:37]Write to MH i2c: E2 08 00 FE 1C 80 11 00 00 00 00 00 00 94 [08:28:37]Write i2c OK [08:28:37]MH_I2C_Read... [08:28:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:37]Read from MH i2c: E2 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 17 00 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: E2 17 00 FE 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 EE [08:28:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:28:37]wFMCommunicate OK [08:28:37]CreateOFDProtocolMessage done [08:28:37]OFDSenderStorePacket 22560 [08:28:37]StoreOFDPacket docnum=22560 [08:28:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 7C 9D 08 01 06 5E 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 34 1C 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 73 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 C1 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 18 00 00 00 F4 03 04 00 38 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 20 58 00 00 35 04 06 00 E6 5D 8D A0 25 30 8E B0 80 EC 96 3E 7E 40 [08:28:37]CheckFolder [08:28:37]dirname=/storage/ofd_packets [08:28:37]CheckFolder done [08:28:37]ProducePacketName [08:28:37]name=ofd_packets/00022560 [08:28:37]NVStorageSaveData ofd_packets/00022560 [08:28:37]File name is /storage/ofd_packets/00022560 [08:28:37]Write 302 bytes [08:28:37]NVStorageSaveData done [08:28:37]OFDSenderStorePacket done [08:28:37]KKMCreateOFDPacket done [08:28:37]NVStorageSaveData kkm_last_timestamp [08:28:37]File name is /storage/kkm_last_timestamp [08:28:37]Write 4 bytes [08:28:37]NVStorageSaveData done [08:28:37]ExternCall_PrintAddStr [08:28:37]wPrintStart [08:28:37]Write to MH i2c: 01 00 00 FF 1C 1B [08:28:37]Write i2c OK [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: 01 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: 01 07 00 [08:28:37]MH_I2C_Read... [08:28:37]Read from MH i2c: 01 07 00 FF 1C 00 00 00 00 00 FF 0F 30 [08:28:37]RasterBufferAndPrint [08:28:37]line Счет N : (1)2165366 [08:28:37]line ИÐÐ: 02508201610067 [08:28:37]line Контрольно-КаÑÑовый Чек [08:28:37]line ПРОДÐЖР[08:28:37]line ТРК (МРК, ГÐК) : 32 [08:28:37]line Товар: 2710124130 [08:28:37]line Super-92-К-5 [08:28:37]line 7.220 * 69.30 [08:28:37]line = 500.35 [08:28:37]line ÐДС 12% ÐСП 1% [08:28:37]line > о реализуемом товаре [08:28:37]line ОКРУГЛЕÐИЕ: -0.35 [08:28:37]line ИТОГО: 500.00 [08:28:37]line ВнеÑено: 500.00 [08:28:37]line СДÐЧÐ: 0.00 [08:28:37]line ÐСП 1% : 4.43 [08:28:37]line ÐДС 12% : 53.13 [08:28:37]line Ðаличными: 500.00 [08:28:37]line Безнал.: 0.00 [08:28:37]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:28:37]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:28:37]line СÐО: Общий режим [08:28:37]line Чек 24 26.09.2024 08:28 [08:28:37]line Смена: 232 ФФД: 1.0 [08:28:37]line ЗÐМ: 0300000061 [08:28:37]line РÐМ: 0000000000146243 [08:28:37]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:28:37]line ФМ: 0000000000959358 [08:28:37]line ФД: 22560 [08:28:37]line ФПД: 253289482429744 [08:28:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082840&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22560&fm=253289482429744&tin=02508201610067®Number=0000000000146243&sum=50000 [08:28:37]written 0, free lines is 4095 [08:28:37]OFD Sender: Processing packet 22560 [packets to send 23, broken 22] [08:28:37]ProducePacketName [08:28:37]name=ofd_packets/00022560 [08:28:37]OFD Sender: To server: ‡•öpG, [08:28:37]CommunicateWithHost lk.salyk.kg:30040 [08:28:37]ConnectInit lk.salyk.kg [08:28:37]Connected sock=10 [08:28:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 7C 9D 08 01 06 5E 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 34 1C 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 73 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 C1 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 18 00 00 00 F4 03 04 00 38 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 20 58 00 00 35 04 06 00 E6 5D 8D A0 25 30 8E B0 80 EC 96 3E 7E 40 [08:28:38]Write to MH i2c: 01 00 00 2A 1D 47 [08:28:38]Write i2c OK [08:28:38]MH_I2C_Read... [08:28:38]Read from MH i2c: 01 [08:28:38]MH_I2C_Read... [08:28:38]Read from MH i2c: 01 07 00 [08:28:38]MH_I2C_Read... [08:28:38]Read from MH i2c: 01 07 00 2A 1D 00 00 00 00 00 F6 0C 50 [08:28:38]RasterBufferAndPrint [08:28:38]line [08:28:38]line [08:28:38]line [08:28:38]line [08:28:38]line [08:28:38]written 0, free lines is 3328 [08:28:38]MH_Cut [08:28:38]Write to MH i2c: D1 01 00 31 1D 01 20 [08:28:38]Write i2c OK [08:28:38]MH_I2C_Read... [08:28:38]Read from MH i2c: D1 [08:28:38]MH_I2C_Read... [08:28:38]Read from MH i2c: D1 01 00 [08:28:38]MH_I2C_Read... [08:28:38]Read from MH i2c: D1 01 00 31 1D 00 1F [08:28:38]Write to MH i2c: 01 00 00 32 1D 4F [08:28:38]Write i2c OK [08:28:38]MH_I2C_Read... [08:28:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 61 A3 47 00 A5 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 20 58 00 00 F4 03 04 00 57 C5 F4 66 B6 04 01 00 00 E1 E7 35 C2 DC AD DA 5A [08:28:38]CommunicateWithHost err = 0 [08:28:38]CheckOFDResponse [08:28:38]1017 (14) - 77093643461234 [08:28:38]1041 (16) - 0000000000959358 [08:28:38]1040 (4) - 22560 [08:28:38]1012 (4) - 26.09.2024 02:22 [08:28:38]1206 (1) - 0 [08:28:38]OFD Sender: Remove packet 22560 [08:28:38]ProducePacketName [08:28:38]name=ofd_packets/00022560 [08:28:38]NVStorageDeleteData [08:28:38]OFD Sender: No OFD packet to send [08:28:38]*** Cut start [08:28:38]*** Partial cut [08:28:38]*** CUTSNS_PIN = 1 [08:28:38]*** CUTSNS_PIN = 0 [08:28:38]*** Brake cut motor [08:28:39]Read from MH i2c: 01 [08:28:39]MH_I2C_Read... [08:28:39]*** Stop cut motor [08:28:39]*** Cut end [08:28:39]Read from MH i2c: 01 07 00 [08:28:39]MH_I2C_Read... [08:28:39]Read from MH i2c: 01 07 00 32 1D 00 00 00 00 00 FF 0F 64 [08:28:39]process_action close_receipt done [08:28:39]requested_data is exist [08:28:39]produce_requested_data [08:28:39]requested_item fm.sn is exist - process it [08:28:39]wFMCommunicate request_size=4 [08:28:39]MH_SAM_APDU [08:28:39]CAPDU: 80 11 00 00 [08:28:39]Write to MH i2c: E2 08 00 33 1D 80 11 00 00 00 00 00 00 CA [08:28:39]Write i2c OK [08:28:39]MH_I2C_Read... [08:28:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:28:39]Read from MH i2c: E2 [08:28:39]MH_I2C_Read... [08:28:39]Read from MH i2c: E2 17 00 [08:28:39]MH_I2C_Read... [08:28:39]Read from MH i2c: E2 17 00 33 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 24 [08:28:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:28:39]wFMCommunicate OK [08:28:39]requested_item fd.num is exist - process it [08:28:39]SAM_PROTO_GetFieldsCounters [08:28:39]wFMCommunicate request_size=4 [08:28:39]MH_SAM_APDU [08:28:39]CAPDU: 80 13 00 00 [08:28:39]Write to MH i2c: E2 08 00 34 1D 80 13 00 00 00 00 00 00 CD [08:28:39]Write i2c OK [08:28:39]MH_I2C_Read... [08:28:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:28:39]Read from MH i2c: E2 [08:28:39]MH_I2C_Read... [08:28:39]Read from MH i2c: E2 62 00 [08:28:39]MH_I2C_Read... [08:28:39]Read from MH i2c: E2 62 00 34 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 20 58 00 00 0E 04 04 00 E8 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 98 [08:28:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 20 58 00 00 0E 04 04 00 E8 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 [08:28:39]wFMCommunicate OK [08:28:39]SAM_PROTO_GetFieldsCounters done [08:28:39]requested_item shift.num is exist - process it [08:28:39]requested_item shift.opened is exist - process it [08:28:39]req_shift_opened [08:28:39]FM_GetShiftState [08:28:39]SAM_PROTO_GetShiftState [08:28:39]wFMCommunicate request_size=4 [08:28:39]MH_SAM_APDU [08:28:39]CAPDU: 80 13 01 00 [08:28:39]Write to MH i2c: E2 08 00 35 1D 80 13 01 00 00 00 00 00 CF [08:28:39]Write i2c OK [08:28:39]MH_I2C_Read... [08:28:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:28:39]Read from MH i2c: E2 [08:28:39]MH_I2C_Read... [08:28:39]Read from MH i2c: E2 0E 00 [08:28:39]MH_I2C_Read... [08:28:39]Read from MH i2c: E2 0E 00 35 1D 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 8F [08:28:39]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:28:39]wFMCommunicate OK [08:28:39]SAM_PROTO_GetShiftState done [08:28:39]FM_GetShiftState done [08:28:39]req_shift_opened done [08:28:39]requested_item shift.open_date is exist - process it [08:28:39]req_shift_open_date [08:28:39]req_shift_open_date done [08:28:39]produce_requested_data done [08:28:39]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22560,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:28:39]process_action_free close_receipt [08:28:39]json_value_free [08:28:39]json_value_free done [08:28:39]process_json_proto returns [08:28:39]Send response to host [08:28:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22560,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:28:39]free response buf [08:28:39]execute_script done [08:28:39]execute_script returns [08:28:39]free content buf [08:28:39]Sock 7.Close socket [08:28:39]Sock 7.Thread stoped [08:28:43]OFD Sender: No OFD packet to send [08:28:48]OFD Sender: No OFD packet to send [08:28:53]OFD Sender: No OFD packet to send [08:28:58]OFD Sender: No OFD packet to send [08:29:03]OFD Sender: No OFD packet to send [08:29:08]OFD Sender: No OFD packet to send [08:29:13]OFD Sender: No OFD packet to send [08:29:18]OFD Sender: No OFD packet to send [08:29:19]accept exits with 9 [08:29:19]New connection [08:29:19]New thread 3067583844 created [08:29:19]Thread 3067440484 joined [08:29:19]Waiting for new connection... [08:29:19] Sock 9.Parse request [08:29:19]Sock 9.Check first char [08:29:19]Sock 9.First char is OK [08:29:19]request: POST /json_proto HTTP/1.0 [08:29:19]Method: POST [08:29:19]URL: /json_proto [08:29:19]Method is POST - this is cgi request [08:29:19]url: /json_proto [08:29:19]query_string will be loaded in cgi processing [08:29:19]execute_cgi json_proto POST (null) [08:29:19]execute_cgi path=json_proto method=POST [08:29:19]POST find Content-Length [08:29:19]Host: 172.17.43.4:8080 [08:29:19]Content-Length: 763 [08:29:19]Content-Type: application/json [08:29:19] [08:29:19]POST finish read [08:29:19]Found Content-Length = 763 [08:29:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165367", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 13.480, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:19]execute_script... [08:29: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)2165367", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 13.480, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:19]POST & json_proto [08:29:19]process_json_proto [08:29:19]json parsed OK: [08:29:19]protocol is kg_v1.0 [08:29:19]action value=close_receipt [08:29:19]process_action close_receipt [08:29:19]cmd_close_receipt [08:29:19]MH_GetDate [08:29:19]Write to MH i2c: F0 00 00 36 1D 42 [08:29:19]Write i2c OK [08:29:19]MH_I2C_Read... [08:29:19]Read from MH i2c: F0 [08:29:19]MH_I2C_Read... [08:29:19]Read from MH i2c: F0 09 00 [08:29:19]MH_I2C_Read... [08:29:19]Read from MH i2c: F0 09 00 36 1D 00 63 1B F5 66 02 BF CF 66 1A [08:29:19]GetLastDocTimeStamp 1727339320 [08:29:19]current date 1727339363 [08:29:19]FM_GetShiftState [08:29:19]SAM_PROTO_GetShiftState [08:29:19]wFMCommunicate request_size=4 [08:29:19]MH_SAM_APDU [08:29:19]CAPDU: 80 13 01 00 [08:29:19]Write to MH i2c: E2 08 00 37 1D 80 13 01 00 00 00 00 00 D1 [08:29:19]Write i2c OK [08:29:19]MH_I2C_Read... [08:29:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:19]Read from MH i2c: E2 [08:29:19]MH_I2C_Read... [08:29:19]Read from MH i2c: E2 0E 00 [08:29:19]MH_I2C_Read... [08:29:19]Read from MH i2c: E2 0E 00 37 1D 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 91 [08:29:19]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:29:19]wFMCommunicate OK [08:29:19]SAM_PROTO_GetShiftState done [08:29:19]FM_GetShiftState done [08:29:19]opened in 1727309492 [08:29:19]opened+sec_in_day 1727395892 [08:29:19]quantity*price = 0 [08:29:19]sum+1 = 1 [08:29:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 25 26.09.2024 08:29 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000959358 ФД: 22561 ФПД: 276436264987924 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082923&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22561&fm=276436264987924&tin=02508201610067®Number=0000000000146243&sum=0 [08:29:20]StoreToDocumentArchive [08:29:20]shift 232 fd 22561 [08:29:20]save to /storage/0232/doc_00022561 [08:29:20]save last doc name /storage/0232/doc_00022561 to /storage/kkm_last_doc_name [08:29:20]save OK [08:29:20]Clear old archive folders... [08:29:20]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:29:20]tlvbuf is 00252D60 [08:29:20]SAM_PROTO_ClearQueue [08:29:20]wFMCommunicate request_size=4 [08:29:20]MH_SAM_APDU [08:29:20]CAPDU: 80 09 00 00 [08:29:20]Write to MH i2c: E2 08 00 44 1D 80 09 00 00 00 00 00 00 D3 [08:29:20]Write i2c OK [08:29:20]MH_I2C_Read... [08:29:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:29:20]Read from MH i2c: E2 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 03 00 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 03 00 44 1D 00 90 00 D5 [08:29:20]RAPDU: 90 00 [08:29:20]wFMCommunicate OK [08:29:20]SAM_PROTO_ClearQueue done [08:29:20]KKMCreateOFDPacket [08:29:20]OFDProtocolAddRootSTLVToBuf [08:29:20]FM_MakeSignedData [08:29:20]FM_MakeSignedData [08:29:20]SAM_PROTO_SignData [08:29:20]wFMCommunicate request_size=4 [08:29:20]MH_SAM_APDU [08:29:20]CAPDU: 80 0D 01 02 [08:29:20]Write to MH i2c: E2 08 00 45 1D 80 0D 01 02 00 00 00 00 DB [08:29:20]Write i2c OK [08:29:20]MH_I2C_Read... [08:29:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:29:20]Read from MH i2c: E2 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 03 00 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 03 00 45 1D 00 90 00 D6 [08:29:20]RAPDU: 90 00 [08:29:20]wFMCommunicate OK [08:29:20]wFMCommunicate request_size=255 [08:29:20]MH_SAM_APDU [08:29:20]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 63 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 21 58 00 00 35 04 06 00 FB [08:29:20]Write to MH i2c: E2 02 01 46 1D 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 63 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 21 58 00 00 35 04 06 00 FB 00 00 15 [08:29:20]Write i2c OK [08:29:20]MH_I2C_Read... [08:29:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:20]Read from MH i2c: E2 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 03 00 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 03 00 46 1D 00 90 00 D7 [08:29:20]RAPDU: 90 00 [08:29:20]wFMCommunicate OK [08:29:20]wFMCommunicate request_size=10 [08:29:20]MH_SAM_APDU [08:29:20]CAPDU: 80 0D 02 02 05 6A D5 60 AD 14 [08:29:20]Write to MH i2c: E2 0D 00 47 1D 80 0D 02 02 05 00 6A D5 60 AD 14 00 00 48 [08:29:20]Write i2c OK [08:29:20]MH_I2C_Read... [08:29:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:20]Read from MH i2c: E2 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 03 00 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 03 00 47 1D 00 90 00 D8 [08:29:20]RAPDU: 90 00 [08:29:20]wFMCommunicate OK [08:29:20]wFMCommunicate request_size=4 [08:29:20]MH_SAM_APDU [08:29:20]CAPDU: 80 0D 03 02 [08:29:20]Write to MH i2c: E2 08 00 48 1D 80 0D 03 02 00 00 00 00 E0 [08:29:20]Write i2c OK [08:29:20]MH_I2C_Read... [08:29:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:29:20]Read from MH i2c: E2 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 0B 00 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 0B 00 48 1D 00 0B D9 67 24 42 3E 23 C2 90 00 B5 [08:29:20]RAPDU: 0B D9 67 24 42 3E 23 C2 90 00 [08:29:20]wFMCommunicate OK [08:29:20]SAM_PROTO_SignData done [08:29:20]FM_MakeSignedData done [08:29:20]CreateOFDProtocolMessage [08:29:20]wFMCommunicate request_size=4 [08:29:20]MH_SAM_APDU [08:29:20]CAPDU: 80 11 00 00 [08:29:20]Write to MH i2c: E2 08 00 49 1D 80 11 00 00 00 00 00 00 E0 [08:29:20]Write i2c OK [08:29:20]MH_I2C_Read... [08:29:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:20]Read from MH i2c: E2 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 17 00 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: E2 17 00 49 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 3A [08:29:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:29:20]wFMCommunicate OK [08:29:20]CreateOFDProtocolMessage done [08:29:20]OFDSenderStorePacket 22561 [08:29:20]StoreOFDPacket docnum=22561 [08:29:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 4A 30 07 01 F4 2C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 63 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 21 58 00 00 35 04 06 00 FB 6A D5 60 AD 14 0B D9 67 24 42 3E 23 C2 [08:29:20]CheckFolder [08:29:20]dirname=/storage/ofd_packets [08:29:20]CheckFolder done [08:29:20]ProducePacketName [08:29:20]name=ofd_packets/00022561 [08:29:20]NVStorageSaveData ofd_packets/00022561 [08:29:20]File name is /storage/ofd_packets/00022561 [08:29:20]Write 301 bytes [08:29:20]NVStorageSaveData done [08:29:20]OFDSenderStorePacket done [08:29:20]KKMCreateOFDPacket done [08:29:20]NVStorageSaveData kkm_last_timestamp [08:29:20]File name is /storage/kkm_last_timestamp [08:29:20]Write 4 bytes [08:29:20]NVStorageSaveData done [08:29:20]ExternCall_PrintAddStr [08:29:20]wPrintStart [08:29:20]Write to MH i2c: 01 00 00 4A 1D 67 [08:29:20]Write i2c OK [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: 01 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: 01 07 00 [08:29:20]MH_I2C_Read... [08:29:20]Read from MH i2c: 01 07 00 4A 1D 00 00 00 00 00 FF 0F 7C [08:29:20]RasterBufferAndPrint [08:29:20]line Счет N : (1)2165367 [08:29:20]line ИÐÐ: 02508201610067 [08:29:20]line Контрольно-КаÑÑовый Чек [08:29:20]line ПРОДÐЖР[08:29:20]line ТРК (МРК, ГÐК) : 13 [08:29:20]line Товар: 2710124500 [08:29:20]line Ðи-95-К-5 [08:29:20]line 13.480 * 0.00 [08:29:20]line = 0.00 [08:29:20]line ÐДС 12% ÐСП 1% [08:29:20]line > о реализуемом товаре [08:29:20]line ИТОГО: 0.00 [08:29:20]line ÐСП 1% : 0.00 [08:29:20]line ÐДС 12% : 0.00 [08:29:20]line Ðаличными: 0.00 [08:29:20]line Безнал.: 0.00 [08:29:20]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:29:20]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:29:20]line СÐО: Общий режим [08:29:20]line Чек 25 26.09.2024 08:29 [08:29:20]line Смена: 232 ФФД: 1.0 [08:29:20]line ЗÐМ: 0300000061 [08:29:20]line РÐМ: 0000000000146243 [08:29:20]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:29:20]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [08:29:20]line ФМ: 0000000000959358 [08:29:20]line ФД: 22561 [08:29:20]line ФПД: 276436264987924 [08:29:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T082923&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22561&fm=276436264987924&tin=02508201610067®Number=0000000000146243&sum=0 [08:29:21]OFD Sender: Processing packet 22561 [packets to send 23, broken 22] [08:29:21]ProducePacketName [08:29:21]name=ofd_packets/00022561 [08:29:21]OFD Sender: To server: ‡•öpG, [08:29:21]CommunicateWithHost lk.salyk.kg:30040 [08:29:21]ConnectInit lk.salyk.kg [08:29:21]written 0, free lines is 4095 [08:29:21]Connected sock=10 [08:29:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 4A 30 07 01 F4 2C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 63 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 21 58 00 00 35 04 06 00 FB 6A D5 60 AD 14 0B D9 67 24 42 3E 23 C2 [08:29:21]Write to MH i2c: 01 00 00 73 1D 90 [08:29:21]Write i2c OK [08:29:21]MH_I2C_Read... [08:29:21]Read from MH i2c: 01 [08:29:21]MH_I2C_Read... [08:29:21]Read from MH i2c: 01 07 00 [08:29:21]MH_I2C_Read... [08:29:21]Read from MH i2c: 01 07 00 73 1D 00 00 00 00 00 19 0D BD [08:29:21]RasterBufferAndPrint [08:29:21]line [08:29:21]line [08:29:21]line [08:29:21]line [08:29:21]line [08:29:21]written 0, free lines is 3359 [08:29:21]MH_Cut [08:29:21]Write to MH i2c: D1 01 00 7A 1D 01 69 [08:29:21]Write i2c OK [08:29:21]MH_I2C_Read... [08:29:21]Read from MH i2c: D1 [08:29:21]MH_I2C_Read... [08:29:21]Read from MH i2c: D1 01 00 [08:29:21]MH_I2C_Read... [08:29:21]Read from MH i2c: D1 01 00 7A 1D 00 68 [08:29:21]Write to MH i2c: 01 00 00 7B 1D 98 [08:29:21]Write i2c OK [08:29:21]MH_I2C_Read... [08:29:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 65 B3 47 00 2D 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 39 35 39 33 35 38 10 04 04 00 21 58 00 00 F4 03 04 00 83 C5 F4 66 B6 04 01 00 00 30 61 D8 8B EC 86 F2 57 [08:29:21]CommunicateWithHost err = 0 [08:29:21]CheckOFDResponse [08:29:21]1017 (14) - 77093643461234 [08:29:21]1041 (16) - 0000000000959358 [08:29:21]1040 (4) - 22561 [08:29:21]1012 (4) - 26.09.2024 02:22 [08:29:21]1206 (1) - 0 [08:29:21]OFD Sender: Remove packet 22561 [08:29:21]ProducePacketName [08:29:21]name=ofd_packets/00022561 [08:29:21]NVStorageDeleteData [08:29:22]OFD Sender: No OFD packet to send [08:29:22]*** Cut start [08:29:22]*** Partial cut [08:29:22]*** CUTSNS_PIN = 1 [08:29:22]*** CUTSNS_PIN = 0 [08:29:22]*** Brake cut motor [08:29:22]Read from MH i2c: 01 [08:29:22]MH_I2C_Read... [08:29:22]*** Stop cut motor [08:29:22]*** Cut end [08:29:22]Read from MH i2c: 01 07 00 [08:29:22]MH_I2C_Read... [08:29:22]Read from MH i2c: 01 07 00 7B 1D 00 00 00 00 00 FF 0F AD [08:29:22]process_action close_receipt done [08:29:22]requested_data is exist [08:29:22]produce_requested_data [08:29:22]requested_item fm.sn is exist - process it [08:29:22]wFMCommunicate request_size=4 [08:29:22]MH_SAM_APDU [08:29:22]CAPDU: 80 11 00 00 [08:29:22]Write to MH i2c: E2 08 00 7C 1D 80 11 00 00 00 00 00 00 13 [08:29:22]Write i2c OK [08:29:22]MH_I2C_Read... [08:29:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:23]Read from MH i2c: E2 [08:29:23]MH_I2C_Read... [08:29:23]Read from MH i2c: E2 17 00 [08:29:23]MH_I2C_Read... [08:29:23]Read from MH i2c: E2 17 00 7C 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 6D [08:29:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:29:23]wFMCommunicate OK [08:29:23]requested_item fd.num is exist - process it [08:29:23]SAM_PROTO_GetFieldsCounters [08:29:23]wFMCommunicate request_size=4 [08:29:23]MH_SAM_APDU [08:29:23]CAPDU: 80 13 00 00 [08:29:23]Write to MH i2c: E2 08 00 7D 1D 80 13 00 00 00 00 00 00 16 [08:29:23]Write i2c OK [08:29:23]MH_I2C_Read... [08:29:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:29:23]Read from MH i2c: E2 [08:29:23]MH_I2C_Read... [08:29:23]Read from MH i2c: E2 62 00 [08:29:23]MH_I2C_Read... [08:29:23]Read from MH i2c: E2 62 00 7D 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 21 58 00 00 0E 04 04 00 E8 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 E5 [08:29:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 21 58 00 00 0E 04 04 00 E8 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 [08:29:23]wFMCommunicate OK [08:29:23]SAM_PROTO_GetFieldsCounters done [08:29:23]requested_item shift.num is exist - process it [08:29:23]requested_item shift.opened is exist - process it [08:29:23]req_shift_opened [08:29:23]FM_GetShiftState [08:29:23]SAM_PROTO_GetShiftState [08:29:23]wFMCommunicate request_size=4 [08:29:23]MH_SAM_APDU [08:29:23]CAPDU: 80 13 01 00 [08:29:23]Write to MH i2c: E2 08 00 7E 1D 80 13 01 00 00 00 00 00 18 [08:29:23]Write i2c OK [08:29:23]MH_I2C_Read... [08:29:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:23]Read from MH i2c: E2 [08:29:23]MH_I2C_Read... [08:29:23]Read from MH i2c: E2 0E 00 [08:29:23]MH_I2C_Read... [08:29:23]Read from MH i2c: E2 0E 00 7E 1D 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 D8 [08:29:23]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:29:23]wFMCommunicate OK [08:29:23]SAM_PROTO_GetShiftState done [08:29:23]FM_GetShiftState done [08:29:23]req_shift_opened done [08:29:23]requested_item shift.open_date is exist - process it [08:29:23]req_shift_open_date [08:29:23]req_shift_open_date done [08:29:23]produce_requested_data done [08:29:23]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22561,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:29:23]process_action_free close_receipt [08:29:23]json_value_free [08:29:23]json_value_free done [08:29:23]process_json_proto returns [08:29:23]Send response to host [08:29:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22561,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:29:23]free response buf [08:29:23]execute_script done [08:29:23]execute_script returns [08:29:23]free content buf [08:29:23]Sock 9.Close socket [08:29:23]Sock 9.Thread stoped [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:09]accept exits with 7 [08:30:09]New connection [08:30:09]New thread 3067440484 created [08:30:09]Thread 3067583844 joined [08:30:09]Waiting for new connection... [08:30:09] Sock 7.Parse request [08:30:09]Sock 7.Check first char [08:30:09]Sock 7.First char is OK [08:30:09]request: POST /json_proto HTTP/1.0 [08:30:09]Method: POST [08:30:09]URL: /json_proto [08:30:09]Method is POST - this is cgi request [08:30:09]url: /json_proto [08:30:09]query_string will be loaded in cgi processing [08:30:09]execute_cgi json_proto POST (null) [08:30:09]execute_cgi path=json_proto method=POST [08:30:09]POST find Content-Length [08:30:09]Host: 172.17.43.4:8080 [08:30:09]Content-Length: 683 [08:30:09]Content-Type: application/json [08:30:09] [08:30:09]POST finish read [08:30:09]Found Content-Length = 683 [08:30:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165368", "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" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "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" ] } } [08:30:09]execute_script... [08:30:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165368", "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" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "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" ] } } [08:30:09]POST & json_proto [08:30:09]process_json_proto [08:30:09]json parsed OK: [08:30:09]protocol is kg_v1.0 [08:30:09]action value=close_receipt [08:30:09]process_action close_receipt [08:30:09]cmd_close_receipt [08:30:09]MH_GetDate [08:30:09]Write to MH i2c: F0 00 00 7F 1D 8B [08:30:09]Write i2c OK [08:30:09]MH_I2C_Read... [08:30:09]Read from MH i2c: F0 [08:30:09]MH_I2C_Read... [08:30:09]Read from MH i2c: F0 09 00 [08:30:09]MH_I2C_Read... [08:30:09]Read from MH i2c: F0 09 00 7F 1D 00 95 1B F5 66 02 BF CF 66 95 [08:30:09]GetLastDocTimeStamp 1727339363 [08:30:09]current date 1727339413 [08:30:09]FM_GetShiftState [08:30:09]SAM_PROTO_GetShiftState [08:30:09]wFMCommunicate request_size=4 [08:30:09]MH_SAM_APDU [08:30:09]CAPDU: 80 13 01 00 [08:30:09]Write to MH i2c: E2 08 00 80 1D 80 13 01 00 00 00 00 00 1A [08:30:09]Write i2c OK [08:30:09]MH_I2C_Read... [08:30:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:09]Read from MH i2c: E2 [08:30:09]MH_I2C_Read... [08:30:09]Read from MH i2c: E2 0E 00 [08:30:09]MH_I2C_Read... [08:30:09]Read from MH i2c: E2 0E 00 80 1D 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 DA [08:30:09]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:30:09]wFMCommunicate OK [08:30:09]SAM_PROTO_GetShiftState done [08:30:09]FM_GetShiftState done [08:30:09]opened in 1727309492 [08:30:09]opened+sec_in_day 1727395892 [08:30:09]quantity*price = 100005 [08:30:09]sum+1 = 100006 [08:30:09]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.05 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.20 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 26 26.09.2024 08:30 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22562 ФПД: 141715704118732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083013&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22562&fm=141715704118732&tin=02508201610067®Number=0000000000146243&sum=100000 [08:30:10]StoreToDocumentArchive [08:30:10]shift 232 fd 22562 [08:30:10]save to /storage/0232/doc_00022562 [08:30:10]save last doc name /storage/0232/doc_00022562 to /storage/kkm_last_doc_name [08:30:10]save OK [08:30:10]Clear old archive folders... [08:30:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:30:10]tlvbuf is B6FF2550 [08:30:10]SAM_PROTO_ClearQueue [08:30:10]wFMCommunicate request_size=4 [08:30:10]MH_SAM_APDU [08:30:10]CAPDU: 80 09 00 00 [08:30:10]Write to MH i2c: E2 08 00 8D 1D 80 09 00 00 00 00 00 00 1C [08:30:10]Write i2c OK [08:30:10]MH_I2C_Read... [08:30:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:30:10]Read from MH i2c: E2 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 03 00 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 03 00 8D 1D 00 90 00 1E [08:30:10]RAPDU: 90 00 [08:30:10]wFMCommunicate OK [08:30:10]SAM_PROTO_ClearQueue done [08:30:10]KKMCreateOFDPacket [08:30:10]OFDProtocolAddRootSTLVToBuf [08:30:10]FM_MakeSignedData [08:30:10]FM_MakeSignedData [08:30:10]SAM_PROTO_SignData [08:30:10]wFMCommunicate request_size=4 [08:30:10]MH_SAM_APDU [08:30:10]CAPDU: 80 0D 01 02 [08:30:10]Write to MH i2c: E2 08 00 8E 1D 80 0D 01 02 00 00 00 00 24 [08:30:10]Write i2c OK [08:30:10]MH_I2C_Read... [08:30:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:30:10]Read from MH i2c: E2 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 03 00 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 03 00 8E 1D 00 90 00 1F [08:30:10]RAPDU: 90 00 [08:30:10]wFMCommunicate OK [08:30:10]wFMCommunicate request_size=255 [08:30:10]MH_SAM_APDU [08:30: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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 1A 00 00 00 F4 03 04 00 95 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 22 58 00 00 35 04 06 00 80 [08:30:10]Write to MH i2c: E2 02 01 8F 1D 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 1A 00 00 00 F4 03 04 00 95 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 22 58 00 00 35 04 06 00 80 00 00 3B [08:30:10]Write i2c OK [08:30:10]MH_I2C_Read... [08:30:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:10]Read from MH i2c: E2 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 03 00 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 03 00 8F 1D 00 90 00 20 [08:30:10]RAPDU: 90 00 [08:30:10]wFMCommunicate OK [08:30:10]wFMCommunicate request_size=10 [08:30:10]MH_SAM_APDU [08:30:10]CAPDU: 80 0D 02 02 05 E3 C2 33 FD CC [08:30:10]Write to MH i2c: E2 0D 00 90 1D 80 0D 02 02 05 00 E3 C2 33 FD CC 00 00 D2 [08:30:10]Write i2c OK [08:30:10]MH_I2C_Read... [08:30:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:10]Read from MH i2c: E2 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 03 00 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 03 00 90 1D 00 90 00 21 [08:30:10]RAPDU: 90 00 [08:30:10]wFMCommunicate OK [08:30:10]wFMCommunicate request_size=4 [08:30:10]MH_SAM_APDU [08:30:10]CAPDU: 80 0D 03 02 [08:30:10]Write to MH i2c: E2 08 00 91 1D 80 0D 03 02 00 00 00 00 29 [08:30:10]Write i2c OK [08:30:10]MH_I2C_Read... [08:30:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:30:10]Read from MH i2c: E2 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 0B 00 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 0B 00 91 1D 00 88 0B 45 DC 83 6B C6 19 90 00 AB [08:30:10]RAPDU: 88 0B 45 DC 83 6B C6 19 90 00 [08:30:10]wFMCommunicate OK [08:30:10]SAM_PROTO_SignData done [08:30:10]FM_MakeSignedData done [08:30:10]CreateOFDProtocolMessage [08:30:10]wFMCommunicate request_size=4 [08:30:10]MH_SAM_APDU [08:30:10]CAPDU: 80 11 00 00 [08:30:10]Write to MH i2c: E2 08 00 92 1D 80 11 00 00 00 00 00 00 29 [08:30:10]Write i2c OK [08:30:10]MH_I2C_Read... [08:30:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:10]Read from MH i2c: E2 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 17 00 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: E2 17 00 92 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 83 [08:30:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:30:10]wFMCommunicate OK [08:30:10]CreateOFDProtocolMessage done [08:30:10]OFDSenderStorePacket 22562 [08:30:10]StoreOFDPacket docnum=22562 [08:30:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 E1 37 07 01 08 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 1A 00 00 00 F4 03 04 00 95 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 22 58 00 00 35 04 06 00 80 E3 C2 33 FD CC 88 0B 45 DC 83 6B C6 19 [08:30:10]CheckFolder [08:30:10]dirname=/storage/ofd_packets [08:30:10]CheckFolder done [08:30:10]ProducePacketName [08:30:10]name=ofd_packets/00022562 [08:30:10]NVStorageSaveData ofd_packets/00022562 [08:30:10]File name is /storage/ofd_packets/00022562 [08:30:10]Write 301 bytes [08:30:10]NVStorageSaveData done [08:30:10]OFDSenderStorePacket done [08:30:10]KKMCreateOFDPacket done [08:30:10]NVStorageSaveData kkm_last_timestamp [08:30:10]File name is /storage/kkm_last_timestamp [08:30:10]Write 4 bytes [08:30:10]NVStorageSaveData done [08:30:10]ExternCall_PrintAddStr [08:30:10]wPrintStart [08:30:10]Write to MH i2c: 01 00 00 93 1D B0 [08:30:10]Write i2c OK [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: 01 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: 01 07 00 [08:30:10]MH_I2C_Read... [08:30:10]Read from MH i2c: 01 07 00 93 1D 00 00 00 00 00 FF 0F C5 [08:30:10]RasterBufferAndPrint [08:30:10]line Счет N : (1)2165368 [08:30:10]line ИÐÐ: 02508201610067 [08:30:10]line Контрольно-КаÑÑовый Чек [08:30:10]line ПРОДÐЖР[08:30:10]line ТРК (МРК, ГÐК) : 22 [08:30:10]line Товар: 2710124130 [08:30:10]line Ðи-92-К-5 [08:30:10]line 14.750 * 67.80 [08:30:10]line = 1000.05 [08:30:10]line ÐДС 12% ÐСП 1% [08:30:10]line > о реализуемом товаре [08:30:10]line ОКРУГЛЕÐИЕ: -0.05 [08:30:10]line ИТОГО: 1000.00 [08:30:10]line ВнеÑено: 1000.00 [08:30:10]line СДÐЧÐ: 0.00 [08:30:10]line ÐСП 1% : 8.85 [08:30:10]line ÐДС 12% : 106.20 [08:30:10]line Ðаличными: 1000.00 [08:30:10]line Безнал.: 0.00 [08:30:10]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:30:10]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:30:10]line СÐО: Общий режим [08:30:10]line Чек 26 26.09.2024 08:30 [08:30:10]line Смена: 232 ФФД: 1.0 [08:30:10]line ЗÐМ: 0300000061 [08:30:10]line РÐМ: 0000000000146243 [08:30:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:30:10]line ФМ: 0000000000959358 [08:30:10]line ФД: 22562 [08:30:10]line ФПД: 141715704118732 [08:30:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083013&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22562&fm=141715704118732&tin=02508201610067®Number=0000000000146243&sum=100000 [08:30:11]OFD Sender: Processing packet 22562 [packets to send 23, broken 22] [08:30:11]ProducePacketName [08:30:11]name=ofd_packets/00022562 [08:30:11]OFD Sender: To server: ‡•öpG, [08:30:11]CommunicateWithHost lk.salyk.kg:30040 [08:30:11]ConnectInit lk.salyk.kg [08:30:11]written 0, free lines is 4095 [08:30:11]Connected sock=10 [08:30:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 E1 37 07 01 08 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 1A 00 00 00 F4 03 04 00 95 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 22 58 00 00 35 04 06 00 80 E3 C2 33 FD CC 88 0B 45 DC 83 6B C6 19 [08:30:11]Write to MH i2c: 01 00 00 BE 1D DB [08:30:11]Write i2c OK [08:30:11]MH_I2C_Read... [08:30:11]Read from MH i2c: 01 [08:30:11]MH_I2C_Read... [08:30:11]Read from MH i2c: 01 07 00 [08:30:11]MH_I2C_Read... [08:30:11]Read from MH i2c: 01 07 00 BE 1D 00 00 00 00 00 FB 0C E9 [08:30:11]RasterBufferAndPrint [08:30:11]line [08:30:11]line [08:30:11]line [08:30:11]line [08:30:11]line [08:30:11]written 0, free lines is 3329 [08:30:11]MH_Cut [08:30:11]Write to MH i2c: D1 01 00 C5 1D 01 B4 [08:30:11]Write i2c OK [08:30:11]MH_I2C_Read... [08:30:11]Read from MH i2c: D1 [08:30:11]MH_I2C_Read... [08:30:11]Read from MH i2c: D1 01 00 [08:30:11]MH_I2C_Read... [08:30:11]Read from MH i2c: D1 01 00 C5 1D 00 B3 [08:30:11]Write to MH i2c: 01 00 00 C6 1D E3 [08:30:11]Write i2c OK [08:30:11]MH_I2C_Read... [08:30:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 7A F0 47 00 CD BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 22 58 00 00 F4 03 04 00 B5 C5 F4 66 B6 04 01 00 00 E8 60 28 F3 1E EF 7E 46 [08:30:11]CommunicateWithHost err = 0 [08:30:11]CheckOFDResponse [08:30:11]1017 (14) - 77093643461234 [08:30:11]1041 (16) - 0000000000959358 [08:30:11]1040 (4) - 22562 [08:30:11]1012 (4) - 26.09.2024 02:23 [08:30:11]1206 (1) - 0 [08:30:11]OFD Sender: Remove packet 22562 [08:30:11]ProducePacketName [08:30:11]name=ofd_packets/00022562 [08:30:11]NVStorageDeleteData [08:30:12]OFD Sender: No OFD packet to send [08:30:12]*** Cut start [08:30:12]*** Partial cut [08:30:12]*** CUTSNS_PIN = 1 [08:30:12]*** CUTSNS_PIN = 0 [08:30:12]*** Brake cut motor [08:30:12]Read from MH i2c: 01 [08:30:12]MH_I2C_Read... [08:30:12]*** Stop cut motor [08:30:12]*** Cut end [08:30:12]Read from MH i2c: 01 07 00 [08:30:12]MH_I2C_Read... [08:30:12]Read from MH i2c: 01 07 00 C6 1D 00 00 00 00 00 FF 0F F8 [08:30:12]process_action close_receipt done [08:30:12]requested_data is exist [08:30:12]produce_requested_data [08:30:12]requested_item fm.sn is exist - process it [08:30:12]wFMCommunicate request_size=4 [08:30:12]MH_SAM_APDU [08:30:12]CAPDU: 80 11 00 00 [08:30:12]Write to MH i2c: E2 08 00 C7 1D 80 11 00 00 00 00 00 00 5E [08:30:12]Write i2c OK [08:30:12]MH_I2C_Read... [08:30:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:12]Read from MH i2c: E2 [08:30:12]MH_I2C_Read... [08:30:12]Read from MH i2c: E2 17 00 [08:30:12]MH_I2C_Read... [08:30:12]Read from MH i2c: E2 17 00 C7 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 B8 [08:30:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:30:12]wFMCommunicate OK [08:30:12]requested_item fd.num is exist - process it [08:30:12]SAM_PROTO_GetFieldsCounters [08:30:12]wFMCommunicate request_size=4 [08:30:12]MH_SAM_APDU [08:30:12]CAPDU: 80 13 00 00 [08:30:12]Write to MH i2c: E2 08 00 C8 1D 80 13 00 00 00 00 00 00 61 [08:30:12]Write i2c OK [08:30:12]MH_I2C_Read... [08:30:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:30:12]Read from MH i2c: E2 [08:30:12]MH_I2C_Read... [08:30:12]Read from MH i2c: E2 62 00 [08:30:12]MH_I2C_Read... [08:30:12]Read from MH i2c: E2 62 00 C8 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 22 58 00 00 0E 04 04 00 E8 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 34 [08:30:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 22 58 00 00 0E 04 04 00 E8 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 [08:30:12]wFMCommunicate OK [08:30:12]SAM_PROTO_GetFieldsCounters done [08:30:12]requested_item shift.num is exist - process it [08:30:12]requested_item shift.opened is exist - process it [08:30:12]req_shift_opened [08:30:12]FM_GetShiftState [08:30:12]SAM_PROTO_GetShiftState [08:30:12]wFMCommunicate request_size=4 [08:30:12]MH_SAM_APDU [08:30:12]CAPDU: 80 13 01 00 [08:30:12]Write to MH i2c: E2 08 00 C9 1D 80 13 01 00 00 00 00 00 63 [08:30:12]Write i2c OK [08:30:12]MH_I2C_Read... [08:30:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:13]Read from MH i2c: E2 [08:30:13]MH_I2C_Read... [08:30:13]Read from MH i2c: E2 0E 00 [08:30:13]MH_I2C_Read... [08:30:13]Read from MH i2c: E2 0E 00 C9 1D 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 23 [08:30:13]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:30:13]wFMCommunicate OK [08:30:13]SAM_PROTO_GetShiftState done [08:30:13]FM_GetShiftState done [08:30:13]req_shift_opened done [08:30:13]requested_item shift.open_date is exist - process it [08:30:13]req_shift_open_date [08:30:13]req_shift_open_date done [08:30:13]produce_requested_data done [08:30:13]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22562,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:30:13]process_action_free close_receipt [08:30:13]json_value_free [08:30:13]json_value_free done [08:30:13]process_json_proto returns [08:30:13]Send response to host [08:30:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22562,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:30:13]free response buf [08:30:13]execute_script done [08:30:13]execute_script returns [08:30:13]free content buf [08:30:13]Sock 7.Close socket [08:30:13]Sock 7.Thread stoped [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:45]accept exits with 9 [08:30:45]New connection [08:30:45]New thread 3067583844 created [08:30:45]Thread 3067440484 joined [08:30:45]Waiting for new connection... [08:30:45] Sock 9.Parse request [08:30:45]Sock 9.Check first char [08:30:45]Sock 9.First char is OK [08:30:45]request: POST /json_proto HTTP/1.0 [08:30:45]Method: POST [08:30:45]URL: /json_proto [08:30:45]Method is POST - this is cgi request [08:30:45]url: /json_proto [08:30:45]query_string will be loaded in cgi processing [08:30:45]execute_cgi json_proto POST (null) [08:30:45]execute_cgi path=json_proto method=POST [08:30:45]POST find Content-Length [08:30:45]Host: 172.17.43.4:8080 [08:30:45]Content-Length: 636 [08:30:45]Content-Type: application/json [08:30:45] [08:30:45]POST finish read [08:30:45]Found Content-Length = 636 [08:30:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165369", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 14.430, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:45]execute_script... [08:30: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)2165369", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 14.430, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:45]POST & json_proto [08:30:45]process_json_proto [08:30:45]json parsed OK: [08:30:45]protocol is kg_v1.0 [08:30:45]action value=close_receipt [08:30:45]process_action close_receipt [08:30:45]cmd_close_receipt [08:30:45]MH_GetDate [08:30:45]Write to MH i2c: F0 00 00 CA 1D D6 [08:30:45]Write i2c OK [08:30:45]MH_I2C_Read... [08:30:45]Read from MH i2c: F0 [08:30:45]MH_I2C_Read... [08:30:45]Read from MH i2c: F0 09 00 [08:30:45]MH_I2C_Read... [08:30:45]Read from MH i2c: F0 09 00 CA 1D 00 B9 1B F5 66 02 BF CF 66 04 [08:30:45]GetLastDocTimeStamp 1727339413 [08:30:45]current date 1727339449 [08:30:45]FM_GetShiftState [08:30:45]SAM_PROTO_GetShiftState [08:30:45]wFMCommunicate request_size=4 [08:30:45]MH_SAM_APDU [08:30:45]CAPDU: 80 13 01 00 [08:30:45]Write to MH i2c: E2 08 00 CB 1D 80 13 01 00 00 00 00 00 65 [08:30:45]Write i2c OK [08:30:45]MH_I2C_Read... [08:30:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:45]Read from MH i2c: E2 [08:30:45]MH_I2C_Read... [08:30:45]Read from MH i2c: E2 0E 00 [08:30:45]MH_I2C_Read... [08:30:45]Read from MH i2c: E2 0E 00 CB 1D 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 25 [08:30:45]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:30:45]wFMCommunicate OK [08:30:45]SAM_PROTO_GetShiftState done [08:30:45]FM_GetShiftState done [08:30:45]opened in 1727309492 [08:30:45]opened+sec_in_day 1727395892 [08:30:45]quantity*price = 99999 [08:30:45]sum+1 = 100001 [08:30:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.00 ÐСП 1% : 8.85 ÐДС 12% : 106.19 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 27 26.09.2024 08:30 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22563 ФПД: 170080099958586 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083049&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22563&fm=170080099958586&tin=02508201610067®Number=0000000000146243&sum=100000 [08:30:46]StoreToDocumentArchive [08:30:46]shift 232 fd 22563 [08:30:46]save to /storage/0232/doc_00022563 [08:30:46]save last doc name /storage/0232/doc_00022563 to /storage/kkm_last_doc_name [08:30:46]save OK [08:30:46]Clear old archive folders... [08:30:46]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:30:46]tlvbuf is B6F74490 [08:30:46]SAM_PROTO_ClearQueue [08:30:46]wFMCommunicate request_size=4 [08:30:46]MH_SAM_APDU [08:30:46]CAPDU: 80 09 00 00 [08:30:46]Write to MH i2c: E2 08 00 D8 1D 80 09 00 00 00 00 00 00 67 [08:30:46]Write i2c OK [08:30:46]MH_I2C_Read... [08:30:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:30:46]Read from MH i2c: E2 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 03 00 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 03 00 D8 1D 00 90 00 69 [08:30:46]RAPDU: 90 00 [08:30:46]wFMCommunicate OK [08:30:46]SAM_PROTO_ClearQueue done [08:30:46]KKMCreateOFDPacket [08:30:46]OFDProtocolAddRootSTLVToBuf [08:30:46]FM_MakeSignedData [08:30:46]FM_MakeSignedData [08:30:46]SAM_PROTO_SignData [08:30:46]wFMCommunicate request_size=4 [08:30:46]MH_SAM_APDU [08:30:46]CAPDU: 80 0D 01 02 [08:30:46]Write to MH i2c: E2 08 00 D9 1D 80 0D 01 02 00 00 00 00 6F [08:30:46]Write i2c OK [08:30:46]MH_I2C_Read... [08:30:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:30:46]Read from MH i2c: E2 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 03 00 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 03 00 D9 1D 00 90 00 6A [08:30:46]RAPDU: 90 00 [08:30:46]wFMCommunicate OK [08:30:46]wFMCommunicate request_size=255 [08:30:46]MH_SAM_APDU [08:30:46]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7B 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 1B 00 00 00 F4 03 04 00 B9 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 23 58 00 00 35 04 06 00 [08:30:46]Write to MH i2c: E2 02 01 DA 1D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7B 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 1B 00 00 00 F4 03 04 00 B9 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 23 58 00 00 35 04 06 00 00 00 A6 [08:30:46]Write i2c OK [08:30:46]MH_I2C_Read... [08:30:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:46]Read from MH i2c: E2 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 03 00 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 03 00 DA 1D 00 90 00 6B [08:30:46]RAPDU: 90 00 [08:30:46]wFMCommunicate OK [08:30:46]wFMCommunicate request_size=11 [08:30:46]MH_SAM_APDU [08:30:46]CAPDU: 80 0D 02 02 06 9A AF DB F0 FF 3A [08:30:46]Write to MH i2c: E2 0E 00 DB 1D 80 0D 02 02 06 00 9A AF DB F0 FF 3A 00 00 CB [08:30:46]Write i2c OK [08:30:46]MH_I2C_Read... [08:30:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:46]Read from MH i2c: E2 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 03 00 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 03 00 DB 1D 00 90 00 6C [08:30:46]RAPDU: 90 00 [08:30:46]wFMCommunicate OK [08:30:46]wFMCommunicate request_size=4 [08:30:46]MH_SAM_APDU [08:30:46]CAPDU: 80 0D 03 02 [08:30:46]Write to MH i2c: E2 08 00 DC 1D 80 0D 03 02 00 00 00 00 74 [08:30:46]Write i2c OK [08:30:46]MH_I2C_Read... [08:30:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:30:46]Read from MH i2c: E2 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 0B 00 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 0B 00 DC 1D 00 03 7B 02 29 47 DF 4F 26 90 00 B9 [08:30:46]RAPDU: 03 7B 02 29 47 DF 4F 26 90 00 [08:30:46]wFMCommunicate OK [08:30:46]SAM_PROTO_SignData done [08:30:46]FM_MakeSignedData done [08:30:46]CreateOFDProtocolMessage [08:30:46]wFMCommunicate request_size=4 [08:30:46]MH_SAM_APDU [08:30:46]CAPDU: 80 11 00 00 [08:30:46]Write to MH i2c: E2 08 00 DD 1D 80 11 00 00 00 00 00 00 74 [08:30:46]Write i2c OK [08:30:46]MH_I2C_Read... [08:30:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:46]Read from MH i2c: E2 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 17 00 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: E2 17 00 DD 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 CE [08:30:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:30:46]wFMCommunicate OK [08:30:46]CreateOFDProtocolMessage done [08:30:46]OFDSenderStorePacket 22563 [08:30:46]StoreOFDPacket docnum=22563 [08:30:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 60 96 08 01 5B 50 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7B 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 1B 00 00 00 F4 03 04 00 B9 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 23 58 00 00 35 04 06 00 9A AF DB F0 FF 3A 03 7B 02 29 47 DF 4F 26 [08:30:46]CheckFolder [08:30:46]dirname=/storage/ofd_packets [08:30:46]CheckFolder done [08:30:46]ProducePacketName [08:30:46]name=ofd_packets/00022563 [08:30:46]NVStorageSaveData ofd_packets/00022563 [08:30:46]File name is /storage/ofd_packets/00022563 [08:30:46]Write 302 bytes [08:30:46]NVStorageSaveData done [08:30:46]OFDSenderStorePacket done [08:30:46]KKMCreateOFDPacket done [08:30:46]NVStorageSaveData kkm_last_timestamp [08:30:46]File name is /storage/kkm_last_timestamp [08:30:46]Write 4 bytes [08:30:46]NVStorageSaveData done [08:30:46]ExternCall_PrintAddStr [08:30:46]wPrintStart [08:30:46]Write to MH i2c: 01 00 00 DE 1D FB [08:30:46]Write i2c OK [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: 01 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: 01 07 00 [08:30:46]MH_I2C_Read... [08:30:46]Read from MH i2c: 01 07 00 DE 1D 00 00 00 00 00 FF 0F 10 [08:30:46]RasterBufferAndPrint [08:30:46]line Счет N : (1)2165369 [08:30:46]line ИÐÐ: 02508201610067 [08:30:46]line Контрольно-КаÑÑовый Чек [08:30:46]line ПРОДÐЖР[08:30:46]line ТРК (МРК, ГÐК) : 11 [08:30:46]line Товар: 2710124130 [08:30:46]line Super-92-К-5 [08:30:46]line 14.430 * 69.30 [08:30:46]line = 1000.00 [08:30:46]line ÐДС 12% ÐСП 1% [08:30:46]line > о реализуемом товаре [08:30:46]line ИТОГО: 1000.00 [08:30:46]line ÐСП 1% : 8.85 [08:30:46]line ÐДС 12% : 106.19 [08:30:46]line Ðаличными: 1000.00 [08:30:46]line Безнал.: 0.00 [08:30:46]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:30:46]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:30:46]line СÐО: Общий режим [08:30:46]line Чек 27 26.09.2024 08:30 [08:30:46]line Смена: 232 ФФД: 1.0 [08:30:46]line ЗÐМ: 0300000061 [08:30:46]line РÐМ: 0000000000146243 [08:30:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:30:46]line ФМ: 0000000000959358 [08:30:46]line ФД: 22563 [08:30:46]line ФПД: 170080099958586 [08:30:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083049&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22563&fm=170080099958586&tin=02508201610067®Number=0000000000146243&sum=100000 [08:30:47]OFD Sender: Processing packet 22563 [packets to send 23, broken 22] [08:30:47]ProducePacketName [08:30:47]name=ofd_packets/00022563 [08:30:47]OFD Sender: To server: ‡•öpG, [08:30:47]CommunicateWithHost lk.salyk.kg:30040 [08:30:47]ConnectInit lk.salyk.kg [08:30:47]written 0, free lines is 4095 [08:30:47]Connected sock=10 [08:30:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 60 96 08 01 5B 50 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7B 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 1B 00 00 00 F4 03 04 00 B9 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 23 58 00 00 35 04 06 00 9A AF DB F0 FF 3A 03 7B 02 29 47 DF 4F 26 [08:30:47]Write to MH i2c: 01 00 00 06 1E 24 [08:30:47]Write i2c OK [08:30:47]MH_I2C_Read... [08:30:47]Read from MH i2c: 01 [08:30:47]MH_I2C_Read... [08:30:47]Read from MH i2c: 01 07 00 [08:30:47]MH_I2C_Read... [08:30:47]Read from MH i2c: 01 07 00 06 1E 00 00 00 00 00 22 0D 5A [08:30:47]RasterBufferAndPrint [08:30:47]line [08:30:47]line [08:30:47]line [08:30:47]line [08:30:47]line [08:30:47]written 0, free lines is 3368 [08:30:47]MH_Cut [08:30:47]Write to MH i2c: D1 01 00 0D 1E 01 FD [08:30:47]Write i2c OK [08:30:47]MH_I2C_Read... [08:30:47]Read from MH i2c: D1 [08:30:47]MH_I2C_Read... [08:30:47]Read from MH i2c: D1 01 00 [08:30:47]MH_I2C_Read... [08:30:47]Read from MH i2c: D1 01 00 0D 1E 00 FC [08:30:47]Write to MH i2c: 01 00 00 0E 1E 2C [08:30:47]Write i2c OK [08:30:47]MH_I2C_Read... [08:30:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 00 16 47 00 4E F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 23 58 00 00 F4 03 04 00 D9 C5 F4 66 B6 04 01 00 00 CE 6C 87 DE 7B B3 1A 55 [08:30:47]CommunicateWithHost err = 0 [08:30:47]CheckOFDResponse [08:30:47]1017 (14) - 77093643461234 [08:30:47]1041 (16) - 0000000000959358 [08:30:47]1040 (4) - 22563 [08:30:47]1012 (4) - 26.09.2024 02:24 [08:30:47]1206 (1) - 0 [08:30:47]OFD Sender: Remove packet 22563 [08:30:47]ProducePacketName [08:30:47]name=ofd_packets/00022563 [08:30:47]NVStorageDeleteData [08:30:48]OFD Sender: No OFD packet to send [08:30:48]*** Cut start [08:30:48]*** Partial cut [08:30:48]*** CUTSNS_PIN = 1 [08:30:48]*** CUTSNS_PIN = 0 [08:30:48]*** Brake cut motor [08:30:48]Read from MH i2c: 01 [08:30:48]MH_I2C_Read... [08:30:48]*** Stop cut motor [08:30:48]*** Cut end [08:30:48]Read from MH i2c: 01 07 00 [08:30:48]MH_I2C_Read... [08:30:48]Read from MH i2c: 01 07 00 0E 1E 00 00 00 00 00 FF 0F 41 [08:30:48]process_action close_receipt done [08:30:48]requested_data is exist [08:30:48]produce_requested_data [08:30:48]requested_item fm.sn is exist - process it [08:30:48]wFMCommunicate request_size=4 [08:30:48]MH_SAM_APDU [08:30:48]CAPDU: 80 11 00 00 [08:30:48]Write to MH i2c: E2 08 00 0F 1E 80 11 00 00 00 00 00 00 A7 [08:30:48]Write i2c OK [08:30:48]MH_I2C_Read... [08:30:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:48]Read from MH i2c: E2 [08:30:48]MH_I2C_Read... [08:30:48]Read from MH i2c: E2 17 00 [08:30:48]MH_I2C_Read... [08:30:48]Read from MH i2c: E2 17 00 0F 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 01 [08:30:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:30:48]wFMCommunicate OK [08:30:48]requested_item fd.num is exist - process it [08:30:48]SAM_PROTO_GetFieldsCounters [08:30:48]wFMCommunicate request_size=4 [08:30:48]MH_SAM_APDU [08:30:48]CAPDU: 80 13 00 00 [08:30:48]Write to MH i2c: E2 08 00 10 1E 80 13 00 00 00 00 00 00 AA [08:30:48]Write i2c OK [08:30:48]MH_I2C_Read... [08:30:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:30:49]Read from MH i2c: E2 [08:30:49]MH_I2C_Read... [08:30:49]Read from MH i2c: E2 62 00 [08:30:49]MH_I2C_Read... [08:30:49]Read from MH i2c: E2 62 00 10 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 23 58 00 00 0E 04 04 00 E8 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 81 [08:30:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 23 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:30:49]wFMCommunicate OK [08:30:49]SAM_PROTO_GetFieldsCounters done [08:30:49]requested_item shift.num is exist - process it [08:30:49]requested_item shift.opened is exist - process it [08:30:49]req_shift_opened [08:30:49]FM_GetShiftState [08:30:49]SAM_PROTO_GetShiftState [08:30:49]wFMCommunicate request_size=4 [08:30:49]MH_SAM_APDU [08:30:49]CAPDU: 80 13 01 00 [08:30:49]Write to MH i2c: E2 08 00 11 1E 80 13 01 00 00 00 00 00 AC [08:30:49]Write i2c OK [08:30:49]MH_I2C_Read... [08:30:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:49]Read from MH i2c: E2 [08:30:49]MH_I2C_Read... [08:30:49]Read from MH i2c: E2 0E 00 [08:30:49]MH_I2C_Read... [08:30:49]Read from MH i2c: E2 0E 00 11 1E 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 6C [08:30:49]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:30:49]wFMCommunicate OK [08:30:49]SAM_PROTO_GetShiftState done [08:30:49]FM_GetShiftState done [08:30:49]req_shift_opened done [08:30:49]requested_item shift.open_date is exist - process it [08:30:49]req_shift_open_date [08:30:49]req_shift_open_date done [08:30:49]produce_requested_data done [08:30:49]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22563,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:30:49]process_action_free close_receipt [08:30:49]json_value_free [08:30:49]json_value_free done [08:30:49]process_json_proto returns [08:30:49]Send response to host [08:30:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22563,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:30:49]free response buf [08:30:49]execute_script done [08:30:49]execute_script returns [08:30:49]free content buf [08:30:49]Sock 9.Close socket [08:30:49]Sock 9.Thread stoped [08:30:53]OFD Sender: No OFD packet to send [08:30:58]OFD Sender: No OFD packet to send [08:30:59]accept exits with 7 [08:30:59]New connection [08:30:59]New thread 3067440484 created [08:30:59]Thread 3067583844 joined [08:30:59]Waiting for new connection... [08:30:59] Sock 7.Parse request [08:30:59]Sock 7.Check first char [08:30:59]Sock 7.First char is OK [08:30:59]request: POST /json_proto HTTP/1.0 [08:30:59]Method: POST [08:30:59]URL: /json_proto [08:30:59]Method is POST - this is cgi request [08:30:59]url: /json_proto [08:30:59]query_string will be loaded in cgi processing [08:30:59]execute_cgi json_proto POST (null) [08:30:59]execute_cgi path=json_proto method=POST [08:30:59]POST find Content-Length [08:30:59]Host: 172.17.43.4:8080 [08:30:59]Content-Length: 680 [08:30:59]Content-Type: application/json [08:30:59] [08:30:59]POST finish read [08:30:59]Found Content-Length = 680 [08:30:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165370", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "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:30:59]execute_script... [08: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)2165370", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "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:30:59]POST & json_proto [08:30:59]process_json_proto [08:30:59]json parsed OK: [08:30:59]protocol is kg_v1.0 [08:30:59]action value=close_receipt [08:30:59]process_action close_receipt [08:30:59]cmd_close_receipt [08:30:59]MH_GetDate [08:30:59]Write to MH i2c: F0 00 00 12 1E 1F [08:30:59]Write i2c OK [08:30:59]MH_I2C_Read... [08:30:59]Read from MH i2c: F0 [08:30:59]MH_I2C_Read... [08:30:59]Read from MH i2c: F0 09 00 [08:30:59]MH_I2C_Read... [08:30:59]Read from MH i2c: F0 09 00 12 1E 00 C7 1B F5 66 02 BF CF 66 5B [08:30:59]GetLastDocTimeStamp 1727339449 [08:30:59]current date 1727339463 [08:30:59]FM_GetShiftState [08:30:59]SAM_PROTO_GetShiftState [08:30:59]wFMCommunicate request_size=4 [08:30:59]MH_SAM_APDU [08:30:59]CAPDU: 80 13 01 00 [08:30:59]Write to MH i2c: E2 08 00 13 1E 80 13 01 00 00 00 00 00 AE [08:30:59]Write i2c OK [08:30:59]MH_I2C_Read... [08:30:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:59]Read from MH i2c: E2 [08:30:59]MH_I2C_Read... [08:30:59]Read from MH i2c: E2 0E 00 [08:30:59]MH_I2C_Read... [08:30:59]Read from MH i2c: E2 0E 00 13 1E 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 6E [08:30:59]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:30:59]wFMCommunicate OK [08:30:59]SAM_PROTO_GetShiftState done [08:30:59]FM_GetShiftState done [08:30:59]opened in 1727309492 [08:30:59]opened+sec_in_day 1727395892 [08:30:59]quantity*price = 150037 [08:30:59]sum+1 = 150039 [08:30:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.28 ÐДС 12% : 159.33 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 28 26.09.2024 08:31 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22564 ФПД: 56490333654445 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083103&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22564&fm=56490333654445&tin=02508201610067®Number=0000000000146243&sum=150000 [08:31:00]StoreToDocumentArchive [08:31:00]shift 232 fd 22564 [08:31:00]save to /storage/0232/doc_00022564 [08:31:00]save last doc name /storage/0232/doc_00022564 to /storage/kkm_last_doc_name [08:31:00]save OK [08:31:00]Clear old archive folders... [08:31:00]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:31:00]tlvbuf is 001FDBD0 [08:31:00]SAM_PROTO_ClearQueue [08:31:00]wFMCommunicate request_size=4 [08:31:00]MH_SAM_APDU [08:31:00]CAPDU: 80 09 00 00 [08:31:00]Write to MH i2c: E2 08 00 20 1E 80 09 00 00 00 00 00 00 B0 [08:31:00]Write i2c OK [08:31:00]MH_I2C_Read... [08:31:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:31:00]Read from MH i2c: E2 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 03 00 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 03 00 20 1E 00 90 00 B2 [08:31:00]RAPDU: 90 00 [08:31:00]wFMCommunicate OK [08:31:00]SAM_PROTO_ClearQueue done [08:31:00]KKMCreateOFDPacket [08:31:00]OFDProtocolAddRootSTLVToBuf [08:31:00]FM_MakeSignedData [08:31:00]FM_MakeSignedData [08:31:00]SAM_PROTO_SignData [08:31:00]wFMCommunicate request_size=4 [08:31:00]MH_SAM_APDU [08:31:00]CAPDU: 80 0D 01 02 [08:31:00]Write to MH i2c: E2 08 00 21 1E 80 0D 01 02 00 00 00 00 B8 [08:31:00]Write i2c OK [08:31:00]MH_I2C_Read... [08:31:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:31:00]Read from MH i2c: E2 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 03 00 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 03 00 21 1E 00 90 00 B3 [08:31:00]RAPDU: 90 00 [08:31:00]wFMCommunicate OK [08:31:00]wFMCommunicate request_size=255 [08:31:00]MH_SAM_APDU [08:31:00]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 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 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 3D 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 1C 00 00 00 F4 03 04 00 C7 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 24 58 00 00 35 04 06 00 33 60 AE 45 [08:31:00]Write to MH i2c: E2 02 01 22 1E 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 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 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 3D 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 1C 00 00 00 F4 03 04 00 C7 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 24 58 00 00 35 04 06 00 33 60 AE 45 00 00 F9 [08:31:00]Write i2c OK [08:31:00]MH_I2C_Read... [08:31:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:00]Read from MH i2c: E2 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 03 00 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 03 00 22 1E 00 90 00 B4 [08:31:00]RAPDU: 90 00 [08:31:00]wFMCommunicate OK [08:31:00]wFMCommunicate request_size=7 [08:31:00]MH_SAM_APDU [08:31:00]CAPDU: 80 0D 02 02 02 4D AD [08:31:00]Write to MH i2c: E2 0A 00 23 1E 80 0D 02 02 02 00 4D AD 00 00 B9 [08:31:00]Write i2c OK [08:31:00]MH_I2C_Read... [08:31:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:00]Read from MH i2c: E2 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 03 00 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 03 00 23 1E 00 90 00 B5 [08:31:00]RAPDU: 90 00 [08:31:00]wFMCommunicate OK [08:31:00]wFMCommunicate request_size=4 [08:31:00]MH_SAM_APDU [08:31:00]CAPDU: 80 0D 03 02 [08:31:00]Write to MH i2c: E2 08 00 24 1E 80 0D 03 02 00 00 00 00 BD [08:31:00]Write i2c OK [08:31:00]MH_I2C_Read... [08:31:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:31:00]Read from MH i2c: E2 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 0B 00 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 0B 00 24 1E 00 28 15 88 2D DE 38 28 65 90 00 53 [08:31:00]RAPDU: 28 15 88 2D DE 38 28 65 90 00 [08:31:00]wFMCommunicate OK [08:31:00]SAM_PROTO_SignData done [08:31:00]FM_MakeSignedData done [08:31:00]CreateOFDProtocolMessage [08:31:00]wFMCommunicate request_size=4 [08:31:00]MH_SAM_APDU [08:31:00]CAPDU: 80 11 00 00 [08:31:00]Write to MH i2c: E2 08 00 25 1E 80 11 00 00 00 00 00 00 BD [08:31:00]Write i2c OK [08:31:00]MH_I2C_Read... [08:31:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:00]Read from MH i2c: E2 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 17 00 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: E2 17 00 25 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 17 [08:31:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:31:00]wFMCommunicate OK [08:31:00]CreateOFDProtocolMessage done [08:31:00]OFDSenderStorePacket 22564 [08:31:00]StoreOFDPacket docnum=22564 [08:31:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 69 A2 04 01 5F 2F 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 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 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 3D 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 1C 00 00 00 F4 03 04 00 C7 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 24 58 00 00 35 04 06 00 33 60 AE 45 4D AD 28 15 88 2D DE 38 28 65 [08:31:00]CheckFolder [08:31:00]dirname=/storage/ofd_packets [08:31:00]CheckFolder done [08:31:00]ProducePacketName [08:31:00]name=ofd_packets/00022564 [08:31:00]NVStorageSaveData ofd_packets/00022564 [08:31:00]File name is /storage/ofd_packets/00022564 [08:31:00]Write 298 bytes [08:31:00]NVStorageSaveData done [08:31:00]OFDSenderStorePacket done [08:31:00]KKMCreateOFDPacket done [08:31:00]NVStorageSaveData kkm_last_timestamp [08:31:00]File name is /storage/kkm_last_timestamp [08:31:00]Write 4 bytes [08:31:00]NVStorageSaveData done [08:31:00]ExternCall_PrintAddStr [08:31:00]wPrintStart [08:31:00]Write to MH i2c: 01 00 00 26 1E 44 [08:31:00]Write i2c OK [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: 01 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: 01 07 00 [08:31:00]MH_I2C_Read... [08:31:00]Read from MH i2c: 01 07 00 26 1E 00 00 00 00 00 FF 0F 59 [08:31:00]RasterBufferAndPrint [08:31:00]line Счет N : (1)2165370 [08:31:00]line ИÐÐ: 02508201610067 [08:31:00]line Контрольно-КаÑÑовый Чек [08:31:00]line ПРОДÐЖР[08:31:00]line ТРК (МРК, ГÐК) : 31 [08:31:00]line Товар: 2710194210 [08:31:00]line ДТ-К-5 [08:31:00]line 19.690 * 76.20 [08:31:00]line = 1500.38 [08:31:00]line ÐДС 12% ÐСП 1% [08:31:00]line > о реализуемом товаре [08:31:00]line ОКРУГЛЕÐИЕ: -0.38 [08:31:00]line ИТОГО: 1500.00 [08:31:00]line ВнеÑено: 1500.00 [08:31:00]line СДÐЧÐ: 0.00 [08:31:00]line ÐСП 1% : 13.28 [08:31:00]line ÐДС 12% : 159.33 [08:31:00]line Ðаличными: 1500.00 [08:31:00]line Безнал.: 0.00 [08:31:00]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:31:00]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:31:00]line СÐО: Общий режим [08:31:00]line Чек 28 26.09.2024 08:31 [08:31:00]line Смена: 232 ФФД: 1.0 [08:31:00]line ЗÐМ: 0300000061 [08:31:00]line РÐМ: 0000000000146243 [08:31:00]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:31:00]line ФМ: 0000000000959358 [08:31:00]line ФД: 22564 [08:31:00]line ФПД: 56490333654445 [08:31:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083103&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22564&fm=56490333654445&tin=02508201610067®Number=0000000000146243&sum=150000 [08:31:01]OFD Sender: Processing packet 22564 [packets to send 23, broken 22] [08:31:01]ProducePacketName [08:31:01]name=ofd_packets/00022564 [08:31:01]OFD Sender: To server: ‡•öpG, [08:31:01]CommunicateWithHost lk.salyk.kg:30040 [08:31:01]ConnectInit lk.salyk.kg [08:31:01]written 0, free lines is 4095 [08:31:01]Connected sock=10 [08:31:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 69 A2 04 01 5F 2F 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 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 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 3D 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 1C 00 00 00 F4 03 04 00 C7 1B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 24 58 00 00 35 04 06 00 33 60 AE 45 4D AD 28 15 88 2D DE 38 28 65 [08:31:01]Write to MH i2c: 01 00 00 51 1E 6F [08:31:01]Write i2c OK [08:31:01]MH_I2C_Read... [08:31:01]Read from MH i2c: 01 [08:31:01]MH_I2C_Read... [08:31:01]Read from MH i2c: 01 07 00 [08:31:01]MH_I2C_Read... [08:31:01]Read from MH i2c: 01 07 00 51 1E 00 00 00 00 00 F6 0C 78 [08:31:01]RasterBufferAndPrint [08:31:01]line [08:31:01]line [08:31:01]line [08:31:01]line [08:31:01]line [08:31:01]written 0, free lines is 3327 [08:31:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 3A 7F 47 00 73 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 24 58 00 00 F4 03 04 00 E7 C5 F4 66 B6 04 01 00 00 30 C6 BE AF 75 B1 FB 8A [08:31:01]CommunicateWithHost err = 0 [08:31:01]CheckOFDResponse [08:31:01]1017 (14) - 77093643461234 [08:31:01]1041 (16) - 0000000000959358 [08:31:01]1040 (4) - 22564 [08:31:01]1012 (4) - 26.09.2024 02:24 [08:31:01]1206 (1) - 0 [08:31:01]OFD Sender: Remove packet 22564 [08:31:01]ProducePacketName [08:31:01]name=ofd_packets/00022564 [08:31:01]NVStorageDeleteData [08:31:01]MH_Cut [08:31:01]Write to MH i2c: D1 01 00 58 1E 01 48 [08:31:01]Write i2c OK [08:31:01]MH_I2C_Read... [08:31:01]Read from MH i2c: D1 [08:31:01]MH_I2C_Read... [08:31:01]Read from MH i2c: D1 01 00 [08:31:01]MH_I2C_Read... [08:31:01]Read from MH i2c: D1 01 00 58 1E 00 47 [08:31:01]Write to MH i2c: 01 00 00 59 1E 77 [08:31:01]Write i2c OK [08:31:01]MH_I2C_Read... [08:31:02]OFD Sender: No OFD packet to send [08:31:02]*** Cut start [08:31:02]*** Partial cut [08:31:02]*** CUTSNS_PIN = 1 [08:31:02]*** CUTSNS_PIN = 0 [08:31:02]*** Brake cut motor [08:31:02]Read from MH i2c: 01 [08:31:02]MH_I2C_Read... [08:31:02]*** Stop cut motor [08:31:02]*** Cut end [08:31:02]Read from MH i2c: 01 07 00 [08:31:02]MH_I2C_Read... [08:31:02]Read from MH i2c: 01 07 00 59 1E 00 00 00 00 00 FF 0F 8C [08:31:02]process_action close_receipt done [08:31:02]requested_data is exist [08:31:02]produce_requested_data [08:31:02]requested_item fm.sn is exist - process it [08:31:02]wFMCommunicate request_size=4 [08:31:02]MH_SAM_APDU [08:31:02]CAPDU: 80 11 00 00 [08:31:02]Write to MH i2c: E2 08 00 5A 1E 80 11 00 00 00 00 00 00 F2 [08:31:02]Write i2c OK [08:31:02]MH_I2C_Read... [08:31:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:02]Read from MH i2c: E2 [08:31:02]MH_I2C_Read... [08:31:02]Read from MH i2c: E2 17 00 [08:31:02]MH_I2C_Read... [08:31:02]Read from MH i2c: E2 17 00 5A 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 4C [08:31:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:31:02]wFMCommunicate OK [08:31:02]requested_item fd.num is exist - process it [08:31:02]SAM_PROTO_GetFieldsCounters [08:31:02]wFMCommunicate request_size=4 [08:31:02]MH_SAM_APDU [08:31:02]CAPDU: 80 13 00 00 [08:31:02]Write to MH i2c: E2 08 00 5B 1E 80 13 00 00 00 00 00 00 F5 [08:31:02]Write i2c OK [08:31:02]MH_I2C_Read... [08:31:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:31:03]Read from MH i2c: E2 [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: E2 62 00 [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: E2 62 00 5B 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 24 58 00 00 0E 04 04 00 E8 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 D0 [08:31:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 24 58 00 00 0E 04 04 00 E8 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 [08:31:03]wFMCommunicate OK [08:31:03]SAM_PROTO_GetFieldsCounters done [08:31:03]requested_item shift.num is exist - process it [08:31:03]requested_item shift.opened is exist - process it [08:31:03]req_shift_opened [08:31:03]FM_GetShiftState [08:31:03]SAM_PROTO_GetShiftState [08:31:03]wFMCommunicate request_size=4 [08:31:03]MH_SAM_APDU [08:31:03]CAPDU: 80 13 01 00 [08:31:03]Write to MH i2c: E2 08 00 5C 1E 80 13 01 00 00 00 00 00 F7 [08:31:03]Write i2c OK [08:31:03]MH_I2C_Read... [08:31:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:03]Read from MH i2c: E2 [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: E2 0E 00 [08:31:03]MH_I2C_Read... [08:31:03]Read from MH i2c: E2 0E 00 5C 1E 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 B7 [08:31:03]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:31:03]wFMCommunicate OK [08:31:03]SAM_PROTO_GetShiftState done [08:31:03]FM_GetShiftState done [08:31:03]req_shift_opened done [08:31:03]requested_item shift.open_date is exist - process it [08:31:03]req_shift_open_date [08:31:03]req_shift_open_date done [08:31:03]produce_requested_data done [08:31:03]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22564,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:31:03]process_action_free close_receipt [08:31:03]json_value_free [08:31:03]json_value_free done [08:31:03]process_json_proto returns [08:31:03]Send response to host [08:31:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22564,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:31:03]free response buf [08:31:03]execute_script done [08:31:03]execute_script returns [08:31:03]free content buf [08:31:03]Sock 7.Close socket [08:31:03]Sock 7.Thread stoped [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:09]accept exits with 9 [08:32:09]New connection [08:32:09]New thread 3067583844 created [08:32:09]Thread 3067440484 joined [08:32:09]Waiting for new connection... [08:32:09] Sock 9.Parse request [08:32:09]Sock 9.Check first char [08:32:09]Sock 9.First char is OK [08:32:09]request: POST /json_proto HTTP/1.0 [08:32:09]Method: POST [08:32:09]URL: /json_proto [08:32:09]Method is POST - this is cgi request [08:32:09]url: /json_proto [08:32:09]query_string will be loaded in cgi processing [08:32:09]execute_cgi json_proto POST (null) [08:32:09]execute_cgi path=json_proto method=POST [08:32:09]POST find Content-Length [08:32:09]Host: 172.17.43.4:8080 [08:32:09]Content-Length: 678 [08:32:09]Content-Type: application/json [08:32:09] [08:32:09]POST finish read [08:32:09]Found Content-Length = 678 [08:32:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165372", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "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" ] } } [08:32:09]execute_script... [08:32:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165372", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "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" ] } } [08:32:09]POST & json_proto [08:32:09]process_json_proto [08:32:09]json parsed OK: [08:32:09]protocol is kg_v1.0 [08:32:09]action value=close_receipt [08:32:09]process_action close_receipt [08:32:09]cmd_close_receipt [08:32:09]MH_GetDate [08:32:09]Write to MH i2c: F0 00 00 5D 1E 6A [08:32:09]Write i2c OK [08:32:09]MH_I2C_Read... [08:32:09]Read from MH i2c: F0 [08:32:09]MH_I2C_Read... [08:32:09]Read from MH i2c: F0 09 00 [08:32:09]MH_I2C_Read... [08:32:09]Read from MH i2c: F0 09 00 5D 1E 00 0D 1C F5 66 02 BF CF 66 ED [08:32:09]GetLastDocTimeStamp 1727339463 [08:32:09]current date 1727339533 [08:32:09]FM_GetShiftState [08:32:09]SAM_PROTO_GetShiftState [08:32:09]wFMCommunicate request_size=4 [08:32:09]MH_SAM_APDU [08:32:09]CAPDU: 80 13 01 00 [08:32:09]Write to MH i2c: E2 08 00 5E 1E 80 13 01 00 00 00 00 00 F9 [08:32:09]Write i2c OK [08:32:09]MH_I2C_Read... [08:32:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:09]Read from MH i2c: E2 [08:32:09]MH_I2C_Read... [08:32:09]Read from MH i2c: E2 0E 00 [08:32:09]MH_I2C_Read... [08:32:09]Read from MH i2c: E2 0E 00 5E 1E 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 B9 [08:32:09]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:32:09]wFMCommunicate OK [08:32:09]SAM_PROTO_GetShiftState done [08:32:09]FM_GetShiftState done [08:32:09]opened in 1727309492 [08:32:09]opened+sec_in_day 1727395892 [08:32:09]quantity*price = 50010 [08:32:09]sum+1 = 50012 [08:32:09]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.11 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.11 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 29 26.09.2024 08:32 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22565 ФПД: 190302307848877 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083213&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22565&fm=190302307848877&tin=02508201610067®Number=0000000000146243&sum=50000 [08:32:10]StoreToDocumentArchive [08:32:10]shift 232 fd 22565 [08:32:10]save to /storage/0232/doc_00022565 [08:32:10]save last doc name /storage/0232/doc_00022565 to /storage/kkm_last_doc_name [08:32:10]save OK [08:32:10]Clear old archive folders... [08:32:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:32:10]tlvbuf is 00261030 [08:32:10]SAM_PROTO_ClearQueue [08:32:10]wFMCommunicate request_size=4 [08:32:10]MH_SAM_APDU [08:32:10]CAPDU: 80 09 00 00 [08:32:10]Write to MH i2c: E2 08 00 6B 1E 80 09 00 00 00 00 00 00 FB [08:32:10]Write i2c OK [08:32:10]MH_I2C_Read... [08:32:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:32:10]Read from MH i2c: E2 [08:32:10]MH_I2C_Read... [08:32:10]Read from MH i2c: E2 03 00 [08:32:10]MH_I2C_Read... [08:32:10]Read from MH i2c: E2 03 00 6B 1E 00 90 00 FD [08:32:10]RAPDU: 90 00 [08:32:10]wFMCommunicate OK [08:32:10]SAM_PROTO_ClearQueue done [08:32:10]KKMCreateOFDPacket [08:32:10]OFDProtocolAddRootSTLVToBuf [08:32:10]FM_MakeSignedData [08:32:10]FM_MakeSignedData [08:32:10]SAM_PROTO_SignData [08:32:10]wFMCommunicate request_size=4 [08:32:10]MH_SAM_APDU [08:32:10]CAPDU: 80 0D 01 02 [08:32:10]Write to MH i2c: E2 08 00 6C 1E 80 0D 01 02 00 00 00 00 03 [08:32:10]Write i2c OK [08:32:10]MH_I2C_Read... [08:32:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:32:10]Read from MH i2c: E2 [08:32:10]MH_I2C_Read... [08:32:10]Read from MH i2c: E2 03 00 [08:32:10]MH_I2C_Read... [08:32:10]Read from MH i2c: E2 03 00 6C 1E 00 90 00 FE [08:32:10]RAPDU: 90 00 [08:32:10]wFMCommunicate OK [08:32:10]wFMCommunicate request_size=255 [08:32:10]MH_SAM_APDU [08:32: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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 0D 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 25 58 00 00 35 04 06 00 AD [08:32:10]Write to MH i2c: E2 02 01 6D 1E 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 0D 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 25 58 00 00 35 04 06 00 AD 00 00 1F [08:32:10]Write i2c OK [08:32:10]MH_I2C_Read... [08:32:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:10]Read from MH i2c: E2 [08:32:10]MH_I2C_Read... [08:32:10]Read from MH i2c: E2 03 00 [08:32:10]MH_I2C_Read... [08:32:10]Read from MH i2c: E2 03 00 6D 1E 00 90 00 FF [08:32:10]RAPDU: 90 00 [08:32:10]wFMCommunicate OK [08:32:10]wFMCommunicate request_size=10 [08:32:10]MH_SAM_APDU [08:32:10]CAPDU: 80 0D 02 02 05 14 35 75 92 AD [08:32:10]Write to MH i2c: E2 0D 00 6E 1E 80 0D 02 02 05 00 14 35 75 92 AD 00 00 0D [08:32:10]Write i2c OK [08:32:10]MH_I2C_Read... [08:32:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:10]Read from MH i2c: E2 [08:32:10]MH_I2C_Read... [08:32:10]Read from MH i2c: E2 03 00 [08:32:10]MH_I2C_Read... [08:32:10]Read from MH i2c: E2 03 00 6E 1E 00 90 00 00 [08:32:10]RAPDU: 90 00 [08:32:10]wFMCommunicate OK [08:32:10]wFMCommunicate request_size=4 [08:32:10]MH_SAM_APDU [08:32:10]CAPDU: 80 0D 03 02 [08:32:10]Write to MH i2c: E2 08 00 6F 1E 80 0D 03 02 00 00 00 00 08 [08:32:10]Write i2c OK [08:32:10]MH_I2C_Read... [08:32:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:32:11]Read from MH i2c: E2 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: E2 0B 00 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: E2 0B 00 6F 1E 00 7E 5A 9F 18 9B 31 49 23 90 00 D0 [08:32:11]RAPDU: 7E 5A 9F 18 9B 31 49 23 90 00 [08:32:11]wFMCommunicate OK [08:32:11]SAM_PROTO_SignData done [08:32:11]FM_MakeSignedData done [08:32:11]CreateOFDProtocolMessage [08:32:11]wFMCommunicate request_size=4 [08:32:11]MH_SAM_APDU [08:32:11]CAPDU: 80 11 00 00 [08:32:11]Write to MH i2c: E2 08 00 70 1E 80 11 00 00 00 00 00 00 08 [08:32:11]Write i2c OK [08:32:11]MH_I2C_Read... [08:32:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:11]Read from MH i2c: E2 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: E2 17 00 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: E2 17 00 70 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 62 [08:32:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:32:11]wFMCommunicate OK [08:32:11]CreateOFDProtocolMessage done [08:32:11]OFDSenderStorePacket 22565 [08:32:11]StoreOFDPacket docnum=22565 [08:32:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 2E 68 07 01 AF 2F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 0D 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 25 58 00 00 35 04 06 00 AD 14 35 75 92 AD 7E 5A 9F 18 9B 31 49 23 [08:32:11]CheckFolder [08:32:11]dirname=/storage/ofd_packets [08:32:11]CheckFolder done [08:32:11]ProducePacketName [08:32:11]name=ofd_packets/00022565 [08:32:11]NVStorageSaveData ofd_packets/00022565 [08:32:11]File name is /storage/ofd_packets/00022565 [08:32:11]Write 301 bytes [08:32:11]NVStorageSaveData done [08:32:11]OFDSenderStorePacket done [08:32:11]KKMCreateOFDPacket done [08:32:11]NVStorageSaveData kkm_last_timestamp [08:32:11]File name is /storage/kkm_last_timestamp [08:32:11]Write 4 bytes [08:32:11]NVStorageSaveData done [08:32:11]ExternCall_PrintAddStr [08:32:11]wPrintStart [08:32:11]Write to MH i2c: 01 00 00 71 1E 8F [08:32:11]Write i2c OK [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: 01 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: 01 07 00 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: 01 07 00 71 1E 00 00 00 00 00 FF 0F A4 [08:32:11]RasterBufferAndPrint [08:32:11]line Счет N : (1)2165372 [08:32:11]line ИÐÐ: 02508201610067 [08:32:11]line Контрольно-КаÑÑовый Чек [08:32:11]line ПРОДÐЖР[08:32:11]line ТРК (МРК, ГÐК) : 23 [08:32:11]line Товар: 2710124500 [08:32:11]line Ðи-95-К-5 [08:32:11]line 6.740 * 74.20 [08:32:11]line = 500.11 [08:32:11]line ÐДС 12% ÐСП 1% [08:32:11]line > о реализуемом товаре [08:32:11]line ОКРУГЛЕÐИЕ: -0.11 [08:32:11]line ИТОГО: 500.00 [08:32:11]line ВнеÑено: 500.00 [08:32:11]line СДÐЧÐ: 0.00 [08:32:11]line ÐСП 1% : 4.43 [08:32:11]line ÐДС 12% : 53.11 [08:32:11]line Ðаличными: 500.00 [08:32:11]line Безнал.: 0.00 [08:32:11]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:32:11]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:32:11]line СÐО: Общий режим [08:32:11]line Чек 29 26.09.2024 08:32 [08:32:11]line Смена: 232 ФФД: 1.0 [08:32:11]line ЗÐМ: 0300000061 [08:32:11]line РÐМ: 0000000000146243 [08:32:11]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:32:11]line ФМ: 0000000000959358 [08:32:11]line ФД: 22565 [08:32:11]line ФПД: 190302307848877 [08:32:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083213&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22565&fm=190302307848877&tin=02508201610067®Number=0000000000146243&sum=50000 [08:32:11]OFD Sender: Processing packet 22565 [packets to send 23, broken 22] [08:32:11]ProducePacketName [08:32:11]name=ofd_packets/00022565 [08:32:11]OFD Sender: To server: ‡•öpG, [08:32:11]CommunicateWithHost lk.salyk.kg:30040 [08:32:11]ConnectInit lk.salyk.kg [08:32:11]written 0, free lines is 4095 [08:32:11]Connected sock=10 [08:32:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 2E 68 07 01 AF 2F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 0D 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 25 58 00 00 35 04 06 00 AD 14 35 75 92 AD 7E 5A 9F 18 9B 31 49 23 [08:32:11]Write to MH i2c: 01 00 00 9C 1E BA [08:32:11]Write i2c OK [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: 01 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: 01 07 00 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: 01 07 00 9C 1E 00 00 00 00 00 EC 0C B9 [08:32:11]RasterBufferAndPrint [08:32:11]line [08:32:11]line [08:32:11]line [08:32:11]line [08:32:11]line [08:32:11]written 0, free lines is 3314 [08:32:11]MH_Cut [08:32:11]Write to MH i2c: D1 01 00 A3 1E 01 93 [08:32:11]Write i2c OK [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: D1 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: D1 01 00 [08:32:11]MH_I2C_Read... [08:32:11]Read from MH i2c: D1 01 00 A3 1E 00 92 [08:32:11]Write to MH i2c: 01 00 00 A4 1E C2 [08:32:11]Write i2c OK [08:32:11]MH_I2C_Read... [08:32:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 E6 30 47 00 32 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 25 58 00 00 F4 03 04 00 2D C6 F4 66 B6 04 01 00 00 5C FE 9C FF 4F A8 CE CB [08:32:11]CommunicateWithHost err = 0 [08:32:11]CheckOFDResponse [08:32:11]1017 (14) - 77093643461234 [08:32:11]1041 (16) - 0000000000959358 [08:32:11]1040 (4) - 22565 [08:32:11]1012 (4) - 26.09.2024 02:25 [08:32:11]1206 (1) - 0 [08:32:11]OFD Sender: Remove packet 22565 [08:32:11]ProducePacketName [08:32:11]name=ofd_packets/00022565 [08:32:11]NVStorageDeleteData [08:32:12]OFD Sender: No OFD packet to send [08:32:12]*** Cut start [08:32:12]*** Partial cut [08:32:12]*** CUTSNS_PIN = 1 [08:32:12]*** CUTSNS_PIN = 0 [08:32:12]*** Brake cut motor [08:32:13]Read from MH i2c: 01 [08:32:13]MH_I2C_Read... [08:32:13]*** Stop cut motor [08:32:13]*** Cut end [08:32:13]Read from MH i2c: 01 07 00 [08:32:13]MH_I2C_Read... [08:32:13]Read from MH i2c: 01 07 00 A4 1E 00 00 00 00 00 FF 0F D7 [08:32:13]process_action close_receipt done [08:32:13]requested_data is exist [08:32:13]produce_requested_data [08:32:13]requested_item fm.sn is exist - process it [08:32:13]wFMCommunicate request_size=4 [08:32:13]MH_SAM_APDU [08:32:13]CAPDU: 80 11 00 00 [08:32:13]Write to MH i2c: E2 08 00 A5 1E 80 11 00 00 00 00 00 00 3D [08:32:13]Write i2c OK [08:32:13]MH_I2C_Read... [08:32:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:13]Read from MH i2c: E2 [08:32:13]MH_I2C_Read... [08:32:13]Read from MH i2c: E2 17 00 [08:32:13]MH_I2C_Read... [08:32:13]Read from MH i2c: E2 17 00 A5 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 97 [08:32:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:32:13]wFMCommunicate OK [08:32:13]requested_item fd.num is exist - process it [08:32:13]SAM_PROTO_GetFieldsCounters [08:32:13]wFMCommunicate request_size=4 [08:32:13]MH_SAM_APDU [08:32:13]CAPDU: 80 13 00 00 [08:32:13]Write to MH i2c: E2 08 00 A6 1E 80 13 00 00 00 00 00 00 40 [08:32:13]Write i2c OK [08:32:13]MH_I2C_Read... [08:32:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:32:13]Read from MH i2c: E2 [08:32:13]MH_I2C_Read... [08:32:13]Read from MH i2c: E2 62 00 [08:32:13]MH_I2C_Read... [08:32:13]Read from MH i2c: E2 62 00 A6 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 25 58 00 00 0E 04 04 00 E8 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 1F [08:32:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 25 58 00 00 0E 04 04 00 E8 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 [08:32:13]wFMCommunicate OK [08:32:13]SAM_PROTO_GetFieldsCounters done [08:32:13]requested_item shift.num is exist - process it [08:32:13]requested_item shift.opened is exist - process it [08:32:13]req_shift_opened [08:32:13]FM_GetShiftState [08:32:13]SAM_PROTO_GetShiftState [08:32:13]wFMCommunicate request_size=4 [08:32:13]MH_SAM_APDU [08:32:13]CAPDU: 80 13 01 00 [08:32:13]Write to MH i2c: E2 08 00 A7 1E 80 13 01 00 00 00 00 00 42 [08:32:13]Write i2c OK [08:32:13]MH_I2C_Read... [08:32:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:13]Read from MH i2c: E2 [08:32:13]MH_I2C_Read... [08:32:13]Read from MH i2c: E2 0E 00 [08:32:13]MH_I2C_Read... [08:32:13]Read from MH i2c: E2 0E 00 A7 1E 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 02 [08:32:13]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:32:13]wFMCommunicate OK [08:32:13]SAM_PROTO_GetShiftState done [08:32:13]FM_GetShiftState done [08:32:13]req_shift_opened done [08:32:13]requested_item shift.open_date is exist - process it [08:32:13]req_shift_open_date [08:32:13]req_shift_open_date done [08:32:13]produce_requested_data done [08:32:13]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22565,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:32:13]process_action_free close_receipt [08:32:13]json_value_free [08:32:13]json_value_free done [08:32:13]process_json_proto returns [08:32:13]Send response to host [08:32:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22565,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:32:13]free response buf [08:32:13]execute_script done [08:32:13]execute_script returns [08:32:13]free content buf [08:32:13]Sock 9.Close socket [08:32:13]Sock 9.Thread stoped [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:39]accept exits with 7 [08:32:39]New connection [08:32:39]New thread 3067440484 created [08:32:39]Thread 3067583844 joined [08:32:39]Waiting for new connection... [08:32:39] Sock 7.Parse request [08:32:39]Sock 7.Check first char [08:32:39]Sock 7.First char is OK [08:32:39]request: POST /json_proto HTTP/1.0 [08:32:39]Method: POST [08:32:39]URL: /json_proto [08:32:39]Method is POST - this is cgi request [08:32:39]url: /json_proto [08:32:39]query_string will be loaded in cgi processing [08:32:39]execute_cgi json_proto POST (null) [08:32:39]execute_cgi path=json_proto method=POST [08:32:39]POST find Content-Length [08:32:39]Host: 172.17.43.4:8080 [08:32:39]Content-Length: 678 [08:32:39]Content-Type: application/json [08:32:39] [08:32:39]POST finish read [08:32:39]Found Content-Length = 678 [08:32:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165373", "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" : 67.80, "quantity" : 6.050, "sum" : 410.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 410.00, "total" : 410.00, "payments": [ { "type": 0, "sum" : 410.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:32:39]execute_script... [08:32: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)2165373", "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" : 67.80, "quantity" : 6.050, "sum" : 410.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 410.00, "total" : 410.00, "payments": [ { "type": 0, "sum" : 410.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:32:39]POST & json_proto [08:32:39]process_json_proto [08:32:39]json parsed OK: [08:32:39]protocol is kg_v1.0 [08:32:39]action value=close_receipt [08:32:39]process_action close_receipt [08:32:39]cmd_close_receipt [08:32:39]MH_GetDate [08:32:39]Write to MH i2c: F0 00 00 A8 1E B5 [08:32:39]Write i2c OK [08:32:39]MH_I2C_Read... [08:32:39]Read from MH i2c: F0 [08:32:39]MH_I2C_Read... [08:32:39]Read from MH i2c: F0 09 00 [08:32:39]MH_I2C_Read... [08:32:39]Read from MH i2c: F0 09 00 A8 1E 00 2B 1C F5 66 02 BF CF 66 56 [08:32:39]GetLastDocTimeStamp 1727339533 [08:32:39]current date 1727339563 [08:32:39]FM_GetShiftState [08:32:39]SAM_PROTO_GetShiftState [08:32:39]wFMCommunicate request_size=4 [08:32:39]MH_SAM_APDU [08:32:39]CAPDU: 80 13 01 00 [08:32:39]Write to MH i2c: E2 08 00 A9 1E 80 13 01 00 00 00 00 00 44 [08:32:39]Write i2c OK [08:32:39]MH_I2C_Read... [08:32:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:39]Read from MH i2c: E2 [08:32:39]MH_I2C_Read... [08:32:39]Read from MH i2c: E2 0E 00 [08:32:39]MH_I2C_Read... [08:32:39]Read from MH i2c: E2 0E 00 A9 1E 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 04 [08:32:39]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:32:39]wFMCommunicate OK [08:32:39]SAM_PROTO_GetShiftState done [08:32:39]FM_GetShiftState done [08:32:39]opened in 1727309492 [08:32:39]opened+sec_in_day 1727395892 [08:32:39]quantity*price = 41019 [08:32:39]sum+1 = 41020 [08:32:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.19 ИТОГО: 410.00 ВнеÑено: 410.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.63 ÐДС 12% : 43.56 Ðаличными: 410.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 30 26.09.2024 08:32 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22566 ФПД: 145812523802076 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083243&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22566&fm=145812523802076&tin=02508201610067®Number=0000000000146243&sum=41000 [08:32:40]StoreToDocumentArchive [08:32:40]shift 232 fd 22566 [08:32:40]save to /storage/0232/doc_00022566 [08:32:40]save last doc name /storage/0232/doc_00022566 to /storage/kkm_last_doc_name [08:32:40]save OK [08:32:40]Clear old archive folders... [08:32:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:32:40]tlvbuf is 0025B680 [08:32:40]SAM_PROTO_ClearQueue [08:32:40]wFMCommunicate request_size=4 [08:32:40]MH_SAM_APDU [08:32:40]CAPDU: 80 09 00 00 [08:32:40]Write to MH i2c: E2 08 00 B6 1E 80 09 00 00 00 00 00 00 46 [08:32:40]Write i2c OK [08:32:40]MH_I2C_Read... [08:32:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:32:40]Read from MH i2c: E2 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 03 00 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 03 00 B6 1E 00 90 00 48 [08:32:40]RAPDU: 90 00 [08:32:40]wFMCommunicate OK [08:32:40]SAM_PROTO_ClearQueue done [08:32:40]KKMCreateOFDPacket [08:32:40]OFDProtocolAddRootSTLVToBuf [08:32:40]FM_MakeSignedData [08:32:40]FM_MakeSignedData [08:32:40]SAM_PROTO_SignData [08:32:40]wFMCommunicate request_size=4 [08:32:40]MH_SAM_APDU [08:32:40]CAPDU: 80 0D 01 02 [08:32:40]Write to MH i2c: E2 08 00 B7 1E 80 0D 01 02 00 00 00 00 4E [08:32:40]Write i2c OK [08:32:40]MH_I2C_Read... [08:32:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:32:40]Read from MH i2c: E2 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 03 00 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 03 00 B7 1E 00 90 00 49 [08:32:40]RAPDU: 90 00 [08:32:40]wFMCommunicate OK [08:32:40]wFMCommunicate request_size=255 [08:32:40]MH_SAM_APDU [08:32: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 A2 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 3B A0 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 11 00 00 00 00 07 04 06 00 28 A0 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 2B 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 26 58 00 00 35 04 06 00 84 [08:32:40]Write to MH i2c: E2 02 01 B8 1E 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 A2 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 3B A0 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 11 00 00 00 00 07 04 06 00 28 A0 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 2B 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 26 58 00 00 35 04 06 00 84 00 00 3F [08:32:40]Write i2c OK [08:32:40]MH_I2C_Read... [08:32:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:40]Read from MH i2c: E2 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 03 00 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 03 00 B8 1E 00 90 00 4A [08:32:40]RAPDU: 90 00 [08:32:40]wFMCommunicate OK [08:32:40]wFMCommunicate request_size=10 [08:32:40]MH_SAM_APDU [08:32:40]CAPDU: 80 0D 02 02 05 9D 9F AF 5D DC [08:32:40]Write to MH i2c: E2 0D 00 B9 1E 80 0D 02 02 05 00 9D 9F AF 5D DC 00 00 7F [08:32:40]Write i2c OK [08:32:40]MH_I2C_Read... [08:32:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:32:40]Read from MH i2c: E2 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 03 00 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 03 00 B9 1E 00 90 00 4B [08:32:40]RAPDU: 90 00 [08:32:40]wFMCommunicate OK [08:32:40]wFMCommunicate request_size=4 [08:32:40]MH_SAM_APDU [08:32:40]CAPDU: 80 0D 03 02 [08:32:40]Write to MH i2c: E2 08 00 BA 1E 80 0D 03 02 00 00 00 00 53 [08:32:40]Write i2c OK [08:32:40]MH_I2C_Read... [08:32:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:32:40]Read from MH i2c: E2 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 0B 00 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 0B 00 BA 1E 00 86 E1 0B A1 39 85 43 08 90 00 70 [08:32:40]RAPDU: 86 E1 0B A1 39 85 43 08 90 00 [08:32:40]wFMCommunicate OK [08:32:40]SAM_PROTO_SignData done [08:32:40]FM_MakeSignedData done [08:32:40]CreateOFDProtocolMessage [08:32:40]wFMCommunicate request_size=4 [08:32:40]MH_SAM_APDU [08:32:40]CAPDU: 80 11 00 00 [08:32:40]Write to MH i2c: E2 08 00 BB 1E 80 11 00 00 00 00 00 00 53 [08:32:40]Write i2c OK [08:32:40]MH_I2C_Read... [08:32:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:40]Read from MH i2c: E2 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 17 00 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: E2 17 00 BB 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 AD [08:32:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:32:40]wFMCommunicate OK [08:32:40]CreateOFDProtocolMessage done [08:32:40]OFDSenderStorePacket 22566 [08:32:40]StoreOFDPacket docnum=22566 [08:32:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 E9 12 07 01 41 66 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 A2 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 3B A0 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 11 00 00 00 00 07 04 06 00 28 A0 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 2B 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 26 58 00 00 35 04 06 00 84 9D 9F AF 5D DC 86 E1 0B A1 39 85 43 08 [08:32:40]CheckFolder [08:32:40]dirname=/storage/ofd_packets [08:32:40]CheckFolder done [08:32:40]ProducePacketName [08:32:40]name=ofd_packets/00022566 [08:32:40]NVStorageSaveData ofd_packets/00022566 [08:32:40]File name is /storage/ofd_packets/00022566 [08:32:40]Write 301 bytes [08:32:40]NVStorageSaveData done [08:32:40]OFDSenderStorePacket done [08:32:40]KKMCreateOFDPacket done [08:32:40]NVStorageSaveData kkm_last_timestamp [08:32:40]File name is /storage/kkm_last_timestamp [08:32:40]Write 4 bytes [08:32:40]NVStorageSaveData done [08:32:40]ExternCall_PrintAddStr [08:32:40]wPrintStart [08:32:40]Write to MH i2c: 01 00 00 BC 1E DA [08:32:40]Write i2c OK [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: 01 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: 01 07 00 [08:32:40]MH_I2C_Read... [08:32:40]Read from MH i2c: 01 07 00 BC 1E 00 00 00 00 00 FF 0F EF [08:32:40]RasterBufferAndPrint [08:32:40]line Счет N : (1)2165373 [08:32:40]line ИÐÐ: 02508201610067 [08:32:40]line Контрольно-КаÑÑовый Чек [08:32:40]line ПРОДÐЖР[08:32:40]line ТРК (МРК, ГÐК) : 12 [08:32:40]line Товар: 2710124130 [08:32:40]line Ðи-92-К-5 [08:32:40]line 6.050 * 67.80 [08:32:40]line = 410.19 [08:32:40]line ÐДС 12% ÐСП 1% [08:32:40]line > о реализуемом товаре [08:32:40]line ОКРУГЛЕÐИЕ: -0.19 [08:32:40]line ИТОГО: 410.00 [08:32:40]line ВнеÑено: 410.00 [08:32:40]line СДÐЧÐ: 0.00 [08:32:40]line ÐСП 1% : 3.63 [08:32:40]line ÐДС 12% : 43.56 [08:32:40]line Ðаличными: 410.00 [08:32:40]line Безнал.: 0.00 [08:32:40]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:32:40]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:32:40]line СÐО: Общий режим [08:32:40]line Чек 30 26.09.2024 08:32 [08:32:40]line Смена: 232 ФФД: 1.0 [08:32:40]line ЗÐМ: 0300000061 [08:32:40]line РÐМ: 0000000000146243 [08:32:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:32:40]line ФМ: 0000000000959358 [08:32:40]line ФД: 22566 [08:32:40]line ФПД: 145812523802076 [08:32:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083243&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22566&fm=145812523802076&tin=02508201610067®Number=0000000000146243&sum=41000 [08:32:41]OFD Sender: Processing packet 22566 [packets to send 23, broken 22] [08:32:41]ProducePacketName [08:32:41]name=ofd_packets/00022566 [08:32:41]OFD Sender: To server: ‡•öpG, [08:32:41]CommunicateWithHost lk.salyk.kg:30040 [08:32:41]ConnectInit lk.salyk.kg [08:32:41]written 0, free lines is 4095 [08:32:41]Connected sock=10 [08:32:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 E9 12 07 01 41 66 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 A2 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 3B A0 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 A0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 11 00 00 00 00 07 04 06 00 28 A0 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 2B 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 26 58 00 00 35 04 06 00 84 9D 9F AF 5D DC 86 E1 0B A1 39 85 43 08 [08:32:41]Write to MH i2c: 01 00 00 E7 1E 05 [08:32:41]Write i2c OK [08:32:41]MH_I2C_Read... [08:32:41]Read from MH i2c: 01 [08:32:41]MH_I2C_Read... [08:32:41]Read from MH i2c: 01 07 00 [08:32:41]MH_I2C_Read... [08:32:41]Read from MH i2c: 01 07 00 E7 1E 00 00 00 00 00 F9 0C 11 [08:32:41]RasterBufferAndPrint [08:32:41]line [08:32:41]line [08:32:41]line [08:32:41]line [08:32:41]line [08:32:41]written 0, free lines is 3328 [08:32:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 CB 7B 47 00 7A 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 26 58 00 00 F4 03 04 00 4B C6 F4 66 B6 04 01 00 00 47 B3 88 A9 BD 4B EF AF [08:32:41]CommunicateWithHost err = 0 [08:32:41]CheckOFDResponse [08:32:41]1017 (14) - 77093643461234 [08:32:41]1041 (16) - 0000000000959358 [08:32:41]1040 (4) - 22566 [08:32:41]1012 (4) - 26.09.2024 02:26 [08:32:41]1206 (1) - 0 [08:32:41]OFD Sender: Remove packet 22566 [08:32:41]ProducePacketName [08:32:41]name=ofd_packets/00022566 [08:32:41]NVStorageDeleteData [08:32:41]MH_Cut [08:32:41]Write to MH i2c: D1 01 00 EE 1E 01 DE [08:32:41]Write i2c OK [08:32:41]MH_I2C_Read... [08:32:41]Read from MH i2c: D1 [08:32:41]MH_I2C_Read... [08:32:41]Read from MH i2c: D1 01 00 [08:32:41]MH_I2C_Read... [08:32:41]Read from MH i2c: D1 01 00 EE 1E 00 DD [08:32:41]Write to MH i2c: 01 00 00 EF 1E 0D [08:32:41]Write i2c OK [08:32:41]MH_I2C_Read... [08:32:42]OFD Sender: No OFD packet to send [08:32:42]*** Cut start [08:32:42]*** Partial cut [08:32:42]*** CUTSNS_PIN = 1 [08:32:42]*** CUTSNS_PIN = 0 [08:32:42]*** Brake cut motor [08:32:42]Read from MH i2c: 01 [08:32:42]MH_I2C_Read... [08:32:42]*** Stop cut motor [08:32:42]*** Cut end [08:32:42]Read from MH i2c: 01 07 00 [08:32:42]MH_I2C_Read... [08:32:42]Read from MH i2c: 01 07 00 EF 1E 00 00 00 00 00 FF 0F 22 [08:32:42]process_action close_receipt done [08:32:42]requested_data is exist [08:32:42]produce_requested_data [08:32:42]requested_item fm.sn is exist - process it [08:32:42]wFMCommunicate request_size=4 [08:32:42]MH_SAM_APDU [08:32:42]CAPDU: 80 11 00 00 [08:32:42]Write to MH i2c: E2 08 00 F0 1E 80 11 00 00 00 00 00 00 88 [08:32:42]Write i2c OK [08:32:42]MH_I2C_Read... [08:32:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:32:42]Read from MH i2c: E2 [08:32:42]MH_I2C_Read... [08:32:42]Read from MH i2c: E2 17 00 [08:32:42]MH_I2C_Read... [08:32:42]Read from MH i2c: E2 17 00 F0 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E2 [08:32:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:32:42]wFMCommunicate OK [08:32:42]requested_item fd.num is exist - process it [08:32:42]SAM_PROTO_GetFieldsCounters [08:32:42]wFMCommunicate request_size=4 [08:32:42]MH_SAM_APDU [08:32:42]CAPDU: 80 13 00 00 [08:32:42]Write to MH i2c: E2 08 00 F1 1E 80 13 00 00 00 00 00 00 8B [08:32:42]Write i2c OK [08:32:42]MH_I2C_Read... [08:32:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:32:42]Read from MH i2c: E2 [08:32:42]MH_I2C_Read... [08:32:42]Read from MH i2c: E2 62 00 [08:32:42]MH_I2C_Read... [08:32:42]Read from MH i2c: E2 62 00 F1 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 26 58 00 00 0E 04 04 00 E8 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 6E [08:32:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 26 58 00 00 0E 04 04 00 E8 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 [08:32:43]wFMCommunicate OK [08:32:43]SAM_PROTO_GetFieldsCounters done [08:32:43]requested_item shift.num is exist - process it [08:32:43]requested_item shift.opened is exist - process it [08:32:43]req_shift_opened [08:32:43]FM_GetShiftState [08:32:43]SAM_PROTO_GetShiftState [08:32:43]wFMCommunicate request_size=4 [08:32:43]MH_SAM_APDU [08:32:43]CAPDU: 80 13 01 00 [08:32:43]Write to MH i2c: E2 08 00 F2 1E 80 13 01 00 00 00 00 00 8D [08:32:43]Write i2c OK [08:32:43]MH_I2C_Read... [08:32:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:32:43]Read from MH i2c: E2 [08:32:43]MH_I2C_Read... [08:32:43]Read from MH i2c: E2 0E 00 [08:32:43]MH_I2C_Read... [08:32:43]Read from MH i2c: E2 0E 00 F2 1E 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 4D [08:32:43]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:32:43]wFMCommunicate OK [08:32:43]SAM_PROTO_GetShiftState done [08:32:43]FM_GetShiftState done [08:32:43]req_shift_opened done [08:32:43]requested_item shift.open_date is exist - process it [08:32:43]req_shift_open_date [08:32:43]req_shift_open_date done [08:32:43]produce_requested_data done [08:32:43]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22566,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:32:43]process_action_free close_receipt [08:32:43]json_value_free [08:32:43]json_value_free done [08:32:43]process_json_proto returns [08:32:43]Send response to host [08:32:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22566,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:32:43]free response buf [08:32:43]execute_script done [08:32:43]execute_script returns [08:32:43]free content buf [08:32:43]Sock 7.Close socket [08:32:43]Sock 7.Thread stoped [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:43]accept exits with 9 [08:34:43]New connection [08:34:43]New thread 3067583844 created [08:34:43]Thread 3067440484 joined [08:34:43]Waiting for new connection... [08:34:43] Sock 9.Parse request [08:34:43]Sock 9.Check first char [08:34:43]Sock 9.First char is OK [08:34:43]request: POST /json_proto HTTP/1.0 [08:34:43]Method: POST [08:34:43]URL: /json_proto [08:34:43]Method is POST - this is cgi request [08:34:43]url: /json_proto [08:34:43]query_string will be loaded in cgi processing [08:34:43]execute_cgi json_proto POST (null) [08:34:43]execute_cgi path=json_proto method=POST [08:34:43]POST find Content-Length [08:34:43]Host: 172.17.43.4:8080 [08:34:43]Content-Length: 678 [08:34:43]Content-Type: application/json [08:34:43] [08:34:43]POST finish read [08:34:43]Found Content-Length = 678 [08:34:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165371", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 2.660, "sum" : 180.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 180.00, "total" : 180.00, "payments": [ { "type": 0, "sum" : 180.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:34:43]execute_script... [08:34:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165371", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 2.660, "sum" : 180.35, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 180.00, "total" : 180.00, "payments": [ { "type": 0, "sum" : 180.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:34:43]POST & json_proto [08:34:43]process_json_proto [08:34:43]json parsed OK: [08:34:43]protocol is kg_v1.0 [08:34:43]action value=close_receipt [08:34:43]process_action close_receipt [08:34:43]cmd_close_receipt [08:34:43]MH_GetDate [08:34:43]Write to MH i2c: F0 00 00 F3 1E 00 [08:34:43]Write i2c OK [08:34:43]MH_I2C_Read... [08:34:43]Read from MH i2c: F0 [08:34:43]MH_I2C_Read... [08:34:43]Read from MH i2c: F0 09 00 [08:34:43]MH_I2C_Read... [08:34:43]Read from MH i2c: F0 09 00 F3 1E 00 A7 1C F5 66 02 BF CF 66 1D [08:34:43]GetLastDocTimeStamp 1727339563 [08:34:43]current date 1727339687 [08:34:43]FM_GetShiftState [08:34:43]SAM_PROTO_GetShiftState [08:34:43]wFMCommunicate request_size=4 [08:34:43]MH_SAM_APDU [08:34:43]CAPDU: 80 13 01 00 [08:34:43]Write to MH i2c: E2 08 00 F4 1E 80 13 01 00 00 00 00 00 8F [08:34:43]Write i2c OK [08:34:43]MH_I2C_Read... [08:34:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:34:43]Read from MH i2c: E2 [08:34:43]MH_I2C_Read... [08:34:43]Read from MH i2c: E2 0E 00 [08:34:43]MH_I2C_Read... [08:34:43]Read from MH i2c: E2 0E 00 F4 1E 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 4F [08:34:43]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:34:43]wFMCommunicate OK [08:34:43]SAM_PROTO_GetShiftState done [08:34:43]FM_GetShiftState done [08:34:43]opened in 1727309492 [08:34:43]opened+sec_in_day 1727395892 [08:34:43]quantity*price = 18034 [08:34:43]sum+1 = 18036 [08:34:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.35 ИТОГО: 180.00 ВнеÑено: 180.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.60 ÐДС 12% : 19.15 Ðаличными: 180.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 31 26.09.2024 08:34 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22567 ФПД: 138193692285100 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083447&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22567&fm=138193692285100&tin=02508201610067®Number=0000000000146243&sum=18000 [08:34:44]StoreToDocumentArchive [08:34:44]shift 232 fd 22567 [08:34:44]save to /storage/0232/doc_00022567 [08:34:44]save last doc name /storage/0232/doc_00022567 to /storage/kkm_last_doc_name [08:34:44]save OK [08:34:44]Clear old archive folders... [08:34:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:34:44]tlvbuf is 002055D0 [08:34:44]SAM_PROTO_ClearQueue [08:34:44]wFMCommunicate request_size=4 [08:34:44]MH_SAM_APDU [08:34:44]CAPDU: 80 09 00 00 [08:34:44]Write to MH i2c: E2 08 00 01 1F 80 09 00 00 00 00 00 00 92 [08:34:44]Write i2c OK [08:34:44]MH_I2C_Read... [08:34:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:34:44]Read from MH i2c: E2 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 03 00 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 03 00 01 1F 00 90 00 94 [08:34:44]RAPDU: 90 00 [08:34:44]wFMCommunicate OK [08:34:44]SAM_PROTO_ClearQueue done [08:34:44]KKMCreateOFDPacket [08:34:44]OFDProtocolAddRootSTLVToBuf [08:34:44]FM_MakeSignedData [08:34:44]FM_MakeSignedData [08:34:44]SAM_PROTO_SignData [08:34:44]wFMCommunicate request_size=4 [08:34:44]MH_SAM_APDU [08:34:44]CAPDU: 80 0D 01 02 [08:34:44]Write to MH i2c: E2 08 00 02 1F 80 0D 01 02 00 00 00 00 9A [08:34:44]Write i2c OK [08:34:44]MH_I2C_Read... [08:34:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:34:44]Read from MH i2c: E2 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 03 00 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 03 00 02 1F 00 90 00 95 [08:34:44]RAPDU: 90 00 [08:34:44]wFMCommunicate OK [08:34:44]wFMCommunicate request_size=255 [08:34:44]MH_SAM_APDU [08:34:44]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 64 0A 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 73 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 A7 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 27 58 00 00 35 04 06 00 7D [08:34:44]Write to MH i2c: E2 02 01 03 1F 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 64 0A 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 73 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 A7 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 27 58 00 00 35 04 06 00 7D 00 00 D2 [08:34:44]Write i2c OK [08:34:44]MH_I2C_Read... [08:34:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:34:44]Read from MH i2c: E2 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 03 00 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 03 00 03 1F 00 90 00 96 [08:34:44]RAPDU: 90 00 [08:34:44]wFMCommunicate OK [08:34:44]wFMCommunicate request_size=10 [08:34:44]MH_SAM_APDU [08:34:44]CAPDU: 80 0D 02 02 05 AF B9 F0 58 AC [08:34:44]Write to MH i2c: E2 0D 00 04 1F 80 0D 02 02 05 00 AF B9 F0 58 AC 00 00 03 [08:34:44]Write i2c OK [08:34:44]MH_I2C_Read... [08:34:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:34:44]Read from MH i2c: E2 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 03 00 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 03 00 04 1F 00 90 00 97 [08:34:44]RAPDU: 90 00 [08:34:44]wFMCommunicate OK [08:34:44]wFMCommunicate request_size=4 [08:34:44]MH_SAM_APDU [08:34:44]CAPDU: 80 0D 03 02 [08:34:44]Write to MH i2c: E2 08 00 05 1F 80 0D 03 02 00 00 00 00 9F [08:34:44]Write i2c OK [08:34:44]MH_I2C_Read... [08:34:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:34:44]Read from MH i2c: E2 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 0B 00 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 0B 00 05 1F 00 B1 65 4C 48 30 DD 46 7B 90 00 18 [08:34:44]RAPDU: B1 65 4C 48 30 DD 46 7B 90 00 [08:34:44]wFMCommunicate OK [08:34:44]SAM_PROTO_SignData done [08:34:44]FM_MakeSignedData done [08:34:44]CreateOFDProtocolMessage [08:34:44]wFMCommunicate request_size=4 [08:34:44]MH_SAM_APDU [08:34:44]CAPDU: 80 11 00 00 [08:34:44]Write to MH i2c: E2 08 00 06 1F 80 11 00 00 00 00 00 00 9F [08:34:44]Write i2c OK [08:34:44]MH_I2C_Read... [08:34:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:34:44]Read from MH i2c: E2 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 17 00 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: E2 17 00 06 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F9 [08:34:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:34:44]wFMCommunicate OK [08:34:44]CreateOFDProtocolMessage done [08:34:44]OFDSenderStorePacket 22567 [08:34:44]StoreOFDPacket docnum=22567 [08:34:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 94 7B 07 01 27 C2 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 64 0A 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 73 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 A7 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 27 58 00 00 35 04 06 00 7D AF B9 F0 58 AC B1 65 4C 48 30 DD 46 7B [08:34:44]CheckFolder [08:34:44]dirname=/storage/ofd_packets [08:34:44]CheckFolder done [08:34:44]ProducePacketName [08:34:44]name=ofd_packets/00022567 [08:34:44]NVStorageSaveData ofd_packets/00022567 [08:34:44]File name is /storage/ofd_packets/00022567 [08:34:44]Write 301 bytes [08:34:44]NVStorageSaveData done [08:34:44]OFDSenderStorePacket done [08:34:44]KKMCreateOFDPacket done [08:34:44]NVStorageSaveData kkm_last_timestamp [08:34:44]File name is /storage/kkm_last_timestamp [08:34:44]Write 4 bytes [08:34:44]NVStorageSaveData done [08:34:44]ExternCall_PrintAddStr [08:34:44]wPrintStart [08:34:44]Write to MH i2c: 01 00 00 07 1F 26 [08:34:44]Write i2c OK [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: 01 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: 01 07 00 [08:34:44]MH_I2C_Read... [08:34:44]Read from MH i2c: 01 07 00 07 1F 00 00 00 00 00 FF 0F 3B [08:34:44]RasterBufferAndPrint [08:34:44]line Счет N : (1)2165371 [08:34:44]line ИÐÐ: 02508201610067 [08:34:44]line Контрольно-КаÑÑовый Чек [08:34:44]line ПРОДÐЖР[08:34:44]line ТРК (МРК, ГÐК) : 43 [08:34:44]line Товар: 2710124130 [08:34:44]line Ðи-92-К-5 [08:34:44]line 2.660 * 67.80 [08:34:44]line = 180.35 [08:34:44]line ÐДС 12% ÐСП 1% [08:34:44]line > о реализуемом товаре [08:34:44]line ОКРУГЛЕÐИЕ: -0.35 [08:34:44]line ИТОГО: 180.00 [08:34:44]line ВнеÑено: 180.00 [08:34:44]line СДÐЧÐ: 0.00 [08:34:44]line ÐСП 1% : 1.60 [08:34:44]line ÐДС 12% : 19.15 [08:34:44]line Ðаличными: 180.00 [08:34:44]line Безнал.: 0.00 [08:34:44]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:34:44]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:34:44]line СÐО: Общий режим [08:34:44]line Чек 31 26.09.2024 08:34 [08:34:44]line Смена: 232 ФФД: 1.0 [08:34:44]line ЗÐМ: 0300000061 [08:34:44]line РÐМ: 0000000000146243 [08:34:44]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:34:44]line ФМ: 0000000000959358 [08:34:44]line ФД: 22567 [08:34:44]line ФПД: 138193692285100 [08:34:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083447&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22567&fm=138193692285100&tin=02508201610067®Number=0000000000146243&sum=18000 [08:34:45]OFD Sender: Processing packet 22567 [packets to send 23, broken 22] [08:34:45]ProducePacketName [08:34:45]name=ofd_packets/00022567 [08:34:45]OFD Sender: To server: ‡•öpG, [08:34:45]CommunicateWithHost lk.salyk.kg:30040 [08:34:45]ConnectInit lk.salyk.kg [08:34:45]written 0, free lines is 4095 [08:34:45]Connected sock=10 [08:34:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 94 7B 07 01 27 C2 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 64 0A 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 73 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 A7 1C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 27 58 00 00 35 04 06 00 7D AF B9 F0 58 AC B1 65 4C 48 30 DD 46 7B [08:34:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 02 DD 47 00 FC 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 27 58 00 00 F4 03 04 00 C7 C6 F4 66 B6 04 01 00 00 62 A4 51 BD AD D5 B1 0B [08:34:45]CommunicateWithHost err = 0 [08:34:45]CheckOFDResponse [08:34:45]1017 (14) - 77093643461234 [08:34:45]1041 (16) - 0000000000959358 [08:34:45]1040 (4) - 22567 [08:34:45]1012 (4) - 26.09.2024 02:28 [08:34:45]1206 (1) - 0 [08:34:45]OFD Sender: Remove packet 22567 [08:34:45]ProducePacketName [08:34:45]name=ofd_packets/00022567 [08:34:45]NVStorageDeleteData [08:34:45]Write to MH i2c: 01 00 00 32 1F 51 [08:34:45]Write i2c OK [08:34:45]MH_I2C_Read... [08:34:45]Read from MH i2c: 01 [08:34:45]MH_I2C_Read... [08:34:45]Read from MH i2c: 01 07 00 [08:34:45]MH_I2C_Read... [08:34:45]Read from MH i2c: 01 07 00 32 1F 00 00 00 00 00 FC 0C 60 [08:34:45]RasterBufferAndPrint [08:34:45]line [08:34:45]line [08:34:45]line [08:34:45]line [08:34:45]line [08:34:45]written 0, free lines is 3331 [08:34:45]MH_Cut [08:34:45]Write to MH i2c: D1 01 00 39 1F 01 2A [08:34:45]Write i2c OK [08:34:45]MH_I2C_Read... [08:34:45]Read from MH i2c: D1 [08:34:45]MH_I2C_Read... [08:34:45]Read from MH i2c: D1 01 00 [08:34:45]MH_I2C_Read... [08:34:45]Read from MH i2c: D1 01 00 39 1F 00 29 [08:34:45]Write to MH i2c: 01 00 00 3A 1F 59 [08:34:45]Write i2c OK [08:34:45]MH_I2C_Read... [08:34:46]OFD Sender: No OFD packet to send [08:34:46]*** Cut start [08:34:46]*** Partial cut [08:34:46]*** CUTSNS_PIN = 1 [08:34:46]*** CUTSNS_PIN = 0 [08:34:46]*** Brake cut motor [08:34:46]Read from MH i2c: 01 [08:34:46]MH_I2C_Read... [08:34:46]*** Stop cut motor [08:34:46]*** Cut end [08:34:46]Read from MH i2c: 01 07 00 [08:34:46]MH_I2C_Read... [08:34:46]Read from MH i2c: 01 07 00 3A 1F 00 00 00 00 00 FF 0F 6E [08:34:46]process_action close_receipt done [08:34:46]requested_data is exist [08:34:46]produce_requested_data [08:34:46]requested_item fm.sn is exist - process it [08:34:46]wFMCommunicate request_size=4 [08:34:46]MH_SAM_APDU [08:34:46]CAPDU: 80 11 00 00 [08:34:46]Write to MH i2c: E2 08 00 3B 1F 80 11 00 00 00 00 00 00 D4 [08:34:46]Write i2c OK [08:34:46]MH_I2C_Read... [08:34:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:34:46]Read from MH i2c: E2 [08:34:46]MH_I2C_Read... [08:34:46]Read from MH i2c: E2 17 00 [08:34:46]MH_I2C_Read... [08:34:46]Read from MH i2c: E2 17 00 3B 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2E [08:34:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:34:46]wFMCommunicate OK [08:34:46]requested_item fd.num is exist - process it [08:34:46]SAM_PROTO_GetFieldsCounters [08:34:46]wFMCommunicate request_size=4 [08:34:46]MH_SAM_APDU [08:34:46]CAPDU: 80 13 00 00 [08:34:46]Write to MH i2c: E2 08 00 3C 1F 80 13 00 00 00 00 00 00 D7 [08:34:46]Write i2c OK [08:34:46]MH_I2C_Read... [08:34:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:34:47]Read from MH i2c: E2 [08:34:47]MH_I2C_Read... [08:34:47]Read from MH i2c: E2 62 00 [08:34:47]MH_I2C_Read... [08:34:47]Read from MH i2c: E2 62 00 3C 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 27 58 00 00 0E 04 04 00 E8 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 BE [08:34:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 27 58 00 00 0E 04 04 00 E8 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 [08:34:47]wFMCommunicate OK [08:34:47]SAM_PROTO_GetFieldsCounters done [08:34:47]requested_item shift.num is exist - process it [08:34:47]requested_item shift.opened is exist - process it [08:34:47]req_shift_opened [08:34:47]FM_GetShiftState [08:34:47]SAM_PROTO_GetShiftState [08:34:47]wFMCommunicate request_size=4 [08:34:47]MH_SAM_APDU [08:34:47]CAPDU: 80 13 01 00 [08:34:47]Write to MH i2c: E2 08 00 3D 1F 80 13 01 00 00 00 00 00 D9 [08:34:47]Write i2c OK [08:34:47]MH_I2C_Read... [08:34:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:34:47]Read from MH i2c: E2 [08:34:47]MH_I2C_Read... [08:34:47]Read from MH i2c: E2 0E 00 [08:34:47]MH_I2C_Read... [08:34:47]Read from MH i2c: E2 0E 00 3D 1F 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 99 [08:34:47]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:34:47]wFMCommunicate OK [08:34:47]SAM_PROTO_GetShiftState done [08:34:47]FM_GetShiftState done [08:34:47]req_shift_opened done [08:34:47]requested_item shift.open_date is exist - process it [08:34:47]req_shift_open_date [08:34:47]req_shift_open_date done [08:34:47]produce_requested_data done [08:34:47]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22567,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:34:47]process_action_free close_receipt [08:34:47]json_value_free [08:34:47]json_value_free done [08:34:47]process_json_proto returns [08:34:47]Send response to host [08:34:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22567,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:34:47]free response buf [08:34:47]execute_script done [08:34:47]execute_script returns [08:34:47]free content buf [08:34:47]Sock 9.Close socket [08:34:47]Sock 9.Thread stoped [08:34:51]OFD Sender: No OFD packet to send [08:34:56]OFD Sender: No OFD packet to send [08:35:01]OFD Sender: No OFD packet to send [08:35:06]OFD Sender: No OFD packet to send [08:35:11]OFD Sender: No OFD packet to send [08:35:16]OFD Sender: No OFD packet to send [08:35:21]OFD Sender: No OFD packet to send [08:35:26]OFD Sender: No OFD packet to send [08:35:31]OFD Sender: No OFD packet to send [08:35:36]OFD Sender: No OFD packet to send [08:35:41]OFD Sender: No OFD packet to send [08:35:46]OFD Sender: No OFD packet to send [08:35:51]OFD Sender: No OFD packet to send [08:35:56]OFD Sender: No OFD packet to send [08:36:01]OFD Sender: No OFD packet to send [08:36:06]OFD Sender: No OFD packet to send [08:36:11]OFD Sender: No OFD packet to send [08:36:16]OFD Sender: No OFD packet to send [08:36:21]OFD Sender: No OFD packet to send [08:36:26]OFD Sender: No OFD packet to send [08:36:31]OFD Sender: No OFD packet to send [08:36:36]OFD Sender: No OFD packet to send [08:36:41]OFD Sender: No OFD packet to send [08:36:46]OFD Sender: No OFD packet to send [08:36:51]OFD Sender: No OFD packet to send [08:36:56]OFD Sender: No OFD packet to send [08:37:01]OFD Sender: No OFD packet to send [08:37:06]OFD Sender: No OFD packet to send [08:37:11]OFD Sender: No OFD packet to send [08:37:16]OFD Sender: No OFD packet to send [08:37:21]OFD Sender: No OFD packet to send [08:37:26]OFD Sender: No OFD packet to send [08:37:29]accept exits with 7 [08:37:29]New connection [08:37:29]New thread 3067440484 created [08:37:29]Thread 3067583844 joined [08:37:29]Waiting for new connection... [08:37:29] Sock 7.Parse request [08:37:29]Sock 7.Check first char [08:37:29]Sock 7.First char is OK [08:37:29]request: POST /json_proto HTTP/1.0 [08:37:29]Method: POST [08:37:29]URL: /json_proto [08:37:29]Method is POST - this is cgi request [08:37:29]url: /json_proto [08:37:29]query_string will be loaded in cgi processing [08:37:29]execute_cgi json_proto POST (null) [08:37:29]execute_cgi path=json_proto method=POST [08:37:29]POST find Content-Length [08:37:29]Host: 172.17.43.4:8080 [08:37:29]Content-Length: 678 [08:37:29]Content-Type: application/json [08:37:29] [08:37:29]POST finish read [08:37:29]Found Content-Length = 678 [08:37:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165377", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 8.850, "sum" : 600.03, "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:37:29]execute_script... [08:37:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165377", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 8.850, "sum" : 600.03, "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:37:29]POST & json_proto [08:37:29]process_json_proto [08:37:29]json parsed OK: [08:37:29]protocol is kg_v1.0 [08:37:29]action value=close_receipt [08:37:29]process_action close_receipt [08:37:29]cmd_close_receipt [08:37:29]MH_GetDate [08:37:29]Write to MH i2c: F0 00 00 3E 1F 4C [08:37:29]Write i2c OK [08:37:29]MH_I2C_Read... [08:37:29]Read from MH i2c: F0 [08:37:29]MH_I2C_Read... [08:37:29]Read from MH i2c: F0 09 00 [08:37:29]MH_I2C_Read... [08:37:29]Read from MH i2c: F0 09 00 3E 1F 00 4E 1D F5 66 02 BF CF 66 11 [08:37:29]GetLastDocTimeStamp 1727339687 [08:37:29]current date 1727339854 [08:37:29]FM_GetShiftState [08:37:29]SAM_PROTO_GetShiftState [08:37:29]wFMCommunicate request_size=4 [08:37:29]MH_SAM_APDU [08:37:29]CAPDU: 80 13 01 00 [08:37:29]Write to MH i2c: E2 08 00 3F 1F 80 13 01 00 00 00 00 00 DB [08:37:29]Write i2c OK [08:37:29]MH_I2C_Read... [08:37:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:37:29]Read from MH i2c: E2 [08:37:29]MH_I2C_Read... [08:37:29]Read from MH i2c: E2 0E 00 [08:37:29]MH_I2C_Read... [08:37:29]Read from MH i2c: E2 0E 00 3F 1F 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 9B [08:37:29]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:37:29]wFMCommunicate OK [08:37:29]SAM_PROTO_GetShiftState done [08:37:29]FM_GetShiftState done [08:37:29]opened in 1727309492 [08:37:29]opened+sec_in_day 1727395892 [08:37:29]quantity*price = 60003 [08:37:29]sum+1 = 60004 [08:37:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.03 ИТОГО: 600.00 ВнеÑено: 600.00 СДÐЧÐ: 0.00 ÐСП 1% : 5.31 ÐДС 12% : 63.72 Ðаличными: 600.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 32 26.09.2024 08:37 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22568 ФПД: 167255701682823 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083734&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22568&fm=167255701682823&tin=02508201610067®Number=0000000000146243&sum=60000 [08:37:31]StoreToDocumentArchive [08:37:31]shift 232 fd 22568 [08:37:31]save to /storage/0232/doc_00022568 [08:37:31]save last doc name /storage/0232/doc_00022568 to /storage/kkm_last_doc_name [08:37:31]save OK [08:37:31]Clear old archive folders... [08:37:31]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:37:31]tlvbuf is 002619D0 [08:37:31]SAM_PROTO_ClearQueue [08:37:31]wFMCommunicate request_size=4 [08:37:31]MH_SAM_APDU [08:37:31]CAPDU: 80 09 00 00 [08:37:31]Write to MH i2c: E2 08 00 4C 1F 80 09 00 00 00 00 00 00 DD [08:37:31]Write i2c OK [08:37:31]MH_I2C_Read... [08:37:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:37:31]Read from MH i2c: E2 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 03 00 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 03 00 4C 1F 00 90 00 DF [08:37:31]RAPDU: 90 00 [08:37:31]wFMCommunicate OK [08:37:31]SAM_PROTO_ClearQueue done [08:37:31]KKMCreateOFDPacket [08:37:31]OFDProtocolAddRootSTLVToBuf [08:37:31]FM_MakeSignedData [08:37:31]FM_MakeSignedData [08:37:31]SAM_PROTO_SignData [08:37:31]wFMCommunicate request_size=4 [08:37:31]MH_SAM_APDU [08:37:31]CAPDU: 80 0D 01 02 [08:37:31]Write to MH i2c: E2 08 00 4D 1F 80 0D 01 02 00 00 00 00 E5 [08:37:31]Write i2c OK [08:37:31]MH_I2C_Read... [08:37:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:37:31]Read from MH i2c: E2 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 03 00 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 03 00 4D 1F 00 90 00 E0 [08:37:31]RAPDU: 90 00 [08:37:31]wFMCommunicate OK [08:37:31]wFMCommunicate request_size=255 [08:37:31]MH_SAM_APDU [08:37: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 92 22 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 63 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 4E 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 28 58 00 00 35 04 06 00 98 [08:37:31]Write to MH i2c: E2 02 01 4E 1F 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 22 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 63 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 4E 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 28 58 00 00 35 04 06 00 98 00 00 13 [08:37:31]Write i2c OK [08:37:31]MH_I2C_Read... [08:37:31]OFD Sender: No OFD packet to send [08:37:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:37:31]Read from MH i2c: E2 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 03 00 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 03 00 4E 1F 00 90 00 E1 [08:37:31]RAPDU: 90 00 [08:37:31]wFMCommunicate OK [08:37:31]wFMCommunicate request_size=10 [08:37:31]MH_SAM_APDU [08:37:31]CAPDU: 80 0D 02 02 05 1E 40 AF 7A 87 [08:37:31]Write to MH i2c: E2 0D 00 4F 1F 80 0D 02 02 05 00 1E 40 AF 7A 87 00 00 00 [08:37:31]Write i2c OK [08:37:31]MH_I2C_Read... [08:37:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:37:31]Read from MH i2c: E2 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 03 00 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 03 00 4F 1F 00 90 00 E2 [08:37:31]RAPDU: 90 00 [08:37:31]wFMCommunicate OK [08:37:31]wFMCommunicate request_size=4 [08:37:31]MH_SAM_APDU [08:37:31]CAPDU: 80 0D 03 02 [08:37:31]Write to MH i2c: E2 08 00 50 1F 80 0D 03 02 00 00 00 00 EA [08:37:31]Write i2c OK [08:37:31]MH_I2C_Read... [08:37:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:37:31]Read from MH i2c: E2 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 0B 00 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 0B 00 50 1F 00 CB 9C CB 42 78 43 AC DE 90 00 A4 [08:37:31]RAPDU: CB 9C CB 42 78 43 AC DE 90 00 [08:37:31]wFMCommunicate OK [08:37:31]SAM_PROTO_SignData done [08:37:31]FM_MakeSignedData done [08:37:31]CreateOFDProtocolMessage [08:37:31]wFMCommunicate request_size=4 [08:37:31]MH_SAM_APDU [08:37:31]CAPDU: 80 11 00 00 [08:37:31]Write to MH i2c: E2 08 00 51 1F 80 11 00 00 00 00 00 00 EA [08:37:31]Write i2c OK [08:37:31]MH_I2C_Read... [08:37:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:37:31]Read from MH i2c: E2 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 17 00 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: E2 17 00 51 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 44 [08:37:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:37:31]wFMCommunicate OK [08:37:31]CreateOFDProtocolMessage done [08:37:31]OFDSenderStorePacket 22568 [08:37:31]StoreOFDPacket docnum=22568 [08:37:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 8E 15 07 01 11 45 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 22 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 63 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 4E 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 28 58 00 00 35 04 06 00 98 1E 40 AF 7A 87 CB 9C CB 42 78 43 AC DE [08:37:31]CheckFolder [08:37:31]dirname=/storage/ofd_packets [08:37:31]CheckFolder done [08:37:31]ProducePacketName [08:37:31]name=ofd_packets/00022568 [08:37:31]NVStorageSaveData ofd_packets/00022568 [08:37:31]File name is /storage/ofd_packets/00022568 [08:37:31]Write 301 bytes [08:37:31]NVStorageSaveData done [08:37:31]OFDSenderStorePacket done [08:37:31]KKMCreateOFDPacket done [08:37:31]NVStorageSaveData kkm_last_timestamp [08:37:31]File name is /storage/kkm_last_timestamp [08:37:31]Write 4 bytes [08:37:31]NVStorageSaveData done [08:37:31]ExternCall_PrintAddStr [08:37:31]wPrintStart [08:37:31]Write to MH i2c: 01 00 00 52 1F 71 [08:37:31]Write i2c OK [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: 01 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: 01 07 00 [08:37:31]MH_I2C_Read... [08:37:31]Read from MH i2c: 01 07 00 52 1F 00 00 00 00 00 FF 0F 86 [08:37:31]RasterBufferAndPrint [08:37:31]line Счет N : (1)2165377 [08:37:31]line ИÐÐ: 02508201610067 [08:37:31]line Контрольно-КаÑÑовый Чек [08:37:31]line ПРОДÐЖР[08:37:31]line ТРК (МРК, ГÐК) : 33 [08:37:31]line Товар: 2710124130 [08:37:31]line Ðи-92-К-5 [08:37:31]line 8.850 * 67.80 [08:37:31]line = 600.03 [08:37:31]line ÐДС 12% ÐСП 1% [08:37:31]line > о реализуемом товаре [08:37:31]line ОКРУГЛЕÐИЕ: -0.03 [08:37:31]line ИТОГО: 600.00 [08:37:31]line ВнеÑено: 600.00 [08:37:31]line СДÐЧÐ: 0.00 [08:37:31]line ÐСП 1% : 5.31 [08:37:31]line ÐДС 12% : 63.72 [08:37:31]line Ðаличными: 600.00 [08:37:31]line Безнал.: 0.00 [08:37:31]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:37:31]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:37:31]line СÐО: Общий режим [08:37:31]line Чек 32 26.09.2024 08:37 [08:37:31]line Смена: 232 ФФД: 1.0 [08:37:31]line ЗÐМ: 0300000061 [08:37:31]line РÐМ: 0000000000146243 [08:37:31]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:37:31]line ФМ: 0000000000959358 [08:37:31]line ФД: 22568 [08:37:31]line ФПД: 167255701682823 [08:37:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083734&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22568&fm=167255701682823&tin=02508201610067®Number=0000000000146243&sum=60000 [08:37:31]OFD Sender: Processing packet 22568 [packets to send 23, broken 22] [08:37:31]ProducePacketName [08:37:31]name=ofd_packets/00022568 [08:37:31]OFD Sender: To server: ‡•öpG, [08:37:31]CommunicateWithHost lk.salyk.kg:30040 [08:37:31]ConnectInit lk.salyk.kg [08:37:31]written 0, free lines is 4095 [08:37:32]Connected sock=10 [08:37:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 8E 15 07 01 11 45 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 22 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 63 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 4E 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 28 58 00 00 35 04 06 00 98 1E 40 AF 7A 87 CB 9C CB 42 78 43 AC DE [08:37:32]Write to MH i2c: 01 00 00 7D 1F 9C [08:37:32]Write i2c OK [08:37:32]MH_I2C_Read... [08:37:32]Read from MH i2c: 01 [08:37:32]MH_I2C_Read... [08:37:32]Read from MH i2c: 01 07 00 [08:37:32]MH_I2C_Read... [08:37:32]Read from MH i2c: 01 07 00 7D 1F 00 00 00 00 00 FE 0C AD [08:37:32]RasterBufferAndPrint [08:37:32]line [08:37:32]line [08:37:32]line [08:37:32]line [08:37:32]line [08:37:32]written 0, free lines is 3331 [08:37:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 BD 4A 47 00 64 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 28 58 00 00 F4 03 04 00 6E C7 F4 66 B6 04 01 00 00 47 9A 12 B4 12 ED EC 8F [08:37:32]CommunicateWithHost err = 0 [08:37:32]CheckOFDResponse [08:37:32]1017 (14) - 77093643461234 [08:37:32]1041 (16) - 0000000000959358 [08:37:32]1040 (4) - 22568 [08:37:32]1012 (4) - 26.09.2024 02:31 [08:37:32]1206 (1) - 0 [08:37:32]OFD Sender: Remove packet 22568 [08:37:32]ProducePacketName [08:37:32]name=ofd_packets/00022568 [08:37:32]NVStorageDeleteData [08:37:32]MH_Cut [08:37:32]Write to MH i2c: D1 01 00 84 1F 01 75 [08:37:32]Write i2c OK [08:37:32]MH_I2C_Read... [08:37:32]Read from MH i2c: D1 [08:37:32]MH_I2C_Read... [08:37:32]Read from MH i2c: D1 01 00 [08:37:32]MH_I2C_Read... [08:37:32]Read from MH i2c: D1 01 00 84 1F 00 74 [08:37:32]Write to MH i2c: 01 00 00 85 1F A4 [08:37:32]Write i2c OK [08:37:32]MH_I2C_Read... [08:37:32]OFD Sender: No OFD packet to send [08:37:33]*** Cut start [08:37:33]*** Partial cut [08:37:33]*** CUTSNS_PIN = 1 [08:37:33]*** CUTSNS_PIN = 0 [08:37:33]*** Brake cut motor [08:37:33]Read from MH i2c: 01 [08:37:33]MH_I2C_Read... [08:37:33]*** Stop cut motor [08:37:33]*** Cut end [08:37:33]Read from MH i2c: 01 07 00 [08:37:33]MH_I2C_Read... [08:37:33]Read from MH i2c: 01 07 00 85 1F 00 00 00 00 00 FF 0F B9 [08:37:33]process_action close_receipt done [08:37:33]requested_data is exist [08:37:33]produce_requested_data [08:37:33]requested_item fm.sn is exist - process it [08:37:33]wFMCommunicate request_size=4 [08:37:33]MH_SAM_APDU [08:37:33]CAPDU: 80 11 00 00 [08:37:33]Write to MH i2c: E2 08 00 86 1F 80 11 00 00 00 00 00 00 1F [08:37:33]Write i2c OK [08:37:33]MH_I2C_Read... [08:37:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:37:33]Read from MH i2c: E2 [08:37:33]MH_I2C_Read... [08:37:33]Read from MH i2c: E2 17 00 [08:37:33]MH_I2C_Read... [08:37:33]Read from MH i2c: E2 17 00 86 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 79 [08:37:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:37:33]wFMCommunicate OK [08:37:33]requested_item fd.num is exist - process it [08:37:33]SAM_PROTO_GetFieldsCounters [08:37:33]wFMCommunicate request_size=4 [08:37:33]MH_SAM_APDU [08:37:33]CAPDU: 80 13 00 00 [08:37:33]Write to MH i2c: E2 08 00 87 1F 80 13 00 00 00 00 00 00 22 [08:37:33]Write i2c OK [08:37:33]MH_I2C_Read... [08:37:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:37:33]Read from MH i2c: E2 [08:37:33]MH_I2C_Read... [08:37:33]Read from MH i2c: E2 62 00 [08:37:33]MH_I2C_Read... [08:37:33]Read from MH i2c: E2 62 00 87 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 28 58 00 00 0E 04 04 00 E8 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 0D [08:37:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 28 58 00 00 0E 04 04 00 E8 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 [08:37:33]wFMCommunicate OK [08:37:33]SAM_PROTO_GetFieldsCounters done [08:37:33]requested_item shift.num is exist - process it [08:37:33]requested_item shift.opened is exist - process it [08:37:33]req_shift_opened [08:37:33]FM_GetShiftState [08:37:33]SAM_PROTO_GetShiftState [08:37:33]wFMCommunicate request_size=4 [08:37:33]MH_SAM_APDU [08:37:33]CAPDU: 80 13 01 00 [08:37:33]Write to MH i2c: E2 08 00 88 1F 80 13 01 00 00 00 00 00 24 [08:37:33]Write i2c OK [08:37:33]MH_I2C_Read... [08:37:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:37:33]Read from MH i2c: E2 [08:37:33]MH_I2C_Read... [08:37:33]Read from MH i2c: E2 0E 00 [08:37:33]MH_I2C_Read... [08:37:33]Read from MH i2c: E2 0E 00 88 1F 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 E4 [08:37:33]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:37:33]wFMCommunicate OK [08:37:33]SAM_PROTO_GetShiftState done [08:37:33]FM_GetShiftState done [08:37:33]req_shift_opened done [08:37:33]requested_item shift.open_date is exist - process it [08:37:33]req_shift_open_date [08:37:33]req_shift_open_date done [08:37:33]produce_requested_data done [08:37:33]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22568,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:37:33]process_action_free close_receipt [08:37:33]json_value_free [08:37:33]json_value_free done [08:37:33]process_json_proto returns [08:37:33]Send response to host [08:37:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22568,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:37:33]free response buf [08:37:33]execute_script done [08:37:33]execute_script returns [08:37:33]free content buf [08:37:33]Sock 7.Close socket [08:37:33]Sock 7.Thread stoped [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:26]accept exits with 9 [08:38:26]New connection [08:38:26]New thread 3067583844 created [08:38:26]Thread 3067440484 joined [08:38:26]Waiting for new connection... [08:38:26] Sock 9.Parse request [08:38:26]Sock 9.Check first char [08:38:26]Sock 9.First char is OK [08:38:26]request: POST /json_proto HTTP/1.0 [08:38:26]Method: POST [08:38:26]URL: /json_proto [08:38:26]Method is POST - this is cgi request [08:38:26]url: /json_proto [08:38:26]query_string will be loaded in cgi processing [08:38:26]execute_cgi json_proto POST (null) [08:38:26]execute_cgi path=json_proto method=POST [08:38:26]POST find Content-Length [08:38:26]Host: 172.17.43.4:8080 [08:38:26]Content-Length: 680 [08:38:26]Content-Type: application/json [08:38:26] [08:38:26]POST finish read [08:38:26]Found Content-Length = 680 [08:38:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165376", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "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:38:26]execute_script... [08:38: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)2165376", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "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:38:26]POST & json_proto [08:38:26]process_json_proto [08:38:26]json parsed OK: [08:38:26]protocol is kg_v1.0 [08:38:26]action value=close_receipt [08:38:26]process_action close_receipt [08:38:26]cmd_close_receipt [08:38:26]MH_GetDate [08:38:26]Write to MH i2c: F0 00 00 89 1F 97 [08:38:26]Write i2c OK [08:38:26]MH_I2C_Read... [08:38:26]Read from MH i2c: F0 [08:38:26]MH_I2C_Read... [08:38:26]Read from MH i2c: F0 09 00 [08:38:26]MH_I2C_Read... [08:38:26]Read from MH i2c: F0 09 00 89 1F 00 86 1D F5 66 02 BF CF 66 94 [08:38:26]GetLastDocTimeStamp 1727339854 [08:38:26]current date 1727339910 [08:38:26]FM_GetShiftState [08:38:26]SAM_PROTO_GetShiftState [08:38:26]wFMCommunicate request_size=4 [08:38:26]MH_SAM_APDU [08:38:26]CAPDU: 80 13 01 00 [08:38:26]Write to MH i2c: E2 08 00 8A 1F 80 13 01 00 00 00 00 00 26 [08:38:26]Write i2c OK [08:38:26]MH_I2C_Read... [08:38:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:38:26]Read from MH i2c: E2 [08:38:26]MH_I2C_Read... [08:38:26]Read from MH i2c: E2 0E 00 [08:38:26]MH_I2C_Read... [08:38:26]Read from MH i2c: E2 0E 00 8A 1F 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 E6 [08:38:26]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:38:26]wFMCommunicate OK [08:38:26]SAM_PROTO_GetShiftState done [08:38:26]FM_GetShiftState done [08:38:26]opened in 1727309492 [08:38:26]opened+sec_in_day 1727395892 [08:38:26]quantity*price = 150037 [08:38:26]sum+1 = 150039 [08:38:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.38 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.28 ÐДС 12% : 159.33 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 33 26.09.2024 08:38 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22569 ФПД: 277370202852276 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083830&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22569&fm=277370202852276&tin=02508201610067®Number=0000000000146243&sum=150000 [08:38:27]StoreToDocumentArchive [08:38:27]shift 232 fd 22569 [08:38:27]save to /storage/0232/doc_00022569 [08:38:27]save last doc name /storage/0232/doc_00022569 to /storage/kkm_last_doc_name [08:38:27]save OK [08:38:27]Clear old archive folders... [08:38:27]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:38:27]tlvbuf is 0027EF60 [08:38:27]SAM_PROTO_ClearQueue [08:38:27]wFMCommunicate request_size=4 [08:38:27]MH_SAM_APDU [08:38:27]CAPDU: 80 09 00 00 [08:38:27]Write to MH i2c: E2 08 00 97 1F 80 09 00 00 00 00 00 00 28 [08:38:27]Write i2c OK [08:38:27]MH_I2C_Read... [08:38:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:38:27]Read from MH i2c: E2 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 03 00 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 03 00 97 1F 00 90 00 2A [08:38:27]RAPDU: 90 00 [08:38:27]wFMCommunicate OK [08:38:27]SAM_PROTO_ClearQueue done [08:38:27]KKMCreateOFDPacket [08:38:27]OFDProtocolAddRootSTLVToBuf [08:38:27]FM_MakeSignedData [08:38:27]FM_MakeSignedData [08:38:27]SAM_PROTO_SignData [08:38:27]wFMCommunicate request_size=4 [08:38:27]MH_SAM_APDU [08:38:27]CAPDU: 80 0D 01 02 [08:38:27]Write to MH i2c: E2 08 00 98 1F 80 0D 01 02 00 00 00 00 30 [08:38:27]Write i2c OK [08:38:27]MH_I2C_Read... [08:38:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:38:27]Read from MH i2c: E2 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 03 00 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 03 00 98 1F 00 90 00 2B [08:38:27]RAPDU: 90 00 [08:38:27]wFMCommunicate OK [08:38:27]wFMCommunicate request_size=255 [08:38:27]MH_SAM_APDU [08:38:27]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 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 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 3D 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 21 00 00 00 F4 03 04 00 86 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 29 58 00 00 35 04 06 00 FC 44 48 69 [08:38:27]Write to MH i2c: E2 02 01 99 1F 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 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 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 3D 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 21 00 00 00 F4 03 04 00 86 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 29 58 00 00 35 04 06 00 FC 44 48 69 00 00 A7 [08:38:27]Write i2c OK [08:38:27]MH_I2C_Read... [08:38:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:38:27]Read from MH i2c: E2 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 03 00 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 03 00 99 1F 00 90 00 2C [08:38:27]RAPDU: 90 00 [08:38:27]wFMCommunicate OK [08:38:27]wFMCommunicate request_size=7 [08:38:27]MH_SAM_APDU [08:38:27]CAPDU: 80 0D 02 02 02 8B B4 [08:38:27]Write to MH i2c: E2 0A 00 9A 1F 80 0D 02 02 02 00 8B B4 00 00 76 [08:38:27]Write i2c OK [08:38:27]MH_I2C_Read... [08:38:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:38:27]Read from MH i2c: E2 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 03 00 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 03 00 9A 1F 00 90 00 2D [08:38:27]RAPDU: 90 00 [08:38:27]wFMCommunicate OK [08:38:27]wFMCommunicate request_size=4 [08:38:27]MH_SAM_APDU [08:38:27]CAPDU: 80 0D 03 02 [08:38:27]Write to MH i2c: E2 08 00 9B 1F 80 0D 03 02 00 00 00 00 35 [08:38:27]Write i2c OK [08:38:27]MH_I2C_Read... [08:38:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:38:27]Read from MH i2c: E2 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 0B 00 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 0B 00 9B 1F 00 17 7A 97 CA A8 E2 7F F3 90 00 24 [08:38:27]RAPDU: 17 7A 97 CA A8 E2 7F F3 90 00 [08:38:27]wFMCommunicate OK [08:38:27]SAM_PROTO_SignData done [08:38:27]FM_MakeSignedData done [08:38:27]CreateOFDProtocolMessage [08:38:27]wFMCommunicate request_size=4 [08:38:27]MH_SAM_APDU [08:38:27]CAPDU: 80 11 00 00 [08:38:27]Write to MH i2c: E2 08 00 9C 1F 80 11 00 00 00 00 00 00 35 [08:38:27]Write i2c OK [08:38:27]MH_I2C_Read... [08:38:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:38:27]Read from MH i2c: E2 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 17 00 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: E2 17 00 9C 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 8F [08:38:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:38:27]wFMCommunicate OK [08:38:27]CreateOFDProtocolMessage done [08:38:27]OFDSenderStorePacket 22569 [08:38:27]StoreOFDPacket docnum=22569 [08:38:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 BF B2 04 01 91 BF 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 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 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 3D 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 21 00 00 00 F4 03 04 00 86 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 29 58 00 00 35 04 06 00 FC 44 48 69 8B B4 17 7A 97 CA A8 E2 7F F3 [08:38:27]CheckFolder [08:38:27]dirname=/storage/ofd_packets [08:38:27]CheckFolder done [08:38:27]ProducePacketName [08:38:27]name=ofd_packets/00022569 [08:38:27]NVStorageSaveData ofd_packets/00022569 [08:38:27]File name is /storage/ofd_packets/00022569 [08:38:27]Write 298 bytes [08:38:27]NVStorageSaveData done [08:38:27]OFDSenderStorePacket done [08:38:27]KKMCreateOFDPacket done [08:38:27]NVStorageSaveData kkm_last_timestamp [08:38:27]File name is /storage/kkm_last_timestamp [08:38:27]Write 4 bytes [08:38:27]NVStorageSaveData done [08:38:27]ExternCall_PrintAddStr [08:38:27]wPrintStart [08:38:27]Write to MH i2c: 01 00 00 9D 1F BC [08:38:27]Write i2c OK [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: 01 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: 01 07 00 [08:38:27]MH_I2C_Read... [08:38:27]Read from MH i2c: 01 07 00 9D 1F 00 00 00 00 00 FF 0F D1 [08:38:27]RasterBufferAndPrint [08:38:27]line Счет N : (1)2165376 [08:38:27]line ИÐÐ: 02508201610067 [08:38:27]line Контрольно-КаÑÑовый Чек [08:38:27]line ПРОДÐЖР[08:38:27]line ТРК (МРК, ГÐК) : 41 [08:38:27]line Товар: 2710194210 [08:38:27]line ДТ-К-5 [08:38:27]line 19.690 * 76.20 [08:38:27]line = 1500.38 [08:38:27]line ÐДС 12% ÐСП 1% [08:38:27]line > о реализуемом товаре [08:38:27]line ОКРУГЛЕÐИЕ: -0.38 [08:38:27]line ИТОГО: 1500.00 [08:38:27]line ВнеÑено: 1500.00 [08:38:27]line СДÐЧÐ: 0.00 [08:38:27]line ÐСП 1% : 13.28 [08:38:27]line ÐДС 12% : 159.33 [08:38:27]line Ðаличными: 1500.00 [08:38:27]line Безнал.: 0.00 [08:38:27]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:38:27]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:38:27]line СÐО: Общий режим [08:38:27]line Чек 33 26.09.2024 08:38 [08:38:27]line Смена: 232 ФФД: 1.0 [08:38:27]line ЗÐМ: 0300000061 [08:38:27]line РÐМ: 0000000000146243 [08:38:27]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:38:27]line ФМ: 0000000000959358 [08:38:27]line ФД: 22569 [08:38:28]line ФПД: 277370202852276 [08:38:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083830&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22569&fm=277370202852276&tin=02508201610067®Number=0000000000146243&sum=150000 [08:38:28]OFD Sender: Processing packet 22569 [packets to send 23, broken 22] [08:38:28]ProducePacketName [08:38:28]name=ofd_packets/00022569 [08:38:28]OFD Sender: To server: ‡•öpG, [08:38:28]CommunicateWithHost lk.salyk.kg:30040 [08:38:28]ConnectInit lk.salyk.kg [08:38:28]written 0, free lines is 4095 [08:38:28]Connected sock=10 [08:38:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 BF B2 04 01 91 BF 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 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 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 3D 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 21 00 00 00 F4 03 04 00 86 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 29 58 00 00 35 04 06 00 FC 44 48 69 8B B4 17 7A 97 CA A8 E2 7F F3 [08:38:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F6 F7 47 00 CE 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 39 35 39 33 35 38 10 04 04 00 29 58 00 00 F4 03 04 00 A6 C7 F4 66 B6 04 01 00 00 66 C6 EA 8C 1A 24 B8 EF [08:38:28]CommunicateWithHost err = 0 [08:38:28]CheckOFDResponse [08:38:28]1017 (14) - 77093643461234 [08:38:28]1041 (16) - 0000000000959358 [08:38:28]1040 (4) - 22569 [08:38:28]1012 (4) - 26.09.2024 02:32 [08:38:28]1206 (1) - 0 [08:38:28]OFD Sender: Remove packet 22569 [08:38:28]ProducePacketName [08:38:28]name=ofd_packets/00022569 [08:38:28]NVStorageDeleteData [08:38:28]Write to MH i2c: 01 00 00 C8 1F E7 [08:38:28]Write i2c OK [08:38:28]MH_I2C_Read... [08:38:28]Read from MH i2c: 01 [08:38:28]MH_I2C_Read... [08:38:28]Read from MH i2c: 01 07 00 [08:38:28]MH_I2C_Read... [08:38:28]Read from MH i2c: 01 07 00 C8 1F 00 00 00 00 00 FB 0C F5 [08:38:28]RasterBufferAndPrint [08:38:28]line [08:38:28]line [08:38:28]line [08:38:28]line [08:38:28]line [08:38:28]written 0, free lines is 3329 [08:38:28]MH_Cut [08:38:28]Write to MH i2c: D1 01 00 CF 1F 01 C0 [08:38:28]Write i2c OK [08:38:28]MH_I2C_Read... [08:38:28]Read from MH i2c: D1 [08:38:28]MH_I2C_Read... [08:38:28]Read from MH i2c: D1 01 00 [08:38:28]MH_I2C_Read... [08:38:28]Read from MH i2c: D1 01 00 CF 1F 00 BF [08:38:28]Write to MH i2c: 01 00 00 D0 1F EF [08:38:28]Write i2c OK [08:38:28]MH_I2C_Read... [08:38:29]OFD Sender: No OFD packet to send [08:38:29]*** Cut start [08:38:29]*** Partial cut [08:38:29]*** CUTSNS_PIN = 1 [08:38:29]*** CUTSNS_PIN = 0 [08:38:29]*** Brake cut motor [08:38:29]Read from MH i2c: 01 [08:38:29]MH_I2C_Read... [08:38:29]*** Stop cut motor [08:38:29]*** Cut end [08:38:29]Read from MH i2c: 01 07 00 [08:38:29]MH_I2C_Read... [08:38:29]Read from MH i2c: 01 07 00 D0 1F 00 00 00 00 00 FF 0F 04 [08:38:29]process_action close_receipt done [08:38:29]requested_data is exist [08:38:29]produce_requested_data [08:38:29]requested_item fm.sn is exist - process it [08:38:29]wFMCommunicate request_size=4 [08:38:29]MH_SAM_APDU [08:38:29]CAPDU: 80 11 00 00 [08:38:29]Write to MH i2c: E2 08 00 D1 1F 80 11 00 00 00 00 00 00 6A [08:38:29]Write i2c OK [08:38:29]MH_I2C_Read... [08:38:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:38:29]Read from MH i2c: E2 [08:38:29]MH_I2C_Read... [08:38:29]Read from MH i2c: E2 17 00 [08:38:29]MH_I2C_Read... [08:38:29]Read from MH i2c: E2 17 00 D1 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C4 [08:38:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:38:29]wFMCommunicate OK [08:38:29]requested_item fd.num is exist - process it [08:38:29]SAM_PROTO_GetFieldsCounters [08:38:29]wFMCommunicate request_size=4 [08:38:29]MH_SAM_APDU [08:38:29]CAPDU: 80 13 00 00 [08:38:29]Write to MH i2c: E2 08 00 D2 1F 80 13 00 00 00 00 00 00 6D [08:38:29]Write i2c OK [08:38:29]MH_I2C_Read... [08:38:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:38:30]Read from MH i2c: E2 [08:38:30]MH_I2C_Read... [08:38:30]Read from MH i2c: E2 62 00 [08:38:30]MH_I2C_Read... [08:38:30]Read from MH i2c: E2 62 00 D2 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 29 58 00 00 0E 04 04 00 E8 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 5C [08:38:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 29 58 00 00 0E 04 04 00 E8 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 [08:38:30]wFMCommunicate OK [08:38:30]SAM_PROTO_GetFieldsCounters done [08:38:30]requested_item shift.num is exist - process it [08:38:30]requested_item shift.opened is exist - process it [08:38:30]req_shift_opened [08:38:30]FM_GetShiftState [08:38:30]SAM_PROTO_GetShiftState [08:38:30]wFMCommunicate request_size=4 [08:38:30]MH_SAM_APDU [08:38:30]CAPDU: 80 13 01 00 [08:38:30]Write to MH i2c: E2 08 00 D3 1F 80 13 01 00 00 00 00 00 6F [08:38:30]Write i2c OK [08:38:30]MH_I2C_Read... [08:38:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:38:30]Read from MH i2c: E2 [08:38:30]MH_I2C_Read... [08:38:30]Read from MH i2c: E2 0E 00 [08:38:30]MH_I2C_Read... [08:38:30]Read from MH i2c: E2 0E 00 D3 1F 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 2F [08:38:30]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:38:30]wFMCommunicate OK [08:38:30]SAM_PROTO_GetShiftState done [08:38:30]FM_GetShiftState done [08:38:30]req_shift_opened done [08:38:30]requested_item shift.open_date is exist - process it [08:38:30]req_shift_open_date [08:38:30]req_shift_open_date done [08:38:30]produce_requested_data done [08:38:30]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22569,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:38:30]process_action_free close_receipt [08:38:30]json_value_free [08:38:30]json_value_free done [08:38:30]process_json_proto returns [08:38:30]Send response to host [08:38:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22569,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:38:30]free response buf [08:38:30]execute_script done [08:38:30]execute_script returns [08:38:30]free content buf [08:38:30]Sock 9.Close socket [08:38:30]Sock 9.Thread stoped [08:38:34]OFD Sender: No OFD packet to send [08:38:39]OFD Sender: No OFD packet to send [08:38:42]accept exits with 7 [08:38:42]New connection [08:38:42]New thread 3067440484 created [08:38:42]Thread 3067583844 joined [08:38:42]Waiting for new connection... [08:38:42] Sock 7.Parse request [08:38:42]Sock 7.Check first char [08:38:42]Sock 7.First char is OK [08:38:42]request: POST /json_proto HTTP/1.0 [08:38:42]Method: POST [08:38:42]URL: /json_proto [08:38:42]Method is POST - this is cgi request [08:38:42]url: /json_proto [08:38:42]query_string will be loaded in cgi processing [08:38:42]execute_cgi json_proto POST (null) [08:38:42]execute_cgi path=json_proto method=POST [08:38:42]POST find Content-Length [08:38:42]Host: 172.17.43.4:8080 [08:38:42]Content-Length: 678 [08:38:42]Content-Type: application/json [08:38:42] [08:38:42]POST finish read [08:38:42]Found Content-Length = 678 [08:38:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165379", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 6.640, "sum" : 450.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 450.00, "total" : 450.00, "payments": [ { "type": 0, "sum" : 450.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:38:42]execute_script... [08:38:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165379", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 6.640, "sum" : 450.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 450.00, "total" : 450.00, "payments": [ { "type": 0, "sum" : 450.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:38:42]POST & json_proto [08:38:42]process_json_proto [08:38:42]json parsed OK: [08:38:42]protocol is kg_v1.0 [08:38:42]action value=close_receipt [08:38:42]process_action close_receipt [08:38:42]cmd_close_receipt [08:38:42]MH_GetDate [08:38:42]Write to MH i2c: F0 00 00 D4 1F E2 [08:38:42]Write i2c OK [08:38:42]MH_I2C_Read... [08:38:42]Read from MH i2c: F0 [08:38:42]MH_I2C_Read... [08:38:42]Read from MH i2c: F0 09 00 [08:38:42]MH_I2C_Read... [08:38:42]Read from MH i2c: F0 09 00 D4 1F 00 97 1D F5 66 02 BF CF 66 F0 [08:38:42]GetLastDocTimeStamp 1727339910 [08:38:42]current date 1727339927 [08:38:42]FM_GetShiftState [08:38:42]SAM_PROTO_GetShiftState [08:38:42]wFMCommunicate request_size=4 [08:38:42]MH_SAM_APDU [08:38:42]CAPDU: 80 13 01 00 [08:38:42]Write to MH i2c: E2 08 00 D5 1F 80 13 01 00 00 00 00 00 71 [08:38:42]Write i2c OK [08:38:42]MH_I2C_Read... [08:38:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:38:43]Read from MH i2c: E2 [08:38:43]MH_I2C_Read... [08:38:43]Read from MH i2c: E2 0E 00 [08:38:43]MH_I2C_Read... [08:38:43]Read from MH i2c: E2 0E 00 D5 1F 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 31 [08:38:43]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:38:43]wFMCommunicate OK [08:38:43]SAM_PROTO_GetShiftState done [08:38:43]FM_GetShiftState done [08:38:43]opened in 1727309492 [08:38:43]opened+sec_in_day 1727395892 [08:38:43]quantity*price = 45019 [08:38:43]sum+1 = 45020 [08:38:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.19 ИТОГО: 450.00 ВнеÑено: 450.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.98 ÐДС 12% : 47.81 Ðаличными: 450.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 34 26.09.2024 08:38 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22570 ФПД: 68296950333155 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083847&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22570&fm=68296950333155&tin=02508201610067®Number=0000000000146243&sum=45000 [08:38:44]StoreToDocumentArchive [08:38:44]shift 232 fd 22570 [08:38:44]save to /storage/0232/doc_00022570 [08:38:44]save last doc name /storage/0232/doc_00022570 to /storage/kkm_last_doc_name [08:38:44]save OK [08:38:44]Clear old archive folders... [08:38:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:38:44]tlvbuf is B6E422D0 [08:38:44]SAM_PROTO_ClearQueue [08:38:44]wFMCommunicate request_size=4 [08:38:44]MH_SAM_APDU [08:38:44]CAPDU: 80 09 00 00 [08:38:44]Write to MH i2c: E2 08 00 E2 1F 80 09 00 00 00 00 00 00 73 [08:38:44]Write i2c OK [08:38:44]MH_I2C_Read... [08:38:44]OFD Sender: No OFD packet to send [08:38:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:38:44]Read from MH i2c: E2 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 03 00 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 03 00 E2 1F 00 90 00 75 [08:38:44]RAPDU: 90 00 [08:38:44]wFMCommunicate OK [08:38:44]SAM_PROTO_ClearQueue done [08:38:44]KKMCreateOFDPacket [08:38:44]OFDProtocolAddRootSTLVToBuf [08:38:44]FM_MakeSignedData [08:38:44]FM_MakeSignedData [08:38:44]SAM_PROTO_SignData [08:38:44]wFMCommunicate request_size=4 [08:38:44]MH_SAM_APDU [08:38:44]CAPDU: 80 0D 01 02 [08:38:44]Write to MH i2c: E2 08 00 E3 1F 80 0D 01 02 00 00 00 00 7B [08:38:44]Write i2c OK [08:38:44]MH_I2C_Read... [08:38:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:38:44]Read from MH i2c: E2 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 03 00 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 03 00 E3 1F 00 90 00 76 [08:38:44]RAPDU: 90 00 [08:38:44]wFMCommunicate OK [08:38:44]wFMCommunicate request_size=255 [08:38:44]MH_SAM_APDU [08:38:44]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 7C 1A 00 00 00 00 13 04 06 00 DB AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 12 00 00 00 00 07 04 06 00 C8 AF 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 97 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2A 58 00 00 35 04 06 00 3E [08:38:44]Write to MH i2c: E2 02 01 E4 1F 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 7C 1A 00 00 00 00 13 04 06 00 DB AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 12 00 00 00 00 07 04 06 00 C8 AF 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 97 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2A 58 00 00 35 04 06 00 3E 00 00 C5 [08:38:44]Write i2c OK [08:38:44]MH_I2C_Read... [08:38:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:38:44]Read from MH i2c: E2 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 03 00 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 03 00 E4 1F 00 90 00 77 [08:38:44]RAPDU: 90 00 [08:38:44]wFMCommunicate OK [08:38:44]wFMCommunicate request_size=10 [08:38:44]MH_SAM_APDU [08:38:44]CAPDU: 80 0D 02 02 05 1D 9F 76 BE E3 [08:38:44]Write to MH i2c: E2 0D 00 E5 1F 80 0D 02 02 05 00 1D 9F 76 BE E3 00 00 5B [08:38:44]Write i2c OK [08:38:44]MH_I2C_Read... [08:38:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:38:44]Read from MH i2c: E2 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 03 00 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 03 00 E5 1F 00 90 00 78 [08:38:44]RAPDU: 90 00 [08:38:44]wFMCommunicate OK [08:38:44]wFMCommunicate request_size=4 [08:38:44]MH_SAM_APDU [08:38:44]CAPDU: 80 0D 03 02 [08:38:44]Write to MH i2c: E2 08 00 E6 1F 80 0D 03 02 00 00 00 00 80 [08:38:44]Write i2c OK [08:38:44]MH_I2C_Read... [08:38:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:38:44]Read from MH i2c: E2 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 0B 00 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 0B 00 E6 1F 00 C3 85 74 96 F1 29 E3 8E 90 00 5E [08:38:44]RAPDU: C3 85 74 96 F1 29 E3 8E 90 00 [08:38:44]wFMCommunicate OK [08:38:44]SAM_PROTO_SignData done [08:38:44]FM_MakeSignedData done [08:38:44]CreateOFDProtocolMessage [08:38:44]wFMCommunicate request_size=4 [08:38:44]MH_SAM_APDU [08:38:44]CAPDU: 80 11 00 00 [08:38:44]Write to MH i2c: E2 08 00 E7 1F 80 11 00 00 00 00 00 00 80 [08:38:44]Write i2c OK [08:38:44]MH_I2C_Read... [08:38:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:38:44]Read from MH i2c: E2 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 17 00 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: E2 17 00 E7 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 DA [08:38:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:38:44]wFMCommunicate OK [08:38:44]CreateOFDProtocolMessage done [08:38:44]OFDSenderStorePacket 22570 [08:38:44]StoreOFDPacket docnum=22570 [08:38:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 5B 1D 07 01 84 42 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 7C 1A 00 00 00 00 13 04 06 00 DB AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 12 00 00 00 00 07 04 06 00 C8 AF 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 97 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2A 58 00 00 35 04 06 00 3E 1D 9F 76 BE E3 C3 85 74 96 F1 29 E3 8E [08:38:44]CheckFolder [08:38:44]dirname=/storage/ofd_packets [08:38:44]CheckFolder done [08:38:44]ProducePacketName [08:38:44]name=ofd_packets/00022570 [08:38:44]NVStorageSaveData ofd_packets/00022570 [08:38:44]File name is /storage/ofd_packets/00022570 [08:38:44]Write 301 bytes [08:38:44]NVStorageSaveData done [08:38:44]OFDSenderStorePacket done [08:38:44]KKMCreateOFDPacket done [08:38:44]NVStorageSaveData kkm_last_timestamp [08:38:44]File name is /storage/kkm_last_timestamp [08:38:44]Write 4 bytes [08:38:44]NVStorageSaveData done [08:38:44]ExternCall_PrintAddStr [08:38:44]wPrintStart [08:38:44]Write to MH i2c: 01 00 00 E8 1F 07 [08:38:44]Write i2c OK [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: 01 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: 01 07 00 [08:38:44]MH_I2C_Read... [08:38:44]Read from MH i2c: 01 07 00 E8 1F 00 00 00 00 00 FF 0F 1C [08:38:44]RasterBufferAndPrint [08:38:44]line Счет N : (1)2165379 [08:38:44]line ИÐÐ: 02508201610067 [08:38:44]line Контрольно-КаÑÑовый Чек [08:38:44]line ПРОДÐЖР[08:38:44]line ТРК (МРК, ГÐК) : 33 [08:38:44]line Товар: 2710124130 [08:38:44]line Ðи-92-К-5 [08:38:44]line 6.640 * 67.80 [08:38:44]line = 450.19 [08:38:44]line ÐДС 12% ÐСП 1% [08:38:44]line > о реализуемом товаре [08:38:44]line ОКРУГЛЕÐИЕ: -0.19 [08:38:44]line ИТОГО: 450.00 [08:38:44]line ВнеÑено: 450.00 [08:38:44]line СДÐЧÐ: 0.00 [08:38:44]line ÐСП 1% : 3.98 [08:38:44]line ÐДС 12% : 47.81 [08:38:44]line Ðаличными: 450.00 [08:38:44]line Безнал.: 0.00 [08:38:44]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:38:44]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:38:44]line СÐО: Общий режим [08:38:44]line Чек 34 26.09.2024 08:38 [08:38:44]line Смена: 232 ФФД: 1.0 [08:38:44]line ЗÐМ: 0300000061 [08:38:44]line РÐМ: 0000000000146243 [08:38:44]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:38:44]line ФМ: 0000000000959358 [08:38:44]line ФД: 22570 [08:38:44]line ФПД: 68296950333155 [08:38:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083847&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22570&fm=68296950333155&tin=02508201610067®Number=0000000000146243&sum=45000 [08:38:45]OFD Sender: Processing packet 22570 [packets to send 23, broken 22] [08:38:45]ProducePacketName [08:38:45]name=ofd_packets/00022570 [08:38:45]OFD Sender: To server: ‡•öpG, [08:38:45]CommunicateWithHost lk.salyk.kg:30040 [08:38:45]ConnectInit lk.salyk.kg [08:38:45]written 0, free lines is 4095 [08:38:45]Write to MH i2c: 01 00 00 13 20 33 [08:38:45]Write i2c OK [08:38:45]MH_I2C_Read... [08:38:45]Read from MH i2c: 01 [08:38:45]MH_I2C_Read... [08:38:45]Read from MH i2c: 01 07 00 [08:38:45]MH_I2C_Read... [08:38:45]Read from MH i2c: 01 07 00 13 20 00 00 00 00 00 EE 0C 34 [08:38:45]RasterBufferAndPrint [08:38:45]line [08:38:45]line [08:38:45]line [08:38:45]line [08:38:45]line [08:38:45]written 0, free lines is 3316 [08:38:45]MH_Cut [08:38:45]Write to MH i2c: D1 01 00 1A 20 01 0C [08:38:45]Write i2c OK [08:38:45]MH_I2C_Read... [08:38:45]Read from MH i2c: D1 [08:38:45]MH_I2C_Read... [08:38:45]Read from MH i2c: D1 01 00 [08:38:45]MH_I2C_Read... [08:38:45]Read from MH i2c: D1 01 00 1A 20 00 0B [08:38:45]Write to MH i2c: 01 00 00 1B 20 3B [08:38:45]Write i2c OK [08:38:45]MH_I2C_Read... [08:38:46]*** Cut start [08:38:46]*** Partial cut [08:38:46]*** CUTSNS_PIN = 1 [08:38:46]*** CUTSNS_PIN = 0 [08:38:46]*** Brake cut motor [08:38:46]Read from MH i2c: 01 [08:38:46]MH_I2C_Read... [08:38:46]*** Stop cut motor [08:38:46]*** Cut end [08:38:46]Read from MH i2c: 01 07 00 [08:38:46]MH_I2C_Read... [08:38:46]Read from MH i2c: 01 07 00 1B 20 00 00 00 00 00 FF 0F 50 [08:38:46]process_action close_receipt done [08:38:46]requested_data is exist [08:38:46]produce_requested_data [08:38:46]requested_item fm.sn is exist - process it [08:38:46]wFMCommunicate request_size=4 [08:38:46]MH_SAM_APDU [08:38:46]CAPDU: 80 11 00 00 [08:38:46]Write to MH i2c: E2 08 00 1C 20 80 11 00 00 00 00 00 00 B6 [08:38:46]Write i2c OK [08:38:46]MH_I2C_Read... [08:38:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:38:46]Read from MH i2c: E2 [08:38:46]MH_I2C_Read... [08:38:46]Read from MH i2c: E2 17 00 [08:38:46]MH_I2C_Read... [08:38:46]Read from MH i2c: E2 17 00 1C 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 10 [08:38:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:38:46]wFMCommunicate OK [08:38:46]requested_item fd.num is exist - process it [08:38:46]SAM_PROTO_GetFieldsCounters [08:38:46]wFMCommunicate request_size=4 [08:38:46]MH_SAM_APDU [08:38:46]CAPDU: 80 13 00 00 [08:38:46]Write to MH i2c: E2 08 00 1D 20 80 13 00 00 00 00 00 00 B9 [08:38:46]Write i2c OK [08:38:46]MH_I2C_Read... [08:38:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:38:46]Read from MH i2c: E2 [08:38:46]MH_I2C_Read... [08:38:46]Read from MH i2c: E2 62 00 [08:38:46]MH_I2C_Read... [08:38:46]Read from MH i2c: E2 62 00 1D 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2A 58 00 00 0E 04 04 00 E8 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 AC [08:38:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2A 58 00 00 0E 04 04 00 E8 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 [08:38:46]wFMCommunicate OK [08:38:46]SAM_PROTO_GetFieldsCounters done [08:38:46]requested_item shift.num is exist - process it [08:38:46]requested_item shift.opened is exist - process it [08:38:46]req_shift_opened [08:38:46]FM_GetShiftState [08:38:46]SAM_PROTO_GetShiftState [08:38:46]wFMCommunicate request_size=4 [08:38:46]MH_SAM_APDU [08:38:46]CAPDU: 80 13 01 00 [08:38:46]Write to MH i2c: E2 08 00 1E 20 80 13 01 00 00 00 00 00 BB [08:38:46]Write i2c OK [08:38:46]MH_I2C_Read... [08:38:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:38:46]Read from MH i2c: E2 [08:38:46]MH_I2C_Read... [08:38:46]Read from MH i2c: E2 0E 00 [08:38:46]MH_I2C_Read... [08:38:46]Read from MH i2c: E2 0E 00 1E 20 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 7B [08:38:46]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:38:46]wFMCommunicate OK [08:38:46]SAM_PROTO_GetShiftState done [08:38:46]FM_GetShiftState done [08:38:46]req_shift_opened done [08:38:46]requested_item shift.open_date is exist - process it [08:38:46]req_shift_open_date [08:38:46]req_shift_open_date done [08:38:46]produce_requested_data done [08:38:46]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22570,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:38:46]process_action_free close_receipt [08:38:46]json_value_free [08:38:46]json_value_free done [08:38:46]process_json_proto returns [08:38:46]Send response to host [08:38:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22570,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:38:46]free response buf [08:38:46]execute_script done [08:38:46]execute_script returns [08:38:46]free content buf [08:38:46]Sock 7.Close socket [08:38:46]Sock 7.Thread stoped [08:38:50]accept exits with 9 [08:38:50]New connection [08:38:50]New thread 3067583844 created [08:38:50]Thread 3067440484 joined [08:38:50]Waiting for new connection... [08:38:50] Sock 9.Parse request [08:38:50]Sock 9.Check first char [08:38:50]Sock 9.First char is OK [08:38:50]request: POST /json_proto HTTP/1.0 [08:38:50]Method: POST [08:38:50]URL: /json_proto [08:38:50]Method is POST - this is cgi request [08:38:50]url: /json_proto [08:38:50]query_string will be loaded in cgi processing [08:38:50]execute_cgi json_proto POST (null) [08:38:50]execute_cgi path=json_proto method=POST [08:38:50]POST find Content-Length [08:38:50]Host: 172.17.43.4:8080 [08:38:50]Content-Length: 756 [08:38:50]Content-Type: application/json [08:38:50] [08:38:50]POST finish read [08:38:50]Found Content-Length = 756 [08:38:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165378", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 0.00, "quantity" : 14.440, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:38:50]execute_script... [08: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)2165378", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 0.00, "quantity" : 14.440, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:38:50]POST & json_proto [08:38:50]process_json_proto [08:38:50]json parsed OK: [08:38:50]protocol is kg_v1.0 [08:38:50]action value=close_receipt [08:38:50]process_action close_receipt [08:38:50]cmd_close_receipt [08:38:50]MH_GetDate [08:38:50]Write to MH i2c: F0 00 00 1F 20 2E [08:38:50]Write i2c OK [08:38:50]MH_I2C_Read... [08:38:50]Read from MH i2c: F0 [08:38:50]MH_I2C_Read... [08:38:50]Read from MH i2c: F0 09 00 [08:38:50]MH_I2C_Read... [08:38:50]Read from MH i2c: F0 09 00 1F 20 00 9E 1D F5 66 02 BF CF 66 43 [08:38:50]GetLastDocTimeStamp 1727339927 [08:38:50]current date 1727339934 [08:38:50]FM_GetShiftState [08:38:50]SAM_PROTO_GetShiftState [08:38:50]wFMCommunicate request_size=4 [08:38:50]MH_SAM_APDU [08:38:50]CAPDU: 80 13 01 00 [08:38:50]Write to MH i2c: E2 08 00 20 20 80 13 01 00 00 00 00 00 BD [08:38:50]Write i2c OK [08:38:50]MH_I2C_Read... [08:38:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:38:50]Read from MH i2c: E2 [08:38:50]MH_I2C_Read... [08:38:50]Read from MH i2c: E2 0E 00 [08:38:50]MH_I2C_Read... [08:38:50]Read from MH i2c: E2 0E 00 20 20 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 7D [08:38:50]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:38:50]wFMCommunicate OK [08:38:50]SAM_PROTO_GetShiftState done [08:38:50]FM_GetShiftState done [08:38:50]opened in 1727309492 [08:38:50]opened+sec_in_day 1727395892 [08:38:50]quantity*price = 0 [08:38:50]sum+1 = 1 [08:38:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 35 26.09.2024 08:38 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000959358 ФД: 22571 ФПД: 270523766895441 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083854&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22571&fm=270523766895441&tin=02508201610067®Number=0000000000146243&sum=0 [08:38:51]StoreToDocumentArchive [08:38:51]shift 232 fd 22571 [08:38:51]save to /storage/0232/doc_00022571 [08:38:51]save last doc name /storage/0232/doc_00022571 to /storage/kkm_last_doc_name [08:38:51]save OK [08:38:51]Clear old archive folders... [08:38:51]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:38:51]tlvbuf is B6F42350 [08:38:51]SAM_PROTO_ClearQueue [08:38:51]wFMCommunicate request_size=4 [08:38:51]MH_SAM_APDU [08:38:51]CAPDU: 80 09 00 00 [08:38:51]Write to MH i2c: E2 08 00 2D 20 80 09 00 00 00 00 00 00 BF [08:38:51]Write i2c OK [08:38:51]MH_I2C_Read... [08:38:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:38:51]Read from MH i2c: E2 [08:38:51]MH_I2C_Read... [08:38:51]Read from MH i2c: E2 03 00 [08:38:51]MH_I2C_Read... [08:38:51]Read from MH i2c: E2 03 00 2D 20 00 90 00 C1 [08:38:51]RAPDU: 90 00 [08:38:51]wFMCommunicate OK [08:38:51]SAM_PROTO_ClearQueue done [08:38:51]KKMCreateOFDPacket [08:38:51]OFDProtocolAddRootSTLVToBuf [08:38:51]FM_MakeSignedData [08:38:51]FM_MakeSignedData [08:38:51]SAM_PROTO_SignData [08:38:51]wFMCommunicate request_size=4 [08:38:51]MH_SAM_APDU [08:38:51]CAPDU: 80 0D 01 02 [08:38:51]Write to MH i2c: E2 08 00 2E 20 80 0D 01 02 00 00 00 00 C7 [08:38:51]Write i2c OK [08:38:51]MH_I2C_Read... [08:38:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:38:51]Read from MH i2c: E2 [08:38:51]MH_I2C_Read... [08:38:51]Read from MH i2c: E2 03 00 [08:38:51]MH_I2C_Read... [08:38:51]Read from MH i2c: E2 03 00 2E 20 00 90 00 C2 [08:38:51]RAPDU: 90 00 [08:38:51]wFMCommunicate OK [08:38:51]wFMCommunicate request_size=255 [08:38:51]MH_SAM_APDU [08:38:51]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 38 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 9E 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2B 58 00 00 35 04 06 00 [08:38:51]Write to MH i2c: E2 02 01 2F 20 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 38 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 9E 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2B 58 00 00 35 04 06 00 00 00 41 [08:38:51]Write i2c OK [08:38:51]MH_I2C_Read... [08:38:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:38:52]Read from MH i2c: E2 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: E2 03 00 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: E2 03 00 2F 20 00 90 00 C3 [08:38:52]RAPDU: 90 00 [08:38:52]wFMCommunicate OK [08:38:52]wFMCommunicate request_size=11 [08:38:52]MH_SAM_APDU [08:38:52]CAPDU: 80 0D 02 02 06 F6 0A 39 07 73 51 [08:38:52]Write to MH i2c: E2 0E 00 30 20 80 0D 02 02 06 00 F6 0A 39 07 73 51 00 00 DA [08:38:52]Write i2c OK [08:38:52]MH_I2C_Read... [08:38:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:38:52]Read from MH i2c: E2 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: E2 03 00 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: E2 03 00 30 20 00 90 00 C4 [08:38:52]RAPDU: 90 00 [08:38:52]wFMCommunicate OK [08:38:52]wFMCommunicate request_size=4 [08:38:52]MH_SAM_APDU [08:38:52]CAPDU: 80 0D 03 02 [08:38:52]Write to MH i2c: E2 08 00 31 20 80 0D 03 02 00 00 00 00 CC [08:38:52]Write i2c OK [08:38:52]MH_I2C_Read... [08:38:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:38:52]Read from MH i2c: E2 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: E2 0B 00 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: E2 0B 00 31 20 00 A5 07 2E D6 AF 56 6C 0D 90 00 FB [08:38:52]RAPDU: A5 07 2E D6 AF 56 6C 0D 90 00 [08:38:52]wFMCommunicate OK [08:38:52]SAM_PROTO_SignData done [08:38:52]FM_MakeSignedData done [08:38:52]CreateOFDProtocolMessage [08:38:52]wFMCommunicate request_size=4 [08:38:52]MH_SAM_APDU [08:38:52]CAPDU: 80 11 00 00 [08:38:52]Write to MH i2c: E2 08 00 32 20 80 11 00 00 00 00 00 00 CC [08:38:52]Write i2c OK [08:38:52]MH_I2C_Read... [08:38:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:38:52]Read from MH i2c: E2 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: E2 17 00 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: E2 17 00 32 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 26 [08:38:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:38:52]wFMCommunicate OK [08:38:52]CreateOFDProtocolMessage done [08:38:52]OFDSenderStorePacket 22571 [08:38:52]StoreOFDPacket docnum=22571 [08:38:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 C2 C1 08 01 83 01 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 38 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 9E 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2B 58 00 00 35 04 06 00 F6 0A 39 07 73 51 A5 07 2E D6 AF 56 6C 0D [08:38:52]CheckFolder [08:38:52]dirname=/storage/ofd_packets [08:38:52]CheckFolder done [08:38:52]ProducePacketName [08:38:52]name=ofd_packets/00022571 [08:38:52]NVStorageSaveData ofd_packets/00022571 [08:38:52]File name is /storage/ofd_packets/00022571 [08:38:52]Write 302 bytes [08:38:52]NVStorageSaveData done [08:38:52]OFDSenderStorePacket done [08:38:52]KKMCreateOFDPacket done [08:38:52]NVStorageSaveData kkm_last_timestamp [08:38:52]File name is /storage/kkm_last_timestamp [08:38:52]Write 4 bytes [08:38:52]NVStorageSaveData done [08:38:52]ExternCall_PrintAddStr [08:38:52]wPrintStart [08:38:52]Write to MH i2c: 01 00 00 33 20 53 [08:38:52]Write i2c OK [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: 01 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: 01 07 00 [08:38:52]MH_I2C_Read... [08:38:52]Read from MH i2c: 01 07 00 33 20 00 00 00 00 00 FF 0F 68 [08:38:52]RasterBufferAndPrint [08:38:52]line Счет N : (1)2165378 [08:38:52]line ИÐÐ: 02508201610067 [08:38:52]line Контрольно-КаÑÑовый Чек [08:38:52]line ПРОДÐЖР[08:38:52]line ТРК (МРК, ГÐК) : 11 [08:38:52]line Товар: 2710124130 [08:38:52]line Super-92-К-5 [08:38:52]line 14.440 * 0.00 [08:38:52]line = 0.00 [08:38:52]line ÐДС 12% ÐСП 1% [08:38:52]line > о реализуемом товаре [08:38:52]line ИТОГО: 0.00 [08:38:52]line ÐСП 1% : 0.00 [08:38:52]line ÐДС 12% : 0.00 [08:38:52]line Ðаличными: 0.00 [08:38:52]line Безнал.: 0.00 [08:38:52]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:38:52]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:38:52]line СÐО: Общий режим [08:38:52]line Чек 35 26.09.2024 08:38 [08:38:52]line Смена: 232 ФФД: 1.0 [08:38:52]line ЗÐМ: 0300000061 [08:38:52]line РÐМ: 0000000000146243 [08:38:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:38:52]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [08:38:52]line ФМ: 0000000000959358 [08:38:52]line ФД: 22571 [08:38:52]line ФПД: 270523766895441 [08:38:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083854&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22571&fm=270523766895441&tin=02508201610067®Number=0000000000146243&sum=0 [08:38:52]written 0, free lines is 4095 [08:38:53]Write to MH i2c: 01 00 00 5C 20 7C [08:38:53]Write i2c OK [08:38:53]MH_I2C_Read... [08:38:53]Read from MH i2c: 01 [08:38:53]MH_I2C_Read... [08:38:53]Read from MH i2c: 01 07 00 [08:38:53]MH_I2C_Read... [08:38:53]Read from MH i2c: 01 07 00 5C 20 00 00 00 00 00 18 0D A8 [08:38:53]RasterBufferAndPrint [08:38:53]line [08:38:53]line [08:38:53]line [08:38:53]line [08:38:53]line [08:38:53]written 0, free lines is 3361 [08:38:53]MH_Cut [08:38:53]Write to MH i2c: D1 01 00 63 20 01 55 [08:38:53]Write i2c OK [08:38:53]MH_I2C_Read... [08:38:53]Read from MH i2c: D1 [08:38:53]MH_I2C_Read... [08:38:53]Read from MH i2c: D1 01 00 [08:38:53]MH_I2C_Read... [08:38:53]Read from MH i2c: D1 01 00 63 20 00 54 [08:38:53]Write to MH i2c: 01 00 00 64 20 84 [08:38:53]Write i2c OK [08:38:53]MH_I2C_Read... [08:38:53]*** Cut start [08:38:53]*** Partial cut [08:38:53]*** CUTSNS_PIN = 1 [08:38:53]*** CUTSNS_PIN = 0 [08:38:53]*** Brake cut motor [08:38:54]Read from MH i2c: 01 [08:38:54]MH_I2C_Read... [08:38:54]*** Stop cut motor [08:38:54]*** Cut end [08:38:54]Read from MH i2c: 01 07 00 [08:38:54]MH_I2C_Read... [08:38:54]Read from MH i2c: 01 07 00 64 20 00 00 00 00 00 FF 0F 99 [08:38:54]process_action close_receipt done [08:38:54]requested_data is exist [08:38:54]produce_requested_data [08:38:54]requested_item fm.sn is exist - process it [08:38:54]wFMCommunicate request_size=4 [08:38:54]MH_SAM_APDU [08:38:54]CAPDU: 80 11 00 00 [08:38:54]Write to MH i2c: E2 08 00 65 20 80 11 00 00 00 00 00 00 FF [08:38:54]Write i2c OK [08:38:54]MH_I2C_Read... [08:38:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:38:54]Read from MH i2c: E2 [08:38:54]MH_I2C_Read... [08:38:54]Read from MH i2c: E2 17 00 [08:38:54]MH_I2C_Read... [08:38:54]Read from MH i2c: E2 17 00 65 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 59 [08:38:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:38:54]wFMCommunicate OK [08:38:54]requested_item fd.num is exist - process it [08:38:54]SAM_PROTO_GetFieldsCounters [08:38:54]wFMCommunicate request_size=4 [08:38:54]MH_SAM_APDU [08:38:54]CAPDU: 80 13 00 00 [08:38:54]Write to MH i2c: E2 08 00 66 20 80 13 00 00 00 00 00 00 02 [08:38:54]Write i2c OK [08:38:54]MH_I2C_Read... [08:38:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:38:54]Read from MH i2c: E2 [08:38:54]MH_I2C_Read... [08:38:54]Read from MH i2c: E2 62 00 [08:38:54]MH_I2C_Read... [08:38:54]Read from MH i2c: E2 62 00 66 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2B 58 00 00 0E 04 04 00 E8 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 F9 [08:38:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2B 58 00 00 0E 04 04 00 E8 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 [08:38:54]wFMCommunicate OK [08:38:54]SAM_PROTO_GetFieldsCounters done [08:38:54]requested_item shift.num is exist - process it [08:38:54]requested_item shift.opened is exist - process it [08:38:54]req_shift_opened [08:38:54]FM_GetShiftState [08:38:54]SAM_PROTO_GetShiftState [08:38:54]wFMCommunicate request_size=4 [08:38:54]MH_SAM_APDU [08:38:54]CAPDU: 80 13 01 00 [08:38:54]Write to MH i2c: E2 08 00 67 20 80 13 01 00 00 00 00 00 04 [08:38:54]Write i2c OK [08:38:54]MH_I2C_Read... [08:38:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:38:54]Read from MH i2c: E2 [08:38:54]MH_I2C_Read... [08:38:54]Read from MH i2c: E2 0E 00 [08:38:54]MH_I2C_Read... [08:38:54]Read from MH i2c: E2 0E 00 67 20 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 C4 [08:38:54]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:38:54]wFMCommunicate OK [08:38:54]SAM_PROTO_GetShiftState done [08:38:54]FM_GetShiftState done [08:38:54]req_shift_opened done [08:38:54]requested_item shift.open_date is exist - process it [08:38:54]req_shift_open_date [08:38:54]req_shift_open_date done [08:38:54]produce_requested_data done [08:38:54]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22571,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:38:54]process_action_free close_receipt [08:38:54]json_value_free [08:38:54]json_value_free done [08:38:54]process_json_proto returns [08:38:54]Send response to host [08:38:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22571,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:38:54]free response buf [08:38:54]execute_script done [08:38:54]execute_script returns [08:38:54]free content buf [08:38:54]Sock 9.Close socket [08:38:54]Sock 9.Thread stoped [08:39:13]accept exits with 7 [08:39:13]New connection [08:39:13]New thread 3067440484 created [08:39:13]Thread 3067583844 joined [08:39:13]Waiting for new connection... [08:39:13] Sock 7.Parse request [08:39:13]Sock 7.Check first char [08:39:13]Sock 7.First char is OK [08:39:13]request: POST /json_proto HTTP/1.0 [08:39:13]Method: POST [08:39:13]URL: /json_proto [08:39:13]Method is POST - this is cgi request [08:39:13]url: /json_proto [08:39:13]query_string will be loaded in cgi processing [08:39:13]execute_cgi json_proto POST (null) [08:39:13]execute_cgi path=json_proto method=POST [08:39:13]POST find Content-Length [08:39:13]Host: 172.17.43.4:8080 [08:39:13]Content-Length: 683 [08:39:13]Content-Type: application/json [08:39:13] [08:39:13]POST finish read [08:39:13]Found Content-Length = 683 [08:39:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165380", "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" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "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" ] } } [08:39:13]execute_script... [08:39: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)2165380", "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" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "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" ] } } [08:39:13]POST & json_proto [08:39:13]process_json_proto [08:39:13]json parsed OK: [08:39:13]protocol is kg_v1.0 [08:39:13]action value=close_receipt [08:39:13]process_action close_receipt [08:39:13]cmd_close_receipt [08:39:13]MH_GetDate [08:39:13]Write to MH i2c: F0 00 00 68 20 77 [08:39:13]Write i2c OK [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: F0 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: F0 09 00 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: F0 09 00 68 20 00 B5 1D F5 66 02 BF CF 66 A3 [08:39:13]GetLastDocTimeStamp 1727339934 [08:39:13]current date 1727339957 [08:39:13]FM_GetShiftState [08:39:13]SAM_PROTO_GetShiftState [08:39:13]wFMCommunicate request_size=4 [08:39:13]MH_SAM_APDU [08:39:13]CAPDU: 80 13 01 00 [08:39:13]Write to MH i2c: E2 08 00 69 20 80 13 01 00 00 00 00 00 06 [08:39:13]Write i2c OK [08:39:13]MH_I2C_Read... [08:39:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:13]Read from MH i2c: E2 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: E2 0E 00 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: E2 0E 00 69 20 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 C6 [08:39:13]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:39:13]wFMCommunicate OK [08:39:13]SAM_PROTO_GetShiftState done [08:39:13]FM_GetShiftState done [08:39:13]opened in 1727309492 [08:39:13]opened+sec_in_day 1727395892 [08:39:13]quantity*price = 100005 [08:39:13]sum+1 = 100006 [08:39:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.05 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.20 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 36 26.09.2024 08:39 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22572 ФПД: 5378902762761 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083917&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22572&fm=5378902762761&tin=02508201610067®Number=0000000000146243&sum=100000 [08:39:14]StoreToDocumentArchive [08:39:14]shift 232 fd 22572 [08:39:14]save to /storage/0232/doc_00022572 [08:39:14]save last doc name /storage/0232/doc_00022572 to /storage/kkm_last_doc_name [08:39:14]save OK [08:39:14]Clear old archive folders... [08:39:14]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:39:14]tlvbuf is B6FF25B0 [08:39:14]SAM_PROTO_ClearQueue [08:39:14]wFMCommunicate request_size=4 [08:39:14]MH_SAM_APDU [08:39:14]CAPDU: 80 09 00 00 [08:39:14]Write to MH i2c: E2 08 00 76 20 80 09 00 00 00 00 00 00 08 [08:39:14]Write i2c OK [08:39:14]MH_I2C_Read... [08:39:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:39:14]Read from MH i2c: E2 [08:39:14]MH_I2C_Read... [08:39:14]Read from MH i2c: E2 03 00 [08:39:14]MH_I2C_Read... [08:39:14]Read from MH i2c: E2 03 00 76 20 00 90 00 0A [08:39:14]RAPDU: 90 00 [08:39:14]wFMCommunicate OK [08:39:14]SAM_PROTO_ClearQueue done [08:39:14]KKMCreateOFDPacket [08:39:14]OFDProtocolAddRootSTLVToBuf [08:39:14]FM_MakeSignedData [08:39:14]FM_MakeSignedData [08:39:14]SAM_PROTO_SignData [08:39:14]wFMCommunicate request_size=4 [08:39:14]MH_SAM_APDU [08:39:14]CAPDU: 80 0D 01 02 [08:39:14]Write to MH i2c: E2 08 00 77 20 80 0D 01 02 00 00 00 00 10 [08:39:14]Write i2c OK [08:39:14]MH_I2C_Read... [08:39:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:39:14]Read from MH i2c: E2 [08:39:14]MH_I2C_Read... [08:39:14]Read from MH i2c: E2 03 00 [08:39:14]MH_I2C_Read... [08:39:14]Read from MH i2c: E2 03 00 77 20 00 90 00 0B [08:39:14]RAPDU: 90 00 [08:39:14]wFMCommunicate OK [08:39:14]wFMCommunicate request_size=255 [08:39:14]MH_SAM_APDU [08:39:14]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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 24 00 00 00 F4 03 04 00 B5 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2C 58 00 00 35 04 06 00 04 [08:39:14]Write to MH i2c: E2 02 01 78 20 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 24 00 00 00 F4 03 04 00 B5 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2C 58 00 00 35 04 06 00 04 00 00 E1 [08:39:14]Write i2c OK [08:39:14]MH_I2C_Read... [08:39:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:15]Read from MH i2c: E2 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: E2 03 00 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: E2 03 00 78 20 00 90 00 0C [08:39:15]RAPDU: 90 00 [08:39:15]wFMCommunicate OK [08:39:15]wFMCommunicate request_size=10 [08:39:15]MH_SAM_APDU [08:39:15]CAPDU: 80 0D 02 02 05 E4 5F 96 A5 09 [08:39:15]Write to MH i2c: E2 0D 00 79 20 80 0D 02 02 05 00 E4 5F 96 A5 09 00 00 A4 [08:39:15]Write i2c OK [08:39:15]MH_I2C_Read... [08:39:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:15]Read from MH i2c: E2 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: E2 03 00 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: E2 03 00 79 20 00 90 00 0D [08:39:15]RAPDU: 90 00 [08:39:15]wFMCommunicate OK [08:39:15]wFMCommunicate request_size=4 [08:39:15]MH_SAM_APDU [08:39:15]CAPDU: 80 0D 03 02 [08:39:15]Write to MH i2c: E2 08 00 7A 20 80 0D 03 02 00 00 00 00 15 [08:39:15]Write i2c OK [08:39:15]MH_I2C_Read... [08:39:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:39:15]Read from MH i2c: E2 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: E2 0B 00 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: E2 0B 00 7A 20 00 C9 38 23 AF EB 10 EB C5 90 00 94 [08:39:15]RAPDU: C9 38 23 AF EB 10 EB C5 90 00 [08:39:15]wFMCommunicate OK [08:39:15]SAM_PROTO_SignData done [08:39:15]FM_MakeSignedData done [08:39:15]CreateOFDProtocolMessage [08:39:15]wFMCommunicate request_size=4 [08:39:15]MH_SAM_APDU [08:39:15]CAPDU: 80 11 00 00 [08:39:15]Write to MH i2c: E2 08 00 7B 20 80 11 00 00 00 00 00 00 15 [08:39:15]Write i2c OK [08:39:15]MH_I2C_Read... [08:39:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:15]Read from MH i2c: E2 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: E2 17 00 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: E2 17 00 7B 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 6F [08:39:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:39:15]wFMCommunicate OK [08:39:15]CreateOFDProtocolMessage done [08:39:15]OFDSenderStorePacket 22572 [08:39:15]StoreOFDPacket docnum=22572 [08:39:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 D2 2C 07 01 04 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 24 00 00 00 F4 03 04 00 B5 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2C 58 00 00 35 04 06 00 04 E4 5F 96 A5 09 C9 38 23 AF EB 10 EB C5 [08:39:15]CheckFolder [08:39:15]dirname=/storage/ofd_packets [08:39:15]CheckFolder done [08:39:15]ProducePacketName [08:39:15]name=ofd_packets/00022572 [08:39:15]NVStorageSaveData ofd_packets/00022572 [08:39:15]File name is /storage/ofd_packets/00022572 [08:39:15]Write 301 bytes [08:39:15]NVStorageSaveData done [08:39:15]OFDSenderStorePacket done [08:39:15]KKMCreateOFDPacket done [08:39:15]NVStorageSaveData kkm_last_timestamp [08:39:15]File name is /storage/kkm_last_timestamp [08:39:15]Write 4 bytes [08:39:15]NVStorageSaveData done [08:39:15]ExternCall_PrintAddStr [08:39:15]wPrintStart [08:39:15]Write to MH i2c: 01 00 00 7C 20 9C [08:39:15]Write i2c OK [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: 01 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: 01 07 00 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: 01 07 00 7C 20 00 00 00 00 00 FF 0F B1 [08:39:15]RasterBufferAndPrint [08:39:15]line Счет N : (1)2165380 [08:39:15]line ИÐÐ: 02508201610067 [08:39:15]line Контрольно-КаÑÑовый Чек [08:39:15]line ПРОДÐЖР[08:39:15]line ТРК (МРК, ГÐК) : 22 [08:39:15]line Товар: 2710124130 [08:39:15]line Ðи-92-К-5 [08:39:15]line 14.750 * 67.80 [08:39:15]line = 1000.05 [08:39:15]line ÐДС 12% ÐСП 1% [08:39:15]line > о реализуемом товаре [08:39:15]line ОКРУГЛЕÐИЕ: -0.05 [08:39:15]line ИТОГО: 1000.00 [08:39:15]line ВнеÑено: 1000.00 [08:39:15]line СДÐЧÐ: 0.00 [08:39:15]line ÐСП 1% : 8.85 [08:39:15]line ÐДС 12% : 106.20 [08:39:15]line Ðаличными: 1000.00 [08:39:15]line Безнал.: 0.00 [08:39:15]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:39:15]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:39:15]line СÐО: Общий режим [08:39:15]line Чек 36 26.09.2024 08:39 [08:39:15]line Смена: 232 ФФД: 1.0 [08:39:15]line ЗÐМ: 0300000061 [08:39:15]line РÐМ: 0000000000146243 [08:39:15]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:39:15]line ФМ: 0000000000959358 [08:39:15]line ФД: 22572 [08:39:15]line ФПД: 5378902762761 [08:39:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T083917&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22572&fm=5378902762761&tin=02508201610067®Number=0000000000146243&sum=100000 [08:39:15]written 0, free lines is 4095 [08:39:15]Write to MH i2c: 01 00 00 A7 20 C7 [08:39:15]Write i2c OK [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: 01 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: 01 07 00 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: 01 07 00 A7 20 00 00 00 00 00 F5 0C CF [08:39:15]RasterBufferAndPrint [08:39:15]line [08:39:15]line [08:39:15]line [08:39:15]line [08:39:15]line [08:39:15]written 0, free lines is 3323 [08:39:15]MH_Cut [08:39:15]Write to MH i2c: D1 01 00 AE 20 01 A0 [08:39:15]Write i2c OK [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: D1 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: D1 01 00 [08:39:15]MH_I2C_Read... [08:39:15]Read from MH i2c: D1 01 00 AE 20 00 9F [08:39:15]Write to MH i2c: 01 00 00 AF 20 CF [08:39:15]Write i2c OK [08:39:15]MH_I2C_Read... [08:39:16]*** Cut start [08:39:16]*** Partial cut [08:39:16]*** CUTSNS_PIN = 1 [08:39:16]*** CUTSNS_PIN = 0 [08:39:16]*** Brake cut motor [08:39:17]Read from MH i2c: 01 [08:39:17]MH_I2C_Read... [08:39:17]*** Stop cut motor [08:39:17]*** Cut end [08:39:17]Read from MH i2c: 01 07 00 [08:39:17]MH_I2C_Read... [08:39:17]Read from MH i2c: 01 07 00 AF 20 00 00 00 00 00 FF 0F E4 [08:39:17]process_action close_receipt done [08:39:17]requested_data is exist [08:39:17]produce_requested_data [08:39:17]requested_item fm.sn is exist - process it [08:39:17]wFMCommunicate request_size=4 [08:39:17]MH_SAM_APDU [08:39:17]CAPDU: 80 11 00 00 [08:39:17]Write to MH i2c: E2 08 00 B0 20 80 11 00 00 00 00 00 00 4A [08:39:17]Write i2c OK [08:39:17]MH_I2C_Read... [08:39:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:17]Read from MH i2c: E2 [08:39:17]MH_I2C_Read... [08:39:17]Read from MH i2c: E2 17 00 [08:39:17]MH_I2C_Read... [08:39:17]Read from MH i2c: E2 17 00 B0 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A4 [08:39:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:39:17]wFMCommunicate OK [08:39:17]requested_item fd.num is exist - process it [08:39:17]SAM_PROTO_GetFieldsCounters [08:39:17]wFMCommunicate request_size=4 [08:39:17]MH_SAM_APDU [08:39:17]CAPDU: 80 13 00 00 [08:39:17]Write to MH i2c: E2 08 00 B1 20 80 13 00 00 00 00 00 00 4D [08:39:17]Write i2c OK [08:39:17]MH_I2C_Read... [08:39:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:39:17]Read from MH i2c: E2 [08:39:17]MH_I2C_Read... [08:39:17]Read from MH i2c: E2 62 00 [08:39:17]MH_I2C_Read... [08:39:17]Read from MH i2c: E2 62 00 B1 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2C 58 00 00 0E 04 04 00 E8 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 48 [08:39:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2C 58 00 00 0E 04 04 00 E8 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 [08:39:17]wFMCommunicate OK [08:39:17]SAM_PROTO_GetFieldsCounters done [08:39:17]requested_item shift.num is exist - process it [08:39:17]requested_item shift.opened is exist - process it [08:39:17]req_shift_opened [08:39:17]FM_GetShiftState [08:39:17]SAM_PROTO_GetShiftState [08:39:17]wFMCommunicate request_size=4 [08:39:17]MH_SAM_APDU [08:39:17]CAPDU: 80 13 01 00 [08:39:17]Write to MH i2c: E2 08 00 B2 20 80 13 01 00 00 00 00 00 4F [08:39:17]Write i2c OK [08:39:17]MH_I2C_Read... [08:39:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:17]Read from MH i2c: E2 [08:39:17]MH_I2C_Read... [08:39:17]Read from MH i2c: E2 0E 00 [08:39:17]MH_I2C_Read... [08:39:17]Read from MH i2c: E2 0E 00 B2 20 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 0F [08:39:17]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:39:17]wFMCommunicate OK [08:39:17]SAM_PROTO_GetShiftState done [08:39:17]FM_GetShiftState done [08:39:17]req_shift_opened done [08:39:17]requested_item shift.open_date is exist - process it [08:39:17]req_shift_open_date [08:39:17]req_shift_open_date done [08:39:17]produce_requested_data done [08:39:17]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22572,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:39:17]process_action_free close_receipt [08:39:17]json_value_free [08:39:17]json_value_free done [08:39:17]process_json_proto returns [08:39:17]Send response to host [08:39:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22572,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:39:17]free response buf [08:39:17]execute_script done [08:39:17]execute_script returns [08:39:17]free content buf [08:39:17]Sock 7.Close socket [08:39:17]Sock 7.Thread stoped [08:40:11]accept exits with 9 [08:40:11]New connection [08:40:11]New thread 3067583844 created [08:40:11]Thread 3067440484 joined [08:40:11]Waiting for new connection... [08:40:11] Sock 9.Parse request [08:40:11]Sock 9.Check first char [08:40:11]Sock 9.First char is OK [08:40:11]request: POST /json_proto HTTP/1.0 [08:40:11]Method: POST [08:40:11]URL: /json_proto [08:40:11]Method is POST - this is cgi request [08:40:11]url: /json_proto [08:40:11]query_string will be loaded in cgi processing [08:40:11]execute_cgi json_proto POST (null) [08:40:11]execute_cgi path=json_proto method=POST [08:40:11]POST find Content-Length [08:40:11]Host: 172.17.43.4:8080 [08:40:11]Content-Length: 636 [08:40:11]Content-Type: application/json [08:40:11] [08:40:11]POST finish read [08:40:11]Found Content-Length = 636 [08:40:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165381", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 14.430, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:11]execute_script... [08:40: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)2165381", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 14.430, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:11]POST & json_proto [08:40:11]process_json_proto [08:40:11]json parsed OK: [08:40:11]protocol is kg_v1.0 [08:40:11]action value=close_receipt [08:40:11]process_action close_receipt [08:40:11]cmd_close_receipt [08:40:11]MH_GetDate [08:40:11]Write to MH i2c: F0 00 00 B3 20 C2 [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: F0 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: F0 09 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: F0 09 00 B3 20 00 EF 1D F5 66 02 BF CF 66 28 [08:40:11]GetLastDocTimeStamp 1727339957 [08:40:11]current date 1727340015 [08:40:11]FM_GetShiftState [08:40:11]SAM_PROTO_GetShiftState [08:40:11]wFMCommunicate request_size=4 [08:40:11]MH_SAM_APDU [08:40:11]CAPDU: 80 13 01 00 [08:40:11]Write to MH i2c: E2 08 00 B4 20 80 13 01 00 00 00 00 00 51 [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:11]Read from MH i2c: E2 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 0E 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 0E 00 B4 20 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 11 [08:40:11]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:40:11]wFMCommunicate OK [08:40:11]SAM_PROTO_GetShiftState done [08:40:11]FM_GetShiftState done [08:40:11]opened in 1727309492 [08:40:11]opened+sec_in_day 1727395892 [08:40:11]quantity*price = 99999 [08:40:11]sum+1 = 100001 [08:40:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.00 ÐСП 1% : 8.85 ÐДС 12% : 106.19 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 37 26.09.2024 08:40 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22573 ФПД: 123650628737718 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084015&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22573&fm=123650628737718&tin=02508201610067®Number=0000000000146243&sum=100000 [08:40:12]StoreToDocumentArchive [08:40:12]shift 232 fd 22573 [08:40:12]save to /storage/0232/doc_00022573 [08:40:12]save last doc name /storage/0232/doc_00022573 to /storage/kkm_last_doc_name [08:40:12]save OK [08:40:12]Clear old archive folders... [08:40:12]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:40:12]tlvbuf is 00204E00 [08:40:12]SAM_PROTO_ClearQueue [08:40:12]wFMCommunicate request_size=4 [08:40:12]MH_SAM_APDU [08:40:12]CAPDU: 80 09 00 00 [08:40:12]Write to MH i2c: E2 08 00 C1 20 80 09 00 00 00 00 00 00 53 [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:40:12]Read from MH i2c: E2 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 03 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 03 00 C1 20 00 90 00 55 [08:40:12]RAPDU: 90 00 [08:40:12]wFMCommunicate OK [08:40:12]SAM_PROTO_ClearQueue done [08:40:12]KKMCreateOFDPacket [08:40:12]OFDProtocolAddRootSTLVToBuf [08:40:12]FM_MakeSignedData [08:40:12]FM_MakeSignedData [08:40:12]SAM_PROTO_SignData [08:40:12]wFMCommunicate request_size=4 [08:40:12]MH_SAM_APDU [08:40:12]CAPDU: 80 0D 01 02 [08:40:12]Write to MH i2c: E2 08 00 C2 20 80 0D 01 02 00 00 00 00 5B [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:40:12]Read from MH i2c: E2 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 03 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 03 00 C2 20 00 90 00 56 [08:40:12]RAPDU: 90 00 [08:40:12]wFMCommunicate OK [08:40:12]wFMCommunicate request_size=255 [08:40:12]MH_SAM_APDU [08:40:12]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7B 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 EF 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2D 58 00 00 35 04 06 00 [08:40:12]Write to MH i2c: E2 02 01 C3 20 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7B 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 EF 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2D 58 00 00 35 04 06 00 00 00 DE [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:12]Read from MH i2c: E2 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 03 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 03 00 C3 20 00 90 00 57 [08:40:12]RAPDU: 90 00 [08:40:12]wFMCommunicate OK [08:40:12]wFMCommunicate request_size=11 [08:40:12]MH_SAM_APDU [08:40:12]CAPDU: 80 0D 02 02 06 70 75 A7 CD 5A B6 [08:40:12]Write to MH i2c: E2 0E 00 C4 20 80 0D 02 02 06 00 70 75 A7 CD 5A B6 00 00 D3 [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:12]Read from MH i2c: E2 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 03 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 03 00 C4 20 00 90 00 58 [08:40:12]RAPDU: 90 00 [08:40:12]wFMCommunicate OK [08:40:12]wFMCommunicate request_size=4 [08:40:12]MH_SAM_APDU [08:40:12]CAPDU: 80 0D 03 02 [08:40:12]Write to MH i2c: E2 08 00 C5 20 80 0D 03 02 00 00 00 00 60 [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:40:12]Read from MH i2c: E2 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 0B 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 0B 00 C5 20 00 74 D0 44 B7 23 F6 96 6E 90 00 BD [08:40:12]RAPDU: 74 D0 44 B7 23 F6 96 6E 90 00 [08:40:12]wFMCommunicate OK [08:40:12]SAM_PROTO_SignData done [08:40:12]FM_MakeSignedData done [08:40:12]CreateOFDProtocolMessage [08:40:12]wFMCommunicate request_size=4 [08:40:12]MH_SAM_APDU [08:40:12]CAPDU: 80 11 00 00 [08:40:12]Write to MH i2c: E2 08 00 C6 20 80 11 00 00 00 00 00 00 60 [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:12]Read from MH i2c: E2 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 17 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: E2 17 00 C6 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BA [08:40:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:40:12]wFMCommunicate OK [08:40:12]CreateOFDProtocolMessage done [08:40:12]OFDSenderStorePacket 22573 [08:40:12]StoreOFDPacket docnum=22573 [08:40:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 FB EF 08 01 29 07 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7B 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 EF 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2D 58 00 00 35 04 06 00 70 75 A7 CD 5A B6 74 D0 44 B7 23 F6 96 6E [08:40:12]CheckFolder [08:40:12]dirname=/storage/ofd_packets [08:40:12]CheckFolder done [08:40:12]ProducePacketName [08:40:12]name=ofd_packets/00022573 [08:40:12]NVStorageSaveData ofd_packets/00022573 [08:40:12]File name is /storage/ofd_packets/00022573 [08:40:12]Write 302 bytes [08:40:12]NVStorageSaveData done [08:40:12]OFDSenderStorePacket done [08:40:12]KKMCreateOFDPacket done [08:40:12]NVStorageSaveData kkm_last_timestamp [08:40:12]File name is /storage/kkm_last_timestamp [08:40:12]Write 4 bytes [08:40:12]NVStorageSaveData done [08:40:12]ExternCall_PrintAddStr [08:40:12]wPrintStart [08:40:12]Write to MH i2c: 01 00 00 C7 20 E7 [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: 01 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: 01 07 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: 01 07 00 C7 20 00 00 00 00 00 FF 0F FC [08:40:12]RasterBufferAndPrint [08:40:12]line Счет N : (1)2165381 [08:40:12]line ИÐÐ: 02508201610067 [08:40:12]line Контрольно-КаÑÑовый Чек [08:40:12]line ПРОДÐЖР[08:40:12]line ТРК (МРК, ГÐК) : 11 [08:40:12]line Товар: 2710124130 [08:40:12]line Super-92-К-5 [08:40:12]line 14.430 * 69.30 [08:40:12]line = 1000.00 [08:40:12]line ÐДС 12% ÐСП 1% [08:40:12]line > о реализуемом товаре [08:40:12]line ИТОГО: 1000.00 [08:40:12]line ÐСП 1% : 8.85 [08:40:12]line ÐДС 12% : 106.19 [08:40:12]line Ðаличными: 1000.00 [08:40:12]line Безнал.: 0.00 [08:40:12]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:40:12]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:40:12]line СÐО: Общий режим [08:40:12]line Чек 37 26.09.2024 08:40 [08:40:12]line Смена: 232 ФФД: 1.0 [08:40:12]line ЗÐМ: 0300000061 [08:40:12]line РÐМ: 0000000000146243 [08:40:12]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:40:12]line ФМ: 0000000000959358 [08:40:12]line ФД: 22573 [08:40:12]line ФПД: 123650628737718 [08:40:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084015&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22573&fm=123650628737718&tin=02508201610067®Number=0000000000146243&sum=100000 [08:40:13]written 0, free lines is 4095 [08:40:13]Write to MH i2c: 01 00 00 EF 20 0F [08:40:13]Write i2c OK [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: 01 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: 01 07 00 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: 01 07 00 EF 20 00 00 00 00 00 24 0D 47 [08:40:13]RasterBufferAndPrint [08:40:13]line [08:40:13]line [08:40:13]line [08:40:13]line [08:40:13]line [08:40:13]written 0, free lines is 3370 [08:40:13]MH_Cut [08:40:13]Write to MH i2c: D1 01 00 F6 20 01 E8 [08:40:13]Write i2c OK [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: D1 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: D1 01 00 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: D1 01 00 F6 20 00 E7 [08:40:13]Write to MH i2c: 01 00 00 F7 20 17 [08:40:13]Write i2c OK [08:40:13]MH_I2C_Read... [08:40:14]*** Cut start [08:40:14]*** Partial cut [08:40:14]*** CUTSNS_PIN = 1 [08:40:14]*** CUTSNS_PIN = 0 [08:40:14]*** Brake cut motor [08:40:14]Read from MH i2c: 01 [08:40:14]MH_I2C_Read... [08:40:14]*** Stop cut motor [08:40:14]*** Cut end [08:40:14]Read from MH i2c: 01 07 00 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: 01 07 00 F7 20 00 00 00 00 00 FF 0F 2C [08:40:14]process_action close_receipt done [08:40:14]requested_data is exist [08:40:14]produce_requested_data [08:40:14]requested_item fm.sn is exist - process it [08:40:14]wFMCommunicate request_size=4 [08:40:14]MH_SAM_APDU [08:40:14]CAPDU: 80 11 00 00 [08:40:14]Write to MH i2c: E2 08 00 F8 20 80 11 00 00 00 00 00 00 92 [08:40:14]Write i2c OK [08:40:14]MH_I2C_Read... [08:40:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:14]Read from MH i2c: E2 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: E2 17 00 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: E2 17 00 F8 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 EC [08:40:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:40:15]wFMCommunicate OK [08:40:15]requested_item fd.num is exist - process it [08:40:15]SAM_PROTO_GetFieldsCounters [08:40:15]wFMCommunicate request_size=4 [08:40:15]MH_SAM_APDU [08:40:15]CAPDU: 80 13 00 00 [08:40:15]Write to MH i2c: E2 08 00 F9 20 80 13 00 00 00 00 00 00 95 [08:40:15]Write i2c OK [08:40:15]MH_I2C_Read... [08:40:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:40:15]Read from MH i2c: E2 [08:40:15]MH_I2C_Read... [08:40:15]Read from MH i2c: E2 62 00 [08:40:15]MH_I2C_Read... [08:40:15]Read from MH i2c: E2 62 00 F9 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2D 58 00 00 0E 04 04 00 E8 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 94 [08:40:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2D 58 00 00 0E 04 04 00 E8 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 [08:40:15]wFMCommunicate OK [08:40:15]SAM_PROTO_GetFieldsCounters done [08:40:15]requested_item shift.num is exist - process it [08:40:15]requested_item shift.opened is exist - process it [08:40:15]req_shift_opened [08:40:15]FM_GetShiftState [08:40:15]SAM_PROTO_GetShiftState [08:40:15]wFMCommunicate request_size=4 [08:40:15]MH_SAM_APDU [08:40:15]CAPDU: 80 13 01 00 [08:40:15]Write to MH i2c: E2 08 00 FA 20 80 13 01 00 00 00 00 00 97 [08:40:15]Write i2c OK [08:40:15]MH_I2C_Read... [08:40:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:15]Read from MH i2c: E2 [08:40:15]MH_I2C_Read... [08:40:15]Read from MH i2c: E2 0E 00 [08:40:15]MH_I2C_Read... [08:40:15]Read from MH i2c: E2 0E 00 FA 20 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 57 [08:40:15]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:40:15]wFMCommunicate OK [08:40:15]SAM_PROTO_GetShiftState done [08:40:15]FM_GetShiftState done [08:40:15]req_shift_opened done [08:40:15]requested_item shift.open_date is exist - process it [08:40:15]req_shift_open_date [08:40:15]req_shift_open_date done [08:40:15]produce_requested_data done [08:40:15]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22573,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:40:15]process_action_free close_receipt [08:40:15]json_value_free [08:40:15]json_value_free done [08:40:15]process_json_proto returns [08:40:15]Send response to host [08:40:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22573,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:40:15]free response buf [08:40:15]execute_script done [08:40:15]execute_script returns [08:40:15]free content buf [08:40:15]Sock 9.Close socket [08:40:15]Sock 9.Thread stoped [08:40:38]accept exits with 7 [08:40:38]New connection [08:40:38]New thread 3067440484 created [08:40:38]Thread 3067583844 joined [08:40:38]Waiting for new connection... [08:40:38] Sock 7.Parse request [08:40:38]Sock 7.Check first char [08:40:38]Sock 7.First char is OK [08:40:38]request: POST /json_proto HTTP/1.0 [08:40:38]Method: POST [08:40:38]URL: /json_proto [08:40:38]Method is POST - this is cgi request [08:40:38]url: /json_proto [08:40:38]query_string will be loaded in cgi processing [08:40:38]execute_cgi json_proto POST (null) [08:40:38]execute_cgi path=json_proto method=POST [08:40:38]POST find Content-Length [08:40:38]Host: 172.17.43.4:8080 [08:40:38]Content-Length: 679 [08:40:38]Content-Type: application/json [08:40:38] [08:40:38]POST finish read [08:40:38]Found Content-Length = 679 [08:40:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165382", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.330, "sum" : 700.37, "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" ] } } [08:40:38]execute_script... [08:40:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165382", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.330, "sum" : 700.37, "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" ] } } [08:40:38]POST & json_proto [08:40:38]process_json_proto [08:40:38]json parsed OK: [08:40:38]protocol is kg_v1.0 [08:40:38]action value=close_receipt [08:40:38]process_action close_receipt [08:40:38]cmd_close_receipt [08:40:38]MH_GetDate [08:40:38]Write to MH i2c: F0 00 00 FB 20 0A [08:40:38]Write i2c OK [08:40:38]MH_I2C_Read... [08:40:38]Read from MH i2c: F0 [08:40:38]MH_I2C_Read... [08:40:38]Read from MH i2c: F0 09 00 [08:40:38]MH_I2C_Read... [08:40:38]Read from MH i2c: F0 09 00 FB 20 00 0B 1E F5 66 02 BF CF 66 8D [08:40:38]GetLastDocTimeStamp 1727340015 [08:40:38]current date 1727340043 [08:40:38]FM_GetShiftState [08:40:38]SAM_PROTO_GetShiftState [08:40:38]wFMCommunicate request_size=4 [08:40:38]MH_SAM_APDU [08:40:38]CAPDU: 80 13 01 00 [08:40:38]Write to MH i2c: E2 08 00 FC 20 80 13 01 00 00 00 00 00 99 [08:40:38]Write i2c OK [08:40:38]MH_I2C_Read... [08:40:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:38]Read from MH i2c: E2 [08:40:38]MH_I2C_Read... [08:40:38]Read from MH i2c: E2 0E 00 [08:40:38]MH_I2C_Read... [08:40:38]Read from MH i2c: E2 0E 00 FC 20 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 59 [08:40:38]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:40:38]wFMCommunicate OK [08:40:38]SAM_PROTO_GetShiftState done [08:40:38]FM_GetShiftState done [08:40:38]opened in 1727309492 [08:40:38]opened+sec_in_day 1727395892 [08:40:38]quantity*price = 70037 [08:40:38]sum+1 = 70038 [08:40:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.37 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.38 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 38 26.09.2024 08:40 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22574 ФПД: 39022594847994 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084043&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22574&fm=39022594847994&tin=02508201610067®Number=0000000000146243&sum=70000 [08:40:39]StoreToDocumentArchive [08:40:39]shift 232 fd 22574 [08:40:39]save to /storage/0232/doc_00022574 [08:40:39]save last doc name /storage/0232/doc_00022574 to /storage/kkm_last_doc_name [08:40:39]save OK [08:40:39]Clear old archive folders... [08:40:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:40:39]tlvbuf is B6FF29E0 [08:40:39]SAM_PROTO_ClearQueue [08:40:39]wFMCommunicate request_size=4 [08:40:39]MH_SAM_APDU [08:40:39]CAPDU: 80 09 00 00 [08:40:39]Write to MH i2c: E2 08 00 09 21 80 09 00 00 00 00 00 00 9C [08:40:39]Write i2c OK [08:40:39]MH_I2C_Read... [08:40:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:40:39]Read from MH i2c: E2 [08:40:39]MH_I2C_Read... [08:40:39]Read from MH i2c: E2 03 00 [08:40:39]MH_I2C_Read... [08:40:39]Read from MH i2c: E2 03 00 09 21 00 90 00 9E [08:40:39]RAPDU: 90 00 [08:40:39]wFMCommunicate OK [08:40:39]SAM_PROTO_ClearQueue done [08:40:39]KKMCreateOFDPacket [08:40:39]OFDProtocolAddRootSTLVToBuf [08:40:39]FM_MakeSignedData [08:40:39]FM_MakeSignedData [08:40:39]SAM_PROTO_SignData [08:40:39]wFMCommunicate request_size=4 [08:40:39]MH_SAM_APDU [08:40:39]CAPDU: 80 0D 01 02 [08:40:39]Write to MH i2c: E2 08 00 0A 21 80 0D 01 02 00 00 00 00 A4 [08:40:39]Write i2c OK [08:40:39]MH_I2C_Read... [08:40:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:40:40]Read from MH i2c: E2 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 03 00 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 03 00 0A 21 00 90 00 9F [08:40:40]RAPDU: 90 00 [08:40:40]wFMCommunicate OK [08:40:40]wFMCommunicate request_size=255 [08:40:40]MH_SAM_APDU [08:40: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 5A 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 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 26 00 00 00 F4 03 04 00 0B 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2E 58 00 00 35 04 06 00 23 [08:40:40]Write to MH i2c: E2 02 01 0B 21 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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 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 26 00 00 00 F4 03 04 00 0B 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2E 58 00 00 35 04 06 00 23 00 00 47 [08:40:40]Write i2c OK [08:40:40]MH_I2C_Read... [08:40:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:40]Read from MH i2c: E2 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 03 00 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 03 00 0B 21 00 90 00 A0 [08:40:40]RAPDU: 90 00 [08:40:40]wFMCommunicate OK [08:40:40]wFMCommunicate request_size=10 [08:40:40]MH_SAM_APDU [08:40:40]CAPDU: 80 0D 02 02 05 7D A7 E7 74 FA [08:40:40]Write to MH i2c: E2 0D 00 0C 21 80 0D 02 02 05 00 7D A7 E7 74 FA 00 00 2A [08:40:40]Write i2c OK [08:40:40]MH_I2C_Read... [08:40:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:40]Read from MH i2c: E2 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 03 00 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 03 00 0C 21 00 90 00 A1 [08:40:40]RAPDU: 90 00 [08:40:40]wFMCommunicate OK [08:40:40]wFMCommunicate request_size=4 [08:40:40]MH_SAM_APDU [08:40:40]CAPDU: 80 0D 03 02 [08:40:40]Write to MH i2c: E2 08 00 0D 21 80 0D 03 02 00 00 00 00 A9 [08:40:40]Write i2c OK [08:40:40]MH_I2C_Read... [08:40:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:40:40]Read from MH i2c: E2 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 0B 00 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 0B 00 0D 21 00 2B 30 47 1B 39 CD 13 59 90 00 D9 [08:40:40]RAPDU: 2B 30 47 1B 39 CD 13 59 90 00 [08:40:40]wFMCommunicate OK [08:40:40]SAM_PROTO_SignData done [08:40:40]FM_MakeSignedData done [08:40:40]CreateOFDProtocolMessage [08:40:40]wFMCommunicate request_size=4 [08:40:40]MH_SAM_APDU [08:40:40]CAPDU: 80 11 00 00 [08:40:40]Write to MH i2c: E2 08 00 0E 21 80 11 00 00 00 00 00 00 A9 [08:40:40]Write i2c OK [08:40:40]MH_I2C_Read... [08:40:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:40]Read from MH i2c: E2 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 17 00 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: E2 17 00 0E 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 03 [08:40:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:40:40]wFMCommunicate OK [08:40:40]CreateOFDProtocolMessage done [08:40:40]OFDSenderStorePacket 22574 [08:40:40]StoreOFDPacket docnum=22574 [08:40:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 C5 3D 07 01 2D 61 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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 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 26 00 00 00 F4 03 04 00 0B 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2E 58 00 00 35 04 06 00 23 7D A7 E7 74 FA 2B 30 47 1B 39 CD 13 59 [08:40:40]CheckFolder [08:40:40]dirname=/storage/ofd_packets [08:40:40]CheckFolder done [08:40:40]ProducePacketName [08:40:40]name=ofd_packets/00022574 [08:40:40]NVStorageSaveData ofd_packets/00022574 [08:40:40]File name is /storage/ofd_packets/00022574 [08:40:40]Write 301 bytes [08:40:40]NVStorageSaveData done [08:40:40]OFDSenderStorePacket done [08:40:40]KKMCreateOFDPacket done [08:40:40]NVStorageSaveData kkm_last_timestamp [08:40:40]File name is /storage/kkm_last_timestamp [08:40:40]Write 4 bytes [08:40:40]NVStorageSaveData done [08:40:40]ExternCall_PrintAddStr [08:40:40]wPrintStart [08:40:40]Write to MH i2c: 01 00 00 0F 21 30 [08:40:40]Write i2c OK [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: 01 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: 01 07 00 [08:40:40]MH_I2C_Read... [08:40:40]Read from MH i2c: 01 07 00 0F 21 00 00 00 00 00 FF 0F 45 [08:40:40]RasterBufferAndPrint [08:40:40]line Счет N : (1)2165382 [08:40:40]line ИÐÐ: 02508201610067 [08:40:40]line Контрольно-КаÑÑовый Чек [08:40:40]line ПРОДÐЖР[08:40:40]line ТРК (МРК, ГÐК) : 43 [08:40:40]line Товар: 2710124130 [08:40:40]line Ðи-92-К-5 [08:40:40]line 10.330 * 67.80 [08:40:40]line = 700.37 [08:40:40]line ÐДС 12% ÐСП 1% [08:40:40]line > о реализуемом товаре [08:40:40]line ОКРУГЛЕÐИЕ: -0.37 [08:40:40]line ИТОГО: 700.00 [08:40:40]line ВнеÑено: 700.00 [08:40:40]line СДÐЧÐ: 0.00 [08:40:40]line ÐСП 1% : 6.20 [08:40:40]line ÐДС 12% : 74.38 [08:40:40]line Ðаличными: 700.00 [08:40:40]line Безнал.: 0.00 [08:40:40]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:40:40]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:40:40]line СÐО: Общий режим [08:40:40]line Чек 38 26.09.2024 08:40 [08:40:40]line Смена: 232 ФФД: 1.0 [08:40:40]line ЗÐМ: 0300000061 [08:40:40]line РÐМ: 0000000000146243 [08:40:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:40:40]line ФМ: 0000000000959358 [08:40:40]line ФД: 22574 [08:40:40]line ФПД: 39022594847994 [08:40:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084043&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22574&fm=39022594847994&tin=02508201610067®Number=0000000000146243&sum=70000 [08:40:40]written 0, free lines is 4095 [08:40:41]Write to MH i2c: 01 00 00 3A 21 5B [08:40:41]Write i2c OK [08:40:41]MH_I2C_Read... [08:40:41]Read from MH i2c: 01 [08:40:41]MH_I2C_Read... [08:40:41]Read from MH i2c: 01 07 00 [08:40:41]MH_I2C_Read... [08:40:41]Read from MH i2c: 01 07 00 3A 21 00 00 00 00 00 EF 0C 5D [08:40:41]RasterBufferAndPrint [08:40:41]line [08:40:41]line [08:40:41]line [08:40:41]line [08:40:41]line [08:40:41]written 0, free lines is 3317 [08:40:41]MH_Cut [08:40:41]Write to MH i2c: D1 01 00 41 21 01 34 [08:40:41]Write i2c OK [08:40:41]MH_I2C_Read... [08:40:41]Read from MH i2c: D1 [08:40:41]MH_I2C_Read... [08:40:41]Read from MH i2c: D1 01 00 [08:40:41]MH_I2C_Read... [08:40:41]Read from MH i2c: D1 01 00 41 21 00 33 [08:40:41]Write to MH i2c: 01 00 00 42 21 63 [08:40:41]Write i2c OK [08:40:41]MH_I2C_Read... [08:40:41]*** Cut start [08:40:41]*** Partial cut [08:40:41]*** CUTSNS_PIN = 1 [08:40:41]*** CUTSNS_PIN = 0 [08:40:42]*** Brake cut motor [08:40:42]Read from MH i2c: 01 [08:40:42]MH_I2C_Read... [08:40:42]*** Stop cut motor [08:40:42]*** Cut end [08:40:42]Read from MH i2c: 01 07 00 [08:40:42]MH_I2C_Read... [08:40:42]Read from MH i2c: 01 07 00 42 21 00 00 00 00 00 FF 0F 78 [08:40:42]process_action close_receipt done [08:40:42]requested_data is exist [08:40:42]produce_requested_data [08:40:42]requested_item fm.sn is exist - process it [08:40:42]wFMCommunicate request_size=4 [08:40:42]MH_SAM_APDU [08:40:42]CAPDU: 80 11 00 00 [08:40:42]Write to MH i2c: E2 08 00 43 21 80 11 00 00 00 00 00 00 DE [08:40:42]Write i2c OK [08:40:42]MH_I2C_Read... [08:40:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:42]Read from MH i2c: E2 [08:40:42]MH_I2C_Read... [08:40:42]Read from MH i2c: E2 17 00 [08:40:42]MH_I2C_Read... [08:40:42]Read from MH i2c: E2 17 00 43 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 38 [08:40:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:40:42]wFMCommunicate OK [08:40:42]requested_item fd.num is exist - process it [08:40:42]SAM_PROTO_GetFieldsCounters [08:40:42]wFMCommunicate request_size=4 [08:40:42]MH_SAM_APDU [08:40:42]CAPDU: 80 13 00 00 [08:40:42]Write to MH i2c: E2 08 00 44 21 80 13 00 00 00 00 00 00 E1 [08:40:42]Write i2c OK [08:40:42]MH_I2C_Read... [08:40:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:40:42]Read from MH i2c: E2 [08:40:42]MH_I2C_Read... [08:40:42]Read from MH i2c: E2 62 00 [08:40:42]MH_I2C_Read... [08:40:42]Read from MH i2c: E2 62 00 44 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2E 58 00 00 0E 04 04 00 E8 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 E4 [08:40:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2E 58 00 00 0E 04 04 00 E8 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 [08:40:42]wFMCommunicate OK [08:40:42]SAM_PROTO_GetFieldsCounters done [08:40:42]requested_item shift.num is exist - process it [08:40:42]requested_item shift.opened is exist - process it [08:40:42]req_shift_opened [08:40:42]FM_GetShiftState [08:40:42]SAM_PROTO_GetShiftState [08:40:42]wFMCommunicate request_size=4 [08:40:42]MH_SAM_APDU [08:40:42]CAPDU: 80 13 01 00 [08:40:42]Write to MH i2c: E2 08 00 45 21 80 13 01 00 00 00 00 00 E3 [08:40:42]Write i2c OK [08:40:42]MH_I2C_Read... [08:40:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:42]Read from MH i2c: E2 [08:40:42]MH_I2C_Read... [08:40:42]Read from MH i2c: E2 0E 00 [08:40:42]MH_I2C_Read... [08:40:42]Read from MH i2c: E2 0E 00 45 21 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 A3 [08:40:42]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:40:42]wFMCommunicate OK [08:40:42]SAM_PROTO_GetShiftState done [08:40:42]FM_GetShiftState done [08:40:42]req_shift_opened done [08:40:42]requested_item shift.open_date is exist - process it [08:40:42]req_shift_open_date [08:40:42]req_shift_open_date done [08:40:42]produce_requested_data done [08:40:42]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22574,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:40:42]process_action_free close_receipt [08:40:42]json_value_free [08:40:42]json_value_free done [08:40:42]process_json_proto returns [08:40:42]Send response to host [08:40:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22574,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:40:42]free response buf [08:40:42]execute_script done [08:40:42]execute_script returns [08:40:42]free content buf [08:40:42]Sock 7.Close socket [08:40:42]Sock 7.Thread stoped [08:40:48]accept exits with 9 [08:40:48]New connection [08:40:48]New thread 3067583844 created [08:40:48]Thread 3067440484 joined [08:40:48]Waiting for new connection... [08:40:48] Sock 9.Parse request [08:40:48]Sock 9.Check first char [08:40:48]Sock 9.First char is OK [08:40:48]request: POST /json_proto HTTP/1.0 [08:40:48]Method: POST [08:40:48]URL: /json_proto [08:40:48]Method is POST - this is cgi request [08:40:48]url: /json_proto [08:40:48]query_string will be loaded in cgi processing [08:40:48]execute_cgi json_proto POST (null) [08:40:48]execute_cgi path=json_proto method=POST [08:40:48]POST find Content-Length [08:40:48]Host: 172.17.43.4:8080 [08:40:48]Content-Length: 678 [08:40:48]Content-Type: application/json [08:40:48] [08:40:48]POST finish read [08:40:48]Found Content-Length = 678 [08:40:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165383", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "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" ] } } [08:40:48]execute_script... [08:40:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165383", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "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" ] } } [08:40:48]POST & json_proto [08:40:48]process_json_proto [08:40:48]json parsed OK: [08:40:48]protocol is kg_v1.0 [08:40:48]action value=close_receipt [08:40:48]process_action close_receipt [08:40:48]cmd_close_receipt [08:40:48]MH_GetDate [08:40:48]Write to MH i2c: F0 00 00 46 21 56 [08:40:48]Write i2c OK [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: F0 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: F0 09 00 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: F0 09 00 46 21 00 14 1E F5 66 02 BF CF 66 E2 [08:40:48]GetLastDocTimeStamp 1727340043 [08:40:48]current date 1727340052 [08:40:48]FM_GetShiftState [08:40:48]SAM_PROTO_GetShiftState [08:40:48]wFMCommunicate request_size=4 [08:40:48]MH_SAM_APDU [08:40:48]CAPDU: 80 13 01 00 [08:40:48]Write to MH i2c: E2 08 00 47 21 80 13 01 00 00 00 00 00 E5 [08:40:48]Write i2c OK [08:40:48]MH_I2C_Read... [08:40:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:48]Read from MH i2c: E2 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 0E 00 [08:40:48]MH_I2C_Read... [08:40:48]Read from MH i2c: E2 0E 00 47 21 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 A5 [08:40:48]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:40:48]wFMCommunicate OK [08:40:48]SAM_PROTO_GetShiftState done [08:40:48]FM_GetShiftState done [08:40:48]opened in 1727309492 [08:40:48]opened+sec_in_day 1727395892 [08:40:48]quantity*price = 50036 [08:40:48]sum+1 = 50037 [08:40:48]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.36 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 39 26.09.2024 08:40 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22575 ФПД: 33043272816589 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084052&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22575&fm=33043272816589&tin=02508201610067®Number=0000000000146243&sum=50000 [08:40:49]StoreToDocumentArchive [08:40:49]shift 232 fd 22575 [08:40:49]save to /storage/0232/doc_00022575 [08:40:49]save last doc name /storage/0232/doc_00022575 to /storage/kkm_last_doc_name [08:40:49]save OK [08:40:49]Clear old archive folders... [08:40:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:40:49]tlvbuf is 002B9FE0 [08:40:49]SAM_PROTO_ClearQueue [08:40:49]wFMCommunicate request_size=4 [08:40:49]MH_SAM_APDU [08:40:49]CAPDU: 80 09 00 00 [08:40:49]Write to MH i2c: E2 08 00 54 21 80 09 00 00 00 00 00 00 E7 [08:40:49]Write i2c OK [08:40:49]MH_I2C_Read... [08:40:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:40:49]Read from MH i2c: E2 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: E2 03 00 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: E2 03 00 54 21 00 90 00 E9 [08:40:49]RAPDU: 90 00 [08:40:49]wFMCommunicate OK [08:40:49]SAM_PROTO_ClearQueue done [08:40:49]KKMCreateOFDPacket [08:40:49]OFDProtocolAddRootSTLVToBuf [08:40:49]FM_MakeSignedData [08:40:49]FM_MakeSignedData [08:40:49]SAM_PROTO_SignData [08:40:49]wFMCommunicate request_size=4 [08:40:49]MH_SAM_APDU [08:40:49]CAPDU: 80 0D 01 02 [08:40:49]Write to MH i2c: E2 08 00 55 21 80 0D 01 02 00 00 00 00 EF [08:40:49]Write i2c OK [08:40:49]MH_I2C_Read... [08:40:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:40:49]Read from MH i2c: E2 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: E2 03 00 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: E2 03 00 55 21 00 90 00 EA [08:40:49]RAPDU: 90 00 [08:40:49]wFMCommunicate OK [08:40:49]wFMCommunicate request_size=255 [08:40:49]MH_SAM_APDU [08:40:49]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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 27 00 00 00 F4 03 04 00 14 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2F 58 00 00 35 04 06 00 1E [08:40:49]Write to MH i2c: E2 02 01 56 21 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 27 00 00 00 F4 03 04 00 14 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2F 58 00 00 35 04 06 00 1E 00 00 B1 [08:40:49]Write i2c OK [08:40:49]MH_I2C_Read... [08:40:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:49]Read from MH i2c: E2 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: E2 03 00 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: E2 03 00 56 21 00 90 00 EB [08:40:49]RAPDU: 90 00 [08:40:49]wFMCommunicate OK [08:40:49]wFMCommunicate request_size=10 [08:40:49]MH_SAM_APDU [08:40:49]CAPDU: 80 0D 02 02 05 0D 7C 89 D7 CD [08:40:49]Write to MH i2c: E2 0D 00 57 21 80 0D 02 02 05 00 0D 7C 89 D7 CD 00 00 B2 [08:40:49]Write i2c OK [08:40:49]MH_I2C_Read... [08:40:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:49]Read from MH i2c: E2 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: E2 03 00 [08:40:49]MH_I2C_Read... [08:40:49]Read from MH i2c: E2 03 00 57 21 00 90 00 EC [08:40:49]RAPDU: 90 00 [08:40:49]wFMCommunicate OK [08:40:49]wFMCommunicate request_size=4 [08:40:49]MH_SAM_APDU [08:40:50]CAPDU: 80 0D 03 02 [08:40:50]Write to MH i2c: E2 08 00 58 21 80 0D 03 02 00 00 00 00 F4 [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:40:50]Read from MH i2c: E2 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 0B 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 0B 00 58 21 00 D8 64 6F 44 69 B4 12 71 90 00 84 [08:40:50]RAPDU: D8 64 6F 44 69 B4 12 71 90 00 [08:40:50]wFMCommunicate OK [08:40:50]SAM_PROTO_SignData done [08:40:50]FM_MakeSignedData done [08:40:50]CreateOFDProtocolMessage [08:40:50]wFMCommunicate request_size=4 [08:40:50]MH_SAM_APDU [08:40:50]CAPDU: 80 11 00 00 [08:40:50]Write to MH i2c: E2 08 00 59 21 80 11 00 00 00 00 00 00 F4 [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:50]Read from MH i2c: E2 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 17 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: E2 17 00 59 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 4E [08:40:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:40:50]wFMCommunicate OK [08:40:50]CreateOFDProtocolMessage done [08:40:50]OFDSenderStorePacket 22575 [08:40:50]StoreOFDPacket docnum=22575 [08:40:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 61 ED 07 01 03 AB 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 27 00 00 00 F4 03 04 00 14 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2F 58 00 00 35 04 06 00 1E 0D 7C 89 D7 CD D8 64 6F 44 69 B4 12 71 [08:40:50]CheckFolder [08:40:50]dirname=/storage/ofd_packets [08:40:50]CheckFolder done [08:40:50]ProducePacketName [08:40:50]name=ofd_packets/00022575 [08:40:50]NVStorageSaveData ofd_packets/00022575 [08:40:50]File name is /storage/ofd_packets/00022575 [08:40:50]Write 301 bytes [08:40:50]NVStorageSaveData done [08:40:50]OFDSenderStorePacket done [08:40:50]KKMCreateOFDPacket done [08:40:50]NVStorageSaveData kkm_last_timestamp [08:40:50]File name is /storage/kkm_last_timestamp [08:40:50]Write 4 bytes [08:40:50]NVStorageSaveData done [08:40:50]ExternCall_PrintAddStr [08:40:50]wPrintStart [08:40:50]Write to MH i2c: 01 00 00 5A 21 7B [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: 01 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: 01 07 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: 01 07 00 5A 21 00 00 00 00 00 FF 0F 90 [08:40:50]RasterBufferAndPrint [08:40:50]line Счет N : (1)2165383 [08:40:50]line ИÐÐ: 02508201610067 [08:40:50]line Контрольно-КаÑÑовый Чек [08:40:50]line ПРОДÐЖР[08:40:50]line ТРК (МРК, ГÐК) : 33 [08:40:50]line Товар: 2710124130 [08:40:50]line Ðи-92-К-5 [08:40:50]line 7.380 * 67.80 [08:40:50]line = 500.36 [08:40:50]line ÐДС 12% ÐСП 1% [08:40:50]line > о реализуемом товаре [08:40:50]line ОКРУГЛЕÐИЕ: -0.36 [08:40:50]line ИТОГО: 500.00 [08:40:50]line ВнеÑено: 500.00 [08:40:50]line СДÐЧÐ: 0.00 [08:40:50]line ÐСП 1% : 4.43 [08:40:50]line ÐДС 12% : 53.14 [08:40:50]line Ðаличными: 500.00 [08:40:50]line Безнал.: 0.00 [08:40:50]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:40:50]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:40:50]line СÐО: Общий режим [08:40:50]line Чек 39 26.09.2024 08:40 [08:40:50]line Смена: 232 ФФД: 1.0 [08:40:50]line ЗÐМ: 0300000061 [08:40:50]line РÐМ: 0000000000146243 [08:40:50]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:40:50]line ФМ: 0000000000959358 [08:40:50]line ФД: 22575 [08:40:50]line ФПД: 33043272816589 [08:40:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084052&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22575&fm=33043272816589&tin=02508201610067®Number=0000000000146243&sum=50000 [08:40:50]written 0, free lines is 4095 [08:40:50]Write to MH i2c: 01 00 00 85 21 A6 [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: 01 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: 01 07 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: 01 07 00 85 21 00 00 00 00 00 F6 0C AF [08:40:50]RasterBufferAndPrint [08:40:50]line [08:40:50]line [08:40:50]line [08:40:50]line [08:40:50]line [08:40:50]written 0, free lines is 3327 [08:40:50]MH_Cut [08:40:50]Write to MH i2c: D1 01 00 8C 21 01 7F [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: D1 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: D1 01 00 [08:40:50]MH_I2C_Read... [08:40:50]Read from MH i2c: D1 01 00 8C 21 00 7E [08:40:50]Write to MH i2c: 01 00 00 8D 21 AE [08:40:50]Write i2c OK [08:40:50]MH_I2C_Read... [08:40:51]*** Cut start [08:40:51]*** Partial cut [08:40:51]*** CUTSNS_PIN = 1 [08:40:51]*** CUTSNS_PIN = 0 [08:40:51]*** Brake cut motor [08:40:52]Read from MH i2c: 01 [08:40:52]MH_I2C_Read... [08:40:52]*** Stop cut motor [08:40:52]*** Cut end [08:40:52]Read from MH i2c: 01 07 00 [08:40:52]MH_I2C_Read... [08:40:52]Read from MH i2c: 01 07 00 8D 21 00 00 00 00 00 FF 0F C3 [08:40:52]process_action close_receipt done [08:40:52]requested_data is exist [08:40:52]produce_requested_data [08:40:52]requested_item fm.sn is exist - process it [08:40:52]wFMCommunicate request_size=4 [08:40:52]MH_SAM_APDU [08:40:52]CAPDU: 80 11 00 00 [08:40:52]Write to MH i2c: E2 08 00 8E 21 80 11 00 00 00 00 00 00 29 [08:40:52]Write i2c OK [08:40:52]MH_I2C_Read... [08:40:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:52]Read from MH i2c: E2 [08:40:52]MH_I2C_Read... [08:40:52]Read from MH i2c: E2 17 00 [08:40:52]MH_I2C_Read... [08:40:52]Read from MH i2c: E2 17 00 8E 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 83 [08:40:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:40:52]wFMCommunicate OK [08:40:52]requested_item fd.num is exist - process it [08:40:52]SAM_PROTO_GetFieldsCounters [08:40:52]wFMCommunicate request_size=4 [08:40:52]MH_SAM_APDU [08:40:52]CAPDU: 80 13 00 00 [08:40:52]Write to MH i2c: E2 08 00 8F 21 80 13 00 00 00 00 00 00 2C [08:40:52]Write i2c OK [08:40:52]MH_I2C_Read... [08:40:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:40:52]Read from MH i2c: E2 [08:40:52]MH_I2C_Read... [08:40:52]Read from MH i2c: E2 62 00 [08:40:52]MH_I2C_Read... [08:40:52]Read from MH i2c: E2 62 00 8F 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2F 58 00 00 0E 04 04 00 E8 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 33 [08:40:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 2F 58 00 00 0E 04 04 00 E8 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 [08:40:52]wFMCommunicate OK [08:40:52]SAM_PROTO_GetFieldsCounters done [08:40:52]requested_item shift.num is exist - process it [08:40:52]requested_item shift.opened is exist - process it [08:40:52]req_shift_opened [08:40:52]FM_GetShiftState [08:40:52]SAM_PROTO_GetShiftState [08:40:52]wFMCommunicate request_size=4 [08:40:52]MH_SAM_APDU [08:40:52]CAPDU: 80 13 01 00 [08:40:52]Write to MH i2c: E2 08 00 90 21 80 13 01 00 00 00 00 00 2E [08:40:52]Write i2c OK [08:40:52]MH_I2C_Read... [08:40:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:52]Read from MH i2c: E2 [08:40:52]MH_I2C_Read... [08:40:52]Read from MH i2c: E2 0E 00 [08:40:52]MH_I2C_Read... [08:40:52]Read from MH i2c: E2 0E 00 90 21 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 EE [08:40:52]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:40:52]wFMCommunicate OK [08:40:52]SAM_PROTO_GetShiftState done [08:40:52]FM_GetShiftState done [08:40:52]req_shift_opened done [08:40:52]requested_item shift.open_date is exist - process it [08:40:52]req_shift_open_date [08:40:52]req_shift_open_date done [08:40:52]produce_requested_data done [08:40:52]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22575,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:40:52]process_action_free close_receipt [08:40:52]json_value_free [08:40:52]json_value_free done [08:40:52]process_json_proto returns [08:40:52]Send response to host [08:40:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22575,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:40:52]free response buf [08:40:52]execute_script done [08:40:52]execute_script returns [08:40:52]free content buf [08:40:52]Sock 9.Close socket [08:40:52]Sock 9.Thread stoped [08:40:56]ConnectInit Can't connect to host [08:40:56]CommunicateWithHost connect error [08:40:56]CommunicateWithHost err = -1 [08:40:56]OFD Sender: Server communicate error [08:40:56]OFD Sender: Processing packet 22570 [packets to send 28, broken 22] [08:40:56]ProducePacketName [08:40:56]name=ofd_packets/00022570 [08:40:56]OFD Sender: To server: ‡•öpG, [08:40:56]CommunicateWithHost lk.salyk.kg:30040 [08:40:56]ConnectInit lk.salyk.kg [08:40:56]Connected sock=9 [08:40:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 5B 1D 07 01 84 42 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 7C 1A 00 00 00 00 13 04 06 00 DB AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 12 00 00 00 00 07 04 06 00 C8 AF 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 97 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2A 58 00 00 35 04 06 00 3E 1D 9F 76 BE E3 C3 85 74 96 F1 29 E3 8E [08:40:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 3F 7A 47 00 E6 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2A 58 00 00 F4 03 04 00 3A C8 F4 66 B6 04 01 00 00 C1 90 95 68 77 CB A6 44 [08:40:56]CommunicateWithHost err = 0 [08:40:56]CheckOFDResponse [08:40:56]1017 (14) - 77093643461234 [08:40:56]1041 (16) - 0000000000959358 [08:40:56]1040 (4) - 22570 [08:40:56]1012 (4) - 26.09.2024 02:34 [08:40:56]1206 (1) - 0 [08:40:56]OFD Sender: Remove packet 22570 [08:40:56]ProducePacketName [08:40:56]name=ofd_packets/00022570 [08:40:56]NVStorageDeleteData [08:40:57]OFD Sender: Processing packet 22571 [packets to send 27, broken 22] [08:40:57]ProducePacketName [08:40:57]name=ofd_packets/00022571 [08:40:57]OFD Sender: To server: ‡•öpG, [08:40:57]CommunicateWithHost lk.salyk.kg:30040 [08:40:57]ConnectInit lk.salyk.kg [08:40:57]Connected sock=9 [08:40:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 C2 C1 08 01 83 01 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 38 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 9E 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2B 58 00 00 35 04 06 00 F6 0A 39 07 73 51 A5 07 2E D6 AF 56 6C 0D [08:40:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 D2 62 47 00 D3 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2B 58 00 00 F4 03 04 00 3B C8 F4 66 B6 04 01 00 00 9D DF 5D B3 FE 38 D1 3A [08:40:57]CommunicateWithHost err = 0 [08:40:57]CheckOFDResponse [08:40:57]1017 (14) - 77093643461234 [08:40:57]1041 (16) - 0000000000959358 [08:40:57]1040 (4) - 22571 [08:40:57]1012 (4) - 26.09.2024 02:34 [08:40:57]1206 (1) - 0 [08:40:57]OFD Sender: Remove packet 22571 [08:40:57]ProducePacketName [08:40:57]name=ofd_packets/00022571 [08:40:57]NVStorageDeleteData [08:40:58]OFD Sender: Processing packet 22572 [packets to send 26, broken 22] [08:40:58]ProducePacketName [08:40:58]name=ofd_packets/00022572 [08:40:58]OFD Sender: To server: ‡•öpG, [08:40:58]CommunicateWithHost lk.salyk.kg:30040 [08:40:58]ConnectInit lk.salyk.kg [08:40:58]Connected sock=9 [08:40:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 D2 2C 07 01 04 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 24 00 00 00 F4 03 04 00 B5 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2C 58 00 00 35 04 06 00 04 E4 5F 96 A5 09 C9 38 23 AF EB 10 EB C5 [08:40:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C5 54 47 00 CD 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 39 35 39 33 35 38 10 04 04 00 2C 58 00 00 F4 03 04 00 3C C8 F4 66 B6 04 01 00 00 F3 73 24 81 D9 0A 50 FA [08:40:58]CommunicateWithHost err = 0 [08:40:58]CheckOFDResponse [08:40:58]1017 (14) - 77093643461234 [08:40:58]1041 (16) - 0000000000959358 [08:40:58]1040 (4) - 22572 [08:40:58]1012 (4) - 26.09.2024 02:34 [08:40:58]1206 (1) - 0 [08:40:58]OFD Sender: Remove packet 22572 [08:40:58]ProducePacketName [08:40:58]name=ofd_packets/00022572 [08:40:58]NVStorageDeleteData [08:40:59]OFD Sender: Processing packet 22573 [packets to send 25, broken 22] [08:40:59]ProducePacketName [08:40:59]name=ofd_packets/00022573 [08:40:59]OFD Sender: To server: ‡•öpG, [08:40:59]CommunicateWithHost lk.salyk.kg:30040 [08:40:59]ConnectInit lk.salyk.kg [08:40:59]Connected sock=9 [08:40:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 FB EF 08 01 29 07 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5E 38 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 7B 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 EF 1D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2D 58 00 00 35 04 06 00 70 75 A7 CD 5A B6 74 D0 44 B7 23 F6 96 6E [08:40:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 52 BD 47 00 81 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 39 35 39 33 35 38 10 04 04 00 2D 58 00 00 F4 03 04 00 3D C8 F4 66 B6 04 01 00 00 9C 7E D1 52 B9 2E 89 F6 [08:40:59]CommunicateWithHost err = 0 [08:40:59]CheckOFDResponse [08:40:59]1017 (14) - 77093643461234 [08:40:59]1041 (16) - 0000000000959358 [08:40:59]1040 (4) - 22573 [08:40:59]1012 (4) - 26.09.2024 02:34 [08:40:59]1206 (1) - 0 [08:40:59]OFD Sender: Remove packet 22573 [08:40:59]ProducePacketName [08:40:59]name=ofd_packets/00022573 [08:40:59]NVStorageDeleteData [08:41:00]OFD Sender: Processing packet 22574 [packets to send 24, broken 22] [08:41:00]ProducePacketName [08:41:00]name=ofd_packets/00022574 [08:41:00]OFD Sender: To server: ‡•öpG, [08:41:00]CommunicateWithHost lk.salyk.kg:30040 [08:41:00]ConnectInit lk.salyk.kg [08:41:00]Connected sock=9 [08:41:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 C5 3D 07 01 2D 61 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 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 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 26 00 00 00 F4 03 04 00 0B 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2E 58 00 00 35 04 06 00 23 7D A7 E7 74 FA 2B 30 47 1B 39 CD 13 59 [08:41:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 A9 E5 47 00 FE A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2E 58 00 00 F4 03 04 00 3E C8 F4 66 B6 04 01 00 00 2E 6E AF 09 26 0C E2 09 [08:41:00]CommunicateWithHost err = 0 [08:41:00]CheckOFDResponse [08:41:00]1017 (14) - 77093643461234 [08:41:00]1041 (16) - 0000000000959358 [08:41:00]1040 (4) - 22574 [08:41:00]1012 (4) - 26.09.2024 02:34 [08:41:00]1206 (1) - 0 [08:41:00]OFD Sender: Remove packet 22574 [08:41:00]ProducePacketName [08:41:00]name=ofd_packets/00022574 [08:41:00]NVStorageDeleteData [08:41:01]OFD Sender: Processing packet 22575 [packets to send 23, broken 22] [08:41:01]ProducePacketName [08:41:01]name=ofd_packets/00022575 [08:41:01]OFD Sender: To server: ‡•öpG, [08:41:01]CommunicateWithHost lk.salyk.kg:30040 [08:41:01]ConnectInit lk.salyk.kg [08:41:01]Connected sock=9 [08:41:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 61 ED 07 01 03 AB 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 27 00 00 00 F4 03 04 00 14 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2F 58 00 00 35 04 06 00 1E 0D 7C 89 D7 CD D8 64 6F 44 69 B4 12 71 [08:41:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 AD E2 47 00 E9 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 2F 58 00 00 F4 03 04 00 3F C8 F4 66 B6 04 01 00 00 0A 6C 18 00 F6 A3 41 1D [08:41:01]CommunicateWithHost err = 0 [08:41:01]CheckOFDResponse [08:41:01]1017 (14) - 77093643461234 [08:41:01]1041 (16) - 0000000000959358 [08:41:01]1040 (4) - 22575 [08:41:01]1012 (4) - 26.09.2024 02:34 [08:41:01]1206 (1) - 0 [08:41:01]OFD Sender: Remove packet 22575 [08:41:01]ProducePacketName [08:41:01]name=ofd_packets/00022575 [08:41:01]NVStorageDeleteData [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:21]accept exits with 7 [08:41:21]New connection [08:41:21]New thread 3067440484 created [08:41:21]Thread 3067583844 joined [08:41:21]Waiting for new connection... [08:41:21] Sock 7.Parse request [08:41:21]Sock 7.Check first char [08:41:21]Sock 7.First char is OK [08:41:21]request: POST /json_proto HTTP/1.0 [08:41:21]Method: POST [08:41:21]URL: /json_proto [08:41:21]Method is POST - this is cgi request [08:41:21]url: /json_proto [08:41:21]query_string will be loaded in cgi processing [08:41:21]execute_cgi json_proto POST (null) [08:41:21]execute_cgi path=json_proto method=POST [08:41:21]POST find Content-Length [08:41:21]Host: 172.17.43.4:8080 [08:41:21]Content-Length: 683 [08:41:21]Content-Type: application/json [08:41:21] [08:41:21]POST finish read [08:41:21]Found Content-Length = 683 [08:41:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165384", "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" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "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" ] } } [08:41:21]execute_script... [08:41: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)2165384", "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" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "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" ] } } [08:41:21]POST & json_proto [08:41:21]process_json_proto [08:41:21]json parsed OK: [08:41:21]protocol is kg_v1.0 [08:41:21]action value=close_receipt [08:41:21]process_action close_receipt [08:41:21]cmd_close_receipt [08:41:21]MH_GetDate [08:41:21]Write to MH i2c: F0 00 00 91 21 A1 [08:41:21]Write i2c OK [08:41:21]MH_I2C_Read... [08:41:21]Read from MH i2c: F0 [08:41:21]MH_I2C_Read... [08:41:21]Read from MH i2c: F0 09 00 [08:41:21]MH_I2C_Read... [08:41:21]Read from MH i2c: F0 09 00 91 21 00 35 1E F5 66 02 BF CF 66 4E [08:41:21]GetLastDocTimeStamp 1727340052 [08:41:21]current date 1727340085 [08:41:21]FM_GetShiftState [08:41:21]SAM_PROTO_GetShiftState [08:41:21]wFMCommunicate request_size=4 [08:41:21]MH_SAM_APDU [08:41:21]CAPDU: 80 13 01 00 [08:41:21]Write to MH i2c: E2 08 00 92 21 80 13 01 00 00 00 00 00 30 [08:41:21]Write i2c OK [08:41:21]MH_I2C_Read... [08:41:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:21]Read from MH i2c: E2 [08:41:21]MH_I2C_Read... [08:41:21]Read from MH i2c: E2 0E 00 [08:41:21]MH_I2C_Read... [08:41:21]Read from MH i2c: E2 0E 00 92 21 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 F0 [08:41:21]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:41:21]wFMCommunicate OK [08:41:21]SAM_PROTO_GetShiftState done [08:41:21]FM_GetShiftState done [08:41:21]opened in 1727309492 [08:41:21]opened+sec_in_day 1727395892 [08:41:21]quantity*price = 100005 [08:41:21]sum+1 = 100006 [08:41:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.05 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.20 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 40 26.09.2024 08:41 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22576 ФПД: 115638766182604 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084125&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22576&fm=115638766182604&tin=02508201610067®Number=0000000000146243&sum=100000 [08:41:22]StoreToDocumentArchive [08:41:22]shift 232 fd 22576 [08:41:22]save to /storage/0232/doc_00022576 [08:41:22]save last doc name /storage/0232/doc_00022576 to /storage/kkm_last_doc_name [08:41:22]save OK [08:41:22]Clear old archive folders... [08:41:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:41:22]tlvbuf is B6F74770 [08:41:22]SAM_PROTO_ClearQueue [08:41:22]wFMCommunicate request_size=4 [08:41:22]MH_SAM_APDU [08:41:22]CAPDU: 80 09 00 00 [08:41:22]Write to MH i2c: E2 08 00 9F 21 80 09 00 00 00 00 00 00 32 [08:41:22]Write i2c OK [08:41:22]MH_I2C_Read... [08:41:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:41:22]Read from MH i2c: E2 [08:41:22]MH_I2C_Read... [08:41:22]Read from MH i2c: E2 03 00 [08:41:22]MH_I2C_Read... [08:41:22]Read from MH i2c: E2 03 00 9F 21 00 90 00 34 [08:41:22]RAPDU: 90 00 [08:41:22]wFMCommunicate OK [08:41:22]SAM_PROTO_ClearQueue done [08:41:22]KKMCreateOFDPacket [08:41:22]OFDProtocolAddRootSTLVToBuf [08:41:22]FM_MakeSignedData [08:41:22]FM_MakeSignedData [08:41:22]SAM_PROTO_SignData [08:41:22]wFMCommunicate request_size=4 [08:41:22]MH_SAM_APDU [08:41:22]CAPDU: 80 0D 01 02 [08:41:22]Write to MH i2c: E2 08 00 A0 21 80 0D 01 02 00 00 00 00 3A [08:41:22]Write i2c OK [08:41:22]MH_I2C_Read... [08:41:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:41:22]Read from MH i2c: E2 [08:41:22]MH_I2C_Read... [08:41:22]Read from MH i2c: E2 03 00 [08:41:22]MH_I2C_Read... [08:41:22]Read from MH i2c: E2 03 00 A0 21 00 90 00 35 [08:41:22]RAPDU: 90 00 [08:41:22]wFMCommunicate OK [08:41:22]wFMCommunicate request_size=255 [08:41:22]MH_SAM_APDU [08:41: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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 28 00 00 00 F4 03 04 00 35 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 30 58 00 00 35 04 06 00 69 [08:41:22]Write to MH i2c: E2 02 01 A1 21 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 28 00 00 00 F4 03 04 00 35 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 30 58 00 00 35 04 06 00 69 00 00 F9 [08:41:22]Write i2c OK [08:41:22]MH_I2C_Read... [08:41:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:22]Read from MH i2c: E2 [08:41:22]MH_I2C_Read... [08:41:22]Read from MH i2c: E2 03 00 [08:41:22]MH_I2C_Read... [08:41:22]Read from MH i2c: E2 03 00 A1 21 00 90 00 36 [08:41:22]RAPDU: 90 00 [08:41:22]wFMCommunicate OK [08:41:22]wFMCommunicate request_size=10 [08:41:22]MH_SAM_APDU [08:41:22]CAPDU: 80 0D 02 02 05 2C 3F 94 A0 CC [08:41:22]Write to MH i2c: E2 0D 00 A2 21 80 0D 02 02 05 00 2C 3F 94 A0 CC 00 00 B2 [08:41:22]Write i2c OK [08:41:22]MH_I2C_Read... [08:41:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:22]Read from MH i2c: E2 [08:41:22]MH_I2C_Read... [08:41:22]Read from MH i2c: E2 03 00 [08:41:22]MH_I2C_Read... [08:41:22]Read from MH i2c: E2 03 00 A2 21 00 90 00 37 [08:41:22]RAPDU: 90 00 [08:41:22]wFMCommunicate OK [08:41:22]wFMCommunicate request_size=4 [08:41:22]MH_SAM_APDU [08:41:22]CAPDU: 80 0D 03 02 [08:41:22]Write to MH i2c: E2 08 00 A3 21 80 0D 03 02 00 00 00 00 3F [08:41:22]Write i2c OK [08:41:22]MH_I2C_Read... [08:41:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:41:23]Read from MH i2c: E2 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: E2 0B 00 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: E2 0B 00 A3 21 00 FB 0A 4A 5A 69 ED B9 E3 90 00 DB [08:41:23]RAPDU: FB 0A 4A 5A 69 ED B9 E3 90 00 [08:41:23]wFMCommunicate OK [08:41:23]SAM_PROTO_SignData done [08:41:23]FM_MakeSignedData done [08:41:23]CreateOFDProtocolMessage [08:41:23]wFMCommunicate request_size=4 [08:41:23]MH_SAM_APDU [08:41:23]CAPDU: 80 11 00 00 [08:41:23]Write to MH i2c: E2 08 00 A4 21 80 11 00 00 00 00 00 00 3F [08:41:23]Write i2c OK [08:41:23]MH_I2C_Read... [08:41:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:23]Read from MH i2c: E2 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: E2 17 00 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: E2 17 00 A4 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 99 [08:41:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:41:23]wFMCommunicate OK [08:41:23]CreateOFDProtocolMessage done [08:41:23]OFDSenderStorePacket 22576 [08:41:23]StoreOFDPacket docnum=22576 [08:41:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 FB D7 07 01 A2 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 28 00 00 00 F4 03 04 00 35 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 30 58 00 00 35 04 06 00 69 2C 3F 94 A0 CC FB 0A 4A 5A 69 ED B9 E3 [08:41:23]CheckFolder [08:41:23]dirname=/storage/ofd_packets [08:41:23]CheckFolder done [08:41:23]ProducePacketName [08:41:23]name=ofd_packets/00022576 [08:41:23]NVStorageSaveData ofd_packets/00022576 [08:41:23]File name is /storage/ofd_packets/00022576 [08:41:23]Write 301 bytes [08:41:23]NVStorageSaveData done [08:41:23]OFDSenderStorePacket done [08:41:23]KKMCreateOFDPacket done [08:41:23]NVStorageSaveData kkm_last_timestamp [08:41:23]File name is /storage/kkm_last_timestamp [08:41:23]Write 4 bytes [08:41:23]NVStorageSaveData done [08:41:23]ExternCall_PrintAddStr [08:41:23]wPrintStart [08:41:23]Write to MH i2c: 01 00 00 A5 21 C6 [08:41:23]Write i2c OK [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: 01 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: 01 07 00 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: 01 07 00 A5 21 00 00 00 00 00 FF 0F DB [08:41:23]RasterBufferAndPrint [08:41:23]line Счет N : (1)2165384 [08:41:23]line ИÐÐ: 02508201610067 [08:41:23]line Контрольно-КаÑÑовый Чек [08:41:23]line ПРОДÐЖР[08:41:23]line ТРК (МРК, ГÐК) : 22 [08:41:23]line Товар: 2710124130 [08:41:23]line Ðи-92-К-5 [08:41:23]line 14.750 * 67.80 [08:41:23]line = 1000.05 [08:41:23]line ÐДС 12% ÐСП 1% [08:41:23]line > о реализуемом товаре [08:41:23]line ОКРУГЛЕÐИЕ: -0.05 [08:41:23]line ИТОГО: 1000.00 [08:41:23]line ВнеÑено: 1000.00 [08:41:23]line СДÐЧÐ: 0.00 [08:41:23]line ÐСП 1% : 8.85 [08:41:23]line ÐДС 12% : 106.20 [08:41:23]line Ðаличными: 1000.00 [08:41:23]line Безнал.: 0.00 [08:41:23]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:41:23]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:41:23]line СÐО: Общий режим [08:41:23]line Чек 40 26.09.2024 08:41 [08:41:23]line Смена: 232 ФФД: 1.0 [08:41:23]line ЗÐМ: 0300000061 [08:41:23]line РÐМ: 0000000000146243 [08:41:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:41:23]line ФМ: 0000000000959358 [08:41:23]line ФД: 22576 [08:41:23]line ФПД: 115638766182604 [08:41:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084125&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22576&fm=115638766182604&tin=02508201610067®Number=0000000000146243&sum=100000 [08:41:23]OFD Sender: Processing packet 22576 [packets to send 23, broken 22] [08:41:23]ProducePacketName [08:41:23]name=ofd_packets/00022576 [08:41:23]OFD Sender: To server: ‡•öpG, [08:41:23]CommunicateWithHost lk.salyk.kg:30040 [08:41:23]ConnectInit lk.salyk.kg [08:41:23]written 0, free lines is 4095 [08:41:23]Connected sock=10 [08:41:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 FB D7 07 01 A2 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 28 00 00 00 F4 03 04 00 35 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 30 58 00 00 35 04 06 00 69 2C 3F 94 A0 CC FB 0A 4A 5A 69 ED B9 E3 [08:41:23]Write to MH i2c: 01 00 00 D0 21 F1 [08:41:23]Write i2c OK [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: 01 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: 01 07 00 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: 01 07 00 D0 21 00 00 00 00 00 0B 0D 10 [08:41:23]RasterBufferAndPrint [08:41:23]line [08:41:23]line [08:41:23]line [08:41:23]line [08:41:23]line [08:41:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0A F4 47 00 C8 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 30 58 00 00 F4 03 04 00 55 C8 F4 66 B6 04 01 00 00 75 CD 57 5C 83 C7 81 23 [08:41:23]CommunicateWithHost err = 0 [08:41:23]CheckOFDResponse [08:41:23]1017 (14) - 77093643461234 [08:41:23]1041 (16) - 0000000000959358 [08:41:23]1040 (4) - 22576 [08:41:23]1012 (4) - 26.09.2024 02:35 [08:41:23]1206 (1) - 0 [08:41:23]OFD Sender: Remove packet 22576 [08:41:23]ProducePacketName [08:41:23]name=ofd_packets/00022576 [08:41:23]NVStorageDeleteData [08:41:23]written 0, free lines is 3360 [08:41:23]MH_Cut [08:41:23]Write to MH i2c: D1 01 00 D7 21 01 CA [08:41:23]Write i2c OK [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: D1 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: D1 01 00 [08:41:23]MH_I2C_Read... [08:41:23]Read from MH i2c: D1 01 00 D7 21 00 C9 [08:41:23]Write to MH i2c: 01 00 00 D8 21 F9 [08:41:23]Write i2c OK [08:41:23]MH_I2C_Read... [08:41:24]OFD Sender: No OFD packet to send [08:41:24]*** Cut start [08:41:24]*** Partial cut [08:41:24]*** CUTSNS_PIN = 1 [08:41:24]*** CUTSNS_PIN = 0 [08:41:24]*** Brake cut motor [08:41:25]Read from MH i2c: 01 [08:41:25]MH_I2C_Read... [08:41:25]*** Stop cut motor [08:41:25]*** Cut end [08:41:25]Read from MH i2c: 01 07 00 [08:41:25]MH_I2C_Read... [08:41:25]Read from MH i2c: 01 07 00 D8 21 00 00 00 00 00 FF 0F 0E [08:41:25]process_action close_receipt done [08:41:25]requested_data is exist [08:41:25]produce_requested_data [08:41:25]requested_item fm.sn is exist - process it [08:41:25]wFMCommunicate request_size=4 [08:41:25]MH_SAM_APDU [08:41:25]CAPDU: 80 11 00 00 [08:41:25]Write to MH i2c: E2 08 00 D9 21 80 11 00 00 00 00 00 00 74 [08:41:25]Write i2c OK [08:41:25]MH_I2C_Read... [08:41:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:25]Read from MH i2c: E2 [08:41:25]MH_I2C_Read... [08:41:25]Read from MH i2c: E2 17 00 [08:41:25]MH_I2C_Read... [08:41:25]Read from MH i2c: E2 17 00 D9 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 CE [08:41:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:41:25]wFMCommunicate OK [08:41:25]requested_item fd.num is exist - process it [08:41:25]SAM_PROTO_GetFieldsCounters [08:41:25]wFMCommunicate request_size=4 [08:41:25]MH_SAM_APDU [08:41:25]CAPDU: 80 13 00 00 [08:41:25]Write to MH i2c: E2 08 00 DA 21 80 13 00 00 00 00 00 00 77 [08:41:25]Write i2c OK [08:41:25]MH_I2C_Read... [08:41:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:41:25]Read from MH i2c: E2 [08:41:25]MH_I2C_Read... [08:41:25]Read from MH i2c: E2 62 00 [08:41:25]MH_I2C_Read... [08:41:25]Read from MH i2c: E2 62 00 DA 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 30 58 00 00 0E 04 04 00 E8 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 82 [08:41:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 30 58 00 00 0E 04 04 00 E8 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 [08:41:25]wFMCommunicate OK [08:41:25]SAM_PROTO_GetFieldsCounters done [08:41:25]requested_item shift.num is exist - process it [08:41:25]requested_item shift.opened is exist - process it [08:41:25]req_shift_opened [08:41:25]FM_GetShiftState [08:41:25]SAM_PROTO_GetShiftState [08:41:25]wFMCommunicate request_size=4 [08:41:25]MH_SAM_APDU [08:41:25]CAPDU: 80 13 01 00 [08:41:25]Write to MH i2c: E2 08 00 DB 21 80 13 01 00 00 00 00 00 79 [08:41:25]Write i2c OK [08:41:25]MH_I2C_Read... [08:41:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:25]Read from MH i2c: E2 [08:41:25]MH_I2C_Read... [08:41:25]Read from MH i2c: E2 0E 00 [08:41:25]MH_I2C_Read... [08:41:25]Read from MH i2c: E2 0E 00 DB 21 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 39 [08:41:25]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:41:25]wFMCommunicate OK [08:41:25]SAM_PROTO_GetShiftState done [08:41:25]FM_GetShiftState done [08:41:25]req_shift_opened done [08:41:25]requested_item shift.open_date is exist - process it [08:41:25]req_shift_open_date [08:41:25]req_shift_open_date done [08:41:25]produce_requested_data done [08:41:25]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22576,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:41:25]process_action_free close_receipt [08:41:25]json_value_free [08:41:25]json_value_free done [08:41:25]process_json_proto returns [08:41:25]Send response to host [08:41:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22576,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:41:25]free response buf [08:41:25]execute_script done [08:41:25]execute_script returns [08:41:25]free content buf [08:41:25]Sock 7.Close socket [08:41:25]Sock 7.Thread stoped [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:43]accept exits with 9 [08:41:43]New connection [08:41:43]New thread 3067583844 created [08:41:43]Thread 3067440484 joined [08:41:43]Waiting for new connection... [08:41:43] Sock 9.Parse request [08:41:43]Sock 9.Check first char [08:41:43]Sock 9.First char is OK [08:41:43]request: POST /json_proto HTTP/1.0 [08:41:43]Method: POST [08:41:43]URL: /json_proto [08:41:43]Method is POST - this is cgi request [08:41:43]url: /json_proto [08:41:43]query_string will be loaded in cgi processing [08:41:43]execute_cgi json_proto POST (null) [08:41:43]execute_cgi path=json_proto method=POST [08:41:43]POST find Content-Length [08:41:43]Host: 172.17.43.4:8080 [08:41:43]Content-Length: 763 [08:41:43]Content-Type: application/json [08:41:43] [08:41:43]POST finish read [08:41:43]Found Content-Length = 763 [08:41:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165385", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 13.480, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:41:43]execute_script... [08:41:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165385", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 13.480, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:41:43]POST & json_proto [08:41:43]process_json_proto [08:41:43]json parsed OK: [08:41:43]protocol is kg_v1.0 [08:41:43]action value=close_receipt [08:41:43]process_action close_receipt [08:41:43]cmd_close_receipt [08:41:43]MH_GetDate [08:41:43]Write to MH i2c: F0 00 00 DC 21 EC [08:41:43]Write i2c OK [08:41:43]MH_I2C_Read... [08:41:43]Read from MH i2c: F0 [08:41:43]MH_I2C_Read... [08:41:43]Read from MH i2c: F0 09 00 [08:41:43]MH_I2C_Read... [08:41:43]Read from MH i2c: F0 09 00 DC 21 00 4B 1E F5 66 02 BF CF 66 AF [08:41:43]GetLastDocTimeStamp 1727340085 [08:41:43]current date 1727340107 [08:41:43]FM_GetShiftState [08:41:43]SAM_PROTO_GetShiftState [08:41:43]wFMCommunicate request_size=4 [08:41:43]MH_SAM_APDU [08:41:43]CAPDU: 80 13 01 00 [08:41:43]Write to MH i2c: E2 08 00 DD 21 80 13 01 00 00 00 00 00 7B [08:41:43]Write i2c OK [08:41:43]MH_I2C_Read... [08:41:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:43]Read from MH i2c: E2 [08:41:43]MH_I2C_Read... [08:41:43]Read from MH i2c: E2 0E 00 [08:41:43]MH_I2C_Read... [08:41:43]Read from MH i2c: E2 0E 00 DD 21 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 3B [08:41:43]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:41:43]wFMCommunicate OK [08:41:43]SAM_PROTO_GetShiftState done [08:41:43]FM_GetShiftState done [08:41:43]opened in 1727309492 [08:41:43]opened+sec_in_day 1727395892 [08:41:43]quantity*price = 0 [08:41:43]sum+1 = 1 [08:41:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 41 26.09.2024 08:41 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000959358 ФД: 22577 ФПД: 212077281153145 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084147&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22577&fm=212077281153145&tin=02508201610067®Number=0000000000146243&sum=0 [08:41:44]StoreToDocumentArchive [08:41:44]shift 232 fd 22577 [08:41:44]save to /storage/0232/doc_00022577 [08:41:44]save last doc name /storage/0232/doc_00022577 to /storage/kkm_last_doc_name [08:41:44]save OK [08:41:44]Clear old archive folders... [08:41:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:41:44]tlvbuf is 00210B30 [08:41:44]SAM_PROTO_ClearQueue [08:41:44]wFMCommunicate request_size=4 [08:41:44]MH_SAM_APDU [08:41:44]CAPDU: 80 09 00 00 [08:41:44]Write to MH i2c: E2 08 00 EA 21 80 09 00 00 00 00 00 00 7D [08:41:44]Write i2c OK [08:41:44]MH_I2C_Read... [08:41:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:41:44]Read from MH i2c: E2 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 03 00 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 03 00 EA 21 00 90 00 7F [08:41:44]RAPDU: 90 00 [08:41:44]wFMCommunicate OK [08:41:44]SAM_PROTO_ClearQueue done [08:41:44]KKMCreateOFDPacket [08:41:44]OFDProtocolAddRootSTLVToBuf [08:41:44]FM_MakeSignedData [08:41:44]FM_MakeSignedData [08:41:44]SAM_PROTO_SignData [08:41:44]wFMCommunicate request_size=4 [08:41:44]MH_SAM_APDU [08:41:44]CAPDU: 80 0D 01 02 [08:41:44]Write to MH i2c: E2 08 00 EB 21 80 0D 01 02 00 00 00 00 85 [08:41:44]Write i2c OK [08:41:44]MH_I2C_Read... [08:41:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:41:44]Read from MH i2c: E2 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 03 00 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 03 00 EB 21 00 90 00 80 [08:41:44]RAPDU: 90 00 [08:41:44]wFMCommunicate OK [08:41:44]wFMCommunicate request_size=255 [08:41:44]MH_SAM_APDU [08:41:44]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 4B 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 31 58 00 00 35 04 06 00 C0 [08:41:44]Write to MH i2c: E2 02 01 EC 21 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 4B 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 31 58 00 00 35 04 06 00 C0 00 00 8F [08:41:44]Write i2c OK [08:41:44]MH_I2C_Read... [08:41:44]OFD Sender: No OFD packet to send [08:41:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:44]Read from MH i2c: E2 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 03 00 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 03 00 EC 21 00 90 00 81 [08:41:44]RAPDU: 90 00 [08:41:44]wFMCommunicate OK [08:41:44]wFMCommunicate request_size=10 [08:41:44]MH_SAM_APDU [08:41:44]CAPDU: 80 0D 02 02 05 E2 17 02 10 79 [08:41:44]Write to MH i2c: E2 0D 00 ED 21 80 0D 02 02 05 00 E2 17 02 10 79 00 00 16 [08:41:44]Write i2c OK [08:41:44]MH_I2C_Read... [08:41:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:44]Read from MH i2c: E2 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 03 00 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 03 00 ED 21 00 90 00 82 [08:41:44]RAPDU: 90 00 [08:41:44]wFMCommunicate OK [08:41:44]wFMCommunicate request_size=4 [08:41:44]MH_SAM_APDU [08:41:44]CAPDU: 80 0D 03 02 [08:41:44]Write to MH i2c: E2 08 00 EE 21 80 0D 03 02 00 00 00 00 8A [08:41:44]Write i2c OK [08:41:44]MH_I2C_Read... [08:41:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:41:44]Read from MH i2c: E2 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 0B 00 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 0B 00 EE 21 00 AA C8 0E B8 FF DD 84 B2 90 00 D5 [08:41:44]RAPDU: AA C8 0E B8 FF DD 84 B2 90 00 [08:41:44]wFMCommunicate OK [08:41:44]SAM_PROTO_SignData done [08:41:44]FM_MakeSignedData done [08:41:44]CreateOFDProtocolMessage [08:41:44]wFMCommunicate request_size=4 [08:41:44]MH_SAM_APDU [08:41:44]CAPDU: 80 11 00 00 [08:41:44]Write to MH i2c: E2 08 00 EF 21 80 11 00 00 00 00 00 00 8A [08:41:44]Write i2c OK [08:41:44]MH_I2C_Read... [08:41:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:44]Read from MH i2c: E2 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 17 00 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: E2 17 00 EF 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E4 [08:41:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:41:44]wFMCommunicate OK [08:41:44]CreateOFDProtocolMessage done [08:41:44]OFDSenderStorePacket 22577 [08:41:44]StoreOFDPacket docnum=22577 [08:41:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 7B 26 07 01 EA FA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 4B 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 31 58 00 00 35 04 06 00 C0 E2 17 02 10 79 AA C8 0E B8 FF DD 84 B2 [08:41:44]CheckFolder [08:41:44]dirname=/storage/ofd_packets [08:41:44]CheckFolder done [08:41:44]ProducePacketName [08:41:44]name=ofd_packets/00022577 [08:41:44]NVStorageSaveData ofd_packets/00022577 [08:41:44]File name is /storage/ofd_packets/00022577 [08:41:44]Write 301 bytes [08:41:44]NVStorageSaveData done [08:41:44]OFDSenderStorePacket done [08:41:44]KKMCreateOFDPacket done [08:41:44]NVStorageSaveData kkm_last_timestamp [08:41:44]File name is /storage/kkm_last_timestamp [08:41:44]Write 4 bytes [08:41:44]NVStorageSaveData done [08:41:44]ExternCall_PrintAddStr [08:41:44]wPrintStart [08:41:44]Write to MH i2c: 01 00 00 F0 21 11 [08:41:44]Write i2c OK [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: 01 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: 01 07 00 [08:41:44]MH_I2C_Read... [08:41:44]Read from MH i2c: 01 07 00 F0 21 00 00 00 00 00 FF 0F 26 [08:41:44]RasterBufferAndPrint [08:41:44]line Счет N : (1)2165385 [08:41:44]line ИÐÐ: 02508201610067 [08:41:44]line Контрольно-КаÑÑовый Чек [08:41:44]line ПРОДÐЖР[08:41:44]line ТРК (МРК, ГÐК) : 13 [08:41:44]line Товар: 2710124500 [08:41:44]line Ðи-95-К-5 [08:41:44]line 13.480 * 0.00 [08:41:44]line = 0.00 [08:41:44]line ÐДС 12% ÐСП 1% [08:41:44]line > о реализуемом товаре [08:41:44]line ИТОГО: 0.00 [08:41:44]line ÐСП 1% : 0.00 [08:41:44]line ÐДС 12% : 0.00 [08:41:44]line Ðаличными: 0.00 [08:41:44]line Безнал.: 0.00 [08:41:44]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:41:44]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:41:44]line СÐО: Общий режим [08:41:44]line Чек 41 26.09.2024 08:41 [08:41:44]line Смена: 232 ФФД: 1.0 [08:41:44]line ЗÐМ: 0300000061 [08:41:44]line РÐМ: 0000000000146243 [08:41:44]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:41:44]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [08:41:44]line ФМ: 0000000000959358 [08:41:44]line ФД: 22577 [08:41:44]line ФПД: 212077281153145 [08:41:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084147&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22577&fm=212077281153145&tin=02508201610067®Number=0000000000146243&sum=0 [08:41:45]OFD Sender: Processing packet 22577 [packets to send 23, broken 22] [08:41:45]ProducePacketName [08:41:45]name=ofd_packets/00022577 [08:41:45]OFD Sender: To server: ‡•öpG, [08:41:45]CommunicateWithHost lk.salyk.kg:30040 [08:41:45]ConnectInit lk.salyk.kg [08:41:45]written 0, free lines is 4095 [08:41:45]Connected sock=10 [08:41:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 7B 26 07 01 EA FA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 4B 1E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 31 58 00 00 35 04 06 00 C0 E2 17 02 10 79 AA C8 0E B8 FF DD 84 B2 [08:41:45]Write to MH i2c: 01 00 00 19 22 3B [08:41:45]Write i2c OK [08:41:45]MH_I2C_Read... [08:41:45]Read from MH i2c: 01 [08:41:45]MH_I2C_Read... [08:41:45]Read from MH i2c: 01 07 00 [08:41:45]MH_I2C_Read... [08:41:45]Read from MH i2c: 01 07 00 19 22 00 00 00 00 00 24 0D 73 [08:41:45]RasterBufferAndPrint [08:41:45]line [08:41:45]line [08:41:45]line [08:41:45]line [08:41:45]line [08:41:45]written 0, free lines is 3370 [08:41:45]MH_Cut [08:41:45]Write to MH i2c: D1 01 00 20 22 01 14 [08:41:45]Write i2c OK [08:41:45]MH_I2C_Read... [08:41:45]Read from MH i2c: D1 [08:41:45]MH_I2C_Read... [08:41:45]Read from MH i2c: D1 01 00 [08:41:45]MH_I2C_Read... [08:41:45]Read from MH i2c: D1 01 00 20 22 00 13 [08:41:45]Write to MH i2c: 01 00 00 21 22 43 [08:41:45]Write i2c OK [08:41:45]MH_I2C_Read... [08:41:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 BE F8 47 00 6D 5C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 31 58 00 00 F4 03 04 00 6B C8 F4 66 B6 04 01 00 00 E8 C4 53 31 46 5C 53 90 [08:41:45]CommunicateWithHost err = 0 [08:41:45]CheckOFDResponse [08:41:45]1017 (14) - 77093643461234 [08:41:45]1041 (16) - 0000000000959358 [08:41:45]1040 (4) - 22577 [08:41:45]1012 (4) - 26.09.2024 02:35 [08:41:45]1206 (1) - 0 [08:41:45]OFD Sender: Remove packet 22577 [08:41:45]ProducePacketName [08:41:45]name=ofd_packets/00022577 [08:41:45]NVStorageDeleteData [08:41:46]OFD Sender: No OFD packet to send [08:41:46]*** Cut start [08:41:46]*** Partial cut [08:41:46]*** CUTSNS_PIN = 1 [08:41:46]*** CUTSNS_PIN = 0 [08:41:46]*** Brake cut motor [08:41:46]Read from MH i2c: 01 [08:41:46]MH_I2C_Read... [08:41:46]*** Stop cut motor [08:41:46]*** Cut end [08:41:46]Read from MH i2c: 01 07 00 [08:41:46]MH_I2C_Read... [08:41:46]Read from MH i2c: 01 07 00 21 22 00 00 00 00 00 FF 0F 58 [08:41:46]process_action close_receipt done [08:41:46]requested_data is exist [08:41:46]produce_requested_data [08:41:46]requested_item fm.sn is exist - process it [08:41:46]wFMCommunicate request_size=4 [08:41:46]MH_SAM_APDU [08:41:46]CAPDU: 80 11 00 00 [08:41:46]Write to MH i2c: E2 08 00 22 22 80 11 00 00 00 00 00 00 BE [08:41:46]Write i2c OK [08:41:46]MH_I2C_Read... [08:41:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:46]Read from MH i2c: E2 [08:41:46]MH_I2C_Read... [08:41:46]Read from MH i2c: E2 17 00 [08:41:46]MH_I2C_Read... [08:41:46]Read from MH i2c: E2 17 00 22 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 18 [08:41:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:41:46]wFMCommunicate OK [08:41:46]requested_item fd.num is exist - process it [08:41:46]SAM_PROTO_GetFieldsCounters [08:41:46]wFMCommunicate request_size=4 [08:41:46]MH_SAM_APDU [08:41:46]CAPDU: 80 13 00 00 [08:41:46]Write to MH i2c: E2 08 00 23 22 80 13 00 00 00 00 00 00 C1 [08:41:46]Write i2c OK [08:41:46]MH_I2C_Read... [08:41:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:41:46]Read from MH i2c: E2 [08:41:46]MH_I2C_Read... [08:41:46]Read from MH i2c: E2 62 00 [08:41:46]MH_I2C_Read... [08:41:46]Read from MH i2c: E2 62 00 23 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 31 58 00 00 0E 04 04 00 E8 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 D0 [08:41:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 31 58 00 00 0E 04 04 00 E8 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 [08:41:46]wFMCommunicate OK [08:41:46]SAM_PROTO_GetFieldsCounters done [08:41:46]requested_item shift.num is exist - process it [08:41:46]requested_item shift.opened is exist - process it [08:41:46]req_shift_opened [08:41:46]FM_GetShiftState [08:41:46]SAM_PROTO_GetShiftState [08:41:46]wFMCommunicate request_size=4 [08:41:46]MH_SAM_APDU [08:41:46]CAPDU: 80 13 01 00 [08:41:46]Write to MH i2c: E2 08 00 24 22 80 13 01 00 00 00 00 00 C3 [08:41:46]Write i2c OK [08:41:46]MH_I2C_Read... [08:41:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:47]Read from MH i2c: E2 [08:41:47]MH_I2C_Read... [08:41:47]Read from MH i2c: E2 0E 00 [08:41:47]MH_I2C_Read... [08:41:47]Read from MH i2c: E2 0E 00 24 22 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 83 [08:41:47]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:41:47]wFMCommunicate OK [08:41:47]SAM_PROTO_GetShiftState done [08:41:47]FM_GetShiftState done [08:41:47]req_shift_opened done [08:41:47]requested_item shift.open_date is exist - process it [08:41:47]req_shift_open_date [08:41:47]req_shift_open_date done [08:41:47]produce_requested_data done [08:41:47]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22577,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:41:47]process_action_free close_receipt [08:41:47]json_value_free [08:41:47]json_value_free done [08:41:47]process_json_proto returns [08:41:47]Send response to host [08:41:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22577,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:41:47]free response buf [08:41:47]execute_script done [08:41:47]execute_script returns [08:41:47]free content buf [08:41:47]Sock 9.Close socket [08:41:47]Sock 9.Thread stoped [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:18]accept exits with 7 [08:49:18]New connection [08:49:18]New thread 3067440484 created [08:49:18]Thread 3067583844 joined [08:49:18]Waiting for new connection... [08:49:18] Sock 7.Parse request [08:49:18]Sock 7.Check first char [08:49:18]Sock 7.First char is OK [08:49:18]request: POST /json_proto HTTP/1.0 [08:49:18]Method: POST [08:49:18]URL: /json_proto [08:49:18]Method is POST - this is cgi request [08:49:18]url: /json_proto [08:49:18]query_string will be loaded in cgi processing [08:49:18]execute_cgi json_proto POST (null) [08:49:18]execute_cgi path=json_proto method=POST [08:49:18]POST find Content-Length [08:49:18]Host: 172.17.43.4:8080 [08:49:18]Content-Length: 712 [08:49:18]Content-Type: application/json [08:49:18] [08:49:18]POST finish read [08:49:18]Found Content-Length = 712 [08:49:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51742", "tax_sys" : 0, "items" : [ { "code": "4870202521285", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u043E\u0432\u044B\u0439 \u043D\u0435\u0433\u0430\u0437 0,45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:49:18]execute_script... [08:49:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51742", "tax_sys" : 0, "items" : [ { "code": "4870202521285", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u043E\u0432\u044B\u0439 \u043D\u0435\u0433\u0430\u0437 0,45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:49:18]POST & json_proto [08:49:18]process_json_proto [08:49:18]json parsed OK: [08:49:18]protocol is kg_v1.0 [08:49:18]action value=close_receipt [08:49:18]process_action close_receipt [08:49:18]cmd_close_receipt [08:49:18]MH_GetDate [08:49:18]Write to MH i2c: F0 00 00 25 22 36 [08:49:18]Write i2c OK [08:49:18]MH_I2C_Read... [08:49:18]Read from MH i2c: F0 [08:49:18]MH_I2C_Read... [08:49:18]Read from MH i2c: F0 09 00 [08:49:18]MH_I2C_Read... [08:49:18]Read from MH i2c: F0 09 00 25 22 00 12 20 F5 66 02 BF CF 66 C2 [08:49:18]GetLastDocTimeStamp 1727340107 [08:49:18]current date 1727340562 [08:49:18]FM_GetShiftState [08:49:18]SAM_PROTO_GetShiftState [08:49:18]wFMCommunicate request_size=4 [08:49:18]MH_SAM_APDU [08:49:18]CAPDU: 80 13 01 00 [08:49:18]Write to MH i2c: E2 08 00 26 22 80 13 01 00 00 00 00 00 C5 [08:49:18]Write i2c OK [08:49:18]MH_I2C_Read... [08:49:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:49:18]Read from MH i2c: E2 [08:49:18]MH_I2C_Read... [08:49:18]Read from MH i2c: E2 0E 00 [08:49:18]MH_I2C_Read... [08:49:18]Read from MH i2c: E2 0E 00 26 22 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 85 [08:49:18]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:49:18]wFMCommunicate OK [08:49:18]SAM_PROTO_GetShiftState done [08:49:18]FM_GetShiftState done [08:49:18]opened in 1727309492 [08:49:18]opened+sec_in_day 1727395892 [08:49:18]quantity*price = 7000 [08:49:18]sum+1 = 7001 [08:49:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 ÐСП 1% : 0.62 ÐДС 12% : 7.43 Ðаличными: 70.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 42 26.09.2024 08:49 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22578 ФПД: 236258880197161 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084923&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22578&fm=236258880197161&tin=02508201610067®Number=0000000000146243&sum=7000 0 [08:49:19]StoreToDocumentArchive [08:49:19]shift 232 fd 22578 [08:49:19]save to /storage/0232/doc_00022578 [08:49:19]save last doc name /storage/0232/doc_00022578 to /storage/kkm_last_doc_name [08:49:19]save OK [08:49:19]Clear old archive folders... [08:49:19]ProcessDocumentItem done err = 0, tmpTLVsize=300 [08:49:19]tlvbuf is 0026CDE0 [08:49:19]SAM_PROTO_ClearQueue [08:49:19]wFMCommunicate request_size=4 [08:49:19]MH_SAM_APDU [08:49:19]CAPDU: 80 09 00 00 [08:49:19]Write to MH i2c: E2 08 00 33 22 80 09 00 00 00 00 00 00 C7 [08:49:19]Write i2c OK [08:49:19]MH_I2C_Read... [08:49:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:49:19]Read from MH i2c: E2 [08:49:19]MH_I2C_Read... [08:49:19]Read from MH i2c: E2 03 00 [08:49:19]MH_I2C_Read... [08:49:19]Read from MH i2c: E2 03 00 33 22 00 90 00 C9 [08:49:19]RAPDU: 90 00 [08:49:19]wFMCommunicate OK [08:49:19]SAM_PROTO_ClearQueue done [08:49:19]KKMCreateOFDPacket [08:49:19]OFDProtocolAddRootSTLVToBuf [08:49:19]FM_MakeSignedData [08:49:19]FM_MakeSignedData [08:49:19]SAM_PROTO_SignData [08:49:19]wFMCommunicate request_size=4 [08:49:19]MH_SAM_APDU [08:49:19]CAPDU: 80 0D 01 02 [08:49:19]Write to MH i2c: E2 08 00 34 22 80 0D 01 02 00 00 00 00 CF [08:49:19]Write i2c OK [08:49:19]MH_I2C_Read... [08:49:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:49:19]Read from MH i2c: E2 [08:49:19]MH_I2C_Read... [08:49:19]Read from MH i2c: E2 03 00 [08:49:19]MH_I2C_Read... [08:49:19]Read from MH i2c: E2 03 00 34 22 00 90 00 CA [08:49:19]RAPDU: 90 00 [08:49:19]wFMCommunicate OK [08:49:19]wFMCommunicate request_size=255 [08:49:19]MH_SAM_APDU [08:49:19]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 13 20 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 [08:49:19]Write to MH i2c: E2 02 01 35 22 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 13 20 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 00 00 22 [08:49:19]Write i2c OK [08:49:19]MH_I2C_Read... [08:49:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:49:20]Read from MH i2c: E2 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: E2 03 00 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: E2 03 00 35 22 00 90 00 CB [08:49:20]RAPDU: 90 00 [08:49:20]wFMCommunicate OK [08:49:20]wFMCommunicate request_size=59 [08:49:20]MH_SAM_APDU [08:49:20]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 32 58 00 00 35 04 06 00 D6 E0 4E A1 12 29 [08:49:20]Write to MH i2c: E2 3E 00 36 22 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 32 58 00 00 35 04 06 00 D6 E0 4E A1 12 29 00 00 5F [08:49:20]Write i2c OK [08:49:20]MH_I2C_Read... [08:49:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:49:20]Read from MH i2c: E2 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: E2 03 00 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: E2 03 00 36 22 00 90 00 CC [08:49:20]RAPDU: 90 00 [08:49:20]wFMCommunicate OK [08:49:20]wFMCommunicate request_size=4 [08:49:20]MH_SAM_APDU [08:49:20]CAPDU: 80 0D 03 02 [08:49:20]Write to MH i2c: E2 08 00 37 22 80 0D 03 02 00 00 00 00 D4 [08:49:20]Write i2c OK [08:49:20]MH_I2C_Read... [08:49:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:49:20]Read from MH i2c: E2 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: E2 0B 00 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: E2 0B 00 37 22 00 DD 81 EA CB D5 82 93 CA 90 00 9C [08:49:20]RAPDU: DD 81 EA CB D5 82 93 CA 90 00 [08:49:20]wFMCommunicate OK [08:49:20]SAM_PROTO_SignData done [08:49:20]FM_MakeSignedData done [08:49:20]CreateOFDProtocolMessage [08:49:20]wFMCommunicate request_size=4 [08:49:20]MH_SAM_APDU [08:49:20]CAPDU: 80 11 00 00 [08:49:20]Write to MH i2c: E2 08 00 38 22 80 11 00 00 00 00 00 00 D4 [08:49:20]Write i2c OK [08:49:20]MH_I2C_Read... [08:49:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:20]Read from MH i2c: E2 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: E2 17 00 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: E2 17 00 38 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2E [08:49:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:49:20]wFMCommunicate OK [08:49:20]CreateOFDProtocolMessage done [08:49:20]OFDSenderStorePacket 22578 [08:49:20]StoreOFDPacket docnum=22578 [08:49:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 40 01 00 00 F1 D0 38 01 E8 33 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 13 20 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 32 58 00 00 35 04 06 00 D6 E0 4E A1 12 29 DD 81 EA CB D5 82 93 CA [08:49:20]CheckFolder [08:49:20]dirname=/storage/ofd_packets [08:49:20]CheckFolder done [08:49:20]ProducePacketName [08:49:20]name=ofd_packets/00022578 [08:49:20]NVStorageSaveData ofd_packets/00022578 [08:49:20]File name is /storage/ofd_packets/00022578 [08:49:20]Write 350 bytes [08:49:20]NVStorageSaveData done [08:49:20]OFDSenderStorePacket done [08:49:20]KKMCreateOFDPacket done [08:49:20]NVStorageSaveData kkm_last_timestamp [08:49:20]File name is /storage/kkm_last_timestamp [08:49:20]Write 4 bytes [08:49:20]NVStorageSaveData done [08:49:20]ExternCall_PrintAddStr [08:49:20]wPrintStart [08:49:20]Write to MH i2c: 01 00 00 39 22 5B [08:49:20]Write i2c OK [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: 01 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: 01 07 00 [08:49:20]MH_I2C_Read... [08:49:20]Read from MH i2c: 01 07 00 39 22 00 00 00 00 00 FF 0F 70 [08:49:20]RasterBufferAndPrint [08:49:20]line Счет N : (3)51742 [08:49:20]line ИÐÐ: 02508201610067 [08:49:20]line Контрольно-КаÑÑовый Чек [08:49:20]line ПРОДÐЖР[08:49:20]line Товар: 4870202521285 [08:49:20]line Ðапиток Сок березовый негаз 0,45л [08:49:20]line 1.000 * 70.00 [08:49:20]line = 70.00 [08:49:20]line ÐДС 12% ÐСП 1% [08:49:20]line > о реализуемом товаре [08:49:20]line ИТОГО: 70.00 [08:49:20]line ÐСП 1% : 0.62 [08:49:20]line ÐДС 12% : 7.43 [08:49:20]line Ðаличными: 70.00 [08:49:20]line Безнал.: 0.00 [08:49:20]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:49:20]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:49:20]line СÐО: Общий режим [08:49:20]line Чек 42 26.09.2024 08:49 [08:49:20]line Смена: 232 ФФД: 1.0 [08:49:20]line ЗÐМ: 0300000061 [08:49:20]line РÐМ: 0000000000146243 [08:49:20]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:49:20]line ФМ: 0000000000959358 [08:49:20]line ФД: 22578 [08:49:20]line ФПД: 236258880197161 [08:49:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084923&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22578&fm=236258880197161&tin=02508201610067®Number=0000000000146243&sum=7000 [08:49:20]line 0 [08:49:20]OFD Sender: Processing packet 22578 [packets to send 23, broken 22] [08:49:20]ProducePacketName [08:49:20]name=ofd_packets/00022578 [08:49:20]OFD Sender: To server: ‡•öpG, [08:49:20]CommunicateWithHost lk.salyk.kg:30040 [08:49:20]ConnectInit lk.salyk.kg [08:49:20]written 0, free lines is 4095 [08:49:20]Connected sock=10 [08:49:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 40 01 00 00 F1 D0 38 01 E8 33 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 38 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D0 BE D0 B2 D1 8B D0 B9 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 13 20 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 32 58 00 00 35 04 06 00 D6 E0 4E A1 12 29 DD 81 EA CB D5 82 93 CA [08:49:21]Write to MH i2c: 01 00 00 62 22 84 [08:49:21]Write i2c OK [08:49:21]MH_I2C_Read... [08:49:21]Read from MH i2c: 01 [08:49:21]MH_I2C_Read... [08:49:21]Read from MH i2c: 01 07 00 [08:49:21]MH_I2C_Read... [08:49:21]Read from MH i2c: 01 07 00 62 22 00 00 00 00 00 06 0D 9E [08:49:21]RasterBufferAndPrint [08:49:21]line [08:49:21]line [08:49:21]line [08:49:21]line [08:49:21]line [08:49:21]written 0, free lines is 3343 [08:49:21]MH_Cut [08:49:21]Write to MH i2c: D1 01 00 69 22 01 5D [08:49:21]Write i2c OK [08:49:21]MH_I2C_Read... [08:49:21]Read from MH i2c: D1 [08:49:21]MH_I2C_Read... [08:49:21]Read from MH i2c: D1 01 00 [08:49:21]MH_I2C_Read... [08:49:21]Read from MH i2c: D1 01 00 69 22 00 5C [08:49:21]Write to MH i2c: 01 00 00 6A 22 8C [08:49:21]Write i2c OK [08:49:21]MH_I2C_Read... [08:49:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 FC 76 47 00 01 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 32 58 00 00 F4 03 04 00 33 CA F4 66 B6 04 01 00 00 71 2A 07 20 95 4C 91 53 [08:49:21]CommunicateWithHost err = 0 [08:49:21]CheckOFDResponse [08:49:21]1017 (14) - 77093643461234 [08:49:21]1041 (16) - 0000000000959358 [08:49:21]1040 (4) - 22578 [08:49:21]1012 (4) - 26.09.2024 02:42 [08:49:21]1206 (1) - 0 [08:49:21]OFD Sender: Remove packet 22578 [08:49:21]ProducePacketName [08:49:21]name=ofd_packets/00022578 [08:49:21]NVStorageDeleteData [08:49:21]OFD Sender: No OFD packet to send [08:49:21]*** Cut start [08:49:21]*** Partial cut [08:49:21]*** CUTSNS_PIN = 1 [08:49:21]*** CUTSNS_PIN = 0 [08:49:21]*** Brake cut motor [08:49:22]Read from MH i2c: 01 [08:49:22]MH_I2C_Read... [08:49:22]*** Stop cut motor [08:49:22]*** Cut end [08:49:22]Read from MH i2c: 01 07 00 [08:49:22]MH_I2C_Read... [08:49:22]Read from MH i2c: 01 07 00 6A 22 00 00 00 00 00 FF 0F A1 [08:49:22]process_action close_receipt done [08:49:22]requested_data is exist [08:49:22]produce_requested_data [08:49:22]requested_item fm.sn is exist - process it [08:49:22]wFMCommunicate request_size=4 [08:49:22]MH_SAM_APDU [08:49:22]CAPDU: 80 11 00 00 [08:49:22]Write to MH i2c: E2 08 00 6B 22 80 11 00 00 00 00 00 00 07 [08:49:22]Write i2c OK [08:49:22]MH_I2C_Read... [08:49:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:22]Read from MH i2c: E2 [08:49:22]MH_I2C_Read... [08:49:22]Read from MH i2c: E2 17 00 [08:49:22]MH_I2C_Read... [08:49:22]Read from MH i2c: E2 17 00 6B 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 61 [08:49:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:49:22]wFMCommunicate OK [08:49:22]requested_item fd.num is exist - process it [08:49:22]SAM_PROTO_GetFieldsCounters [08:49:22]wFMCommunicate request_size=4 [08:49:22]MH_SAM_APDU [08:49:22]CAPDU: 80 13 00 00 [08:49:22]Write to MH i2c: E2 08 00 6C 22 80 13 00 00 00 00 00 00 0A [08:49:22]Write i2c OK [08:49:22]MH_I2C_Read... [08:49:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:49:22]Read from MH i2c: E2 [08:49:22]MH_I2C_Read... [08:49:22]Read from MH i2c: E2 62 00 [08:49:22]MH_I2C_Read... [08:49:22]Read from MH i2c: E2 62 00 6C 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 32 58 00 00 0E 04 04 00 E8 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 1D [08:49:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 32 58 00 00 0E 04 04 00 E8 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 [08:49:22]wFMCommunicate OK [08:49:22]SAM_PROTO_GetFieldsCounters done [08:49:22]requested_item shift.num is exist - process it [08:49:22]requested_item shift.opened is exist - process it [08:49:22]req_shift_opened [08:49:22]FM_GetShiftState [08:49:22]SAM_PROTO_GetShiftState [08:49:22]wFMCommunicate request_size=4 [08:49:22]MH_SAM_APDU [08:49:22]CAPDU: 80 13 01 00 [08:49:22]Write to MH i2c: E2 08 00 6D 22 80 13 01 00 00 00 00 00 0C [08:49:22]Write i2c OK [08:49:22]MH_I2C_Read... [08:49:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:49:22]Read from MH i2c: E2 [08:49:22]MH_I2C_Read... [08:49:22]Read from MH i2c: E2 0E 00 [08:49:22]MH_I2C_Read... [08:49:22]Read from MH i2c: E2 0E 00 6D 22 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 CC [08:49:22]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:49:22]wFMCommunicate OK [08:49:22]SAM_PROTO_GetShiftState done [08:49:22]FM_GetShiftState done [08:49:22]req_shift_opened done [08:49:22]requested_item shift.open_date is exist - process it [08:49:22]req_shift_open_date [08:49:22]req_shift_open_date done [08:49:22]produce_requested_data done [08:49:22]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22578,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:49:22]process_action_free close_receipt [08:49:22]json_value_free [08:49:22]json_value_free done [08:49:22]process_json_proto returns [08:49:22]Send response to host [08:49:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22578,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:49:22]free response buf [08:49:22]execute_script done [08:49:22]execute_script returns [08:49:22]free content buf [08:49:22]Sock 7.Close socket [08:49:22]Sock 7.Thread stoped [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]accept exits with 9 [08:49:46]New connection [08:49:46]New thread 3067583844 created [08:49:46]Thread 3067440484 joined [08:49:46]Waiting for new connection... [08:49:46] Sock 9.Parse request [08:49:46]Sock 9.Check first char [08:49:46]Sock 9.First char is OK [08:49:46]request: POST /json_proto HTTP/1.0 [08:49:46]Method: POST [08:49:46]URL: /json_proto [08:49:46]Method is POST - this is cgi request [08:49:46]url: /json_proto [08:49:46]query_string will be loaded in cgi processing [08:49:46]execute_cgi json_proto POST (null) [08:49:46]execute_cgi path=json_proto method=POST [08:49:46]POST find Content-Length [08:49:46]Host: 172.17.43.4:8080 [08:49:46]Content-Length: 643 [08:49:46]Content-Type: application/json [08:49:46] [08:49:46]POST finish read [08:49:46]Found Content-Length = 643 [08:49:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51743", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:49:46]execute_script... [08:49:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51743", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:49:46]POST & json_proto [08:49:46]process_json_proto [08:49:46]json parsed OK: [08:49:46]protocol is kg_v1.0 [08:49:46]action value=close_receipt [08:49:46]process_action close_receipt [08:49:46]cmd_close_receipt [08:49:46]MH_GetDate [08:49:46]Write to MH i2c: F0 00 00 6E 22 7F [08:49:46]Write i2c OK [08:49:46]MH_I2C_Read... [08:49:46]Read from MH i2c: F0 [08:49:46]MH_I2C_Read... [08:49:46]Read from MH i2c: F0 09 00 [08:49:46]MH_I2C_Read... [08:49:46]Read from MH i2c: F0 09 00 6E 22 00 2E 20 F5 66 02 BF CF 66 27 [08:49:46]GetLastDocTimeStamp 1727340563 [08:49:46]current date 1727340590 [08:49:46]FM_GetShiftState [08:49:46]SAM_PROTO_GetShiftState [08:49:46]wFMCommunicate request_size=4 [08:49:46]MH_SAM_APDU [08:49:46]CAPDU: 80 13 01 00 [08:49:46]Write to MH i2c: E2 08 00 6F 22 80 13 01 00 00 00 00 00 0E [08:49:46]Write i2c OK [08:49:46]MH_I2C_Read... [08:49:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:49:46]Read from MH i2c: E2 [08:49:46]MH_I2C_Read... [08:49:46]Read from MH i2c: E2 0E 00 [08:49:46]MH_I2C_Read... [08:49:46]Read from MH i2c: E2 0E 00 6F 22 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 CE [08:49:46]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:49:46]wFMCommunicate OK [08:49:46]SAM_PROTO_GetShiftState done [08:49:46]FM_GetShiftState done [08:49:46]opened in 1727309492 [08:49:46]opened+sec_in_day 1727395892 [08:49:46]quantity*price = 23000 [08:49:46]sum+1 = 23001 [08:49:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 ÐСП 1% : 2.03 ÐДС 12% : 24.42 Ðаличными: 230.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 43 26.09.2024 08:49 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22579 ФПД: 94353616590509 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084950&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22579&fm=94353616590509&tin=02508201610067®Number=0000000000146243&sum=23000 0 [08:49:47]StoreToDocumentArchive [08:49:47]shift 232 fd 22579 [08:49:47]save to /storage/0232/doc_00022579 [08:49:47]save last doc name /storage/0232/doc_00022579 to /storage/kkm_last_doc_name [08:49:47]save OK [08:49:47]Clear old archive folders... [08:49:47]ProcessDocumentItem done err = 0, tmpTLVsize=280 [08:49:47]tlvbuf is 00204DD0 [08:49:47]SAM_PROTO_ClearQueue [08:49:47]wFMCommunicate request_size=4 [08:49:47]MH_SAM_APDU [08:49:47]CAPDU: 80 09 00 00 [08:49:47]Write to MH i2c: E2 08 00 7C 22 80 09 00 00 00 00 00 00 10 [08:49:47]Write i2c OK [08:49:47]MH_I2C_Read... [08:49:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:49:47]Read from MH i2c: E2 [08:49:47]MH_I2C_Read... [08:49:47]Read from MH i2c: E2 03 00 [08:49:47]MH_I2C_Read... [08:49:47]Read from MH i2c: E2 03 00 7C 22 00 90 00 12 [08:49:47]RAPDU: 90 00 [08:49:47]wFMCommunicate OK [08:49:47]SAM_PROTO_ClearQueue done [08:49:47]KKMCreateOFDPacket [08:49:47]OFDProtocolAddRootSTLVToBuf [08:49:47]FM_MakeSignedData [08:49:47]FM_MakeSignedData [08:49:47]SAM_PROTO_SignData [08:49:47]wFMCommunicate request_size=4 [08:49:47]MH_SAM_APDU [08:49:47]CAPDU: 80 0D 01 02 [08:49:47]Write to MH i2c: E2 08 00 7D 22 80 0D 01 02 00 00 00 00 18 [08:49:47]Write i2c OK [08:49:47]MH_I2C_Read... [08:49:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:49:47]Read from MH i2c: E2 [08:49:47]MH_I2C_Read... [08:49:47]Read from MH i2c: E2 03 00 [08:49:47]MH_I2C_Read... [08:49:47]Read from MH i2c: E2 03 00 7D 22 00 90 00 13 [08:49:47]RAPDU: 90 00 [08:49:47]wFMCommunicate OK [08:49:47]wFMCommunicate request_size=255 [08:49:47]MH_SAM_APDU [08:49:47]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 2E 20 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 [08:49:47]Write to MH i2c: E2 02 01 7E 22 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 2E 20 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 00 00 75 [08:49:47]Write i2c OK [08:49:47]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 7E 22 00 90 00 14 [08:49:48]RAPDU: 90 00 [08:49:48]wFMCommunicate OK [08:49:48]wFMCommunicate request_size=39 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 33 58 00 00 35 04 06 00 55 D0 69 CC D6 AD [08:49:48]Write to MH i2c: E2 2A 00 7F 22 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 33 58 00 00 35 04 06 00 55 D0 69 CC D6 AD 00 00 45 [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 7F 22 00 90 00 15 [08:49:48]RAPDU: 90 00 [08:49:48]wFMCommunicate OK [08:49:48]wFMCommunicate request_size=4 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 80 0D 03 02 [08:49:48]Write to MH i2c: E2 08 00 80 22 80 0D 03 02 00 00 00 00 1D [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 0B 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 0B 00 80 22 00 F0 12 7B 1B E6 64 95 6A 90 00 FF [08:49:48]RAPDU: F0 12 7B 1B E6 64 95 6A 90 00 [08:49:48]wFMCommunicate OK [08:49:48]SAM_PROTO_SignData done [08:49:48]FM_MakeSignedData done [08:49:48]CreateOFDProtocolMessage [08:49:48]wFMCommunicate request_size=4 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 80 11 00 00 [08:49:48]Write to MH i2c: E2 08 00 81 22 80 11 00 00 00 00 00 00 1D [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 17 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 17 00 81 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 77 [08:49:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:49:48]wFMCommunicate OK [08:49:48]CreateOFDProtocolMessage done [08:49:48]OFDSenderStorePacket 22579 [08:49:48]StoreOFDPacket docnum=22579 [08:49:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2C 01 00 00 64 15 24 01 18 72 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 2E 20 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 33 58 00 00 35 04 06 00 55 D0 69 CC D6 AD F0 12 7B 1B E6 64 95 6A [08:49:48]CheckFolder [08:49:48]dirname=/storage/ofd_packets [08:49:48]CheckFolder done [08:49:48]ProducePacketName [08:49:48]name=ofd_packets/00022579 [08:49:48]NVStorageSaveData ofd_packets/00022579 [08:49:48]File name is /storage/ofd_packets/00022579 [08:49:48]Write 330 bytes [08:49:48]NVStorageSaveData done [08:49:48]OFDSenderStorePacket done [08:49:48]KKMCreateOFDPacket done [08:49:48]NVStorageSaveData kkm_last_timestamp [08:49:48]File name is /storage/kkm_last_timestamp [08:49:48]Write 4 bytes [08:49:48]NVStorageSaveData done [08:49:48]ExternCall_PrintAddStr [08:49:48]wPrintStart [08:49:48]Write to MH i2c: 01 00 00 82 22 A4 [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 07 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 07 00 82 22 00 00 00 00 00 FF 0F B9 [08:49:48]RasterBufferAndPrint [08:49:48]line Счет N : (3)51743 [08:49:48]line ИÐÐ: 02508201610067 [08:49:48]line Контрольно-КаÑÑовый Чек [08:49:48]line ПРОДÐЖР[08:49:48]line Товар: 2000036210013 [08:49:48]line Кофе Капучино (GABB TRADE) [08:49:48]line 2.000 * 115.00 [08:49:48]line = 230.00 [08:49:48]line ÐДС 12% ÐСП 1% [08:49:48]line > о реализуемом товаре [08:49:48]line ИТОГО: 230.00 [08:49:48]line ÐСП 1% : 2.03 [08:49:48]line ÐДС 12% : 24.42 [08:49:48]line Ðаличными: 230.00 [08:49:48]line Безнал.: 0.00 [08:49:48]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [08:49:48]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [08:49:48]line СÐО: Общий режим [08:49:48]line Чек 43 26.09.2024 08:49 [08:49:48]line Смена: 232 ФФД: 1.0 [08:49:48]line ЗÐМ: 0300000061 [08:49:48]line РÐМ: 0000000000146243 [08:49:48]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [08:49:48]line ФМ: 0000000000959358 [08:49:48]line ФД: 22579 [08:49:48]line ФПД: 94353616590509 [08:49:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T084950&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22579&fm=94353616590509&tin=02508201610067®Number=0000000000146243&sum=23000 [08:49:48]line 0 [08:49:48]OFD Sender: Processing packet 22579 [packets to send 23, broken 22] [08:49:48]ProducePacketName [08:49:48]name=ofd_packets/00022579 [08:49:48]OFD Sender: To server: ‡•öpG, [08:49:48]CommunicateWithHost lk.salyk.kg:30040 [08:49:48]ConnectInit lk.salyk.kg [08:49:48]written 0, free lines is 4095 [08:49:48]Connected sock=7 [08:49:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2C 01 00 00 64 15 24 01 18 72 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 2E 20 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 33 58 00 00 35 04 06 00 55 D0 69 CC D6 AD F0 12 7B 1B E6 64 95 6A [08:49:48]Write to MH i2c: 01 00 00 AA 22 CC [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 07 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 07 00 AA 22 00 00 00 00 00 3C 0D 1C [08:49:48]RasterBufferAndPrint [08:49:48]line [08:49:48]line [08:49:48]line [08:49:48]line [08:49:48]line [08:49:49]written 0, free lines is 3397 [08:49:49]MH_Cut [08:49:49]Write to MH i2c: D1 01 00 B1 22 01 A5 [08:49:49]Write i2c OK [08:49:49]MH_I2C_Read... [08:49:49]Read from MH i2c: D1 [08:49:49]MH_I2C_Read... [08:49:49]Read from MH i2c: D1 01 00 [08:49:49]MH_I2C_Read... [08:49:49]Read from MH i2c: D1 01 00 B1 22 00 A4 [08:49:49]Write to MH i2c: 01 00 00 B2 22 D4 [08:49:49]Write i2c OK [08:49:49]MH_I2C_Read... [08:49:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 51 B1 47 00 78 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 33 58 00 00 F4 03 04 00 4E CA F4 66 B6 04 01 00 00 E7 00 B4 BB D7 1E 01 E6 [08:49:49]CommunicateWithHost err = 0 [08:49:49]CheckOFDResponse [08:49:49]1017 (14) - 77093643461234 [08:49:49]1041 (16) - 0000000000959358 [08:49:49]1040 (4) - 22579 [08:49:49]1012 (4) - 26.09.2024 02:43 [08:49:49]1206 (1) - 0 [08:49:49]OFD Sender: Remove packet 22579 [08:49:49]ProducePacketName [08:49:49]name=ofd_packets/00022579 [08:49:49]NVStorageDeleteData [08:49:49]OFD Sender: No OFD packet to send [08:49:49]*** Cut start [08:49:49]*** Partial cut [08:49:49]*** CUTSNS_PIN = 1 [08:49:49]*** CUTSNS_PIN = 0 [08:49:49]*** Brake cut motor [08:49:50]Read from MH i2c: 01 [08:49:50]MH_I2C_Read... [08:49:50]*** Stop cut motor [08:49:50]*** Cut end [08:49:50]Read from MH i2c: 01 07 00 [08:49:50]MH_I2C_Read... [08:49:50]Read from MH i2c: 01 07 00 B2 22 00 00 00 00 00 FF 0F E9 [08:49:50]process_action close_receipt done [08:49:50]requested_data is exist [08:49:50]produce_requested_data [08:49:50]requested_item fm.sn is exist - process it [08:49:50]wFMCommunicate request_size=4 [08:49:50]MH_SAM_APDU [08:49:50]CAPDU: 80 11 00 00 [08:49:50]Write to MH i2c: E2 08 00 B3 22 80 11 00 00 00 00 00 00 4F [08:49:50]Write i2c OK [08:49:50]MH_I2C_Read... [08:49:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:50]Read from MH i2c: E2 [08:49:50]MH_I2C_Read... [08:49:50]Read from MH i2c: E2 17 00 [08:49:50]MH_I2C_Read... [08:49:50]Read from MH i2c: E2 17 00 B3 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A9 [08:49:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:49:50]wFMCommunicate OK [08:49:50]requested_item fd.num is exist - process it [08:49:50]SAM_PROTO_GetFieldsCounters [08:49:50]wFMCommunicate request_size=4 [08:49:50]MH_SAM_APDU [08:49:50]CAPDU: 80 13 00 00 [08:49:50]Write to MH i2c: E2 08 00 B4 22 80 13 00 00 00 00 00 00 52 [08:49:50]Write i2c OK [08:49:50]MH_I2C_Read... [08:49:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:49:50]Read from MH i2c: E2 [08:49:50]MH_I2C_Read... [08:49:50]Read from MH i2c: E2 62 00 [08:49:50]MH_I2C_Read... [08:49:50]Read from MH i2c: E2 62 00 B4 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 33 58 00 00 0E 04 04 00 E8 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 69 [08:49:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 33 58 00 00 0E 04 04 00 E8 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 [08:49:50]wFMCommunicate OK [08:49:50]SAM_PROTO_GetFieldsCounters done [08:49:50]requested_item shift.num is exist - process it [08:49:50]requested_item shift.opened is exist - process it [08:49:50]req_shift_opened [08:49:50]FM_GetShiftState [08:49:50]SAM_PROTO_GetShiftState [08:49:50]wFMCommunicate request_size=4 [08:49:50]MH_SAM_APDU [08:49:50]CAPDU: 80 13 01 00 [08:49:50]Write to MH i2c: E2 08 00 B5 22 80 13 01 00 00 00 00 00 54 [08:49:50]Write i2c OK [08:49:50]MH_I2C_Read... [08:49:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:49:50]Read from MH i2c: E2 [08:49:50]MH_I2C_Read... [08:49:50]Read from MH i2c: E2 0E 00 [08:49:50]MH_I2C_Read... [08:49:50]Read from MH i2c: E2 0E 00 B5 22 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 14 [08:49:50]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [08:49:50]wFMCommunicate OK [08:49:50]SAM_PROTO_GetShiftState done [08:49:50]FM_GetShiftState done [08:49:50]req_shift_opened done [08:49:50]requested_item shift.open_date is exist - process it [08:49:50]req_shift_open_date [08:49:50]req_shift_open_date done [08:49:50]produce_requested_data done [08:49:50]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22579,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [08:49:50]process_action_free close_receipt [08:49:50]json_value_free [08:49:50]json_value_free done [08:49:50]process_json_proto returns [08:49:50]Send response to host [08:49:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22579,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [08:49:50]free response buf [08:49:50]execute_script done [08:49:50]execute_script returns [08:49:50]free content buf [08:49:50]Sock 9.Close socket [08:49:50]Sock 9.Thread stoped [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:25]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]OFD Sender: No OFD packet to send [09:15:30]OFD Sender: No OFD packet to send [09:15:35]OFD Sender: No OFD packet to send [09:15:40]OFD Sender: No OFD packet to send [09:15:45]OFD Sender: No OFD packet to send [09:15:50]OFD Sender: No OFD packet to send [09:15:55]OFD Sender: No OFD packet to send [09:16:00]OFD Sender: No OFD packet to send [09:16:05]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:11]OFD Sender: No OFD packet to send [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:33]accept exits with 10 [09:19:33]New connection [09:19:33]New thread 3067440484 created [09:19:33]Thread 3067583844 joined [09:19:33]Waiting for new connection... [09:19:33] Sock 10.Parse request [09:19:33]Sock 10.Check first char [09:19:33]Sock 10.First char is OK [09:19:33]request: POST /json_proto HTTP/1.0 [09:19:33]Method: POST [09:19:33]URL: /json_proto [09:19:33]Method is POST - this is cgi request [09:19:33]url: /json_proto [09:19:33]query_string will be loaded in cgi processing [09:19:33]execute_cgi json_proto POST (null) [09:19:33]execute_cgi path=json_proto method=POST [09:19:33]POST find Content-Length [09:19:33]Host: 172.17.43.4:8080 [09:19:33]Content-Length: 683 [09:19:33]Content-Type: application/json [09:19:33] [09:19:33]POST finish read [09:19:33]Found Content-Length = 683 [09:19:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165424", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "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" ] } } [09:19:33]execute_script... [09:19: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)2165424", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "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" ] } } [09:19:33]POST & json_proto [09:19:33]process_json_proto [09:19:33]json parsed OK: [09:19:33]protocol is kg_v1.0 [09:19:33]action value=close_receipt [09:19:33]process_action close_receipt [09:19:33]cmd_close_receipt [09:19:33]MH_GetDate [09:19:33]Write to MH i2c: F0 00 00 B6 22 C7 [09:19:33]Write i2c OK [09:19:33]MH_I2C_Read... [09:19:33]Read from MH i2c: F0 [09:19:33]MH_I2C_Read... [09:19:33]Read from MH i2c: F0 09 00 [09:19:33]MH_I2C_Read... [09:19:33]Read from MH i2c: F0 09 00 B6 22 00 29 27 F5 66 02 BF CF 66 71 [09:19:33]GetLastDocTimeStamp 1727340590 [09:19:33]current date 1727342377 [09:19:33]FM_GetShiftState [09:19:33]SAM_PROTO_GetShiftState [09:19:33]wFMCommunicate request_size=4 [09:19:33]MH_SAM_APDU [09:19:33]CAPDU: 80 13 01 00 [09:19:33]Write to MH i2c: E2 08 00 B7 22 80 13 01 00 00 00 00 00 56 [09:19:33]Write i2c OK [09:19:33]MH_I2C_Read... [09:19:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:33]Read from MH i2c: E2 [09:19:33]MH_I2C_Read... [09:19:33]Read from MH i2c: E2 0E 00 [09:19:33]MH_I2C_Read... [09:19:33]Read from MH i2c: E2 0E 00 B7 22 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 16 [09:19:33]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [09:19:33]wFMCommunicate OK [09:19:33]SAM_PROTO_GetShiftState done [09:19:33]FM_GetShiftState done [09:19:33]opened in 1727309492 [09:19:33]opened+sec_in_day 1727395892 [09:19:33]quantity*price = 100021 [09:19:33]sum+1 = 100023 [09:19:33]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.22 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.22 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 44 26.09.2024 09:19 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22580 ФПД: 247351974464328 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T091937&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22580&fm=247351974464328&tin=02508201610067®Number=0000000000146243&sum=100000 [09:19:34]StoreToDocumentArchive [09:19:34]shift 232 fd 22580 [09:19:34]save to /storage/0232/doc_00022580 [09:19:34]save last doc name /storage/0232/doc_00022580 to /storage/kkm_last_doc_name [09:19:34]save OK [09:19:34]Clear old archive folders... [09:19:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:19:34]tlvbuf is 002A9280 [09:19:34]SAM_PROTO_ClearQueue [09:19:34]wFMCommunicate request_size=4 [09:19:34]MH_SAM_APDU [09:19:34]CAPDU: 80 09 00 00 [09:19:34]Write to MH i2c: E2 08 00 C4 22 80 09 00 00 00 00 00 00 58 [09:19:34]Write i2c OK [09:19:34]MH_I2C_Read... [09:19:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:19:34]Read from MH i2c: E2 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 03 00 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 03 00 C4 22 00 90 00 5A [09:19:34]RAPDU: 90 00 [09:19:34]wFMCommunicate OK [09:19:34]SAM_PROTO_ClearQueue done [09:19:34]KKMCreateOFDPacket [09:19:34]OFDProtocolAddRootSTLVToBuf [09:19:34]FM_MakeSignedData [09:19:34]FM_MakeSignedData [09:19:34]SAM_PROTO_SignData [09:19:34]wFMCommunicate request_size=4 [09:19:34]MH_SAM_APDU [09:19:34]CAPDU: 80 0D 01 02 [09:19:34]Write to MH i2c: E2 08 00 C5 22 80 0D 01 02 00 00 00 00 60 [09:19:34]Write i2c OK [09:19:34]MH_I2C_Read... [09:19:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:19:34]Read from MH i2c: E2 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 03 00 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 03 00 C5 22 00 90 00 5B [09:19:34]RAPDU: 90 00 [09:19:34]wFMCommunicate OK [09:19:34]wFMCommunicate request_size=255 [09:19:34]MH_SAM_APDU [09:19: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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 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 2C 00 00 00 F4 03 04 00 29 27 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 34 58 00 00 35 04 06 00 E0 [09:19:34]Write to MH i2c: E2 02 01 C6 22 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 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 2C 00 00 00 F4 03 04 00 29 27 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 34 58 00 00 35 04 06 00 E0 00 00 39 [09:19:34]Write i2c OK [09:19:34]MH_I2C_Read... [09:19:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:19:34]Read from MH i2c: E2 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 03 00 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 03 00 C6 22 00 90 00 5C [09:19:34]RAPDU: 90 00 [09:19:34]wFMCommunicate OK [09:19:34]wFMCommunicate request_size=10 [09:19:34]MH_SAM_APDU [09:19:34]CAPDU: 80 0D 02 02 05 F7 1E 92 8B 48 [09:19:34]Write to MH i2c: E2 0D 00 C7 22 80 0D 02 02 05 00 F7 1E 92 8B 48 00 00 E7 [09:19:34]Write i2c OK [09:19:34]MH_I2C_Read... [09:19:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:19:34]Read from MH i2c: E2 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 03 00 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 03 00 C7 22 00 90 00 5D [09:19:34]RAPDU: 90 00 [09:19:34]wFMCommunicate OK [09:19:34]wFMCommunicate request_size=4 [09:19:34]MH_SAM_APDU [09:19:34]CAPDU: 80 0D 03 02 [09:19:34]Write to MH i2c: E2 08 00 C8 22 80 0D 03 02 00 00 00 00 65 [09:19:34]Write i2c OK [09:19:34]MH_I2C_Read... [09:19:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:19:34]Read from MH i2c: E2 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 0B 00 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 0B 00 C8 22 00 DE AD 7F 47 D4 4D 2E 52 90 00 58 [09:19:34]RAPDU: DE AD 7F 47 D4 4D 2E 52 90 00 [09:19:34]wFMCommunicate OK [09:19:34]SAM_PROTO_SignData done [09:19:34]FM_MakeSignedData done [09:19:34]CreateOFDProtocolMessage [09:19:34]wFMCommunicate request_size=4 [09:19:34]MH_SAM_APDU [09:19:34]CAPDU: 80 11 00 00 [09:19:34]Write to MH i2c: E2 08 00 C9 22 80 11 00 00 00 00 00 00 65 [09:19:34]Write i2c OK [09:19:34]MH_I2C_Read... [09:19:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:19:34]Read from MH i2c: E2 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 17 00 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: E2 17 00 C9 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BF [09:19:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:19:34]wFMCommunicate OK [09:19:34]CreateOFDProtocolMessage done [09:19:34]OFDSenderStorePacket 22580 [09:19:34]StoreOFDPacket docnum=22580 [09:19:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 ED 62 07 01 6E 21 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 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 2C 00 00 00 F4 03 04 00 29 27 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 34 58 00 00 35 04 06 00 E0 F7 1E 92 8B 48 DE AD 7F 47 D4 4D 2E 52 [09:19:34]CheckFolder [09:19:34]dirname=/storage/ofd_packets [09:19:34]CheckFolder done [09:19:34]ProducePacketName [09:19:34]name=ofd_packets/00022580 [09:19:34]NVStorageSaveData ofd_packets/00022580 [09:19:34]File name is /storage/ofd_packets/00022580 [09:19:34]Write 301 bytes [09:19:34]NVStorageSaveData done [09:19:34]OFDSenderStorePacket done [09:19:34]KKMCreateOFDPacket done [09:19:34]NVStorageSaveData kkm_last_timestamp [09:19:34]File name is /storage/kkm_last_timestamp [09:19:34]Write 4 bytes [09:19:34]NVStorageSaveData done [09:19:34]ExternCall_PrintAddStr [09:19:34]wPrintStart [09:19:34]Write to MH i2c: 01 00 00 CA 22 EC [09:19:34]Write i2c OK [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: 01 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: 01 07 00 [09:19:34]MH_I2C_Read... [09:19:34]Read from MH i2c: 01 07 00 CA 22 00 00 00 00 00 FF 0F 01 [09:19:34]RasterBufferAndPrint [09:19:34]line Счет N : (1)2165424 [09:19:34]line ИÐÐ: 02508201610067 [09:19:34]line Контрольно-КаÑÑовый Чек [09:19:34]line ПРОДÐЖР[09:19:34]line ТРК (МРК, ГÐК) : 23 [09:19:34]line Товар: 2710124500 [09:19:34]line Ðи-95-К-5 [09:19:34]line 13.480 * 74.20 [09:19:34]line = 1000.22 [09:19:34]line ÐДС 12% ÐСП 1% [09:19:34]line > о реализуемом товаре [09:19:34]line ОКРУГЛЕÐИЕ: -0.22 [09:19:34]line ИТОГО: 1000.00 [09:19:34]line ВнеÑено: 1000.00 [09:19:34]line СДÐЧÐ: 0.00 [09:19:34]line ÐСП 1% : 8.85 [09:19:34]line ÐДС 12% : 106.22 [09:19:34]line Ðаличными: 1000.00 [09:19:34]line Безнал.: 0.00 [09:19:34]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [09:19:34]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [09:19:34]line СÐО: Общий режим [09:19:34]line Чек 44 26.09.2024 09:19 [09:19:34]line Смена: 232 ФФД: 1.0 [09:19:34]line ЗÐМ: 0300000061 [09:19:34]line РÐМ: 0000000000146243 [09:19:34]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [09:19:34]line ФМ: 0000000000959358 [09:19:34]line ФД: 22580 [09:19:34]line ФПД: 247351974464328 [09:19:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T091937&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22580&fm=247351974464328&tin=02508201610067®Number=0000000000146243&sum=100000 [09:19:35]OFD Sender: Processing packet 22580 [packets to send 23, broken 22] [09:19:35]ProducePacketName [09:19:35]name=ofd_packets/00022580 [09:19:35]OFD Sender: To server: ‡•öpG, [09:19:35]CommunicateWithHost lk.salyk.kg:30040 [09:19:35]ConnectInit lk.salyk.kg [09:19:35]written 0, free lines is 4095 [09:19:35]Connected sock=9 [09:19:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 ED 62 07 01 6E 21 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 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 2C 00 00 00 F4 03 04 00 29 27 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 34 58 00 00 35 04 06 00 E0 F7 1E 92 8B 48 DE AD 7F 47 D4 4D 2E 52 [09:19:35]Write to MH i2c: 01 00 00 F5 22 17 [09:19:35]Write i2c OK [09:19:35]MH_I2C_Read... [09:19:35]Read from MH i2c: 01 [09:19:35]MH_I2C_Read... [09:19:35]Read from MH i2c: 01 07 00 [09:19:35]MH_I2C_Read... [09:19:35]Read from MH i2c: 01 07 00 F5 22 00 00 00 00 00 00 0D 2B [09:19:35]RasterBufferAndPrint [09:19:35]line [09:19:35]line [09:19:35]line [09:19:35]line [09:19:35]line [09:19:35]written 0, free lines is 3337 [09:19:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F0 37 47 00 53 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 39 35 39 33 35 38 10 04 04 00 34 58 00 00 F4 03 04 00 49 D1 F4 66 B6 04 01 00 00 53 EE 94 F9 DC AD E1 3B [09:19:35]CommunicateWithHost err = 0 [09:19:35]CheckOFDResponse [09:19:35]1017 (14) - 77093643461234 [09:19:35]1041 (16) - 0000000000959358 [09:19:35]1040 (4) - 22580 [09:19:35]1012 (4) - 26.09.2024 03:13 [09:19:35]1206 (1) - 0 [09:19:35]OFD Sender: Remove packet 22580 [09:19:35]ProducePacketName [09:19:35]name=ofd_packets/00022580 [09:19:35]NVStorageDeleteData [09:19:35]MH_Cut [09:19:35]Write to MH i2c: D1 01 00 FC 22 01 F0 [09:19:35]Write i2c OK [09:19:35]MH_I2C_Read... [09:19:35]Read from MH i2c: D1 [09:19:35]MH_I2C_Read... [09:19:35]Read from MH i2c: D1 01 00 [09:19:35]MH_I2C_Read... [09:19:35]Read from MH i2c: D1 01 00 FC 22 00 EF [09:19:35]Write to MH i2c: 01 00 00 FD 22 1F [09:19:35]Write i2c OK [09:19:35]MH_I2C_Read... [09:19:36]OFD Sender: No OFD packet to send [09:19:36]*** Cut start [09:19:36]*** Partial cut [09:19:36]*** CUTSNS_PIN = 1 [09:19:36]*** CUTSNS_PIN = 0 [09:19:36]*** Brake cut motor [09:19:36]Read from MH i2c: 01 [09:19:37]MH_I2C_Read... [09:19:37]*** Stop cut motor [09:19:37]*** Cut end [09:19:37]Read from MH i2c: 01 07 00 [09:19:37]MH_I2C_Read... [09:19:37]Read from MH i2c: 01 07 00 FD 22 00 00 00 00 00 FF 0F 34 [09:19:37]process_action close_receipt done [09:19:37]requested_data is exist [09:19:37]produce_requested_data [09:19:37]requested_item fm.sn is exist - process it [09:19:37]wFMCommunicate request_size=4 [09:19:37]MH_SAM_APDU [09:19:37]CAPDU: 80 11 00 00 [09:19:37]Write to MH i2c: E2 08 00 FE 22 80 11 00 00 00 00 00 00 9A [09:19:37]Write i2c OK [09:19:37]MH_I2C_Read... [09:19:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:19:37]Read from MH i2c: E2 [09:19:37]MH_I2C_Read... [09:19:37]Read from MH i2c: E2 17 00 [09:19:37]MH_I2C_Read... [09:19:37]Read from MH i2c: E2 17 00 FE 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F4 [09:19:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:19:37]wFMCommunicate OK [09:19:37]requested_item fd.num is exist - process it [09:19:37]SAM_PROTO_GetFieldsCounters [09:19:37]wFMCommunicate request_size=4 [09:19:37]MH_SAM_APDU [09:19:37]CAPDU: 80 13 00 00 [09:19:37]Write to MH i2c: E2 08 00 FF 22 80 13 00 00 00 00 00 00 9D [09:19:37]Write i2c OK [09:19:37]MH_I2C_Read... [09:19:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:19:37]Read from MH i2c: E2 [09:19:37]MH_I2C_Read... [09:19:37]Read from MH i2c: E2 62 00 [09:19:37]MH_I2C_Read... [09:19:37]Read from MH i2c: E2 62 00 FF 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 34 58 00 00 0E 04 04 00 E8 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 B8 [09:19:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 34 58 00 00 0E 04 04 00 E8 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 [09:19:37]wFMCommunicate OK [09:19:37]SAM_PROTO_GetFieldsCounters done [09:19:37]requested_item shift.num is exist - process it [09:19:37]requested_item shift.opened is exist - process it [09:19:37]req_shift_opened [09:19:37]FM_GetShiftState [09:19:37]SAM_PROTO_GetShiftState [09:19:37]wFMCommunicate request_size=4 [09:19:37]MH_SAM_APDU [09:19:37]CAPDU: 80 13 01 00 [09:19:37]Write to MH i2c: E2 08 00 00 23 80 13 01 00 00 00 00 00 A0 [09:19:37]Write i2c OK [09:19:37]MH_I2C_Read... [09:19:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:37]Read from MH i2c: E2 [09:19:37]MH_I2C_Read... [09:19:37]Read from MH i2c: E2 0E 00 [09:19:37]MH_I2C_Read... [09:19:37]Read from MH i2c: E2 0E 00 00 23 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 60 [09:19:37]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [09:19:37]wFMCommunicate OK [09:19:37]SAM_PROTO_GetShiftState done [09:19:37]FM_GetShiftState done [09:19:37]req_shift_opened done [09:19:37]requested_item shift.open_date is exist - process it [09:19:37]req_shift_open_date [09:19:37]req_shift_open_date done [09:19:37]produce_requested_data done [09:19:37]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22580,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [09:19:37]process_action_free close_receipt [09:19:37]json_value_free [09:19:37]json_value_free done [09:19:37]process_json_proto returns [09:19:37]Send response to host [09:19:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22580,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [09:19:37]free response buf [09:19:37]execute_script done [09:19:37]execute_script returns [09:19:37]free content buf [09:19:37]Sock 10.Close socket [09:19:37]Sock 10.Thread stoped [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:06]OFD Sender: No OFD packet to send [09:21:11]OFD Sender: No OFD packet to send [09:21:16]OFD Sender: No OFD packet to send [09:21:21]OFD Sender: No OFD packet to send [09:21:26]OFD Sender: No OFD packet to send [09:21:31]OFD Sender: No OFD packet to send [09:21:36]OFD Sender: No OFD packet to send [09:21:41]OFD Sender: No OFD packet to send [09:21:46]OFD Sender: No OFD packet to send [09:21:51]OFD Sender: No OFD packet to send [09:21:56]OFD Sender: No OFD packet to send [09:22:01]OFD Sender: No OFD packet to send [09:22:06]OFD Sender: No OFD packet to send [09:22:11]OFD Sender: No OFD packet to send [09:22:16]OFD Sender: No OFD packet to send [09:22:21]OFD Sender: No OFD packet to send [09:22:26]OFD Sender: No OFD packet to send [09:22:31]OFD Sender: No OFD packet to send [09:22:36]OFD Sender: No OFD packet to send [09:22:41]OFD Sender: No OFD packet to send [09:22:46]OFD Sender: No OFD packet to send [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:36]OFD Sender: No OFD packet to send [09:23:41]OFD Sender: No OFD packet to send [09:23:46]OFD Sender: No OFD packet to send [09:23:51]OFD Sender: No OFD packet to send [09:23:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:52]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:57]OFD Sender: No OFD packet to send [09:39:02]OFD Sender: No OFD packet to send [09:39:07]OFD Sender: No OFD packet to send [09:39:12]OFD Sender: No OFD packet to send [09:39:17]OFD Sender: No OFD packet to send [09:39:22]OFD Sender: No OFD packet to send [09:39:27]OFD Sender: No OFD packet to send [09:39:32]OFD Sender: No OFD packet to send [09:39:37]OFD Sender: No OFD packet to send [09:39:42]OFD Sender: No OFD packet to send [09:39:47]OFD Sender: No OFD packet to send [09:39:52]OFD Sender: No OFD packet to send [09:39:57]OFD Sender: No OFD packet to send [09:40:02]OFD Sender: No OFD packet to send [09:40:07]OFD Sender: No OFD packet to send [09:40:12]OFD Sender: No OFD packet to send [09:40:17]OFD Sender: No OFD packet to send [09:40:22]OFD Sender: No OFD packet to send [09:40:27]OFD Sender: No OFD packet to send [09:40:32]OFD Sender: No OFD packet to send [09:40:37]OFD Sender: No OFD packet to send [09:40:42]OFD Sender: No OFD packet to send [09:40:47]OFD Sender: No OFD packet to send [09:40:52]OFD Sender: No OFD packet to send [09:40:57]OFD Sender: No OFD packet to send [09:41:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:07]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:37]OFD Sender: No OFD packet to send [09:44:42]OFD Sender: No OFD packet to send [09:44:47]OFD Sender: No OFD packet to send [09:44:52]OFD Sender: No OFD packet to send [09:44:57]OFD Sender: No OFD packet to send [09:45:02]OFD Sender: No OFD packet to send [09:45:07]OFD Sender: No OFD packet to send [09:45:12]OFD Sender: No OFD packet to send [09:45:17]OFD Sender: No OFD packet to send [09:45:22]OFD Sender: No OFD packet to send [09:45:27]OFD Sender: No OFD packet to send [09:45:32]OFD Sender: No OFD packet to send [09:45:37]OFD Sender: No OFD packet to send [09:45:42]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:07]OFD Sender: No OFD packet to send [09:46:12]OFD Sender: No OFD packet to send [09:46:17]OFD Sender: No OFD packet to send [09:46:22]OFD Sender: No OFD packet to send [09:46:27]OFD Sender: No OFD packet to send [09:46:32]OFD Sender: No OFD packet to send [09:46:37]OFD Sender: No OFD packet to send [09:46:42]OFD Sender: No OFD packet to send [09:46:47]OFD Sender: No OFD packet to send [09:46:52]OFD Sender: No OFD packet to send [09:46:57]OFD Sender: No OFD packet to send [09:47:02]OFD Sender: No OFD packet to send [09:47:07]OFD Sender: No OFD packet to send [09:47:12]OFD Sender: No OFD packet to send [09:47:17]OFD Sender: No OFD packet to send [09:47:21]accept exits with 7 [09:47:21]New connection [09:47:21]New thread 3067583844 created [09:47:21]Thread 3067440484 joined [09:47:21]Waiting for new connection... [09:47:21] Sock 7.Parse request [09:47:21]Sock 7.Check first char [09:47:21]Sock 7.First char is OK [09:47:21]request: POST /json_proto HTTP/1.0 [09:47:21]Method: POST [09:47:21]URL: /json_proto [09:47:21]Method is POST - this is cgi request [09:47:21]url: /json_proto [09:47:21]query_string will be loaded in cgi processing [09:47:21]execute_cgi json_proto POST (null) [09:47:21]execute_cgi path=json_proto method=POST [09:47:21]POST find Content-Length [09:47:21]Host: 172.17.43.4:8080 [09:47:21]Content-Length: 776 [09:47:21]Content-Type: application/json [09:47:21] [09:47:21]POST finish read [09:47:21]Found Content-Length = 776 [09:47:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51744", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 0.00, "quantity" : 3.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:47:21]execute_script... [09:47:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51744", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 0.00, "quantity" : 3.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:47:21]POST & json_proto [09:47:21]process_json_proto [09:47:21]json parsed OK: [09:47:21]protocol is kg_v1.0 [09:47:21]action value=close_receipt [09:47:21]process_action close_receipt [09:47:21]cmd_close_receipt [09:47:21]MH_GetDate [09:47:21]Write to MH i2c: F0 00 00 01 23 13 [09:47:21]Write i2c OK [09:47:21]MH_I2C_Read... [09:47:21]Read from MH i2c: F0 [09:47:21]MH_I2C_Read... [09:47:21]Read from MH i2c: F0 09 00 [09:47:21]MH_I2C_Read... [09:47:21]Read from MH i2c: F0 09 00 01 23 00 AD 2D F5 66 02 BF CF 66 47 [09:47:21]GetLastDocTimeStamp 1727342377 [09:47:21]current date 1727344045 [09:47:21]FM_GetShiftState [09:47:21]SAM_PROTO_GetShiftState [09:47:21]wFMCommunicate request_size=4 [09:47:21]MH_SAM_APDU [09:47:21]CAPDU: 80 13 01 00 [09:47:21]Write to MH i2c: E2 08 00 02 23 80 13 01 00 00 00 00 00 A2 [09:47:21]Write i2c OK [09:47:21]MH_I2C_Read... [09:47:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:47:21]Read from MH i2c: E2 [09:47:21]MH_I2C_Read... [09:47:21]Read from MH i2c: E2 0E 00 [09:47:21]MH_I2C_Read... [09:47:21]Read from MH i2c: E2 0E 00 02 23 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 62 [09:47:21]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [09:47:21]wFMCommunicate OK [09:47:21]SAM_PROTO_GetShiftState done [09:47:21]FM_GetShiftState done [09:47:21]opened in 1727309492 [09:47:21]opened+sec_in_day 1727395892 [09:47:21]quantity*price = 0 [09:47:21]sum+1 = 1 [09:47:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 ÐСП 1% : 0.00 ÐДС 12% : 0.00 Ðаличными: 0.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 45 26.09.2024 09:47 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank ФМ: 0000000000959358 ФД: 22581 ФПД: 217758839714746 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T094725&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22581&fm=217758839714746&tin=02508201610067®Number=0000000000146243&sum=0 0 [09:47:22]StoreToDocumentArchive [09:47:22]shift 232 fd 22581 [09:47:22]save to /storage/0232/doc_00022581 [09:47:22]save last doc name /storage/0232/doc_00022581 to /storage/kkm_last_doc_name [09:47:22]save OK [09:47:22]Clear old archive folders... [09:47:22]ProcessDocumentItem done err = 0, tmpTLVsize=284 [09:47:22]tlvbuf is 00205310 [09:47:22]SAM_PROTO_ClearQueue [09:47:22]wFMCommunicate request_size=4 [09:47:22]MH_SAM_APDU [09:47:22]CAPDU: 80 09 00 00 [09:47:22]Write to MH i2c: E2 08 00 0F 23 80 09 00 00 00 00 00 00 A4 [09:47:22]Write i2c OK [09:47:22]MH_I2C_Read... [09:47:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:47:22]Read from MH i2c: E2 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 03 00 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 03 00 0F 23 00 90 00 A6 [09:47:22]RAPDU: 90 00 [09:47:22]wFMCommunicate OK [09:47:22]SAM_PROTO_ClearQueue done [09:47:22]KKMCreateOFDPacket [09:47:22]OFDProtocolAddRootSTLVToBuf [09:47:22]FM_MakeSignedData [09:47:22]FM_MakeSignedData [09:47:22]SAM_PROTO_SignData [09:47:22]wFMCommunicate request_size=4 [09:47:22]MH_SAM_APDU [09:47:22]CAPDU: 80 0D 01 02 [09:47:22]Write to MH i2c: E2 08 00 10 23 80 0D 01 02 00 00 00 00 AC [09:47:22]Write i2c OK [09:47:22]MH_I2C_Read... [09:47:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:47:22]Read from MH i2c: E2 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 03 00 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 03 00 10 23 00 90 00 A7 [09:47:22]RAPDU: 90 00 [09:47:22]wFMCommunicate OK [09:47:22]wFMCommunicate request_size=255 [09:47:22]MH_SAM_APDU [09:47:22]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 AD 2D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 [09:47:22]Write to MH i2c: E2 02 01 11 23 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 AD 2D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 00 00 00 [09:47:22]Write i2c OK [09:47:22]MH_I2C_Read... [09:47:22]OFD Sender: No OFD packet to send [09:47:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:47:22]Read from MH i2c: E2 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 03 00 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 03 00 11 23 00 90 00 A8 [09:47:22]RAPDU: 90 00 [09:47:22]wFMCommunicate OK [09:47:22]wFMCommunicate request_size=43 [09:47:22]MH_SAM_APDU [09:47:22]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 35 58 00 00 35 04 06 00 C6 0C EE 49 B3 BA [09:47:22]Write to MH i2c: E2 2E 00 12 23 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 35 58 00 00 35 04 06 00 C6 0C EE 49 B3 BA 00 00 A1 [09:47:22]Write i2c OK [09:47:22]MH_I2C_Read... [09:47:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:47:22]Read from MH i2c: E2 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 03 00 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 03 00 12 23 00 90 00 A9 [09:47:22]RAPDU: 90 00 [09:47:22]wFMCommunicate OK [09:47:22]wFMCommunicate request_size=4 [09:47:22]MH_SAM_APDU [09:47:22]CAPDU: 80 0D 03 02 [09:47:22]Write to MH i2c: E2 08 00 13 23 80 0D 03 02 00 00 00 00 B1 [09:47:22]Write i2c OK [09:47:22]MH_I2C_Read... [09:47:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:47:22]Read from MH i2c: E2 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 0B 00 [09:47:22]MH_I2C_Read... [09:47:22]Read from MH i2c: E2 0B 00 13 23 00 22 9B 8E 96 46 4A DD 19 90 00 19 [09:47:22]RAPDU: 22 9B 8E 96 46 4A DD 19 90 00 [09:47:22]wFMCommunicate OK [09:47:22]SAM_PROTO_SignData done [09:47:22]FM_MakeSignedData done [09:47:22]CreateOFDProtocolMessage [09:47:22]wFMCommunicate request_size=4 [09:47:22]MH_SAM_APDU [09:47:22]CAPDU: 80 11 00 00 [09:47:22]Write to MH i2c: E2 08 00 14 23 80 11 00 00 00 00 00 00 B1 [09:47:22]Write i2c OK [09:47:22]MH_I2C_Read... [09:47:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:47:23]Read from MH i2c: E2 [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: E2 17 00 [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: E2 17 00 14 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 0B [09:47:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:47:23]wFMCommunicate OK [09:47:23]CreateOFDProtocolMessage done [09:47:23]OFDSenderStorePacket 22581 [09:47:23]StoreOFDPacket docnum=22581 [09:47:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 30 01 00 00 E2 3D 28 01 C7 03 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 AD 2D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 35 58 00 00 35 04 06 00 C6 0C EE 49 B3 BA 22 9B 8E 96 46 4A DD 19 [09:47:23]CheckFolder [09:47:23]dirname=/storage/ofd_packets [09:47:23]CheckFolder done [09:47:23]ProducePacketName [09:47:23]name=ofd_packets/00022581 [09:47:23]NVStorageSaveData ofd_packets/00022581 [09:47:23]File name is /storage/ofd_packets/00022581 [09:47:23]Write 334 bytes [09:47:23]NVStorageSaveData done [09:47:23]OFDSenderStorePacket done [09:47:23]KKMCreateOFDPacket done [09:47:23]NVStorageSaveData kkm_last_timestamp [09:47:23]File name is /storage/kkm_last_timestamp [09:47:23]Write 4 bytes [09:47:23]NVStorageSaveData done [09:47:23]ExternCall_PrintAddStr [09:47:23]wPrintStart [09:47:23]Write to MH i2c: 01 00 00 15 23 38 [09:47:23]Write i2c OK [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: 01 [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: 01 07 00 [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: 01 07 00 15 23 00 00 00 00 00 FF 0F 4D [09:47:23]RasterBufferAndPrint [09:47:23]line Счет N : (3)51744 [09:47:23]line ИÐÐ: 02508201610067 [09:47:23]line Контрольно-КаÑÑовый Чек [09:47:23]line ПРОДÐЖР[09:47:23]line Товар: 2000034250011 [09:47:23]line ГорÑчий шоколад (GABB trade) [09:47:23]line 3.000 * 0.00 [09:47:23]line = 0.00 [09:47:23]line ÐДС 12% ÐСП 1% [09:47:23]line > о реализуемом товаре [09:47:23]line ИТОГО: 0.00 [09:47:23]line ÐСП 1% : 0.00 [09:47:23]line ÐДС 12% : 0.00 [09:47:23]line Ðаличными: 0.00 [09:47:23]line Безнал.: 0.00 [09:47:23]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [09:47:23]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [09:47:23]line СÐО: Общий режим [09:47:23]line Чек 45 26.09.2024 09:47 [09:47:23]line Смена: 232 ФФД: 1.0 [09:47:23]line ЗÐМ: 0300000061 [09:47:23]line РÐМ: 0000000000146243 [09:47:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [09:47:23]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Mbank [09:47:23]line ФМ: 0000000000959358 [09:47:23]line ФД: 22581 [09:47:23]line ФПД: 217758839714746 [09:47:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T094725&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22581&fm=217758839714746&tin=02508201610067®Number=0000000000146243&sum=0 [09:47:23]line 0 [09:47:23]OFD Sender: Processing packet 22581 [packets to send 23, broken 22] [09:47:23]ProducePacketName [09:47:23]name=ofd_packets/00022581 [09:47:23]OFD Sender: To server: ‡•öpG, [09:47:23]CommunicateWithHost lk.salyk.kg:30040 [09:47:23]ConnectInit lk.salyk.kg [09:47:23]written 0, free lines is 4095 [09:47:23]Connected sock=10 [09:47:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 30 01 00 00 E2 3D 28 01 C7 03 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 AD 2D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 35 58 00 00 35 04 06 00 C6 0C EE 49 B3 BA 22 9B 8E 96 46 4A DD 19 [09:47:23]Write to MH i2c: 01 00 00 3F 23 62 [09:47:23]Write i2c OK [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: 01 [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: 01 07 00 [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: 01 07 00 3F 23 00 00 00 00 00 FE 0C 73 [09:47:23]RasterBufferAndPrint [09:47:23]line [09:47:23]line [09:47:23]line [09:47:23]line [09:47:23]line [09:47:23]written 0, free lines is 3335 [09:47:23]MH_Cut [09:47:23]Write to MH i2c: D1 01 00 46 23 01 3B [09:47:23]Write i2c OK [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: D1 [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: D1 01 00 [09:47:23]MH_I2C_Read... [09:47:23]Read from MH i2c: D1 01 00 46 23 00 3A [09:47:23]Write to MH i2c: 01 00 00 47 23 6A [09:47:23]Write i2c OK [09:47:23]MH_I2C_Read... [09:47:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F9 5B 47 00 88 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 35 58 00 00 F4 03 04 00 CD D7 F4 66 B6 04 01 00 00 10 C7 E5 C6 7D F1 CD F1 [09:47:23]CommunicateWithHost err = 0 [09:47:23]CheckOFDResponse [09:47:23]1017 (14) - 77093643461234 [09:47:23]1041 (16) - 0000000000959358 [09:47:23]1040 (4) - 22581 [09:47:23]1012 (4) - 26.09.2024 03:41 [09:47:23]1206 (1) - 0 [09:47:23]OFD Sender: Remove packet 22581 [09:47:23]ProducePacketName [09:47:23]name=ofd_packets/00022581 [09:47:23]NVStorageDeleteData [09:47:24]OFD Sender: No OFD packet to send [09:47:24]*** Cut start [09:47:24]*** Partial cut [09:47:24]*** CUTSNS_PIN = 1 [09:47:24]*** CUTSNS_PIN = 0 [09:47:24]*** Brake cut motor [09:47:25]Read from MH i2c: 01 [09:47:25]MH_I2C_Read... [09:47:25]*** Stop cut motor [09:47:25]*** Cut end [09:47:25]Read from MH i2c: 01 07 00 [09:47:25]MH_I2C_Read... [09:47:25]Read from MH i2c: 01 07 00 47 23 00 00 00 00 00 FF 0F 7F [09:47:25]process_action close_receipt done [09:47:25]requested_data is exist [09:47:25]produce_requested_data [09:47:25]requested_item fm.sn is exist - process it [09:47:25]wFMCommunicate request_size=4 [09:47:25]MH_SAM_APDU [09:47:25]CAPDU: 80 11 00 00 [09:47:25]Write to MH i2c: E2 08 00 48 23 80 11 00 00 00 00 00 00 E5 [09:47:25]Write i2c OK [09:47:25]MH_I2C_Read... [09:47:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:47:25]Read from MH i2c: E2 [09:47:25]MH_I2C_Read... [09:47:25]Read from MH i2c: E2 17 00 [09:47:25]MH_I2C_Read... [09:47:25]Read from MH i2c: E2 17 00 48 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 3F [09:47:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:47:25]wFMCommunicate OK [09:47:25]requested_item fd.num is exist - process it [09:47:25]SAM_PROTO_GetFieldsCounters [09:47:25]wFMCommunicate request_size=4 [09:47:25]MH_SAM_APDU [09:47:25]CAPDU: 80 13 00 00 [09:47:25]Write to MH i2c: E2 08 00 49 23 80 13 00 00 00 00 00 00 E8 [09:47:25]Write i2c OK [09:47:25]MH_I2C_Read... [09:47:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:47:25]Read from MH i2c: E2 [09:47:25]MH_I2C_Read... [09:47:25]Read from MH i2c: E2 62 00 [09:47:25]MH_I2C_Read... [09:47:25]Read from MH i2c: E2 62 00 49 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 35 58 00 00 0E 04 04 00 E8 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 07 [09:47:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 35 58 00 00 0E 04 04 00 E8 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 [09:47:25]wFMCommunicate OK [09:47:25]SAM_PROTO_GetFieldsCounters done [09:47:25]requested_item shift.num is exist - process it [09:47:25]requested_item shift.opened is exist - process it [09:47:25]req_shift_opened [09:47:25]FM_GetShiftState [09:47:25]SAM_PROTO_GetShiftState [09:47:25]wFMCommunicate request_size=4 [09:47:25]MH_SAM_APDU [09:47:25]CAPDU: 80 13 01 00 [09:47:25]Write to MH i2c: E2 08 00 4A 23 80 13 01 00 00 00 00 00 EA [09:47:25]Write i2c OK [09:47:25]MH_I2C_Read... [09:47:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:47:25]Read from MH i2c: E2 [09:47:25]MH_I2C_Read... [09:47:25]Read from MH i2c: E2 0E 00 [09:47:25]MH_I2C_Read... [09:47:25]Read from MH i2c: E2 0E 00 4A 23 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 AA [09:47:25]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [09:47:25]wFMCommunicate OK [09:47:25]SAM_PROTO_GetShiftState done [09:47:25]FM_GetShiftState done [09:47:25]req_shift_opened done [09:47:25]requested_item shift.open_date is exist - process it [09:47:25]req_shift_open_date [09:47:25]req_shift_open_date done [09:47:25]produce_requested_data done [09:47:25]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22581,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [09:47:25]process_action_free close_receipt [09:47:25]json_value_free [09:47:25]json_value_free done [09:47:25]process_json_proto returns [09:47:25]Send response to host [09:47:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22581,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [09:47:25]free response buf [09:47:25]execute_script done [09:47:25]execute_script returns [09:47:25]free content buf [09:47:25]Sock 7.Close socket [09:47:25]Sock 7.Thread stoped [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]accept exits with 9 [09:48:59]New connection [09:48:59]New thread 3067440484 created [09:48:59]Thread 3067583844 joined [09:48:59]Waiting for new connection... [09:48:59] Sock 9.Parse request [09:48:59]Sock 9.Check first char [09:48:59]Sock 9.First char is OK [09:48:59]request: POST /json_proto HTTP/1.0 [09:48:59]Method: POST [09:48:59]URL: /json_proto [09:48:59]Method is POST - this is cgi request [09:48:59]url: /json_proto [09:48:59]query_string will be loaded in cgi processing [09:48:59]execute_cgi json_proto POST (null) [09:48:59]execute_cgi path=json_proto method=POST [09:48:59]POST find Content-Length [09:48:59]Host: 172.17.43.4:8080 [09:48:59]Content-Length: 747 [09:48:59]Content-Type: application/json [09:48:59] [09:48:59]POST finish read [09:48:59]Found Content-Length = 747 [09:48:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51745", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:48:59]execute_script... [09:48:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51745", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:48:59]POST & json_proto [09:48:59]process_json_proto [09:48:59]json parsed OK: [09:48:59]protocol is kg_v1.0 [09:48:59]action value=close_receipt [09:48:59]process_action close_receipt [09:48:59]cmd_close_receipt [09:48:59]MH_GetDate [09:48:59]Write to MH i2c: F0 00 00 4B 23 5D [09:48:59]Write i2c OK [09:48:59]MH_I2C_Read... [09:48:59]Read from MH i2c: F0 [09:48:59]MH_I2C_Read... [09:48:59]Read from MH i2c: F0 09 00 [09:48:59]MH_I2C_Read... [09:48:59]Read from MH i2c: F0 09 00 4B 23 00 10 2E F5 66 02 BF CF 66 F5 [09:48:59]GetLastDocTimeStamp 1727344045 [09:48:59]current date 1727344144 [09:48:59]FM_GetShiftState [09:48:59]SAM_PROTO_GetShiftState [09:48:59]wFMCommunicate request_size=4 [09:48:59]MH_SAM_APDU [09:48:59]CAPDU: 80 13 01 00 [09:48:59]Write to MH i2c: E2 08 00 4C 23 80 13 01 00 00 00 00 00 EC [09:48:59]Write i2c OK [09:48:59]MH_I2C_Read... [09:48:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:48:59]OFD Sender: No OFD packet to send [09:48:59]Read from MH i2c: E2 [09:48:59]MH_I2C_Read... [09:48:59]Read from MH i2c: E2 0E 00 [09:48:59]MH_I2C_Read... [09:48:59]Read from MH i2c: E2 0E 00 4C 23 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 AC [09:48:59]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [09:48:59]wFMCommunicate OK [09:48:59]SAM_PROTO_GetShiftState done [09:48:59]FM_GetShiftState done [09:48:59]opened in 1727309492 [09:48:59]opened+sec_in_day 1727395892 [09:48:59]quantity*price = 12500 [09:48:59]sum+1 = 12501 [09:48:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 ÐСП 1% : 1.11 ÐДС 12% : 13.27 Ðаличными: 125.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 88 "Партнер Ðефть" ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 СÐО: Общий режим Чек 46 26.09.2024 09:49 Смена: 232 ФФД: 1.0 ЗÐМ: 0300000061 РÐМ: 0000000000146243 ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 ФМ: 0000000000959358 ФД: 22582 ФПД: 156669308549642 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T094904&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22582&fm=156669308549642&tin=02508201610067®Number=0000000000146243&sum=12500 0 [09:49:00]StoreToDocumentArchive [09:49:00]shift 232 fd 22582 [09:49:00]save to /storage/0232/doc_00022582 [09:49:00]save last doc name /storage/0232/doc_00022582 to /storage/kkm_last_doc_name [09:49:00]save OK [09:49:00]Clear old archive folders... [09:49:00]ProcessDocumentItem done err = 0, tmpTLVsize=312 [09:49:00]tlvbuf is 0027EBF0 [09:49:00]SAM_PROTO_ClearQueue [09:49:00]wFMCommunicate request_size=4 [09:49:00]MH_SAM_APDU [09:49:00]CAPDU: 80 09 00 00 [09:49:00]Write to MH i2c: E2 08 00 59 23 80 09 00 00 00 00 00 00 EE [09:49:00]Write i2c OK [09:49:00]MH_I2C_Read... [09:49:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:49:00]Read from MH i2c: E2 [09:49:00]MH_I2C_Read... [09:49:00]Read from MH i2c: E2 03 00 [09:49:00]MH_I2C_Read... [09:49:00]Read from MH i2c: E2 03 00 59 23 00 90 00 F0 [09:49:00]RAPDU: 90 00 [09:49:00]wFMCommunicate OK [09:49:00]SAM_PROTO_ClearQueue done [09:49:00]KKMCreateOFDPacket [09:49:00]OFDProtocolAddRootSTLVToBuf [09:49:00]FM_MakeSignedData [09:49:00]FM_MakeSignedData [09:49:00]SAM_PROTO_SignData [09:49:00]wFMCommunicate request_size=4 [09:49:00]MH_SAM_APDU [09:49:00]CAPDU: 80 0D 01 02 [09:49:00]Write to MH i2c: E2 08 00 5A 23 80 0D 01 02 00 00 00 00 F6 [09:49:00]Write i2c OK [09:49:00]MH_I2C_Read... [09:49:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:49:00]Read from MH i2c: E2 [09:49:00]MH_I2C_Read... [09:49:00]Read from MH i2c: E2 03 00 [09:49:00]MH_I2C_Read... [09:49:00]Read from MH i2c: E2 03 00 5A 23 00 90 00 F1 [09:49:00]RAPDU: 90 00 [09:49:00]wFMCommunicate OK [09:49:00]wFMCommunicate request_size=255 [09:49:00]MH_SAM_APDU [09:49:00]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 10 2E F5 66 0E 04 04 00 E8 [09:49:00]Write to MH i2c: E2 02 01 5B 23 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 10 2E F5 66 0E 04 04 00 E8 00 00 C1 [09:49:00]Write i2c OK [09:49:00]MH_I2C_Read... [09:49:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:49:00]Read from MH i2c: E2 [09:49:00]MH_I2C_Read... [09:49:00]Read from MH i2c: E2 03 00 [09:49:00]MH_I2C_Read... [09:49:00]Read from MH i2c: E2 03 00 5B 23 00 90 00 F2 [09:49:00]RAPDU: 90 00 [09:49:00]wFMCommunicate OK [09:49:00]wFMCommunicate request_size=71 [09:49:00]MH_SAM_APDU [09:49:00]CAPDU: 80 0D 02 02 42 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 36 58 00 00 35 04 06 00 8E 7D 6A 7B BA 0A [09:49:00]Write to MH i2c: E2 4A 00 5C 23 80 0D 02 02 42 00 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 36 58 00 00 35 04 06 00 8E 7D 6A 7B BA 0A 00 00 56 [09:49:00]Write i2c OK [09:49:00]MH_I2C_Read... [09:49:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:49:01]Read from MH i2c: E2 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: E2 03 00 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: E2 03 00 5C 23 00 90 00 F3 [09:49:01]RAPDU: 90 00 [09:49:01]wFMCommunicate OK [09:49:01]wFMCommunicate request_size=4 [09:49:01]MH_SAM_APDU [09:49:01]CAPDU: 80 0D 03 02 [09:49:01]Write to MH i2c: E2 08 00 5D 23 80 0D 03 02 00 00 00 00 FB [09:49:01]Write i2c OK [09:49:01]MH_I2C_Read... [09:49:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:49:01]Read from MH i2c: E2 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: E2 0B 00 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: E2 0B 00 5D 23 00 67 BD AB 75 2E 42 C2 74 90 00 E6 [09:49:01]RAPDU: 67 BD AB 75 2E 42 C2 74 90 00 [09:49:01]wFMCommunicate OK [09:49:01]SAM_PROTO_SignData done [09:49:01]FM_MakeSignedData done [09:49:01]CreateOFDProtocolMessage [09:49:01]wFMCommunicate request_size=4 [09:49:01]MH_SAM_APDU [09:49:01]CAPDU: 80 11 00 00 [09:49:01]Write to MH i2c: E2 08 00 5E 23 80 11 00 00 00 00 00 00 FB [09:49:01]Write i2c OK [09:49:01]MH_I2C_Read... [09:49:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:49:01]Read from MH i2c: E2 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: E2 17 00 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: E2 17 00 5E 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 55 [09:49:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:49:01]wFMCommunicate OK [09:49:01]CreateOFDProtocolMessage done [09:49:01]OFDSenderStorePacket 22582 [09:49:01]StoreOFDPacket docnum=22582 [09:49:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4C 01 00 00 3A 81 44 01 61 DA 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 10 2E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 36 58 00 00 35 04 06 00 8E 7D 6A 7B BA 0A 67 BD AB 75 2E 42 C2 74 [09:49:01]CheckFolder [09:49:01]dirname=/storage/ofd_packets [09:49:01]CheckFolder done [09:49:01]ProducePacketName [09:49:01]name=ofd_packets/00022582 [09:49:01]NVStorageSaveData ofd_packets/00022582 [09:49:01]File name is /storage/ofd_packets/00022582 [09:49:01]Write 362 bytes [09:49:01]NVStorageSaveData done [09:49:01]OFDSenderStorePacket done [09:49:01]KKMCreateOFDPacket done [09:49:01]NVStorageSaveData kkm_last_timestamp [09:49:01]File name is /storage/kkm_last_timestamp [09:49:01]Write 4 bytes [09:49:01]NVStorageSaveData done [09:49:01]ExternCall_PrintAddStr [09:49:01]wPrintStart [09:49:01]Write to MH i2c: 01 00 00 5F 23 82 [09:49:01]Write i2c OK [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: 01 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: 01 07 00 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: 01 07 00 5F 23 00 00 00 00 00 FF 0F 97 [09:49:01]RasterBufferAndPrint [09:49:01]line Счет N : (3)51745 [09:49:01]line ИÐÐ: 02508201610067 [09:49:01]line Контрольно-КаÑÑовый Чек [09:49:01]line ПРОДÐЖР[09:49:01]line Товар: 4870202521254 [09:49:01]line Чай холодный MAXI черный Ñо вкуÑом клубн [09:49:01]line 1.000 * 125.00 [09:49:01]line = 125.00 [09:49:01]line ÐДС 12% ÐСП 1% [09:49:01]line > о реализуемом товаре [09:49:01]line ИТОГО: 125.00 [09:49:01]line ÐСП 1% : 1.11 [09:49:01]line ÐДС 12% : 13.27 [09:49:01]line Ðаличными: 125.00 [09:49:01]line Безнал.: 0.00 [09:49:01]line МеÑто: ÐЗС â„– 88 "Партнер Ðефть" [09:49:01]line ÐдреÑ: 720001, Ñ. Кашкар-Кыштак, Кара-СууйÑкий район 40.648511,72.845547 [09:49:01]line СÐО: Общий режим [09:49:01]line Чек 46 26.09.2024 09:49 [09:49:01]line Смена: 232 ФФД: 1.0 [09:49:01]line ЗÐМ: 0300000061 [09:49:01]line РÐМ: 0000000000146243 [09:49:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: v1.0 [09:49:01]line ФМ: 0000000000959358 [09:49:01]line ФД: 22582 [09:49:01]line ФПД: 156669308549642 [09:49:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T094904&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22582&fm=156669308549642&tin=02508201610067®Number=0000000000146243&sum=12500 [09:49:01]line 0 [09:49:01]OFD Sender: Processing packet 22582 [packets to send 23, broken 22] [09:49:01]ProducePacketName [09:49:01]name=ofd_packets/00022582 [09:49:01]OFD Sender: To server: ‡•öpG, [09:49:01]CommunicateWithHost lk.salyk.kg:30040 [09:49:01]ConnectInit lk.salyk.kg [09:49:01]written 0, free lines is 4095 [09:49:01]Connected sock=10 [09:49:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4C 01 00 00 3A 81 44 01 61 DA 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 10 2E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 36 58 00 00 35 04 06 00 8E 7D 6A 7B BA 0A 67 BD AB 75 2E 42 C2 74 [09:49:01]Write to MH i2c: 01 00 00 88 23 AB [09:49:01]Write i2c OK [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: 01 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: 01 07 00 [09:49:01]MH_I2C_Read... [09:49:01]Read from MH i2c: 01 07 00 88 23 00 00 00 00 00 2B 0D EA [09:49:01]RasterBufferAndPrint [09:49:01]line [09:49:01]line [09:49:01]line [09:49:01]line [09:49:01]line [09:49:01]written 0, free lines is 3378 [09:49:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 A0 7F 47 00 11 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 36 58 00 00 F4 03 04 00 30 D8 F4 66 B6 04 01 00 00 BE 55 E5 40 5E 94 AB F2 [09:49:02]CommunicateWithHost err = 0 [09:49:02]CheckOFDResponse [09:49:02]1017 (14) - 77093643461234 [09:49:02]1041 (16) - 0000000000959358 [09:49:02]1040 (4) - 22582 [09:49:02]1012 (4) - 26.09.2024 03:42 [09:49:02]1206 (1) - 0 [09:49:02]OFD Sender: Remove packet 22582 [09:49:02]ProducePacketName [09:49:02]name=ofd_packets/00022582 [09:49:02]NVStorageDeleteData [09:49:02]MH_Cut [09:49:02]Write to MH i2c: D1 01 00 8F 23 01 84 [09:49:02]Write i2c OK [09:49:02]MH_I2C_Read... [09:49:02]Read from MH i2c: D1 [09:49:02]MH_I2C_Read... [09:49:02]Read from MH i2c: D1 01 00 [09:49:02]MH_I2C_Read... [09:49:02]Read from MH i2c: D1 01 00 8F 23 00 83 [09:49:02]Write to MH i2c: 01 00 00 90 23 B3 [09:49:02]Write i2c OK [09:49:02]MH_I2C_Read... [09:49:02]OFD Sender: No OFD packet to send [09:49:02]*** Cut start [09:49:02]*** Partial cut [09:49:02]*** CUTSNS_PIN = 1 [09:49:02]*** CUTSNS_PIN = 0 [09:49:02]*** Brake cut motor [09:49:03]Read from MH i2c: 01 [09:49:03]MH_I2C_Read... [09:49:03]*** Stop cut motor [09:49:03]*** Cut end [09:49:03]Read from MH i2c: 01 07 00 [09:49:03]MH_I2C_Read... [09:49:03]Read from MH i2c: 01 07 00 90 23 00 00 00 00 00 FF 0F C8 [09:49:03]process_action close_receipt done [09:49:03]requested_data is exist [09:49:03]produce_requested_data [09:49:03]requested_item fm.sn is exist - process it [09:49:03]wFMCommunicate request_size=4 [09:49:03]MH_SAM_APDU [09:49:03]CAPDU: 80 11 00 00 [09:49:03]Write to MH i2c: E2 08 00 91 23 80 11 00 00 00 00 00 00 2E [09:49:03]Write i2c OK [09:49:03]MH_I2C_Read... [09:49:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:49:03]Read from MH i2c: E2 [09:49:03]MH_I2C_Read... [09:49:03]Read from MH i2c: E2 17 00 [09:49:03]MH_I2C_Read... [09:49:03]Read from MH i2c: E2 17 00 91 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 88 [09:49:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:49:03]wFMCommunicate OK [09:49:03]requested_item fd.num is exist - process it [09:49:03]SAM_PROTO_GetFieldsCounters [09:49:03]wFMCommunicate request_size=4 [09:49:03]MH_SAM_APDU [09:49:03]CAPDU: 80 13 00 00 [09:49:03]Write to MH i2c: E2 08 00 92 23 80 13 00 00 00 00 00 00 31 [09:49:03]Write i2c OK [09:49:03]MH_I2C_Read... [09:49:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:49:03]Read from MH i2c: E2 [09:49:03]MH_I2C_Read... [09:49:03]Read from MH i2c: E2 62 00 [09:49:03]MH_I2C_Read... [09:49:03]Read from MH i2c: E2 62 00 92 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 36 58 00 00 0E 04 04 00 E8 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 54 [09:49:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 36 58 00 00 0E 04 04 00 E8 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 [09:49:03]wFMCommunicate OK [09:49:03]SAM_PROTO_GetFieldsCounters done [09:49:03]requested_item shift.num is exist - process it [09:49:03]requested_item shift.opened is exist - process it [09:49:03]req_shift_opened [09:49:03]FM_GetShiftState [09:49:03]SAM_PROTO_GetShiftState [09:49:03]wFMCommunicate request_size=4 [09:49:03]MH_SAM_APDU [09:49:03]CAPDU: 80 13 01 00 [09:49:03]Write to MH i2c: E2 08 00 93 23 80 13 01 00 00 00 00 00 33 [09:49:03]Write i2c OK [09:49:03]MH_I2C_Read... [09:49:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:49:03]Read from MH i2c: E2 [09:49:03]MH_I2C_Read... [09:49:03]Read from MH i2c: E2 0E 00 [09:49:03]MH_I2C_Read... [09:49:03]Read from MH i2c: E2 0E 00 93 23 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 F3 [09:49:03]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [09:49:03]wFMCommunicate OK [09:49:03]SAM_PROTO_GetShiftState done [09:49:03]FM_GetShiftState done [09:49:03]req_shift_opened done [09:49:03]requested_item shift.open_date is exist - process it [09:49:03]req_shift_open_date [09:49:03]req_shift_open_date done [09:49:03]produce_requested_data done [09:49:03]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22582,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [09:49:03]process_action_free close_receipt [09:49:03]json_value_free [09:49:03]json_value_free done [09:49:03]process_json_proto returns [09:49:03]Send response to host [09:49:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22582,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [09:49:03]free response buf [09:49:03]execute_script done [09:49:03]execute_script returns [09:49:03]free content buf [09:49:03]Sock 9.Close socket [09:49:03]Sock 9.Thread stoped [09:49:07]OFD Sender: No OFD packet to send [09:49:12]OFD Sender: No OFD packet to send [09:49:17]OFD Sender: No OFD packet to send [09:49:22]OFD Sender: No OFD packet to send [09:49:27]OFD Sender: No OFD packet to send [09:49:32]OFD Sender: No OFD packet to send [09:49:37]OFD Sender: No OFD packet to send [09:49:42]OFD Sender: No OFD packet to send [09:49:47]OFD Sender: No OFD packet to send [09:49:52]OFD Sender: No OFD packet to send [09:49:57]OFD Sender: No OFD packet to send [09:50:02]OFD Sender: No OFD packet to send [09:50:07]OFD Sender: No OFD packet to send [09:50:12]OFD Sender: No OFD packet to send [09:50:17]OFD Sender: No OFD packet to send [09:50:22]OFD Sender: No OFD packet to send [09:50:27]OFD Sender: No OFD packet to send [09:50:32]OFD Sender: No OFD packet to send [09:50:37]OFD Sender: No OFD packet to send [09:50:42]OFD Sender: No OFD packet to send [09:50:47]OFD Sender: No OFD packet to send [09:50:52]OFD Sender: No OFD packet to send [09:50:57]OFD Sender: No OFD packet to send [09:51:02]OFD Sender: No OFD packet to send [09:51:07]OFD Sender: No OFD packet to send [09:51:12]OFD Sender: No OFD packet to send [09:51:17]OFD Sender: No OFD packet to send [09:51:22]OFD Sender: No OFD packet to send [09:51:27]OFD Sender: No OFD packet to send [09:51:32]OFD Sender: No OFD packet to send [09:51:37]OFD Sender: No OFD packet to send [09:51:42]OFD Sender: No OFD packet to send [09:51:47]OFD Sender: No OFD packet to send [09:51:52]OFD Sender: No OFD packet to send [09:51:57]OFD Sender: No OFD packet to send [09:52:02]OFD Sender: No OFD packet to send [09:52:07]OFD Sender: No OFD packet to send [09:52:12]OFD Sender: No OFD packet to send [09:52:17]OFD Sender: No OFD packet to send [09:52:22]OFD Sender: No OFD packet to send [09:52:27]OFD Sender: No OFD packet to send [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55: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:53]OFD Sender: No OFD packet to send [09:58:58]OFD Sender: No OFD packet to send [09:59:03]OFD Sender: No OFD packet to send [09:59:08]OFD Sender: No OFD packet to send [09:59:13]OFD Sender: No OFD packet to send [09:59:18]OFD Sender: No OFD packet to send [09:59:23]OFD Sender: No OFD packet to send [09:59:28]OFD Sender: No OFD packet to send [09:59:33]OFD Sender: No OFD packet to send [09:59:38]OFD Sender: No OFD packet to send [09:59:43]OFD Sender: No OFD packet to send [09:59:48]OFD Sender: No OFD packet to send [09:59:53]OFD Sender: No OFD packet to send [09:59:58]OFD Sender: No OFD packet to send [10:00:03]OFD Sender: No OFD packet to send [10:00:08]OFD Sender: No OFD packet to send [10:00:13]OFD Sender: No OFD packet to send [10:00:18]OFD Sender: No OFD packet to send [10:00:23]OFD Sender: No OFD packet to send [10:00:28]OFD Sender: No OFD packet to send [10:00:33]OFD Sender: No OFD packet to send [10:00:38]OFD Sender: No OFD packet to send [10:00:43]OFD Sender: No OFD packet to send [10:00:48]OFD Sender: No OFD packet to send [10:00:53]OFD Sender: No OFD packet to send [10:00:58]OFD Sender: No OFD packet to send [10:01:03]OFD Sender: No OFD packet to send [10:01:08]OFD Sender: No OFD packet to send [10:01:13]OFD Sender: No OFD packet to send [10:01:18]OFD Sender: No OFD packet to send [10:01:23]OFD Sender: No OFD packet to send 00 70 04 00 00 72 04 00 00 00 90 00 3B [12:26:11]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 [12:26:11]wFMCommunicate OK [12:26:11]wFMCommunicate request_size=4 [12:26:11]MH_SAM_APDU [12:26:11]CAPDU: 80 17 00 00 [12:26:11]Write to MH i2c: E2 08 00 9A 08 80 17 00 00 00 00 00 00 22 [12:26:11]Write i2c OK [12:26:11]MH_I2C_Read... [12:26:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:12]Read from MH i2c: E2 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: E2 FD 00 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: E2 FD 00 9A 08 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 4E [12:26:12]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 [12:26:12]wFMCommunicate OK [12:26:12]wFMCommunicate request_size=4 [12:26:12]MH_SAM_APDU [12:26:12]CAPDU: 80 17 00 00 [12:26:12]Write to MH i2c: E2 08 00 9B 08 80 17 00 00 00 00 00 00 23 [12:26:12]Write i2c OK [12:26:12]MH_I2C_Read... [12:26:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:12]Read from MH i2c: E2 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: E2 FD 00 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: E2 FD 00 9B 08 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 9B [12:26:12]RAPDU: 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [12:26:12]wFMCommunicate OK [12:26:12]wFMCommunicate request_size=4 [12:26:12]MH_SAM_APDU [12:26:12]CAPDU: 80 17 00 00 [12:26:12]Write to MH i2c: E2 08 00 9C 08 80 17 00 00 00 00 00 00 24 [12:26:12]Write i2c OK [12:26:12]MH_I2C_Read... [12:26:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [12:26:12]OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:26:12]ProducePacketName [12:26:12]name=ofd_packets/00022583 [12:26:12]OFD Sender: To server: ‡•öpG, [12:26:12]CommunicateWithHost lk.salyk.kg:30040 [12:26:12]ConnectInit lk.salyk.kg [12:26:12]Read from MH i2c: E2 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: E2 D7 00 [12:26:12]MH_I2C_Read... [12:26:12]Read from MH i2c: E2 D7 00 9C 08 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 07 [12:26:13]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:26:13]wFMCommunicate OK [12:26:13]SAM_PROTO_GetFMData done [12:26:13]requested_item fm.sale_refund.total is exist - process it [12:26:13]requested_item fm.buy.total is exist - process it [12:26:13]requested_item shift.sale.total is exist - process it [12:26:13]SAM_PROTO_GetShiftData [12:26:13]wFMCommunicate request_size=4 [12:26:13]MH_SAM_APDU [12:26:13]CAPDU: 80 13 02 00 [12:26:13]Write to MH i2c: E2 08 00 9D 08 80 13 02 00 00 00 00 00 23 [12:26:13]Write i2c OK [12:26:13]MH_I2C_Read... [12:26:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:26:13]Read from MH i2c: E2 [12:26:13]MH_I2C_Read... [12:26:13]Read from MH i2c: E2 FD 00 [12:26:13]MH_I2C_Read... [12:26:13]Read from MH i2c: E2 FD 00 9D 08 00 AB 04 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 02 [12:26:13]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [12:26:13]wFMCommunicate OK [12:26:13]wFMCommunicate request_size=4 [12:26:13]MH_SAM_APDU [12:26:13]CAPDU: 80 17 00 00 [12:26:13]Write to MH i2c: E2 08 00 9E 08 80 17 00 00 00 00 00 00 26 [12:26:13]Write i2c OK [12:26:13]MH_I2C_Read... [12:26:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:13]Read from MH i2c: E2 [12:26:13]MH_I2C_Read... [12:26:13]Read from MH i2c: E2 FD 00 [12:26:13]MH_I2C_Read... [12:26:13]Read from MH i2c: E2 FD 00 9E 08 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3B [12:26:14]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:26:14]wFMCommunicate OK [12:26:14]wFMCommunicate request_size=4 [12:26:14]MH_SAM_APDU [12:26:14]CAPDU: 80 17 00 00 [12:26:14]Write to MH i2c: E2 08 00 9F 08 80 17 00 00 00 00 00 00 27 [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:14]Read from MH i2c: E2 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 FD 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 FD 00 9F 08 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 D7 [12:26:14]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 [12:26:14]wFMCommunicate OK [12:26:14]wFMCommunicate request_size=4 [12:26:14]MH_SAM_APDU [12:26:14]CAPDU: 80 17 00 00 [12:26:14]Write to MH i2c: E2 08 00 A0 08 80 17 00 00 00 00 00 00 28 [12:26:14]Write i2c OK [12:26:14]MH_I2C_Read... [12:26:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:14]Read from MH i2c: E2 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 FD 00 [12:26:14]MH_I2C_Read... [12:26:14]Read from MH i2c: E2 FD 00 A0 08 00 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 AE [12:26:14]RAPDU: 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 [12:26:15]wFMCommunicate OK [12:26:15]wFMCommunicate request_size=4 [12:26:15]MH_SAM_APDU [12:26:15]CAPDU: 80 17 00 00 [12:26:15]Write to MH i2c: E2 08 00 A1 08 80 17 00 00 00 00 00 00 29 [12:26:15]Write i2c OK [12:26:15]MH_I2C_Read... [12:26:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [12:26:15]Read from MH i2c: E2 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 C8 00 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 C8 00 A1 08 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0C [12:26:15]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:26:15]wFMCommunicate OK [12:26:15]SAM_PROTO_GetShiftData done [12:26:15]requested_item shift.sale.total_cash is exist - process it [12:26:15]requested_item shift.sale_refund.total is exist - process it [12:26:15]requested_item shift.sale_refund.total_cash is exist - process it [12:26:15]requested_item shift.buy.total is exist - process it [12:26:15]requested_item shift.buy.total_cash is exist - process it [12:26:15]produce_requested_data done [12:26:15]produce_requested_data return {"fm.sale.total":8145532.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":37480.00,"shift.sale.total_cash":37480.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} [12:26:15]process_action_free get_value [12:26:15]json_value_free [12:26:15]json_value_free done [12:26:15]process_json_proto returns [12:26:15]Send response to host [12:26:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8145532.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":37480.00,"shift.sale.total_cash":37480.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}}} [12:26:15]free response buf [12:26:15]execute_script done [12:26:15]execute_script returns [12:26:15]free content buf [12:26:15]Sock 8.Close socket [12:26:15]Sock 8.Thread stoped [12:26:15]accept exits with 10 [12:26:15]New connection [12:26:15]New thread 3067370852 created [12:26:15]Thread 3067227492 joined [12:26:15]Waiting for new connection... [12:26:15] Sock 10.Parse request [12:26:15]Sock 10.Check first char [12:26:15]Sock 10.First char is OK [12:26:15]request: POST /json_proto HTTP/1.0 [12:26:15]Method: POST [12:26:15]URL: /json_proto [12:26:15]Method is POST - this is cgi request [12:26:15]url: /json_proto [12:26:15]query_string will be loaded in cgi processing [12:26:15]execute_cgi json_proto POST (null) [12:26:15]execute_cgi path=json_proto method=POST [12:26:15]POST find Content-Length [12:26:15]Host: 172.17.43.4:8080 [12:26:15]Content-Length: 271 [12:26:15]Content-Type: application/json [12:26:15] [12:26:15]POST finish read [12:26:15]Found Content-Length = 271 [12:26:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u0448\u0440\u0430\u043F\u0431\u0430\u0439 \u041A. \u041F. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:26:15]execute_script... [12:26:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u0448\u0440\u0430\u043F\u0431\u0430\u0439 \u041A. \u041F. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:26:15]POST & json_proto [12:26:15]process_json_proto [12:26:15]json parsed OK: [12:26:15]protocol is kg_v1.0 [12:26:15]action value=x_report [12:26:15]process_action x_report [12:26:15]cmd_x_report [12:26:15]MH_GetDate [12:26:15]Write to MH i2c: F0 00 00 A2 08 99 [12:26:15]Write i2c OK [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: F0 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: F0 09 00 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: F0 09 00 A2 08 00 E8 52 F5 66 02 BF CF 66 2D [12:26:15]GetLastDocTimeStamp 1727353336 [12:26:15]current date 1727353576 [12:26:15]FM_GetShiftState [12:26:15]SAM_PROTO_GetShiftState [12:26:15]wFMCommunicate request_size=4 [12:26:15]MH_SAM_APDU [12:26:15]CAPDU: 80 13 01 00 [12:26:15]Write to MH i2c: E2 08 00 A3 08 80 13 01 00 00 00 00 00 28 [12:26:15]Write i2c OK [12:26:15]MH_I2C_Read... [12:26:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:15]Read from MH i2c: E2 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 0E 00 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 0E 00 A3 08 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 E8 [12:26:15]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [12:26:15]wFMCommunicate OK [12:26:15]SAM_PROTO_GetShiftState done [12:26:15]FM_GetShiftState done [12:26:15]KKMCreateXReportDocument [12:26:15]Load OK [12:26:15]Malloc new data [12:26:15]MH_GetDate [12:26:15]Write to MH i2c: F0 00 00 A4 08 9B [12:26:15]Write i2c OK [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: F0 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: F0 09 00 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: F0 09 00 A4 08 00 E8 52 F5 66 02 BF CF 66 2F [12:26:15]Malloc new data [12:26:15]Malloc new data [12:26:15]wFMCommunicate request_size=4 [12:26:15]MH_SAM_APDU [12:26:15]CAPDU: 80 11 00 00 [12:26:15]Write to MH i2c: E2 08 00 A5 08 80 11 00 00 00 00 00 00 27 [12:26:15]Write i2c OK [12:26:15]MH_I2C_Read... [12:26:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:15]Read from MH i2c: E2 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 17 00 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 17 00 A5 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 81 [12:26:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [12:26:15]wFMCommunicate OK [12:26:15]SAM_PROTO_GetFieldsCounters [12:26:15]wFMCommunicate request_size=4 [12:26:15]MH_SAM_APDU [12:26:15]CAPDU: 80 13 00 00 [12:26:15]Write to MH i2c: E2 08 00 A6 08 80 13 00 00 00 00 00 00 2A [12:26:15]Write i2c OK [12:26:15]MH_I2C_Read... [12:26:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:26:15]Read from MH i2c: E2 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 62 00 [12:26:15]MH_I2C_Read... [12:26:15]Read from MH i2c: E2 62 00 A6 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 55 58 00 00 0E 04 04 00 E8 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 C9 [12:26:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 55 58 00 00 0E 04 04 00 E8 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 [12:26:15]wFMCommunicate OK [12:26:15]SAM_PROTO_GetFieldsCounters done [12:26:15]Malloc new data [12:26:15]Malloc new data [12:26:15]Malloc new data [12:26:15]KKMCreateXReportDocument OK [12:26:15]KKMSetXReportData OK [12:26:15]KKMPrepareXReportFMData [12:26:15]SAM_PROTO_GetShiftData [12:26:15]wFMCommunicate request_size=4 [12:26:15]MH_SAM_APDU [12:26:15]CAPDU: 80 13 02 00 [12:26:15]Write to MH i2c: E2 08 00 A7 08 80 13 02 00 00 00 00 00 2D [12:26:15]Write i2c OK [12:26:15]MH_I2C_Read... [12:26:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:26:16]Read from MH i2c: E2 [12:26:16]MH_I2C_Read... [12:26:16]Read from MH i2c: E2 FD 00 [12:26:16]MH_I2C_Read... [12:26:16]Read from MH i2c: E2 FD 00 A7 08 00 AB 04 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 0C [12:26:16]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [12:26:16]wFMCommunicate OK [12:26:16]wFMCommunicate request_size=4 [12:26:16]MH_SAM_APDU [12:26:16]CAPDU: 80 17 00 00 [12:26:16]Write to MH i2c: E2 08 00 A8 08 80 17 00 00 00 00 00 00 30 [12:26:16]Write i2c OK [12:26:16]MH_I2C_Read... [12:26:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:16]Read from MH i2c: E2 [12:26:16]MH_I2C_Read... [12:26:16]Read from MH i2c: E2 FD 00 [12:26:16]MH_I2C_Read... [12:26:16]Read from MH i2c: E2 FD 00 A8 08 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 45 [12:26:16]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:26:17]wFMCommunicate OK [12:26:17]wFMCommunicate request_size=4 [12:26:17]MH_SAM_APDU [12:26:17]CAPDU: 80 17 00 00 [12:26:17]Write to MH i2c: E2 08 00 A9 08 80 17 00 00 00 00 00 00 31 [12:26:17]Write i2c OK [12:26:17]MH_I2C_Read... [12:26:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:17]Read from MH i2c: E2 [12:26:17]MH_I2C_Read... [12:26:17]Read from MH i2c: E2 FD 00 [12:26:17]MH_I2C_Read... [12:26:17]Read from MH i2c: E2 FD 00 A9 08 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 E1 [12:26:17]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 [12:26:17]wFMCommunicate OK [12:26:17]wFMCommunicate request_size=4 [12:26:17]MH_SAM_APDU [12:26:17]CAPDU: 80 17 00 00 [12:26:17]Write to MH i2c: E2 08 00 AA 08 80 17 00 00 00 00 00 00 32 [12:26:17]Write i2c OK [12:26:17]MH_I2C_Read... [12:26:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:17]Read from MH i2c: E2 [12:26:17]MH_I2C_Read... [12:26:17]Read from MH i2c: E2 FD 00 [12:26:17]MH_I2C_Read... [12:26:17]Read from MH i2c: E2 FD 00 AA 08 00 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 B8 [12:26:17]RAPDU: 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 ConnectInit Can't take IP for lk.salyk.kg [12:26:17]EE CommunicateWithHost connect error [12:26:17]03 CommunicateWithHost err = -1 [12:26:17]09 OFD Sender: Server communicate error [12:26:17]00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 [12:26:18]wFMCommunicate OK [12:26:18]wFMCommunicate request_size=4 [12:26:18]MH_SAM_APDU [12:26:18]CAPDU: 80 17 00 00 [12:26:18]Write to MH i2c: E2 08 00 AB 08 80 17 00 00 00 00 00 00 33 [12:26:18]Write i2c OK [12:26:18]MH_I2C_Read... [12:26:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [12:26:18]Read from MH i2c: E2 [12:26:18]MH_I2C_Read... [12:26:18]Read from MH i2c: E2 C8 00 [12:26:18]MH_I2C_Read... [12:26:18]Read from MH i2c: E2 C8 00 AB 08 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 16 [12:26:18]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:26:18]wFMCommunicate OK [12:26:18]SAM_PROTO_GetShiftData done [12:26:18]1194 (1191) - Ñчетчики итогов Ñмены [12:26:18] 1134 (4) - 77 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [12:26:18] 1129 (152) - Ñчетчики операций «приход» [12:26:18] 1135 (4) - 77 - количеÑтво чеков по признаку раÑчетов [12:26:18] 1201 (3) - 37480.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [12:26:18] 1136 (3) - 37480.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [12:26:18] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [12:26:18] 1024 (122) - Ñуммы налогов [12:26:18] 1006 (9) - Ñуммы ÐДС [12:26:18] 1010 (1) - 0% - код Ñтавки ÐДС [12:26:18] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:26:18] 1006 (12) - Ñуммы ÐДС [12:26:18] 1010 (1) - 12% - код Ñтавки ÐДС [12:26:18] 1011 (3) - 3981.49 - Ñумма ÐДС по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 0% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (11) - Ñуммы ÐСП [12:26:18] 1014 (1) - 1% - код Ñтавки ÐСП [12:26:18] 1015 (2) - 331.80 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 2% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 3% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 5% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 0,50% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 1,50% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1130 (141) - Ñчетчики операций «возврат прихода» [12:26:18] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [12:26:18] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [12:26:18] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [12:26:18] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [12:26:18] 1024 (117) - Ñуммы налогов [12:26:18] 1006 (9) - Ñуммы ÐДС [12:26:18] 1010 (1) - 0% - код Ñтавки ÐДС [12:26:18] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:26:18] 1006 (9) - Ñуммы ÐДС [12:26:18] 1010 (1) - 12% - код Ñтавки ÐДС [12:26:18] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 0% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 1% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 2% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 3% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 5% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 0,50% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 1,50% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1131 (141) - Ñчетчики операций «раÑход» [12:26:18] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [12:26:18] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [12:26:18] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [12:26:18] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [12:26:18] 1024 (117) - Ñуммы налогов [12:26:18] 1006 (9) - Ñуммы ÐДС [12:26:18] 1010 (1) - 0% - код Ñтавки ÐДС [12:26:18] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:26:18] 1006 (9) - Ñуммы ÐДС [12:26:18] 1010 (1) - 12% - код Ñтавки ÐДС [12:26:18] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 0% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 1% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 2% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 3% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 5% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 0,50% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 1,50% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1132 (141) - Ñчетчики операций «возврат раÑхода» [12:26:18] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [12:26:18] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [12:26:18] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [12:26:18] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [12:26:18] 1024 (117) - Ñуммы налогов [12:26:18] 1006 (9) - Ñуммы ÐДС [12:26:18] 1010 (1) - 0% - код Ñтавки ÐДС [12:26:18] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:26:18] 1006 (9) - Ñуммы ÐДС [12:26:18] 1010 (1) - 12% - код Ñтавки ÐДС [12:26:18] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 0% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 1% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 2% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 3% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 5% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 0,50% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1007 (9) - Ñуммы ÐСП [12:26:18] 1014 (1) - 1,50% - код Ñтавки ÐСП [12:26:18] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:26:18] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1194 (04AA) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1134 (046E) [12:26:18]Malloc new data [12:26:18]Processing tag 1129 (0469) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1135 (046F) [12:26:18]Malloc new data [12:26:18]Processing tag 1201 (04B1) [12:26:18]Malloc new data [12:26:18]Processing tag 1136 (0470) [12:26:18]Malloc new data [12:26:18]Processing tag 1138 (0472) [12:26:18]Malloc new data [12:26:18]Processing tag 1024 (0400) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1006 (03EE) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1010 (03F2) [12:26:18]Malloc new data [12:26:18]Processing tag 1011 (03F3) [12:26:18]Malloc new data [12:26:18]SetTLVBufToDocument err=0 [12:26:18]Processing tag 1006 (03EE) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1010 (03F2) [12:26:18]Malloc new data [12:26:18]Processing tag 1011 (03F3) [12:26:18]Malloc new data [12:26:18]SetTLVBufToDocument err=0 [12:26:18]Processing tag 1007 (03EF) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1014 (03F6) [12:26:18]Malloc new data [12:26:18]Processing tag 1015 (03F7) [12:26:18]Malloc new data [12:26:18]SetTLVBufToDocument err=0 [12:26:18]Processing tag 1007 (03EF) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1014 (03F6) [12:26:18]Malloc new data [12:26:18]Processing tag 1015 (03F7) [12:26:18]Malloc new data [12:26:18]SetTLVBufToDocument err=0 [12:26:18]Processing tag 1007 (03EF) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1014 (03F6) [12:26:18]Malloc new data [12:26:18]Processing tag 1015 (03F7) [12:26:18]Malloc new data [12:26:18]SetTLVBufToDocument err=0 [12:26:18]Processing tag 1007 (03EF) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1014 (03F6) [12:26:18]Malloc new data [12:26:18]Processing tag 1015 (03F7) [12:26:18]Malloc new data [12:26:18]SetTLVBufToDocument err=0 [12:26:18]Processing tag 1007 (03EF) [12:26:18]Load OK [12:26:18]SetTLVBufToDocument [12:26:18]Processing tag 1014 (03F6) [12:26:18]Malloc new data [12:26:18]Processing tag 1015 (03F7) [12:26:18]Malloc new data [12:26:18]SetTLVBufToDocument err=0 [12:26:18]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1130 (046A) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1135 (046F) [12:26:19]Malloc new data [12:26:19]Processing tag 1201 (04B1) [12:26:19]Malloc new data [12:26:19]Processing tag 1136 (0470) [12:26:19]Malloc new data [12:26:19]Processing tag 1138 (0472) [12:26:19]Malloc new data [12:26:19]Processing tag 1024 (0400) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1006 (03EE) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1010 (03F2) [12:26:19]Malloc new data [12:26:19]Processing tag 1011 (03F3) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1006 (03EE) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1010 (03F2) [12:26:19]Malloc new data [12:26:19]Processing tag 1011 (03F3) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1131 (046B) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1135 (046F) [12:26:19]Malloc new data [12:26:19]Processing tag 1201 (04B1) [12:26:19]Malloc new data [12:26:19]Processing tag 1136 (0470) [12:26:19]Malloc new data [12:26:19]Processing tag 1138 (0472) [12:26:19]Malloc new data [12:26:19]Processing tag 1024 (0400) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1006 (03EE) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1010 (03F2) [12:26:19]Malloc new data [12:26:19]Processing tag 1011 (03F3) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1006 (03EE) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1010 (03F2) [12:26:19]Malloc new data [12:26:19]Processing tag 1011 (03F3) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1132 (046C) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1135 (046F) [12:26:19]Malloc new data [12:26:19]Processing tag 1201 (04B1) [12:26:19]Malloc new data [12:26:19]Processing tag 1136 (0470) [12:26:19]Malloc new data [12:26:19]Processing tag 1138 (0472) [12:26:19]Malloc new data [12:26:19]Processing tag 1024 (0400) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1006 (03EE) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1010 (03F2) [12:26:19]Malloc new data [12:26:19]Processing tag 1011 (03F3) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1006 (03EE) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1010 (03F2) [12:26:19]Malloc new data [12:26:19]Processing tag 1011 (03F3) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1007 (03EF) [12:26:19]Load OK [12:26:19]SetTLVBufToDocument [12:26:19]Processing tag 1014 (03F6) [12:26:19]Malloc new data [12:26:19]Processing tag 1015 (03F7) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Processing tag 1133 (046D) [12:26:19]Malloc new data [12:26:19]SetTLVBufToDocument err=0 [12:26:19]SetTLVBufToDocument err=0 [12:26:19]Malloc new data [12:26:19]SAM_PROTO_GetFMData [12:26:19]wFMCommunicate request_size=4 [12:26:19]MH_SAM_APDU [12:26:19]CAPDU: 80 13 03 00 [12:26:19]Write to MH i2c: E2 08 00 AC 08 80 13 03 00 00 00 00 00 33 [12:26:19]Write i2c OK [12:26:19]MH_I2C_Read... [12:26:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:26:20]Read from MH i2c: E2 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 FD 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 FD 00 AC 08 00 BA 04 85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 14 [12:26:20]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [12:26:20]wFMCommunicate OK [12:26:20]wFMCommunicate request_size=4 [12:26:20]MH_SAM_APDU [12:26:20]CAPDU: 80 17 00 00 [12:26:20]Write to MH i2c: E2 08 00 AD 08 80 17 00 00 00 00 00 00 35 [12:26:20]Write i2c OK [12:26:20]MH_I2C_Read... [12:26:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:20]Read from MH i2c: E2 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 FD 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 FD 00 AD 08 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 4F [12:26:20]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 [12:26:21]wFMCommunicate OK [12:26:21]wFMCommunicate request_size=4 [12:26:21]MH_SAM_APDU [12:26:21]CAPDU: 80 17 00 00 [12:26:21]Write to MH i2c: E2 08 00 AE 08 80 17 00 00 00 00 00 00 36 [12:26:21]Write i2c OK [12:26:21]MH_I2C_Read... [12:26:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:21]Read from MH i2c: E2 [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: E2 FD 00 [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: E2 FD 00 AE 08 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 62 [12:26:21]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 [12:26:21]wFMCommunicate OK [12:26:21]wFMCommunicate request_size=4 [12:26:21]MH_SAM_APDU [12:26:21]CAPDU: 80 17 00 00 [12:26:21]Write to MH i2c: E2 08 00 AF 08 80 17 00 00 00 00 00 00 37 [12:26:21]Write i2c OK [12:26:21]MH_I2C_Read... [12:26:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:26:21]Read from MH i2c: E2 [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: E2 FD 00 [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: E2 FD 00 AF 08 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 AF [12:26:22]RAPDU: 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [12:26:22]wFMCommunicate OK [12:26:22]wFMCommunicate request_size=4 [12:26:22]MH_SAM_APDU [12:26:22]CAPDU: 80 17 00 00 [12:26:22]Write to MH i2c: E2 08 00 B0 08 80 17 00 00 00 00 00 00 38 [12:26:22]Write i2c OK [12:26:22]MH_I2C_Read... [12:26:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [12:26:22]Read from MH i2c: E2 [12:26:22]MH_I2C_Read... [12:26:22]Read from MH i2c: E2 D7 00 [12:26:22]MH_I2C_Read... [12:26:22]Read from MH i2c: E2 D7 00 B0 08 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1B [12:26:22]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:26:22]wFMCommunicate OK [12:26:22]SAM_PROTO_GetFMData done [12:26:22]FM_GetFMData:85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 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 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:26:23]03 ProducePacketName [12:26:23]01 name=ofd_packets/00022583 [12:26:23]00 06 OFD Sender: To server: ‡•öpG, [12:26:23]F7 CommunicateWithHost lk.salyk.kg:30040 [12:26:23]03 ConnectInit lk.salyk.kg [12:26:23]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 [12:26:23]oper:6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [12:26:23]total:70 18 8D 30 [12:26:23]Malloc new data [12:26:23]oper:6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 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 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [12:26:24]total:80 4D 0A [12:26:24]Malloc new data [12:26:24]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 [12:26:24]total: [12:26:24]Malloc new data [12:26:24]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 [12:26:24]total: [12:26:24]Malloc new data [12:26:24]KKMPrepareXReportFMData err=0 [12:26:24]Ð¥ отчет ИÐÐ: 02508201610067 КаÑÑир: Машрапбай К. П. 26.09.2024 12:26 Смена: 10 РÐМ: 0000000000146243 ЗÐМ: 0300000061 СÐО: Общий режим Ð’Ñего чеков: 77 ИТОГИ ПРИХОД Чеков: 77 Общий итог: 37480.00 Итого наличными: 37480.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 3981.49 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 331.80 ИТОГИ ВОЗВРÐТ ПРИХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ РÐСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ ВОЗВРÐТ РÐСХОДРЧеков: 0 Общий итог: 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 Ðал. в каÑÑе: 37480.00 ÐС Приход: 8145532.00 ÐС Возвр.Прихода: 6752.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФМ: 0000000000959358 [12:26:24]StoreToDocumentArchive [12:26:24]MH_GetDate [12:26:24]Write to MH i2c: F0 00 00 B1 08 A8 [12:26:24]Write i2c OK [12:26:24]MH_I2C_Read... [12:26:24]Read from MH i2c: F0 [12:26:24]MH_I2C_Read... [12:26:24]Read from MH i2c: F0 09 00 [12:26:24]MH_I2C_Read... [12:26:24]Read from MH i2c: F0 09 00 B1 08 00 F1 52 F5 66 02 BF CF 66 45 [12:26:24]shift 10 fd 1727353585 [12:26:24]Create dir for shift 0010 [12:26:24]save to /storage/0010/doc_1727353585 [12:26:24]save last doc name /storage/0010/doc_1727353585 to /storage/kkm_last_doc_name [12:26:24]save OK [12:26:24]Clear old archive folders... [12:26:24]NVStorageSaveData kkm_last_timestamp [12:26:24]File name is /storage/kkm_last_timestamp [12:26:24]Write 4 bytes [12:26:24]NVStorageSaveData done [12:26:24]ExternCall_PrintAddStr [12:26:24]wPrintStart [12:26:24]Write to MH i2c: 01 00 00 B2 08 BA [12:26:24]Write i2c OK [12:26:24]MH_I2C_Read... [12:26:24]Read from MH i2c: 01 [12:26:24]MH_I2C_Read... [12:26:24]Read from MH i2c: 01 07 00 [12:26:24]MH_I2C_Read... [12:26:24]Read from MH i2c: 01 07 00 B2 08 00 00 00 00 00 FF 0F CF [12:26:24]RasterBufferAndPrint [12:26:24]line Ð¥ отчет [12:26:24]line ИÐÐ: 02508201610067 [12:26:24]line КаÑÑир: Машрапбай К. П. [12:26:24]line 26.09.2024 12:26 [12:26:24]line Смена: 10 [12:26:24]line РÐМ: 0000000000146243 [12:26:24]line ЗÐМ: 0300000061 [12:26:24]line СÐО: Общий режим [12:26:24]line Ð’Ñего чеков: 77 [12:26:24]line ИТОГИ ПРИХОД [12:26:24]line Чеков: 77 [12:26:24]line Общий итог: 37480.00 [12:26:24]line Итого наличными: 37480.00 [12:26:24]line Итого безнал.: 0.00 [12:26:24]line ÐДС 0% : 0.00 [12:26:24]line ÐДС 12% : 3981.49 [12:26:24]line ÐСП 0% : 0.00 [12:26:24]line ÐСП 1,50% : 0.00 [12:26:24]line ÐСП 0,50% : 0.00 [12:26:24]line ÐСП 5% : 0.00 [12:26:24]line ÐСП 3% : 0.00 [12:26:24]line ÐСП 2% : 0.00 [12:26:24]line ÐСП 1% : 331.80 [12:26:24]line ИТОГИ ВОЗВРÐТ ПРИХОДР[12:26:24]line Чеков: 0 [12:26:24]line Общий итог: 0.00 [12:26:24]line Итого наличными: 0.00 [12:26:24]line Итого безнал.: 0.00 [12:26:24]line ÐДС 0% : 0.00 [12:26:24]line ÐДС 12% : 0.00 [12:26:24]line ÐСП 0% : 0.00 [12:26:24]line ÐСП 1,50% : 0.00 [12:26:24]line ÐСП 0,50% : 0.00 [12:26:24]line ÐСП 5% : 0.00 [12:26:24]line ÐСП 3% : 0.00 [12:26:24]line ÐСП 2% : 0.00 [12:26:24]line ÐСП 1% : 0.00 [12:26:24]line ИТОГИ РÐСХОД [12:26:24]line Чеков: 0 [12:26:24]line Общий итог: 0.00 [12:26:24]line Итого наличными: 0.00 [12:26:24]line Итого безнал.: 0.00 [12:26:24]line ÐДС 0% : 0.00 [12:26:24]line ÐДС 12% : 0.00 [12:26:24]line ÐСП 0% : 0.00 [12:26:24]line ÐСП 1,50% : 0.00 [12:26:24]line ÐСП 0,50% : 0.00 [12:26:24]line ÐСП 5% : 0.00 [12:26:24]line ÐСП 3% : 0.00 [12:26:24]line ÐСП 2% : 0.00 [12:26:24]line ÐСП 1% : 0.00 [12:26:24]line ИТОГИ ВОЗВРÐТ РÐСХОДР[12:26:24]line Чеков: 0 [12:26:24]line Общий итог: 0.00 [12:26:24]line Итого наличными: 0.00 [12:26:24]line Итого безнал.: 0.00 [12:26:24]line ÐДС 0% : 0.00 [12:26:24]line ÐДС 12% : 0.00 [12:26:24]line ÐСП 0% : 0.00 [12:26:24]line ÐСП 1,50% : 0.00 [12:26:24]line ÐСП 0,50% : 0.00 [12:26:24]line ÐСП 5% : 0.00 [12:26:24]line ÐСП 3% : 0.00 [12:26:24]line ÐСП 2% : 0.00 [12:26:24]line ÐСП 1% : 0.00 [12:26:24]line Сумма внеÑений: 0.00 [12:26:24]line Сумма выплат: 0.00 [12:26:24]line Ðал. в каÑÑе: 37480.00 [12:26:24]line ÐС Приход: 8145532.00 [12:26:24]line ÐС Возвр.Прихода: 6752.00 [12:26:24]line ÐС РаÑход: 0.00 [12:26:24]line ÐС Возвр.РаÑхода: 0.00 [12:26:24]line ФМ: 0000000000959358 [12:26:24]written 0, free lines is 4095 [12:26:25]Write to MH i2c: 01 00 00 FD 08 05 [12:26:25]Write i2c OK [12:26:25]MH_I2C_Read... [12:26:25]Read from MH i2c: 01 [12:26:25]MH_I2C_Read... [12:26:25]Read from MH i2c: 01 07 00 [12:26:25]MH_I2C_Read... [12:26:25]Read from MH i2c: 01 07 00 FD 08 00 00 00 00 00 1B 0B 32 [12:26:25]RasterBufferAndPrint [12:26:25]line [12:26:25]line [12:26:25]line [12:26:25]line [12:26:25]line [12:26:25]written 0, free lines is 2888 [12:26:25]MH_Cut [12:26:25]Write to MH i2c: D1 01 00 04 09 01 DF [12:26:25]Write i2c OK [12:26:25]MH_I2C_Read... [12:26:25]Read from MH i2c: D1 [12:26:25]MH_I2C_Read... [12:26:25]Read from MH i2c: D1 01 00 [12:26:25]MH_I2C_Read... [12:26:25]Read from MH i2c: D1 01 00 04 09 00 DE [12:26:25]Write to MH i2c: 01 00 00 05 09 0E [12:26:25]Write i2c OK [12:26:25]MH_I2C_Read... [12:26:26]*** Cut start [12:26:26]*** Partial cut [12:26:26]*** CUTSNS_PIN = 1 [12:26:26]*** CUTSNS_PIN = 0 [12:26:26]*** Brake cut motor [12:26:26]Read from MH i2c: 01 [12:26:26]MH_I2C_Read... [12:26:26]*** Stop cut motor [12:26:26]*** Cut end [12:26:26]Read from MH i2c: 01 07 00 [12:26:26]MH_I2C_Read... [12:26:26]Read from MH i2c: 01 07 00 05 09 00 00 00 00 00 FF 0F 23 [12:26:26]process_action x_report done [12:26:26]requested_data is exist [12:26:26]produce_requested_data [12:26:26]requested_item fd.num is exist - process it [12:26:26]SAM_PROTO_GetFieldsCounters [12:26:26]wFMCommunicate request_size=4 [12:26:26]MH_SAM_APDU [12:26:26]CAPDU: 80 13 00 00 [12:26:26]Write to MH i2c: E2 08 00 06 09 80 13 00 00 00 00 00 00 8B [12:26:26]Write i2c OK [12:26:26]MH_I2C_Read... [12:26:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:26:26]Read from MH i2c: E2 [12:26:26]MH_I2C_Read... [12:26:26]Read from MH i2c: E2 62 00 [12:26:26]MH_I2C_Read... [12:26:26]Read from MH i2c: E2 62 00 06 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 55 58 00 00 0E 04 04 00 E8 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 2A [12:26:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 55 58 00 00 0E 04 04 00 E8 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 [12:26:27]wFMCommunicate OK [12:26:27]SAM_PROTO_GetFieldsCounters done [12:26:27]requested_item shift.num is exist - process it [12:26:27]requested_item shift.opened is exist - process it [12:26:27]req_shift_opened [12:26:27]FM_GetShiftState [12:26:27]SAM_PROTO_GetShiftState [12:26:27]wFMCommunicate request_size=4 [12:26:27]MH_SAM_APDU [12:26:27]CAPDU: 80 13 01 00 [12:26:27]Write to MH i2c: E2 08 00 07 09 80 13 01 00 00 00 00 00 8D [12:26:27]Write i2c OK [12:26:27]MH_I2C_Read... [12:26:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:27]Read from MH i2c: E2 [12:26:27]MH_I2C_Read... [12:26:27]Read from MH i2c: E2 0E 00 [12:26:27]MH_I2C_Read... [12:26:27]Read from MH i2c: E2 0E 00 07 09 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 4D [12:26:27]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [12:26:27]wFMCommunicate OK [12:26:27]SAM_PROTO_GetShiftState done [12:26:27]FM_GetShiftState done [12:26:27]req_shift_opened done [12:26:27]requested_item shift.open_date is exist - process it [12:26:27]req_shift_open_date [12:26:27]req_shift_open_date done [12:26:27]produce_requested_data done [12:26:27]produce_requested_data return {"fd.num":22613,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [12:26:27]process_action_free x_report [12:26:27]json_value_free [12:26:27]json_value_free done [12:26:27]process_json_proto returns [12:26:27]Send response to host [12:26:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22613,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [12:26:27]free response buf [12:26:27]execute_script done [12:26:27]execute_script returns [12:26:27]free content buf [12:26:27]Sock 10.Close socket [12:26:27]Sock 10.Thread stoped [12:26:28]ConnectInit Can't take IP for lk.salyk.kg [12:26:28]CommunicateWithHost connect error [12:26:28]CommunicateWithHost err = -1 [12:26:28]OFD Sender: Server communicate error [12:26:33]OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:26:33]ProducePacketName [12:26:33]name=ofd_packets/00022583 [12:26:33]OFD Sender: To server: ‡•öpG, [12:26:33]CommunicateWithHost lk.salyk.kg:30040 [12:26:33]ConnectInit lk.salyk.kg [12:26:38]ConnectInit Can't take IP for lk.salyk.kg [12:26:38]CommunicateWithHost connect error [12:26:38]CommunicateWithHost err = -1 [12:26:38]OFD Sender: Server communicate error [12:26:43]OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:26:43]ProducePacketName [12:26:43]name=ofd_packets/00022583 [12:26:43]OFD Sender: To server: ‡•öpG, [12:26:43]CommunicateWithHost lk.salyk.kg:30040 [12:26:43]ConnectInit lk.salyk.kg [12:26:48]ConnectInit Can't take IP for lk.salyk.kg [12:26:48]CommunicateWithHost connect error [12:26:48]CommunicateWithHost err = -1 [12:26:48]OFD Sender: Server communicate error [12:26:53]OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:26:53]ProducePacketName [12:26:53]name=ofd_packets/00022583 [12:26:53]OFD Sender: To server: ‡•öpG, [12:26:53]CommunicateWithHost lk.salyk.kg:30040 [12:26:53]ConnectInit lk.salyk.kg [12:26:58]ConnectInit Can't take IP for lk.salyk.kg [12:26:58]CommunicateWithHost connect error [12:26:58]CommunicateWithHost err = -1 [12:26:58]OFD Sender: Server communicate error [12:27:03]OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:27:03]ProducePacketName [12:27:03]name=ofd_packets/00022583 [12:27:03]OFD Sender: To server: ‡•öpG, [12:27:03]CommunicateWithHost lk.salyk.kg:30040 [12:27:03]ConnectInit lk.salyk.kg [12:27:08]ConnectInit Can't take IP for lk.salyk.kg [12:27:08]CommunicateWithHost connect error [12:27:08]CommunicateWithHost err = -1 [12:27:08]OFD Sender: Server communicate error [12:27:13]OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:27:13]ProducePacketName [12:27:13]name=ofd_packets/00022583 [12:27:13]OFD Sender: To server: ‡•öpG, [12:27:13]CommunicateWithHost lk.salyk.kg:30040 [12:27:13]ConnectInit lk.salyk.kg [12:27:14]accept exits with 8 [12:27:14]New connection [12:27:14]New thread 3067227492 created [12:27:14]Thread 3067370852 joined [12:27:14]Waiting for new connection... [12:27:14] Sock 8.Parse request [12:27:14]Sock 8.Check first char [12:27:14]Sock 8.First char is OK [12:27:14]request: POST /json_proto HTTP/1.0 [12:27:14]Method: POST [12:27:14]URL: /json_proto [12:27:14]Method is POST - this is cgi request [12:27:14]url: /json_proto [12:27:14]query_string will be loaded in cgi processing [12:27:14]execute_cgi json_proto POST (null) [12:27:14]execute_cgi path=json_proto method=POST [12:27:14]POST find Content-Length [12:27:14]Host: 172.17.43.4:8080 [12:27:14]Content-Length: 215 [12:27:14]Content-Type: application/json [12:27:14] [12:27:14]POST finish read [12:27:14]Found Content-Length = 215 [12:27:14]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" ] } } [12:27:14]execute_script... [12:27:14]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" ] } } [12:27:14]POST & json_proto [12:27:14]process_json_proto [12:27:14]json parsed OK: [12:27:14]protocol is kg_v1.0 [12:27:14]action value=get_value [12:27:14]process_action get_value [12:27:14]cmd_get_value [12:27:14]process_action get_value done [12:27:14]requested_data is exist [12:27:14]produce_requested_data [12:27:14]requested_item kkm.sn is exist - process it [12:27:14]requested_item kkm.ver is exist - process it [12:27:14]requested_item fm.sn is exist - process it [12:27:14]wFMCommunicate request_size=4 [12:27:14]MH_SAM_APDU [12:27:14]CAPDU: 80 11 00 00 [12:27:14]Write to MH i2c: E2 08 00 08 09 80 11 00 00 00 00 00 00 8B [12:27:14]Write i2c OK [12:27:14]MH_I2C_Read... [12:27:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:27:14]Read from MH i2c: E2 [12:27:14]MH_I2C_Read... [12:27:14]Read from MH i2c: E2 17 00 [12:27:14]MH_I2C_Read... [12:27:14]Read from MH i2c: E2 17 00 08 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E5 [12:27:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [12:27:14]wFMCommunicate OK [12:27:14]requested_item fd.num is exist - process it [12:27:14]SAM_PROTO_GetFieldsCounters [12:27:14]wFMCommunicate request_size=4 [12:27:14]MH_SAM_APDU [12:27:14]CAPDU: 80 13 00 00 [12:27:14]Write to MH i2c: E2 08 00 09 09 80 13 00 00 00 00 00 00 8E [12:27:14]Write i2c OK [12:27:14]MH_I2C_Read... [12:27:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:27:14]Read from MH i2c: E2 [12:27:14]MH_I2C_Read... [12:27:14]Read from MH i2c: E2 62 00 [12:27:15]MH_I2C_Read... [12:27:15]Read from MH i2c: E2 62 00 09 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 55 58 00 00 0E 04 04 00 E8 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 2D [12:27:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 55 58 00 00 0E 04 04 00 E8 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 [12:27:15]wFMCommunicate OK [12:27:15]SAM_PROTO_GetFieldsCounters done [12:27:15]requested_item shift.num is exist - process it [12:27:15]requested_item shift.opened is exist - process it [12:27:15]req_shift_opened [12:27:15]FM_GetShiftState [12:27:15]SAM_PROTO_GetShiftState [12:27:15]wFMCommunicate request_size=4 [12:27:15]MH_SAM_APDU [12:27:15]CAPDU: 80 13 01 00 [12:27:15]Write to MH i2c: E2 08 00 0A 09 80 13 01 00 00 00 00 00 90 [12:27:15]Write i2c OK [12:27:15]MH_I2C_Read... [12:27:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:27:15]Read from MH i2c: E2 [12:27:15]MH_I2C_Read... [12:27:15]Read from MH i2c: E2 0E 00 [12:27:15]MH_I2C_Read... [12:27:15]Read from MH i2c: E2 0E 00 0A 09 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 50 [12:27:15]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [12:27:15]wFMCommunicate OK [12:27:15]SAM_PROTO_GetShiftState done [12:27:15]FM_GetShiftState done [12:27:15]req_shift_opened done [12:27:15]requested_item shift.open_date is exist - process it [12:27:15]req_shift_open_date [12:27:15]req_shift_open_date done [12:27:15]produce_requested_data done [12:27:15]produce_requested_data return {"kkm.sn":"0300000061","kkm.ver":"v1.0","fm.sn":"0000000000959358","fd.num":22613,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [12:27:15]process_action_free get_value [12:27:15]json_value_free [12:27:15]json_value_free done [12:27:15]process_json_proto returns [12:27:15]Send response to host [12:27:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000061","kkm.ver":"v1.0","fm.sn":"0000000000959358","fd.num":22613,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [12:27:15]free response buf [12:27:15]execute_script done [12:27:15]execute_script returns [12:27:15]free content buf [12:27:15]Sock 8.Close socket [12:27:15]Sock 8.Thread stoped [12:27:15]accept exits with 12 [12:27:15]New connection [12:27:15]New thread 3067370852 created [12:27:15]Thread 3067227492 joined [12:27:15]Waiting for new connection... [12:27:15] Sock 12.Parse request [12:27:15]Sock 12.Check first char [12:27:15]Sock 12.First char is OK [12:27:15]request: POST /json_proto HTTP/1.0 [12:27:15]Method: POST [12:27:15]URL: /json_proto [12:27:15]Method is POST - this is cgi request [12:27:15]url: /json_proto [12:27:15]query_string will be loaded in cgi processing [12:27:15]execute_cgi json_proto POST (null) [12:27:15]execute_cgi path=json_proto method=POST [12:27:15]POST find Content-Length [12:27:15]Host: 172.17.43.4:8080 [12:27:15]Content-Length: 331 [12:27:15]Content-Type: application/json [12:27:15] [12:27:15]POST finish read [12:27:15]Found Content-Length = 331 [12:27:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:27:15]execute_script... [12:27:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:27:15]POST & json_proto [12:27:15]process_json_proto [12:27:15]json parsed OK: [12:27:15]protocol is kg_v1.0 [12:27:15]action value=get_value [12:27:15]process_action get_value [12:27:15]cmd_get_value [12:27:15]process_action get_value done [12:27:15]requested_data is exist [12:27:15]produce_requested_data [12:27:15]requested_item fm.sale.total is exist - process it [12:27:15]SAM_PROTO_GetFMData [12:27:15]wFMCommunicate request_size=4 [12:27:15]MH_SAM_APDU [12:27:15]CAPDU: 80 13 03 00 [12:27:15]Write to MH i2c: E2 08 00 0B 09 80 13 03 00 00 00 00 00 93 [12:27:15]Write i2c OK [12:27:15]MH_I2C_Read... [12:27:15]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:27:15]Read from MH i2c: E2 [12:27:15]MH_I2C_Read... [12:27:15]Read from MH i2c: E2 FD 00 [12:27:15]MH_I2C_Read... [12:27:15]Read from MH i2c: E2 FD 00 0B 09 00 BA 04 85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 74 [12:27:16]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [12:27:16]wFMCommunicate OK [12:27:16]wFMCommunicate request_size=4 [12:27:16]MH_SAM_APDU [12:27:16]CAPDU: 80 17 00 00 [12:27:16]Write to MH i2c: E2 08 00 0C 09 80 17 00 00 00 00 00 00 95 [12:27:16]Write i2c OK [12:27:16]MH_I2C_Read... [12:27:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:16]Read from MH i2c: E2 [12:27:16]MH_I2C_Read... [12:27:16]Read from MH i2c: E2 FD 00 [12:27:16]MH_I2C_Read... [12:27:16]Read from MH i2c: E2 FD 00 0C 09 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 AF [12:27:16]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 [12:27:16]wFMCommunicate OK [12:27:16]wFMCommunicate request_size=4 [12:27:16]MH_SAM_APDU [12:27:16]CAPDU: 80 17 00 00 [12:27:16]Write to MH i2c: E2 08 00 0D 09 80 17 00 00 00 00 00 00 96 [12:27:16]Write i2c OK [12:27:16]MH_I2C_Read... [12:27:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:17]Read from MH i2c: E2 [12:27:17]MH_I2C_Read... [12:27:17]Read from MH i2c: E2 FD 00 [12:27:17]MH_I2C_Read... [12:27:17]Read from MH i2c: E2 FD 00 0D 09 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 C2 [12:27:17]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 [12:27:17]wFMCommunicate OK [12:27:17]wFMCommunicate request_size=4 [12:27:17]MH_SAM_APDU [12:27:17]CAPDU: 80 17 00 00 [12:27:17]Write to MH i2c: E2 08 00 0E 09 80 17 00 00 00 00 00 00 97 [12:27:17]Write i2c OK [12:27:17]MH_I2C_Read... [12:27:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:17]Read from MH i2c: E2 [12:27:17]MH_I2C_Read... [12:27:17]Read from MH i2c: E2 FD 00 [12:27:17]MH_I2C_Read... [12:27:17]Read from MH i2c: E2 FD 00 0E 09 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 0F [12:27:18]RAPDU: 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [12:27:18]wFMCommunicate OK [12:27:18]wFMCommunicate request_size=4 [12:27:18]MH_SAM_APDU [12:27:18]CAPDU: 80 17 00 00 [12:27:18]Write to MH i2c: E2 08 00 0F 09 80 17 00 00 00 00 00 00 98 [12:27:18]ConnectInit Can't take IP for lk.salyk.kg [12:27:18]CommunicateWithHost connect error [12:27:18]CommunicateWithHost err = -1 [12:27:18]OFD Sender: Server communicate error [12:27:18]Write i2c OK [12:27:18]MH_I2C_Read... [12:27:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [12:27:18]Read from MH i2c: E2 [12:27:18]MH_I2C_Read... [12:27:18]Read from MH i2c: E2 D7 00 [12:27:18]MH_I2C_Read... [12:27:18]Read from MH i2c: E2 D7 00 0F 09 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [12:27:18]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:27:19]wFMCommunicate OK [12:27:19]SAM_PROTO_GetFMData done [12:27:19]requested_item fm.sale_refund.total is exist - process it [12:27:19]requested_item fm.buy.total is exist - process it [12:27:19]requested_item shift.sale.total is exist - process it [12:27:19]SAM_PROTO_GetShiftData [12:27:19]wFMCommunicate request_size=4 [12:27:19]MH_SAM_APDU [12:27:19]CAPDU: 80 13 02 00 [12:27:19]Write to MH i2c: E2 08 00 10 09 80 13 02 00 00 00 00 00 97 [12:27:19]Write i2c OK [12:27:19]MH_I2C_Read... [12:27:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:27:19]Read from MH i2c: E2 [12:27:19]MH_I2C_Read... [12:27:19]Read from MH i2c: E2 FD 00 [12:27:19]MH_I2C_Read... [12:27:19]Read from MH i2c: E2 FD 00 10 09 00 AB 04 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 76 [12:27:19]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [12:27:20]wFMCommunicate OK [12:27:20]wFMCommunicate request_size=4 [12:27:20]MH_SAM_APDU [12:27:20]CAPDU: 80 17 00 00 [12:27:20]Write to MH i2c: E2 08 00 11 09 80 17 00 00 00 00 00 00 9A [12:27:20]Write i2c OK [12:27:20]MH_I2C_Read... [12:27:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:20]Read from MH i2c: E2 [12:27:20]MH_I2C_Read... [12:27:20]Read from MH i2c: E2 FD 00 [12:27:20]MH_I2C_Read... [12:27:20]Read from MH i2c: E2 FD 00 11 09 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AF [12:27:20]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:27:20]wFMCommunicate OK [12:27:20]wFMCommunicate request_size=4 [12:27:20]MH_SAM_APDU [12:27:20]CAPDU: 80 17 00 00 [12:27:20]Write to MH i2c: E2 08 00 12 09 80 17 00 00 00 00 00 00 9B [12:27:20]Write i2c OK [12:27:20]MH_I2C_Read... [12:27:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:21]Read from MH i2c: E2 [12:27:21]MH_I2C_Read... [12:27:21]Read from MH i2c: E2 FD 00 [12:27:21]MH_I2C_Read... [12:27:21]Read from MH i2c: E2 FD 00 12 09 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 4B [12:27:21]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 [12:27:21]wFMCommunicate OK [12:27:21]wFMCommunicate request_size=4 [12:27:21]MH_SAM_APDU [12:27:21]CAPDU: 80 17 00 00 [12:27:21]Write to MH i2c: E2 08 00 13 09 80 17 00 00 00 00 00 00 9C [12:27:21]Write i2c OK [12:27:21]MH_I2C_Read... [12:27:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:21]Read from MH i2c: E2 [12:27:21]MH_I2C_Read... [12:27:21]Read from MH i2c: E2 FD 00 [12:27:21]MH_I2C_Read... [12:27:21]Read from MH i2c: E2 FD 00 13 09 00 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 22 [12:27:22]RAPDU: 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 [12:27:22]wFMCommunicate OK [12:27:22]wFMCommunicate request_size=4 [12:27:22]MH_SAM_APDU [12:27:22]CAPDU: 80 17 00 00 [12:27:22]Write to MH i2c: E2 08 00 14 09 80 17 00 00 00 00 00 00 9D [12:27:22]Write i2c OK [12:27:22]MH_I2C_Read... [12:27:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [12:27:22]Read from MH i2c: E2 [12:27:22]MH_I2C_Read... [12:27:22]Read from MH i2c: E2 C8 00 [12:27:22]MH_I2C_Read... [12:27:22]Read from MH i2c: E2 C8 00 14 09 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [12:27:22]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:27:23]wFMCommunicate OK [12:27:23]SAM_PROTO_GetShiftData done [12:27:23]requested_item shift.sale.total_cash is exist - process it [12:27:23]requested_item shift.sale_refund.total is exist - process it [12:27:23]requested_item shift.sale_refund.total_cash is exist - process it [12:27:23]requested_item shift.buy.total is exist - process it [12:27:23]requested_item shift.buy.total_cash is exist - process it [12:27:23]produce_requested_data done [12:27:23]produce_requested_data return {"fm.sale.total":8145532.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":37480.00,"shift.sale.total_cash":37480.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} [12:27:23]process_action_free get_value [12:27:23]json_value_free [12:27:23]json_value_free done [12:27:23]process_json_proto returns [12:27:23]Send response to host [12:27:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8145532.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":37480.00,"shift.sale.total_cash":37480.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}}} [12:27:23]free response buf [12:27:23]execute_script done [12:27:23]execute_script returns [12:27:23]free content buf [12:27:23]Sock 12.Close socket [12:27:23]Sock 12.Thread stoped [12:27:23]accept exits with 8 [12:27:23]New connection [12:27:23]New thread 3067227492 created [12:27:23]Thread 3067370852 joined [12:27:23]Waiting for new connection... [12:27:23] Sock 8.Parse request [12:27:23]Sock 8.Check first char [12:27:23]Sock 8.First char is OK [12:27:23]request: POST /json_proto HTTP/1.0 [12:27:23]Method: POST [12:27:23]URL: /json_proto [12:27:23]Method is POST - this is cgi request [12:27:23]url: /json_proto [12:27:23]query_string will be loaded in cgi processing [12:27:23]execute_cgi json_proto POST (null) [12:27:23]execute_cgi path=json_proto method=POST [12:27:23]POST find Content-Length [12:27:23]Host: 172.17.43.4:8080 [12:27:23]Content-Length: 331 [12:27:23]Content-Type: application/json [12:27:23] [12:27:23]POST finish read [12:27:23]Found Content-Length = 331 [12:27:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:27:23]execute_script... [12:27:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:27:23]POST & json_proto [12:27:23]process_json_proto [12:27:23]json parsed OK: [12:27:23]protocol is kg_v1.0 [12:27:23]action value=get_value [12:27:23]process_action get_value [12:27:23]cmd_get_value [12:27:23]process_action get_value done [12:27:23]requested_data is exist [12:27:23]produce_requested_data [12:27:23]requested_item fm.sale.total is exist - process it [12:27:23]SAM_PROTO_GetFMData [12:27:23]wFMCommunicate request_size=4 [12:27:23]MH_SAM_APDU [12:27:23]CAPDU: 80 13 03 00 [12:27:23]Write to MH i2c: E2 08 00 15 09 80 13 03 00 00 00 00 00 9D [12:27:23]Write i2c OK [12:27:23]MH_I2C_Read... [12:27:23]OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:27:23]ProducePacketName [12:27:23]name=ofd_packets/00022583 [12:27:23]OFD Sender: To server: ‡•öpG, [12:27:23]CommunicateWithHost lk.salyk.kg:30040 [12:27:23]ConnectInit lk.salyk.kg [12:27:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:27:23]Read from MH i2c: E2 [12:27:23]MH_I2C_Read... [12:27:23]Read from MH i2c: E2 FD 00 [12:27:23]MH_I2C_Read... [12:27:23]Read from MH i2c: E2 FD 00 15 09 00 BA 04 85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 7E [12:27:23]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [12:27:24]wFMCommunicate OK [12:27:24]wFMCommunicate request_size=4 [12:27:24]MH_SAM_APDU [12:27:24]CAPDU: 80 17 00 00 [12:27:24]Write to MH i2c: E2 08 00 16 09 80 17 00 00 00 00 00 00 9F [12:27:24]Write i2c OK [12:27:24]MH_I2C_Read... [12:27:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:24]Read from MH i2c: E2 [12:27:24]MH_I2C_Read... [12:27:24]Read from MH i2c: E2 FD 00 [12:27:24]MH_I2C_Read... [12:27:24]Read from MH i2c: E2 FD 00 16 09 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 B9 [12:27:24]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 [12:27:24]wFMCommunicate OK [12:27:24]wFMCommunicate request_size=4 [12:27:24]MH_SAM_APDU [12:27:24]CAPDU: 80 17 00 00 [12:27:24]Write to MH i2c: E2 08 00 17 09 80 17 00 00 00 00 00 00 A0 [12:27:24]Write i2c OK [12:27:24]MH_I2C_Read... [12:27:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:25]Read from MH i2c: E2 [12:27:25]MH_I2C_Read... [12:27:25]Read from MH i2c: E2 FD 00 [12:27:25]MH_I2C_Read... [12:27:25]Read from MH i2c: E2 FD 00 17 09 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 CC [12:27:25]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 [12:27:25]wFMCommunicate OK [12:27:25]wFMCommunicate request_size=4 [12:27:25]MH_SAM_APDU [12:27:25]CAPDU: 80 17 00 00 [12:27:25]Write to MH i2c: E2 08 00 18 09 80 17 00 00 00 00 00 00 A1 [12:27:25]Write i2c OK [12:27:25]MH_I2C_Read... [12:27:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:26]Read from MH i2c: E2 [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: E2 FD 00 [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: E2 FD 00 18 09 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 19 [12:27:26]RAPDU: 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [12:27:26]wFMCommunicate OK [12:27:26]wFMCommunicate request_size=4 [12:27:26]MH_SAM_APDU [12:27:26]CAPDU: 80 17 00 00 [12:27:26]Write to MH i2c: E2 08 00 19 09 80 17 00 00 00 00 00 00 A2 [12:27:26]Write i2c OK [12:27:26]MH_I2C_Read... [12:27:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [12:27:26]Read from MH i2c: E2 [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: E2 D7 00 [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: E2 D7 00 19 09 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [12:27: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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:27:27]wFMCommunicate OK [12:27:27]SAM_PROTO_GetFMData done [12:27:27]requested_item fm.sale_refund.total is exist - process it [12:27:27]requested_item fm.buy.total is exist - process it [12:27:27]requested_item shift.sale.total is exist - process it [12:27:27]SAM_PROTO_GetShiftData [12:27:27]wFMCommunicate request_size=4 [12:27:27]MH_SAM_APDU [12:27:27]CAPDU: 80 13 02 00 [12:27:27]Write to MH i2c: E2 08 00 1A 09 80 13 02 00 00 00 00 00 A1 [12:27:27]Write i2c OK [12:27:27]MH_I2C_Read... [12:27:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:27:27]Read from MH i2c: E2 [12:27:27]MH_I2C_Read... [12:27:27]Read from MH i2c: E2 FD 00 [12:27:27]MH_I2C_Read... [12:27:27]Read from MH i2c: E2 FD 00 1A 09 00 AB 04 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 80 [12:27:28]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [12:27:28]wFMCommunicate OK [12:27:28]wFMCommunicate request_size=4 [12:27:28]MH_SAM_APDU [12:27:28]CAPDU: 80 17 00 00 [12:27:28]Write to MH i2c: E2 08 00 1B 09 80 17 00 00 00 00 00 00 A4 [12:27:28]Write i2c OK [12:27:28]MH_I2C_Read... [12:27:28]ConnectInit Can't take IP for lk.salyk.kg [12:27:28]CommunicateWithHost connect error [12:27:28]CommunicateWithHost err = -1 [12:27:28]OFD Sender: Server communicate error [12:27:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:28]Read from MH i2c: E2 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 FD 00 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 FD 00 1B 09 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B9 [12:27:28]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:27:29]wFMCommunicate OK [12:27:29]wFMCommunicate request_size=4 [12:27:29]MH_SAM_APDU [12:27:29]CAPDU: 80 17 00 00 [12:27:29]Write to MH i2c: E2 08 00 1C 09 80 17 00 00 00 00 00 00 A5 [12:27:29]Write i2c OK [12:27:29]MH_I2C_Read... [12:27:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:29]Read from MH i2c: E2 [12:27:29]MH_I2C_Read... [12:27:29]Read from MH i2c: E2 FD 00 [12:27:29]MH_I2C_Read... [12:27:29]Read from MH i2c: E2 FD 00 1C 09 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 55 [12:27:29]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 90 00 [12:27:30]wFMCommunicate OK [12:27:30]wFMCommunicate request_size=4 [12:27:30]MH_SAM_APDU [12:27:30]CAPDU: 80 17 00 00 [12:27:30]Write to MH i2c: E2 08 00 1D 09 80 17 00 00 00 00 00 00 A6 [12:27:30]Write i2c OK [12:27:30]MH_I2C_Read... [12:27:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:30]Read from MH i2c: E2 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: E2 FD 00 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: E2 FD 00 1D 09 00 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 2C [12:27:30]RAPDU: 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 90 00 [12:27:31]wFMCommunicate OK [12:27:31]wFMCommunicate request_size=4 [12:27:31]MH_SAM_APDU [12:27:31]CAPDU: 80 17 00 00 [12:27:31]Write to MH i2c: E2 08 00 1E 09 80 17 00 00 00 00 00 00 A7 [12:27:31]Write i2c OK [12:27:31]MH_I2C_Read... [12:27:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [12:27:31]Read from MH i2c: E2 [12:27:31]MH_I2C_Read... [12:27:31]Read from MH i2c: E2 C8 00 [12:27:31]MH_I2C_Read... [12:27:31]Read from MH i2c: E2 C8 00 1E 09 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8A [12:27:31]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:27:31]wFMCommunicate OK [12:27:31]SAM_PROTO_GetShiftData done [12:27:31]requested_item shift.sale.total_cash is exist - process it [12:27:31]requested_item shift.sale_refund.total is exist - process it [12:27:31]requested_item shift.sale_refund.total_cash is exist - process it [12:27:31]requested_item shift.buy.total is exist - process it [12:27:31]requested_item shift.buy.total_cash is exist - process it [12:27:31]produce_requested_data done [12:27:31]produce_requested_data return {"fm.sale.total":8145532.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":37480.00,"shift.sale.total_cash":37480.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} [12:27:31]process_action_free get_value [12:27:31]json_value_free [12:27:31]json_value_free done [12:27:31]process_json_proto returns [12:27:31]Send response to host [12:27:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8145532.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":37480.00,"shift.sale.total_cash":37480.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}}} [12:27:31]free response buf [12:27:31]execute_script done [12:27:31]execute_script returns [12:27:31]free content buf [12:27:31]Sock 8.Close socket [12:27:31]Sock 8.Thread stoped [12:27:31]accept exits with 10 [12:27:31]New connection [12:27:31]New thread 3067370852 created [12:27:31]Thread 3067227492 joined [12:27:31]Waiting for new connection... [12:27:31] Sock 10.Parse request [12:27:31]Sock 10.Check first char [12:27:31]Sock 10.First char is OK [12:27:31]request: POST /json_proto HTTP/1.0 [12:27:31]Method: POST [12:27:31]URL: /json_proto [12:27:31]Method is POST - this is cgi request [12:27:31]url: /json_proto [12:27:31]query_string will be loaded in cgi processing [12:27:31]execute_cgi json_proto POST (null) [12:27:31]execute_cgi path=json_proto method=POST [12:27:31]POST find Content-Length [12:27:31]Host: 172.17.43.4:8080 [12:27:31]Content-Length: 274 [12:27:31]Content-Type: application/json [12:27:31] [12:27:31]POST finish read [12:27:31]Found Content-Length = 274 [12:27:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0430\u0448\u0440\u0430\u043F\u0431\u0430\u0439 \u041A. \u041F. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:27:31]execute_script... [12:27:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0430\u0448\u0440\u0430\u043F\u0431\u0430\u0439 \u041A. \u041F. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:27:31]POST & json_proto [12:27:31]process_json_proto [12:27:31]json parsed OK: [12:27:31]protocol is kg_v1.0 [12:27:31]action value=close_shift [12:27:31]process_action close_shift [12:27:31]cmd_close_shift [12:27:31]MH_GetDate [12:27:31]Write to MH i2c: F0 00 00 1F 09 17 [12:27:31]Write i2c OK [12:27:31]MH_I2C_Read... [12:27:31]Read from MH i2c: F0 [12:27:31]MH_I2C_Read... [12:27:31]Read from MH i2c: F0 09 00 [12:27:31]MH_I2C_Read... [12:27:31]Read from MH i2c: F0 09 00 1F 09 00 35 53 F5 66 02 BF CF 66 F9 [12:27:31]GetLastDocTimeStamp 1727353576 [12:27:31]current date 1727353653 [12:27:31]FM_GetShiftState [12:27:31]SAM_PROTO_GetShiftState [12:27:31]wFMCommunicate request_size=4 [12:27:31]MH_SAM_APDU [12:27:31]CAPDU: 80 13 01 00 [12:27:31]Write to MH i2c: E2 08 00 20 09 80 13 01 00 00 00 00 00 A6 [12:27:31]Write i2c OK [12:27:31]MH_I2C_Read... [12:27:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:27:31]Read from MH i2c: E2 [12:27:31]MH_I2C_Read... [12:27:31]Read from MH i2c: E2 0E 00 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 0E 00 20 09 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 66 [12:27:32]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [12:27:32]wFMCommunicate OK [12:27:32]SAM_PROTO_GetShiftState done [12:27:32]FM_GetShiftState done [12:27:32]KKMCreateCloseShiftDocument [12:27:32]Load OK [12:27:32]Malloc new data [12:27:32]MH_GetDate [12:27:32]Write to MH i2c: F0 00 00 21 09 19 [12:27:32]Write i2c OK [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: F0 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: F0 09 00 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: F0 09 00 21 09 00 35 53 F5 66 02 BF CF 66 FB [12:27:32]Malloc new data [12:27:32]Malloc new data [12:27:32]Malloc new data [12:27:32]Malloc new data [12:27:32]KKMCreateCloseShiftDocument OK [12:27:32]KKMSetCloseShiftData OK [12:27:32]ProcessDocumentItem done err = 0, tmpTLVsize=77 [12:27:32]tlvbuf is 015B2810 [12:27:32]KKMLoadAndSignCloseShiftData [12:27:32]SAM_PROTO_ProcessDocument [12:27:32]wFMCommunicate request_size=9 [12:27:32]MH_SAM_APDU [12:27:32]CAPDU: 80 15 01 00 04 05 00 4D 00 [12:27:32]Write to MH i2c: E2 0C 00 22 09 80 15 01 00 04 00 05 00 4D 00 00 00 04 [12:27:32]Write i2c OK [12:27:32]MH_I2C_Read... [12:27:32]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [12:27:32]Read from MH i2c: E2 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 22 09 00 90 00 9F [12:27:32]RAPDU: 90 00 [12:27:32]wFMCommunicate OK [12:27:32]wFMCommunicate request_size=23 [12:27:32]MH_SAM_APDU [12:27:32]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [12:27:32]Write to MH i2c: E2 1A 00 23 09 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 A1 [12:27:32]Write i2c OK [12:27:32]MH_I2C_Read... [12:27:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:27:32]Read from MH i2c: E2 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 23 09 00 90 00 A0 [12:27:32]RAPDU: 90 00 [12:27:32]wFMCommunicate OK [12:27:32]wFMCommunicate request_size=36 [12:27:32]MH_SAM_APDU [12:27:32]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 [12:27:32]Write to MH i2c: E2 27 00 24 09 80 15 02 00 1F 00 FD 03 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 00 00 CA [12:27:32]Write i2c OK [12:27:32]MH_I2C_Read... [12:27:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:27:32]Read from MH i2c: E2 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 24 09 00 90 00 A1 [12:27:32]RAPDU: 90 00 [12:27:32]wFMCommunicate OK [12:27:32]wFMCommunicate request_size=13 [12:27:32]MH_SAM_APDU [12:27:32]CAPDU: 80 15 02 00 08 F4 03 04 00 35 53 F5 66 [12:27:32]Write to MH i2c: E2 10 00 25 09 80 15 02 00 08 00 F4 03 04 00 35 53 F5 66 00 00 9C [12:27:32]Write i2c OK [12:27:32]MH_I2C_Read... [12:27:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:27:32]Read from MH i2c: E2 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 25 09 00 90 00 A2 [12:27:32]RAPDU: 90 00 [12:27:32]wFMCommunicate OK [12:27:32]wFMCommunicate request_size=25 [12:27:32]MH_SAM_APDU [12:27:32]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 [12:27:32]Write to MH i2c: E2 1C 00 26 09 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 00 00 0C [12:27:32]Write i2c OK [12:27:32]MH_I2C_Read... [12:27:32]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [12:27:32]Read from MH i2c: E2 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 [12:27:32]MH_I2C_Read... [12:27:32]Read from MH i2c: E2 03 00 26 09 00 90 00 A3 [12:27:32]RAPDU: 90 00 [12:27:32]wFMCommunicate OK [12:27:32]wFMCommunicate request_size=4 [12:27:32]MH_SAM_APDU [12:27:32]CAPDU: 80 15 03 00 [12:27:32]Write to MH i2c: E2 08 00 27 09 80 15 03 00 00 00 00 00 B1 [12:27:32]Write i2c OK [12:27:32]MH_I2C_Read... [12:27:33]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [12:27:33]Read from MH i2c: E2 [12:27:33]MH_I2C_Read... [12:27:33]Read from MH i2c: E2 FD 00 [12:27:33]MH_I2C_Read... [12:27:33]Read from MH i2c: E2 FD 00 27 09 00 EE 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 56 58 00 00 0E 04 04 00 E8 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4F 00 00 00 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:27:33]03 ProducePacketName [12:27:33]00 name=ofd_packets/00022583 [12:27:33]00 OFD Sender: To server: ‡•öpG, [12:27:33]EF 03 0B 00 F6 03 01 00 01 CommunicateWithHost lk.salyk.kg:30040 [12:27:33]F7 ConnectInit lk.salyk.kg [12:27:33]03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 DB [12:27:33]RAPDU: EE 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 56 58 00 00 0E 04 04 00 E8 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4F 00 00 00 AA 04 A7 04 6E 04 04 00 4D 00 00 00 69 04 98 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 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 45 13 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [12:27:34]wFMCommunicate OK [12:27:34]SAM_PROTO_ProcessDocument answer len = 1262 [12:27:34]SAM_PROTO_ProcessDocument remain to read = 1014 [12:27:34]wFMCommunicate request_size=4 [12:27:34]MH_SAM_APDU [12:27:34]CAPDU: 80 17 00 00 [12:27:34]Write to MH i2c: E2 08 00 28 09 80 17 00 00 00 00 00 00 B1 [12:27:34]Write i2c OK [12:27:34]MH_I2C_Read... [12:27:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:34]Read from MH i2c: E2 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: E2 FD 00 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: E2 FD 00 28 09 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 8A [12:27:34]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [12:27:35]wFMCommunicate OK [12:27:35]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [12:27:35]SAM_PROTO_ProcessDocument remain to read = 764 [12:27:35]wFMCommunicate request_size=4 [12:27:35]MH_SAM_APDU [12:27:35]CAPDU: 80 17 00 00 [12:27:35]Write to MH i2c: E2 08 00 29 09 80 17 00 00 00 00 00 00 B2 [12:27:35]Write i2c OK [12:27:35]MH_I2C_Read... [12:27:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:35]Read from MH i2c: E2 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 FD 00 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 FD 00 29 09 00 F7 03 00 00 EF 03 09 00 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 90 00 10 [12:27:35]RAPDU: F7 03 00 00 EF 03 09 00 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 90 00 [12:27:36]wFMCommunicate OK [12:27:36]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [12:27:36]SAM_PROTO_ProcessDocument remain to read = 514 [12:27:36]wFMCommunicate request_size=4 [12:27:36]MH_SAM_APDU [12:27:36]CAPDU: 80 17 00 00 [12:27:36]Write to MH i2c: E2 08 00 2A 09 80 17 00 00 00 00 00 00 B3 [12:27:36]Write i2c OK [12:27:36]MH_I2C_Read... [12:27:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:36]Read from MH i2c: E2 [12:27:36]MH_I2C_Read... [12:27:36]Read from MH i2c: E2 FD 00 [12:27:36]MH_I2C_Read... [12:27:36]Read from MH i2c: E2 FD 00 2A 09 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3F [12:27:36]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:27:37]wFMCommunicate OK [12:27:37]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [12:27:37]SAM_PROTO_ProcessDocument remain to read = 264 [12:27:37]wFMCommunicate request_size=4 [12:27:37]MH_SAM_APDU [12:27:37]CAPDU: 80 17 00 00 [12:27:37]Write to MH i2c: E2 08 00 2B 09 80 17 00 00 00 00 00 00 B4 [12:27:37]Write i2c OK [12:27:37]MH_I2C_Read... [12:27:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:37]Read from MH i2c: E2 [12:27:37]MH_I2C_Read... [12:27:37]Read from MH i2c: E2 FD 00 [12:27:37]MH_I2C_Read... [12:27:37]Read from MH i2c: E2 FD 00 2B 09 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 90 00 7F [12:27:37]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 90 00 [12:27:37]wFMCommunicate OK [12:27:37]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [12:27:38]SAM_PROTO_ProcessDocument remain to read = 14 [12:27:38]wFMCommunicate request_size=4 [12:27:38]MH_SAM_APDU [12:27:38]CAPDU: 80 17 00 00 [12:27:38]Write to MH i2c: E2 08 00 2C 09 80 17 00 00 00 00 00 00 B5 [12:27:38]Write i2c OK [12:27:38]MH_I2C_Read... [12:27:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 14! [12:27:38]Read from MH i2c: E2 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: E2 11 00 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: E2 11 00 2C 09 00 F7 03 00 00 35 04 06 00 F9 CD 34 78 6E 93 90 00 63 [12:27:38]RAPDU: F7 03 00 00 35 04 06 00 F9 CD 34 78 6E 93 90 00 [12:27:38]wFMCommunicate OK [12:27:38]SAM_PROTO_ProcessDocument received (without SW) 14 bytes [12:27:38]SAM_PROTO_ProcessDocument done [12:27:38]1209 (1) - 1.0 - номер верÑии ФФД [12:27:38]1041 (16) - 0000000000959358 - номер ФМ [12:27:38]1040 (4) - 22614 - номер ФД [12:27:38]1038 (4) - 232 - номер Ñмены [12:27:38]1118 (4) - 77 - количеÑтво каÑÑовых чеков за Ñмену [12:27:38]1111 (4) - 79 - общее количеÑтво ФД за Ñмену [12:27:38]1194 (1191) - Ñчетчики итогов Ñмены [12:27:38] 1134 (4) - 77 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [12:27:38] 1129 (152) - Ñчетчики операций «приход» [12:27:38] 1135 (4) - 77 - количеÑтво чеков по признаку раÑчетов [12:27:38] 1201 (3) - 37480.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [12:27:38] 1136 (3) - 37480.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [12:27:38] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [12:27:38] 1024 (122) - Ñуммы налогов [12:27:38] 1006 (9) - Ñуммы ÐДС [12:27:38] 1010 (1) - 0% - код Ñтавки ÐДС [12:27:38] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:27:38] 1006 (12) - Ñуммы ÐДС [12:27:38] 1010 (1) - 12% - код Ñтавки ÐДС [12:27:38] 1011 (3) - 3981.49 - Ñумма ÐДС по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 0% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (11) - Ñуммы ÐСП [12:27:38] 1014 (1) - 1% - код Ñтавки ÐСП [12:27:38] 1015 (2) - 331.80 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 2% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 3% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 5% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 0,50% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 1,50% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1130 (141) - Ñчетчики операций «возврат прихода» [12:27:38] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [12:27:38] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [12:27:38] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [12:27:38] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [12:27:38] 1024 (117) - Ñуммы налогов [12:27:38] 1006 (9) - Ñуммы ÐДС [12:27:38] 1010 (1) - 0% - код Ñтавки ÐДС [12:27:38] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:27:38] 1006 (9) - Ñуммы ÐДС [12:27:38] 1010 (1) - 12% - код Ñтавки ÐДС [12:27:38] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 0% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 1% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 2% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 3% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 5% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 0,50% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 1,50% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1131 (141) - Ñчетчики операций «раÑход» [12:27:38] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [12:27:38] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [12:27:38] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [12:27:38] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [12:27:38] 1024 (117) - Ñуммы налогов [12:27:38] 1006 (9) - Ñуммы ÐДС [12:27:38] 1010 (1) - 0% - код Ñтавки ÐДС [12:27:38] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:27:38] 1006 (9) - Ñуммы ÐДС [12:27:38] 1010 (1) - 12% - код Ñтавки ÐДС [12:27:38] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 0% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 1% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 2% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 3% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 5% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] ConnectInit Can't take IP for lk.salyk.kg [12:27:38] CommunicateWithHost connect error [12:27:38]1014 (1) - 0,50%CommunicateWithHost err = -1 [12:27:38] - код Ñтавки ÐСП [12:27:38]OFD Sender: Server communicate error [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 1,50% - код Ñтавки ÐСП [12:27:38] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:38] 1132 (141) - Ñчетчики операций «возврат раÑхода» [12:27:38] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [12:27:38] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [12:27:38] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [12:27:38] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [12:27:38] 1024 (117) - Ñуммы налогов [12:27:38] 1006 (9) - Ñуммы ÐДС [12:27:38] 1010 (1) - 0% - код Ñтавки ÐДС [12:27:38] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:27:38] 1006 (9) - Ñуммы ÐДС [12:27:38] 1010 (1) - 12% - код Ñтавки ÐДС [12:27:38] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [12:27:38] 1007 (9) - Ñуммы ÐСП [12:27:38] 1014 (1) - 0% - код Ñтавки ÐСП [12:27:39] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:39] 1007 (9) - Ñуммы ÐСП [12:27:39] 1014 (1) - 1% - код Ñтавки ÐСП [12:27:39] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:39] 1007 (9) - Ñуммы ÐСП [12:27:39] 1014 (1) - 2% - код Ñтавки ÐСП [12:27:39] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:39] 1007 (9) - Ñуммы ÐСП [12:27:39] 1014 (1) - 3% - код Ñтавки ÐСП [12:27:39] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:39] 1007 (9) - Ñуммы ÐСП [12:27:39] 1014 (1) - 5% - код Ñтавки ÐСП [12:27:39] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:39] 1007 (9) - Ñуммы ÐСП [12:27:39] 1014 (1) - 0,50% - код Ñтавки ÐСП [12:27:39] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:39] 1007 (9) - Ñуммы ÐСП [12:27:39] 1014 (1) - 1,50% - код Ñтавки ÐСП [12:27:39] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [12:27:39] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [12:27:39]1077 (6) - 274659743919763 - ФПД [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1209 (04B9) [12:27:39]Malloc new data [12:27:39]Processing tag 1041 (0411) [12:27:39]Processing tag 1040 (0410) [12:27:39]Malloc new data [12:27:39]Processing tag 1038 (040E) [12:27:39]Malloc new data [12:27:39]Processing tag 1118 (045E) [12:27:39]Malloc new data [12:27:39]Processing tag 1111 (0457) [12:27:39]Malloc new data [12:27:39]Processing tag 1194 (04AA) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1134 (046E) [12:27:39]Malloc new data [12:27:39]Processing tag 1129 (0469) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1135 (046F) [12:27:39]Malloc new data [12:27:39]Processing tag 1201 (04B1) [12:27:39]Malloc new data [12:27:39]Processing tag 1136 (0470) [12:27:39]Malloc new data [12:27:39]Processing tag 1138 (0472) [12:27:39]Malloc new data [12:27:39]Processing tag 1024 (0400) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1006 (03EE) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1010 (03F2) [12:27:39]Malloc new data [12:27:39]Processing tag 1011 (03F3) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1006 (03EE) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1010 (03F2) [12:27:39]Malloc new data [12:27:39]Processing tag 1011 (03F3) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]SetTLVBufToDocument err=0 [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1130 (046A) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1135 (046F) [12:27:39]Malloc new data [12:27:39]Processing tag 1201 (04B1) [12:27:39]Malloc new data [12:27:39]Processing tag 1136 (0470) [12:27:39]Malloc new data [12:27:39]Processing tag 1138 (0472) [12:27:39]Malloc new data [12:27:39]Processing tag 1024 (0400) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1006 (03EE) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1010 (03F2) [12:27:39]Malloc new data [12:27:39]Processing tag 1011 (03F3) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1006 (03EE) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1010 (03F2) [12:27:39]Malloc new data [12:27:39]Processing tag 1011 (03F3) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]SetTLVBufToDocument err=0 [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1131 (046B) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1135 (046F) [12:27:39]Malloc new data [12:27:39]Processing tag 1201 (04B1) [12:27:39]Malloc new data [12:27:39]Processing tag 1136 (0470) [12:27:39]Malloc new data [12:27:39]Processing tag 1138 (0472) [12:27:39]Malloc new data [12:27:39]Processing tag 1024 (0400) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1006 (03EE) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1010 (03F2) [12:27:39]Malloc new data [12:27:39]Processing tag 1011 (03F3) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1006 (03EE) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1010 (03F2) [12:27:39]Malloc new data [12:27:39]Processing tag 1011 (03F3) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]SetTLVBufToDocument err=0 [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1132 (046C) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1135 (046F) [12:27:39]Malloc new data [12:27:39]Processing tag 1201 (04B1) [12:27:39]Malloc new data [12:27:39]Processing tag 1136 (0470) [12:27:39]Malloc new data [12:27:39]Processing tag 1138 (0472) [12:27:39]Malloc new data [12:27:39]Processing tag 1024 (0400) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1006 (03EE) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1010 (03F2) [12:27:39]Malloc new data [12:27:39]Processing tag 1011 (03F3) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1006 (03EE) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1010 (03F2) [12:27:39]Malloc new data [12:27:39]Processing tag 1011 (03F3) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1007 (03EF) [12:27:39]Load OK [12:27:39]SetTLVBufToDocument [12:27:39]Processing tag 1014 (03F6) [12:27:39]Malloc new data [12:27:39]Processing tag 1015 (03F7) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]SetTLVBufToDocument err=0 [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1133 (046D) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Processing tag 1077 (0435) [12:27:39]Malloc new data [12:27:39]SetTLVBufToDocument err=0 [12:27:39]Malloc new data [12:27:39]SAM_PROTO_GetFMData [12:27:39]wFMCommunicate request_size=4 [12:27:39]MH_SAM_APDU [12:27:39]CAPDU: 80 13 03 00 [12:27:39]Write to MH i2c: E2 08 00 2D 09 80 13 03 00 00 00 00 00 B5 [12:27:39]Write i2c OK [12:27:39]MH_I2C_Read... [12:27:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:27:40]Read from MH i2c: E2 [12:27:40]MH_I2C_Read... [12:27:40]Read from MH i2c: E2 FD 00 [12:27:40]MH_I2C_Read... [12:27:40]Read from MH i2c: E2 FD 00 2D 09 00 BA 04 85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 96 [12:27:40]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 85 56 00 00 69 04 9C 00 6F 04 04 00 80 56 00 00 B1 04 04 00 70 18 8D 30 70 04 04 00 70 18 8D 30 72 04 00 00 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 3F 28 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C3 FC 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [12:27:40]wFMCommunicate OK [12:27:40]wFMCommunicate request_size=4 [12:27:40]MH_SAM_APDU [12:27:40]CAPDU: 80 17 00 00 [12:27:40]Write to MH i2c: E2 08 00 2E 09 80 17 00 00 00 00 00 00 B7 [12:27:40]Write i2c OK [12:27:40]MH_I2C_Read... [12:27:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:41]Read from MH i2c: E2 [12:27:41]MH_I2C_Read... [12:27:41]Read from MH i2c: E2 FD 00 [12:27:41]MH_I2C_Read... [12:27:41]Read from MH i2c: E2 FD 00 2E 09 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 D1 [12:27:41]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 90 00 [12:27:41]wFMCommunicate OK [12:27:41]wFMCommunicate request_size=4 [12:27:41]MH_SAM_APDU [12:27:41]CAPDU: 80 17 00 00 [12:27:41]Write to MH i2c: E2 08 00 2F 09 80 17 00 00 00 00 00 00 B8 [12:27:41]Write i2c OK [12:27:41]MH_I2C_Read... [12:27:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:42]Read from MH i2c: E2 [12:27:42]MH_I2C_Read... [12:27:42]Read from MH i2c: E2 FD 00 [12:27:42]MH_I2C_Read... [12:27:42]Read from MH i2c: E2 FD 00 2F 09 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 E4 [12:27:42]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 90 00 [12:27:42]wFMCommunicate OK [12:27:42]wFMCommunicate request_size=4 [12:27:42]MH_SAM_APDU [12:27:42]CAPDU: 80 17 00 00 [12:27:43]Write to MH i2c: E2 08 00 30 09 80 17 00 00 00 00 00 00 B9 [12:27:43]Write i2c OK [12:27:43]MH_I2C_Read... [12:27:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:27:43]Read from MH i2c: E2 [12:27:43]MH_I2C_Read... [12:27:43]Read from MH i2c: E2 FD 00 [12:27:43]MH_I2C_Read... [12:27:43]Read from MH i2c: E2 FD 00 30 09 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 31 [12:27:43]RAPDU: 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [12:27:44]wFMCommunicate OK [12:27:44]wFMCommunicate request_size=4 [12:27:44]OFD Sender: Processing packet 22583 [packets to send 53, broken 22] [12:27:44]MH_SAM_APDU [12:27:44]ProducePacketName [12:27:44]CAPDU: name=ofd_packets/00022583 [12:27:44]80 OFD Sender: To server: ‡•öpG, [12:27:44]CommunicateWithHost lk.salyk.kg:30040 [12:27:44]ConnectInit lk.salyk.kg [12:27:44]17 00 00 [12:27:44]Write to MH i2c: E2 08 00 31 09 80 17 00 00 00 00 00 00 BA [12:27:44]Write i2c OK [12:27:44]MH_I2C_Read... [12:27:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [12:27:44]Read from MH i2c: E2 [12:27:44]MH_I2C_Read... [12:27:44]Read from MH i2c: E2 D7 00 [12:27:44]MH_I2C_Read... [12:27:44]Read from MH i2c: E2 D7 00 31 09 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9D [12:27:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:27:45]wFMCommunicate OK [12:27:45]SAM_PROTO_GetFMData done [12:27:45]Malloc new data [12:27:45]Malloc new data [12:27:45]Malloc new data [12:27:45]Malloc new data [12:27:45]KKMLoadAndSignCloseShiftData err=0 [12:27:45]Отчет о закрытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: Машрапбай К. П. 26.09.2024 12:27 Смена: 232 РÐМ: 0000000000146243 ЗÐМ: 0300000061 СÐО: Общий режим Чеков за Ñмену: 77 ФД за Ñмену: 79 Ð’Ñего чеков: 77 ИТОГИ ПРИХОД Чеков: 77 Общий итог: 37480.00 Итого наличными: 37480.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 3981.49 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 331.80 ИТОГИ ВОЗВРÐТ ПРИХОДРЧеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ РÐСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 0.00 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 0.00 ИТОГИ ВОЗВРÐТ РÐСХОДРЧеков: 0 Общий итог: 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 Ðал. в каÑÑе: 37480.00 ÐС Приход: 8145532.00 ÐС Возвр.Прихода: 6752.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФД: 22614 ФМ: 0000000000959358 ФПД: 274659743919763 [12:27:45]StoreToDocumentArchive [12:27:45]shift 232 fd 22614 [12:27:45]save to /storage/0232/doc_00022614 [12:27:45]save last doc name /storage/0232/doc_00022614 to /storage/kkm_last_doc_name [12:27:45]save OK [12:27:45]Clear old archive folders... [12:27:45]Remove dir /storage/0010 [12:27:45]opendir ok [12:27:45]file . [12:27:45]file .. [12:27:45]file doc_1727353585 [12:27:45]remove file /storage/0010/doc_1727353585 [12:27:45]remove dir /storage/0010 [12:27:45]NVStorageSaveData kkm_registers [12:27:45]File name is /storage/kkm_registers [12:27:45]Write 24 bytes [12:27:45]NVStorageSaveData done [12:27:45]NVStorageSaveData kkm_registers [12:27:45]File name is /storage/kkm_registers [12:27:45]Write 24 bytes [12:27:45]NVStorageSaveData done [12:27:45]ProcessDocumentItem done err = 0, tmpTLVsize=1383 [12:27:45]tlvbuf is 01637030 [12:27:45]SAM_PROTO_ClearQueue [12:27:45]wFMCommunicate request_size=4 [12:27:45]MH_SAM_APDU [12:27:45]CAPDU: 80 09 00 00 [12:27:45]Write to MH i2c: E2 08 00 32 09 80 09 00 00 00 00 00 00 AD [12:27:45]Write i2c OK [12:27:45]MH_I2C_Read... [12:27:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:27:45]Read from MH i2c: E2 [12:27:45]MH_I2C_Read... [12:27:45]Read from MH i2c: E2 03 00 [12:27:45]MH_I2C_Read... [12:27:45]Read from MH i2c: E2 03 00 32 09 00 90 00 AF [12:27:45]RAPDU: 90 00 [12:27:45]wFMCommunicate OK [12:27:45]SAM_PROTO_ClearQueue done [12:27:45]KKMCreateOFDPacket [12:27:45]OFDProtocolAddRootSTLVToBuf [12:27:45]FM_MakeSignedData [12:27:45]FM_MakeSignedData [12:27:45]SAM_PROTO_SignData [12:27:45]wFMCommunicate request_size=4 [12:27:45]MH_SAM_APDU [12:27:45]CAPDU: 80 0D 01 02 [12:27:45]Write to MH i2c: E2 08 00 33 09 80 0D 01 02 00 00 00 00 B5 [12:27:45]Write i2c OK [12:27:45]MH_I2C_Read... [12:27:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:27:45]Read from MH i2c: E2 [12:27:45]MH_I2C_Read... [12:27:45]Read from MH i2c: E2 03 00 [12:27:45]MH_I2C_Read... [12:27:45]Read from MH i2c: E2 03 00 33 09 00 90 00 B0 [12:27:45]RAPDU: 90 00 [12:27:45]wFMCommunicate OK [12:27:45]wFMCommunicate request_size=255 [12:27:45]MH_SAM_APDU [12:27:45]CAPDU: 80 0D 02 02 FA 05 00 67 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 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 F4 03 04 00 35 53 F5 66 0E 04 04 00 E8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 5E 04 04 00 4D 00 00 00 57 04 04 00 4F 00 00 00 AA 04 D3 04 6E 04 04 00 4D 00 00 00 69 04 A0 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 72 04 01 00 00 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 45 13 06 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 [12:27:45]Write to MH i2c: E2 02 01 34 09 80 0D 02 02 FA 00 05 00 67 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 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 F4 03 04 00 35 53 F5 66 0E 04 04 00 E8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 5E 04 04 00 4D 00 00 00 57 04 04 00 4F 00 00 00 AA 04 D3 04 6E 04 04 00 4D 00 00 00 69 04 A0 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 72 04 01 00 00 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 45 13 06 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 50 [12:27:46]Write i2c OK [12:27:46]MH_I2C_Read... [12:27:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:46]Read from MH i2c: E2 [12:27:46]MH_I2C_Read... [12:27:46]Read from MH i2c: E2 03 00 [12:27:46]MH_I2C_Read... [12:27:46]Read from MH i2c: E2 03 00 34 09 00 90 00 B1 [12:27:46]RAPDU: 90 00 [12:27:46]wFMCommunicate OK [12:27:46]wFMCommunicate request_size=255 [12:27:46]MH_SAM_APDU [12:27:46]CAPDU: 80 0D 02 02 FA 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 9C 81 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 [12:27:46]Write to MH i2c: E2 02 01 35 09 80 0D 02 02 FA 00 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 9C 81 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 42 [12:27:47]Write i2c OK [12:27:47]MH_I2C_Read... [12:27:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:47]Read from MH i2c: E2 [12:27:47]MH_I2C_Read... [12:27:47]Read from MH i2c: E2 03 00 [12:27:47]MH_I2C_Read... [12:27:47]Read from MH i2c: E2 03 00 35 09 00 90 00 B2 [12:27:47]RAPDU: 90 00 [12:27:47]wFMCommunicate OK [12:27:47]wFMCommunicate request_size=255 [12:27:47]MH_SAM_APDU [12:27:47]CAPDU: 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 [12:27:48]Write to MH i2c: E2 02 01 36 09 80 0D 02 02 FA 00 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 7F [12:27:48]Write i2c OK [12:27:48]MH_I2C_Read... [12:27:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:48]Read from MH i2c: E2 [12:27:48]MH_I2C_Read... [12:27:48]Read from MH i2c: E2 03 00 [12:27:48]MH_I2C_Read... [12:27:48]Read from MH i2c: E2 03 00 36 09 00 90 00 B3 [12:27:48]RAPDU: 90 00 [12:27:48]wFMCommunicate OK [12:27:48]wFMCommunicate request_size=255 [12:27:48]MH_SAM_APDU [12:27:48]CAPDU: 80 0D 02 02 FA 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 [12:27:49]Write to MH i2c: E2 02 01 37 09 80 0D 02 02 FA 00 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 ConnectInit Can't take IP for lk.salyk.kg [12:27:49]00 CommunicateWithHost connect error [12:27:49]00 CommunicateWithHost err = -1 [12:27:49]00 00 00 B1 04 00 00 70 OFD Sender: Server communicate error [12:27:49]04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 00 00 7E [12:27:49]Write i2c OK [12:27:49]MH_I2C_Read... [12:27:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:50]Read from MH i2c: E2 [12:27:50]MH_I2C_Read... [12:27:50]Read from MH i2c: E2 03 00 [12:27:50]MH_I2C_Read... [12:27:50]Read from MH i2c: E2 03 00 37 09 00 90 00 B4 [12:27:50]RAPDU: 90 00 [12:27:50]wFMCommunicate OK [12:27:50]wFMCommunicate request_size=255 [12:27:50]MH_SAM_APDU [12:27:50]CAPDU: 80 0D 02 02 FA 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 [12:27:50]Write to MH i2c: E2 02 01 38 09 80 0D 02 02 FA 00 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 00 00 43 [12:27:50]Write i2c OK [12:27:50]MH_I2C_Read... [12:27:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:51]Read from MH i2c: E2 [12:27:51]MH_I2C_Read... [12:27:51]Read from MH i2c: E2 03 00 [12:27:51]MH_I2C_Read... [12:27:51]Read from MH i2c: E2 03 00 38 09 00 90 00 B5 [12:27:51]RAPDU: 90 00 [12:27:51]wFMCommunicate OK [12:27:51]wFMCommunicate request_size=142 [12:27:51]MH_SAM_APDU [12:27:51]CAPDU: 80 0D 02 02 89 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 56 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 F9 CD 34 78 6E 93 [12:27:51]Write to MH i2c: E2 91 00 39 09 80 0D 02 02 89 00 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 56 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 F9 CD 34 78 6E 93 00 00 2B [12:27:51]Write i2c OK [12:27:51]MH_I2C_Read... [12:27:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:51]Read from MH i2c: E2 [12:27:51]MH_I2C_Read... [12:27:51]Read from MH i2c: E2 03 00 [12:27:51]MH_I2C_Read... [12:27:51]Read from MH i2c: E2 03 00 39 09 00 90 00 B6 [12:27:51]RAPDU: 90 00 [12:27:51]wFMCommunicate OK [12:27:51]wFMCommunicate request_size=4 [12:27:51]MH_SAM_APDU [12:27:51]CAPDU: 80 0D 03 02 [12:27:51]Write to MH i2c: E2 08 00 3A 09 80 0D 03 02 00 00 00 00 BE [12:27:51]Write i2c OK [12:27:51]MH_I2C_Read... [12:27:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:27:51]Read from MH i2c: E2 [12:27:51]MH_I2C_Read... [12:27:51]Read from MH i2c: E2 0B 00 [12:27:51]MH_I2C_Read... [12:27:51]Read from MH i2c: E2 0B 00 3A 09 00 FB 10 FB D8 9B 0E D3 AE 90 00 C7 [12:27:52]RAPDU: FB 10 FB D8 9B 0E D3 AE 90 00 [12:27:52]wFMCommunicate OK [12:27:52]SAM_PROTO_SignData done [12:27:52]FM_MakeSignedData done [12:27:52]CreateOFDProtocolMessage [12:27:52]wFMCommunicate request_size=4 [12:27:52]MH_SAM_APDU [12:27:52]CAPDU: 80 11 00 00 [12:27:52]Write to MH i2c: E2 08 00 3B 09 80 11 00 00 00 00 00 00 BE [12:27:52]Write i2c OK [12:27:52]MH_I2C_Read... [12:27:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:27:52]Read from MH i2c: E2 [12:27:52]MH_I2C_Read... [12:27:52]Read from MH i2c: E2 17 00 [12:27:52]MH_I2C_Read... [12:27:52]Read from MH i2c: E2 17 00 3B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 18 [12:27:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [12:27:52]wFMCommunicate OK [12:27:52]CreateOFDProtocolMessage done [12:27:52]OFDSenderStorePacket 22614 [12:27:52]StoreOFDPacket docnum=22614 [12:27:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 7B 05 00 00 E8 C3 73 05 0A 84 5A 05 01 00 05 00 67 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 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 F4 03 04 00 35 53 F5 66 0E 04 04 00 E8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 5E 04 04 00 4D 00 00 00 57 04 04 00 4F 00 00 00 AA 04 D3 04 6E 04 04 00 4D 00 00 00 69 04 A0 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 72 04 01 00 00 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 45 13 06 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 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 56 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 F9 CD 34 78 6E 93 FB 10 FB D8 9B 0E D3 AE [12:27:52]CheckFolder [12:27:52]dirname=/storage/ofd_packets [12:27:52]CheckFolder done [12:27:52]ProducePacketName [12:27:52]name=ofd_packets/00022614 [12:27:52]NVStorageSaveData ofd_packets/00022614 [12:27:52]File name is /storage/ofd_packets/00022614 [12:27:52]Write 1433 bytes [12:27:52]NVStorageSaveData done [12:27:52]OFDSenderStorePacket done [12:27:52]KKMCreateOFDPacket done [12:27:52]NVStorageSaveData kkm_last_timestamp [12:27:52]File name is /storage/kkm_last_timestamp [12:27:52]Write 4 bytes [12:27:52]NVStorageSaveData done [12:27:52]ExternCall_PrintAddStr [12:27:52]wPrintStart [12:27:52]Write to MH i2c: 01 00 00 3C 09 45 [12:27:52]Write i2c OK [12:27:52]MH_I2C_Read... [12:27:52]Read from MH i2c: 01 [12:27:52]MH_I2C_Read... [12:27:52]Read from MH i2c: 01 07 00 [12:27:52]MH_I2C_Read... [12:27:52]Read from MH i2c: 01 07 00 3C 09 00 00 00 00 00 FF 0F 5A [12:27:52]RasterBufferAndPrint [12:27:52]line Отчет о закрытии Ñмены [12:27:52]line ФФД: 1.0 [12:27:52]line ИÐÐ: 02508201610067 [12:27:52]line КаÑÑир: Машрапбай К. П. [12:27:52]line 26.09.2024 12:27 [12:27:52]line Смена: 232 [12:27:52]line РÐМ: 0000000000146243 [12:27:52]line ЗÐМ: 0300000061 [12:27:52]line СÐО: Общий режим [12:27:52]line Чеков за Ñмену: 77 [12:27:52]line ФД за Ñмену: 79 [12:27:52]line Ð’Ñего чеков: 77 [12:27:52]line ИТОГИ ПРИХОД [12:27:52]line Чеков: 77 [12:27:52]line Общий итог: 37480.00 [12:27:52]line Итого наличными: 37480.00 [12:27:52]line Итого безнал.: 0.00 [12:27:52]line ÐДС 0% : 0.00 [12:27:52]line ÐДС 12% : 3981.49 [12:27:52]line ÐСП 0% : 0.00 [12:27:52]line ÐСП 1,50% : 0.00 [12:27:52]line ÐСП 0,50% : 0.00 [12:27:52]line ÐСП 5% : 0.00 [12:27:52]line ÐСП 3% : 0.00 [12:27:52]line ÐСП 2% : 0.00 [12:27:52]line ÐСП 1% : 331.80 [12:27:52]line ИТОГИ ВОЗВРÐТ ПРИХОДР[12:27:52]line Чеков: 0 [12:27:52]line Общий итог: 0.00 [12:27:52]line Итого наличными: 0.00 [12:27:52]line Итого безнал.: 0.00 [12:27:52]line ÐДС 0% : 0.00 [12:27:52]line ÐДС 12% : 0.00 [12:27:52]line ÐСП 0% : 0.00 [12:27:52]line ÐСП 1,50% : 0.00 [12:27:52]line ÐСП 0,50% : 0.00 [12:27:52]line ÐСП 5% : 0.00 [12:27:52]line ÐСП 3% : 0.00 [12:27:52]line ÐСП 2% : 0.00 [12:27:52]line ÐСП 1% : 0.00 [12:27:52]line ИТОГИ РÐСХОД [12:27:52]line Чеков: 0 [12:27:52]line Общий итог: 0.00 [12:27:52]line Итого наличными: 0.00 [12:27:52]line Итого безнал.: 0.00 [12:27:52]line ÐДС 0% : 0.00 [12:27:52]line ÐДС 12% : 0.00 [12:27:52]line ÐСП 0% : 0.00 [12:27:52]line ÐСП 1,50% : 0.00 [12:27:52]line ÐСП 0,50% : 0.00 [12:27:52]line ÐСП 5% : 0.00 [12:27:52]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:27:52]line ÐСП 3% : 0.00 [12:27:52]ProducePacketName [12:27:52]line ÐСП 2% : 0.00 [12:27:52]name=ofd_packets/00022583 [12:27:52]line ÐСП 1% : 0.00 [12:27:52]OFD Sender: To server: ‡•öpG, [12:27:52]line ИТОГИ ВОЗВРÐТ РÐСХОДР[12:27:52]CommunicateWithHost lk.salyk.kg:30040 [12:27:52]line Чеков: 0 [12:27:52]ConnectInit lk.salyk.kg [12:27:52]line Общий итог: 0.00 [12:27:52]line Итого наличными: 0.00 [12:27:52]line Итого безнал.: 0.00 [12:27:52]line ÐДС 0% : 0.00 [12:27:52]line ÐДС 12% : 0.00 [12:27:52]line ÐСП 0% : 0.00 [12:27:52]line ÐСП 1,50% : 0.00 [12:27:52]line ÐСП 0,50% : 0.00 [12:27:52]line ÐСП 5% : 0.00 [12:27:52]line ÐСП 3% : 0.00 [12:27:52]line ÐСП 2% : 0.00 [12:27:52]line ÐСП 1% : 0.00 [12:27:52]line Сумма внеÑений: 0.00 [12:27:52]line Сумма выплат: 0.00 [12:27:52]line Ðал. в каÑÑе: 37480.00 [12:27:52]line ÐС Приход: 8145532.00 [12:27:52]line ÐС Возвр.Прихода: 6752.00 [12:27:52]line ÐС РаÑход: 0.00 [12:27:52]line ÐС Возвр.РаÑхода: 0.00 [12:27:52]line ФД: 22614 [12:27:52]line ФМ: 0000000000959358 [12:27:52]line ФПД: 274659743919763 [12:27:52]written 0, free lines is 4095 [12:27:53]Write to MH i2c: 01 00 00 8C 09 95 [12:27:53]Write i2c OK [12:27:53]MH_I2C_Read... [12:27:53]Read from MH i2c: 01 [12:27:53]MH_I2C_Read... [12:27:53]Read from MH i2c: 01 07 00 [12:27:53]MH_I2C_Read... [12:27:53]Read from MH i2c: 01 07 00 8C 09 00 00 00 00 00 D3 0A 79 [12:27:53]RasterBufferAndPrint [12:27:53]line [12:27:53]line [12:27:53]line [12:27:53]line [12:27:53]line [12:27:53]written 0, free lines is 2864 [12:27:53]MH_Cut [12:27:53]Write to MH i2c: D1 01 00 93 09 01 6E [12:27:53]Write i2c OK [12:27:53]MH_I2C_Read... [12:27:53]Read from MH i2c: D1 [12:27:53]MH_I2C_Read... [12:27:53]Read from MH i2c: D1 01 00 [12:27:53]MH_I2C_Read... [12:27:53]Read from MH i2c: D1 01 00 93 09 00 6D [12:27:53]Write to MH i2c: 01 00 00 94 09 9D [12:27:53]Write i2c OK [12:27:53]MH_I2C_Read... [12:27:54]*** Cut start [12:27:54]*** Partial cut [12:27:54]*** CUTSNS_PIN = 1 [12:27:54]*** CUTSNS_PIN = 0 [12:27:54]*** Brake cut motor [12:27:55]Read from MH i2c: 01 [12:27:55]MH_I2C_Read... [12:27:55]*** Stop cut motor [12:27:55]*** Cut end [12:27:55]Read from MH i2c: 01 07 00 [12:27:55]MH_I2C_Read... [12:27:55]Read from MH i2c: 01 07 00 94 09 00 00 00 00 00 FF 0F B2 [12:27:55]process_action close_shift done [12:27:55]requested_data is exist [12:27:55]produce_requested_data [12:27:55]requested_item fd.num is exist - process it [12:27:55]SAM_PROTO_GetFieldsCounters [12:27:55]wFMCommunicate request_size=4 [12:27:55]MH_SAM_APDU [12:27:55]CAPDU: 80 13 00 00 [12:27:55]Write to MH i2c: E2 08 00 95 09 80 13 00 00 00 00 00 00 1A [12:27:55]Write i2c OK [12:27:55]MH_I2C_Read... [12:27:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:27:55]Read from MH i2c: E2 [12:27:55]MH_I2C_Read... [12:27:55]Read from MH i2c: E2 62 00 [12:27:55]MH_I2C_Read... [12:27:55]Read from MH i2c: E2 62 00 95 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 56 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 BB [12:27:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 56 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:27:55]wFMCommunicate OK [12:27:55]SAM_PROTO_GetFieldsCounters done [12:27:55]requested_item shift.num is exist - process it [12:27:55]requested_item shift.opened is exist - process it [12:27:55]req_shift_opened [12:27:55]FM_GetShiftState [12:27:55]SAM_PROTO_GetShiftState [12:27:55]wFMCommunicate request_size=4 [12:27:55]MH_SAM_APDU [12:27:55]CAPDU: 80 13 01 00 [12:27:55]Write to MH i2c: E2 08 00 96 09 80 13 01 00 00 00 00 00 1C [12:27:55]Write i2c OK [12:27:55]MH_I2C_Read... [12:27:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:27:55]Read from MH i2c: E2 [12:27:55]MH_I2C_Read... [12:27:55]Read from MH i2c: E2 0E 00 [12:27:56]MH_I2C_Read... [12:27:56]Read from MH i2c: E2 0E 00 96 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 27 [12:27:56]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:27:56]wFMCommunicate OK [12:27:56]SAM_PROTO_GetShiftState done [12:27:56]FM_GetShiftState done [12:27:56]req_shift_opened done [12:27:56]requested_item shift.open_date is exist - process it [12:27:56]req_shift_open_date [12:27:56]FM_GetShiftState [12:27:56]SAM_PROTO_GetShiftState [12:27:56]wFMCommunicate request_size=4 [12:27:56]MH_SAM_APDU [12:27:56]CAPDU: 80 13 01 00 [12:27:56]Write to MH i2c: E2 08 00 97 09 80 13 01 00 00 00 00 00 1D [12:27:56]Write i2c OK [12:27:56]MH_I2C_Read... [12:27:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:27:56]Read from MH i2c: E2 [12:27:56]MH_I2C_Read... [12:27:56]Read from MH i2c: E2 0E 00 [12:27:56]MH_I2C_Read... [12:27:56]Read from MH i2c: E2 0E 00 97 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 28 [12:27:56]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [12:27:56]wFMCommunicate OK [12:27:56]SAM_PROTO_GetShiftState done [12:27:56]FM_GetShiftState done [12:27:56]req_shift_open_date done [12:27:56]produce_requested_data done [12:27:56]produce_requested_data return {"fd.num":22614,"shift.num":232,"shift.opened":0,"shift.open_date":0} [12:27:56]process_action_free close_shift [12:27:56]json_value_free [12:27:56]json_value_free done [12:27:56]process_json_proto returns [12:27:56]Send response to host [12:27:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22614,"shift.num":232,"shift.opened":0,"shift.open_date":0}}} [12:27:56]free response buf [12:27:56]execute_script done [12:27:56]execute_script returns [12:27:56]free content buf [12:27:56]Sock 10.Close socket [12:27:56]Sock 10.Thread stoped [12:27:57]ConnectInit Can't take IP for lk.salyk.kg [12:27:57]CommunicateWithHost connect error [12:27:57]CommunicateWithHost err = -1 [12:27:57]OFD Sender: Server communicate error [12:28:02]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:28:02]ProducePacketName [12:28:02]name=ofd_packets/00022583 [12:28:02]OFD Sender: To server: ‡•öpG, [12:28:02]CommunicateWithHost lk.salyk.kg:30040 [12:28:02]ConnectInit lk.salyk.kg [12:28:07]ConnectInit Can't take IP for lk.salyk.kg [12:28:07]CommunicateWithHost connect error [12:28:07]CommunicateWithHost err = -1 [12:28:07]OFD Sender: Server communicate error [12:28:12]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:28:12]ProducePacketName [12:28:12]name=ofd_packets/00022583 [12:28:12]OFD Sender: To server: ‡•öpG, [12:28:12]CommunicateWithHost lk.salyk.kg:30040 [12:28:12]ConnectInit lk.salyk.kg [12:28:17]ConnectInit Can't take IP for lk.salyk.kg [12:28:17]CommunicateWithHost connect error [12:28:17]CommunicateWithHost err = -1 [12:28:17]OFD Sender: Server communicate error [12:28:21]ConnectInit Can't connect to host [12:28:22]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:28:22]ProducePacketName [12:28:22]name=ofd_packets/00022583 [12:28:22]OFD Sender: To server: ‡•öpG, [12:28:22]CommunicateWithHost lk.salyk.kg:30040 [12:28:22]ConnectInit lk.salyk.kg [12:28:27]ConnectInit Can't take IP for lk.salyk.kg [12:28:27]CommunicateWithHost connect error [12:28:27]CommunicateWithHost err = -1 [12:28:27]OFD Sender: Server communicate error [12:28:32]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:28:32]ProducePacketName [12:28:32]name=ofd_packets/00022583 [12:28:32]OFD Sender: To server: ‡•öpG, [12:28:32]CommunicateWithHost lk.salyk.kg:30040 [12:28:32]ConnectInit lk.salyk.kg [12:28:37]ConnectInit Can't take IP for lk.salyk.kg [12:28:37]CommunicateWithHost connect error [12:28:37]CommunicateWithHost err = -1 [12:28:37]OFD Sender: Server communicate error [12:28:42]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:28:42]ProducePacketName [12:28:42]name=ofd_packets/00022583 [12:28:42]OFD Sender: To server: ‡•öpG, [12:28:42]CommunicateWithHost lk.salyk.kg:30040 [12:28:43]ConnectInit lk.salyk.kg [12:28:48]ConnectInit Can't take IP for lk.salyk.kg [12:28:48]CommunicateWithHost connect error [12:28:48]CommunicateWithHost err = -1 [12:28:48]OFD Sender: Server communicate error [12:28:53]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:28:53]ProducePacketName [12:28:53]name=ofd_packets/00022583 [12:28:53]OFD Sender: To server: ‡•öpG, [12:28:53]CommunicateWithHost lk.salyk.kg:30040 [12:28:53]ConnectInit lk.salyk.kg [12:28:58]ConnectInit Can't take IP for lk.salyk.kg [12:28:58]CommunicateWithHost connect error [12:28:58]CommunicateWithHost err = -1 [12:28:58]OFD Sender: Server communicate error [12:29:03]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:29:03]ProducePacketName [12:29:03]name=ofd_packets/00022583 [12:29:03]OFD Sender: To server: ‡•öpG, [12:29:03]CommunicateWithHost lk.salyk.kg:30040 [12:29:03]ConnectInit lk.salyk.kg [12:29:08]ConnectInit Can't take IP for lk.salyk.kg [12:29:08]CommunicateWithHost connect error [12:29:08]CommunicateWithHost err = -1 [12:29:08]OFD Sender: Server communicate error [12:29:13]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:29:13]ProducePacketName [12:29:13]name=ofd_packets/00022583 [12:29:13]OFD Sender: To server: ‡•öpG, [12:29:13]CommunicateWithHost lk.salyk.kg:30040 [12:29:13]ConnectInit lk.salyk.kg [12:29:18]ConnectInit Can't take IP for lk.salyk.kg [12:29:18]CommunicateWithHost connect error [12:29:18]CommunicateWithHost err = -1 [12:29:18]OFD Sender: Server communicate error [12:29:23]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:29:23]ProducePacketName [12:29:23]name=ofd_packets/00022583 [12:29:23]OFD Sender: To server: ‡•öpG, [12:29:23]CommunicateWithHost lk.salyk.kg:30040 [12:29:23]ConnectInit lk.salyk.kg [12:29:28]ConnectInit Can't take IP for lk.salyk.kg [12:29:28]CommunicateWithHost connect error [12:29:28]CommunicateWithHost err = -1 [12:29:28]OFD Sender: Server communicate error [12:29:33]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:29:33]ProducePacketName [12:29:33]name=ofd_packets/00022583 [12:29:33]OFD Sender: To server: ‡•öpG, [12:29:33]CommunicateWithHost lk.salyk.kg:30040 [12:29:33]ConnectInit lk.salyk.kg [12:29:38]ConnectInit Can't take IP for lk.salyk.kg [12:29:38]CommunicateWithHost connect error [12:29:38]CommunicateWithHost err = -1 [12:29:38]OFD Sender: Server communicate error [12:29:43]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:29:43]ProducePacketName [12:29:43]name=ofd_packets/00022583 [12:29:43]OFD Sender: To server: ‡•öpG, [12:29:43]CommunicateWithHost lk.salyk.kg:30040 [12:29:43]ConnectInit lk.salyk.kg [12:29:48]ConnectInit Can't take IP for lk.salyk.kg [12:29:48]CommunicateWithHost connect error [12:29:48]CommunicateWithHost err = -1 [12:29:48]OFD Sender: Server communicate error [12:29:53]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:29:53]ProducePacketName [12:29:53]name=ofd_packets/00022583 [12:29:53]OFD Sender: To server: ‡•öpG, [12:29:53]CommunicateWithHost lk.salyk.kg:30040 [12:29:53]ConnectInit lk.salyk.kg [12:29:58]ConnectInit Can't take IP for lk.salyk.kg [12:29:58]CommunicateWithHost connect error [12:29:58]CommunicateWithHost err = -1 [12:29:58]OFD Sender: Server communicate error [12:30:03]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:30:03]ProducePacketName [12:30:03]name=ofd_packets/00022583 [12:30:03]OFD Sender: To server: ‡•öpG, [12:30:03]CommunicateWithHost lk.salyk.kg:30040 [12:30:03]ConnectInit lk.salyk.kg [12:30:08]ConnectInit Can't take IP for lk.salyk.kg [12:30:08]CommunicateWithHost connect error [12:30:08]CommunicateWithHost err = -1 [12:30:08]OFD Sender: Server communicate error [12:30:13]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:30:13]ProducePacketName [12:30:13]name=ofd_packets/00022583 [12:30:13]OFD Sender: To server: ‡•öpG, [12:30:13]CommunicateWithHost lk.salyk.kg:30040 [12:30:13]ConnectInit lk.salyk.kg [12:30:18]ConnectInit Can't take IP for lk.salyk.kg [12:30:18]CommunicateWithHost connect error [12:30:18]CommunicateWithHost err = -1 [12:30:18]OFD Sender: Server communicate error [12:30:23]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:30:23]ProducePacketName [12:30:23]name=ofd_packets/00022583 [12:30:23]OFD Sender: To server: ‡•öpG, [12:30:23]CommunicateWithHost lk.salyk.kg:30040 [12:30:23]ConnectInit lk.salyk.kg [12:30:28]ConnectInit Can't take IP for lk.salyk.kg [12:30:28]CommunicateWithHost connect error [12:30:28]CommunicateWithHost err = -1 [12:30:28]OFD Sender: Server communicate error [12:30:33]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:30:33]ProducePacketName [12:30:33]name=ofd_packets/00022583 [12:30:33]OFD Sender: To server: ‡•öpG, [12:30:33]CommunicateWithHost lk.salyk.kg:30040 [12:30:33]ConnectInit lk.salyk.kg [12:30:38]ConnectInit Can't take IP for lk.salyk.kg [12:30:38]CommunicateWithHost connect error [12:30:38]CommunicateWithHost err = -1 [12:30:38]OFD Sender: Server communicate error [12:30:40]ConnectInit Can't connect to host [12:30:43]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:30:43]ProducePacketName [12:30:43]name=ofd_packets/00022583 [12:30:43]OFD Sender: To server: ‡•öpG, [12:30:43]CommunicateWithHost lk.salyk.kg:30040 [12:30:43]ConnectInit lk.salyk.kg [12:30:48]ConnectInit Can't take IP for lk.salyk.kg [12:30:48]CommunicateWithHost connect error [12:30:48]CommunicateWithHost err = -1 [12:30:48]OFD Sender: Server communicate error [12:30:53]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:30:53]ProducePacketName [12:30:53]name=ofd_packets/00022583 [12:30:53]OFD Sender: To server: ‡•öpG, [12:30:53]CommunicateWithHost lk.salyk.kg:30040 [12:30:53]ConnectInit lk.salyk.kg [12:30:58]ConnectInit Can't take IP for lk.salyk.kg [12:30:58]CommunicateWithHost connect error [12:30:58]CommunicateWithHost err = -1 [12:30:58]OFD Sender: Server communicate error [12:31:03]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:31:03]ProducePacketName [12:31:03]name=ofd_packets/00022583 [12:31:03]OFD Sender: To server: ‡•öpG, [12:31:03]CommunicateWithHost lk.salyk.kg:30040 [12:31:03]ConnectInit lk.salyk.kg [12:31:08]ConnectInit Can't take IP for lk.salyk.kg [12:31:08]CommunicateWithHost connect error [12:31:08]CommunicateWithHost err = -1 [12:31:08]OFD Sender: Server communicate error [12:31:13]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:31:13]ProducePacketName [12:31:13]name=ofd_packets/00022583 [12:31:13]OFD Sender: To server: ‡•öpG, [12:31:13]CommunicateWithHost lk.salyk.kg:30040 [12:31:13]ConnectInit lk.salyk.kg [12:31:18]ConnectInit Can't take IP for lk.salyk.kg [12:31:18]CommunicateWithHost connect error [12:31:18]CommunicateWithHost err = -1 [12:31:18]OFD Sender: Server communicate error [12:31:23]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:31:23]ProducePacketName [12:31:23]name=ofd_packets/00022583 [12:31:23]OFD Sender: To server: ‡•öpG, [12:31:23]CommunicateWithHost lk.salyk.kg:30040 [12:31:23]ConnectInit lk.salyk.kg [12:31:28]ConnectInit Can't take IP for lk.salyk.kg [12:31:28]CommunicateWithHost connect error [12:31:28]CommunicateWithHost err = -1 [12:31:28]OFD Sender: Server communicate error [12:31:33]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:31:33]ProducePacketName [12:31:33]name=ofd_packets/00022583 [12:31:33]OFD Sender: To server: ‡•öpG, [12:31:33]CommunicateWithHost lk.salyk.kg:30040 [12:31:33]ConnectInit lk.salyk.kg [12:31:38]ConnectInit Can't take IP for lk.salyk.kg [12:31:38]CommunicateWithHost connect error [12:31:38]CommunicateWithHost err = -1 [12:31:38]OFD Sender: Server communicate error [12:31:43]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:31:43]ProducePacketName [12:31:43]name=ofd_packets/00022583 [12:31:43]OFD Sender: To server: ‡•öpG, [12:31:43]CommunicateWithHost lk.salyk.kg:30040 [12:31:43]ConnectInit lk.salyk.kg [12:31:48]ConnectInit Can't take IP for lk.salyk.kg [12:31:48]CommunicateWithHost connect error [12:31:48]CommunicateWithHost err = -1 [12:31:48]OFD Sender: Server communicate error [12:31:53]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:31:53]ProducePacketName [12:31:53]name=ofd_packets/00022583 [12:31:53]OFD Sender: To server: ‡•öpG, [12:31:53]CommunicateWithHost lk.salyk.kg:30040 [12:31:53]ConnectInit lk.salyk.kg [12:31:58]ConnectInit Can't take IP for lk.salyk.kg [12:31:58]CommunicateWithHost connect error [12:31:58]CommunicateWithHost err = -1 [12:31:58]OFD Sender: Server communicate error [12:32:03]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:32:03]ProducePacketName [12:32:03]name=ofd_packets/00022583 [12:32:03]OFD Sender: To server: ‡•öpG, [12:32:03]CommunicateWithHost lk.salyk.kg:30040 [12:32:03]ConnectInit lk.salyk.kg [12:32:08]ConnectInit Can't take IP for lk.salyk.kg [12:32:08]CommunicateWithHost connect error [12:32:08]CommunicateWithHost err = -1 [12:32:08]OFD Sender: Server communicate error [12:32:13]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:32:13]ProducePacketName [12:32:13]name=ofd_packets/00022583 [12:32:13]OFD Sender: To server: ‡•öpG, [12:32:13]CommunicateWithHost lk.salyk.kg:30040 [12:32:13]ConnectInit lk.salyk.kg [12:32:18]ConnectInit Can't take IP for lk.salyk.kg [12:32:18]CommunicateWithHost connect error [12:32:18]CommunicateWithHost err = -1 [12:32:18]OFD Sender: Server communicate error [12:32:23]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:32:23]ProducePacketName [12:32:23]name=ofd_packets/00022583 [12:32:23]OFD Sender: To server: ‡•öpG, [12:32:23]CommunicateWithHost lk.salyk.kg:30040 [12:32:23]ConnectInit lk.salyk.kg [12:32:28]ConnectInit Can't take IP for lk.salyk.kg [12:32:28]CommunicateWithHost connect error [12:32:28]CommunicateWithHost err = -1 [12:32:28]OFD Sender: Server communicate error [12:32:33]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:32:33]ProducePacketName [12:32:33]name=ofd_packets/00022583 [12:32:33]OFD Sender: To server: ‡•öpG, [12:32:33]CommunicateWithHost lk.salyk.kg:30040 [12:32:33]ConnectInit lk.salyk.kg [12:32:38]ConnectInit Can't take IP for lk.salyk.kg [12:32:38]CommunicateWithHost connect error [12:32:38]CommunicateWithHost err = -1 [12:32:38]OFD Sender: Server communicate error [12:32:43]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:32:43]ProducePacketName [12:32:43]name=ofd_packets/00022583 [12:32:43]OFD Sender: To server: ‡•öpG, [12:32:43]CommunicateWithHost lk.salyk.kg:30040 [12:32:43]ConnectInit lk.salyk.kg [12:32:48]ConnectInit Can't take IP for lk.salyk.kg [12:32:48]CommunicateWithHost connect error [12:32:48]CommunicateWithHost err = -1 [12:32:48]OFD Sender: Server communicate error [12:32:53]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:32:53]ProducePacketName [12:32:53]name=ofd_packets/00022583 [12:32:53]OFD Sender: To server: ‡•öpG, [12:32:53]CommunicateWithHost lk.salyk.kg:30040 [12:32:53]ConnectInit lk.salyk.kg [12:32:58]ConnectInit Can't connect to host [12:32:58]ConnectInit Can't take IP for lk.salyk.kg [12:32:58]CommunicateWithHost connect error [12:32:58]CommunicateWithHost err = -1 [12:32:58]OFD Sender: Server communicate error [12:33:03]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:33:03]ProducePacketName [12:33:03]name=ofd_packets/00022583 [12:33:03]OFD Sender: To server: ‡•öpG, [12:33:03]CommunicateWithHost lk.salyk.kg:30040 [12:33:03]ConnectInit lk.salyk.kg [12:33:08]ConnectInit Can't take IP for lk.salyk.kg [12:33:08]CommunicateWithHost connect error [12:33:08]CommunicateWithHost err = -1 [12:33:08]OFD Sender: Server communicate error [12:33:13]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:33:13]ProducePacketName [12:33:13]name=ofd_packets/00022583 [12:33:13]OFD Sender: To server: ‡•öpG, [12:33:13]CommunicateWithHost lk.salyk.kg:30040 [12:33:13]ConnectInit lk.salyk.kg [12:33:18]ConnectInit Can't take IP for lk.salyk.kg [12:33:18]CommunicateWithHost connect error [12:33:18]CommunicateWithHost err = -1 [12:33:18]OFD Sender: Server communicate error [12:33:23]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:33:23]ProducePacketName [12:33:23]name=ofd_packets/00022583 [12:33:23]OFD Sender: To server: ‡•öpG, [12:33:23]CommunicateWithHost lk.salyk.kg:30040 [12:33:23]ConnectInit lk.salyk.kg [12:33:28]ConnectInit Can't take IP for lk.salyk.kg [12:33:28]CommunicateWithHost connect error [12:33:28]CommunicateWithHost err = -1 [12:33:28]OFD Sender: Server communicate error [12:33:33]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:33:33]ProducePacketName [12:33:33]name=ofd_packets/00022583 [12:33:33]OFD Sender: To server: ‡•öpG, [12:33:33]CommunicateWithHost lk.salyk.kg:30040 [12:33:33]ConnectInit lk.salyk.kg [12:33:38]ConnectInit Can't take IP for lk.salyk.kg [12:33:38]CommunicateWithHost connect error [12:33:38]CommunicateWithHost err = -1 [12:33:38]OFD Sender: Server communicate error [12:33:43]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:33:43]ProducePacketName [12:33:43]name=ofd_packets/00022583 [12:33:43]OFD Sender: To server: ‡•öpG, [12:33:43]CommunicateWithHost lk.salyk.kg:30040 [12:33:43]ConnectInit lk.salyk.kg [12:33:48]ConnectInit Can't take IP for lk.salyk.kg [12:33:48]CommunicateWithHost connect error [12:33:48]CommunicateWithHost err = -1 [12:33:48]OFD Sender: Server communicate error [12:33:53]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:33:53]ProducePacketName [12:33:53]name=ofd_packets/00022583 [12:33:53]OFD Sender: To server: ‡•öpG, [12:33:53]CommunicateWithHost lk.salyk.kg:30040 [12:33:53]ConnectInit lk.salyk.kg [12:33:58]ConnectInit Can't take IP for lk.salyk.kg [12:33:58]CommunicateWithHost connect error [12:33:58]CommunicateWithHost err = -1 [12:33:58]OFD Sender: Server communicate error [12:34:03]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:34:03]ProducePacketName [12:34:03]name=ofd_packets/00022583 [12:34:03]OFD Sender: To server: ‡•öpG, [12:34:03]CommunicateWithHost lk.salyk.kg:30040 [12:34:03]ConnectInit lk.salyk.kg [12:34:08]ConnectInit Can't take IP for lk.salyk.kg [12:34:08]CommunicateWithHost connect error [12:34:08]CommunicateWithHost err = -1 [12:34:08]OFD Sender: Server communicate error [12:34:13]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:34:13]ProducePacketName [12:34:13]name=ofd_packets/00022583 [12:34:13]OFD Sender: To server: ‡•öpG, [12:34:13]CommunicateWithHost lk.salyk.kg:30040 [12:34:13]ConnectInit lk.salyk.kg [12:34:18]ConnectInit Can't take IP for lk.salyk.kg [12:34:18]CommunicateWithHost connect error [12:34:18]CommunicateWithHost err = -1 [12:34:18]OFD Sender: Server communicate error [12:34:23]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:34:23]ProducePacketName [12:34:23]name=ofd_packets/00022583 [12:34:23]OFD Sender: To server: ‡•öpG, [12:34:23]CommunicateWithHost lk.salyk.kg:30040 [12:34:23]ConnectInit lk.salyk.kg [12:34:28]ConnectInit Can't take IP for lk.salyk.kg [12:34:28]CommunicateWithHost connect error [12:34:28]CommunicateWithHost err = -1 [12:34:28]OFD Sender: Server communicate error [12:34:33]OFD Sender: Processing packet 22583 [packets to send 54, broken 22] [12:34:33]ProducePacketName [12:34:33]name=ofd_packets/00022583 [12:34:33]OFD Sender: To server: ‡•öpG, [12:34:33]CommunicateWithHost lk.salyk.kg:30040 [12:34:33]ConnectInit lk.salyk.kg [12:34:34]Connected sock=10 [12:34:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 0F 53 1E 01 6B 3B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 75 37 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 37 58 00 00 35 04 06 00 17 9D 12 AF DF 17 FA F3 FE A9 DC 08 AD DF [12:34:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F9 6B 47 00 C7 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 39 35 39 33 35 38 10 04 04 00 37 58 00 00 F4 03 04 00 F9 FE F4 66 B6 04 01 00 00 25 6A F4 80 0C 0A 57 A1 [12:34:34]CommunicateWithHost err = 0 [12:34:34]CheckOFDResponse [12:34:34]1017 (14) - 77093643461234 [12:34:34]1041 (16) - 0000000000959358 [12:34:34]1040 (4) - 22583 [12:34:34]1012 (4) - 26.09.2024 06:28 [12:34:34]1206 (1) - 0 [12:34:34]OFD Sender: Remove packet 22583 [12:34:34]ProducePacketName [12:34:34]name=ofd_packets/00022583 [12:34:34]NVStorageDeleteData [12:34:35]OFD Sender: Processing packet 22584 [packets to send 53, broken 22] [12:34:35]ProducePacketName [12:34:35]name=ofd_packets/00022584 [12:34:35]OFD Sender: To server: ‡•öpG, [12:34:35]CommunicateWithHost lk.salyk.kg:30040 [12:34:35]ConnectInit lk.salyk.kg [12:34:35]Connected sock=10 [12:34:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 15 A6 07 01 AD 82 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 96 0F 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 AC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 99 38 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 38 58 00 00 35 04 06 00 D0 40 44 C0 11 BB C2 D4 1C 05 A2 7C 85 6F [12:34:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C2 A9 47 00 72 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 38 58 00 00 F4 03 04 00 FA FE F4 66 B6 04 01 00 00 6C 88 88 62 80 4E 75 F2 [12:34:36]CommunicateWithHost err = 0 [12:34:36]CheckOFDResponse [12:34:36]1017 (14) - 77093643461234 [12:34:36]1041 (16) - 0000000000959358 [12:34:36]1040 (4) - 22584 [12:34:36]1012 (4) - 26.09.2024 06:28 [12:34:36]1206 (1) - 0 [12:34:36]OFD Sender: Remove packet 22584 [12:34:36]ProducePacketName [12:34:36]name=ofd_packets/00022584 [12:34:36]NVStorageDeleteData [12:34:37]OFD Sender: Processing packet 22585 [packets to send 52, broken 22] [12:34:37]ProducePacketName [12:34:37]name=ofd_packets/00022585 [12:34:37]OFD Sender: To server: ‡•öpG, [12:34:37]CommunicateWithHost lk.salyk.kg:30040 [12:34:37]ConnectInit lk.salyk.kg [12:34:37]Connected sock=10 [12:34:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 6E 21 04 01 0C 14 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 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 01 3B F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 39 58 00 00 35 04 06 00 ED 77 F9 E4 FF 0D F4 05 CF 04 EF 25 40 42 [12:34:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 94 CC 47 00 3E 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 39 58 00 00 F4 03 04 00 FC FE F4 66 B6 04 01 00 00 40 A4 5D E7 17 15 DD A9 [12:34:37]CommunicateWithHost err = 0 [12:34:38]CheckOFDResponse [12:34:38]1017 (14) - 77093643461234 [12:34:38]1041 (16) - 0000000000959358 [12:34:38]1040 (4) - 22585 [12:34:38]1012 (4) - 26.09.2024 06:28 [12:34:38]1206 (1) - 0 [12:34:38]OFD Sender: Remove packet 22585 [12:34:38]ProducePacketName [12:34:38]name=ofd_packets/00022585 [12:34:38]NVStorageDeleteData [12:34:38]OFD Sender: Processing packet 22586 [packets to send 51, broken 22] [12:34:38]ProducePacketName [12:34:38]name=ofd_packets/00022586 [12:34:38]OFD Sender: To server: ‡•öpG, [12:34:38]CommunicateWithHost lk.salyk.kg:30040 [12:34:38]ConnectInit lk.salyk.kg [12:34:38]Connected sock=10 [12:34:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 D0 96 07 01 8E 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 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 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 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 2B 3C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3A 58 00 00 35 04 06 00 E5 24 0C ED F7 3B 0E 15 03 6F 0B D2 6C BA [12:34:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 7C 63 47 00 10 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3A 58 00 00 F4 03 04 00 FD FE F4 66 B6 04 01 00 00 FD 19 F1 0A A0 87 FA 58 [12:34:39]CommunicateWithHost err = 0 [12:34:39]CheckOFDResponse [12:34:39]1017 (14) - 77093643461234 [12:34:39]1041 (16) - 0000000000959358 [12:34:39]1040 (4) - 22586 [12:34:39]1012 (4) - 26.09.2024 06:28 [12:34:39]1206 (1) - 0 [12:34:39]OFD Sender: Remove packet 22586 [12:34:39]ProducePacketName [12:34:39]name=ofd_packets/00022586 [12:34:39]NVStorageDeleteData [12:34:40]OFD Sender: Processing packet 22587 [packets to send 50, broken 22] [12:34:40]ProducePacketName [12:34:40]name=ofd_packets/00022587 [12:34:40]OFD Sender: To server: ‡•öpG, [12:34:40]CommunicateWithHost lk.salyk.kg:30040 [12:34:40]ConnectInit lk.salyk.kg [12:34:40]Connected sock=10 [12:34:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 78 76 07 01 AB 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 32 14 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 ED 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 8A 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 33 00 00 00 F4 03 04 00 94 3C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3B 58 00 00 35 04 06 00 C3 9B B2 07 53 FD DC 56 E0 67 13 A8 73 47 [12:34:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 4D 68 47 00 E8 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3B 58 00 00 F4 03 04 00 FF FE F4 66 B6 04 01 00 00 A0 70 78 EA 2A C9 7C E2 [12:34:41]CommunicateWithHost err = 0 [12:34:41]CheckOFDResponse [12:34:41]1017 (14) - 77093643461234 [12:34:41]1041 (16) - 0000000000959358 [12:34:41]1040 (4) - 22587 [12:34:41]1012 (4) - 26.09.2024 06:28 [12:34:41]1206 (1) - 0 [12:34:41]OFD Sender: Remove packet 22587 [12:34:41]ProducePacketName [12:34:41]name=ofd_packets/00022587 [12:34:41]NVStorageDeleteData [12:34:41]OFD Sender: Processing packet 22588 [packets to send 49, broken 22] [12:34:41]ProducePacketName [12:34:41]name=ofd_packets/00022588 [12:34:41]OFD Sender: To server: ‡•öpG, [12:34:41]CommunicateWithHost lk.salyk.kg:30040 [12:34:41]ConnectInit lk.salyk.kg [12:34:42]Connected sock=10 [12:34:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 AF B3 04 01 BD 54 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 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 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 81 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 34 00 00 00 F4 03 04 00 98 3C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3C 58 00 00 35 04 06 00 48 C5 90 CE 9B 90 BF 66 70 BC 84 5C 94 93 [12:34:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 3D 7B 47 00 72 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3C 58 00 00 F4 03 04 00 01 FF F4 66 B6 04 01 00 00 0D 6D 93 95 48 5D C0 53 [12:34:43]CommunicateWithHost err = 0 [12:34:43]CheckOFDResponse [12:34:43]1017 (14) - 77093643461234 [12:34:43]1041 (16) - 0000000000959358 [12:34:43]1040 (4) - 22588 [12:34:43]1012 (4) - 26.09.2024 06:28 [12:34:43]1206 (1) - 0 [12:34:43]OFD Sender: Remove packet 22588 [12:34:43]ProducePacketName [12:34:43]name=ofd_packets/00022588 [12:34:43]NVStorageDeleteData [12:34:43]OFD Sender: Processing packet 22589 [packets to send 48, broken 22] [12:34:43]ProducePacketName [12:34:43]name=ofd_packets/00022589 [12:34:43]OFD Sender: To server: ‡•öpG, [12:34:43]CommunicateWithHost lk.salyk.kg:30040 [12:34:43]ConnectInit lk.salyk.kg [12:34:43]Connected sock=10 [12:34:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 CE 78 04 01 2A EA 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 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 05 3D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3D 58 00 00 35 04 06 00 48 B4 01 D5 C1 AC 97 09 E8 BA 21 FC CE 23 [12:34:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 FF 80 47 00 D7 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3D 58 00 00 F4 03 04 00 02 FF F4 66 B6 04 01 00 00 14 9F 6D 43 B4 3F DC D8 [12:34:44]CommunicateWithHost err = 0 [12:34:44]CheckOFDResponse [12:34:44]1017 (14) - 77093643461234 [12:34:44]1041 (16) - 0000000000959358 [12:34:44]1040 (4) - 22589 [12:34:44]1012 (4) - 26.09.2024 06:28 [12:34:44]1206 (1) - 0 [12:34:44]OFD Sender: Remove packet 22589 [12:34:44]ProducePacketName [12:34:44]name=ofd_packets/00022589 [12:34:44]NVStorageDeleteData [12:34:45]OFD Sender: Processing packet 22590 [packets to send 47, broken 22] [12:34:45]ProducePacketName [12:34:45]name=ofd_packets/00022590 [12:34:45]OFD Sender: To server: ‡•öpG, [12:34:45]CommunicateWithHost lk.salyk.kg:30040 [12:34:45]ConnectInit lk.salyk.kg [12:34:45]Connected sock=10 [12:34:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2C 01 00 00 78 18 24 01 FD 60 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 9A 3D F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3E 58 00 00 35 04 06 00 A2 52 E7 35 8B CB 93 8C A2 ED C4 05 18 80 [12:34:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 13 33 47 00 0F F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3E 58 00 00 F4 03 04 00 04 FF F4 66 B6 04 01 00 00 65 32 76 F1 CB C4 A2 57 [12:34:46]CommunicateWithHost err = 0 [12:34:46]CheckOFDResponse [12:34:46]1017 (14) - 77093643461234 [12:34:46]1041 (16) - 0000000000959358 [12:34:46]1040 (4) - 22590 [12:34:46]1012 (4) - 26.09.2024 06:28 [12:34:46]1206 (1) - 0 [12:34:46]OFD Sender: Remove packet 22590 [12:34:46]ProducePacketName [12:34:46]name=ofd_packets/00022590 [12:34:46]NVStorageDeleteData [12:34:46]OFD Sender: Processing packet 22591 [packets to send 46, broken 22] [12:34:46]ProducePacketName [12:34:46]name=ofd_packets/00022591 [12:34:46]OFD Sender: To server: ‡•öpG, [12:34:46]CommunicateWithHost lk.salyk.kg:30040 [12:34:46]ConnectInit lk.salyk.kg [12:34:46]Connected sock=10 [12:34:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 2E 51 07 01 2C 39 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 4E 11 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 53 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 76 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 37 00 00 00 F4 03 04 00 B0 3E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3F 58 00 00 35 04 06 00 BD 58 08 F4 26 E4 E8 DE 30 57 89 31 0D 67 [12:34:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 7D 6E 47 00 18 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 3F 58 00 00 F4 03 04 00 06 FF F4 66 B6 04 01 00 00 E9 59 4D A3 01 67 0B 48 [12:34:47]CommunicateWithHost err = 0 [12:34:47]CheckOFDResponse [12:34:47]1017 (14) - 77093643461234 [12:34:47]1041 (16) - 0000000000959358 [12:34:47]1040 (4) - 22591 [12:34:47]1012 (4) - 26.09.2024 06:28 [12:34:47]1206 (1) - 0 [12:34:47]OFD Sender: Remove packet 22591 [12:34:47]ProducePacketName [12:34:47]name=ofd_packets/00022591 [12:34:47]NVStorageDeleteData [12:34:48]OFD Sender: Processing packet 22592 [packets to send 45, broken 22] [12:34:48]ProducePacketName [12:34:48]name=ofd_packets/00022592 [12:34:48]OFD Sender: To server: ‡•öpG, [12:34:48]CommunicateWithHost lk.salyk.kg:30040 [12:34:48]ConnectInit lk.salyk.kg [12:34:48]Connected sock=10 [12:34:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 18 40 04 01 E1 3F 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 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 C7 3E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 40 58 00 00 35 04 06 00 F1 99 9C 4C 70 74 0B 07 C2 34 8B 46 25 05 [12:34:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 A9 4F 47 00 23 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 40 58 00 00 F4 03 04 00 07 FF F4 66 B6 04 01 00 00 06 30 2C 41 1A C7 0C C3 [12:34:49]CommunicateWithHost err = 0 [12:34:49]CheckOFDResponse [12:34:49]1017 (14) - 77093643461234 [12:34:49]1041 (16) - 0000000000959358 [12:34:49]1040 (4) - 22592 [12:34:49]1012 (4) - 26.09.2024 06:28 [12:34:49]1206 (1) - 0 [12:34:49]OFD Sender: Remove packet 22592 [12:34:49]ProducePacketName [12:34:49]name=ofd_packets/00022592 [12:34:49]NVStorageDeleteData [12:34:50]OFD Sender: Processing packet 22593 [packets to send 44, broken 22] [12:34:50]ProducePacketName [12:34:50]name=ofd_packets/00022593 [12:34:50]OFD Sender: To server: ‡•öpG, [12:34:50]CommunicateWithHost lk.salyk.kg:30040 [12:34:50]ConnectInit lk.salyk.kg [12:34:50]Connected sock=10 [12:34:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 E3 9C 04 01 FC 76 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 04 29 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8A 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 21 00 00 00 00 07 04 06 00 80 38 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 E1 3E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 41 58 00 00 35 04 06 00 43 C7 6B 8F 0D 50 1C BB 28 41 94 03 E3 0D [12:34:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 8E 43 47 00 99 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 41 58 00 00 F4 03 04 00 09 FF F4 66 B6 04 01 00 00 E6 AC D2 D7 31 B4 CF DE [12:34:51]CommunicateWithHost err = 0 [12:34:51]CheckOFDResponse [12:34:51]1017 (14) - 77093643461234 [12:34:51]1041 (16) - 0000000000959358 [12:34:51]1040 (4) - 22593 [12:34:51]1012 (4) - 26.09.2024 06:28 [12:34:51]1206 (1) - 0 [12:34:51]OFD Sender: Remove packet 22593 [12:34:51]ProducePacketName [12:34:51]name=ofd_packets/00022593 [12:34:51]NVStorageDeleteData [12:34:51]OFD Sender: Processing packet 22594 [packets to send 43, broken 22] [12:34:51]ProducePacketName [12:34:51]name=ofd_packets/00022594 [12:34:51]OFD Sender: To server: ‡•öpG, [12:34:51]CommunicateWithHost lk.salyk.kg:30040 [12:34:51]ConnectInit lk.salyk.kg [12:34:51]Connected sock=10 [12:34:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 CE 82 04 01 F9 4B 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 04 29 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8A 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 21 00 00 00 00 07 04 06 00 80 38 01 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 3A 3F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 42 58 00 00 35 04 06 00 57 09 8C 14 5E C4 9F AA C6 FF 81 CA 50 43 [12:34:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C3 26 47 00 98 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 42 58 00 00 F4 03 04 00 0A FF F4 66 B6 04 01 00 00 B5 41 86 A5 0F A1 04 C2 [12:34:52]CommunicateWithHost err = 0 [12:34:52]CheckOFDResponse [12:34:52]1017 (14) - 77093643461234 [12:34:52]1041 (16) - 0000000000959358 [12:34:52]1040 (4) - 22594 [12:34:52]1012 (4) - 26.09.2024 06:28 [12:34:52]1206 (1) - 0 [12:34:52]OFD Sender: Remove packet 22594 [12:34:52]ProducePacketName [12:34:52]name=ofd_packets/00022594 [12:34:52]NVStorageDeleteData [12:34:53]OFD Sender: Processing packet 22595 [packets to send 42, broken 22] [12:34:53]ProducePacketName [12:34:53]name=ofd_packets/00022595 [12:34:53]OFD Sender: To server: ‡•öpG, [12:34:53]CommunicateWithHost lk.salyk.kg:30040 [12:34:53]ConnectInit lk.salyk.kg [12:34:53]Connected sock=10 [12:34:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 1C 41 07 01 72 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 3B 00 00 00 F4 03 04 00 4D 3F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 43 58 00 00 35 04 06 00 9D C9 4E 67 31 BC B0 54 F7 B9 47 84 55 2F [12:34:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 59 15 47 00 41 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 43 58 00 00 F4 03 04 00 0C FF F4 66 B6 04 01 00 00 DA 8B D1 41 FA DD 36 AD [12:34:54]CommunicateWithHost err = 0 [12:34:54]CheckOFDResponse [12:34:54]1017 (14) - 77093643461234 [12:34:54]1041 (16) - 0000000000959358 [12:34:54]1040 (4) - 22595 [12:34:54]1012 (4) - 26.09.2024 06:28 [12:34:54]1206 (1) - 0 [12:34:54]OFD Sender: Remove packet 22595 [12:34:54]ProducePacketName [12:34:54]name=ofd_packets/00022595 [12:34:54]NVStorageDeleteData [12:34:54]OFD Sender: Processing packet 22596 [packets to send 41, broken 22] [12:34:55]ProducePacketName [12:34:55]name=ofd_packets/00022596 [12:34:55]OFD Sender: To server: ‡•öpG, [12:34:55]CommunicateWithHost lk.salyk.kg:30040 [12:34:55]ConnectInit lk.salyk.kg [12:34:55]Connected sock=10 [12:34:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 5E 6C 07 01 16 C7 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 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 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 7C 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 3C 00 00 00 F4 03 04 00 B6 3F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 44 58 00 00 35 04 06 00 25 20 67 A7 5F 20 59 56 D1 B6 0D 61 64 93 [12:34:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0C F1 47 00 DA 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 44 58 00 00 F4 03 04 00 0E FF F4 66 B6 04 01 00 00 2B 31 ED 3E 76 0C 3D BE [12:34:56]CommunicateWithHost err = 0 [12:34:56]CheckOFDResponse [12:34:56]1017 (14) - 77093643461234 [12:34:56]1041 (16) - 0000000000959358 [12:34:56]1040 (4) - 22596 [12:34:56]1012 (4) - 26.09.2024 06:28 [12:34:56]1206 (1) - 0 [12:34:56]OFD Sender: Remove packet 22596 [12:34:56]ProducePacketName [12:34:56]name=ofd_packets/00022596 [12:34:56]NVStorageDeleteData [12:34:56]OFD Sender: Processing packet 22597 [packets to send 40, broken 22] [12:34:56]ProducePacketName [12:34:56]name=ofd_packets/00022597 [12:34:56]OFD Sender: To server: ‡•öpG, [12:34:56]CommunicateWithHost lk.salyk.kg:30040 [12:34:56]ConnectInit lk.salyk.kg [12:34:56]Connected sock=10 [12:34:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 9C 01 00 00 A7 6C 94 01 FD C6 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 CC 3F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 45 58 00 00 35 04 06 00 7F B8 AD 27 12 84 34 FC BB 0D 72 EF 56 E8 [12:34:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 AA 54 47 00 45 B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 45 58 00 00 F4 03 04 00 0F FF F4 66 B6 04 01 00 00 AA CA B7 BC E5 9A 0D DE [12:34:57]CommunicateWithHost err = 0 [12:34:57]CheckOFDResponse [12:34:57]1017 (14) - 77093643461234 [12:34:57]1041 (16) - 0000000000959358 [12:34:57]1040 (4) - 22597 [12:34:57]1012 (4) - 26.09.2024 06:28 [12:34:57]1206 (1) - 0 [12:34:57]OFD Sender: Remove packet 22597 [12:34:57]ProducePacketName [12:34:57]name=ofd_packets/00022597 [12:34:57]NVStorageDeleteData [12:34:58]OFD Sender: Processing packet 22598 [packets to send 39, broken 22] [12:34:58]ProducePacketName [12:34:58]name=ofd_packets/00022598 [12:34:58]OFD Sender: To server: ‡•öpG, [12:34:58]CommunicateWithHost lk.salyk.kg:30040 [12:34:58]ConnectInit lk.salyk.kg [12:34:58]Connected sock=10 [12:34:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 B6 56 04 01 4F E4 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 23 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8C 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 0D 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 3E 00 00 00 F4 03 04 00 D0 3F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 46 58 00 00 35 04 06 00 BF 14 4B 03 7E C5 F1 D0 91 55 9A EF FE 1A [12:34:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 D7 FD 47 00 B1 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 46 58 00 00 F4 03 04 00 11 FF F4 66 B6 04 01 00 00 1D DB 90 9E B4 E0 3D BF [12:34:59]CommunicateWithHost err = 0 [12:34:59]CheckOFDResponse [12:34:59]1017 (14) - 77093643461234 [12:34:59]1041 (16) - 0000000000959358 [12:34:59]1040 (4) - 22598 [12:34:59]1012 (4) - 26.09.2024 06:28 [12:34:59]1206 (1) - 0 [12:34:59]OFD Sender: Remove packet 22598 [12:34:59]ProducePacketName [12:34:59]name=ofd_packets/00022598 [12:34:59]NVStorageDeleteData [12:34:59]OFD Sender: Processing packet 22599 [packets to send 38, broken 22] [12:34:59]ProducePacketName [12:34:59]name=ofd_packets/00022599 [12:34:59]OFD Sender: To server: ‡•öpG, [12:34:59]CommunicateWithHost lk.salyk.kg:30040 [12:34:59]ConnectInit lk.salyk.kg [12:35:00]Connected sock=10 [12:35:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 AF CB 04 01 77 54 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 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 27 40 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 47 58 00 00 35 04 06 00 A0 8E 04 19 14 7B 47 25 A5 36 B5 6F E5 33 [12:35:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 DF 9F 47 00 F3 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 39 35 39 33 35 38 10 04 04 00 47 58 00 00 F4 03 04 00 13 FF F4 66 B6 04 01 00 00 99 06 AC A3 CB BC 17 E2 [12:35:01]CommunicateWithHost err = 0 [12:35:01]CheckOFDResponse [12:35:01]1017 (14) - 77093643461234 [12:35:01]1041 (16) - 0000000000959358 [12:35:01]1040 (4) - 22599 [12:35:01]1012 (4) - 26.09.2024 06:28 [12:35:01]1206 (1) - 0 [12:35:01]OFD Sender: Remove packet 22599 [12:35:01]ProducePacketName [12:35:01]name=ofd_packets/00022599 [12:35:01]NVStorageDeleteData [12:35:01]OFD Sender: Processing packet 22600 [packets to send 37, broken 22] [12:35:01]ProducePacketName [12:35:01]name=ofd_packets/00022600 [12:35:01]OFD Sender: To server: ‡•öpG, [12:35:01]CommunicateWithHost lk.salyk.kg:30040 [12:35:01]ConnectInit lk.salyk.kg [12:35:01]Connected sock=10 [12:35:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 58 29 08 01 2B A8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 34 1C 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 73 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 C1 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 40 00 00 00 F4 03 04 00 41 40 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 48 58 00 00 35 04 06 00 CF 2F A3 EE 65 A4 AB 5A 27 43 29 47 28 AE [12:35:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 A4 BE 47 00 3B 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 48 58 00 00 F4 03 04 00 14 FF F4 66 B6 04 01 00 00 45 78 85 08 EB 30 F9 25 [12:35:02]CommunicateWithHost err = 0 [12:35:02]CheckOFDResponse [12:35:02]1017 (14) - 77093643461234 [12:35:02]1041 (16) - 0000000000959358 [12:35:02]1040 (4) - 22600 [12:35:02]1012 (4) - 26.09.2024 06:28 [12:35:02]1206 (1) - 0 [12:35:02]OFD Sender: Remove packet 22600 [12:35:02]ProducePacketName [12:35:02]name=ofd_packets/00022600 [12:35:02]NVStorageDeleteData [12:35:03]OFD Sender: Processing packet 22601 [packets to send 36, broken 22] [12:35:03]ProducePacketName [12:35:03]name=ofd_packets/00022601 [12:35:03]OFD Sender: To server: ‡•öpG, [12:35:03]CommunicateWithHost lk.salyk.kg:30040 [12:35:03]ConnectInit lk.salyk.kg [12:35:03]Connected sock=10 [12:35:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 74 74 08 01 9A DF 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 34 1C 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 73 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 C1 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 41 00 00 00 F4 03 04 00 5D 40 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 49 58 00 00 35 04 06 00 14 F6 67 6E 7D AD 55 E3 22 4A AD 6D A7 7A [12:35:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 58 3C 47 00 4E 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 49 58 00 00 F4 03 04 00 16 FF F4 66 B6 04 01 00 00 20 1B 47 FC AE 0C D0 F0 [12:35:04]CommunicateWithHost err = 0 [12:35:04]CheckOFDResponse [12:35:04]1017 (14) - 77093643461234 [12:35:04]1041 (16) - 0000000000959358 [12:35:04]1040 (4) - 22601 [12:35:04]1012 (4) - 26.09.2024 06:28 [12:35:04]1206 (1) - 0 [12:35:04]OFD Sender: Remove packet 22601 [12:35:04]ProducePacketName [12:35:04]name=ofd_packets/00022601 [12:35:04]NVStorageDeleteData [12:35:04]OFD Sender: Processing packet 22602 [packets to send 35, broken 22] [12:35:04]ProducePacketName [12:35:04]name=ofd_packets/00022602 [12:35:04]OFD Sender: To server: ‡•öpG, [12:35:04]CommunicateWithHost lk.salyk.kg:30040 [12:35:04]ConnectInit lk.salyk.kg [12:35:04]Connected sock=10 [12:35:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 59 B9 07 01 9A 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 42 00 00 00 F4 03 04 00 B2 40 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4A 58 00 00 35 04 06 00 3A E9 F7 CD 65 8F 54 A8 13 DB A6 7C BE 69 [12:35:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 2F 6C 47 00 DD 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 39 35 39 33 35 38 10 04 04 00 4A 58 00 00 F4 03 04 00 18 FF F4 66 B6 04 01 00 00 B3 26 46 04 A5 73 2D C7 [12:35:05]CommunicateWithHost err = 0 [12:35:05]CheckOFDResponse [12:35:05]1017 (14) - 77093643461234 [12:35:05]1041 (16) - 0000000000959358 [12:35:05]1040 (4) - 22602 [12:35:05]1012 (4) - 26.09.2024 06:28 [12:35:05]1206 (1) - 0 [12:35:05]OFD Sender: Remove packet 22602 [12:35:05]ProducePacketName [12:35:05]name=ofd_packets/00022602 [12:35:05]NVStorageDeleteData [12:35:06]OFD Sender: Processing packet 22603 [packets to send 34, broken 22] [12:35:06]ProducePacketName [12:35:06]name=ofd_packets/00022603 [12:35:06]OFD Sender: To server: ‡•öpG, [12:35:06]CommunicateWithHost lk.salyk.kg:30040 [12:35:06]ConnectInit lk.salyk.kg [12:35:06]Connected sock=10 [12:35:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 E4 C1 07 01 70 28 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 43 00 00 00 F4 03 04 00 9F 41 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4B 58 00 00 35 04 06 00 A1 69 13 A7 B0 01 A0 77 E1 6F 71 DD 06 4E [12:35:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 E1 43 47 00 32 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4B 58 00 00 F4 03 04 00 19 FF F4 66 B6 04 01 00 00 24 01 EC 60 76 F2 F2 FE [12:35:07]CommunicateWithHost err = 0 [12:35:07]CheckOFDResponse [12:35:07]1017 (14) - 77093643461234 [12:35:07]1041 (16) - 0000000000959358 [12:35:07]1040 (4) - 22603 [12:35:07]1012 (4) - 26.09.2024 06:28 [12:35:07]1206 (1) - 0 [12:35:07]OFD Sender: Remove packet 22603 [12:35:07]ProducePacketName [12:35:07]name=ofd_packets/00022603 [12:35:07]NVStorageDeleteData [12:35:08]OFD Sender: Processing packet 22604 [packets to send 33, broken 22] [12:35:08]ProducePacketName [12:35:08]name=ofd_packets/00022604 [12:35:08]OFD Sender: To server: ‡•öpG, [12:35:08]CommunicateWithHost lk.salyk.kg:30040 [12:35:08]ConnectInit lk.salyk.kg [12:35:08]Connected sock=10 [12:35:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 46 01 00 00 DC D5 3E 01 89 CA 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 37 31 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 31 2C 32 30 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 8B 42 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4C 58 00 00 35 04 06 00 08 8B C9 B7 75 A6 2C 0A 81 42 A5 58 1D 50 [12:35:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 A8 C3 47 00 7B 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4C 58 00 00 F4 03 04 00 1B FF F4 66 B6 04 01 00 00 C5 33 2C 94 30 77 43 CA [12:35:09]CommunicateWithHost err = 0 [12:35:09]CheckOFDResponse [12:35:09]1017 (14) - 77093643461234 [12:35:09]1041 (16) - 0000000000959358 [12:35:09]1040 (4) - 22604 [12:35:09]1012 (4) - 26.09.2024 06:28 [12:35:09]1206 (1) - 0 [12:35:09]OFD Sender: Remove packet 22604 [12:35:09]ProducePacketName [12:35:09]name=ofd_packets/00022604 [12:35:09]NVStorageDeleteData [12:35:09]OFD Sender: Processing packet 22605 [packets to send 32, broken 22] [12:35:09]ProducePacketName [12:35:09]name=ofd_packets/00022605 [12:35:09]OFD Sender: To server: ‡•öpG, [12:35:09]CommunicateWithHost lk.salyk.kg:30040 [12:35:09]ConnectInit lk.salyk.kg [12:35:09]Connected sock=10 [12:35:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 F6 54 07 01 AE A1 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 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 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 C2 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 49 45 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4D 58 00 00 35 04 06 00 E6 DD 86 60 59 F2 9E CE A1 6F 3D 01 96 90 [12:35:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9A 7A 47 00 CC 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4D 58 00 00 F4 03 04 00 1C FF F4 66 B6 04 01 00 00 34 C3 C1 8B FE 7F F8 B6 [12:35:10]CommunicateWithHost err = 0 [12:35:10]CheckOFDResponse [12:35:10]1017 (14) - 77093643461234 [12:35:10]1041 (16) - 0000000000959358 [12:35:10]1040 (4) - 22605 [12:35:10]1012 (4) - 26.09.2024 06:28 [12:35:10]1206 (1) - 0 [12:35:10]OFD Sender: Remove packet 22605 [12:35:10]ProducePacketName [12:35:10]name=ofd_packets/00022605 [12:35:10]NVStorageDeleteData [12:35:11]OFD Sender: Processing packet 22606 [packets to send 31, broken 22] [12:35:11]ProducePacketName [12:35:11]name=ofd_packets/00022606 [12:35:11]OFD Sender: To server: ‡•öpG, [12:35:11]CommunicateWithHost lk.salyk.kg:30040 [12:35:11]ConnectInit lk.salyk.kg [12:35:11]Connected sock=10 [12:35:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 E2 FD 1F 01 F0 97 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 A1 45 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4E 58 00 00 35 04 06 00 07 71 E1 D9 61 07 36 6C 51 BC 21 87 C3 9F [12:35:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 5C 85 47 00 EF 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 39 35 39 33 35 38 10 04 04 00 4E 58 00 00 F4 03 04 00 1E FF F4 66 B6 04 01 00 00 2D 4C D9 A8 14 6E 81 F7 [12:35:12]CommunicateWithHost err = 0 [12:35:12]CheckOFDResponse [12:35:12]1017 (14) - 77093643461234 [12:35:12]1041 (16) - 0000000000959358 [12:35:12]1040 (4) - 22606 [12:35:12]1012 (4) - 26.09.2024 06:28 [12:35:12]1206 (1) - 0 [12:35:12]OFD Sender: Remove packet 22606 [12:35:12]ProducePacketName [12:35:12]name=ofd_packets/00022606 [12:35:12]NVStorageDeleteData [12:35:13]OFD Sender: Processing packet 22607 [packets to send 30, broken 22] [12:35:13]ProducePacketName [12:35:13]name=ofd_packets/00022607 [12:35:13]OFD Sender: To server: ‡•öpG, [12:35:13]CommunicateWithHost lk.salyk.kg:30040 [12:35:13]ConnectInit lk.salyk.kg [12:35:13]Connected sock=10 [12:35:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 D2 ED 1E 01 03 C3 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 E5 46 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 4F 58 00 00 35 04 06 00 00 AB 84 4B D6 C4 23 9C 9D 21 AB 00 A1 A5 [12:35:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 4B DF 47 00 11 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 39 35 39 33 35 38 10 04 04 00 4F 58 00 00 F4 03 04 00 20 FF F4 66 B6 04 01 00 00 D0 7E CC 6C 29 74 2F 49 [12:35:14]CommunicateWithHost err = 0 [12:35:14]CheckOFDResponse [12:35:14]1017 (14) - 77093643461234 [12:35:14]1041 (16) - 0000000000959358 [12:35:14]1040 (4) - 22607 [12:35:14]1012 (4) - 26.09.2024 06:28 [12:35:14]1206 (1) - 0 [12:35:14]OFD Sender: Remove packet 22607 [12:35:14]ProducePacketName [12:35:14]name=ofd_packets/00022607 [12:35:14]NVStorageDeleteData [12:35:14]OFD Sender: Processing packet 22608 [packets to send 29, broken 22] [12:35:14]ProducePacketName [12:35:14]name=ofd_packets/00022608 [12:35:14]OFD Sender: To server: ‡•öpG, [12:35:14]CommunicateWithHost lk.salyk.kg:30040 [12:35:14]ConnectInit lk.salyk.kg [12:35:15]Connected sock=10 [12:35:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 1D 01 00 00 FC 8C 15 01 AC 5F 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 74 0E 00 00 00 00 13 04 06 00 74 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 01 00 00 00 00 07 04 06 00 74 0E 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 4C F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 50 58 00 00 35 04 06 00 3A 99 B6 23 C4 00 81 27 B5 1B 3C B0 E8 C2 [12:35:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 5B 9A 47 00 2C BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 50 58 00 00 F4 03 04 00 22 FF F4 66 B6 04 01 00 00 D1 5C E0 DF 6E 4C 48 17 [12:35:16]CommunicateWithHost err = 0 [12:35:16]CheckOFDResponse [12:35:16]1017 (14) - 77093643461234 [12:35:16]1041 (16) - 0000000000959358 [12:35:16]1040 (4) - 22608 [12:35:16]1012 (4) - 26.09.2024 06:28 [12:35:16]1206 (1) - 0 [12:35:16]OFD Sender: Remove packet 22608 [12:35:16]ProducePacketName [12:35:16]name=ofd_packets/00022608 [12:35:16]NVStorageDeleteData [12:35:16]ConnectInit Can't connect to host [12:35:16]OFD Sender: Processing packet 22609 [packets to send 28, broken 22] [12:35:16]ProducePacketName [12:35:16]name=ofd_packets/00022609 [12:35:16]OFD Sender: To server: ‡•öpG, [12:35:16]CommunicateWithHost lk.salyk.kg:30040 [12:35:16]ConnectInit lk.salyk.kg [12:35:16]Connected sock=9 [12:35:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 1C 06 07 01 AD E9 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 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C6 4E F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 51 58 00 00 35 04 06 00 8F A7 81 78 26 89 43 26 AC F8 B3 46 EE 3F [12:35:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9E 41 47 00 C9 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 51 58 00 00 F4 03 04 00 24 FF F4 66 B6 04 01 00 00 2B 6E 75 4A 5E 6F 79 16 [12:35:17]CommunicateWithHost err = 0 [12:35:17]CheckOFDResponse [12:35:17]1017 (14) - 77093643461234 [12:35:17]1041 (16) - 0000000000959358 [12:35:17]1040 (4) - 22609 [12:35:17]1012 (4) - 26.09.2024 06:28 [12:35:17]1206 (1) - 0 [12:35:17]OFD Sender: Remove packet 22609 [12:35:17]ProducePacketName [12:35:17]name=ofd_packets/00022609 [12:35:17]NVStorageDeleteData [12:35:18]OFD Sender: Processing packet 22610 [packets to send 27, broken 22] [12:35:18]ProducePacketName [12:35:18]name=ofd_packets/00022610 [12:35:18]OFD Sender: To server: ‡•öpG, [12:35:18]CommunicateWithHost lk.salyk.kg:30040 [12:35:18]ConnectInit lk.salyk.kg [12:35:18]Connected sock=9 [12:35:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0E 01 00 00 FB 0D 06 01 B4 C7 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 8C B9 00 00 00 00 00 37 04 06 00 CE 0E 00 00 00 00 13 04 06 00 39 BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 4A 00 00 00 00 07 04 06 00 20 BF 02 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 2B 4F F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 52 58 00 00 35 04 06 00 CE 6A 63 B5 2D 7E 0B AA 82 2A F6 B9 A1 61 [12:35:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 EA D7 47 00 E0 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 52 58 00 00 F4 03 04 00 25 FF F4 66 B6 04 01 00 00 1D 92 21 12 CC 44 55 C9 [12:35:19]CommunicateWithHost err = 0 [12:35:19]CheckOFDResponse [12:35:19]1017 (14) - 77093643461234 [12:35:19]1041 (16) - 0000000000959358 [12:35:19]1040 (4) - 22610 [12:35:19]1012 (4) - 26.09.2024 06:28 [12:35:19]1206 (1) - 0 [12:35:19]OFD Sender: Remove packet 22610 [12:35:19]ProducePacketName [12:35:19]name=ofd_packets/00022610 [12:35:19]NVStorageDeleteData [12:35:20]OFD Sender: Processing packet 22611 [packets to send 26, broken 22] [12:35:20]ProducePacketName [12:35:20]name=ofd_packets/00022611 [12:35:20]OFD Sender: To server: ‡•öpG, [12:35:20]CommunicateWithHost lk.salyk.kg:30040 [12:35:20]ConnectInit lk.salyk.kg [12:35:20]Connected sock=9 [12:35:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 A2 28 1F 01 CB 8A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 94 50 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 53 58 00 00 35 04 06 00 6A 61 FF BB 49 0D 39 31 A2 08 26 4F 03 21 [12:35:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 D0 14 47 00 46 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 53 58 00 00 F4 03 04 00 27 FF F4 66 B6 04 01 00 00 8B E5 B5 0F 2F E6 A9 4F [12:35:21]CommunicateWithHost err = 0 [12:35:21]CheckOFDResponse [12:35:21]1017 (14) - 77093643461234 [12:35:21]1041 (16) - 0000000000959358 [12:35:21]1040 (4) - 22611 [12:35:21]1012 (4) - 26.09.2024 06:28 [12:35:21]1206 (1) - 0 [12:35:21]OFD Sender: Remove packet 22611 [12:35:21]ProducePacketName [12:35:21]name=ofd_packets/00022611 [12:35:21]NVStorageDeleteData [12:35:21]OFD Sender: Processing packet 22612 [packets to send 25, broken 22] [12:35:21]ProducePacketName [12:35:21]name=ofd_packets/00022612 [12:35:21]OFD Sender: To server: ‡•öpG, [12:35:21]CommunicateWithHost lk.salyk.kg:30040 [12:35:21]ConnectInit lk.salyk.kg [12:35:22]Connected sock=10 [12:35:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3A 01 00 00 D0 0C 32 01 54 53 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 DA 51 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 54 58 00 00 35 04 06 00 ED 8F 2D 55 3D B3 1F B4 80 84 06 D4 00 18 [12:35:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 8C 35 47 00 69 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 54 58 00 00 F4 03 04 00 29 FF F4 66 B6 04 01 00 00 F5 86 07 47 A6 D5 D6 04 [12:35:23]CommunicateWithHost err = 0 [12:35:23]CheckOFDResponse [12:35:23]1017 (14) - 77093643461234 [12:35:23]1041 (16) - 0000000000959358 [12:35:23]1040 (4) - 22612 [12:35:23]1012 (4) - 26.09.2024 06:28 [12:35:23]1206 (1) - 0 [12:35:23]OFD Sender: Remove packet 22612 [12:35:23]ProducePacketName [12:35:23]name=ofd_packets/00022612 [12:35:23]NVStorageDeleteData [12:35:23]OFD Sender: Processing packet 22613 [packets to send 24, broken 22] [12:35:23]ProducePacketName [12:35:23]name=ofd_packets/00022613 [12:35:23]OFD Sender: To server: ‡•öpG, [12:35:23]CommunicateWithHost lk.salyk.kg:30040 [12:35:23]ConnectInit lk.salyk.kg [12:35:24]Connected sock=9 [12:35:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 E2 6C 1D 01 C0 28 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 F8 51 F5 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 55 58 00 00 35 04 06 00 6A C9 87 A3 3B DF 47 0C 25 12 3C FF 4B 33 [12:35:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C8 30 47 00 8B BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 55 58 00 00 F4 03 04 00 2B FF F4 66 B6 04 01 00 00 B5 C2 4B 97 38 96 04 88 [12:35:25]CommunicateWithHost err = 0 [12:35:25]CheckOFDResponse [12:35:25]1017 (14) - 77093643461234 [12:35:25]1041 (16) - 0000000000959358 [12:35:25]1040 (4) - 22613 [12:35:25]1012 (4) - 26.09.2024 06:28 [12:35:25]1206 (1) - 0 [12:35:25]OFD Sender: Remove packet 22613 [12:35:25]ProducePacketName [12:35:25]name=ofd_packets/00022613 [12:35:25]NVStorageDeleteData [12:35:25]OFD Sender: Processing packet 22614 [packets to send 23, broken 22] [12:35:25]ProducePacketName [12:35:25]name=ofd_packets/00022614 [12:35:25]OFD Sender: To server: ‡•öpG, [12:35:25]CommunicateWithHost lk.salyk.kg:30040 [12:35:25]ConnectInit lk.salyk.kg [12:35:25]Connected sock=9 [12:35:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 7B 05 00 00 E8 C3 73 05 0A 84 5A 05 01 00 05 00 67 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 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 F4 03 04 00 35 53 F5 66 0E 04 04 00 E8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 5E 04 04 00 4D 00 00 00 57 04 04 00 4F 00 00 00 AA 04 D3 04 6E 04 04 00 4D 00 00 00 69 04 A0 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 A0 30 39 70 04 03 00 A0 30 39 72 04 01 00 00 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 45 13 06 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9C 81 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 56 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 F9 CD 34 78 6E 93 FB 10 FB D8 9B 0E D3 AE [12:35:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 E1 67 47 00 73 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 56 58 00 00 F4 03 04 00 2F FF F4 66 B6 04 01 00 00 44 EB 7E A1 47 9A 1F 7A [12:35:29]CommunicateWithHost err = 0 [12:35:29]CheckOFDResponse [12:35:29]1017 (14) - 77093643461234 [12:35:29]1041 (16) - 0000000000959358 [12:35:29]1040 (4) - 22614 [12:35:29]1012 (4) - 26.09.2024 06:29 [12:35:29]1206 (1) - 0 [12:35:29]OFD Sender: Remove packet 22614 [12:35:29]ProducePacketName [12:35:29]name=ofd_packets/00022614 [12:35:29]NVStorageDeleteData [12:35:29]OFD Sender: No OFD packet to send [12:35:34]OFD Sender: No OFD packet to send [12:35:39]OFD Sender: No OFD packet to send [12:35:44]OFD Sender: No OFD packet to send [12:35:49]OFD Sender: No OFD packet to send [12:35:54]OFD Sender: No OFD packet to send [12:35:59]OFD Sender: No OFD packet to send [12:36:04]OFD Sender: No OFD packet to send [12:36:09]OFD Sender: No OFD packet to send [12:36:14]OFD Sender: No OFD packet to send [12:36:19]OFD Sender: No OFD packet to send [12:36:24]OFD Sender: No OFD packet to send [12:36:29]OFD Sender: No OFD packet to send [12:36:34]OFD Sender: No OFD packet to send [12:36:39]OFD Sender: No OFD packet to send [12:36:44]OFD Sender: No OFD packet to send [12:36:49]OFD Sender: No OFD packet to send [12:36:54]OFD Sender: No OFD packet to send [12:36:59]OFD Sender: No OFD packet to send [12:37:04]OFD Sender: No OFD packet to send [12:37:09]OFD Sender: No OFD packet to send [12:37:14]OFD Sender: No OFD packet to send [12:37:19]OFD Sender: No OFD packet to send [12:37:24]OFD Sender: No OFD packet to send [12:37:29]OFD Sender: No OFD packet to send [12:37:34]OFD Sender: No OFD packet to send [12:37:39]OFD Sender: No OFD packet to send [12:37:44]OFD Sender: No OFD packet to send [12:37:49]OFD Sender: No OFD packet to send [12:37:54]OFD Sender: No OFD packet to send [12:37:59]OFD Sender: No OFD packet to send [12:38:04]OFD Sender: No OFD packet to send [12:38:09]OFD Sender: No OFD packet to send [12:38:14]OFD Sender: No OFD packet to send [12:38:19]OFD Sender: No OFD packet to send [12:38:24]OFD Sender: No OFD packet to send [12:38:29]OFD Sender: No OFD packet to send [12:38:34]OFD Sender: No OFD packet to send [12:38:39]OFD Sender: No OFD packet to send [12:38:44]OFD Sender: No OFD packet to send [12:38:49]OFD Sender: No OFD packet to send [12:38:54]OFD Sender: No OFD packet to send [12:38:59]OFD Sender: No OFD packet to send [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:25]OFD Sender: No OFD packet to send [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:42:45]OFD Sender: No OFD packet to send [12:42:50]OFD Sender: No OFD packet to send [12:42:55]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]OFD Sender: No OFD packet to send [12:44:05]OFD Sender: No OFD packet to send [12:44:10]OFD Sender: No OFD packet to send [12:44:15]OFD Sender: No OFD packet to send [12:44:20]OFD Sender: No OFD packet to send [12:44:25]OFD Sender: No OFD packet to send [12:44:30]OFD Sender: No OFD packet to send [12:44:35]OFD Sender: No OFD packet to send [12:44:40]OFD Sender: No OFD packet to send [12:44:45]OFD Sender: No OFD packet to send [12:44:50]OFD Sender: No OFD packet to send [12:44:55]OFD Sender: No OFD packet to send [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:49]recv_with_timeout no data received [12:46:50]OFD Sender: No OFD packet to send [13:18:16]OFD Sender: No OFD packet to send [13:18:19]recv_with_timeout no data received [13:18:21]OFD Sender: No OFD packet to send [13:18:51]OFD Sender: No OFD packet to send [13:18:56]OFD Sender: No OFD packet to send [13:19:01]OFD Sender: No OFD packet to send [13:19:06]OFD Sender: No OFD packet to send [13:19:08]recv_with_timeout no data received [13:19:11]OFD Sender: No OFD packet to send